/*
Theme Name: AdriaTribute New
Template:   astra
Version:    2.8.6
Description: AdriaTribute child theme – 1:1 Sketch design
Author:     AdriaTribute
Text Domain: adriatribute-new
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --navy:    #091635;
  --yellow:  #faae16;
  --white:   #ffffff;
  --gray-bg: #dadbdd;
  --font-h:  'Anton', sans-serif;
  --font-b:  'Inter Tight', sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-b) !important;
  font-size: 16px !important;
  color: var(--navy) !important;
  background: #fff !important;
}
img { max-width: 100%; height: auto; }
a { color: var(--yellow); text-decoration: none; }
a:hover { opacity: .85; }

h1,h2,h3,h4,h5,h6,
.elementor-heading-title,
.entry-title { font-family: var(--font-h) !important; line-height: 1.05; }

p, li, span, td, input, textarea, button, label {
  font-family: var(--font-b) !important;
}

/* ============================================================
   HEADER — navy #091635, height 159px (Sketch exact)
   ============================================================ */
#masthead,
.site-header,
.main-header-bar,
.main-header-bar-wrap,
.ast-primary-header-bar,
.ast-desktop-header,
#ast-desktop-header,
.ast-mobile-header-wrap,
#ast-mobile-header {
  background: var(--navy) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.ast-primary-header-bar {
  min-height: 100px !important;
  padding: 0 60px !important;
}

/* Logo — from Sketch: yellow ADRIA TRIBUTE mark */
.custom-logo-link img,
.ast-logo-container img {
  max-height: 80px !important;
  width: auto !important;
  filter: none !important;
}

.site-title a, .site-title {
  color: var(--yellow) !important;
  font-family: var(--font-h) !important;
  font-size: 32px !important;
}

/* Nav links — Sketch: InterTight Medium uppercase, white */
.main-header-menu > .menu-item > a,
.ast-nav-menu > .menu-item > a,
.ast-header-navigation .menu-link,
.main-header-bar .main-navigation a {
  color: var(--white) !important;
  font-family: var(--font-b) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  padding: 8px 20px !important;
}
.main-header-menu > .menu-item > a:hover,
.ast-nav-menu > .menu-item > a:hover {
  color: var(--yellow) !important;
}
.main-header-menu > .current-menu-item > a { color: var(--yellow) !important; }

/* Transparent header overrides */
.ast-theme-transparent-header .main-header-bar,
.ast-theme-transparent-header #masthead,
.ast-sticky-header-active .main-header-bar {
  background: var(--navy) !important;
}
.ast-theme-transparent-header .main-header-menu .menu-item > a {
  color: var(--white) !important;
}
.ast-theme-transparent-header .main-header-menu .menu-item:hover > a {
  color: var(--yellow) !important;
}

/* Mobile hamburger */
.menu-toggle, .ast-button-wrap .menu-toggle { color: var(--white) !important; }
.ast-desktop-header-content,
.ast-mobile-header-content { background: var(--navy) !important; }

/* Remove Astra page title banner */
.ast-hero-section-wrap,
.ast-page-header,
.entry-header.ast-no-thumbnail { display: none !important; }

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.site-content, #content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.elementor-template-full-width .site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.e-con.e-parent { max-width: 100% !important; }
.ast-container { max-width: 100% !important; }
.elementor-template-full-width .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Gallery section — force column direction so heading+gallery stack vertically */
.elementor-element-7c603ec7.e-flex {
  flex-direction: column !important;
  align-items: stretch !important;
}
.elementor-element-7c603ec7 > .e-con-inner {
  flex-direction: column !important;
  padding: 0 60px 80px !important;
  width: 100% !important;
}

/* CTA — replaced below in clean block */

/* ============================================================
   HERO — concert crowd, 427px min-height, dark overlay
   ============================================================ */
