/* ═══════════════════════════════════════════
   FONTS — Archivo (local variable woff2, full Czech/latin-ext support)
   ═══════════════════════════════════════════ */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../assets/font/Archivo-Normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-display: block;
  src: url('../assets/font/Archivo-Italic.woff2') format('woff2');
}

/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  --pink:      #deff87;
  --dark:      #000000;
  --dark-blue: #000000;
  --light:     #ffffff;

  --font-heading: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --container-max:      1200px;
  --section-pad:        120px;
  --section-pad-mobile: 64px;
  --radius-xl:          50px;

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: pan-y;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--dark);
  background: var(--light);
  line-height: 1.4;
  overflow-x: hidden;
  max-width: 100%;
  touch-action: pan-y;
  overflow-wrap: break-word;
  word-break: break-word;
}

img, svg, video, canvas, iframe { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 90%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

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

.section {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 10;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */
.anim-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.anim-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 20px 56px 16px;
  border-radius: 50px;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.2s var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: #DF0000;
  color: #fff;
  border-color: #DF0000;
}

.btn-primary:hover {
  background: #b80000;
  border-color: #b80000;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  border-radius: 50px;
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--pink);
  border-color: var(--pink);
  transform: translateY(-2px);
}

.btn-secondary-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 50px;
}

.btn-secondary-white:hover {
  background: #ffffff;
  color: var(--pink);
  border-color: var(--pink);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 56px;
  font-size: 17px;
}

.btn-dark {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
}

.btn-dark:hover {
  background: #DF0000;
  color: #fff;
  border-color: #DF0000;
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
  transform: translateY(-2px);
}

.back-home-wrap {
  text-align: center;
  padding: 40px 0 80px;
}

.about-text {
  max-width: 70%;
  margin: 48px auto 0;
  text-align: center;
}

.about-text p {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: #000;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text--cols {
  max-width: 100%;
  text-align: left;
  column-count: 2;
  column-gap: 48px;
}

.about-text--cols p {
  break-inside: avoid;
}

.about-text-divider {
  display: none;
  border: none;
  border-top: 1.5px solid #e0e0e0;
  margin: 8px 0 24px;
}

@media (max-width: 768px) {
  .about-text {
    max-width: 90%;
  }

  .about-text--cols {
    column-count: 1;
  }

  .about-text-divider {
    display: block;
  }
}

/* ── Blog posts ─────────────────────────────── */
.posts-section {
  margin-top: 96px;
  padding-bottom: 32px;
}

.posts-section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 48px;
  text-align: center;
}

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

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.post-card:hover {
  border-color: #000;
  transform: translateY(-3px);
}

.post-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f0f0f0;
}

.post-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
  gap: 20px;
}

.post-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  margin: 0;
  flex: 1;
}

.post-card-btn {
  display: inline-block;
  align-self: flex-start;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  transition: background 0.2s;
}

.post-card:hover .post-card-btn {
  background: #333;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.blog-page-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.blog-page-btn:hover {
  border-color: #000;
}

.blog-page-btn.active {
  background: #000;
  border-color: #000;
  color: #fff;
}

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

@media (max-width: 580px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════ */
@keyframes kenburns {
  0%   { transform: scale(1)    translateX(0)     translateY(0); }
  25%  { transform: scale(1.06) translateX(-1%)   translateY(-1%); }
  50%  { transform: scale(1.1)  translateX(1.5%)  translateY(0.5%); }
  75%  { transform: scale(1.06) translateX(0.5%)  translateY(1%); }
  100% { transform: scale(1)    translateX(-0.5%) translateY(-0.5%); }
}

@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 32px;
  transition: padding 0.4s var(--ease), transform 0.4s var(--ease-out);
}

.site-header.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header.header-hidden {
  transform: translateY(-120%);
  pointer-events: none;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 32px;
  /* Top of page: lighter, more see-through glass. The scrolled state below
     overrides this with a more opaque background. */
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.55);
  border-radius: 60px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.scrolled .header-inner {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header.scrolled .nav-link {
  color: rgba(0, 0, 0, 0.85);
}

/* When mobile menu is open — always show black header */
.site-header:has(.burger.active) .header-inner {
  background: #000000 !important;
  border: 2px solid #ffffff !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-header:has(.burger.active) .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.site-header:has(.burger.active) .burger span {
  background: #fff !important;
}

.header-logo { flex-shrink: 0; }

.logo-forbes {
  height: 38px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 48px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: rgba(0,0,0,0.85);
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active { color: #DF0000; }

.header-cta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #DF0000;
  padding: 18px 56px;
  border-radius: 50px;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}

.header-cta:hover {
  background: #b80000;
  border-color: #b80000;
  transform: scale(1.03);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.scrolled .burger span {
  background: #000;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-overlay a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 5vw, 28px);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.mobile-nav-overlay.open a { opacity: 1; transform: translateY(0); }

.mobile-nav-overlay .btn {
  font-size: clamp(14px, 4vw, 17px);
  padding: 16px 32px 13px;
  color: #000;
}
.mobile-nav-overlay .btn:hover {
  background: #c8e86a;
  border-color: #c8e86a;
}
.mobile-nav-overlay.open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-nav-overlay.open a:nth-child(3) { transition-delay: 0.10s; }
.mobile-nav-overlay.open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-nav-overlay.open a:nth-child(5) { transition-delay: 0.20s; }


/* ═══════════════════════════════════════════
   HERO (sticky)
   ═══════════════════════════════════════════ */
.hero {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 0;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}

/* Still background image (fallback + base layer under the flowmap canvas). */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* WebGL flowmap canvas, layered over the image when the effect is active. */
.hero-flowmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}




.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(160px, 22vh, 240px) 24px 40px;
  max-width: 900px;
  width: 100%;
}

.hero-logo {
  width: 420px;
  max-width: 80vw;
  margin: 0 auto 48px;
}

.hero-headline {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 48px;
  line-height: 1;
  position: relative;
}

.hero-headline-vertical {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 72px);
  font-weight: 400;
  color: #fff;
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
  padding-bottom: 0;
  margin-right: calc(-1 * clamp(28px, 5vw, 72px) - 8px);
  position: relative;
  left: -8vw;
  animation: flyFromTop 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.3s;
}

.hero-headline-main {
  font-family: var(--font-heading);
  font-size: clamp(120px, 20vw, 300px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 0.9;
}

/* Hero logo fade-in — opacity only, so the transform (scale) is untouched and
   the logo does not move: a clean fade with no layout shift. */
@keyframes heroLogoFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-headline-main img {
  display: block;
  height: 1em;
  width: auto;
  /* Reserve the box from the intrinsic 927×569 ratio so the logo does not
     reflow (width 0 → auto) when the SVG finishes loading — this is what
     caused a content shift on reload once the slide-in no longer hid it. */
  aspect-ratio: 927 / 569;
  transform: scale(1.07);
  animation: heroLogoFade 2.2s ease-in-out 0.2s both;
}

@media (min-width: 768px) {
  .hero-headline-main img {
    transform: scale(1.14);
  }
}

.hero-stats {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(24px, 5vw, 72px);
  margin: 80px 0 72px;
  padding: 0;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  white-space: nowrap;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.2vw, 18px);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}

/* ── Hero countdown (phase-aware, from ticket config) ── */
.hero-cd-block {
  /* Always laid out (flex) so its space is reserved from first paint; it is
     hidden via visibility until the countdown data arrives. This prevents the
     hero from re-centering — and the logo from jumping — when the block is
     revealed. */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 80px 0 72px;
}
.hero-cd-caption {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(14px, 1.5vw, 20px);
  letter-spacing: 0.04em;
  color: #fff;
  text-align: center;
  margin: 0 0 16px;
}
.hero-countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  margin: 0;
}
.hero-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(50px, 7vw, 92px);
}
.hero-cd-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(19px, 2.3vw, 32px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-cd-label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(11px, 1.1vw, 15px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 10px;
}
.hero-cd-sep {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 40px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  align-self: flex-start;
}

@keyframes flyFromTop {
  from {
    opacity: 0;
    transform: rotate(180deg) translateY(100vh);
  }
  to {
    opacity: 1;
    transform: rotate(180deg) translateY(0);
  }
}

@keyframes heroTextPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.18); }
}

