/* ============================================================
   Dallas Film Utsav — style.css
   WordPress Custom Theme: dallas-film-utsav
   Bootstrap 5.3 + Inter + DM Mono
   ============================================================ */

/* Font stacks and @font-face fallbacks → css/typography.css */

/* ── Skip link (accessibility) ────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100000;
  padding: 8px 16px;
  background: var(--color-accent);
  color: var(--color-surface-inverted);
  font-family: var(--font-sans);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus {
  top: 8px;
}

/* ── Base ────────────────────────────────────────────────── */
html {
  scrollbar-gutter: stable;
}

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

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-surface-inverted);
  color: var(--color-text-inverted);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Link base: inherit from parent to prevent Bootstrap's blue default ── */
a {
  color: inherit;
}

/* ── Default text-link hover ─────────────────────────────── */
a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
}

/* ── Typography Utilities ────────────────────────────────── */
/* .tracking-tight / .tracking-wide live in typography.css */

.font-mono {
  font-family: var(--font-mono);
}


/* ── Borders ─────────────────────────────────────────────── */
.border-muted {
  border-color: var(--color-border-inverted-secondary) !important;
}

.text-muted-color {
  color: var(--color-text-muted);
}

.text-accent {
  color: var(--color-accent);
}

/* ── Container override ──────────────────────────────────── */
.container-xxl {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container-xxl {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* ── Section Spacing ─────────────────────────────────────── */
.py-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .py-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* ── Image Placeholders ──────────────────────────────────── */
.img-ph {
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface-inverted);
}

.img-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      transparent 48%,
      rgba(255, 255, 255, .05) 48%,
      rgba(255, 255, 255, .05) 52%,
      transparent 52%);
}

/* ── Spotlight Hero (homepage hero section) ───────────────── */
.spotlight {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-surface-inverted);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.spotlight--image-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.spotlight__video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
}

.spotlight__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--color-overlay);
  z-index: 2;
}

.spotlight__trail {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
}

.spotlight__inner {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
}

.spotlight__logo {
  width: clamp(140px, 40vw, 300px);
  max-width: 90%;
  height: auto;
  margin-bottom: 32px;
  filter: brightness(0) invert(1); /* forces logo to white regardless of original colours */
}

.spotlight__desc {
  color: var(--color-text-inverted);
  max-width: 600px;
}

.spotlight__teaser-row {
  display: none;
}

@media (min-width: 768px) {
  .spotlight__teaser-row {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
  }
}

.spotlight__teaser {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  text-decoration: none;
}

.spotlight__teaser-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.spotlight__teaser-tag {
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  line-height: 1.25;
  display: inline-block;
}

.spotlight__teaser-title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text-inverted);
  margin-bottom: 0;
  text-align: right;
}

.spotlight__teaser-poster {
  width: 120px;
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
  overflow: hidden;
}

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

/* ── Cinematic Film Overlay ──────────────────────────────── */
.film-section {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .film-section {
    min-height: 560px;
  }
}

@media (min-width: 1200px) {
  .film-section {
    min-height: 640px;
  }
}

.film-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(var(--overlay-film-rgb), .35) 0%,
      rgba(var(--overlay-film-rgb), .12) 40%,
      rgba(var(--overlay-film-rgb), .55) 80%,
      rgba(var(--overlay-film-rgb), .85) 100%);
  z-index: 1;
}

.film-section>* {
  position: relative;
  z-index: 2;
}

/* ── Horizontal Scroll Strip ─────────────────────────────── */
.scroll-strip {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-strip::-webkit-scrollbar {
  display: none;
}

/* ── Tags / Badges ───────────────────────────────────────── */
/* Used on program, film-detail, and event-detail pages */
.tag,
.tag-fill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--type-mono-sm-size);
  font-weight: var(--type-mono-sm-weight);
  letter-spacing: var(--type-mono-sm-tracking);
  text-transform: uppercase;
  padding: 2px 7px;
  line-height: 1.25;
}

.tag {
  border: 1px solid var(--color-border-inverted-secondary);
  color: var(--color-text-muted);
  background: transparent;
}

.tag-fill {
  background: var(--color-accent-vibrant);
  color: var(--color-surface-inverted);
  border: 1px solid transparent;
}

.tag-outline {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--type-mono-sm-size);
  font-weight: var(--type-mono-sm-weight);
  letter-spacing: var(--type-mono-sm-tracking);
  text-transform: uppercase;
  padding: 2px 7px;
  line-height: 1.25;
  border: 1px solid var(--color-border-inverted-secondary);
  color: var(--color-text-muted);
  background: transparent;
}

/* ── Award Badge ─────────────────────────────────────────── */
/* Full definition lives later in file near winner/award card components */

/* ── Buttons ─────────────────────────────────────────────── */
/* Shared base — typography + layout for all filled/outlined/text variants */
.btn-accent,
.btn-accent-invert,
.btn-tertiary,
.btn-outline,
.btn-outline-invert,
.btn-on-accent,
.btn-on-accent-secondary,
.btn-text-invert {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

/* Shared icon hover — arrow nudge on all button variants */
.btn-accent svg,
.btn-accent-invert svg,
.btn-tertiary svg,
.btn-outline svg,
.btn-outline-invert svg,
.btn-on-accent svg,
.btn-on-accent-secondary svg,
.btn-text-invert svg {
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-accent:hover svg,
.btn-accent-invert:hover svg,
.btn-tertiary:hover svg,
.btn-outline:hover svg,
.btn-outline-invert:hover svg,
.btn-on-accent:hover svg,
.btn-on-accent-secondary:hover svg,
.btn-text-invert:hover svg {
  transform: translateX(4px);
}

/* Filled/outlined variants add padding, border, and shape */
.btn-accent,
.btn-accent-invert,
.btn-tertiary,
.btn-outline,
.btn-outline-invert,
.btn-on-accent,
.btn-on-accent-secondary {
  padding: 12px 16px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.hover-opacity {
  transition: opacity 0.2s ease;
}

.hover-opacity:hover {
  opacity: 0.8;
}

/* Primary filled — use on light or dark surface */
.btn-accent {
  background: var(--color-accent);
  color: var(--color-surface);
  border: 2px solid var(--color-accent);
  transition: all 0.3s ease-in-out;
}

.btn-accent:hover {
  background: var(--color-surface-muted);
  border-color: var(--color-surface-muted);
  color: var(--color-text);
  text-decoration: none;
}

/* Primary inverted — use on dark surface */
.btn-accent-invert {
  background: var(--color-accent);
  /*color: var(--color-text);*/
  color: var(--color-surface);
  border: 2px solid var(--color-accent);
  transition: all 0.3s ease-in-out;
}

.btn-accent-invert:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  text-decoration: none;
}

/* Tertiary filled — golden accent, use on dark surface */
.btn-tertiary {
  background: var(--color-tertiary);
  color: var(--color-text);
  border: 2px solid var(--color-tertiary);
}

.btn-tertiary:hover {
  background: var(--color-tertiary-hover);
  border-color: var(--color-tertiary-hover);
  color: var(--color-text);
  text-decoration: none;
}

/* Outline — use on light surface: black text, accent 2px border */
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
  text-decoration: none;
}

/* Text inverted — use on dark surface: no border, no fill, white text, accent icon */
.btn-text-invert {
  color: var(--color-text-inverted);
  background: transparent;
  border: none;
  padding: 0;
  white-space: nowrap;
}

.btn-text-invert svg {
  color: var(--color-accent);
}

.btn-text-invert:hover { color: var(--color-accent); text-decoration: none; }

/* Outline inverted — use on dark surface: white text, white 2px border, accent icon */
.btn-outline-invert {
  background: transparent;
  color: var(--color-text-inverted);
  border: 2px solid var(--color-border-inverted);
}

.btn-outline-invert svg {
  color: var(--color-accent);
}

.btn-outline-invert:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
  text-decoration: none;
}

.btn-outline-invert:hover svg {
  color: var(--color-text);
}

/* On-accent buttons — use on --color-accent (green) backgrounds */
.btn-on-accent {
  background: var(--color-surface-inverted);
  color: var(--color-text-inverted);
  border: 2px solid var(--color-surface-inverted);
}

.btn-on-accent:hover {
  background: var(--color-surface-inverted-hover);
  border-color: var(--color-surface-inverted-hover);
  color: var(--color-text-inverted);
  text-decoration: none;
}

.btn-on-accent-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--color-surface);
}

.btn-on-accent-secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-surface-hover);
  color: var(--color-text);
  text-decoration: none;
}

/* ── wp:template-part: nav ────────────────────────────────── */

/* ── Navigation ──────────────────────────────────────────── */

/* Base structure */
.nav {
  z-index: 1055;
  border-bottom: 1px solid transparent;
  width: 100%;
  opacity: 0;
}

