/*
Theme Name: ZT Puppet v2
Theme URI: https://teatrkukolzt.org
Author: AI Agent
Description: A modern, theatrical theme ported from zt-puppet-v2.lovable.app.
Version: 1.0.0
Text Domain: zt-puppet-v2
*/

/* Design System - Source: src/index.css */
:root {
  /* Primary - Deep Burgundy (#420101) */
  --primary: 0 100% 15%;
  --primary-foreground: 40 30% 95%;

  /* Background - Warm cream/parchment */
  --background: 43 37% 96%;
  --foreground: 25 35% 15%;

  /* Card - Slightly warmer cream */
  --card: 38 40% 98%;
  --card-foreground: 25 35% 15%;

  /* Popover */
  --popover: 38 40% 98%;
  --popover-foreground: 25 35% 15%;

  /* Secondary - Warm Brown (wood texture) */
  --secondary: 20 35% 25%;
  --secondary-foreground: 40 30% 95%;

  /* Muted - Light ochre */
  --muted: 38 30% 90%;
  --muted-foreground: 25 20% 45%;

  /* Accent - Warm Gold */
  --accent: 43 70% 47%;
  --accent-foreground: 25 35% 10%;

  /* Destructive */
  --destructive: 0 70% 45%;
  --destructive-foreground: 40 30% 95%;

  /* Border & Input */
  --border: 30 25% 82%;
  --input: 30 25% 82%;
  --ring: 0 100% 15%;

  --radius: 0.375rem;

  /* Custom Palette vars for direct usage if needed */
  --burgundy: 0 100% 15%;
  --burgundy-dark: 0 100% 10%;
  --burgundy-light: 0 100% 25%;
  --brown: 20 35% 25%;
  --gold: 43 70% 47%;
  --gold-light: 43 60% 60%;
  --gold-dark: 43 75% 35%;

  /* Shadows */
  --shadow-theatrical: 0 10px 40px -10px hsl(25 35% 15% / 0.15);
  --shadow-card: 0 4px 20px -4px hsl(25 35% 15% / 0.1);
  --shadow-hover: 0 8px 30px -6px hsl(25 35% 15% / 0.18);
}

html {
  scroll-behavior: auto;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Source Sans 3", system-ui, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
}

/* Utilities */
.container-theatre {
  width: 100%;
  max-width: 100rem; /* 1600px — comfortable on Full HD, reasonable on 2K/4K */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container-theatre {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

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

@media (min-width: 1440px) {
  .container-theatre {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* Nav Link Styles */
.nav-link {
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition-property: color;
  transition-duration: 200ms;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.125rem;
  width: 0;
  background-color: hsl(var(--primary));
  transition: width 300ms;
}

.nav-link:hover::after,
.nav-link.current-menu-item::after {
  width: 100%;
}

.nav-link.current-menu-item {
  color: hsl(var(--primary));
}

/* Card Theatrical */
.card-theatrical {
  background-color: hsl(var(--card));
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.card-theatrical:hover {
  box-shadow: var(--shadow-hover);
}

/* Scrollbar Hiding Utility */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ── WP Admin Bar offset for fixed header ── */
/* !important beats Tailwind CDN's top-0 utility class */
body.admin-bar #site-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar #site-header {
    top: 46px !important;
  }
}

/* ── Smart Header ─────────────────────────────── */
#site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  will-change: transform;
  transition:
    transform 0.2s ease,
    background 0.5s ease,
    border-color 0.5s ease;
}
#site-header.header--hidden {
  transform: translateY(-100%);
}

#site-header .nav-link,
#site-header .header-phone,
#site-header .header-logo-top,
#site-header .header-logo-main,
#site-header #mobile-menu-toggle {
  transition: color 0.5s ease;
}

/* ── Dark mode header ─────────────────────────── */
body.page-dark #site-header:not(.header--transparent) {
  background: rgba(62, 1, 1, 0.93) !important;
  border-color: rgba(246, 244, 238, 0.1) !important;
}
body.page-dark #site-header:not(.header--transparent) .nav-link,
body.page-dark #site-header:not(.header--transparent) .header-phone {
  color: rgba(246, 244, 238, 0.8) !important;
}
body.page-dark #site-header:not(.header--transparent) .header-logo-top {
  color: rgba(246, 244, 238, 0.55) !important;
}
body.page-dark #site-header:not(.header--transparent) .header-logo-main {
  color: #f6f4ee !important;
}
body.page-dark #site-header:not(.header--transparent) .nav-link::after {
  background-color: rgba(246, 244, 238, 0.6) !important;
}
body.page-dark #site-header:not(.header--transparent) #mobile-menu-toggle {
  color: rgba(246, 244, 238, 0.8) !important;
}

