/*
 * Sloj koji pobjeđuje stilove pojedinačnih stranica: puna širina,
 * Astra reset i mobilni meni. Izgled komponenti je u components.css.
 */

body.ziher-chrome:not(.ziher-has-design),
body.ziher-chrome:not(.ziher-has-design) #page,
body.ziher-chrome:not(.ziher-has-design) .site-content,
body.ziher-chrome:not(.ziher-has-design) .ast-container,
body.ziher-chrome:not(.ziher-has-design) #primary,
body.ziher-chrome:not(.ziher-has-design) #main {
  background: var(--bg-body) !important;
  color: #fff;
}

body.ziher-chrome #masthead,
body.ziher-chrome .ast-primary-header-bar,
body.ziher-chrome .main-header-bar-navigation,
body.ziher-chrome #ast-mobile-header,
body.ziher-chrome #ast-desktop-header,
body.ziher-chrome #colophon {
  display: none !important;
}

body.ziher-chrome:not(.ziher-has-design) .entry-content,
body.ziher-chrome:not(.ziher-has-design) .entry-content p,
body.ziher-chrome:not(.ziher-has-design) .entry-content li,
body.ziher-chrome:not(.ziher-has-design) .entry-title,
body.ziher-chrome:not(.ziher-has-design) h1,
body.ziher-chrome:not(.ziher-has-design) h2,
body.ziher-chrome:not(.ziher-has-design) h3 {
  color: #fff;
}

body .nav-link,
body .footer-lnk,
body .btn-cta,
body .btn-post-nav,
body .sport-filter a {
  min-height: 24px !important;
  min-width: 24px !important;
}

body :focus-visible {
  outline: 2px solid #1D9E75 !important;
  outline-offset: 2px;
}

body.ziher-chrome .nav .nav-links {
  display: flex;
}

body.ziher-chrome .footer .footer-tagline {
  color: var(--text-muted);
}