.fonts-loaded .nav {
  opacity: 1;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand img {
  height: 48px;
  width: auto;
}

/* ── wp_nav_menu() <ul> normalisation ───────────── */
/* Desktop: make the generated <ul class="menu"> a flex row */
.nav-menu .menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu .menu-item {
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.21em;
  color: var(--color-text);
  text-decoration: none;
}

.nav-link:hover {
  opacity: 0.7;
  text-decoration: none;
}

.nav-link.active {
  font-weight: 600;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
  margin-left: 0.5rem;
}

.nav-toggle {
  position: relative;
  z-index: 1060;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.nav-bar {
  display: block;
  width: 22px;
  height: 2px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  transition: background 0.15s, transform 0.3s ease, opacity 0.2s ease;
}

.nav-mobile .nav-link {
  display: block;
  padding: 0.5rem 0;
}

.nav-mobile .nav-cta {
  display: block;
  padding: 0.5rem 0;
  margin-left: 0;
  background: transparent;
  border: none;
}

/* ── External link icon ───────────────────────────── */
.nav-link.external-link,
.mobile-overlay-link.external-link {
  display: inline-flex;
  align-items: center;
}

.nav-link.external-link::after,
.mobile-overlay-link.external-link::after {
  content: 'open_in_new';
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  margin-left: 4px;
}

/* ── Theme: Dallas (White bar) ──────────────────── */
[data-nav-theme="dallas"] {
  background-color: var(--color-text-inverted);
  border-bottom-color: var(--color-border-muted);
}

[data-nav-theme="dallas"] .d-flex {
  padding: 20px 0;
}

[data-nav-theme="dallas"] .nav-link {
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

[data-nav-theme="dallas"] .nav-link:hover {
  color: var(--color-text);
  opacity: 1;
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

[data-nav-theme="dallas"] .nav-link.active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

[data-nav-theme="dallas"] .nav-bar {
  background: var(--color-foreground);
}

[data-nav-theme="dallas"] .nav-menu .menu {
  gap: 56px;
}

[data-nav-theme="dallas"] .nav-brand {
  color: var(--color-foreground);
  text-decoration: none;
}

/* ── Theme: Dallas (Transparent → White on scroll) ── */
[data-nav-theme="dallas-transparent"] {
  background-color: transparent;
  border-bottom-color: transparent;
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

[data-nav-theme="dallas-transparent"] .d-flex {
  padding: 20px 0;
}

[data-nav-theme="dallas-transparent"] .nav-brand {
  color: var(--color-foreground-inverted);
  transition: color 0.3s ease;
}

[data-nav-theme="dallas-transparent"] .nav-brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

[data-nav-theme="dallas-transparent"] .nav-link {
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
  padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 8px;
}

[data-nav-theme="dallas-transparent"] .nav-link:hover {
 color: var(--color-text);
  opacity: 1;
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

[data-nav-theme="dallas-transparent"] .nav-bar {
  background: var(--color-text);
  transition: background 0.3s ease;
}

/* Overlay open: logo and hamburger flip to dark (white overlay bg behind them) */
[data-nav-theme="dallas-transparent"]:has(.nav-toggle[aria-expanded="true"]) .nav-brand img {
  filter: brightness(0);
}

[data-nav-theme="dallas-transparent"]:has(.nav-toggle[aria-expanded="true"]) .nav-bar {
  background: var(--color-foreground);
}

[data-nav-theme="dallas-transparent"] .nav-menu .menu {
  gap: 90px;
}

[data-nav-theme="dallas-transparent"].scrolled {
  background-color: var(--color-text-inverted);
  border-bottom-color: var(--color-border-muted);
}

[data-nav-theme="dallas-transparent"].scrolled .nav-brand {
  color: var(--color-foreground);
}

[data-nav-theme="dallas-transparent"].scrolled .nav-brand img {
  filter: brightness(0);
}

[data-nav-theme="dallas-transparent"].scrolled .nav-link {
  color: var(--color-text);
}

[data-nav-theme="dallas-transparent"].scrolled .nav-link:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

[data-nav-theme="dallas-transparent"].scrolled .nav-bar {
  background: var(--color-foreground);
}

/* ── Theme: Dallas (Dark → White on scroll) ───────── */
[data-nav-theme="dallas-dark"] {
  background-color: var(--color-surface-inverted);
  border-bottom-color: transparent;
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

[data-nav-theme="dallas-dark"] .d-flex {
  padding: 20px 0;
}

[data-nav-theme="dallas-dark"] .nav-brand {
  color: var(--color-foreground-inverted);
  transition: color 0.3s ease;
}

/*[data-nav-theme="dallas-dark"] .nav-brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}*/

.page-id-78 [data-nav-theme="dallas-dark"] .nav-brand img {
  filter: brightness(0) invert(1);
}

[data-nav-theme="dallas-dark"] .nav-link {
  color: var(--color-text-inverted);
  font-weight: 700;
  font-size: 18px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
  padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 8px;
}

[data-nav-theme="dallas-dark"] .nav-link:hover {

  text-decoration: none;
    color: var(--color-text-inverted);
    opacity: 1;
    border-bottom-color: var(--color-text-inverted);
}

[data-nav-theme="dallas-dark"] .nav-link.active {
  border-bottom-color: var(--color-accent);
}

[data-nav-theme="dallas-dark"] .nav-bar {
  background: var(--color-foreground-inverted);
  transition: background 0.3s ease;
}

[data-nav-theme="dallas-dark"]:has(.nav-toggle[aria-expanded="true"]) {
  background-color: var(--color-surface);
}

[data-nav-theme="dallas-dark"]:has(.nav-toggle[aria-expanded="true"]) .nav-brand img {
  filter: brightness(0);
}

[data-nav-theme="dallas-dark"]:has(.nav-toggle[aria-expanded="true"]) .nav-bar {
  background: var(--color-foreground);
}

[data-nav-theme="dallas-dark"] .nav-menu .menu {
  gap: 90px;
}

[data-nav-theme="dallas-dark"].scrolled {
  background-color: var(--color-text-inverted);
  border-bottom-color: var(--color-border-muted);
}

[data-nav-theme="dallas-dark"].scrolled .nav-brand {
  color: var(--color-foreground);
}

[data-nav-theme="dallas-dark"].scrolled .nav-brand img {
  filter: brightness(0);
}

[data-nav-theme="dallas-dark"].scrolled .nav-link {
  color: var(--color-text);
}

[data-nav-theme="dallas-dark"].scrolled .nav-link:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

[data-nav-theme="dallas-dark"].scrolled .nav-bar {
  background: var(--color-foreground);
}

/* ── Nav: white (all subpages) ──────────────────── */
[data-nav-theme="dallas-white"] {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

[data-nav-theme="dallas-white"] .nav-brand img {
  filter: none;
}

[data-nav-theme="dallas-white"] .d-flex {
  padding: 20px 0;
}

[data-nav-theme="dallas-white"] .nav-menu .menu {
  gap: 90px;
}

[data-nav-theme="dallas-white"] .nav-link {
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  padding-left: 0px; padding-right: 0px; padding-bottom:8px;
}

[data-nav-theme="dallas-white"] .nav-link:hover {
  color: var(--color-text);
  opacity: 1;
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

[data-nav-theme="dallas-white"] .nav-link.active {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

[data-nav-theme="dallas-white"] .nav-bar {
  background: var(--color-foreground);
}

/* ── Dallas Brand Block ─────────────────────────── */
.nav-brand--dallas {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-brand--dallas .brand-abbr,
.nav-brand--dallas .brand-sep {
  display: none;
}

.brand-abbr {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.21;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-text);
}

.brand-sep {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.21;
  letter-spacing: 0.13em;
  color: var(--color-text);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.21;
  text-transform: uppercase;
  color: var(--color-text);
}

.brand-dates {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.21;
  text-transform: uppercase;
  color: var(--color-text);
  margin-top: -2px;
}

@media (max-width: 575.98px) {
  .nav-brand--dallas {
    gap: 10px;
  }
  .brand-abbr,
  .brand-sep {
    font-size: 15px;
  }
  .brand-title,
  .brand-dates {
    font-size: 13px;
  }
}

/* ── Full-Screen Mobile Overlay ─────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-overlay.is-open .mobile-overlay-nav {
  transform: translateY(0);
}

.mobile-overlay-link {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.mobile-overlay-link:hover,
.mobile-overlay-link.active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
  text-decoration: none;
}

/* Mobile: make the generated <ul class="menu"> a flex column */
.mobile-overlay-nav .menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-overlay-nav .menu-item {
  list-style: none;
}

/* ── Hamburger to X Animation ───────────────────── */
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Sticky Tab Strip ────────────────────────────────────── */
.tab-strip {
  position: sticky;
  top: 88px;
  z-index: 90;
  border-bottom: 1px solid var(--color-border-inverted-secondary);
  overflow: visible;
}

.tab-strip .tab-btn {
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  padding: calc(0.75rem + 2px) 1.25rem 0.75rem;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}

.tab-strip-dark .tab-btn {
  color: var(--color-text-muted);
}

.tab-strip-dark .tab-btn:hover {
  color: var(--color-text-inverted);
}

.tab-strip-dark .tab-btn.active {
  color: var(--color-text-inverted);
  font-weight: 700;
  border-bottom-color: var(--color-text-inverted);
  border-bottom-width: 3px;
}

/* ── Schedule Rows ───────────────────────────────────────── */
.schedule-row {
  border-top: 1px solid var(--color-border-inverted-secondary);
  padding: 1.5rem 0;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-time {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--color-text-muted);
  min-width: 100px;
  padding-top: .125rem;
}

.ratio-16-9 {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.schedule-row .img-ph {
  background-color: var(--color-surface-inverted);
}

/* ── Ticket Cards V2 ─────────────────────────────────────── */
.ticket-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--color-text-inverted);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.ticket-wrapper:hover {
  transform: translateY(-8px);
}



/* Invert foreground colors on hover — transition applied to all targetted children */
.ticket-wrapper .ticket-price,
.ticket-wrapper .ticket-desc,
.ticket-wrapper .ticket-name,
.ticket-wrapper .ticket-best-value,
.ticket-wrapper p {
  transition: color 0.25s ease;
}

/* Inner Layout Blocks */
.ticket-top {
  position: relative;
  padding: 2rem 1.5rem 2rem;
  flex: 1;
}

/* Dotted separator */
.ticket-divider {
  position: absolute;
  top: var(--cutout-offset);
  left: 0;
  right: 0;
  height: 0;
  border-top: 1px dashed var(--t-border);
  z-index: 2;
  transition: border-color 0.25s ease;
}

.ticket-bottom {
  position: relative;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Typography */
.ticket-best-value {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticket-name {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.ticket-wrapper.featured .ticket-name {
  margin-top: 2.5rem;
}

.ticket-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.ticket-price {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.ticket-logo {
  height: 36px;
  width: auto;
  opacity: 0.9;
}


.ticket-wrapper:hover .ticket-price,
.ticket-wrapper:hover .ticket-desc,
.ticket-wrapper:hover .ticket-name,
.ticket-wrapper:hover .ticket-best-value,
.ticket-wrapper:hover p,
.ticket-wrapper:hover .text-muted,
.ticket-wrapper:hover span {
  color: var(--color-text) !important;
}

.ticket-wrapper:hover .btn-outline-invert,
.ticket-wrapper:hover .btn-accent-invert {
  border-color: var(--color-text) !important;
  color: var(--color-text) !important;
}

.ticket-wrapper:hover .ticket-logo {
  filter: brightness(0) !important;
}

.ticket-wrapper:hover .ticket-divider {
  border-top-color: rgba(0, 0, 0, 0.3) !important;
}

/* ── Award Film Cards ────────────────────────────────────── */
.award-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.award-card .award-poster {
  width: 120px;
  flex-shrink: 0;
  aspect-ratio: 2/3;
}

.award-card .award-info {
  flex: 1;
}

/* ── Winner Rows ─────────────────────────────────────────── */
.winner-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.winner-row .winner-poster {
  width: 3.5rem;
  height: 5rem;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--color-surface-inverted);
}

/* ── Team Grid ───────────────────────────────────────────── */
.team-portrait {
  cursor: pointer;
  transition: opacity .15s;
}

.team-portrait:hover {
  opacity: .8;
}

.team-portrait.active .portrait-img {
  outline: 2px solid var(--color-text-inverted);
  outline-offset: 3px;
}

.portrait-img {
  aspect-ratio: 3/4;
  background: var(--color-surface-inverted);
  border-radius: 4px;
  overflow: hidden;
}

.bio-panel {
  display: none;
  position: relative;
  margin-bottom: .5rem;
}

.bio-panel.open {
  display: block;
}

.bio-panel-inner {
  background: var(--color-surface-inverted);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  position: relative;
  margin-top: .5rem;
}

.bio-arrow {
  position: absolute;
  top: -8px;
  width: 16px;
  height: 16px;
  background: var(--color-surface-inverted);
  transform: rotate(45deg);
}

/* ── Explore the Program (ETP) ───────────────────────────── */
.explore-program {
  background-color: var(--color-tertiary);
  padding: 7.5rem 0;
}

.etp-section-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.etp-title {
  font-size: var(--type-display-lg-size);
  line-height: var(--type-display-lg-line);
  font-weight: var(--type-display-lg-weight);
  letter-spacing: var(--type-display-lg-tracking);
  color: var(--color-text);
  margin: 0 0 8px 0;
}

.etp-subtitle {
  color: var(--color-text);
  margin: 0;
}

.etp-schedule-btn {
  font-size: 16px;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--color-surface-inverted);
  color: var(--color-text-inverted);
  border-color: var(--color-surface-inverted);
}

.etp-schedule-btn:hover {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-surface);
}

.etp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 991.98px) {
  .etp-grid { grid-template-columns: 1fr; }
  .etp-section-header { flex-direction: column; align-items: flex-start; }
}

.etp-day-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--color-surface);
  text-decoration: none !important;
  transition: background 0.25s ease-in-out;
  cursor: pointer;
}

.etp-day-card:hover {
  background: var(--color-surface-inverted);
  text-decoration: none !important;
}

.etp-day-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  width: 100%;
  transition: border-color 0.25s ease-in-out;
}

.etp-day-card:hover .etp-day-header { border-color: rgba(255, 255, 255, 0.25); }

.etp-day-card:hover .etp-day-label,
.etp-day-card:hover .etp-event-title,
.etp-day-card:hover .etp-event-time,
.etp-day-card:hover .etp-more-events,
.etp-day-card:hover .etp-cta-link {
  color: var(--color-text-inverted) !important;
  opacity: 1 !important;
}

.etp-day-label {
  color: var(--color-text);
  margin: 0;
  transition: color 0.25s ease-in-out;
}

.etp-events-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.etp-event-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.etp-event-title {
  color: var(--color-text);
  margin: 0 0 2px 0;
  transition: color 0.25s ease-in-out;
}

.etp-event-time {
  color: var(--color-text-secondary);
  margin: 0;
  transition: color 0.25s ease-in-out;
}

.etp-more-events {
  color: var(--color-text);
  margin: 0;
  transition: color 0.25s ease-in-out;
}

.etp-card-footer { margin-top: auto; }

.etp-cta-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text);
  transition: color 0.25s ease-in-out;
}

.etp-cta-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.etp-day-card:hover .etp-cta-icon {
  transform: translateX(5px);
}

/* ── Film Showcase v2 (full-background sections) ─────────── */
.showcase {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 72vh;
  padding-top: 6rem;
  padding-bottom: 6rem;
  gap: 3rem;
}

.showcase-header {
  display: flex;
  flex-direction: column;
}

.showcase-title {
  font-size: var(--type-display-lg-size);
  line-height: var(--type-display-lg-line);
  font-weight: var(--type-display-lg-weight);
  letter-spacing: var(--type-display-lg-tracking);
  color: var(--color-text-inverted);
  margin: 0;
}

.showcase-subtitle {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: var(--type-mono-xl-size);
  line-height: var(--type-mono-xl-line);
  font-weight: var(--type-mono-xl-weight);
  letter-spacing: var(--type-mono-xl-tracking);
  text-transform: uppercase;
  color: var(--color-text-inverted);
}

.showcase-film {
  display: flex;
  gap: 48px;
  align-items: flex-end;
}

.showcase-poster {
  width: 150px;
  height: 225px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.showcase-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.showcase-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

.showcase-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.showcase-tag-fill {
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
}

.showcase-tag-outline {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--color-text-inverted);
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
}

/* .showcase-film-title — on <h3>; font-family provided by h3 semantic element */
.showcase-film-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
  color: var(--color-text-inverted);
  margin: 0 0 4px 0;
  text-transform: capitalize;
}

.showcase-film-meta {
  font-family: var(--font-mono);
  font-weight: var(--type-mono-md-weight);
  font-size: var(--type-mono-md-size);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-inverted-secondary);
  margin: 0;
}

@media (max-width: 575px) {
  .showcase-poster { display: none; }
}

/* Background video — shared by video showcase variants */
.showcase__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Gradient overlay — shared by all showcase variants */
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--overlay-black-rgb), 0.85) 0%, rgba(var(--overlay-black-rgb), 0.35) 60%, rgba(var(--overlay-black-rgb), 0.15) 100%);
  z-index: 1;
}