.header-logo-top {
  font-size: 1.33rem;
  line-height: 1.8rem;
}

.header-logo-main {
  font-size: 1.75rem;
  line-height: 1.75rem;
  letter-spacing: 0.05em;
}

#site-header .nav-link {
  font-size: 1.5rem;
}

#site-header.header--transparent {
  background: transparent !important;
  backdrop-filter: none !important;
  border-color: transparent !important;
  transition: transform 0.2s ease;
}
#site-header.header--transparent .nav-link,
#site-header.header--transparent .header-phone,
#site-header.header--transparent .header-logo-top,
#site-header.header--transparent .header-logo-main {
  color: rgba(255, 255, 255, 0.9) !important;
}

#site-header.header--transparent .nav-link:hover,
#site-header.header--transparent .header-phone:hover {
  color: #ffffff !important;
}
#site-header.header--transparent #mobile-menu-toggle {
  color: white;
}

#site-header.header--transparent .nav-link::after {
  background: white !important;
}

/* ── Pagination ────────────────────────────────── */
.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  font-weight: 500;
  transition: all 0.2s;
}
.nav-links a:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--accent));
}
.nav-links span.current {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

/* ── Footer fade-in ────────────────────────────── */
/* Footer fades in over 1 s as it enters the viewport (IntersectionObserver in header.js) */
footer {
  opacity: 0;
  transition: opacity 0.5s ease;
}
footer.footer--visible {
  opacity: 1;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-column {
  width: max-content;
  max-width: 100%;
}
.footer-column--about,
.footer-column--contact {
  width: auto;
  max-width: 17rem;
}
.footer-theatre-name {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  font-size: 1.25rem;
  line-height: 1.08;
}
.footer-theatre-name span {
  display: block;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    column-gap: 3rem;
    row-gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: max-content max-content max-content max-content;
    justify-content: space-between;
    column-gap: clamp(2.5rem, 4vw, 5rem);
  }
}

/* ════════════════════════════════════════════════════
   SINGLE SHOW PAGE  (single-event.php)  — se-* namespace
════════════════════════════════════════════════════ */

/* ── Shared buttons ────────────────────────────── */
.se-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.2s;
}
.se-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.35);
}
.se-btn--gold {
  background: hsl(var(--gold));
  color: #fff;
}
.se-btn--gold:hover {
  background: hsl(var(--gold-dark));
}
.se-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}
.se-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}
.se-btn--full {
  width: 100%;
  justify-content: center;
}

/* ── Hero ──────────────────────────────────────── */
.se-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.se-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: blur(10px) brightness(0.35);
  transform: scale(1.1);
  transition: opacity 0.6s;
}

.se-hero__curtain {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    hsl(0 100% 10% / 0.92) 0%,
    hsl(0 80% 15% / 0.75) 55%,
    hsl(20 40% 10% / 0.4) 100%
  );
}

.se-hero__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 4rem;
  align-items: center;
  padding-top: clamp(7rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
@media (max-width: 900px) {
  .se-hero__body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.se-hero__text {
  color: hsl(var(--primary-foreground));
}

/* Premier badge */
.se-premier-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--gold));
  border: 1px solid hsl(var(--gold) / 0.6);
  border-radius: 2px;
  padding: 4px 12px;
  margin-bottom: 1.25rem;
}

.se-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.5rem;
  text-shadow: 0 4px 40px hsl(0 0% 0% / 0.4);
}