.elementor-element-hero001 {
  min-height: 520px !important;
  padding-left: 60px !important;
  padding-right: 60px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.elementor-element-hero001 > .elementor-widget,
.elementor-element-hero001 .elementor-widget-container {
  margin: auto 0 !important;
}
/* Visoka specifičnost — preglasi Elementor 0,3,0,0 */
.elementor-15 .elementor-element.elementor-element-hero001 {
  --justify-content: flex-start !important;
  --align-items: center !important;
  --padding-top: 160px !important;
  --padding-bottom: 0px !important;
}
.elementor-element-hero001 .elementor-heading-title {
  font-family: var(--font-h) !important;
  font-size: clamp(32px, 4vw, 56px) !important;
  color: #ffffff !important;
  line-height: 1.08 !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 600px !important;
}
/* Subtitle — viden kot na referenci */
.elementor-15 .elementor-element.elementor-element-hero_sub01 {
  display: block !important;
  margin-top: 0 !important;
}
.elementor-element-hero001 .elementor-element-hero_sub01 .elementor-widget-text-editor {
  text-align: center !important;
}
.elementor-element-hero001 .elementor-element-hero_sub01 .elementor-text-editor {
  text-align: center !important;
}

/* ============================================================
   SECTION HEADINGS — Anton, navy, LEFT aligned (Sketch exact)
   ============================================================ */
.elementor-element-f3bd957 .elementor-heading-title,
.elementor-element-7a0332c .elementor-heading-title,
.elementor-element-26bb03c .elementor-heading-title,
.elementor-element-d57533f .elementor-heading-title,
.elementor-element-a67ca85 .elementor-heading-title {
  font-family: var(--font-h) !important;
  font-size: clamp(28px, 3.5vw, 64px) !important;
  font-weight: 400 !important;
  color: var(--navy) !important;
  text-align: left !important;
  letter-spacing: .02em !important;
  line-height: 1.1 !important;
}

/* ============================================================
   BAND CARD GRID — Sketch: white bg, dark text, 3 cols, 600×460 images
   ============================================================ */
.premium-img-gallery.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force CSS Grid (override Isotope) */
.premium-gallery-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  width: 100% !important;
  height: auto !important;
  position: static !important;
}
.premium-gallery-container .grid-sizer { display: none !important; }

/* Card — WHITE background, no radius (Sketch: no border-radius) */
.premium-gallery-item {
  float: none !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.12) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}
.premium-gallery-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
}

/* Image container — square ratio matches reference */
.pa-gallery-img { position: relative !important; }

.pa-gallery-img-container {
  display: block !important;
  overflow: hidden !important;
  line-height: 0 !important;
  aspect-ratio: 600 / 460 !important;
  border-radius: 0 !important;
}
.pa-gallery-img-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .4s ease !important;
}
.premium-gallery-item:hover .pa-gallery-img-container img {
  transform: scale(1.04) !important;
}

/* Hide hover icons */
.pa-gallery-icons-wrapper { display: none !important; }

/* Caption area — white bg, dark text */
.premium-gallery-caption,
.pa-gallery-img.default .premium-gallery-caption {
  position: relative !important;
  top: auto !important; left: auto !important;
  right: auto !important; bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  background: #ffffff !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 18px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  z-index: 2 !important;
}

/* Band name — Sketch: Anton 60px navy */
.premium-gallery-img-name,
.premium-gallery-img-name a {
  font-family: var(--font-h) !important;
  font-size: clamp(22px, 3.1vw, 60px) !important;
  font-weight: 400 !important;
  color: var(--navy) !important;
  line-height: 1 !important;
  margin: 0 0 4px !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  display: block !important;
}

/* Tribute name — Sketch: InterTight Bold 30px navy */
.premium-gallery-img-desc,
.premium-gallery-img-desc a {
  font-family: var(--font-b) !important;
  font-size: clamp(13px, 1.56vw, 30px) !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  margin: 0 0 16px !important;
  display: block !important;
}

/* Whole-card link overlay */
.pa-gallery-whole-link {
  position: absolute !important;
  inset: 0 !important;
  background: transparent !important;
  z-index: 3 !important;
}
.pa-gallery-whole-link span { display: none !important; }

/* "VEČ →" button — home page cards */
.premium-gallery-caption::after {
  content: "VEČ →" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--yellow) !important;
  color: #ffffff !important;
  font-family: var(--font-b) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  width: 160px !important;
  height: 50px !important;
  position: relative !important;
  z-index: 4 !important;
  transition: background .2s ease !important;
}
.premium-gallery-item:hover .premium-gallery-caption::after {
  background: #e09a0e !important;
}

/* CTA — replaced below in clean block */

/* ============================================================
   CONTACT/INQUIRY FORM SECTION
   ============================================================ */