@keyframes flyFromRight {
  from {
    opacity: 0;
    transform: translateX(100vw);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes flyFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100vw);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-br { display: none; }

.hero-text {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  max-width: 780px;
  margin: 0 auto 40px;
  animation: flyFromLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

/* Info bar */
.info-bar { display: flex; justify-content: center; }

.info-bar-inner {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.55);
  border-radius: 60px;
  padding: 12px 12px 12px 36px;
}

.hero-info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

/* Location icon/text desktop defaults */
.location-map-icon      { display: none; }
.location-text-desktop  { display: inline; }
.location-label-desktop { display: inline; }
.location-link-wrap     { display: inline; }

.hero-location-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #000;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 40px;
}

.hero-location-mobile svg {
  position: relative;
  top: -2px;
  flex-shrink: 0;
  stroke-width: 3;
}
.hero-location-mobile:hover { opacity: 0.6; }

/* Program dresscode blurb — red on hover (no opacity fade). */
.hero-location-mobile.program-dresscode { cursor: default; transition: color 0.2s var(--ease); }
.hero-location-mobile.program-dresscode:hover { color: #DF0000; opacity: 1; }

/* Date blurb (lead section) — icon + date range, opens the calendar modal. */
.section-lead .hero-location-mobile { margin-bottom: 14px; transition: color 0.2s var(--ease); }
/* Lead location + date blurbs turn red on hover (no opacity fade). */
.section-lead .hero-location-mobile:hover { color: #DF0000; opacity: 1; }
.lead-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin: 0 0 40px;
  padding: 0;
  background: none;
  border: none;
  font-family: inherit;
  color: #000;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.lead-date:hover { color: #DF0000; }
.lead-date svg { position: relative; top: -1px; flex-shrink: 0; stroke-width: 2.5; }

.hero-info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 600;
}

.hero-info-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #000;
  white-space: nowrap;
}

.hero-info-divider {
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, 0.2);
}

.hero-cta { white-space: nowrap; }

a.hero-info-value:hover {
  color: #DF0000;
  transition: color 0.2s ease;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
  animation: bobble 2s ease-in-out infinite;
  transition: color 0.3s;
}

.scroll-indicator:hover { color: rgba(255, 255, 255, 0.9); }

/* Fixed bottom bar */
.fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  padding: 16px 24px 20px;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.fixed-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.fixed-bar .info-bar-inner {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.6);
}

.fixed-bar .hero-info-label { color: rgba(0,0,0,0.55); }
.fixed-bar .hero-info-value  { color: rgba(0,0,0,0.9); }


/* ═══════════════════════════════════════════
   AFTERMOVIE
   ═══════════════════════════════════════════ */
.section-aftermovie {
  background: #000;
  border-radius: var(--radius-xl);
  padding: 64px 0 80px;
  overflow: hidden;
  position: relative;
  z-index: 10;
  margin-top: -2px;
}

.aftermovie-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  padding: 0 5vw;
  margin-bottom: 32px;
}

.aftermovie-bottom-fill {
  height: var(--radius-xl);
  background: var(--light);
  position: relative;
  z-index: 9;
  margin-top: calc(-1 * var(--radius-xl));
}

.aftermovie-poster {
  position: relative;
  width: 90%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.aftermovie-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  pointer-events: none;
}

.aftermovie-icon-btn {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}

.aftermovie-icon-btn:hover { background: rgba(0,0,0,0.75); transform: scale(1.1); }
.aftermovie-icon-btn:active { transform: scale(0.93); }
.aftermovie-icon-btn img { width: 2.25rem; height: 2.25rem; }

/* Video lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.video-lightbox.open { display: flex; opacity: 1; }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }

.lightbox-inner {
  position: relative;
  width: 90%;
  max-width: 1200px;
}

.lightbox-title {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.lightbox-video {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.lightbox-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox-controls.visible { opacity: 1; pointer-events: all; }

#aftermovieBackBtn  { justify-self: start; }
#aftermoviePauseBtn { justify-self: center; }
#aftermovieStopBtn  { justify-self: end; }

.lightbox-controls .aftermovie-icon-btn {
  background: rgba(0,0,0,0.5);
  width: 4.5rem;
  height: 4.5rem;
}

.lightbox-controls .aftermovie-icon-btn img { width: 2rem; height: 2rem; }


/* ═══════════════════════════════════════════
   LEAD / CIRCLE FEATURES
   ═══════════════════════════════════════════ */
.section-lead {
  background: var(--light);
  padding: var(--section-pad) 0 40px;
  overflow-x: hidden;
}

.section-lead .container { max-width: 100%; }

.lead-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-top: 48px;
  margin-bottom: 32px;
  text-align: center;
}

.lead-text {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  color: #000000;
  max-width: 70%;
  margin: 0 auto 64px;
  text-align: center;
}

.lead-features {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 64px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.lead-feature {
  --overlap: clamp(15px, 2vw, 28px);
  flex: 1;
  aspect-ratio: 1;
  min-width: 0;
  border-radius: 50%;
  border: 1.5px solid var(--dark);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  margin-left: calc(-1 * var(--overlap));
  position: relative;
}

.lead-feature:first-child { margin-left: 0; }

.lead-feature:nth-child(1) { z-index: 1; }
.lead-feature:nth-child(2) { z-index: 2; }
.lead-feature:nth-child(3) { z-index: 3; }
.lead-feature:nth-child(4) { z-index: 4; }

.lead-feature-text {
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  width: 70%;
}


/* ═══════════════════════════════════════════
   SPEAKERS
   ═══════════════════════════════════════════ */
.section-speakers {
  background: #ffffff;
  padding: 40px 0 40px;
}

.section-speakers .lead-title,
.section-program .lead-title {
  margin-top: 8px;
  color: var(--dark);
}

.subpage-start {
  padding-top: 120px;
}


.speakers-title-marquee {
  overflow: hidden;
  width: 100%;
  margin-bottom: 24px;
  padding: 0;
}

.speakers-title-track {
  display: flex;
  width: max-content;
  animation: speakers-marquee 25s linear infinite;
}


@keyframes speakers-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.speakers-title {
  font-family: var(--font-heading);
  font-size: clamp(60px, 10vw, 160px);
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  text-transform: uppercase;
  padding-right: clamp(40px, 6vw, 80px);
}

.speakers-text {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  color: #000000;
  max-width: 70%;
  margin: 0 auto 64px;
  text-align: center;
}

.speakers-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  justify-content: center;
}