.se-rule {
  width: 3.5rem;
  height: 3px;
  background: linear-gradient(90deg, hsl(var(--gold)), hsl(var(--gold) / 0));
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

/* Meta chips */
.se-chips {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.se-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.2rem;
  font-weight: 500;
  color: hsl(0 0% 100% / 0.82);
  background: hsl(0 0% 100% / 0.08);
  border: 1px solid hsl(0 0% 100% / 0.18);
  border-radius: 100px;
  padding: 5px 13px;
  backdrop-filter: blur(6px);
}
.se-chip__ico {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.se-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Poster */
.se-hero__poster-wrap {
  position: relative;
  justify-self: end;
}
@media (max-width: 900px) {
  .se-hero__poster-wrap {
    justify-self: center;
    order: -1;
  }
}

.se-poster-glow {
  position: absolute;
  inset: -20px;
  background: hsl(var(--gold) / 0.15);
  border-radius: 12px;
  filter: blur(30px);
  z-index: 0;
}
.se-poster {
  position: relative;
  z-index: 1;
  width: clamp(160px, 20vw, 290px);
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow:
    0 0 0 1px hsl(0 0% 100% / 0.12),
    0 32px 80px -12px hsl(0 0% 0% / 0.65);
}

/* Scroll indicator */
.se-hero__scroll {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
}
.se-hero__scroll-line {
  display: block;
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, hsl(var(--gold) / 0.7), transparent);
  animation: se-scroll-pulse 2s ease-in-out infinite;
}
@keyframes se-scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ── Sections ──────────────────────────────────── */
.se-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.se-section--alt {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

/* Ghost-number section heading */
.se-heading {
  position: relative;
  margin-bottom: 2.5rem;
  padding-top: 0.5rem;
}
.se-heading--center {
  text-align: center;
}

.se-heading__num {
  position: absolute;
  top: -0.35em;
  left: -0.15em;
  font-family: "Playfair Display", serif;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px hsl(var(--primary) / 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.se-heading--center .se-heading__num {
  left: 50%;
  transform: translateX(-50%);
}

.se-heading__title {
  position: relative;
  z-index: 1;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: hsl(var(--primary));
  margin: 0;
  padding-top: 0.75rem;
}

/* ── Description ───────────────────────────────── */
.se-description {
  background: hsl(var(--background));
}
.se-prose {
  max-width: 72ch;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.85;
  color: hsl(var(--foreground) / 0.88);
  columns: 1;
}
.se-prose p {
  margin-bottom: 1.1em;
}
@media (min-width: 1024px) {
  .se-prose {
    max-width: none;
    columns: 2;
    column-gap: 4rem;
  }
}

/* ── Split layout ──────────────────────────────── */
.se-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
@media (max-width: 900px) {
  .se-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.se-split--center {
  align-items: center;
}
.se-split--video-info {
  align-items: start;
}
.se-desc-only {
  width: 66%;
  margin: 0 auto;
}

.se-panel {
}

/* ── Crew / Cast (dotted leaders) ──────────────── */
.se-crew {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.se-crew__row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  font-size: 0.95rem;
}
.se-crew__row:last-child {
  border-bottom: none;
}

.se-crew__role {
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
  max-width: 48%;
}
.se-crew__dots {
  flex: 1;
  border-bottom: 1px dotted hsl(var(--border));
  margin: 0 0.35rem;
  margin-bottom: 0.2em;
  min-width: 1rem;
}
.se-crew__name {
  font-weight: 600;
  color: hsl(var(--foreground));
  text-align: right;
  flex-shrink: 0;
  max-width: 52%;
}
.se-crew__name--link {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: color 0.2s;
}
.se-crew__name--link:hover {
  color: hsl(var(--gold));
}

/* ── Gallery ───────────────────────────────────── */
.se-gallery-section {
  padding-bottom: 0;
}

.se-gallery {
  margin-top: 2rem;
}

.se-swiper-main .swiper-slide {
  overflow: hidden;
}
.se-swiper-main img,
.se-gallery__slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.se-gallery__slide {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.se-gallery__slide img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.se-gallery__slide:hover img {
  transform: scale(1.04);
}
.se-gallery__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 0% / 0.3);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
}
.se-gallery__slide:hover .se-gallery__zoom {
  opacity: 1;
}
.se-gallery__zoom i {
  width: 2.5rem;
  height: 2.5rem;
}

/* Thumbs */
.se-swiper-thumbs {
  margin-top: 8px;
  padding: 4px 0;
}
.se-swiper-thumbs .swiper-slide {
  width: 80px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.se-swiper-thumbs .swiper-slide.se-thumb-active,
.se-swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}
.se-thumb-img {
  width: 80px;
  height: 54px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

/* Swiper overrides */
.se-gallery-prev,
.se-gallery-next {
  color: #fff;
}
.se-gallery-prev::after,
.se-gallery-next::after {
  font-size: 1.25rem;
}
.se-gallery-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.4;
}
.se-gallery-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

/* ── Video ─────────────────────────────────────── */
.se-video__frame {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 48px -8px hsl(0 0% 0% / 0.35);
}
.se-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.se-video__caption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.9rem;
}
.se-video__name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.se-video__dur {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}
.se-video__yt {
  font-size: 0.82rem;
  color: hsl(var(--primary));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.se-video__yt:hover {
  text-decoration: underline;
}

/* ── Practical info card ───────────────────────── */
.se-info-card {
  background: hsl(var(--primary));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px hsl(var(--primary) / 0.4);
}
.se-info-block {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid hsl(0 0% 100% / 0.1);
}
.se-info-block:last-child {
  border-bottom: none;
}
.se-info-block--ticket {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}
.se-info-block--tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1.25rem;
}

.se-info-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--gold));
  margin-bottom: 0.9rem;
}
.se-info-label__ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.se-dates {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.se-date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: hsl(0 0% 100% / 0.82);
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
}
.se-date-row:last-child {
  border-bottom: none;
}
.se-date-row__time {
  font-weight: 700;
  color: #fff;
}