/* Image-background variant — CSS custom property injected on the <section> element.
   Keeps the image URL out of CSS so WordPress can supply it via ACF:
   style="--showcase-bg-image: url('<?php echo get_field('showcase_bg_image') ?>')" */
.showcase--image {
  background-image: var(--showcase-bg-image);
  background-size: cover;
  background-position: center top;
}

/* ── Film Grid (white/light sections) ────────────────────── */
.film-grid-section {
  background-color: var(--color-surface);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.film-grid-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 2rem;
}

.film-grid-title {
  font-family: var(--type-h2-family);
  font-size: var(--type-h2-size);
  line-height: var(--type-h2-line);
  font-weight: var(--type-h2-weight);
  letter-spacing: var(--type-h2-tracking);
  color: var(--color-text);
  margin: 0;
}

.film-grid-subline {
  font-family: var(--font-mono);
  font-size: var(--type-mono-xl-size);
  line-height: var(--type-mono-xl-line);
  font-weight: var(--type-mono-xl-weight);
  letter-spacing: var(--type-mono-xl-tracking);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin: 0;
}

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

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

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

.film-item,
.film-item:hover {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
}

.film-item-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-surface-muted);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  outline: 0px solid var(--color-accent);
  transition: outline-width 0.2s ease;
  position: relative;
}

.film-item:hover .film-item-img { outline-width: 10px; }

.film-item-img img:not(.film-item-laurel) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.film-item:hover .film-item-img img:not(.film-item-laurel) { transform: scale(1.05); }

.film-item-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.film-item-info .bundle-meta {
  font-size: var(--type-mono-md-size);
  line-height: var(--type-mono-md-line);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: var(--type-mono-md-tracking);
  color: var(--color-text-secondary);
}

.film-item-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.film-tag-filled,
.film-tag-outline {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
}

.film-tag-filled {
  background: var(--color-surface-inverted);
  color: var(--color-text-inverted);
}

.film-tag-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

/* .film-item-title — used on <h3> elements; h3 defaults provide font-family/weight/etc. */
.film-item-title {
  font-size: var(--type-h4-size);
  line-height: var(--type-h4-line);
  font-weight: var(--type-h4-weight);
  letter-spacing: var(--type-h4-tracking);
  color: var(--color-text);
  margin: 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.film-item:hover .film-item-title { text-decoration-color: var(--color-accent); }

/* ── Awards v2 ───────────────────────────────────────────── */
.awards-subheader {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.awards-subheader-label {
  font-family: var(--type-h3-family);
  font-size: var(--type-h3-size);
  font-weight: var(--type-h3-weight);
  line-height: var(--type-h3-line);
  letter-spacing: var(--type-h3-tracking);
  text-transform: none;
  color: var(--color-text-inverted);
  margin: 0;
}

.awards-subheader-rule {
  display: none;
}

/*.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 992px) {
  .awards-grid { grid-template-columns: repeat(4, 1fr); }
}*/


.awards-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.awards-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--color-surface-inverted);
  text-decoration: none;
}

.awards-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(-33.5deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
  z-index: 1;
}

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

.awards-poster:hover .awards-poster-img { transform: scale(1.04); }

.awards-laurel {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  pointer-events: none;
  z-index: 2;
  flex-shrink: 0;
}

.awards-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.awards-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tertiary);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  line-height: 1.25;
  white-space: nowrap;
  align-self: flex-start;
}

/* .awards-title — on <h3> elements; uses h3 token size */
.awards-title {
  font-size: var(--type-h3-size);
  font-weight: var(--type-h3-weight);
  line-height: var(--type-h3-line);
  letter-spacing: var(--type-h3-tracking);
  color: var(--color-text-inverted);
  margin: 0;
  text-transform: capitalize;
}

.awards-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.25;
}

/* ── Submit Film Section (finished-state, date-gated) ────── */
.submit-film-section {
  background-color: var(--color-surface);
  color: var(--color-text);
  padding-top: calc(5rem + 80px);
  padding-bottom: 5rem;
}

.submit-film-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.submit-film-title {
  margin: 0;
}

.submit-film-dates {
  color: var(--color-text-secondary);
  margin: 0;
  text-transform: uppercase;
}

.submit-film-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: clamp(24px, 5vw, 96px);
  align-items: start;
}

.submit-film-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 0;
}