.speakers-filter-btn {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.speakers-filter-btn:hover {
  background: var(--filter-color, #000);
  border-color: var(--filter-color, #000);
  color: #000;
}

.speakers-filter-btn--all:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.speakers-filter-btn.active {
  background: var(--filter-color, #000);
  border-color: var(--filter-color, #000);
  color: #000;
}

.speakers-filter-btn--all.active {
  background: #000;
  border-color: #000;
  color: #fff;
}

.speakers-filter-btn[data-slug="doprovodny-program"].active,
.speakers-filter-btn[data-slug="doprovodny-program"]:hover {
  background: #e0e0e0;
  border-color: #e0e0e0;
  color: #000;
}

.speakers-filter-btn[data-slug="festival-vibes"].active,
.speakers-filter-btn[data-slug="festival-vibes"]:hover {
  color: #fff;
}

.speakers-filter-btn--stages:hover,
.speakers-filter-btn--stages.active {
  background: #000;
  border-color: #000;
  color: #fff;
}

.stages-panel-filter {
  margin-top: 32px;
  margin-bottom: 8px;
}

.stages-panel-heading {
  margin-bottom: 16px;
}

.stages-panel-subtext {
  margin-bottom: 40px;
}

.stages-panel-filter .stage-boxes-grid {
  margin-top: 0;
  margin-bottom: 0;
}




.stage-box-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  color: #000;
  margin-top: 8px;
  display: inline-block;
}


.stage-program-preview {
  margin-bottom: 40px;
  text-align: center;
}

.stage-program-preview .stage-box-title {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .stage-program-preview .stage-box-desc {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ── Stage name chips (MAP_missing homepage variant) ── */
#stageBoxesHomepage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.stage-chip {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 900;
  line-height: 1;
  color: #000;
  border: 2.5px solid #000;
  border-radius: 100px;
  padding: 16px 32px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  background: transparent; /* overridden by inline style */
}

.stage-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ── Stage overview boxes ───────────────────────── */
.stage-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.stage-box {
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 280px;
  border: 2.5px solid #000;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stage-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.stage-box-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  color: #000;
  margin: 0;
}

.stage-box-desc {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.6;
  color: #000;
  margin: 0;
}

/* ── Stage nav arrows ───────────────────────────── */
.stage-modal-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 820px;
  padding: 0 8px;
}

.stage-modal-wrap .stage-modal-inner {
  flex: 1;
  min-width: 0;
}

.stage-nav-btn {
  flex-shrink: 0;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000;
  transition: background 0.2s, color 0.2s;
}

.stage-nav-btn:hover {
  background: #000;
  color: #fff;
}

.stage-nav-btn:active {
  transform: scale(0.88);
}

@media (hover: none) {
  .stage-nav-btn:hover { background: #fff; color: #000; }
}

@media (max-width: 680px) {
  .stage-nav-btn {
    position: fixed;
    bottom: 24px;
    z-index: 9010;
  }
  .stage-nav-btn--prev { left: calc(50% - 60px); }
  .stage-nav-btn--next { right: calc(50% - 60px); }
}

/* ── Stage detail modal ─────────────────────────── */
.stage-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 24px;
}

.stage-modal.open {
  opacity: 1;
  pointer-events: all;
}

.stage-modal-inner {
  background: #fff;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  max-width: 680px;
  width: 100%;
  height: 480px;
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.stage-modal.open .stage-modal-inner {
  transform: translateY(0);
}

.stage-modal-header {
  flex-shrink: 0;
  padding: 48px 48px 32px;
}

.stage-modal-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  color: #000;
  margin: 0;
}

.stage-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stage-modal-desc {
  font-size: 17px;
  line-height: 1.65;
  color: #000;
  margin: 0;
}

@media (max-width: 680px) {
  .stage-modal {
    padding: 16px 16px 96px;
  }

  .stage-modal-wrap {
    padding: 0;
  }

  .stage-modal-inner {
    height: 75vh;
    max-width: 100%;
  }

  .stage-modal-header {
    padding: 36px 24px 24px;
  }

  .stage-modal-body {
    padding: 16px 24px 32px;
  }

  .stage-modal-desc {
    font-size: 16px;
  }
}

/* ── Program cards grid ─────────────────────────── */
.program-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.program-card {
  border-radius: 50px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.program-card:not(.program-card--highlight) {
  cursor: pointer;
}

.program-card--highlight {
  background: #000;
  border-radius: 50px;
  flex-direction: row;
  align-items: center;
  position: relative;
  padding: 20px 32px;
  gap: 0;
}

.program-card-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
}

.program-card-left {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.program-card-speakers-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.program-card-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.program-card-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.program-card-time {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

.program-card--highlight .program-card-time {
  color: #fff;
}

.program-card-title {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  color: #000;
  text-align: center;
}

.program-card--highlight .program-card-title {
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  flex: none;
}

.program-card-body {
  padding-top: 8px;
}

.program-card-desc {
  font-size: 18px;
  color: #000;
  line-height: 1.6;
  margin: 0;
}

.program-card-body-divider { display: none; }
.program-card-body .program-card-speakers-stack { display: none; }
.program-card-mobile-prefix { display: none; font-weight: 400; }
.program-card--doprovodni { background: #e0e0e0; cursor: default; }
.program-card--doprovodni .program-card-body { text-align: center; }
.program-card--doprovodni .program-card-desc { max-width: 560px; margin: 0 auto; }
.program-card--doprovodni-hl { background: #666; }
.program-card--doprovodni-hl .program-card-time,
.program-card--doprovodni-hl .program-card-title,
.program-card--doprovodni-hl .program-card-desc { color: #fff; }
.program-card-reservation-badge {
  display: block;
  width: fit-content;
  margin: 12px auto 0;
  background: #FFAA6B;
  color: #000;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
}

.program-card-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 10px solid #fff;
  background: #000;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: content-box;
}

.program-card-speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.program-card-speaker:hover .program-card-speaker-name {
  text-decoration: underline;
}

.program-card-speaker-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 0 0 3px #fff;
}

.program-card-speaker-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.program-card-speaker-company {
  display: block;
  font-size: 14px;
  color: #000;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.speaker-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
}

/* ── Speaker detail modal ───────────────────────── */
.speaker-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.speaker-modal.open {
  opacity: 1;
  pointer-events: all;
}

.speaker-modal-inner {
  background: #ffffff;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 340px 1fr;
  grid-template-rows: 1fr;
  gap: 0;
  max-width: 860px;
  width: 100%;
  height: 480px;
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.speaker-modal.open .speaker-modal-inner {
  transform: translateY(0);
}

.speaker-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(0,0,0,0.08);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  transition: background 0.2s;
}

.speaker-modal-close:hover {
  background: var(--pink);
  color: #ffffff;
}

.speaker-modal-img-wrap {
  width: 340px;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.speaker-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.speaker-modal-body {
  padding: 48px 40px;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.speaker-modal-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.speaker-modal-cats .speaker-cat-label {
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.speaker-modal-cats .speaker-cat-label:hover {
  border-color: #000;
}

.speaker-modal-name {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 8px;
}

.speaker-modal-company {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin-bottom: 24px;
  line-height: 1.4;
}

.speaker-modal-bio {
  font-size: 17px;
  line-height: 1.6;
  color: #333333;
  text-wrap: pretty;
}

.speaker-modal-all-btn {
  margin-top: 32px;
  align-self: flex-start;
  transition: color 0.2s;
}

.speaker-modal-all-btn:hover {
  color: #7370f5 !important;
}

/* ── Modal navigation arrows ────────────────────── */
.speaker-modal-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 980px;
  padding: 0 8px;
}

.speaker-modal-wrap .speaker-modal-inner,
.speaker-modal-wrap .stage-modal-inner {
  flex: 1;
  min-width: 0;
}

.speaker-modal-arrow {
  flex-shrink: 0;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000;
  transition: background 0.2s, color 0.2s;
}

.speaker-modal-arrow:hover {
  background: #000;
  color: #fff;
}

.speaker-modal-arrow:active {
  transform: scale(0.88);
}

@media (hover: none) {
  .speaker-modal-arrow:hover {
    background: #fff;
    color: #000;
  }
}

@media (max-width: 680px) {
  .speaker-modal {
    align-items: flex-start;
    padding: 16px 16px 96px;
  }

  .speaker-modal-wrap {
    flex-wrap: nowrap;
    padding: 0;
  }

  .speaker-modal-wrap .speaker-modal-inner,
  .speaker-modal-wrap .stage-modal-inner {
    flex: 1;
    height: 82vh;
    max-height: 82vh;
    overflow: hidden;
  }

  .speaker-modal-wrap .speaker-modal-inner .speaker-modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: calc(82vh - 260px);
    justify-content: flex-start;
  }

  .speaker-modal-arrow {
    position: fixed;
    bottom: 24px;
    top: auto;
    transform: none;
    width: 44px;
    height: 44px;
    z-index: 1010;
  }

  .speaker-modal-arrow--prev { left: calc(50% - 52px); }
  .speaker-modal-arrow--next { right: calc(50% - 52px); }
}

@media (max-width: 680px) {
  .speaker-modal-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
    max-height: 88vh;
  }

  .speaker-modal-img-wrap {
    width: 100%;
    aspect-ratio: unset;
    height: 260px;
  }

  .speaker-modal-body {
    padding: 28px 24px 32px;
  }

  .speaker-modal-bio {
    font-size: 16px;
  }

  .speaker-modal-company {
    font-size: 16px;
  }
}

.speaker-card-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f0f0f0;
  position: relative;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.speaker-card:hover .speaker-card-img-wrap {
  border-color: #000;
}

.speaker-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.speaker-card:hover .speaker-card-img-wrap img {
  transform: scale(1.03);
}

.speaker-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.speaker-card:hover .speaker-name {
  font-weight: 700;
  -webkit-text-stroke: 0.4px #000;
}

.speaker-company {
  font-size: 14px;
  color: #000000;
  line-height: 1.4;
}

.speaker-cats {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.speaker-cat-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 10px 4px;
  border-radius: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.speakers-count-text {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: #000;
  margin-top: 24px;
  margin-bottom: 40px;
}

.program-img-wrap {
  width: 90%;
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: 24px;
  overflow: hidden;
}

.program-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.speakers-all-wrap {
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
}

.speakers-footnote {
  text-align: center;
  font-size: 16px;
  font-style: italic;
  color: #000000;
  margin-top: 16px;
}


/* ═══════════════════════════════════════════
   PROGRAM
   ═══════════════════════════════════════════ */
.section-program {
  background: var(--light);
  border-radius: 0;
  padding: 40px 0 60px;
  position: relative;
  z-index: 11;
  margin-bottom: 0;
  overflow: hidden;
}

.section-program.subpage-start {
  padding-top: 120px;
  padding-bottom: 0;
}

.program-list-bg {
  background: none;
  margin: 0;
  padding: 0;
}

.program-list-bg .program-list {
  margin-top: 0;
}

.program-title-marquee {
  overflow: hidden;
  width: 100%;
  margin-bottom: 24px;
  padding: 0;
}

.program-title-track {
  display: flex;
  width: max-content;
  animation: program-marquee 25s linear infinite;
}


@keyframes program-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.program-title {
  font-family: var(--font-heading);
  font-size: clamp(60px, 10vw, 160px);
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  text-transform: uppercase;
  padding-right: clamp(60px, 10vw, 160px);
}

.section-partners .program-title {
  color: var(--dark);
}

.program-subtitle {
  width: 100%;
  padding: 0 5%;
  margin: 0 0 32px;
  text-align: center;
  box-sizing: border-box;
}

.program-subtitle-line1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  color: #000;
  margin: 0 0 16px;
  line-height: 1.1;
}

.program-subtitle-stages {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: #000;
  margin: 0;
  line-height: 1.4;
}

.program-text {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  color: #000;
  max-width: 700px;
  margin: 32px auto 40px;
  text-align: center;
}

.stages-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  text-align: center;
  margin: 0 auto 24px;
}

.venue-map-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: 24px;
  overflow: hidden;
}

.venue-map-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
}

#stagesGrid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stage-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  outline: none;
}

@keyframes pinFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.stage-pin-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  flex-shrink: 0;
  animation: pinFloat 2.4s ease-in-out infinite;
  transition: transform 0.2s;
}

.stage-pin-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px 3px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  color: #000 !important;
  pointer-events: none;
}

.stage-pin:hover .stage-pin-dot {
  animation: none;
  transform: scale(1.4);
}


.program-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 160px;
  margin-top: 12px;
  margin-bottom: 0;
  width: 100%;
}