.se-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: hsl(var(--gold) / 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.se-more-link:hover {
  color: hsl(var(--gold));
}

.se-ticket-note {
  font-size: 0.87rem;
  color: hsl(0 0% 100% / 0.65);
  margin: 0;
  line-height: 1.5;
}
.se-ticket-embed {
  margin-top: 0.5rem;
}

/* Tags inside card */
.se-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: hsl(0 0% 100% / 0.75);
  border: 1px solid hsl(0 0% 100% / 0.2);
  border-radius: 100px;
  padding: 3px 10px;
}
.se-tag__ico {
  width: 12px;
  height: 12px;
}

/* ── Awards ────────────────────────────────────── */
.se-awards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
}
.se-award {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.25rem 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--card));
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.se-award:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.se-award__ico-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: hsl(var(--gold) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.se-award__ico {
  width: 28px;
  height: 28px;
  color: hsl(var(--gold));
}
.se-award__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.4;
  margin: 0;
}
.se-award__year {
  font-size: 0.8rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* ── Footer nav ────────────────────────────────── */
.se-footnav {
  background: hsl(var(--primary));
  border-top: 1px solid hsl(0 0% 100% / 0.08);
}
.se-footnav__inner {
  display: flex;
  justify-content: center;
  gap: 0;
}
.se-footnav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  max-width: 220px;
  padding: 1.5rem 1rem;
  color: hsl(0 0% 100% / 0.65);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-right: 1px solid hsl(0 0% 100% / 0.08);
  transition:
    color 0.2s,
    background 0.2s;
}
.se-footnav__btn:last-child {
  border-right: none;
}
.se-footnav__btn:hover {
  color: #fff;
  background: hsl(0 0% 100% / 0.07);
}
.se-footnav__ico {
  width: 20px;
  height: 20px;
}

/* ── Lightbox ──────────────────────────────────── */
.se-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: hsl(0 0% 0% / 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.se-lightbox[hidden] {
  display: none;
}
.se-lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px -8px hsl(0 0% 0% / 0.7);
}
.se-lightbox__close,
.se-lightbox__prev,
.se-lightbox__next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 100% / 0.1);
  border: 1px solid hsl(0 0% 100% / 0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  width: 48px;
  height: 48px;
}
.se-lightbox__close:hover,
.se-lightbox__prev:hover,
.se-lightbox__next:hover {
  background: hsl(0 0% 100% / 0.22);
}
.se-lightbox__close {
  top: 1rem;
  right: 1rem;
}
.se-lightbox__prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.se-lightbox__next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.se-lightbox__close i,
.se-lightbox__prev i,
.se-lightbox__next i {
  width: 22px;
  height: 22px;
}

/* ════════════════════════════════════════════════════
   ACTOR / TEAM PROFILE PAGE (single-team.php)
════════════════════════════════════════════════════ */
.actor-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 767px) {
  .actor-profile {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.actor-photo-wrap {
  flex-shrink: 0;
}

.actor-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-theatrical);
}