.submit-film-logo {
  max-height: 210px;
  width: auto;
  filter: brightness(0);
}

.submit-film-cta {
  display: flex;
  gap: 24px;
  width: 100%;
}

.submit-film-cta .btn-tertiary {
  flex: 1;
}

.submit-film-divider {
  width: 1px;
  background-color: var(--color-foreground-secondary);
  align-self: stretch;
}

@media (max-width: 767.98px) {
  .submit-film-section {
    padding-top: calc(3rem + 80px);
    padding-bottom: 3rem;
  }

  .submit-film-header {
    margin-bottom: 32px;
  }

  .submit-film-grid {
    grid-template-columns: 1fr;
  }

  .submit-film-col {
    padding: 40px 0;
    gap: 32px;
  }

  .submit-film-logo {
    max-height: 140px;
  }

  .submit-film-divider {
    width: 100%;
    height: 1px;
  }
}

/* ── Awards Section (finished-state page hero) ───────────── */
.awards-section {
  background-color: var(--color-surface-inverted);
  color: var(--color-text-inverted);
  padding-top: calc(5rem + 80px);
  padding-bottom: 5rem;
}

.awards-page-title {
  font-family: var(--type-display-lg-family);
  font-size: var(--type-display-lg-size);
  line-height: var(--type-display-lg-line);
  font-weight: 700;
  letter-spacing: var(--type-display-lg-tracking);
  color: var(--color-text-inverted);
  margin: 0 0 3rem;
}

/* ── Film item winner overlay ─────────────────────────────── */
.film-item-laurel {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  pointer-events: none;
  z-index: 2;
}

.film-tag-winner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-tertiary);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: var(--type-mono-md-tracking);
  text-transform: uppercase;
  padding: 2px 8px;
  line-height: 1.4;
  white-space: nowrap;
}

/* ── Finished-state nav overrides ───────────────────────── */
/*[data-edition-status="finished"] .nav-toggle {
  display: none !important;
}*/

/* Finished-state logo: tint to foreground (#262523) — warm near-black */
/*[data-edition-status="finished"] .nav-brand img {
  filter: brightness(0) saturate(100%) invert(11%) sepia(8%) saturate(497%) hue-rotate(18deg) brightness(98%) contrast(92%);
}*/

/*[data-edition-status="finished"] .nav-brand img {
     filter: brightness(0) invert(1);
}*/

/* Transparent nav (front page, before scroll): tint to foreground-inverted (#E6D9C0) */
[data-edition-status="finished"] [data-nav-theme="dallas-transparent"] .nav-brand img {
  filter: brightness(0) saturate(100%) invert(11%) sepia(8%) saturate(497%) hue-rotate(18deg) brightness(98%) contrast(92%);
}

/* Transparent nav scrolled: revert to foreground tint */
[data-edition-status="finished"] [data-nav-theme="dallas-transparent"].scrolled .nav-brand img {
  filter: brightness(0) saturate(100%) invert(11%) sepia(8%) saturate(497%) hue-rotate(18deg) brightness(98%) contrast(92%);
}

/* ── Film grid: finished-state overrides ─────────────────── */
/* Activated by data-edition-status="finished" on <body> (WP: body_class) */

[data-edition-status="finished"] .film-grid-title {
  font-size: var(--type-h2-size);
  line-height: var(--type-h2-line);
  font-weight: var(--type-h2-weight);
  letter-spacing: var(--type-h2-tracking);
}

/* ── Showcase Row (finished state — 3 columns) ─────────── */
.showcase-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto 1fr;
  gap: 24px;
}

@media (max-width: 991px) {
  .showcase-row-grid { grid-template-columns: repeat(2, 1fr); }

  .awards-section {
  padding-top: calc(5rem + 0px);
  }
}

@media (max-width: 575px) {
  .showcase-row-grid { grid-template-columns: 1fr; }
}

.showcase-row-col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 24px;
}

.showcase-row-label {
  font-family: var(--type-h3-family);
  font-size: var(--type-h3-size);
  font-weight: var(--type-h3-weight);
  line-height: var(--type-h3-line);
  letter-spacing: var(--type-h3-tracking);
  color: var(--color-text);
  margin: 0;
}

.film-item-img--landscape {
  aspect-ratio: 16 / 9;
}

/* ── Events Section ──────────────────────────────────────── */
.events-section {
  background-color: var(--color-secondary);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.events-section-title {
  font-size: var(--type-display-lg-size);
  line-height: var(--type-display-lg-line);
  font-weight: var(--type-display-lg-weight);
  letter-spacing: var(--type-display-lg-tracking);
  color: var(--color-text-inverted);
  margin-bottom: 3.5rem;
}

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

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

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

.event-card {
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.25s ease-in-out;
  overflow: hidden;
}

.event-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface-muted);
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-img img {
  transform: scale(1.04);
}

.event-card-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 24px 32px;
  flex-grow: 1;
}

.event-card:hover {
  background: var(--color-surface-inverted);
  text-decoration: none;
}

.event-card:hover .event-card-title,
.event-card:hover .event-card-meta,
.event-card:hover .event-card-excerpt,
.event-card:hover .event-card-cta {
  color: var(--color-text-inverted);
}

.event-card:hover .event-card-cta-icon {
  color: var(--color-text-inverted);
}

.event-card-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-secondary);
  transition: border-color 0.25s ease-in-out;
}

.event-card:hover .event-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.event-card-title {
  color: var(--color-text);
}

.event-card-meta {
  color: var(--color-text-secondary);
  transition: color 0.25s ease-in-out;
}

.event-card:hover .event-card-meta {
  color: var(--color-text-inverted);
}

.event-card-excerpt {
  color: var(--color-text-secondary);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease-in-out;
}

.event-card:hover .event-card-excerpt {
  color: var(--color-text-inverted);
}

.event-card-footer { margin-top: auto; }

.event-card-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--type-h5-size);
  font-weight: var(--type-h5-weight);
  line-height: var(--type-h5-line);
  letter-spacing: var(--type-h5-tracking);
  color: var(--color-text);
}

.event-card-cta-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.event-card:hover .event-card-cta-icon {
  transform: translateX(5px);
}

/* ── Ticket Cards ────────────────────────────────────────── */
.tickets-section {
  background-color: var(--color-surface-inverted);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* .tickets-section-title on <h2> — overrides h2 defaults with display-lg scale */
.tickets-section-title {
  font-size: var(--type-display-lg-size);
  line-height: var(--type-display-lg-line);
  font-weight: var(--type-display-lg-weight);
  letter-spacing: var(--type-display-lg-tracking);
  color: var(--color-text-inverted);
  margin: 0;
}

.tickets-venue {
  font-family: var(--font-mono);
  font-size: var(--type-mono-xl-size);
  line-height: var(--type-mono-xl-line);
  font-weight: var(--type-mono-xl-weight);
  letter-spacing: var(--type-mono-xl-tracking);
  text-transform: uppercase;
  color: var(--color-text-inverted-secondary);
  margin: 0;
}

.tickets-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

@media (max-width: 1199px) {
  .tickets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
}

@media (max-width: 575px) {
  .tickets-grid { grid-template-columns: minmax(0, 1fr); }
}

.ticket-card {
  position: relative;
  border: 2px dotted rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  corner-shape: scoop;
  background: transparent;
  display: flex;
  flex-direction: column;
  transition: background 0.2s, border-color 0.2s;
}

.ticket-card:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  cursor: pointer;
}

.ticket-card-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  flex-grow: 1;
}

.ticket-card-title-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-card-tag {
  background: var(--color-secondary);
  color: var(--color-text-inverted);
  font-family: var(--type-mono-md-family);
  font-size: var(--type-mono-md-size);
  line-height: var(--type-mono-md-line);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: var(--type-mono-md-tracking);
  text-transform: uppercase;
  padding: 2px 8px;
  display: inline-block;
  align-self: flex-start;
}

.ticket-card:hover .ticket-card-tag { background: var(--color-surface-inverted); color: var(--color-text-inverted); }

/* Featured ticket (Best Value) — purple hover: bg set here, text overrides below */
.ticket-card--featured:hover { background: var(--color-secondary); border-color: var(--color-secondary); }

/* .ticket-card-name — used on <h3> elements; h3 provides all font tokens */
.ticket-card-name {
  color: var(--color-text-inverted);
  margin: 0;
  transition: color 0.2s;
}

.ticket-card:hover .ticket-card-name { color: var(--color-text); }

/* .ticket-card-desc — <p> provides body-md defaults from typography.css */
.ticket-card-desc {
  color: var(--color-text-inverted-secondary);
  margin: 0;
  transition: color 0.2s;
}

.ticket-card:hover .ticket-card-desc { color: rgba(0, 0, 0, 0.6); }

.ticket-card-divider {
  border: none;
  border-top: 2px dotted var(--color-text-inverted);
  margin: 0;
  opacity: 1;
  transition: border-color 0.2s;
}

.ticket-card:hover .ticket-card-divider { border-top-color: rgba(0, 0, 0, 0.3); }

.ticket-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
}

/* .ticket-card-price — keeps h3-scale type intentionally (prominent price display) */
.ticket-card-price {
  font-size: var(--type-h3-size);
  font-weight: var(--type-h3-weight);
  color: var(--color-text-inverted);
  margin: 0;
  transition: color 0.2s;
}

.ticket-card:hover .ticket-card-price { color: var(--color-text); }

.ticket-card .btn-text-invert::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ticket-card:hover .btn-text-invert { color: var(--color-text); }
.ticket-card:hover .btn-text-invert svg { color: var(--color-text); transform: none; }

/* Featured ticket (Best Value) — purple hover text overrides (must come after base hover rules) */
.ticket-card--featured:hover .ticket-card-name,
.ticket-card--featured:hover .ticket-card-price { color: var(--color-text-inverted); }
.ticket-card--featured:hover .ticket-card-desc { color: rgba(255, 255, 255, 0.7); }
.ticket-card--featured:hover .ticket-card-divider { border-top-color: rgba(255, 255, 255, 0.3); }
.ticket-card--featured:hover .ticket-card-tag { background: rgba(255, 255, 255, 0.2); color: var(--color-text-inverted); }
.ticket-card--featured:hover .btn-text-invert { color: var(--color-text-inverted); }
.ticket-card--featured:hover .btn-text-invert svg { color: var(--color-text-inverted); }