.section-program-meta-bg {
  background: url('/assets/images/pattern.webp') center center / cover no-repeat;
  padding: 100px 0 60px;
}

.program-meta-boxes {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.program-meta-box {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 50px;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  text-decoration: none;
  color: inherit;
  font-weight: 900;
  transition: color 0.2s ease;
}

.program-meta-box.program-meta-item-link:hover,
.program-meta-box.program-meta-item-link:hover * {
  color: #DF0000;
}

#calWrapper.program-meta-box {
  cursor: pointer;
  transition: color 0.2s ease;
}

#calWrapper.program-meta-box:hover,
#calWrapper.program-meta-box:hover * {
  color: #DF0000;
}

.meta-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #000000;
  color: #000000;
  flex-shrink: 0;
  margin-bottom: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.program-meta-box:hover .meta-icon-circle {
  border-color: #DF0000;
  color: #DF0000;
}


.section-program-boxes {
  padding-bottom: 80px;
}

.section-program-boxes .lead-title,
.program-section-title {
  margin-top: 48px;
  margin-bottom: 40px;
  color: var(--pink);
}

.lead-title.program-section-title-dark {
  color: var(--dark);
}

.lead-title.program-section-title-white {
  color: #ffffff;
}

.section-program-meta-bg.subpage-start {
  padding-top: 180px;
}