/* 2-column form layout */
.wpcf7-form .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 40px !important;
}
/* Labels visible in dark */
.wpcf7-form label {
  color: var(--navy) !important;
  font-family: var(--font-b) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: block !important;
  margin-bottom: 2px !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100% !important;
  border: 1px solid #c0c4cc !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  font-family: var(--font-b) !important;
  font-size: 15px !important;
  margin-bottom: 8px !important;
  background: #ffffff !important;
  color: var(--navy) !important;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: #8a8ea3 !important; }
.wpcf7-form input[type="submit"], .wpcf7-submit {
  background: var(--yellow) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 40px !important;
  height: 54px !important;
  line-height: 54px !important;
  font-family: var(--font-b) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  transition: background .2s ease !important;
}
.wpcf7-form input[type="submit"]:hover { background: #e09a0e !important; }

/* ============================================================
   ELEMENTOR BUTTONS
   ============================================================ */
.elementor-button, a.elementor-button {
  background: var(--yellow) !important;
  color: #ffffff !important;
  font-family: var(--font-b) !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}
.elementor-button:hover, a.elementor-button:hover {
  background: #e09a0e !important;
  color: #ffffff !important;
}

/* ============================================================
   SINGLE TRIBUTE BAND PAGE
   ============================================================ */
.post-type-tribute_band .entry-content,
.single-tribute_band .e-con-inner { max-width: 100% !important; }

/* Boxed sections: proper side padding (description, gallery, form) */
.single-tribute_band .e-con-boxed > .e-con-inner {
  padding-left: 80px !important;
  padding-right: 80px !important;
}

/* Band page description text */
.single-tribute_band .elementor-widget-text-editor p {
  font-family: var(--font-b) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: var(--navy) !important;
}

/* Band page image carousel */
.single-tribute_band .elementor-image-carousel-wrapper {
  border-radius: 0 !important;
}
.single-tribute_band .swiper-slide img {
  object-fit: cover !important;
}
/* Ensure gallery links are clickable (lightbox) */
.single-tribute_band .swiper-slide a {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ============================================================
   FOOTER — Sketch: navy #091635
   ============================================================ */
.site-footer, #colophon,
.footer-widget-area,
.ast-footer-overlay,
.footer-bar-wrap,
.footer-adv,
.site-below-footer-wrap,
.site-primary-footer-wrap,
.site-above-footer-wrap,
[data-section="section-footer-builder"],
[data-section="section-below-footer-builder"],
[data-section="section-primary-footer-builder"],
.ast-builder-grid-row-container {
  background: var(--navy) !important;
  color: rgba(255,255,255,.85) !important;
}
/* Footer pokrije gitarista iz CTA navzdol */
.site-footer, #colophon {
  position: relative !important;
  z-index: 10 !important;
}
.site-footer *, #colophon * { color: rgba(255,255,255,.85) !important; }
.site-footer a, #colophon a { color: rgba(255,255,255,.75) !important; }
.site-footer a:hover, #colophon a:hover { color: var(--yellow) !important; opacity: 1 !important; }
.footer-widget-area .widget-title, #colophon .widget-title {
  font-family: var(--font-h) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  border-bottom: 2px solid var(--yellow) !important;
  padding-bottom: 8px !important;
}
.ast-footer-copyright, .ast-small-footer {
  background: rgba(0,0,0,.3) !important;
  color: rgba(255,255,255,.55) !important;
  font-size: 13px !important;
}

/* ============================================================
   RESPONSIVE — Tablet ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  .premium-gallery-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
  .ast-primary-header-bar { padding: 0 24px !important; }
  .elementor-element-7c603ec7 > .e-con-inner {
    padding: 0 20px !important;
  }
}

/* ============================================================
   RESPONSIVE — Mobile ≤767px
   ============================================================ */
@media (max-width: 767px) {
  .ast-primary-header-bar {
    min-height: 70px !important;
    padding: 0 16px !important;
  }
  .premium-gallery-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
  .premium-gallery-caption {
    padding: 8px 6px 10px !important;
  }
  .premium-gallery-img-name,
  .premium-gallery-img-name a {
    font-size: 11px !important;
    margin: 0 0 2px !important;
  }
  .premium-gallery-img-desc,
  .premium-gallery-img-desc a {
    font-size: 9px !important;
    margin: 0 0 6px !important;
  }
  .premium-gallery-caption::after {
    font-size: 8px !important;
    width: 100% !important;
    height: 28px !important;
    letter-spacing: .02em !important;
  }
  .elementor-element-7c603ec7 {
    padding: 0 8px 40px !important;
  }
  .elementor-element-hero001 .elementor-heading-title {
    font-size: clamp(22px, 5vw, 42px) !important;
  }
  .elementor-element-f3bd957 .elementor-heading-title,
  .elementor-element-7a0332c .elementor-heading-title,
  .elementor-element-26bb03c .elementor-heading-title,
  .elementor-element-d57533f .elementor-heading-title,
  .elementor-element-a67ca85 .elementor-heading-title {
    font-size: clamp(18px, 4vw, 36px) !important;
  }
  .elementor-element-8672c67 > .e-con-inner {
    flex-direction: column !important;
  }
  .single-tribute_band h1.elementor-heading-title { font-size: 28px !important; }
}

/* ============================================================
   MISC
   ============================================================ */
#wpadminbar ~ #masthead { top: 32px !important; }

/* ============================================================
   TRIBUTE_BAND SINGLE — hide hero banner, show H1 under video
   ============================================================ */
/* Hide first Elementor section (hero banner) on band pages */
.single-tribute_band .elementor[data-elementor-type="wp-post"] > .e-parent:first-child {
  display: none !important;
}

/* Push visible content below fixed header on band pages */
.single-tribute_band .elementor[data-elementor-type="wp-post"] > .e-parent:nth-child(2) {
  margin-top: 90px !important;
  min-height: 0 !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

/* H1 band title injected below video via JS */
.band-page-title {
  font-family: var(--font-h) !important;
  font-size: clamp(28px, 3.5vw, 60px) !important;
  color: var(--navy) !important;
  padding: 32px 80px 8px !important;
  margin: 0 auto !important;
  max-width: 1200px !important;
  line-height: 1.05 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 767px) {
  .band-page-title { padding: 20px 16px 8px !important; font-size: 28px !important; }
}

/* ============================================================
   TRIBUTE_BAND GALLERY — image carousel → 3-col grid
   ============================================================ */
.single-tribute_band .elementor-image-carousel-wrapper,
.single-tribute_band .elementor-widget-image-carousel {
  overflow: visible !important;
}
.single-tribute_band .swiper,
.single-tribute_band .swiper-container {
  overflow: visible !important;
}
.single-tribute_band .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  transform: none !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}
.single-tribute_band .swiper-slide {
  width: auto !important;
  margin: 0 !important;
}
.single-tribute_band .swiper-slide a,
.single-tribute_band .swiper-slide img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4/3 !important;
  object-fit: cover !important;
  height: auto !important;
}
.single-tribute_band .elementor-swiper-button,
.single-tribute_band .swiper-pagination { display: none !important; }