/* ── Festival Film Lists ──────────────────────────────────── */

/* Full Background Showcase Layout */
.hero-film-showcase {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface-inverted);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text-inverted);
  padding-bottom: 3rem;
  padding-top: 8rem;
}

.hero-film-showcase--video::before {
  display: none;
}

@media (min-width: 992px) {
  .hero-film-showcase {
    min-height: 75vh;
    padding-bottom: 5rem;
  }
}

.hero-film-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(var(--overlay-near-black-rgb), 0.85) 0%,
      rgba(var(--overlay-near-black-rgb), 0.4) 40%,
      transparent 100%),
    linear-gradient(to top,
      rgba(var(--overlay-near-black-rgb), 0.8) 0%,
      rgba(var(--overlay-near-black-rgb), 0.2) 30%,
      transparent 100%);
  z-index: 1;
}

.hero-film-showcase .container-xxl {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-showcase-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero-info-card {
    flex-direction: row;
    align-items: flex-end;
    gap: 2rem;
  }
}

.hero-info-card .card-thumbnail {
  width: 220px;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  border-radius: 4px;
  background-color: var(--color-surface-inverted);
  overflow: hidden;
  box-shadow: 0 4px 12px var(--color-overlay);
}

@media (min-width: 768px) {
  .hero-info-card .card-thumbnail {
    width: 280px;
  }
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-info-card .card-content {
  flex: 1;
}

.card-content .meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.card-content .film-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.card-content .film-details {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ── Film List Featured ───────────────────────────────────── */
.film-list-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .film-list-featured {
    grid-template-columns: 2fr 1.5fr;
    gap: 3rem;
  }
}

@media (min-width: 992px) {
  .film-list-featured {
    grid-template-columns: 500px 1fr;
    gap: 4rem;
  }
}

.film-list-featured .featured-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--color-surface-inverted);
}

/* ── Film Grid Layout ────────────────────────────────────── */
.film-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 1400px) {
  .film-list-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 767px) {
  .film-list-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .film-list-grid::-webkit-scrollbar {
    display: none;
  }

  .film-list-grid>* {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
}

/* ── Film Grid Cards ─────────────────────────────────────── */
.film-card-interactive {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background-color: var(--color-surface-inverted);
  aspect-ratio: 16/9;
  transform: translateZ(0);
  transition: transform 250ms ease-out;
}

.film-card-interactive .card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px;
  background:
    linear-gradient(0deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.30) 50%,
      rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(-90deg,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.70) 48%);
  color: var(--color-text-inverted);
  z-index: 2;
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.film-card-overlay .film-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease-out 80ms,
              transform 180ms ease-out 80ms;
}

.film-card-overlay .film-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.film-card-overlay .film-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-inverted);
  border: 1.5px solid var(--color-text-inverted);
  padding: 4px 8px;
  line-height: 1.2;
  white-space: nowrap;
}

.film-card-overlay .film-tag--filled {
  border-color: rgba(255, 255, 255, 0.75);
  color: rgba(255, 255, 255, 0.9);
}

.film-card-overlay .film-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease-out 120ms,
              transform 200ms ease-out 120ms;
}

.film-card-overlay .film-title,
.film-card-overlay .film-card-title-text {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-inverted);
  margin: 0 0 4px 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.film-card-overlay .film-meta,
.film-card-overlay .film-card-meta-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.4;
}

.film-card-overlay .film-card-bottom {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 200ms ease-out 160ms;
}

.film-card-overlay .film-card-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverted);
}

.film-card-overlay .film-card-arrow svg {
  display: block;
}

.film-card-interactive:hover,
.film-card-interactive:focus-visible {
  transform: scale(1.04);
  z-index: 10;
  box-shadow: 0 0 0 2px var(--color-secondary);
}

.film-card-interactive:hover .film-card-overlay,
.film-card-interactive:focus-visible .film-card-overlay {
  opacity: 1;
}

.film-card-interactive:hover .film-card-top,
.film-card-interactive:focus-visible .film-card-top {
  opacity: 1;
  transform: translateY(0);
}

.film-card-interactive:hover .film-card-text,
.film-card-interactive:focus-visible .film-card-text {
  opacity: 1;
  transform: translateY(0);
}

.film-card-interactive:hover .film-card-bottom,
.film-card-interactive:focus-visible .film-card-bottom {
  opacity: 1;
}

/* ── Film Cards (Also Screening, program grids) ──────────── */
.film-card {
  cursor: pointer;
}

.film-card-link {
  transition: opacity .18s;
}

.film-card-link:hover {
  opacity: .85;
  text-decoration: none;
}

.film-card .film-card-img {
  background: var(--color-surface-inverted);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow .15s;
}

.film-card:hover .film-card-img {
  box-shadow: 0 0 0 2px var(--color-accent);
}

.film-card-title {
  font-size: .875rem;
  font-weight: 600;
  margin-top: .625rem;
  margin-bottom: .125rem;
}

.film-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
}

/* ── Credits Table ───────────────────────────────────────── */
.credits-row {
  display: flex;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.credits-row:last-child {
  border-bottom: none;
}

.credits-label {
  font-size: .75rem;
  color: var(--color-text-muted);
  width: 130px;
  flex-shrink: 0;
}

.credits-value {
  font-size: .8125rem;
  font-weight: 500;
}

/* ── Streaming Badges ────────────────────────────────────── */
.streaming-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--color-text-muted);
  padding: .5rem .75rem;
  border: 1px solid var(--color-border-inverted-secondary);
  border-radius: 2px;
  background: rgba(255, 255, 255, .06);
}

.streaming-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-inverted);
  flex-shrink: 0;
}


/* ── Trailer Hero ────────────────────────────────────────── */
.trailer-hero {
  position: relative;
  background: var(--color-surface-inverted);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--color-text-inverted);
  padding: .6rem 1.25rem;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}

.play-btn:hover {
  background: rgba(255, 255, 255, .2);
}

/* ── Film-detail page: circular green play button ── */
.single-film .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-accent);
  border: none;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s, box-shadow .15s;
  padding: 0;
  gap: 0;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: none;
  color: var(--color-foreground);
}

.single-film .play-btn:hover {
  background: var(--color-accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.trailer-hero.is-playing .play-btn {
  display: none;
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--color-text-inverted);
}

/* ── Trailer Award Overlay (finished state) ──────────────── */

.trailer-award-overlay {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 4;
  pointer-events: none;
}

.trailer-award-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  pointer-events: auto;
}

.trailer-hero.is-playing ~ .trailer-award-overlay {
  display: none;
}

.trailer-award-laurel {
  width: 56px;
  height: 56px;
}

.trailer-award-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-tertiary);
  color: var(--color-text);
  padding: 2px 8px;
  line-height: 1.4;
}

/* ── Ticket CTA Strip ────────────────────────────────────── */
.ticket-cta-strip {
  background: var(--color-surface-inverted);
  border-top: 1px solid var(--color-border-inverted-secondary);
  border-bottom: 1px solid var(--color-border-inverted-secondary);
  color: var(--color-text-inverted);
  padding: 3rem 0;
}

/* ── Program Schedule Grid ───────────────────────────────── */
.program-schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .program-schedule-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.program-col {
  display: grid;
  grid-template-rows: auto 1fr 1fr;
  row-gap: 1.5rem;
}