@media (max-width: 600px) {
  .program-meta-boxes {
    flex-direction: column;
  }
}

.program-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  color: #000000;
  text-align: center;
}

.program-meta-item-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.program-meta-item-link:hover {
  color: #DF0000;
}


.program-meta-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.program-meta-divider {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #000000;
  flex-shrink: 0;
}

.program-meta-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.program-meta-link:hover {
  color: #DF0000;
}

.program-meta-action {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  color: var(--pink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.program-meta-action:hover {
  opacity: 0.7;
}

.cal-date-trigger {
  cursor: pointer;
  transition: color 0.2s ease;
}

.cal-date-trigger:hover {
  color: #DF0000;
}

/* Calendar modal */
.cal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cal-modal.open {
  opacity: 1;
  pointer-events: all;
}

.cal-modal-inner {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.cal-modal.open .cal-modal-inner {
  transform: translateY(0);
}

.cal-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.08);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  transition: background 0.2s;
}

.cal-modal-close:hover {
  background: var(--pink);
  color: #ffffff;
}

.cal-modal-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.cal-modal-date {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 32px;
}

.cal-modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cal-modal-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  background: none;
  border: 2px solid #000000;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cal-modal-option:hover {
  background: var(--pink);
  color: #ffffff;
  border-color: var(--pink);
}

.program-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,0.65);
  font-size: 16px;
  font-weight: 400;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 50px;
  padding: 10px 20px;
  margin-bottom: 40px;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.program-location:hover {
  color: var(--dark);
  border-color: rgba(0,0,0,0.65);
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 80px auto 0;
}

.program-list-wide {
  max-width: 100%;
}

.program-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  padding: 24px 32px;
  border-radius: 50px;
  border: 2px solid #000000;
  margin-bottom: 10px;
  gap: 0;
  cursor: default;
  background: #ffffff;
  transition: background 0.2s ease;
}

.program-item:hover {
  background: #f0f0f0;
}


.program-item.highlight {
  background: #000000;
  border-color: #000000;
}


.program-time {
  font-size: 20px;
  font-weight: 700;
  color: rgba(0,0,0,0.9);
  white-space: nowrap;
  text-align: center;
}

.program-item.highlight .program-time { color: var(--light); }

.program-label {
  font-size: 20px;
  font-weight: 700;
  color: rgba(0,0,0,0.9);
  overflow-wrap: break-word;
  text-align: center;
}

.program-item.highlight .program-label {
  color: var(--light);
  font-weight: 600;
}


/* ═══════════════════════════════════════════
   VSTUPENKY (TICKETS)
   ═══════════════════════════════════════════ */
.section-vstupenky {
  background: #000;
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 10;
  border-radius: 48px;
  overflow: hidden;
}

/* Interactive flowmap background (same image + effect as the hero). */
.vstupenky-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}
.vstupenky-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* WebGL flowmap canvas (shared by hero + vstupenky), layered over the image. */
.flowmap-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.vstupenky-top-fill {
  height: 48px;
  background: #fff;
  position: relative;
  z-index: 9;
  margin-bottom: -48px;
}

.vstupenky-bottom-fill {
  height: 48px;
  background: #fff;
  position: relative;
  z-index: 9;
  margin-top: -48px;
}

.vstupenky-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  gap: 48px;
}

.vstupenky-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin: -24px 0 0;
}

.vst-countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 8px;
}

.vst-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vst-countdown-num {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  min-width: 2ch;
  text-align: center;
}

.vst-countdown-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.vst-countdown-sep {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: rgba(255,255,255,0.35);
  line-height: 1;
  padding-top: 0;
}

.vstupenky-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0;
}

.vstupenky-promo-wrap {
  width: 100%;
  max-width: 900px;
}

.vstupenky-promo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(99, 197, 130, 0.2);
  border: 2px solid #63c582;
  border-radius: 50px;
  padding: 14px 24px 12px;
  width: 100%;
  cursor: pointer;
  transition: border-radius 0.3s;
}

.vstupenky-promo-bar[aria-expanded="true"] {
  border-radius: 24px 24px 0 0;
}

.vstupenky-promo-content {
  display: none;
  background: rgba(99, 197, 130, 0.1);
  border: 2px solid #63c582;
  border-top: none;
  border-radius: 0 0 24px 24px;
  padding: 24px 24px;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.vstupenky-promo-content.open {
  display: flex;
}

.vstupenky-promo-etoro-logo {
  width: 100px;
  flex-shrink: 0;
}

.vstupenky-promo-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vstupenky-promo-main {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

.vstupenky-promo-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

.vstupenky-promo-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.vstupenky-promo-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #63c582;
  text-decoration: none;
}

.vstupenky-promo-link:hover {
  text-decoration: underline;
}


.vstupenky-promo-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.vstupenky-promo-chevron {
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.vstupenky-promo-bar[aria-expanded="true"] .vstupenky-promo-chevron {
  transform: rotate(180deg);
}

.vstupenky-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100%;
  max-width: 900px;
}

.vstupenky-boxes--single {
  grid-template-columns: 1fr;
  max-width: 440px;
}

.vstupenky-boxes--triple {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1200px;
}

.vstupenky-box {
  background: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50px;
  padding: 56px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vstupenky-box--dark {
  background: #000;
  border: 2px solid #fff;
}

.vstupenky-box--dark .vstupenky-price-label,
.vstupenky-box--dark .vstupenky-price,
.vstupenky-box--dark .vstupenky-text {
  color: #fff;
}

.vstupenky-btn-dark {
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  padding: 20px 56px 16px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}

.vstupenky-btn-dark:hover {
  background: #fff;
  color: #000;
}

.vstupenky-price-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 12px;
  display: block;
}

.vstupenky-price-original {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: #999;
  text-decoration: line-through;
  display: block;
  margin-bottom: 4px;
}

.vstupenky-price {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: #000;
  margin-bottom: 24px;
  line-height: 1;
  display: block;
}

.vstupenky-text {
  font-size: 22px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 32px;
  flex: 1;
}

.vstupenky-cta {
  display: inline-block;
}

.vstupenky-text-sub {
  font-size: 15px;
  color: #888;
  margin-top: -16px;
}

.vstupenky-note {
  font-size: 12px;
  color: #999;
  margin-top: 16px;
  line-height: 1.5;
}

.vstupenky-note a {
  color: #999;
  text-decoration: underline;
}

.vstupenky-note--dark {
  color: rgba(255,255,255,0.5);
}

.vstupenky-note--dark a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}


/* ═══════════════════════════════════════════
   GALLERY SLIDER
   ═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   LOCATION
   ═══════════════════════════════════════════ */
.location-top-fill {
  height: 48px;
  background: #fff;
  position: relative;
  z-index: 9;
  margin-bottom: -48px;
}

.location-bottom-fill {
  height: 48px;
  background: #fff;
  position: relative;
  z-index: 9;
  margin-top: -48px;
}