/* Hide Swiper duplicate/clone slides */
.single-tribute_band .swiper-slide-duplicate { display: none !important; }

@media (max-width: 767px) {
  .single-tribute_band .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* band-cta — replaced below in clean block */

/* CTA — replaced below in clean block */

/* Fix blank space at bottom */
.single-tribute_band .elementor[data-elementor-type="wp-post"] {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   FOOTER — uniform copyright bar color
   ============================================================ */
.ast-footer-copyright,
.ast-small-footer,
.site-below-footer-wrap {
  background: var(--navy) !important;
  color: rgba(255,255,255,.55) !important;
  font-size: 13px !important;
}

/* ============================================================
   HOME PAGE — band card excerpt text
   ============================================================ */
.band-excerpt {
  font-family: var(--font-b) !important;
  font-size: 14px !important;
  color: rgba(9,22,53,.7) !important;
  line-height: 1.5 !important;
  margin: 0 0 14px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* ============================================================
   TRIBUTE_BAND FORM — 2-column layout (CF7)
   ============================================================ */
.single-tribute_band .wpcf7-form .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 30px !important;
}
.single-tribute_band .wpcf7-form {
  max-width: 100% !important;
}
@media (max-width: 767px) {
  .single-tribute_band .wpcf7-form .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   LEGAL PAGES — politika-zasebnosti, piskotki
   ============================================================ */
.page-id-1223 .site-main,
.page-id-1224 .site-main {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 120px 40px 80px !important;
}
.page-id-1223 .entry-content,
.page-id-1224 .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}
/* Show entry header for legal pages */
.page-id-1223 .entry-header,
.page-id-1224 .entry-header {
  display: block !important;
  margin-bottom: 32px !important;
}
.page-id-1223 .entry-title,
.page-id-1224 .entry-title {
  font-family: var(--font-h) !important;
  font-size: clamp(28px,3.5vw,52px) !important;
  color: var(--navy) !important;
  line-height: 1.1 !important;
  margin: 0 0 8px !important;
}
/* Tables on piskotki */
.page-id-1224 table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: var(--font-b) !important;
  font-size: 14px !important;
  margin-bottom: 24px !important;
}
.page-id-1224 th,
.page-id-1224 td {
  border: 1px solid #ddd !important;
  padding: 10px 14px !important;
  text-align: left !important;
  color: var(--navy) !important;
}
.page-id-1224 th {
  background: #f4f5f7 !important;
  font-weight: 700 !important;
}

/* ============================================================
   O NAS PAGE — proper content background
   ============================================================ */
.page-id-803 .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}
/* Reduce gap between content and CTA on O nas page */
.page-id-803 .elementor-element-8672c67 {
  margin-top: 0 !important;
}
.page-id-803 .elementor-element-onas_content {
  padding-bottom: 40px !important;
}

