.events-page {
    padding-top: 70px;
    background: #f7f6f2;
}

.events-page [hidden] {
    display: none !important;
}

.events-intro {
    position: relative;
    overflow: hidden;
    padding: clamp(4.25rem, 9vw, 7.5rem) 2rem 4.5rem;
    color: #fff;
    background:
        linear-gradient(112deg, rgba(13, 35, 64, 0.98), rgba(26, 58, 92, 0.96)),
        #1a3a5c;
}

.events-intro::after {
    position: absolute;
    right: max(5vw, calc((100vw - 1100px) / 2));
    bottom: -95px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(200, 146, 42, 0.22);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 28px rgba(200, 146, 42, 0.035), 0 0 0 58px rgba(200, 146, 42, 0.025);
    pointer-events: none;
}

.events-intro-inner,
.event-listing-inner,
.events-home-cta-inner {
    width: min(100%, 1100px);
    margin: 0 auto;
}

.events-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    font: 0.78rem/1.4 Arial, sans-serif;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.events-home-link span {
    color: #c8922a;
}

.events-home-link:hover {
    color: #fff;
}

.events-kicker,
.events-page .section-label {
    color: #c8922a;
    font: 700 0.72rem/1.5 Arial, sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.events-page .section-label {
    color: #896018;
}

.events-kicker {
    margin-top: clamp(2.4rem, 6vw, 4rem);
    margin-bottom: 0.8rem;
}

.events-intro h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font: 400 clamp(2.8rem, 7vw, 5.5rem)/1.04 Georgia, serif;
    letter-spacing: -0.045em;
}

.events-intro h1 span {
    color: #d4a343;
}

.events-lede {
    max-width: 590px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, 0.79);
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    line-height: 1.75;
}

.intro-rule {
    display: flex;
    width: 100%;
    max-width: 92px;
    height: 2px;
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
}

.intro-rule span {
    width: 43%;
    background: #c8922a;
}

.event-listing {
    padding: clamp(3.75rem, 7vw, 6.25rem) 2rem 5rem;
}

.listing-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.25rem;
}

.listing-heading .section-label {
    margin-bottom: 0.65rem;
}

.listing-heading h2 {
    max-width: 620px;
    color: #1a3a5c;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 400;
    line-height: 1.2;
}

.listing-note {
    max-width: 270px;
    margin-bottom: 0.25rem;
    color: #65645e;
    font: 0.9rem/1.65 Arial, sans-serif;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.5fr);
    overflow: hidden;
    border: 1px solid #e8e3d9;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(26, 42, 55, 0.055);
    scroll-margin-top: 90px;
}

nav .nav-toggle {
    padding: 0;
    border: 0;
    background: transparent;
}

.event-artwork {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f0eee8;
}

.event-logo-panel {
    display: flex;
    width: 100%;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #0d2340;
}

.event-logo {
    display: block;
    width: min(100%, 230px);
    max-height: 190px;
    object-fit: contain;
}

.flier-link {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #e9e6df;
}

.event-flier {
    display: block;
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
}

.event-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.65rem, 4vw, 3.15rem);
}