.actor-role {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.5rem;
}

.actor-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: hsl(var(--primary));
  margin: 0 0 0.5rem;
}

.actor-honor {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  font-style: italic;
  margin: 0;
}

.actor-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--foreground) / 0.9);
}

/* Actor's shows grid */
.actor-shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.actor-show-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.actor-show-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.actor-show-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.actor-show-thumb--placeholder {
  aspect-ratio: 3/4;
  background: hsl(var(--muted));
}

.actor-show-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.actor-show-badge {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--gold));
  font-weight: 600;
}

.actor-show-title {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.3;
}

.actor-show-age {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ════════════════════════════════════════════════════
   SINGLE EVENT — extended se-* styles (rewrite 2026)
════════════════════════════════════════════════════ */

/* ── Light hero (two-column, white bg) ───────────── */
.se-hero-light {
  background: #f9f0db;
  padding-top: clamp(6rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid hsl(var(--border));
}
.se-hero-light__grid {
  display: grid;
  grid-template-columns: 700px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .se-hero-light__grid {
    grid-template-columns: 1fr;
  }
}
.se-hero-light__poster-col {
  position: sticky;
  top: 5rem;
}
@media (max-width: 900px) {
  .se-hero-light__poster-col {
    position: static;
  }
}
.se-hero-light__poster {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-theatrical);
  display: block;
}
.se-hero-light__premiere {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 0.6rem;
}
.se-hero-light__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: hsl(var(--primary));
  margin: 0 0 4rem;
}
.se-hero-light__subtitle {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin: 0 0 1.25rem;
}
.se-hero-light__lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.85);
  margin-bottom: 1.25rem;
}
.se-hero-light__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* ── Meta row (icon + label + value) ─────────────── */
.se-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-bottom: 1.25rem;
}
.se-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.se-meta-item__ico {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 6px;
  color: hsl(var(--muted-foreground));
}
.se-meta-item__label {
  display: block;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.se-meta-item__value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.4;
}

/* ── CTA button: burgundy ────────────────────────── */
.se-btn--burgundy {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
}
.se-btn--burgundy:hover {
  background: hsl(var(--burgundy-dark));
  box-shadow: 0 8px 24px -6px hsl(var(--primary) / 0.4);
}

/* ── Hero social share ───────────────────────────── */
.se-hero__share {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.se-hero__share-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: hsl(0 0% 100% / 0.6);
}
.se-hero__share-label--dark {
  color: hsl(var(--muted-foreground));
}
.se-hero__share-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: hsl(0 0% 100% / 0.1);
  color: hsl(0 0% 100% / 0.8);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.se-hero__share-ico:hover {
  background: hsl(0 0% 100% / 0.2);
  color: #fff;
}
.se-hero__share-ico--dark {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}
.se-hero__share-ico--dark:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

/* ── Chip variants ───────────────────────────────── */
.se-chip--tag {
  background: hsl(var(--gold) / 0.15);
  border-color: hsl(var(--gold) / 0.35);
  color: hsl(var(--gold));
}
.se-chips--light {
  margin-top: 0.25rem;
}
.se-chip--light {
  background: hsl(var(--muted));
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
  backdrop-filter: none;
}

/* ── Section title ───────────────────────────────── */
.se-section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: hsl(var(--primary));
  margin: 0 0 1.25rem;
}

/* ── Prose override inside split ─────────────────── */
.se-prose--single-col {
  columns: 1 !important;
  max-width: none !important;
}

/* ── Button variants ─────────────────────────────── */
.se-btn--sm {
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.se-btn--outline {
  background: transparent;
  color: hsl(var(--primary));
  border: 1.5px solid hsl(var(--primary));
}
.se-btn--outline:hover {
  background: hsl(var(--primary));
  color: #fff;
}

/* ── More link on light bg ───────────────────────── */
.se-more-link--dark {
  color: hsl(var(--primary));
  display: inline-flex;
}
.se-more-link--dark:hover {
  color: hsl(var(--burgundy-dark));
}

/* ── Three-column layout ─────────────────────────── */
.se-three-col {
  display: flex;
  gap: 3rem;
  align-items: start;
  justify-content: space-around;
}
@media (max-width: 640px) {
  .se-three-col {
    flex-direction: column;
  }
}

/* ── Schedule table ──────────────────────────────── */
.se-schedule-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.se-schedule-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  padding: 8px 12px;
  background: hsl(var(--card));
  border-radius: 6px;
  flex-wrap: wrap;
}
.se-schedule-date {
  font-weight: 500;
  min-width: 140px;
}
.se-schedule-time {
  color: hsl(var(--muted-foreground));
  min-width: 48px;
}
.se-schedule-venue {
  flex: 1;
}
.se-schedule-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: hsl(var(--burgundy));
  color: #fff;
}
.se-schedule-ticket-note {
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
}