/* ============================================================
   POVPRASEVANJE PAGE (ID 1339)
   ============================================================ */
.page-id-1339 .site-main {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 160px 40px 80px !important;
}
.page-id-1339 .entry-header {
  display: block !important;
  margin-bottom: 32px !important;
}
.page-id-1339 .entry-title {
  font-family: var(--font-h) !important;
  font-size: clamp(28px,3.5vw,52px) !important;
  color: var(--navy) !important;
  line-height: 1.1 !important;
  margin: 0 0 8px !important;
}
.page-id-1339 .wpcf7-form {
  max-width: 100% !important;
}

/* CTA — replaced below in clean block */

/* ============================================================
   TASK 2: BAND PAGE CONTENT WIDTH — max-width constraint
   ============================================================ */
.single-tribute_band .elementor[data-elementor-type="wp-post"] > .e-parent > .e-con-inner {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
/* Video section stays full-width (2nd child element) */
.single-tribute_band .elementor[data-elementor-type="wp-post"] > .e-parent:nth-child(2) > .e-con-inner {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Center video container horizontally — parent container has 10px padding causing asymmetry */
.single-tribute_band .e-con:has(> .e-con > .elementor-widget-video) {
  align-items: center !important;
}
/* Video size — reduce from 80% to 60% */
.single-tribute_band .elementor-widget-video {
  width: 60% !important;
  max-width: 60% !important;
}
@media (max-width: 767px) {
  .single-tribute_band .elementor[data-elementor-type="wp-post"] > .e-parent > .e-con-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ============================================================
   TASK 3: GALLERY LIGHTBOX CSS
   ============================================================ */
#adria-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
}
#adria-lightbox.al-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.al-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  cursor: pointer;
}
.al-img {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  z-index: 2;
  display: block;
  object-fit: contain;
  border: none;
}
.al-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 3;
  background: none;
  border: none;
  color: #fff;
  font-size: 44px;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
  opacity: .75;
}
.al-close:hover { opacity: 1; }
.al-prev, .al-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  padding: 12px 20px;
  line-height: 1;
  transition: background .2s;
  font-family: sans-serif;
}
.al-prev:hover, .al-next:hover { background: rgba(255,255,255,.28); }
.al-prev { left: 16px; }
.al-next { right: 16px; }
.al-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-family: var(--font-b);
}
.single-tribute_band .swiper-slide { cursor: pointer !important; }

/* ============================================================
   TASK 4: BAND CARD IMAGES — aspect ratio 3:2
   ============================================================ */
.pa-gallery-img-container {
  aspect-ratio: 3 / 2 !important;
}
.pa-gallery-img-container img {
  object-position: center top !important;
}

/* ============================================================
   TASK 5: INQUIRY FORM — 2-column layout
   ============================================================ */