.section-location {
  position: relative;
  z-index: 10;
  border-radius: 48px;
  overflow: hidden;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('/assets/images/cisarske_lazne.jpg.webp') center center / cover no-repeat;
  min-height: 860px;
  padding: 220px 0;
}

.location-heading {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 32px;
}

.location-text {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  color: #fff;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px;
}

/* Map link under the description (href comes from admin Odkaz na mapu). */
.location-map-link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 20px auto 0;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.location-map-link:hover { opacity: 0.75; text-decoration: underline; }
.location-map-link-icon { flex-shrink: 0; }

/* ─── end LOCATION ─────────────────────── */

/* ═══════════════════════════════════════════
   APLIKACE
   ═══════════════════════════════════════════ */
.section-aplikace {
  background: var(--light);
  padding: 40px 0 200px;
}

#program { padding-bottom: 40px; }
#program + .section-aplikace { padding-top: 20px; }

.section-aplikace .lead-title {
  color: var(--dark);
  margin-top: 8px;
}

.app-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-top: 80px;
}

.app-badge-link img {
  height: 72px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.app-badge-link:hover img {
  transform: scale(1.08);
}

@media (max-width: 767px) {
  .app-badges--stacked {
    flex-direction: column;
    gap: 24px;
  }
}

.text-highlight {
  background: linear-gradient(to bottom, transparent 55%, var(--pink) 55%);
}
/* Light-blue variant of the marker highlight. */
.text-highlight--blue {
  background: linear-gradient(to bottom, transparent 55%, #B5E1FE 55%);
}

/* ─── end APLIKACE ──────────────────────── */

.section-gallery {
  padding: 40px 0 60px;
  background: #ffffff;
  overflow: hidden;
}

.gallery-slider {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 90%;
  margin: 0 auto;
}

.gallery-slider .speakers-all-wrap {
  margin-top: 16px;
  margin-bottom: 0;
}

.gallery-track-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.gallery-slide {
  min-width: 100%;
}

.gallery-slide img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.gallery-prev,
.gallery-next {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #ffffff;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.gallery-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-lightbox-prev { left: 24px; }
.gallery-lightbox-next { right: 24px; }

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: var(--pink);
  color: #ffffff;
}


/* ═══════════════════════════════════════════
   FILTERABLE GALLERY
   ═══════════════════════════════════════════ */
.gal-filter-section {
  margin-top: 40px;
}

.gal-photographer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
  justify-content: center;
}

.gal-filter-section .speakers-filter {
  margin-bottom: 24px;
}

.gal-photographer-links .btn {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  text-transform: none;
}

.gal-photographer-links .btn:hover {
  background: #000;
  border-color: #000;
  color: #fff;
  transform: none;
}

@media (min-width: 601px) {
  .gal-photographer-links {
    margin-bottom: 48px;
  }
}

@media (max-width: 600px) {
  .gal-photographer-links {
    flex-direction: column;
    align-items: stretch;
  }
  .gal-photographer-links .btn {
    text-align: center;
  }
}

.gal-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 0;
}

.gal-filter-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gal-filter-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.gal-filter-item:hover img {
  transform: scale(1.06);
}

.gal-filter-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #aaa;
  font-size: 15px;
  padding: 48px 0;
}

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

@media (max-width: 600px) {
  .gal-filter-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ═══════════════════════════════════════════
   PARTNERS
   ═══════════════════════════════════════════ */
.section-partners {
  background: var(--light);
  padding: 0 0 var(--section-pad);
  position: relative;
  z-index: 10;
}

/* Marquee */
.marquee-section {
  overflow: hidden;
  padding: 32px 0;
  background: var(--light);
}

.marquee {
  position: relative;
  width: 100%;
}

.marquee-inner {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee-inner span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 96px);
  color: transparent;
  -webkit-text-stroke: 1px #000000;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.partners-header {
  text-align: center;
  padding-bottom: 48px;
}

.partners-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
  cursor: pointer;
}

.partner-card:not([href]) {
  cursor: default;
}

.partner-card:hover { transform: translateY(-4px); }

.partner-card-logo {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #fafafa;
  border-radius: 12px;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: border-color 0.6s var(--ease-out), border-radius 0.6s var(--ease-out);
}

.partner-card:hover .partner-card-logo {
  border-color: #000000;
  border-radius: 100px;
}

.partner-card-logo img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card-type {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  color: #000000;
  text-align: center;
}

.partner-cta-wrap {
  text-align: center;
  padding-top: 48px;
}


/* ═══════════════════════════════════════════
   DĚTSKÝ KOUTEK
   ═══════════════════════════════════════════ */
.section-detsky-koutek {
  background: var(--light);
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 10;
}

.detsky-koutek-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.detsky-koutek-img-wrap {
  border-radius: 50px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.detsky-koutek-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detsky-koutek-content {}

.detsky-koutek-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.15;
}

.detsky-koutek-text {
  font-size: 17px;
  line-height: 1.4;
  color: #000000;
}


/* ═══════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════ */
.section-galerie {
  background: var(--light);
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.galerie-header {
  text-align: left;
  width: 90%;
  margin: 0 auto 48px;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  color: var(--dark);
}

.gallery {
  width: 90vw;
  margin: 0 0 32px calc(50% - 45vw);
  text-align: left;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); opacity: 0.85; }

/* Asymmetric accents for first 8 images */
.gi-3 { grid-column: 3 / span 2; grid-row: 1 / span 2; }
.gi-6 { grid-column: 1 / span 2; grid-row: 3; }

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.open { display: flex; opacity: 1; }

.gallery-lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--light);
  cursor: pointer;
  padding: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.gallery-lb-close:hover { opacity: 1; }

.gallery-lb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 1100px;
}

.gallery-lb-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.gallery-lb-nav {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.gallery-lb-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--light);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-lb-btn:hover { background: rgba(255,255,255,0.2); }


/* ═══════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════ */
.section-final-cta {
  background: #fff;
  border-radius: 0;
  padding: 140px 0 var(--section-pad);
  text-align: center;
  position: relative;
  z-index: 10;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1.2;
  margin: 0 auto 32px;
}

.final-cta-text {
  font-size: 15px;
  color: rgba(0,0,0,0.5);
  margin-bottom: 48px;
}

.final-cta-desc {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}


/* ═══════════════════════════════════════════
   FOOTER PART 0 (Follow marquee)
   ═══════════════════════════════════════════ */
.footer-follow-marquee {
  overflow: hidden;
  width: 100%;
  background: #fff;
  padding: 0;
  position: relative;
  z-index: 11;
}

.footer-follow-track {
  display: flex;
  width: max-content;
  animation: program-marquee 20s linear infinite;
}

.footer-follow-title {
  font-family: var(--font-heading);
  font-size: clamp(60px, 10vw, 160px);
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  text-transform: uppercase;
  padding-right: clamp(60px, 10vw, 160px);
}

/* ═══════════════════════════════════════════
   FOOTER PART 1 (Event logo image)
   ═══════════════════════════════════════════ */
.footer-instagram-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 64px;
}

.footer-instagram-logo {
  width: 48px;
  height: 48px;
  display: block;
  transition: opacity 0.2s;
}

