/** What's On styles (Figma: Dragonfly Website, "What's on - Event - Desktop") **/
.whats-on {
    /* Figma font Eros → Elsie Swash Caps */
    --whats-on-font-display: 'Elsie Swash Caps', serif;
    --whats-on-gold: #cc9e5b;

    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.whats-on__section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.whats-on .whats-on__title {
    margin: 0;
    padding: 0;
    color: var(--whats-on-gold);
    font-family: var(--whats-on-font-display);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.4px;
    text-transform: none;
}

/* Past events: three square cards */
.whats-on__past {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.whats-on__card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #111;
}

.whats-on .whats-on__card img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.whats-on__card:hover img {
    transform: scale(1.03);
}

.whats-on__card-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--whats-on-gold);
    font-family: var(--whats-on-font-display);
    font-size: 28px;
    text-align: center;
}

@media (max-width: 767px) {
    .whats-on {
        gap: 48px;
    }

    .whats-on__section {
        gap: 24px;
    }

    .whats-on .whats-on__title {
        font-size: 32px;
    }

    .whats-on__past {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}