/* ── Awards grid ─────────────────────────────────── */
.se-awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 640px) {
  .se-awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.se-award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 1.25rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--background));
}
.se-award-card__ico-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: hsl(var(--gold) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.se-award-card__ico {
  width: 24px;
  height: 24px;
  color: hsl(var(--gold));
}
.se-award-card__title {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}
.se-award-card__year {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* ── Media cards ─────────────────────────────────── */
.se-media-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.se-media-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.se-media-card:hover {
  border-color: hsl(var(--burgundy));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.se-media-card__source {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.se-media-card__title {
  font-size: 0.95rem;
  font-weight: 500;
}
.se-media-card__ico {
  width: 14px;
  height: 14px;
  color: hsl(var(--muted-foreground));
  margin-top: 4px;
}

/* ── Puppet table ────────────────────────────────── */
.se-puppet-row {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.9rem;
}
.se-puppet-label {
  color: hsl(var(--muted-foreground));
}
.se-puppet-value {
  font-weight: 500;
  text-align: right;
}

/* ── Facts & features lists ──────────────────────── */
.se-facts-list,
.se-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.se-facts-list li,
.se-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.se-facts-list__ico,
.se-features-list__ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: hsl(var(--gold));
}
.se-features-list__ico {
  color: hsl(var(--primary));
}

/* ── Audience list ───────────────────────────────── */
.se-audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.se-audience-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.95rem;
}
.se-audience-list li:last-child {
  border-bottom: none;
}

/* ── Parents items ───────────────────────────────── */
.se-parents-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid hsl(var(--border));
}
.se-parents-item:last-child {
  border-bottom: none;
}
.se-parents-item__text {
  flex: 1;
  font-size: 0.9rem;
}
.se-parents-item__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Modal ───────────────────────────────────────── */
.se-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.se-modal[hidden] {
  display: none;
}
.se-modal__inner {
  background: #fff;
  border-radius: 8px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
}
.se-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.2s;
}
.se-modal__close:hover {
  background: hsl(var(--muted));
}
.se-modal__body {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Crew table (new flat class names) ───────────── */
.se-crew-table {
  display: flex;
  flex-direction: column;
}
.se-crew-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  font-size: 0.95rem;
}
.se-crew-row:last-child {
  border-bottom: none;
}
.se-crew-role {
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
  max-width: 48%;
}
.se-crew-dots {
  flex: 1;
  border-bottom: 1px dotted hsl(var(--border));
  margin: 0 0.35rem 0.2em;
  min-width: 1rem;
}
.se-crew-name {
  font-weight: 600;
  color: hsl(var(--foreground));
  text-align: right;
  flex-shrink: 0;
  max-width: 52%;
}
.se-crew-name--link {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: color 0.2s;
}
.se-crew-name--link:hover {
  color: hsl(var(--gold));
}

/* ── FAQ accordion ───────────────────────────────── */
.se-faq-item {
  border-bottom: 1px solid hsl(var(--border));
}
.se-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
  font-family: inherit;
  color: hsl(var(--foreground));
}
.se-faq-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.se-faq-answer {
  padding: 0 0 14px;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

/* ── Cast grid ───────────────────────────────────── */
.se-cast-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) {
  .se-cast-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .se-cast-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.se-cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.se-cast-card__photo {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.se-cast-card__avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  background: #e8e0d5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: hsl(var(--burgundy));
}
.se-cast-card__name {
  font-size: 0.875rem;
  text-align: center;
}

/* ── Gallery grid ────────────────────────────────── */
.se-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 1024px) {
  .se-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .se-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.se-gallery-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.se-gallery-cell__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}
.se-gallery-cell:hover .se-gallery-cell__img {
  transform: scale(1.05);
}
.se-gallery-cell--hidden {
  display: none;
}