.wpcf7-form .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 32px !important;
  align-items: stretch !important;
}
.wpcf7-form .form-column-left,
.wpcf7-form .form-column-right {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.wpcf7-form .form-column-right textarea {
  min-height: 80px !important;
  resize: vertical !important;
}
.wpcf7-form .form-footer {
  margin-top: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: flex-start !important;
}
.wpcf7-form .wpcf7-acceptance label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  cursor: pointer !important;
}
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  accent-color: var(--yellow) !important;
}
.wpcf7-form select,
.wpcf7 .wpcf7-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23091635' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 14px center !important;
  background-color: #ffffff !important;
  padding-right: 40px !important;
  color: #091635 !important;
  cursor: pointer !important;
}
.wpcf7-form select option {
  background: #ffffff !important;
  color: #091635 !important;
}
/* Force white bg + navy text on ALL states — overrides Astra blue focus */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select,
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.wpcf7-form input[type="text"]:hover,
.wpcf7-form input[type="email"]:hover,
.wpcf7-form input[type="tel"]:hover,
.wpcf7-form textarea:focus,
.wpcf7-form textarea:hover,
.wpcf7-form select:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #091635 !important;
  -webkit-text-fill-color: #091635 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  outline: none !important;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: var(--yellow) !important;
}
/* Stronger textarea focus override - prevents Astra blue */
body .wpcf7 .wpcf7-form textarea:focus,
body .wpcf7 .wpcf7-form textarea:focus-visible {
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  outline: none !important;
  border-color: var(--yellow) !important;
  color: var(--navy) !important;
}
.wpcf7-form input[type="date"] {
  cursor: pointer !important;
}
@media (max-width: 767px) {
  .wpcf7-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

/* ============================================================
   TASK 6: INQUIRY PAGE /povprasevanje/
   ============================================================ */
.page-id-1339 .entry-header {
  display: block !important;
  margin-bottom: 32px !important;
}
.page-id-1339 .entry-title {
  display: block !important;
}
.page-id-1339 .wpcf7 {
  max-width: 100% !important;
}

/* ============================================================
   TASK 7: O NAS PAGE
   ============================================================ */
.page-id-803 .elementor-element-6h82ltv {
  min-height: 400px !important;
}
.page-id-803 .elementor-element-6h82ltv .elementor-heading-title {
  color: #ffffff !important;
}
.page-id-803 .elementor-element-6h82ltv .elementor-widget-text-editor p {
  color: rgba(255,255,255,.85) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}
.page-id-803 .elementor-element-6h82ltv .elementor-widget-image img {
  max-width: 100% !important;
  height: auto !important;
}

/* ============================================================
   TASK 8: LEGAL PAGES — content styling
   ============================================================ */
.page-id-1223 .site-main,
.page-id-1224 .site-main {
  padding-top: 140px !important;
}
.page-id-1223 .entry-content h2,
.page-id-1224 .entry-content h2 {
  font-family: var(--font-h) !important;
  font-size: clamp(20px,2.5vw,36px) !important;
  color: var(--navy) !important;
  margin: 32px 0 12px !important;
}
.page-id-1223 .entry-content h3,
.page-id-1224 .entry-content h3 {
  font-family: var(--font-b) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 24px 0 8px !important;
}
.page-id-1223 .entry-content p,
.page-id-1224 .entry-content p {
  color: var(--navy) !important;
  line-height: 1.7 !important;
  margin-bottom: 16px !important;
}

/* HERO subtitle text – max width 60%, left-aligned */
.elementor-element-hero_sub01,
#elementor-element-hero_sub01 .elementor-widget-container {
  max-width: 62% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.home .elementor-element-hero_sub01 .elementor-widget-container p {
  font-family: 'Inter Tight', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #ffffff !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-align: left !important;
}
/* Hero heading also max-width for left alignment */
.home .elementor-element-625fa24 .elementor-widget-container,
.home .elementor-element-625fa24 {
  max-width: 65% !important;
}

/* ============================================================
   BAND PAGE VIDEO SECTION
   ============================================================ */
.single-tribute_band .elementor-element-7bbd422 {
  margin-top: 80px !important;
}

/* ============================================================
   CTA SECTION — "Rezervirajte vrhunski tribute nastop"
   HOME (Elementor #8672c67) + BAND PAGES (.band-cta-outer)
   ============================================================ */

/* Parent chain — allow CTA image overflow above section */
#page, #primary, .site-content, .ast-container, #content,
main#main, .site-main, .ast-full-width-layout,
.elementor-inner,
.elementor[data-elementor-type="wp-page"],
.elementor[data-elementor-type="wp-post"] {
  overflow: visible !important;
}

/* ── HOME — Elementor section ── */
.elementor-element-8672c67 {
  background-color: #f2f2f2 !important;
  position: relative !important;
  overflow: visible !important;
  padding-top: 0 !important;
  min-height: 420px !important;
  margin-top: 160px !important;
}
/* Text column */
.elementor-element-82a5ecb {
  flex: 0 0 60% !important;
  width: 60% !important;
  max-width: 60% !important;
  padding: 60px 40px 60px 80px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 2 !important;
}
/* Image column — overflow navzgor, footer ga pokrije navzdol */
.elementor-element-af7cee7 {
  position: absolute !important;
  right: 0 !important;
  top: -80px !important;
  bottom: 0 !important;
  width: 40% !important;
  margin: 0 !important;
  z-index: 1 !important;
  overflow: visible !important;
  background-size: cover !important;
  background-position: center top !important;
}
/* Heading + text styles */
.elementor-element-8672c67 .elementor-heading-title {
  font-family: var(--font-h) !important;
  color: var(--navy) !important;
  font-size: clamp(28px, 3.5vw, 52px) !important;
  line-height: 1.1 !important;
  text-align: left !important;
  margin-bottom: 20px !important;
}
.elementor-element-8672c67 .elementor-widget-text-editor p {
  color: rgba(9,22,53,.75) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  margin-bottom: 32px !important;
}
.elementor-element-8672c67 .elementor-button {
  background: #faae16 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}

/* ── BAND PAGES — PHP .band-cta-outer ── */
.band-cta-outer {
  position: relative !important;
  background: #f2f2f2 !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  min-height: 420px !important;
  padding-top: 0 !important;
}
.band-cta-text {
  flex: 0 0 60% !important;
  width: 60% !important;
  padding: 60px 40px 60px 80px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 2 !important;
}
.band-cta-image {
  position: absolute !important;
  right: 0 !important;
  top: -80px !important;
  bottom: 0 !important;
  width: 40% !important;
  margin: 0 !important;
  background-size: auto 110% !important;
  background-position: right top !important;
  background-repeat: no-repeat !important;
  z-index: 1 !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .elementor-element-82a5ecb,
  .band-cta-text {
    padding-left: 40px !important;
  }
}
/* Separator line under form section on band pages */
.single-tribute_band .e-con:has(> .e-con > .wpcf7-form),
.single-tribute_band .e-con:has(.wpcf7) {
  border-bottom: 1px solid #dde1e8 !important;
  padding-bottom: 48px !important;
}

@media (max-width: 768px) {
  /* Home CTA */
  .elementor-element-8672c67 > .e-con-inner {
    flex-direction: column !important;
    min-height: auto !important;
  }
  .elementor-element-82a5ecb {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px 24px !important;
  }
  .elementor-element-af7cee7 {
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    min-height: 260px !important;
    background-size: auto 100% !important;
    background-position: center top !important;
  }
  /* Band CTA */
  .band-cta-outer {
    flex-direction: column !important;
  }
  .band-cta-text {
    flex: 1 !important;
    width: 100% !important;
    padding: 40px 24px !important;
  }
  .band-cta-image {
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    min-height: 260px !important;
    background-size: auto 100% !important;
    background-position: center top !important;
  }
}

/* ============================================================
   RESPONSIVE FIXES — MOBILE & TABLET
   ============================================================ */

/* ── 1. Mobile menu — override white nav links on mobile dropdown ── */
/* The global rule sets color:white; override it in mobile header */
@media (max-width: 921px) {
  .main-header-bar .main-navigation ul li a,
  .main-header-menu > .menu-item > a,
  .ast-nav-menu > .menu-item > a,
  .main-navigation ul li a,
  .main-navigation .menu-item > a {
    color: #091736 !important;
  }
  .main-header-bar .main-navigation ul li a:hover {
    color: var(--yellow) !important;
  }
}

/* ── Tablet: gallery category headings — reduce spacing ── */
@media (max-width: 991px) {
  .elementor-element-f3bd957,
  .elementor-element-7a0332c,
  .elementor-element-26bb03c,
  .elementor-element-d57533f,
  .elementor-element-a67ca85 {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .elementor-element-f3bd957 { margin-top: 8px !important; }
  .elementor-element-7c603ec7 { padding-top: 24px !important; padding-bottom: 16px !important; }
}

@media (max-width: 767px) {

  /* ── 2. HOME Hero — fix text size & overflow ── */
  .elementor-element-hero001 {
    padding-top: 80px !important;
    overflow: hidden !important;
  }
  .elementor-element-hero001 > .e-con-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .elementor-element-625fa24 .elementor-heading-title {
    font-size: 26px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    max-width: 100% !important;
    word-break: break-word !important;
  }
  /* Subtitle — smaller on mobile */
  .elementor-element-hero_sub01 .elementor-widget-container * {
    font-size: 13px !important;
  }

  /* ── 3. HOME Gallery — space after hero, reduce category spacing ── */
  .elementor-element-7c603ec7 {
    padding-top: 28px !important;
    padding-bottom: 0 !important;
  }
  .elementor-element-f3bd957,
  .elementor-element-7a0332c,
  .elementor-element-26bb03c,
  .elementor-element-d57533f,
  .elementor-element-a67ca85 {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .elementor-element-f3bd957 { margin-top: 0 !important; }

  /* ── 4. HOME CTA — less space, button centered ── */
  .home .elementor-element-8672c67 {
    margin-top: 24px !important;
  }
  .elementor-element-82a5ecb {
    padding: 28px 20px !important;
  }
  .elementor-element-c011c41 .elementor-button-wrapper {
    display: flex !important;
    justify-content: center !important;
  }

  /* ── 5. FOOTER — center everything ── */
  .site-footer,
  .site-footer .elementor-widget-wrap,
  .site-footer .e-con-inner,
  .site-footer .elementor-widget,
  .site-footer .elementor-widget-container {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .site-footer .elementor-social-icons-wrapper {
    justify-content: center !important;
    display: flex !important;
  }
  .site-footer img { margin: 0 auto !important; display: block !important; }
  .ast-footer-copyright,
  .ast-footer-copyright *,
  .site-footer p,
  .site-footer span,
  .site-footer div {
    text-align: center !important;
  }

  /* ── 7. O NAS — halve top padding, reduce before CTA ── */
  .page-id-803 .elementor-element-onas_content {
    padding-top: 60px !important;
    padding-bottom: 16px !important;
  }
  .page-id-803 .elementor-element-8672c67 {
    margin-top: 0 !important;
  }

  /* ── 8. BAND PAGES ── */
  /* Video — match text width, remove extra padding */
  .single-tribute_band .elementor[data-elementor-type="wp-post"] > .e-parent:nth-child(2) {
    margin-top: 70px !important;
    padding: 0 !important;
  }
  .single-tribute_band .elementor-element-7cc0c2a > .e-con-inner,
  .single-tribute_band .elementor-element-7bbd422 {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .single-tribute_band .elementor-video-container,
  .single-tribute_band .elementor-video-container iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* H1 band title — align left with text/video */
  .band-page-title {
    padding: 16px 20px 8px !important;
    font-size: 26px !important;
    max-width: 100% !important;
    text-align: left !important;
  }
  /* Reduce space before form heading */
  .single-tribute_band .elementor-element-35c0618 {
    margin-top: 0 !important;
    padding-top: 16px !important;
  }
  /* Widen form container */
  .single-tribute_band .elementor-element-35c0618 .e-con-inner {
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .single-tribute_band .wpcf7-form {
    width: 100% !important;
  }
  /* Center submit button */
  .single-tribute_band .wpcf7-submit {
    display: block !important;
    margin: 8px auto 0 !important;
  }
  .single-tribute_band p.wpcf7-submit-wrapper {
    text-align: center !important;
  }
  /* Reduce space after form, before band CTA */
  .single-tribute_band .e-con:has(.wpcf7) {
    padding-bottom: 12px !important;
  }
  /* Band CTA — full width, centered */
  .band-cta-outer {
    width: 100% !important;
    margin: 0 !important;
  }
  .band-cta-text {
    text-align: center !important;
    align-items: center !important;
    padding: 28px 20px !important;
  }
  .band-cta-text .elementor-heading-title {
    text-align: center !important;
  }
  .band-cta-text .elementor-button-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
}