@media (min-width: 768px) {
  .program-col {
    padding-right: 3rem;
    padding-left: 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .program-col:first-child {
    padding-left: 0;
  }

  .program-col:last-child {
    padding-right: 0;
    border-right: none;
  }
}

.program-date-heading {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-text-inverted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.program-event {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.program-event::before {
  content: '';
  position: absolute;
  top: 0;
  left: -0.75rem;
  right: -0.75rem;
  bottom: 0;
  background-color: var(--color-surface-inverted);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  z-index: -1;
}

.program-section-dark {
  background-color: var(--color-surface-inverted);
}

.program-section-dark .program-date-heading {
  color: var(--color-text-inverted);
}

.program-section-dark .program-event-title {
  color: var(--color-text-inverted);
}

.program-section-dark .program-event-time {
  color: var(--color-text-muted);
}

.program-section-dark .program-event:hover::before,
.program-section-dark .program-event:focus-visible::before {
  background-color: var(--color-accent);
  opacity: 1;
}

.program-section-dark .program-event:hover .program-event-title,
.program-section-dark .program-event:focus-visible .program-event-title {
  color: var(--color-text);
}

.program-section-dark .program-event:hover .program-event-time,
.program-section-dark .program-event:focus-visible .program-event-time {
  color: rgba(0, 0, 0, 0.6);
}

.program-event-title,
.program-event-time {
  transition: color 0.2s ease;
}

.program-event-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-inverted);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.program-event-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── wp:template-part: footer ─────────────────────────────── */

/* ── Footer ──────────────────────────────────────────────── */
#site-footer {
  background: var(--color-surface);
  color: var(--color-text);
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.footer-inner {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 411px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-brand-link {
  justify-content: flex-start;
}

.footer-desc {
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  line-height: var(--type-mono-md-line);
  letter-spacing: var(--type-mono-md-tracking);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-col-label {
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  line-height: var(--type-mono-md-line);
  letter-spacing: var(--type-mono-md-tracking);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-link {
  font-size: var(--type-body-xs-size);
  line-height: 2; /* ~24px at 12px */
  color: var(--color-text);
  text-decoration: none;
  display: block;
  transition: color .15s;
}

.footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link--external {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
}

@media (min-width: 992px) {
  .footer-link--external {
    align-self: flex-end;
  }
}

.footer-link--external .icon-external {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.footer-link--external:hover .icon-external {
  opacity: 1;
}

.footer-divider {
  background: var(--color-surface-inverted);
  height: 1px;
  width: 100%;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  font-size: var(--type-body-xs-size);
  line-height: 1.5;
  color: var(--color-text);
}

@media (min-width: 576px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ── Social Icons ────────────────────────────────────────── */
.social-icons {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: var(--color-text-secondary);
  color: var(--color-text-inverted);
  border-radius: 2px;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.social-icon:hover {
  background-color: var(--color-text-inverted);
  color: var(--color-text);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.social-icon img,
.social-icon svg {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1) !important;
  transition: filter 0.2s ease-in-out;
}

.social-icon:hover img,
.social-icon:hover svg {
  filter: brightness(0) !important;
}

/* Finished-state social icons */
[data-edition-status="finished"] .social-icon {
  background-color: var(--color-foreground);
  border: none;
  color: var(--color-foreground-inverted);
}

[data-edition-status="finished"] .social-icon img,
[data-edition-status="finished"] .social-icon svg {
  filter: none !important;
}

[data-edition-status="finished"] .social-icon:hover {
  background-color: var(--color-accent);
  color: var(--color-foreground-inverted);
}

[data-edition-status="finished"] .social-icon:hover img,
[data-edition-status="finished"] .social-icon:hover svg {
  filter: none !important;
}

.social-icon span {
  font-size: 14px !important;
  line-height: 1;
}

.footer-email-link {
  color: var(--color-text);
  text-decoration: none;
  transition: color .15s;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-surface-inverted);
  color: var(--color-text-inverted);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.footer-social-icon:hover {
  background: var(--color-accent);
  color: var(--color-surface-inverted);
  text-decoration: none;
}

.footer-social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Finished-state footer social icons */
[data-edition-status="finished"] .footer-social-icon {
  background: var(--color-foreground);
  color: var(--color-foreground-inverted);
}

[data-edition-status="finished"] .footer-social-icon:hover {
  background: var(--color-accent);
  color: var(--color-foreground-inverted);
}

#site-footer a:not(.footer-social-icon) {
  color: var(--color-text);
  text-decoration: none;
}

#site-footer a:not(.footer-social-icon):hover {
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-edition-status="finished"] #site-footer a:not(.footer-social-icon):hover {
  color: var(--color-accent-vibrant);
}

/* ── Accent Bar ──────────────────────────────────────────── */
.accent-bar {
  display: inline-block;
  border-left: 2px solid var(--color-accent);
  padding-left: .5rem;
  color: var(--color-accent);
}

/* ── Responsive utilities ────────────────────────────────── */
@media (max-width: 767.98px) {
  .film-section {
    min-height: 380px;
  }

  .award-card .award-poster {
    width: 90px;
  }

  .schedule-time {
    min-width: auto;
  }
}

/* ── Bootstrap overrides ─────────────────────────────────── */
/* ── Hero Typographic Video Mask ────────────────────────── */
.video-mask-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ── Ultra-Wide Breakpoints ──────────────────────────────── */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1560px;
  }
}

@media (min-width: 1800px) {
  .container-xxl {
    max-width: 1680px;
  }
}

/* ── wp:template-part: hero ──────────────────────────────── */

/* ── Hero Section (Scrolling Strips) ─────────────────────── */
.hero-section-scrolling {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--color-surface-inverted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.animated-strips-wrapper {
  position: absolute;
  top: -20vh;
  left: 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  opacity: 0.85;
  transform: rotate(-4deg) scale(1.1);
}

.hero-strip {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.hero-strip-img {
  width: 180px;
  height: 270px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  filter: grayscale(40%) contrast(1.1);
  transition: transform 0.3s ease-out;
  will-change: transform;
}

@media (min-width: 992px) {
  .hero-strip-img {
    width: 220px;
    height: 330px;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1;

  /* Mouse-position CSS vars (updated by JS) — start off-screen */
  --mx: -999px;
  --my: -999px;

  /* Single soft-edged circle reveal */
  mask-image:
    radial-gradient(circle 320px at var(--mx) var(--my),
      transparent 0%, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.5) 60%, black 90%);

  -webkit-mask-image:
    radial-gradient(circle 320px at var(--mx) var(--my),
      transparent 0%, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.5) 60%, black 90%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 64px;
}

.hero-section-scrolling .spotlight__teaser-row {
  margin-top: auto;
}

/* ── Hero Scroll Indicator ───────────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: calc(2rem + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--color-accent);
  animation: hero-bob 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

@keyframes hero-bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── Bleed Backgrounds ───────────────────────────────────── */
.bleed-bg-left,
.bleed-bg-right {
  position: relative;
}

@media (min-width: 768px) {
  .bleed-bg-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100%;
    background-color: inherit;
    z-index: -1;
  }

  .bleed-bg-right::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100%;
    background-color: inherit;
    z-index: -1;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECTION ARCHITECTURE
   WordPress/ACF Flexible Content — section type system
   Each section uses:
     data-section-type="<type>"

   ACF layout slugs:
     spotlight        hero, video bg, logo + CTAs
     program-preview  3-day card grid
     film-grid        multi-film thumbnail grid
     showcase         single-film, large bg image or video
     awards           jury + audience awards grid
     tickets          ticket cards
   ══════════════════════════════════════════════════════════════ */

/* ── Winner cards (dark overrides) ──────────────────────── */
.winner-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  padding: 2px 8px;
  align-self: flex-start;
}

.winner-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: var(--color-text-inverted);
  margin-bottom: 8px;
}

.winner-meta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-inverted);
  opacity: 0.5;
  margin-bottom: 8px;
}

.winner-desc {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-inverted);
  margin-bottom: 0;
}

.winner-trailer-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-inverted) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-underline-offset 0.2s ease;
  display: inline-block;
  margin-top: 8px;
}

.winner-trailer-link:hover {
  color: var(--color-accent) !important;
  text-underline-offset: 8px;
}

.winner-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.winner-poster-container {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 16/9;
  align-self: flex-start;
  display: block;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.winner-laurel {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 2;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .winner-poster-container {
    width: 260px;
  }
}

.winner-poster-wrapper {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.winner-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  background-color: var(--color-border-muted);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.winner-poster-container:hover .winner-poster-img,
.winner-card:hover .winner-poster-img {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.winner-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

/* ACF: edition_status — show when festival is finished */
.winners-section {
  background-color: var(--color-surface-inverted);
  color: var(--color-text-inverted);
}

.winners-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.winners-row-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .winners-row-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
/* end ACF: edition_status */

/* ── Film award badges ───────────────────────────────────── */
.film-award-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-tertiary);
  color: var(--color-text);
  padding: 2px 8px;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-tertiary);
  color: var(--color-text);
  padding: 3px 10px;
}

/* ============================================================
   DETAIL PAGE COMPONENTS (program · film · event)
   ============================================================ */

/* ── Tag overrides for white-background content sections ──── */
.page-program .tag,
.single-film .tag,
.single-event .tag {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.page-program .tag-fill,
.single-film .tag-fill,
.single-event .tag-fill {
  background: var(--color-surface-inverted);
  color: var(--color-text-inverted);
  border: 1px solid var(--color-border);
}

/* ── Bundle Grid ─────────────────────────────────────────── */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bundle-film,
.bundle-film:hover {
  text-decoration: none;
  color: var(--color-text);
  display: block;
}

.bundle-film:hover .bundle-title {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 2px;
}

.bundle-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--color-border-muted);
  margin-bottom: 16px;
  overflow: hidden;
  outline: 0px solid var(--color-accent);
  transition: outline .2s ease;
}

.bundle-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.bundle-film:hover .bundle-poster {
  outline: 15px solid var(--color-accent);
}

.bundle-film:hover .bundle-poster img {
  transform: scale(1.08);
}
.bundle-film--event:hover .bundle-poster {
  outline-color: var(--color-surface-inverted);
}

/* .bundle-title — on <h3>; h3 element provides all font tokens */
.bundle-title {
  color: var(--color-text);
  margin-bottom: 8px;
}