/* G1–G3 (dogovor 22.10.) — PWA dugme „Instaliraj aplikaciju“. */
.ziher-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 18px;
  min-height: 44px;
  border: 1px solid rgba(29, 158, 117, .45);
  border-radius: 10px;
  background: rgba(29, 158, 117, .12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ziher-install:hover { background: rgba(29, 158, 117, .22); }
.ziher-install[hidden] { display: none; }
.ziher-install-uputstvo {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  line-height: 1.5;
}
.ziher-install-uputstvo[hidden] { display: none; }
.ziher-install-uputstvo strong { color: #fff; }

body.ziher-chrome .footer .footer-col-title {
  color: rgba(255, 255, 255, .5);
}

body.ziher-chrome .footer .footer-lnk {
  color: var(--text-muted);
}

body.ziher-chrome .footer .footer-legal {
  color: var(--text-muted);
}

body.ziher-chrome .footer .footer-copy {
  color: var(--text-muted);
}

body.ziher-chrome .entry-content a {
  color: var(--primary);
}

body.ziher-chrome:not(.ziher-has-design) .entry-header,
body.ziher-chrome:not(.ziher-has-design) .entry-content {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

body.ziher-chrome:not(.ziher-has-design) .entry-header {
  padding-top: 36px;
}

body.ziher-chrome:not(.ziher-has-design) .entry-content {
  padding-bottom: 56px;
}

body.ziher-chrome:not(.ziher-has-design) .entry-content h2 {
  margin: 1.4em 0 .4em;
  font-size: 1.15rem;
  color: #fff;
}

body.ziher-chrome:not(.ziher-has-design) .entry-content ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

body.ziher-chrome:not(.ziher-has-design) .ziher-doc-meta {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

body .site,
body .alati-header,
body .alati-wrap,
body .alati-foot,
body .today-featured-container,
body .archive-container,
body .brko-header-section,
body .archive-section-title,
body .single-post-view,
body .featured-ticket-card {
  max-width: none !important;
  width: 100% !important;
}

@media (max-width: 900px) {
  body .nav {
    height: auto !important;
    flex-wrap: wrap !important;
    padding: 10px 12px !important;
    row-gap: 8px;
  }

  body .nav-links {
    order: 3;
    position: static !important;
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    white-space: normal !important;
    width: 100% !important;
    height: auto !important;
    gap: 8px 14px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  body .nav-link {
    display: inline-flex !important;
    font-size: 14px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 6px !important;
  }

  body .nav-link.active {
    color: var(--primary, #1D9E75) !important;
    box-shadow: inset 0 -2px 0 var(--primary, #1D9E75) !important;
  }

  .lang {
    display: none;
  }

  .ziher-rizik {
    margin: 0 16px 20px;
  }

}

body .footer {
  width: 100% !important;
  max-width: none !important;
  border-top: 1px solid rgba(255, 255, 255, .07) !important;
  padding: 60px 40px 40px !important;
  background-image: linear-gradient(rgba(9, 17, 30, .93), rgba(6, 10, 18, .97)), url("https://ziher.me/wp-content/uploads/2026/03/cool-soccer-olimpiyskiy-stadium-xs24wx283e1hvwdd.webp") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #fff !important;
  font-family: Poppins, sans-serif !important;
}

body .footer .footer-top {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr !important;
  gap: 32px !important;
  margin-bottom: 40px !important;
}

body .footer .footer-col-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, .5) !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  margin-bottom: 16px !important;
}

body .footer .footer-lnk {
  display: flex !important;
  align-items: center !important;
  min-height: 24px !important;
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-bottom: 10px !important;
  text-decoration: none !important;
}

#colophon,
footer.site-footer {
  display: none !important;
}

body,
body.ziher-chrome,
body.ziher-chrome #page,
body.ziher-chrome .site-content {
  background-color: #060a12;
}

body .nav {
  width: 100%;
  box-sizing: border-box;
  background: rgba(6, 10, 18, .78) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0 !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .05);
  padding-left: clamp(16px, 3vw, 40px) !important;
  padding-right: clamp(16px, 3vw, 40px) !important;
}

.hero,
.zk-hero,
.vijesti-header,
.vijest-hero,
.alati-header,
.brko-header-section,
.today-featured-container {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

.zk-hero,
.vijesti-header,
.alati-header,
.brko-header-section,
.today-featured-container,
.archive-container,
.archive-section-title {
  padding-left: clamp(16px, 3vw, 40px) !important;
  padding-right: clamp(16px, 3vw, 40px) !important;
}

.brko-intro-box,
.featured-ticket-card,
.ticket-empty,
.zk-hero,
.alati-header,
.vijesti-header {
  width: 100%;
}

.vijest-hero {
  min-height: clamp(240px, 38vh, 440px);
}

.vijest-hero__scrim,
.vijest-body {
  width: 100%;
  box-sizing: border-box;
  padding-left: clamp(16px, 4vw, 48px) !important;
  padding-right: clamp(16px, 4vw, 48px) !important;
}

.vijest-hero h1,
.zk-hero h1,
.alati-header h1,
.vijesti-header h1,
.brko-intro-text h1 {
  font-size: clamp(1.45rem, 3.4vw, 2.5rem) !important;
  max-width: none;
}

.hero .slide-overlay {
  background: linear-gradient(to bottom, transparent 58%, #060a12 100%);
}

body.woocommerce-account #primary,
body.woocommerce-account .ast-container,
body.woocommerce-account .entry-content,
body.woocommerce-account .entry-header {
  max-width: none !important;
  width: 100% !important;
}

body .footer {
  border-top: 0 !important;
}

body .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 96px;
  background: linear-gradient(to bottom, #060a12 0%, rgba(6, 10, 18, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

body .footer .footer-top,
body .footer .footer-bottom {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  body .footer {
    padding: 40px 20px !important;
  }

  body .footer .footer-top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  body .footer .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: 12px !important;
  }

  body .footer .footer-copy {
    white-space: normal !important;
  }
}

/* ZX-104 (dopuna) — Astra "scroll to top" plava strelica se uklanja: na telefonu
   blokira tab bar ("Račun") u Moj nalog. Zamjena je nativno dugme u plugin-u. */
#ast-scroll-top {
  display: none !important;
}