.footer-instagram-logo-link:hover .footer-instagram-logo {
  opacity: 0.7;
}

.footer-instagram-btn {
  color: #fff !important;
  border-color: #fff !important;
}

.footer-instagram-btn:hover {
  background: #fff !important;
  color: #000 !important;
}

.footer-elfsight-wrap {
  padding-top: 80px;
}


.footer1-top-fill {
  height: 48px;
  background: #fff;
  position: relative;
  z-index: 9;
  margin-bottom: -48px;
}

.section-footer1 {
  background: #000;
  padding: var(--section-pad) 0 80px;
  position: relative;
  z-index: 10;
  text-align: center;
  border-radius: 48px 48px 0 0;
  overflow: hidden;
}

.footer1-event-logo {
  width: 40%;
  max-width: 480px;
  margin: 0 auto 60px;
}

/* ═══════════════════════════════════════════
   FOOTER PART 2 (Social / Contact / Menu)
   ═══════════════════════════════════════════ */
.section-footer2 {
  background: #000;
  padding: 0 0 var(--section-pad);
  position: relative;
  z-index: 10;
}

.section-footer2 .container {
  width: 65%;
}

.footer2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px;
}

.footer2-col h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  color: #fff;
  color: var(--dark);
  margin-bottom: 28px;
}

.footer2-col a {
  display: block;
  font-size: 20px;
  color: #fff;
  margin-bottom: 14px;
  transition: opacity 0.2s;
}

.footer2-col a:hover { opacity: 1; color: #DF0000; }

/* ═══════════════════════════════════════════
   FOOTER PART 3 (Dark legal footer)
   ═══════════════════════════════════════════ */
.footer-corner-bg {
  background: var(--light);
  position: relative;
  z-index: 10;
}

.site-footer {
  background: var(--dark-blue);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 64px 0 40px;
  overflow-x: hidden;
  border-radius: 0;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}

.footer-logo {
  height: 64px;
  width: auto;
}

.footer-info { margin-bottom: 32px; }

.footer-info p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: opacity 0.3s var(--ease);
}

