*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #BA8B4B;
  --gold-light: #D4A96A;
  --dark: #0D0D0D;
  --dark-navy: #0A1628;
  --maroon: #6B1A23;
  --red: #99221D;
  --white: #F5F0E8;
  --gray: #888;
}

body {
  background: var(--dark);
  font-family: 'PT Sans', sans-serif;
  color: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: 'PT Serif', serif; }

/* ── CONTAINER ── */
.container {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── TOP BAR ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
}


.topbar {
  background: #080808;
  height: 64px;
}

.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: visible;
  padding-left: 200px;
}

.topbar-section {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-logo {
  position: absolute;
  left: 24px;
  top: 0;
  height: 140px;
  display: flex;
  align-items: center;
  z-index: 10;
}
.topbar-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.topbar-divider {
  width: 1px;
  height: 26px;
  background: rgba(186,139,75,0.3);
  flex-shrink: 0;
}

.hymn-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  padding: 10px 16px;
  color: var(--gold);
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
}
.hymn-btn:hover { background: var(--gold); color: #000; }
.hymn-btn.playing { background: var(--gold); color: #000; }
.hymn-btn.playing .play-icon { animation: pulse 1s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.2); opacity: 0.7; }
}

.play-icon {
  width: 18px; height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.play-icon::after {
  content: '';
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-left: 2px;
  transition: all 0.2s;
}
.hymn-btn.playing .play-icon::after {
  border: none;
  width: 7px;
  height: 7px;
  background: currentColor;
  margin-left: 0;
  border-radius: 1px;
}

.social-icons { display: flex; gap: 10px; }
.navbar-social-icons { display: none; }
.social-icons a,
.social-icon-link {
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.social-icons a:hover,
.social-icon-link:hover { background: var(--gold); color: #000; opacity: 1; }

.contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  color: #aaa;
}
.contact-info span { display: flex; align-items: center; gap: 7px; }
.contact-info a { color: #aaa; transition: color .2s; }
.contact-info a:hover { color: var(--gold); }
.contact-info .social-icon-link { color: var(--gold); }
.contact-info .social-icon-link:hover { color: #000; }

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #aaa;
  transition: color .2s;
  white-space: nowrap;
}
.topbar-phone:hover { color: var(--gold); }

.donate-btn {
  background: linear-gradient(to bottom, #b82a25, #99221D);
  border-top: 1px solid rgba(255,120,100,0.35);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}
.donate-btn:hover { background: linear-gradient(to bottom, #e8060e, #c90309); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 80vh;
  background: #080808 top right/cover no-repeat;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(186,139,75,0.45);
}
.hero--standard {
  min-height: 56vh;
  position: relative;
}

.hero-breadcrumb {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 2;
}
.hero-breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.hero-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-breadcrumb a:hover { color: var(--gold); }
.hero-breadcrumb-sep { color: rgba(255,255,255,0.35); }
.hero-breadcrumb span:last-child { color: rgba(255,255,255,0.85); }
.has-standard-header .block-title,
.has-standard-header .block-title + .block-title-line {
  display: none;
}
.has-standard-header .block-osnivaci .block-title,
.has-standard-header .block-osnivaci .block-title + .block-title-line,
.has-standard-header .block-dokumenti .block-title,
.has-standard-header .block-dokumenti .block-title + .block-title-line {
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero-content {}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 44px;
  animation: fadeUp 0.8s ease both;
}

.logo-img {
  width: 310px;
  height: 310px;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(186,139,75,0.35));
}

.hero-headline-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-headline {
  font-family: 'PT Serif', serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeUp 0.8s 0.15s ease both;
  background: linear-gradient(135deg, #7a5520 0%, #BA8B4B 35%, #e8c97a 55%, #BA8B4B 75%, #8a6030 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 22px;
  color: #bbb;
  line-height: normal;
  max-width: 450px;
  animation: fadeUp 0.8s 0.25s ease both;
}
.hero-sub p:not(:last-child) { margin-bottom: 10px; }
.hero-sub strong, .hero-sub b { color: var(--gold); }
.hero-content > .hero-headline-group .hero-sub {
  max-width: 650px;
}

.hero-quote {
  padding-bottom: 20px;
  position: relative;
  animation: fadeUp 0.8s 0.35s ease both;
}

/* ── MOBILE HERO ── */
.hero-content-mobile { display: none; }
.hero-quote::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 2px;
  background: var(--red);
}
.hero-quote p {
  font-family: 'PT Serif', serif;
  font-style: italic;
  font-size: 22px;
  line-height: normal;
  color: #ccc;
}
.hero-quote .accent-red  { color: var(--red); }
.hero-quote .accent-gold { color: var(--red); }

/* ── NAV BAR ── */
.navbar {
  background: #0a0a0a;
  border-top: 1px solid rgba(186,139,75,0.5);
  border-bottom: 1px solid rgba(186,139,75,0.5);
  height: 58px;
  overflow: visible;
  position: relative;
}
.navbar::-webkit-scrollbar { display: none; }

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 200px;
  /* allow overflow scroll for many items */
  min-width: max-content;
}

.navbar ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  gap: 13px;
}
.navbar ul li { height: 100%; display: flex; align-items: center; }
.navbar ul li a {
  font-family: 'PT Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #bbb;
  padding: 0 20px;
  height: 40px;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 3px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.navbar ul li a:hover {
  background: rgba(186,139,75,0.15);
  color: #ddd;
}
.navbar ul li.current-menu-item > a,
.navbar ul li.current_page_item > a,
.navbar ul li.current-menu-ancestor > a,
.navbar ul li.current-menu-parent > a {
  background: var(--gold);
  color: #000;
}

/* ── DROPDOWN MENUS ── */
.dropdown-toggle { display: none; }

.navbar ul li.menu-item-has-children { position: relative; }
.navbar ul li.menu-item-has-children > a {
  gap: 6px;
  padding-right: 14px;
}
.navbar ul li.menu-item-has-children > a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.navbar ul li.menu-item-has-children:hover > a::after,
.navbar ul li.menu-item-has-children:focus-within > a::after {
  transform: rotate(-135deg) translateY(2px);
}
.navbar ul .sub-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 200px;
  background: #0a0a0a;
  border: 1px solid rgba(186,139,75,0.5);
  border-radius: 3px;
  overflow: hidden;
  z-index: 100;
  display: none;
  flex-direction: column;
  height: auto;
  gap: 0;
}
.navbar ul li.menu-item-has-children:hover > .sub-menu,
.navbar ul li.menu-item-has-children:focus-within > .sub-menu {
  display: flex;
}
.navbar ul .sub-menu li {
  height: auto;
  width: 100%;
  display: block;
}
.navbar ul .sub-menu li a {
  width: 100%;
  height: 44px;
  border: none;
  border-bottom: 1px solid rgba(186,139,75,0.15);
  border-radius: 0;
  justify-content: flex-start;
  padding: 0 18px;
}
.navbar ul .sub-menu li:last-child a { border-bottom: none; }

/* ── INNER PAGE CONTENT ── */
.site-content {
  min-height: 60vh;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ── FOOTER ── */
.site-footer {
  background: #080808;
  border-top: 1px solid rgba(186,139,75,0.2);
  font-size: 16px;
  color: #999;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.footer-logo { max-height: 160px; width: auto; margin-bottom: 16px; }
.footer-brand-name { font-family: 'PT Serif', serif; font-size: 22px; color: var(--gold); display: block; margin-bottom: 10px; }
.footer-tagline { font-size: 15px; color: #666; line-height: 1.5; max-width: 280px; }

.footer-nav-col h4,
.footer-contact-col h4,
.footer-donate-col h4 {
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav ul li a { font-size: 15px; color: #777; transition: color .2s; }
.footer-nav ul li a:hover { color: var(--gold); }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.footer-contact-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.footer-contact-list a { color: #999; transition: color .2s; }
.footer-contact-list a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--gold); color: #000; }

.footer-donate-col p { font-size: 15px; color: #666; line-height: 1.7; margin-bottom: 20px; }
.footer-donate-col .donate-btn { display: inline-flex; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #777;
  letter-spacing: .5px;
}
.footer-bottom a {
  color: #777;
  text-decoration: underline;
}
.footer-bottom a:hover {
  color: var(--gold);
}
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}

/* ── SINGLE POST ── */
main.single-post {
  padding: 60px 0 80px;
}

.single-article {
  max-width: 820px;
}

.single-header {
  margin-bottom: 36px;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.single-date {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.single-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 3px 10px;
  border-radius: 2px;
}

.single-title {
  font-family: 'PT Serif', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
}

.single-excerpt {
  font-size: 18px;
  color: #999;
  line-height: 1.6;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}

.single-thumbnail {
  margin-bottom: 44px;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.single-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.single-content {
  font-size: 17px;
  line-height: 1.8;
  color: #ccc;
}
.single-content h2,
.single-content h3,
.single-content h4 {
  font-family: 'PT Serif', serif;
  color: var(--white);
  margin: 2em 0 0.6em;
}
.single-content h2 { font-size: 26px; }
.single-content h3 { font-size: 22px; }
.single-content p  { margin-bottom: 1.4em; }
.single-content a  { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.single-content a:hover { color: var(--gold-light); }
.single-content ul,
.single-content ol  { padding-left: 24px; margin-bottom: 1.4em; }
.single-content ul  { list-style: disc; }
.single-content ol  { list-style: decimal; }
.single-content li  { margin-bottom: 0.4em; }
.single-content blockquote {
  border-left: 3px solid var(--red);
  margin: 2em 0;
  padding: 12px 24px;
  background: rgba(255,255,255,0.03);
  font-family: 'PT Serif', serif;
  font-style: italic;
  font-size: 19px;
  color: #bbb;
}
.single-content img {
  border-radius: 4px;
  margin: 0;
}

.entry-content p {
  font-size: 17px;
  line-height: 1.5;
  color: #ccc;
  margin-bottom: 1.4em;
}

.wp-block-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.4em;
}
.wp-block-list li {
  font-size: 17px;
  line-height: 1.5;
  color: #ccc;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wp-block-list li:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.wp-block-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Gutenberg H2 heading block — match block-title style */
h2.wp-block-heading,
h3.wp-block-heading {
  font-family: 'PT Serif', serif;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  position: relative;
}
h2.wp-block-heading::after,
h3.wp-block-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red);
}
h2.wp-block-heading { font-size: 32px; }
h3.wp-block-heading { font-size: 22px; }

/* Gutenberg image block — match gallery style */
.wp-block-image {
  border-radius: 8px;
  border: 1px solid var(--gold-light);
  background: #111;
  overflow: hidden;
  margin-top: 1.6em;
  margin-bottom: 1.6em;
}
.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px;
  border-radius: 8px;
}
.wp-block-image.image-no-style {
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  overflow: visible !important;
  padding: 0 !important;
}
.wp-block-image.image-no-style img {
  border-radius: 0 !important;
  padding: 0 !important;
}
.wp-block-image figcaption {
  text-align: center;
  font-size: 13px;
  color: #888;
  padding: 0 10px 10px;
  margin-top: -4px;
}

.single-footer {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(186,139,75,0.2);
}

.single-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.single-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 48%;
  transition: opacity 0.2s;
}
.single-nav-link:hover { opacity: 0.75; }
.single-nav-next { text-align: right; margin-left: auto; }

.single-nav-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.single-nav-title {
  font-family: 'PT Serif', serif;
  font-size: 15px;
  color: #ccc;
  line-height: 1.4;
}

/* ── ARCHIVE ── */
.archive-page {
  padding: 0 0 80px !important;
}

.archive-header {
  margin-bottom: 48px;
}
.archive-page-indicator {
  margin-top: 8px;
  color: #fff;
  font-size: 16px;
}

.archive-description {
  font-size: 15px;
  color: #777;
  margin-top: 12px;
  max-width: 600px;
}

.archive-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.archive-cat-link {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(186,139,75,0.4);
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--gold);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.archive-cat-link:hover,
.archive-cat-link.is-active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.archive-empty {
  color: #666;
  font-size: 16px;
  padding: 40px 0;
}

.archive-pagination {
  display: flex;
  justify-content: center;
}
.archive-pagination:not(:empty) {
  margin-top: 56px;
}

.archive-pagination .nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.archive-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  margin: 0 2px;
  border: 1px solid rgba(186,139,75,0.3);
  border-radius: 3px;
  font-size: 13px;
  font-family: 'PT Sans', sans-serif;
  color: #999;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.archive-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: #555;
}

/* ── MATCHES BLOCK ── */
.block-matches {
  background: var(--dark);
}

.matches-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}

.match-card {
  background: #111;
  border: 1px solid rgba(186,139,75,0.15);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.match-card--next {
  border-color: rgba(186,139,75,0.35);
}

.match-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 12px;
}

.match-label {
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.match-competition {
  font-size: 12px;
  color: #666;
  letter-spacing: 0.5px;
  text-align: right;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 24px;
  gap: 16px;
  flex: 1;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.match-team-logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-team-logo img {
  width: 100%;
  height: 100%;
  max-height: 120px;
  object-fit: contain;
}

.match-logo-placeholder {
  width: 72px;
  height: 72px;
  background: #1e1e1e;
  border-radius: 50%;
  border: 1px solid rgba(186,139,75,0.15);
}

.match-team-name {
  font-family: 'PT Serif', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}

.match-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.match-vs-text {
  font-family: 'PT Serif', serif;
  font-size: 13px;
  font-weight: 700;
  color: #444;
  letter-spacing: 2px;
}

.match-result {
  font-family: 'PT Serif', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1;
}

.match-card-bottom {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 16px;
}

.match-date {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #888;
}

.match-location-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}
.match-location-badge--domaca   { background: rgba(186,139,75,0.15); color: var(--gold); }
.match-location-badge--gostujuca { background: rgba(153,34,29,0.15);  color: var(--red); }

@media (max-width: 600px) {
  .matches-grid { grid-template-columns: 1fr; }
}

/* ── TEAM BLOCK ── */
.block-team {
  background: var(--dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* Grid layout */
.team-grid > div { animation: fadeUp 0.8s ease both; }

/* Carousel layout */
.team-carousel-wrap {
  position: relative;
  padding: 0 68px;
}

.team-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.team-carousel::-webkit-scrollbar { display: none; }

.team-carousel .team-card {
  flex: 0 0 calc(25% - 15px);
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .team-carousel .team-card { flex: 0 0 calc(33.333% - 14px); }
}
@media (max-width: 768px) {
  .team-carousel .team-card { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 480px) {
  .team-carousel .team-card { flex: 0 0 calc(75% - 10px); }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(186,139,75,0.5);
  border-radius: 4px;
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  z-index: 2;
}
.carousel-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.carousel-btn-prev { left: 10px; }
.carousel-btn-next { right: 10px; }

.team-card {
  background: #111;
  border: 1px solid rgba(186,139,75,0.15);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.team-card:hover { border-color: rgba(186,139,75,0.45); }

.team-card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1a1a1a;
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s;
}
.team-card:hover .team-card-img { transform: scale(1.04); }

.team-card-placeholder {
  width: 100%;
  height: 100%;
  background: #1e1e1e;
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 40%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.team-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 20px;
  z-index: 2;
  text-align: center;
}

.team-card-name {
  font-family: 'PT Serif', serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.team-card-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0;
}

.team-card-stats li {
  display: flex;
  align-items: center;
  font-size: 11px;
}

.team-card-stats li + li::before {
  content: '|';
  color: rgba(255,255,255,0.3);
  padding: 0 8px;
}

.stat-value {
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card-name { font-size: 16px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ── LATEST NEWS BLOCK ── */
.block-latest-news {
  background: var(--dark);
}

.block-header {
  margin-bottom: 48px;
}
.has-standard-header .block-header {
  margin-bottom: 0;
}
.has-standard-header .block-sponzori .block-header,
.has-standard-header .block-osnivaci .block-header {
  margin-bottom: 48px;
}
.has-standard-header .contact-info-row {
  margin-top: 0;
}

.block-title {
  font-family: 'PT Serif', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.block-title-always {
  font-family: 'PT Serif', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.heading-styled {
  font-family: 'PT Serif', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  position: relative;
}
.heading-styled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red);
}

.block-title-line {
  width: 60px;
  height: 3px;
  background: var(--red);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #111;
  border: 1px solid rgba(186,139,75,0.15);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
  opacity: 0;
  transform: translateY(22px);
}
.news-card.is-visible { animation: fadeUp 0.8s ease both; }
.news-card.is-visible:nth-child(3n+1) { animation-delay: 0s; }
.news-card.is-visible:nth-child(3n+2) { animation-delay: 0.1s; }
.news-card.is-visible:nth-child(3n+3) { animation-delay: 0.2s; }
.news-card:hover { border-color: rgba(186,139,75,0.45); }

.news-card-img-wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 3/2; }
.news-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.news-card-img-wrap:hover .news-card-img { transform: scale(1.04); }

.news-card-cat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 1;
}

.news-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-date {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.news-card-title {
  font-family: 'PT Serif', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}
.news-card-title a { color: var(--white); transition: color 0.2s; }
.news-card-title a:hover { color: var(--gold); }

.news-card-excerpt {
  font-size: 14px;
  color: #888;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 18px;
}

.news-card-link {
  display: inline-block;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 5px 14px;
  border-radius: 2px;
  transition: opacity 0.2s;
  align-self: flex-start;
}
.news-card-link:hover { opacity: 0.85; }

.news-footer { text-align: center; }

.news-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  padding: 12px 32px;
  color: var(--gold);
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.news-all-btn:hover { background: var(--gold); color: #000; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ── MOBILE MENU TOGGLE ── */
.hymn-label-mobile { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(186,139,75,0.5);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .menu-toggle { display: flex; width: 36px; height: 36px; }
  .menu-toggle span { width: 16px; }
  .hymn-label-desktop { display: none; }
  .hymn-label-mobile { display: inline; }
  .topbar .container { gap: 10px; padding-left: 100px; }
  .topbar-logo { height: 84px; z-index: 1000; }
  .topbar-hymn { margin-left: auto; }
  .topbar-section.contact-info { display: none; }
  .hymn-btn { height: 36px; padding: 0 12px; font-size: 11px; gap: 7px; }
  .play-icon { width: 16px; height: 16px; }
  .donate-btn { height: 36px; padding: 0 12px; font-size: 11px; gap: 6px; margin-right: 10px; }
  .topbar .social-icons { display: none; }
  .navbar-social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(186,139,75,0.2);
    margin-top: 6px;
  }
  .navbar-social-icons a {
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
  }
  .navbar-social-icons a:hover { background: var(--gold); color: #000; }

  .navbar {
    display: none;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    z-index: 200;
    height: auto;
    overflow: visible;
    border-top: none;
    border-bottom: 1px solid rgba(186,139,75,0.5);
  }
  .navbar.is-open { display: block; }

  .navbar .container {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 24px;
    min-width: 0;
  }

  .navbar ul {
    flex-direction: column;
    height: auto;
    width: 100%;
    gap: 6px;
  }

  .navbar ul li {
    height: auto;
    width: 100%;
  }

  .navbar ul li a {
    justify-content: center;
    height: 44px;
    width: 100%;
    border: 1px solid var(--gold);
  }

  /* Mobile dropdowns */
  .navbar ul li.menu-item-has-children > a::after { display: none; }
  .navbar ul li.menu-item-has-children:hover > .sub-menu,
  .navbar ul li.menu-item-has-children:focus-within > .sub-menu { display: none; }
  .navbar ul li.menu-item-has-children {
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
  }
  .navbar ul li.menu-item-has-children > a {
    width: 100%;
  }
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
  }
  .dropdown-toggle svg { transition: transform 0.2s; }
  .sub-open > .dropdown-toggle svg { transform: rotate(180deg); }
  .current-menu-item > .dropdown-toggle,
  .current_page_item > .dropdown-toggle,
  .current-menu-ancestor > .dropdown-toggle,
  .current-menu-parent > .dropdown-toggle { color: #000; }
  .navbar ul .sub-menu {
    position: static;
    display: none;
    width: 100%;
    border: none;
    background: rgba(186,139,75,0.05);
    padding: 4px 0;
    margin-top: 0;
  }
  .navbar ul li.menu-item-has-children.sub-open > .sub-menu { display: flex; }
  .navbar ul .sub-menu li a {
    justify-content: center;
    height: 40px;
    font-size: 13px;
    width: 100%;
    border: none;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero { min-height: 60vh; }
  .hero--standard { min-height: 42vh; }
  .hero-overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%); }
  .contact-info { display: none; }
  .topbar-divider { display: none; }

  .hero-content { display: none; }

  .hero-content-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .hero-mobile-headline {
    font-family: 'PT Serif', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #7a5520 0%, #BA8B4B 35%, #e8c97a 55%, #BA8B4B 75%, #8a6030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-mobile-lockup {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .hero-mobile-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 24px rgba(186,139,75,0.35));
  }
  .hero-mobile-sub {
    font-size: 1rem;
    color: #bbb;
    line-height: 1.5;
  }
  .hero-mobile-quote p {
    font-family: 'PT Serif', serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
    color: #ccc;
  }
  .hero-mobile-quote .accent-red  { color: var(--red); }
  .hero-mobile-quote .accent-gold { color: var(--red); }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-logo { margin: 0 auto 16px; }
  .footer-tagline { max-width: 100%; }
  .footer-nav ul,
  .footer-contact-list { align-items: center; }
  .footer-social { justify-content: center; }
  .footer-contact-list li { justify-content: center; }
  .footer-donate-col .donate-btn { margin: 0 auto; }
  .topbar { height: auto; }
  .topbar .container { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; padding-right: 7.5px; gap: 8px; }
  .topbar-logo { height: 75px; left: 7.5px; }
}

/* ── LIGHTBOX ── */
.os-lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.os-lightbox.is-open {
  visibility: visible;
  pointer-events: auto;
}
.os-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  opacity: 0;
  transition: opacity 0.25s;
}
.os-lightbox.is-open .os-lb-backdrop { opacity: 1; }

.os-lb-stage {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s, transform 0.25s;
}
.os-lightbox.is-open .os-lb-stage {
  opacity: 1;
  transform: scale(1);
}
.os-lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border-radius: 3px;
}

.os-lb-close,
.os-lb-prev,
.os-lb-next {
  position: fixed;
  z-index: 2;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(186,139,75,0.4);
  border-radius: 4px;
  color: #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.os-lb-prev:hover,
.os-lb-next:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(0,0,0,0.75);
}
.os-lb-close {
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.os-lb-close:hover {
  background: #7a1a16;
  border-color: #7a1a16;
  color: #fff;
}
.os-lb-prev,
.os-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 20px;
}
.os-lb-prev { left: 16px; }
.os-lb-next { right: 16px; }

/* ── MOMCAD BLOCK ── */
.block-momcad { padding: 0; }

.momcad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.momcad-card {
  cursor: pointer;
  opacity: 0;
  transform: translateY(22px);
}
.momcad-card.is-visible { animation: fadeUp 0.8s ease both; }
.momcad-card.is-visible:nth-child(4n+1) { animation-delay: 0s; }
.momcad-card.is-visible:nth-child(4n+2) { animation-delay: 0.1s; }
.momcad-card.is-visible:nth-child(4n+3) { animation-delay: 0.2s; }
.momcad-card.is-visible:nth-child(4n+4) { animation-delay: 0.3s; }
.momcad-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.team-card-number {
  font-family: 'PT Serif', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
}

.team-card-cta {
  display: inline-block;
  margin-top: 10px;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 5px 14px;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.momcad-card:hover .team-card-cta { opacity: 0.85; }

.momcad-empty {
  color: #666;
  font-style: italic;
}

.momcad-mentori-title {
  margin-top: 56px;
}

/* Modal */
.momcad-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.momcad-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.momcad-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  opacity: 0;
  transition: opacity 0.25s;
}
.momcad-modal.is-open .momcad-modal-backdrop { opacity: 1; }

.momcad-modal-dialog {
  position: relative;
  background: #111;
  border: 1px solid rgba(186,139,75,0.35);
  border-radius: 6px;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s, transform 0.25s;
}
.momcad-modal.is-open .momcad-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.momcad-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}
.momcad-modal-close:hover { background: #7a1a16; border-color: #7a1a16; }

.momcad-modal-body {
  display: flex;
  gap: 0;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.momcad-modal-photo {
  flex: 0 0 280px;
  min-height: 360px;
}
.momcad-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 5px 0 0 5px;
}

.momcad-modal-info {
  flex: 1;
  padding: 36px 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.momcad-modal-number {
  font-family: 'PT Serif', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: 0.9;
}

.momcad-modal-name {
  font-family: 'PT Serif', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(186,139,75,0.2);
}

.momcad-modal-bio {
  font-size: 15px;
  color: #aaa;
  line-height: 1.75;
  padding-top: 4px;
}
.momcad-modal-bio p { margin: 0 0 12px; }
.momcad-modal-bio p:last-child { margin-bottom: 0; }

body.modal-open { overflow: hidden; }

@media (max-width: 1024px) {
  .momcad-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .momcad-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .momcad-modal-body { flex-direction: column; }
  .momcad-modal-photo { flex: none; position: relative; aspect-ratio: 3 / 4; min-height: unset; max-height: unset; order: 2; }
  .momcad-modal-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0 0 5px 5px; }
  .momcad-modal-info { order: 1; }
  .momcad-modal-info { padding: 24px 20px; }
  .momcad-modal-number { font-size: 36px; }
}
@media (max-width: 480px) {
  .momcad-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ── IZ MEDIJA BLOCK ── */
.block-iz-medija { padding: 0; }

.im-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.im-card {
  display: flex;
  flex-direction: column;
  background: #111;
  border: 1px solid rgba(186,139,75,0.15);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s;
}
a.im-card:hover {
  border-color: rgba(186,139,75,0.45);
}

.im-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
}
.im-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
a.im-card:hover .im-card-img { transform: scale(1.04); }

.im-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: #1e1e1e;
}

.im-card-logo-wrap {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.65);
  border-radius: 3px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
}
.im-card-logo {
  max-height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.im-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.im-card-date {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.im-card-title {
  font-family: 'PT Serif', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin: 0 0 12px;
  flex: 1;
}

.im-card-link {
  display: inline-block;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 5px 14px;
  border-radius: 2px;
  transition: opacity 0.2s;
  align-self: flex-start;
}
a.im-card:hover .im-card-link { opacity: 0.85; }

@media (max-width: 900px) {
  .im-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .im-grid { grid-template-columns: 1fr; }
}

/* ── OSNIVAČI I SURADNICI BLOCK ── */
.block-osnivaci { padding: 0; }

.os-section + .os-section {
  margin-top: 64px;
}

.os-section-opis {
  margin-top: 14px;
  font-size: 15px;
  color: #999;
  line-height: 1.75;
  max-width: 720px;
}

.os-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.os-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(186,139,75,0.2);
  border-radius: 6px;
  overflow: hidden;
}

/* Gallery side */
.os-card-gallery {
  height: 100%;
  padding: 20px;
}

.os-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.os-gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #111;
  border-radius: 8px;
  border: 1px solid var(--gold-light);
}
.os-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 10px;
}
.os-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(186, 139, 75, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.os-gallery-item:hover img { transform: scale(1.06); opacity: 0.85; }
.os-gallery-item:hover::after { background: rgba(186, 139, 75, 0.15); }

/* Content side */
.os-card-content {
  padding: 36px 36px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.os-card-title {
  font-family: 'PT Serif', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.os-card-description {
  font-size: 15px;
  color: #aaa;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 12;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.os-card-description.is-expanded {
  display: block;
  overflow: visible;
}
.os-card-description p { margin: 0 0 12px; }
.os-card-description p:last-child { margin-bottom: 0; }
.os-card-description strong { color: #ddd; }
.os-card-description a { color: var(--gold); text-decoration: none; }
.os-card-description a:hover { text-decoration: underline; }

.os-read-more {
  display: inline-block;
  border: none;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 5px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 4px;
  align-self: flex-start;
}
.os-read-more:hover { opacity: 0.85; }

@media (max-width: 900px) {
  .os-card { grid-template-columns: 1fr; gap: 0; }
  .os-card-content { padding: 24px; }
}

/* ── CONTACT BLOCK ── */
.block-contact { padding: 0; }

.contact-subtitle {
  color: #999;
  font-size: 15px;
  margin-top: 14px;
  max-width: 600px;
}

/* Info row */
.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 44px 0 52px;
}
.contact-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px 28px;
  border: 1px solid rgba(186,139,75,0.3);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  gap: 8px;
}
.contact-info-icon {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 6px;
  flex-shrink: 0;
}
.contact-info-label {
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-info-value {
  font-size: 15px;
  color: #ccc;
  text-decoration: none;
  font-style: normal;
  line-height: 1.65;
  transition: color 0.2s;
}
a.contact-info-value:hover { color: var(--gold); }

/* Two-column body */
.contact-body {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 52px;
  align-items: start;
}

/* Form column */
.contact-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.contact-form-icon {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-form-header h3 {
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.contact-no-form {
  color: #666;
  font-style: italic;
  font-size: 14px;
}

/* CF7 form styling */
.contact-form-col .wpcf7 { width: 100%; }
.contact-form-col .wpcf7 form p { margin: 0 0 16px; }
.contact-form-col .wpcf7 label {
  display: block;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 6px;
}
.contact-form-col .wpcf7-text,
.contact-form-col .wpcf7-email,
.contact-form-col .wpcf7-textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(186,139,75,0.4);
  border-radius: 3px;
  color: #ddd;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  padding: 10px 14px;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}
.contact-form-col .wpcf7-text:focus,
.contact-form-col .wpcf7-email:focus,
.contact-form-col .wpcf7-textarea:focus { border-color: var(--gold); }
.contact-form-col .wpcf7-textarea { min-height: 130px; resize: vertical; }
.contact-form-col .wpcf7-submit {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 3px;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 32px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 4px;
}
.contact-form-col .wpcf7-submit:hover { opacity: 0.85; }
.contact-form-col .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e05050;
  margin-top: 4px;
  display: block;
}
.contact-form-col .wpcf7-response-output {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 13px;
  border: 1px solid rgba(186,139,75,0.4);
  color: #ccc;
}

/* Gravity Forms — match CF7 styling */
.gform_wrapper {
  width: 100%;
  border: 3px solid rgba(186,139,75,0.4);
  border-radius: 3px;
  padding: 40px;
  box-sizing: border-box;
  margin-top: 48px;
}
.gform_fields {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gfield {
  margin: 0;
}
.gfield_label {
  display: block;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 400 !important;
}
.gfield_required {
  color: var(--red);
  margin-left: 2px;
}
.ginput_container input:not([type="checkbox"]):not([type="radio"]),
.ginput_container textarea,
.ginput_container select {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(186,139,75,0.4);
  border-radius: 3px;
  color: #ddd;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  padding: 10px 14px;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
  appearance: none;
}
.ginput_container input:not([type="checkbox"]):not([type="radio"]):focus,
.ginput_container textarea:focus,
.ginput_container select:focus {
  border-color: var(--gold);
}
.ginput_container textarea {
  min-height: 130px;
  resize: vertical;
}
.ginput_container select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23BA8B4B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.gfield_error .ginput_container input:not([type="checkbox"]):not([type="radio"]),
.gfield_error .ginput_container textarea,
.gfield_error .ginput_container select {
  border-color: #e05050;
}
.gfield_description {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}
.gfield_validation_message,
.validation_message {
  font-size: 12px;
  color: #e05050;
  margin-top: 4px;
  display: block;
}
.gform_validation_errors {
  font-size: 13px;
  color: #e05050;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(224,80,80,0.3);
  border-radius: 3px;
}
.gform_button,
.gform-button,
.gform_next_button {
  float: none !important;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 3px;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 32px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 0 !important;
}
.gform_button:hover,
.gform-button:hover,
.gform_next_button:hover { opacity: 0.85; }
.gform_confirmation_message {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 13px;
  border: 1px solid rgba(186,139,75,0.4);
  color: #ccc;
}
.gfield_html {
  border: 1px solid rgba(186,139,75,0.2);
  border-radius: 6px;
  padding: 14px 18px;
}

.gform_wrapper.gravity-theme .gf_page_steps {
  border-bottom: none !important;
  display: flex !important;
  justify-content: center;
}
.gform_wrapper.gravity-theme .gf_step_number {
  border-color: var(--gold) !important;
  color: #fff !important;
}
.gform_wrapper.gravity-theme .gf_step_active .gf_step_number {
  background: var(--gold) !important;
  color: #fff !important;
}
.gform_wrapper.gravity-theme .gf_step_label {
  font-family: 'PT Serif', serif !important;
  font-size: 20px !important;
  color: var(--gold) !important;
}
.gform_wrapper.gravity-theme .gf_step:not(.gf_step_active) .gf_step_label {
  opacity: 0.5;
}
.gform_wrapper.gravity-theme .gsection {
  border-bottom: none !important;
  padding-bottom: 14px;
  position: relative;
}
.gform_wrapper.gravity-theme .gsection::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red);
}
.gsection_title {
  font-family: 'PT Serif', serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
}

.gform_footer,
.gform_page_footer {
  margin-top: 4px;
  padding: 40px 0 0 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.gform_wrapper.gravity-theme .gform_previous_button.button,
.gform_previous_button {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid var(--gold);
  border-radius: 3px;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gform_previous_button:hover {
  background: rgba(186,139,75,0.1);
}
@media (max-width: 600px) {
  .gform_page_footer {
    flex-direction: column;
  }
}

/* Details column */
.contact-details-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-logo-wrap img { max-height: 260px; width: auto; }

/* OIB / IBAN / SWIFT */
.contact-legal-info {
  border: 1px solid rgba(186,139,75,0.3);
  border-radius: 4px;
}
.contact-legal-row:first-child { border-radius: 4px 4px 0 0; }
.contact-legal-row:last-child  { border-radius: 0 0 4px 4px; }
.contact-legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(186,139,75,0.12);
  gap: 12px;
}
.contact-legal-row:last-child { border-bottom: none; }
.contact-legal-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-legal-value {
  font-size: 13px;
  color: #ccc;
  font-family: 'Courier New', monospace;
  word-break: break-all;
  text-align: right;
  cursor: pointer;
  transition: color 0.15s;
  position: relative;
}
.contact-legal-value:hover { color: var(--gold); }
.contact-legal-copied { color: var(--gold) !important; }
.contact-legal-value[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 7px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(186,139,75,0.5);
  color: #ddd;
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s;
}
.contact-legal-value[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.contact-legal-copied[data-tooltip]::after {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--gold);
  color: var(--gold);
}

/* Social */
.contact-social { text-align: center; }
.contact-social-label {
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}
.contact-social-icons { display: flex; justify-content: center; gap: 12px; }
.contact-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
}
.contact-social-icons a:hover { background: var(--gold); color: #000; }

/* Contact block responsive */
@media (max-width: 900px) {
  .contact-body { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 768px) {
  .block-contact { padding: 52px 0; }
  .contact-info-row { grid-template-columns: 1fr; gap: 10px; margin-top: 0; }
  .contact-info-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 16px 20px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .contact-info-icon { margin-bottom: 0; flex-shrink: 0; }
  .contact-info-label { flex-basis: 52px; flex-shrink: 0; }
  .contact-info-value { flex: 1; min-width: 0; }
}

/* ── DOKUMENTI BLOCK ── */
.block-dokumenti {
  padding: 0;
}
.dok-block-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dok-block-heading svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-bottom: 14px;
}
.dok-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.dok-card {
  display: grid;
  grid-template-columns: 1fr 0.43fr;
  background: #111;
  border: 1px solid rgba(186,139,75,0.25);
  border-radius: 10px;
  overflow: hidden;
}
.dok-card-left {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.dok-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(186,139,75,0.1);
  border: 1px solid rgba(186,139,75,0.3);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.dok-title {
  font-family: 'PT Serif', serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 18px;
}
.dok-divider {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.dok-opis {
  font-size: 15px;
  color: #aaa;
  line-height: 1.65;
  margin-bottom: 24px;
}
.dok-datum {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
}
.dok-datum svg {
  color: var(--gold);
  flex-shrink: 0;
}
.dok-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.dok-download:hover {
  background: transparent;
  color: var(--gold);
}
.dok-card-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-left: 1px solid rgba(186,139,75,0.15);
}
.dok-transparency {
  margin-top: 60px;
  background: #111;
  border: 1px solid rgba(186,139,75,0.25);
  border-radius: 10px;
  padding: 32px 40px;
}
.dok-transp-inner {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.dok-transp-icon {
  color: var(--gold);
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border: 1.5px solid rgba(186,139,75,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dok-transp-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.dok-transp-content p {
  font-size: 15px;
  color: #aaa;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .dok-card { grid-template-columns: 1fr; }
  .dok-card-right {
    border-left: none;
    border-top: 1px solid rgba(186,139,75,0.15);
    padding: 28px;
  }
  .dok-card-left { padding: 28px; }
  .dok-title { font-size: 24px; }
}
@media (max-width: 600px) {
  .block-dokumenti { padding: 52px 0; }
  .dok-transp-inner { flex-direction: column; gap: 16px; }
  .dok-transp-icon { width: 44px; height: 44px; }
}

/* ── BANNER STRANICE ── */
.bs-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 28px;
  background: #111;
  border: 1px solid rgba(186,139,75,0.15);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s;
  height: 100%;
}
.bs-card:hover {
  border-color: rgba(186,139,75,0.45);
}
.bs-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bs-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bs-title {
  font-family: 'PT Serif', serif;
  font-size: 27px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
}
.bs-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red);
}
.bs-opis {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
  flex: 1;
  margin-bottom: 20px;
}
.bs-link {
  display: inline-block;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 5px 14px;
  border-radius: 2px;
  transition: opacity 0.2s;
  margin-top: auto;
}
.bs-card:hover .bs-link { opacity: 0.85; }

/* ── GALERIJA ── */
.block-galerija { padding: 0; }

.galerija-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.galerija-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #111;
  border-radius: 8px;
  border: 1px solid var(--gold-light);
}

.galerija-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 10px;
}

.galerija-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(186, 139, 75, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.galerija-item:hover img { transform: scale(1.06); opacity: 0.85; }
.galerija-item:hover::after { background: rgba(186, 139, 75, 0.15); }

.galerija-empty {
  color: #888;
  font-size: 14px;
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 900px) {
  .galerija-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .galerija-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── DRESOVI ── */
.block-dresovi { padding: 0; }

.dresovi-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dres-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(186, 139, 75, 0.15);
  border-radius: 4px;
  background: #111;
  overflow: hidden;
}

.dres-left {
  padding: 52px 48px;
  border-right: 1px solid rgba(186, 139, 75, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dres-naslov {
  font-family: 'PT Serif', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}


.dres-opis {
  font-size: 15px;
  line-height: 1.7;
  color: #aaa;
  margin: 4px 0 12px;
}

.dres-ikone {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
  margin-top: 8px;
}

.dres-ikona {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 16px 14px;
}

.dres-ikona-icon {
  font-size: 50px;
  color: var(--gold);
  margin-bottom: 6px;
  line-height: 1;
}

.dres-ikona-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.dres-ikona-sub {
  font-size: 13px;
  color: #888;
  line-height: 1.3;
}


.dres-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #0e0e0e;
  background-image: url('../../images/bg-pattern.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.dres-slika {
  max-height: 420px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.6));
}

/* ── USPJESI ── */
.block-uspjesi { padding: 0; }

.uspjesi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.uspjeh-card {
  display: flex;
  flex-direction: column;
  background: #111;
  border: 1px solid rgba(186, 139, 75, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.uspjeh-img-wrap {
  width: 100%;
  min-height: 360px;
  max-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uspjeh-img {
  width: 100%;
  min-height: 360px;
  max-height: 360px;
  object-fit: contain;
  display: block;
}

.uspjeh-title {
  font-family: 'PT Serif', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin: 20px 24px 8px;
}

.uspjeh-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 24px 12px;
}

.uspjeh-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(186, 139, 75, 0.3);
}

.uspjeh-divider-icon {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.uspjeh-opis {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
  margin: 0 24px 24px;
  flex: 1;
}

.uspjesi-empty {
  color: #888;
  font-size: 14px;
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 900px) {
  .uspjesi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .uspjesi-grid { grid-template-columns: 1fr; }
}

/* ── /USPJESI ── */

/* ── SPONZORI I PRIJATELJI ── */
.block-sponzori { padding: 0; }

.sponzori-section + .sponzori-section { margin-top: 48px; }

.sponzori-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.sponzori-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #111;
  border-radius: 8px;
  border: 1px solid var(--gold-light);
}

.sponzori-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 10px;
}

.sponzori-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(186, 139, 75, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.sponzori-item:hover img { transform: scale(1.06); opacity: 0.85; }
.sponzori-item:hover::after { background: rgba(186, 139, 75, 0.15); }

.sponzori-item--contain {
  cursor: default;
  aspect-ratio: unset;
}
.sponzori-item--contain img {
  object-fit: contain;
  background: #fff;
  aspect-ratio: 1 / 1;
}
.sponzori-item--contain:hover img { transform: none; opacity: 1; }
.sponzori-item--contain::after { display: none; }

@media (max-width: 900px) {
  .sponzori-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .sponzori-grid { grid-template-columns: repeat(2, 1fr); }
  .sponzori-section + .sponzori-section { margin-top: 32px; }
}

.dresovi-empty {
  color: #888;
  font-size: 14px;
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 900px) {
  .dres-card { grid-template-columns: 1fr; }
  .dres-right {
    border-top: 1px solid rgba(186, 139, 75, 0.15);
    padding: 36px 28px;
  }
  .dres-left { padding: 36px 28px; border-right: none; }
  .dres-naslov { font-size: 26px; }
}
@media (max-width: 560px) {
  .dres-ikone { grid-template-columns: repeat(3, 1fr); }
  .dres-left { padding: 28px 20px; }
  .dres-right { padding: 24px 20px; }
}

/* ── POSTANI ČLAN – podaci za uplatu shortcode ── */
.pc-podaci-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}

.pc-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pc-right {
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pc-divider {
  width: 1px;
  background: rgba(186,139,75,0.2);
}

.pc-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pc-col-header i {
  color: var(--gold);
  font-size: 17px;
}
.pc-col-header span {
  font-family: 'PT Serif', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pc-qr-label {
  font-size: 12px;
  color: #777;
  margin: 0 0 14px;
}

.pc-qr-wrap {
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  display: inline-block;
}
.pc-qr-img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
}
.pc-qr-placeholder {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 13px;
}

.pc-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pc-row:last-child { border-bottom: none; }

.pc-row-icon {
  color: var(--gold);
  font-size: 13px;
  opacity: 0.8;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.pc-row-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pc-row-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
}

.pc-row-value {
  font-size: 14px;
  color: #e0e0e0;
  word-break: break-all;
}

.pc-copy {
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.pc-copy::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: #222;
  color: var(--gold);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  border: 1px solid rgba(186,139,75,0.3);
}
.pc-copy:hover { color: var(--gold); }
.pc-copy:hover::after { opacity: 1; }
.pc-copy.is-copied { color: #6dbf6d; }

.pc-row--iznos .pc-row-icon { font-size: 16px; margin-top: 8px; }
.pc-row-value--iznos {
  font-family: 'PT Serif', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}

@media (max-width: 680px) {
  .pc-podaci-card {
    grid-template-columns: 1fr;
  }
  .pc-divider {
    width: auto;
    height: 1px;
  }
  .pc-right { padding-left: 0; padding-top: 16px; }
}

/* ── DONIRAJ ── */
.block-doniraj { padding: 0; margin-top: 48px; }

.doniraj-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  background: #0e0e0e;
  border: 1px solid rgba(186,139,75,0.3);
  border-radius: 8px;
  overflow: hidden;
}

.doniraj-left,
.doniraj-right {
  padding: 36px 32px;
}

.doniraj-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.doniraj-divider {
  width: 1px;
  background: rgba(186,139,75,0.25);
  align-self: stretch;
}

.doniraj-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(186,139,75,0.15);
}
.doniraj-col-header i {
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.doniraj-col-header h3 {
  font-family: 'PT Serif', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

/* Payment rows */
.doniraj-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.doniraj-row {
  display: grid;
  grid-template-columns: 20px 120px 1fr;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.doniraj-row:last-child { border-bottom: none; }

.doniraj-row-icon {
  color: var(--gold);
  font-size: 13px;
  text-align: center;
  opacity: 0.8;
}

.doniraj-row-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
}

.doniraj-row-value {
  font-size: 14px;
  color: #e0e0e0;
  word-break: break-all;
}

.doniraj-copy {
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.doniraj-copy::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: #222;
  color: var(--gold);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  border: 1px solid rgba(186,139,75,0.3);
}
.doniraj-copy:hover { color: var(--gold); }
.doniraj-copy:hover::after { opacity: 1; }
.doniraj-copy.is-copied { color: #6dbf6d; }

/* QR right column */
.doniraj-qr-podnaslov {
  font-size: 13px;
  color: #888;
  margin: 0 0 18px;
}

.doniraj-qr-wrap {
  background: #fff;
  border-radius: 6px;
  padding: 12px;
  display: inline-block;
  margin-bottom: 18px;
}
.doniraj-qr-img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.doniraj-qr-tekst {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

@media (max-width: 860px) {
  .doniraj-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .doniraj-divider {
    width: auto;
    height: 1px;
  }
  .doniraj-left,
  .doniraj-right {
    padding: 28px 24px;
  }
  .doniraj-row {
    grid-template-columns: 20px 100px 1fr;
  }
}

@media (max-width: 480px) {
  .doniraj-row {
    grid-template-columns: 20px 1fr;
    grid-template-rows: auto auto;
  }
  .doniraj-row-label { grid-column: 2; }
  .doniraj-row-value { grid-column: 2; }
}

/* ── HARMONIKA (ACCORDION) ── */
.block-harmonika { padding: 0; margin-top: 48px; }


.harmonika-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.harmonika-item {
  border: 1px solid rgba(186,139,75,0.2);
  border-radius: 6px;
  overflow: hidden;
}

.harmonika-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
}
.harmonika-trigger:hover {
  background: rgba(186,139,75,0.06);
}
.harmonika-trigger[aria-expanded="true"] {
  background: rgba(186,139,75,0.06);
  color: var(--gold);
}
.harmonika-trigger[aria-expanded="true"] .harmonika-arrow {
  transform: rotate(180deg);
}

.harmonika-trigger-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.harmonika-item-icon {
  font-size: 27px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.harmonika-item:nth-child(3n+1) .harmonika-item-icon { color: var(--gold); }
.harmonika-item:nth-child(3n+2) .harmonika-item-icon { color: var(--red); }
.harmonika-item:nth-child(3n+3) .harmonika-item-icon { color: #4a90d9; }

.harmonika-trigger-title {
  font-family: 'PT Serif', serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--gold);
}

.harmonika-arrow {
  flex-shrink: 0;
  stroke: #fff;
  transition: transform 0.3s ease;
}

.harmonika-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.harmonika-panel-inner {
  padding: 16px 24px 22px;
  color: #aaa;
  font-size: inherit;
  line-height: 1.8;
  border-top: 1px solid rgba(186,139,75,0.1);
}
.harmonika-panel-inner p { margin: 0 0 10px; }
.harmonika-panel-inner p:last-child { margin-bottom: 0; }
.harmonika-panel-inner ul,
.harmonika-panel-inner ol {
  padding-left: 0;
  margin: 0 0 10px;
  list-style: none;
}
.harmonika-panel-inner ul li,
.harmonika-panel-inner ol li {
  padding-left: 22px;
  margin-bottom: 8px;
  position: relative;
}
.harmonika-panel-inner ul li:last-child,
.harmonika-panel-inner ol li:last-child { margin-bottom: 0; }
.harmonika-panel-inner ul > li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.harmonika-panel-inner ul ul > li::before {
  content: '—';
  color: #fff;
  font-weight: 400;
}

@media (max-width: 600px) {
  .harmonika-list { gap: 8px; }
  .harmonika-trigger { padding: 16px 18px; gap: 12px; }
  .harmonika-trigger-title { font-size: 16px; }
  .harmonika-panel-inner { padding: 4px 18px 18px 18px; }
}

@media (max-width: 600px) {
  .gform_wrapper { padding: 20px; }
  .gform_wrapper.gravity-theme .gf_step_label { font-size: inherit !important; }
}

/* ── Gutenberg button block ──────────────────────────────────────────────── */
.wp-block-button__link,
.wp-element-button {
  background: var(--gold) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 3px !important;
  font-family: 'PT Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 12px 32px !important;
  cursor: pointer !important;
  transition: opacity 0.2s !important;
  text-decoration: none !important;
}
.wp-block-button__link:hover,
.wp-element-button:hover {
  opacity: 0.85 !important;
  color: #000 !important;
  text-decoration: none !important;
}

.gform_required_legend { display: none !important; }

/* ── Utility classes ─────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  .hide-on-desktop { display: none !important; }
}

/* ── Video block ─────────────────────────────────────────────────────────── */
.block-video {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ── Player wrap ── */
.video-player-wrap {
  position: relative;
  background: #0a0a0a;
  border: 1px solid rgba(186,139,75,0.35);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Big play button ── */
.video-play-big {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--gold);
  transition: background 0.2s, opacity 0.2s;
  z-index: 2;
}
.video-play-big svg {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.55));
  transition: transform 0.18s;
}
.video-play-big:hover { background: rgba(0,0,0,0.5); }
.video-play-big:hover svg { transform: scale(1.08); }

/* Hide big button once playing has started */
.video-item.is-playing .video-play-big,
.video-item.is-started .video-play-big {
  opacity: 0;
  pointer-events: none;
}

/* ── Controls bar ── */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  opacity: 0;
  transition: opacity 0.22s;
  z-index: 3;
}
.video-player-wrap:hover .video-controls,
.video-item.is-playing .video-controls {
  opacity: 1;
}

/* ── Control buttons ── */
.video-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  line-height: 1;
}
.video-btn:hover { color: var(--gold); }
.video-btn svg { width: 18px; height: 18px; display: block; }

/* Show/hide play vs pause icons */
.icon-pause { display: none !important; }
.video-item.is-playing .icon-play  { display: none !important; }
.video-item.is-playing .icon-pause { display: block !important; }

/* Show/hide volume vs mute icons */
.icon-mute { display: none !important; }
.video-item.is-muted .icon-vol  { display: none !important; }
.video-item.is-muted .icon-mute { display: block !important; }

/* ── Progress bar ── */
.video-progress-wrap {
  flex: 1;
  cursor: pointer;
  padding: 6px 0;
}
.video-progress-bg {
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}
.video-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ── Time display ── */
.video-time {
  flex-shrink: 0;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ── Video title ── */
.video-title {
  position: relative;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  font-family: 'PT Serif', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
}
.video-title::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; gap: 20px; }
  .video-play-big svg { width: 64px; height: 64px; }
}

.paged .page-blocks-above-archive { display: none; }
.paged .archive-page { padding-top: 60px !important; }