.event-organization {
    margin-bottom: 0.55rem;
    color: #896018;
    font: 700 0.7rem/1.5 Arial, sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.event-details h3 {
    margin-bottom: 1.15rem;
    color: #1a3a5c;
    font-size: clamp(1.45rem, 2.8vw, 2.1rem);
    font-weight: 400;
    line-height: 1.2;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.4rem;
    color: #343a3d;
    font: 0.88rem/1.6 Arial, sans-serif;
}

.event-meta p {
    margin: 0;
}

.meta-label {
    margin-right: 0.45rem;
    color: #6b6254;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.meta-separator {
    color: #c8922a;
}

.event-description {
    max-width: 620px;
    margin: 1rem 0 1.4rem;
    color: #5a5a56;
    font-size: 0.97rem;
    line-height: 1.75;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.2rem;
}

.event-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.7rem 1.1rem;
    border: 1px solid #896018;
    border-radius: 3px;
    background: #896018;
    color: #fff;
    font: 700 0.75rem/1.2 Arial, sans-serif;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.event-button:hover {
    border-color: #704c12;
    background: #704c12;
}

.event-button span,
.event-secondary-link,
.organization-link,
.empty-links a,
.home-cta-link {
    color: #1a3a5c;
}

.event-button span {
    color: #fff;
    font-size: 1rem;
}

.event-secondary-link,
.organization-link {
    font: 700 0.8rem/1.5 Arial, sans-serif;
    text-decoration-color: rgba(26, 58, 92, 0.35);
    text-underline-offset: 4px;
}

.event-secondary-link:hover,
.organization-link:hover,
.empty-links a:hover,
.home-cta-link:hover {
    color: #704c12;
}

.events-empty {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid #e5dfd2;
    border-left: 4px solid #c8922a;
    background: #fff;
}

.empty-mark {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-top: 0.1rem;
    border: 1px solid rgba(200, 146, 42, 0.55);
    border-radius: 50%;
    background: radial-gradient(circle at center, #c8922a 0 3px, transparent 4px);
}

.events-empty .section-label {
    margin-bottom: 0.5rem;
}

.events-empty h3 {
    margin-bottom: 0.45rem;
    color: #1a3a5c;
    font-size: 1.55rem;
    font-weight: 400;
}

.events-empty p:not(.section-label) {
    max-width: 650px;
    color: #5a5a56;
    line-height: 1.7;
}

.empty-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.4rem;
    margin-top: 1rem;
}

.empty-links a {
    font: 700 0.82rem/1.5 Arial, sans-serif;
    text-decoration-color: rgba(26, 58, 92, 0.35);
    text-underline-offset: 4px;
}

.community-note {
    display: flex;
    max-width: 780px;
    align-items: flex-start;
    gap: 1.2rem;
    margin: 3rem auto 0;
    padding: 0.25rem 1rem;
}

.community-note-rule {
    flex: 0 0 2px;
    width: 2px;
    min-height: 48px;
    background: #c8922a;
}

.community-note p {
    color: #6b675f;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.75;
}

.events-home-cta {
    padding: 3.5rem 2rem;
    background: #eeeae1;
}

.events-home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 3rem;
}

.events-home-cta .section-label {
    flex: 0 0 auto;
}

.events-home-cta h2 {
    max-width: 570px;
    color: #1a3a5c;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 400;
    line-height: 1.35;
}

.home-cta-link {
    flex: 0 0 auto;
    font: 700 0.82rem/1.5 Arial, sans-serif;
    text-decoration-color: rgba(26, 58, 92, 0.35);
    text-underline-offset: 5px;
}

.events-page a:focus-visible,
footer a:focus-visible,
.nav-toggle:focus-visible {
    outline: 3px solid #d9a940;
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .events-intro {
        padding: 3.75rem 1.25rem 3.5rem;
    }

    .events-intro::after {
        right: -170px;
        bottom: -165px;
        width: 260px;
        height: 260px;
    }

    .events-kicker {
        margin-top: 2.5rem;
    }

    .event-listing {
        padding: 3.5rem 1.25rem 3.75rem;
    }

    .listing-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .listing-note {
        max-width: 480px;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-artwork,
    .event-logo-panel {
        min-height: 210px;
    }

    .event-logo {
        max-height: 150px;
    }

    .flier-link {
        min-height: 0;
        padding: 0.75rem;
    }

    .event-flier {
        width: auto;
        max-width: 100%;
        max-height: 600px;
    }

    .event-details {
        padding: 1.5rem 1.25rem 1.75rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 0.3rem;
    }

    .events-home-cta {
        padding: 2.75rem 1.25rem;
    }

    .events-home-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .events-intro h1 {
        font-size: clamp(2.45rem, 12vw, 3.5rem);
    }

    .event-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .event-button {
        width: 100%;
        justify-content: space-between;
    }

    .events-empty {
        gap: 1rem;
        padding: 1.25rem;
    }

    .empty-mark {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
    }

    .empty-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .community-note {
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-button {
        transition: none;
    }
}
