/* ── Home page ── */

/* ── Hero ── */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 3.5s ease;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-slide.active {
  opacity: 1;
}

/* First slide has faster fade-in only on initial load */
.hero-slide.initial-slide.active {
  transition: opacity 0.5s ease;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.7),
    0 6px 32px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 2rem;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 0.8rem 1.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.hero-btn--primary {
  background: #ffffff;
  color: #1a2744;
}

.hero-btn--primary:hover {
  background: #e2e8f0;
  text-decoration: none;
}

.hero-btn--secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 70vh;
  }
}

/* ── Performance banner ── */
.et_pb_section_performance {
  background: #1a2744;
  padding: 0;
  border-bottom: 1px solid #2e3f60;
}

.performance-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.performance-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a0b4d4;
  white-space: nowrap;
  padding-right: 1.5rem;
  border-right: 1px solid #2e3f60;
}

.performance-details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #e8e4dc;
}

.performance-date {
  font-weight: 600;
  color: #ffffff;
}

.performance-sep {
  color: #4a5f80;
}

.performance-venue {
  color: #c8c2b8;
}

@media (max-width: 640px) {
  .performance-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.25rem 0;
  }

  .performance-label {
    border-right: none;
    padding-right: 0;
  }

  .performance-details {
    flex-wrap: wrap;
    gap: 0.2rem 0.5rem;
    font-size: 0.85rem;
  }

  .performance-venue {
    flex-basis: 100%;
  }

  .performance-sep:last-of-type {
    display: none;
  }
}

/* ── Rehearsal schedule ── */
.home-schedule-section {
  background: #faf9f7;
  padding: 72px 0 48px;
}

.home-schedule-card {
  background: #ffffff;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 2px;
  padding: 3rem 3.5rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.home-schedule-card::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  pointer-events: none;
}

.home-schedule-card::after {
  bottom: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 74' fill='none' stroke='%23c9a84c' stroke-linecap='round'%3E%3Cdefs%3E%3Cpath id='leaf' d='M0 0 C4 -1.5 8 -1 10.5 2 C8 3.6 4 3.6 0 0 Z'/%3E%3Cg id='vine'%3E%3Cpath d='M0 0 C-11 -1 -20 -9 -20.5 -19 C-20.8 -25 -16 -28.5 -11.5 -26.7 C-8 -25.3 -8 -21 -10.5 -19.7 C-12.2 -18.8 -14 -20 -14 -21.5' stroke-width='1.5' opacity='0.9'/%3E%3Ccircle cx='-14' cy='-21.5' r='1.3' fill='%23c9a84c' stroke='none' opacity='0.9'/%3E%3Cuse href='%23leaf' transform='translate(-8,-4) rotate(150) scale(0.8)' opacity='0.85'/%3E%3Cuse href='%23leaf' transform='translate(-15,-11) rotate(195) scale(0.6)' opacity='0.7'/%3E%3Cuse href='%23leaf' transform='translate(-19,-18) rotate(240) scale(0.45)' opacity='0.55'/%3E%3C/g%3E%3C/defs%3E%3Cg transform='translate(72,72)'%3E%3Cuse href='%23vine' transform='rotate(0) scale(1.55)'/%3E%3Cuse href='%23vine' transform='rotate(24) scale(1.1)' opacity='0.85'/%3E%3Cuse href='%23vine' transform='rotate(-26) scale(1.15)' opacity='0.85'/%3E%3Cuse href='%23vine' transform='rotate(48) scale(0.75)' opacity='0.6'/%3E%3Cuse href='%23vine' transform='rotate(-50) scale(0.7)' opacity='0.55'/%3E%3Cuse href='%23vine' transform='rotate(68) scale(0.5)' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E");
}

.home-schedule-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1948a4;
  margin: 0 0 1.75rem;
}

.rehearsal-season,
.rehearsal-times,
.rehearsal-location {
  margin: 0;
}

.rehearsal-season + .rehearsal-season,
.rehearsal-season + .rehearsal-times {
  margin-top: 1rem;
}

.rehearsal-season p,
.rehearsal-times p,
.rehearsal-location p {
  margin: 0;
  font-size: 0.9rem;
  color: #5a5650;
  line-height: 1.7;
}

.rehearsal-season-label {
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #1948a4 !important;
  margin-bottom: 0.4rem !important;
}

.rehearsal-note {
  font-style: italic;
  color: #8a7f74 !important;
}

.rehearsal-divider {
  border-top: 1px solid rgba(201, 168, 76, 0.35);
  margin: 1.25rem 0;
}

.rehearsal-table {
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #3d3830;
}

.rehearsal-table td {
  padding: 0.2rem 1rem;
}

.rehearsal-table td:first-child {
  text-align: right;
  color: #5a5650;
  border-right: 1px solid #d9d4cc;
}

.rehearsal-table td:last-child {
  text-align: left;
  font-weight: 600;
  color: #1a1a1a;
}

.rehearsal-calendar-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1948a4;
  text-decoration: none;
}

.rehearsal-calendar-link:hover {
  opacity: 0.75;
}

/* ── Map ── */
.home-map-section {
  background: #f0ede8;
  padding: 0 0 72px;
  border-top: 1px solid #d9d4cc;
}

.home-map-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1948a4;
  margin: 0 0 1.75rem;
  padding-top: 72px;
}

.home-map-section iframe {
  width: 100%;
  height: 440px;
  border-radius: 2px;
  border: 1px solid #d9d4cc;
  display: block;
}

.home-map-fallback {
  font-size: 0.85rem;
  color: #64748b;
  margin: 1rem 0 0;
  text-align: center;
}

@media (max-width: 768px) {
  .home-schedule-section {
    padding: 20px 0 16px;
  }

  .home-schedule-card {
    padding: 2rem 1.75rem;
  }

  .home-map-section {
    padding-bottom: 20px;
  }

  .home-map-label {
    padding-top: 20px;
  }

  .home-map-section iframe {
    height: 300px;
  }
}
