/* --------------------------------------------------
   Hero
-------------------------------------------------- */

.performances-hero {
   width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    padding: 65px 24px;
    text-align: center;
    color: white;
}

.performances-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 15px;
}

.performances-hero p {
    font-size: 1rem;
    line-height: 1.6;
    color: white;
}
/* Space between performances header and content */
.performances-hero {
    margin-bottom: 3rem;
}

/* --------------------------------------------------
   Featured May Recital
-------------------------------------------------- */

.featured-performance {
    margin-bottom: 2.5rem;
}



/* --------------------------------------------------
   Winter Productions
-------------------------------------------------- */

.winter-performances {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.winter-intro {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
}

.winter-intro .eyebrow {
  display: block;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .5rem;
}

.winter-intro h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--text);
  margin: 0 0 1rem;
}

.winter-intro p {
  color: var(--muted);
  line-height: 1.75;
  margin: .65rem 0;
}

/* --------------------------------------------------
   Performance Cards
-------------------------------------------------- */
.performances-container {
    max-width: 1400px;
    width: 100%;
    height: auto;
    max-height: none;
}

.performance-box {
    width: 100%;
    max-width: none;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
}

.performance-box .eyebrow {
    display: block;
    color: var(--primary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.performance-box h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--text);
}

.performance-box p {
    color: var(--muted);
    line-height: 1.7;
}

.performance-card .slideshow {
    height: 500px;
}

.performance-card .slide-img {
    object-fit: contain;
    background: #111;
}

/* --------------------------------------------------
   Slideshows
-------------------------------------------------- */

.slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1rem;
    background: #111;
}

.featured-performance .slideshow {
    height: 500px;
}

.winter-performances .slideshow {
    height: 340px;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: .2s;
}

.slide-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.08);
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

/* --------------------------------------------------
   Competitive Teams
-------------------------------------------------- */

.performance-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
}

.performance-card h2 {
    margin-top: 0;
    font-family: var(--serif);
    font-size: 2rem;
}

.performance-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 900px) {

    .winter-performances {
        grid-template-columns: 1fr;
    }

    .featured-performance .slideshow {
        height: 360px;
    }

    .winter-performances .slideshow {
        height: 300px;
    }

}

@media (max-width: 600px) {

    .performance-box,
    .performance-card {
        padding: 1.5rem;
    }

    .performances-hero {
        padding: 3rem 1.5rem;
    }

    .featured-performance .slideshow {
        height: 260px;
    }

    .winter-performances .slideshow {
        height: 220px;
    }

}


/* Remove gap above performances header */
.page-container:has(.performances-hero) {
    padding-top: 0;
}