.bundle-meta {
  font-family: var(--font-mono);
  font-size: var(--type-mono-lg-size);
  font-weight: var(--type-mono-lg-weight);
  color: var(--color-text);
  margin-bottom: 0;
  line-height: var(--type-mono-lg-line);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bundle-time {
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  color: var(--color-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 0;
}

/* ── Film Info Block ─────────────────────────────────────── */
.info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 32px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
}

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

.info-label {
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin: 0;
}

.info-value {
  font-size: var(--type-body-md-size);
  font-weight: var(--type-body-md-weight);
  line-height: var(--type-body-md-line);
  letter-spacing: var(--type-body-md-tracking);
  color: var(--color-text);
  text-transform: capitalize;
  margin: 0;
}

/* ── CTA Strip ───────────────────────────────────────────── */
.pg-cta {
  background: var(--color-accent);
  padding: 80px 0;
}

.pg-cta .cta-venue {
  color: var(--color-text);
  margin-bottom: 8px;
}

.pg-cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

/* ── Also Screening / More Events section ─────────────────── */
.also-screening-section {
  padding: 56px 0;
  background: var(--color-surface);
}

.also-screening-section h2 {
  font-size: var(--type-h2-size);
  font-weight: var(--type-h2-weight);
  line-height: var(--type-h2-line);
  letter-spacing: var(--type-h2-tracking);
  color: var(--color-text);
  margin-bottom: 32px;
}

/* ── Shared bundle + CTA responsive ──────────────────────── */
@media (max-width: 1199.98px) {
  .bundle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .bundle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .also-screening-section {
    padding: 40px 0;
  }
  .pg-cta {
    padding: 60px 0;
  }
}

@media (max-width: 767.98px) {
  .bundle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pg-cta {
    padding: 48px 0;
  }
}

@media (max-width: 575px) {
  .bundle-grid {
    grid-template-columns: 1fr;
  }
  .bundle-meta {
    font-size: 10px;
  }
}

/* ============================================================
   PROGRAM PAGE (program.html)
   ============================================================ */

.page-program {
  background: var(--color-surface);
  color: var(--color-text);
}

/* ── Program Hero (dark strip) ────────────────────────────── */
.pg-hero {
  padding-top: 100px;
  padding-bottom: 24px;
  background: var(--color-surface-inverted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pg-hero .film-meta {
  color: var(--color-accent);
}

.pg-hero h1 {
  color: var(--color-text-inverted);
  margin-bottom: 1.5rem;
}

.pg-hero .hero-desc {
  max-width: 560px;
  margin-bottom: 2.25rem;
  color: var(--color-text-inverted);
}

/* ── Sticky Filter Strip ──────────────────────────────────── */
.pg-tabs {
  position: sticky;
  top: 88px;
  z-index: 90;
  background: var(--color-surface);
  padding: 0;
  margin-top: -1px;
}

.pg-tabs .d-flex {
  padding: 16px 0;
}

.pg-tabs .tab-btn {
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.4;
  background: var(--color-surface-muted);
  border: none;
  padding: 8px 24px;
  cursor: pointer;
  color: var(--color-text);
  white-space: nowrap;
  transition: background .15s, color .15s;
  outline: none;
}

.pg-tabs .tab-btn:hover {
  background: var(--color-surface-inverted);
  color: var(--color-text-inverted);
}

.pg-tabs .tab-btn:focus {
  outline: none;
}

.pg-tabs .tab-btn:focus-visible {
  outline: 2px solid var(--color-border);
  outline-offset: -2px;
}

.pg-tabs .tab-btn.active {
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 500;
}

/* ── Schedule Sections (show/hide by day) ─────────────────── */
.schedule-section {
  display: none;
  background: var(--color-surface);
}

.schedule-section.active {
  display: block;
}

.schedule-section .day-label {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* ── Schedule Rows ────────────────────────────────────────── */
.schedule-row-link,
.schedule-row-static {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding: 40px 0;
  transition: background .2s ease;
}

a.schedule-row-link,
a.schedule-row-link:hover {
  text-decoration: none;
  color: inherit;
}

a.schedule-row-link:hover .film-title {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
}

/* Schedule time column */
.page-program .schedule-time {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  padding-top: 2px;
  flex-shrink: 0;
}

/* Content wrapper inside schedule rows */
.schedule-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
  order: 3;
}

/* Event rows: no poster — slide the content into the poster's visual slot */
.schedule-content--event {
  order: 2;
}

.schedule-title-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Poster image on schedule rows */
.schedule-poster {
  width: 320px;
  height: 180px;
  flex-shrink: 0;
  order: 2;
  background-color: var(--color-border-secondary);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  outline: 0px solid var(--color-accent);
  transition: outline .2s ease;
}

.schedule-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

a.schedule-row-link:hover .schedule-poster {
  outline: 15px solid var(--color-accent);
}

.schedule-row--event a.schedule-row-link:hover .schedule-poster {
  outline-color: var(--color-surface-inverted);
}

a.schedule-row-link:hover .schedule-poster img {
  transform: scale(1.08);
}

/* ── Program Day Header ───────────────────────────────────── */
.pg-day-header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--color-border-muted);
  margin-bottom: 0;
}

/* Day name heading inside .pg-day-header — display-lg scale */
.pg-day-heading {
  font-size: var(--type-display-lg-size);
  line-height: var(--type-display-lg-line);
  font-weight: var(--type-display-lg-weight);
  letter-spacing: var(--type-display-lg-tracking);
  color: var(--color-text);
}

/* Film text (light-page context) */
/* .page-program .film-title — on <h3>; h3 element provides all font tokens */
.page-program .film-title {
  color: var(--color-text);
  margin-bottom: 0;
}

.page-program .schedule-section .film-meta {
  font-family: var(--font-mono);
  font-size: var(--type-mono-lg-size);
  font-weight: var(--type-mono-lg-weight);
  color: var(--color-text);
  margin-bottom: 0;
  line-height: var(--type-mono-lg-line);
  letter-spacing: var(--type-mono-lg-tracking);
  text-transform: uppercase;
}

.page-program .film-desc {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Program page responsive ──────────────────────────────── */

/* Tab strip: wrap to multiple rows on mobile */
@media (max-width: 767.98px) {
  .pg-tabs .d-flex {
    flex-wrap: wrap;
  }
  .pg-tabs .tab-btn {
    font-size: .8125rem;
    padding: 6px 16px;
  }
}

@media (max-width: 991.98px) {
  .schedule-row-link,
  .schedule-row-static {
    gap: 40px;
  }
  .schedule-poster {
    width: 240px;
    height: 135px;
  }
}

@media (max-width: 767.98px) {
  .page-program .schedule-time {
    min-width: 80px;
    font-size: 13px;
  }
  .page-program .schedule-row {
    padding: 24px 0;
    border-top: 1px solid var(--color-border-muted);
  }
  .schedule-row-link,
  .schedule-row-static {
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
  }
  .bundle-grid {
    gap: 24px;
  }
  .schedule-poster {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    order: -1;
  }
}

@media (max-width: 575px) {
  .schedule-row-link,
  .schedule-row-static {
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }
}

/* ============================================================
   FILM DETAIL PAGE (film-detail.html)
   ============================================================ */

/* Detail pages: nav in document flow, sticky on scroll */
.single-film .nav,
.single-event .nav {
  position: sticky;
  top: 0;
}

.single-film {
  background: var(--color-surface);
  color: var(--color-text);
}

/* ── Trailer Section ──────────────────────────────────────── */
.trailer-section {
  background: var(--color-surface-inverted);
  position: relative;
}

.trailer-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  background: var(--color-surface-inverted);
  position: relative;
  overflow: hidden;
}

.trailer-poster {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: pointer;
  transition: opacity .4s;
}

.trailer-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.trailer-hero.is-playing .trailer-poster {
  opacity: 0;
  pointer-events: none;
}

.trailer-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-overlay) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  transition: opacity .4s;
}

.trailer-hero.is-playing .trailer-gradient {
  opacity: 0;
}

.trailer-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
  aspect-ratio: 16 / 9;
  border: none;
  opacity: 0;
  transition: opacity .4s;
}

.trailer-hero.is-playing .trailer-video {
  opacity: 1;
}

/* ── Purpose Section ─────────────────────────────────────── */
.purpose-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--color-surface);
}

/* Layout wrapper */
.purpose-layout {
  display: flex;
  align-items: center;
  gap: 112px;
}

/* Content */
.purpose-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
  flex: 1;
  min-width: 0;
}

/* Elephant icon (finished state) */
.purpose-icon {
  flex-shrink: 0;
  width: 280px;
}

.purpose-icon img {
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(11%) sepia(8%) saturate(497%) hue-rotate(18deg) brightness(98%) contrast(92%);
}

.purpose-text {
  font-family: var(--type-display-sm-family);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--color-text);
}

.purpose-text p {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0 0 1em;
}

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

.purpose-label {
  font-family: var(--type-h4-family);
  font-size: var(--type-h4-size);
  font-weight: var(--type-h4-weight);
  line-height: var(--type-h4-line);
  letter-spacing: var(--type-h4-tracking);
  color: var(--color-text);
  margin: 0;
}

/* ── Scroll reveal animation ────────────────────────────── */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .purpose-section {
    padding: 80px 0;
  }
  .purpose-layout {
    gap: 56px;
  }
  .purpose-inner {
    gap: 40px;
  }
  .purpose-icon {
    width: 200px;
  }
}

@media (max-width: 767.98px) {
  .purpose-layout {
    flex-direction: column;
    align-items: flex-start;
  }
  .purpose-icon {
    width: 160px;
    order: -1;
  }
}

@media (max-width: 575px) {
  .purpose-section {
    padding: 56px 0;
  }
  .purpose-layout {
    gap: 32px;
  }
  .purpose-inner {
    gap: 32px;
  }
  .purpose-icon {
    width: 120px;
  }
}

/* ── Film Info Section ────────────────────────────────────── */
.film-info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.film-info-section {
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.film-heading {
  font-size: var(--type-display-lg-size);
  font-weight: var(--type-display-lg-weight);
  color: var(--color-text);
  line-height: var(--type-display-lg-line);
  letter-spacing: var(--type-display-lg-tracking);
  margin-bottom: 0;
}

.single-film .film-meta {
  font-family: var(--font-mono);
  font-size: var(--type-mono-xl-size);
  font-weight: var(--type-mono-xl-weight);
  line-height: var(--type-mono-xl-line);
  color: var(--color-text);
  letter-spacing: var(--type-mono-xl-tracking);
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 0;
}

.single-film .film-desc {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Film Gallery ────────────────────────────────────────── */
.film-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.film-gallery-item {
  flex: 1 0 0;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 262 / 150;
  background: var(--color-surface-inverted);
  overflow: hidden;
  position: relative;
  display: block;
  cursor: pointer;
  border: none;
  padding: 0;
  font: inherit;
}

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

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

/* "More photos" overlay on last visible thumbnail */
.film-gallery-item--more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.3s ease;
}

.film-gallery-item--more:hover::after {
  background: rgba(0, 0, 0, 0.3);
}

.film-gallery-count {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: var(--type-mono-lg-size);
  font-weight: var(--type-mono-lg-weight);
  letter-spacing: var(--type-mono-lg-tracking);
  text-transform: uppercase;
  color: var(--color-text-inverted);
  text-decoration: none;
}

/* ── Film Credits Grid ───────────────────────────────────── */
.film-credits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--color-border-muted);
  border-bottom: 1px solid var(--color-border-muted);
  padding: 8px 0;
}

.film-credits-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.film-credits-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.film-credits-divider {
  height: 1px;
  background: var(--color-border-muted);
}

@media (max-width: 767.98px) {
  .film-credits-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .film-credits-cell {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border-muted);
  }

  .film-credits-cell:last-child {
    border-bottom: none;
  }

  .film-gallery {
    gap: 8px;
  }

  .film-gallery-item {
    flex: 1 0 calc(50% - 4px);
  }
}

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  color: var(--color-text-inverted);
  cursor: pointer;
  padding: 12px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: var(--type-mono-md-tracking);
  color: var(--color-text-inverted);
  opacity: 0.7;
}

@media (max-width: 767.98px) {
  .lightbox-prev,
  .lightbox-next {
    padding: 20px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
    padding: 16px;
  }
}

/* ── Inverted tags (on dark/image backgrounds) ────────────── */
.tag-invert {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: var(--color-text-inverted);
  line-height: 1.25;
}

.tag-invert-fill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid var(--color-text-inverted);
  background: var(--color-surface);
  color: var(--color-text);
  line-height: 1.25;
}