.footer-links a:hover { opacity: 0.6; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }

  .partners-grid { grid-template-columns: repeat(4, 1fr); }

  .speakers-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .detsky-koutek-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1200px) {
  /* Header */
  .site-header { padding: 10px 12px; }
  .header-inner { height: 64px; padding: 8px 8px 8px 20px; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; margin-right: 12px; }

  /* Location icon in hero/sticky bar */
  .location-label-desktop { display: none; }
  .location-text-desktop  { display: none; }
  .location-map-icon      { display: inline-block; width: 20px; height: 20px; color: #fff; stroke: #fff; flex-shrink: 0; }
  .location-link-wrap     { display: flex; align-items: center; }
}

@media (max-width: 768px) {
  .btn { padding: 18px 28px 14px; font-size: 15px; }

  .container { width: 92%; }
  .section { padding: var(--section-pad-mobile) 0; }
  .program-meta { gap: 40px; }
  .logo-forbes { height: 34px; }
  .hero-stats { display: grid; grid-template-columns: auto auto; gap: 24px 32px; justify-content: center; justify-items: center; }
  .hero-stat:last-child { grid-column: 1 / -1; }
  .hero-stat { flex-direction: column; align-items: center; gap: 4px; }
  .hero-stat-num { font-size: 52px; }
  .hero-stat-label { font-size: 22px; }

  /* Hero */
  .hero-content { padding: 80px 20px 60px; }
  .hero-logo { width: 260px; }
  .mobile-br { display: block; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-headline { order: 1; margin-top: 0; }
  .hero-text { font-size: 28px; margin-bottom: 16px; order: 2; animation: flyFromLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both; }
  .hero-stats { order: 3; margin: 16px 0 32px; }
  .hero-stat-num { font-size: 36px; }
  .hero-stat-label { font-size: 16px; }
  .hero-cd-block { order: 3; margin: 16px 0 32px; }
  .hero-cd-caption { font-size: 14px; margin-bottom: 12px; }
  .hero-countdown { gap: 8px; }
  .hero-cd-num { font-size: 22px; }
  .hero-cd-label { font-size: 11px; margin-top: 6px; }
  .hero-cd-sep { font-size: 18px; }
  .info-bar { order: 4; width: 100%; }
  .hero-headline { flex-direction: column; align-items: center; }
  .hero-headline-main {
    animation: none;
  }
  /* No slide-in; larger logo on mobile (desktop keeps scale(1.14)). */
  .hero-headline-main img {
    transform: scale(1.4);
  }
  .hero-headline-vertical {
    writing-mode: horizontal-tb;
    transform: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 16px;
    position: static;
    left: auto;
    animation: flyFromLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
  }
  .info-bar-inner { gap: 14px; padding: 8px 8px 8px 20px; }
  .location-label-desktop { display: none; }
  .location-text-desktop  { display: none; }
  .location-map-icon      { display: inline-block; width: 20px; height: 20px; color: #fff; stroke: #fff; flex-shrink: 0; }
  .location-link-wrap     { display: flex; align-items: center; }
  .hero-location-mobile   { display: flex; }
  .hero-info-label { font-size: 9px; }
  .hero-info-value { font-size: 13px; }
  .hero-info-divider { height: 28px; }
  .hero-cta { padding: 10px 20px !important; font-size: 12px !important; }
  .fixed-bar { padding: 10px 12px 14px; }

  /* Aftermovie */
  .lightbox-inner { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .lightbox-video { border-radius: 0; }
  .lightbox-close { top: 12px; right: 12px; width: 2.5rem; height: 2.5rem; }
  .lightbox-controls {
    position: relative;
    margin-top: 20px;
    width: 100%;
    padding: 0 16px;
    opacity: 1;
    pointer-events: all;
  }
  .lightbox-controls .aftermovie-icon-btn { width: 3.25rem; height: 3.25rem; }

  /* Lead */
  .lead-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    margin-top: 40px;
    padding: 0 24px;
  }
  .lead-feature {
    margin-left: 0;
    flex: none;
    width: 100%;
    aspect-ratio: 1;
    padding: 16px;
  }
  .lead-feature-text { font-size: clamp(12px, 3.5vw, 15px); width: 90%; }

  /* Lead / Speakers / Program texts */
  .lead-text, .speakers-text, .program-text { max-width: 90%; font-size: 20px; }

  /* Speakers */
  .speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .program-cards-grid { grid-template-columns: 1fr; }

  .program-card:not(.program-card--highlight) { border-radius: 28px; }

  .program-card-main-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto 1px auto;
    row-gap: 16px;
    column-gap: 12px;
    align-items: center;
  }

  .program-card-main-row::after {
    content: '';
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    background: rgba(0,0,0,0.3);
    align-self: stretch;
  }

  .program-card-left { display: contents; }

  .program-card-time {
    grid-column: 1;
    grid-row: 1;
  }

  .program-card-center {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-start;
  }

  .program-card-center .program-card-title {
    text-align: left;
    font-size: clamp(20px, 5vw, 26px);
  }

  .program-card-mobile-prefix { display: inline; }

  .program-card--doprovodni .program-card-main-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .program-card--doprovodni .program-card-main-row::after { display: none; }
  .program-card--doprovodni .program-card-left { display: flex; justify-content: center; }
  .program-card--doprovodni .program-card-center { justify-content: center; }
  .program-card--doprovodni .program-card-right { display: none; }
  .program-card--doprovodni .program-card-center .program-card-title { text-align: center; }
  .program-card--doprovodni { gap: 6px; }
  .program-card--doprovodni .program-card-body { padding-top: 0; }

  .program-card-main-row .program-card-speakers-stack { display: none; }

  .program-card-right {
    grid-column: 3;
    grid-row: 1;
    position: static;
    justify-content: flex-end;
    padding-top: 0;
    border-top: none;
  }

  .program-card-toggle {
    width: 16px;
    height: 16px;
    border-width: 5px;
    font-size: 11px;
  }

  .program-card-body-divider {
    display: block;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.3);
    margin: 16px 0 8px;
  }

  .program-card-body .program-card-speakers-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .stage-boxes-grid { grid-template-columns: 1fr; }
  .stage-box { padding: 40px 24px; }
  .stage-box-desc { font-size: 20px; }
  .stage-box-title { font-size: 32px; }

  /* Program */
  .program-item { grid-template-columns: 1fr 2fr; gap: 0; padding: 20px 20px; }
  .program-time, .program-label { font-size: 16px; }
  .program-text { max-width: 90%; }

  /* Vstupenky */
  .section-vstupenky { border-radius: 32px; }
  .vstupenky-boxes { grid-template-columns: 1fr; }
  .vstupenky-box { padding: 40px 24px; }

  /* Promo bar mobile */
  .vstupenky-promo-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .vstupenky-promo-etoro-logo { width: 80px; }

  /* Partners */
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .marquee-inner span { font-size: clamp(36px, 10vw, 64px); }
  .marquee-inner { gap: 48px; }

  /* Detsky koutek */
  .detsky-koutek-inner { grid-template-columns: 1fr; }
  .detsky-koutek-img-wrap { border-radius: 30px; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  #gallery .gi-2, #gallery .gi-3, #gallery .gi-4, #gallery .gi-5, #gallery .gi-6 { display: none; }
  .gi-3, .gi-6 { grid-column: auto; grid-row: auto; }

  /* Footer */
  .footer2-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer2-col { text-align: center; }
  .footer-links { padding: 0 16px; }
  .section-footer1 { padding-top: 48px; }
  .footer1-event-logo { margin-bottom: 48px; }

  .footer-instagram-header {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer-instagram-logo-link {
    order: 2;
  }

  .footer-instagram-btn {
    order: 1;
  }
}

@media (max-width: 480px) {
  .program-item { grid-template-columns: 1fr 2fr; gap: 0; padding: 18px 14px; }
  .program-time, .program-label { font-size: 20px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (orientation: landscape) and (max-height: 600px) {
  .lightbox-inner { width: auto; height: 100vh; }
  .lightbox-video { width: auto; height: 100vh; border-radius: 0; }
  .video-lightbox { align-items: center; }
}

/* ══════════════════════════════════════════
   FAQ PAGE
   ══════════════════════════════════════════ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  margin-bottom: 64px;
}

.faq-item {
  border-radius: 50px;
  border: 2px solid #000;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
  transition: background .2s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px 24px 40px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #000;
  line-height: 1.3;
  user-select: none;
  transition: background .2s ease;
}

.faq-question:hover,
.faq-item.is-open .faq-question {
  background: #f0f0f0;
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}

.faq-question:hover .faq-icon { opacity: .75; }

.faq-icon svg {
  transition: transform .3s ease;
}

.faq-item.is-open .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  border-top: 0 solid #e8e8e8;
  transition: border-top-width .01s, padding .3s ease;
  padding: 0 40px;
}

.faq-item.is-open .faq-answer-inner {
  border-top-width: 1.5px;
  padding: 24px 40px 28px;
}

.faq-answer-inner p {
  font-size: 18px;
  line-height: 1.65;
  color: #000;
  margin: 0 0 14px;
}

.faq-answer-inner p:last-child { margin-bottom: 0; }

.faq-answer-inner ul {
  margin: 8px 0 14px 20px;
  padding: 0;
}

.faq-answer-inner li {
  font-size: 18px;
  line-height: 1.65;
  color: #000;
  margin-bottom: 6px;
}

.faq-answer-inner a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer-inner a:hover { opacity: .6; }

@media (max-width: 768px) {
  .faq-question {
    font-size: 15px;
    padding: 18px 20px 18px 24px;
    gap: 16px;
  }

  .faq-item.is-open .faq-answer-inner {
    padding: 18px 24px 22px;
  }

  .faq-answer-inner {
    padding: 0 24px;
  }

  .faq-answer-inner p,
  .faq-answer-inner li {
    font-size: 16px;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
  }

  .faq-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* ── Floating gallery filter button ── */
.gal-back-filter-btn {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(calc(100% + 32px));
  display: flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 50px;
  z-index: 200;
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background 0.2s;
  pointer-events: none;
}

.gal-back-filter-btn.visible {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.gal-back-filter-btn:hover {
  background: var(--pink);
  color: #000;
}

.gal-back-filter-icon {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 600px) {
  .gal-back-filter-btn {
    right: 16px;
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* ═══════════════════════════════════════════
   CONTACT FORM (private events — built by contact-form.js)
   ═══════════════════════════════════════════ */
.section-contact {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}
.contact-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 12px;
  text-align: center;
}
.contact-intro {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-bottom: 36px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.7);
}
.contact-req { color: #DF0000; }
.contact-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #000;
  background: #fafafa;
  border: 1.5px solid #e4e4e4;
  border-radius: 12px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  box-sizing: border-box;
}
.contact-input:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}
textarea.contact-input { resize: vertical; min-height: 110px; }
.contact-field.has-error .contact-input { border-color: #DF0000; background: #fff6f6; }
.contact-error {
  display: block;
  font-size: 13px;
  color: #DF0000;
  min-height: 0;
}
.contact-error:empty { display: none; }

.contact-field--gdpr { margin-top: 4px; }
.contact-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.65);
}
.contact-gdpr input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #DF0000;
}
.contact-gdpr-text a { color: #000; font-weight: 700; text-decoration: underline; }

.contact-submit {
  align-self: flex-start;
  margin-top: 8px;
  border: none;
}
.contact-submit:disabled { opacity: 0.6; cursor: default; }

.contact-success {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #000;
  padding: 28px 20px;
  background: #f2f7f2;
  border: 1.5px solid #cfe6cf;
  border-radius: 14px;
}

@media (max-width: 560px) {
  .contact-submit { align-self: stretch; }
}

/* ═══════════════════════════════════════════
   MOBILE CTA BAR — hide the location (pin icon)
   The location item only shows the map pin on mobile (label + text are
   already desktop-only); hide the whole item and its trailing divider so the
   bar reads cleanly as Datum · Vstupenky. Desktop is unchanged.
   ═══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .info-bar-inner > .hero-info-item:first-child,
  .info-bar-inner > .hero-info-item:first-child + .hero-info-divider {
    display: none;
  }
}