/* ── Film detail responsive ───────────────────────────────── */
@media (max-width: 991.98px) {
  .film-info-section {
    padding: 40px 0;
  }
}

/* ============================================================
   EVENT DETAIL PAGE (event-detail.html)
   ============================================================ */

.single-event {
  background: var(--color-surface);
  color: var(--color-text);
}

/* ── Event Hero ───────────────────────────────────────────── */
.event-hero {
  background: var(--color-surface-inverted);
  padding: 40px 0;
}

.event-hero-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--color-secondary);
  color: var(--color-text-inverted);
  line-height: 1.25;
  margin-bottom: 24px;
}

.event-hero-title {
  font-size: var(--type-display-lg-size);
  font-weight: 600;
  color: var(--color-text-inverted);
  line-height: var(--type-display-lg-line);
  letter-spacing: var(--type-display-lg-tracking);
  margin-bottom: 16px;
}

.event-hero-meta {
  font-family: var(--font-mono);
  font-size: var(--type-mono-xl-size);
  font-weight: var(--type-mono-xl-weight);
  color: var(--color-accent);
  letter-spacing: var(--type-mono-xl-tracking);
  text-transform: uppercase;
  line-height: var(--type-mono-xl-line);
  margin-bottom: 0;
}

/* ── Event Details Section ────────────────────────────────── */
.event-details-section {
  background: var(--color-surface-inverted);
  padding: 32px 0;
  overflow: visible;
}

.event-details-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.event-details-desc {
  flex: 1;
  min-width: 0;
}

.event-details-desc p {
  font-size: var(--type-body-md-size);
  font-weight: var(--type-body-md-weight);
  line-height: var(--type-body-md-line);
  letter-spacing: var(--type-body-md-tracking);
  color: var(--color-text-inverted);
  margin-bottom: 0;
}

.event-details-desc p a {
  color: var(--color-text-inverted);
  text-decoration: underline;
}

.event-details-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.event-details-actions .btn-accent,
.event-details-actions .btn-outline-secondary {
  white-space: nowrap;
}

/* Purple-outlined button (dark bg) */
.btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  min-height: 48px;
  background: transparent;
  color: var(--color-text-inverted);
  border: 2px solid var(--color-secondary);
  font-family: var(--font-sans);
  font-size: var(--type-h5-size);
  font-weight: var(--type-h5-weight);
  line-height: var(--type-h5-line);
  letter-spacing: var(--type-h5-tracking);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  text-decoration: none;
}

.btn-outline-secondary svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-outline-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-text-inverted);
}

/* ── Event detail responsive ──────────────────────────────── */
@media (max-width: 991.98px) {
  .event-hero {
    padding: 32px 0;
  }
  .event-details-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .event-details-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .event-hero {
    padding: 24px 0;
  }
  .event-details-actions {
    flex-direction: column;
  }
  .event-details-actions .btn-accent,
  .event-details-actions .btn-outline-secondary,
  .event-details-actions .atc-wrap {
    width: 100%;
  }
}

/* ── Add to Calendar dropdown ────────────────────────────── */
.atc-wrap {
  position: relative;
  display: inline-block;
}

.atc-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border-muted);
  border-radius: 4px;
  min-width: 196px;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.atc-option {
  display: block;
  width: 100%;
  padding: 11px 16px;
  font-family: var(--font-mono);
  font-size: var(--type-mono-md-size);
  font-weight: var(--type-mono-md-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border-muted);
  cursor: pointer;
  text-align: left;
  transition: background .15s ease;
}

.atc-option:last-child {
  border-bottom: none;
}

.atc-option:hover {
  background: var(--color-surface-muted);
  color: var(--color-text);
  text-decoration: none;
}

/* ─── Prose pages (Privacy Policy, Terms, etc.) ────────────────────────────
   .page-prose  → <main> wrapper
   .prose-hero  → page title section (white bg, matches subpage hero pattern)
   .prose-body  → content area
   .prose-col   → max-width reading column, centred
   .prose-*     → typography overrides for long-form content
────────────────────────────────────────────────────────────────────────── */

.page-prose {
  background: var(--color-surface);
  color: var(--color-text);
}

.prose-hero {
  padding-top: 100px;
  text-align: center;
}

.prose-body {
  padding-top: 3rem;
  padding-bottom: 6rem;
}

/* Constrain prose to a comfortable reading width, centred */
.prose-col {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Long-form content typography ── */
.prose-col p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.prose-col h2 {
  font-size: var(--type-h3-size);
  font-weight: var(--type-h3-weight);
  line-height: var(--type-h3-line);
  letter-spacing: var(--type-h3-tracking);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
}

.prose-col h3 {
  font-size: var(--type-h4-size);
  font-weight: var(--type-h4-weight);
  line-height: var(--type-h4-line);
  letter-spacing: var(--type-h4-tracking);
  margin-top: 2rem;
  margin-bottom: .5rem;
}

.prose-col h2:first-child,
.prose-col h3:first-child {
  margin-top: 0;
}

.prose-col ul,
.prose-col ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-col li {
  margin-bottom: .35rem;
  font-size: var(--type-body-md-size);
  line-height: var(--type-body-md-line);
  letter-spacing: var(--type-body-md-tracking);
}

.prose-col a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-border-secondary);
  text-underline-offset: 3px;
}

.prose-col a:hover {
  text-decoration-color: var(--color-text);
}

.prose-col strong {
  font-weight: 600;
}




/*films section start*/
.films-section {
    background: var(--color-surface);
}

.section-title{
  font-size: var(--type-display-lg-size);
    line-height: var(--type-display-lg-line);
    font-weight: var(--type-display-lg-weight);
    letter-spacing: var(--type-display-lg-tracking);
    color: var(--color-text);
    margin: 0;
}
/*.news-list {
    display: block;
    overflow-x: auto;
    overflow-y: clip;
    position: relative;
    white-space: nowrap;
    transform: translate3d(0, 0, 0);
}*/


.news-list ul {
    padding: 0px;
    flex-wrap: wrap;
}
.news-list ul li{list-style: none;display: flex;}
.news-list ul li.active a{background: var(--color-foreground-accent);color: var(--color-surface);}
.news-list ul li a {
  background: var(--color-surface-muted);
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: normal;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 2%;
    padding: 8px 24px;
    transition: all 0.3s;
}

.news-list ul li a:hover{
  color: var(--color-surface);
  background: var(--color-foreground-accent);
}

.films-section .tag {
    color: var(--color-text);
    font-size: 12px;
    letter-spacing: 4%;
    border: 1px solid var(--color-text);
    line-height: normal;
}
.films-section .news-card {
    display: block;
    margin-bottom: 20px;
}


.films-section .h3-title{ color:var(--color-text);font-size: 28px;font-weight:600;}
.films-section .news-date{color:var(--color-text);font-size: 14px;line-height: 140%;font-weight:500;text-transform: uppercase;font-family: var(--font-mono);letter-spacing: 2%;}
.films-section .news-card p {margin: 2px 0px;}
.events-haritage-sec .event-card-body {gap: 16px;}
.events-haritage-sec .event-card-header {
    padding-bottom: 0;
    border-bottom: 0px solid var(--color-border-secondary);
}
.events-haritage-sec .event-card-meta {
    color: var(--color-text);
}

.author-name p {
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}
.event-card .author-name p strong{display: block;}
.event-card:hover .author-name p {
  border-bottom: 1px solid var(--color-surface);
    color:var(--color-surface);
}

.events-haritage-sec .event-card-excerpt {
    min-height: 140px;
     color: var(--color-text);
}

.join-festival-sec{padding: 4rem 0;}
.join-festival-sec .etp-section-header{margin-bottom: 0px;}
.join-festival-sec p {
   color:var(--color-text);
    font-size: 16px;
    line-height: 140%;
    font-weight: 400;
    letter-spacing: 2%;
    font-family: var(--font-mono);
    text-transform: uppercase;
}


/*flim submission on home page hero section*/

ul.film_submission_date {
    display: flex;
    align-items: center;
    padding: 0px;
    gap: 40px;
}

ul.film_submission_date li {
    list-style: none;
    font-family: var(--font-mono);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    color: var(--color-text);
}

ul.film_submission_date li span {
    color: var(--color-foreground-accent);
    font-weight: 500;
}
ul.film_submission_date li:after {
    content: "";
    width: 2px;
    height: 20px;
    background: var(--color-text);
    position: absolute;
    left: auto;
    right: -20px;
    top: 2px;
}
ul.film_submission_date li:last-child:after {
    display: none;
}



.nav-menu .menu-item {
    position: relative;
}
.sub-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width:auto;
    padding:0px;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border: 0;
    border-radius:0px;
    text-align: center;
    width: 100%;
}
.nav-menu ul.sub-menu li a {
    padding: 0.5rem !important;
}

.nav-menu ul li:hover .sub-menu {
        display: block !important;
        top: 100%;
}
.menu-item-has-children{position: relative;}
.menu-item-has-children:after {
    content: "";
    position: absolute;
    left: auto;
    right: -20px;
    top: 10px;
    width: 18px;
    height: 18px;
    background-image: url("https://dallasfilmutsav.org/wp-content/uploads/2026/05/down-arrow-1.png");
    background-size: contain;
    background-repeat: no-repeat;
}


.mobile-overlay-nav ul li:hover .sub-menu {
    display: block;
    background: transparent;
    box-shadow: none;
    text-align: center;
}


@media (max-width: 991px) {
  ul.film_submission_date {
    align-items: flex-start;
    padding: 0px;
    gap: 7px;
    flex-direction: column;
}
ul.film_submission_date li:after{display: none;}
.mobile-overlay {
    min-height: calc(100vh - 50px);
    overflow-y: scroll;
}
.menu-item-has-children:after {
    right: -30px;
    width: 30px;
    height: 30px;
}
  
}




@media (max-width: 575px) {
  .events-haritage-sec .event-card-excerpt {
    min-height:auto;
}

}


@media (max-width:399px) {
.btn-accent, .btn-accent-invert, .btn-tertiary, .btn-outline, .btn-outline-invert, .btn-on-accent, .btn-on-accent-secondary, .btn-text-invert{font-size: 16px;}
}