.nh-agenda {
    overflow: hidden;
    background: #f7fbf7;
    color: var(--nh-ink);
}

.nh-agenda :where(h1,h2,h3,h4,p,ul) {
    margin-top: 0;
}

.nh-agenda :where(h1,h2,h3,h4) {
    color: var(--nh-ink);
}

.nh-agenda :where(p,li) {
    color: var(--nh-body);
}

.nh-agenda-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #0b7b3a;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nh-agenda-kicker::before {
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

/* Hero */
.nh-agenda-hero {
    position: relative;
    min-height: clamp(620px, 77vh, 880px);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: #003f27;
}

.nh-agenda-hero__media,
.nh-agenda-hero__veil,
.nh-agenda-hero__ornament {
    position: absolute;
    inset: 0;
}

.nh-agenda-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    filter: saturate(.82) contrast(1.05);
}

.nh-agenda-hero__veil {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0,34,20,.96) 0%, rgba(0,52,30,.86) 42%, rgba(0,52,30,.28) 78%, rgba(0,29,18,.44) 100%),
        linear-gradient(0deg, rgba(0,25,15,.78) 0%, rgba(0,25,15,0) 56%);
}

.nh-agenda-hero__ornament {
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% 18%, transparent 0 102px, rgba(200,242,122,.27) 103px 104px, transparent 105px),
        radial-gradient(circle at 87% 19%, transparent 0 180px, rgba(255,255,255,.09) 181px 182px, transparent 183px);
}

.nh-agenda-hero__content {
    position: relative;
    z-index: 3;
    padding-top: 150px;
    padding-bottom: clamp(74px, 9vw, 124px);
}

.nh-agenda-hero .nh-agenda-kicker {
    color: #d9ff91;
}

.nh-agenda-hero__content h1 {
    max-width: 900px;
    margin-bottom: 26px;
    color: #fff !important;
    font-size: clamp(3.3rem, 7.4vw, 7.8rem);
    line-height: .91;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.nh-agenda-hero__content h1 em {
    color: var(--nh-lime);
    font-style: normal;
}

.nh-agenda-hero__content > p {
    max-width: 700px;
    margin-bottom: 34px;
    color: rgba(255,255,255,.86) !important;
    font-size: clamp(1rem, 1.5vw, 1.23rem);
    line-height: 1.72;
}

.nh-agenda-hero__actions,
.nh-agenda-featured__actions,
.nh-agenda-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

/* Filters */
.nh-agenda-filter {
    position: relative;
    z-index: 6;
    border-bottom: 1px solid #d9e9db;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 34px rgba(0,61,35,.06);
}

.nh-agenda-filter__inner {
    display: grid;
    grid-template-columns: 220px minmax(0,1fr);
    gap: 30px;
    align-items: center;
    padding-block: 24px;
}

.nh-agenda-filter__label {
    display: block;
    margin-bottom: 2px;
    color: #123d28;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.nh-agenda-filter__inner p {
    margin: 0;
    color: #65776c;
    font-size: .84rem;
}

.nh-agenda-filter__pills {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 5px 2px 8px;
    scrollbar-width: thin;
}

.nh-agenda-filter__pills a {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid #cfe2d2;
    border-radius: 999px;
    background: #fff;
    color: #315441 !important;
    font-size: .77rem;
    font-weight: 850;
    white-space: nowrap;
    transition: .2s ease;
}

.nh-agenda-filter__pills a:hover,
.nh-agenda-filter__pills a:focus-visible,
.nh-agenda-filter__pills a.is-active {
    border-color: #00632e;
    background: #00632e;
    color: #fff !important;
}

/* General headings */
.nh-agenda-upcoming,
.nh-agenda-formats,
.nh-agenda-past {
    padding: clamp(78px, 9vw, 126px) 0;
}

.nh-agenda-heading {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(270px,.75fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 52px;
}

.nh-agenda-heading h2 {
    max-width: 900px;
    margin-bottom: 0;
    font-size: clamp(2.6rem, 5.4vw, 5.8rem);
    line-height: .92;
    letter-spacing: -.062em;
    text-wrap: balance;
}

.nh-agenda-heading > p {
    margin: 0 0 6px;
    line-height: 1.72;
}

.nh-agenda-heading--center {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.nh-agenda-heading--center .nh-agenda-kicker {
    justify-content: center;
}

.nh-agenda-heading--center > p {
    max-width: 680px;
    margin-inline: auto;
}

/* Featured event */
.nh-agenda-featured {
    display: grid;
    grid-template-columns: minmax(0,1.16fr) minmax(430px,.84fr);
    min-height: 580px;
    overflow: hidden;
    border: 1px solid #d5e7d8;
    border-radius: 36px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0,61,35,.14);
}

.nh-agenda-featured__media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #dcecdf;
}

.nh-agenda-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.nh-agenda-featured:hover .nh-agenda-featured__media img {
    transform: scale(1.035);
}

.nh-agenda-featured__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,38,22,.45), transparent 48%);
    content: "";
}

.nh-agenda-featured__badge {
    position: absolute;
    z-index: 2;
    top: 28px;
    left: 28px;
    padding: 10px 15px;
    border-radius: 999px;
    background: var(--nh-lime);
    color: #123518;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.nh-agenda-featured__content {
    display: grid;
    grid-template-columns: 92px minmax(0,1fr);
    gap: 28px;
    align-items: start;
    padding: clamp(36px, 5vw, 70px);
}

.nh-agenda-date-block {
    display: grid;
    place-items: center;
    min-height: 105px;
    padding: 14px 8px;
    border-radius: 24px;
    background: #004b2c;
    color: #fff;
    text-align: center;
}

.nh-agenda-date-block strong {
    display: block;
    color: #fff;
    font-size: 2.35rem;
    line-height: 1;
}

.nh-agenda-date-block span {
    color: #d9ff91;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.nh-agenda-type {
    display: inline-flex;
    margin-bottom: 13px;
    color: #0b7b3a;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nh-agenda-featured__copy h3 {
    margin-bottom: 19px;
    font-size: clamp(2.25rem, 4.1vw, 4.5rem);
    line-height: .96;
    letter-spacing: -.052em;
}

.nh-agenda-featured__copy h3 a,
.nh-agenda-card h3 a,
.nh-agenda-past__item h3 a {
    color: inherit !important;
    text-decoration: none;
}

.nh-agenda-featured__copy > p {
    margin-bottom: 24px;
    font-size: 1.02rem;
    line-height: 1.72;
}

.nh-agenda-meta {
    display: grid;
    gap: 11px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.nh-agenda-meta li {
    display: grid;
    grid-template-columns: 28px minmax(0,1fr);
    gap: 9px;
    align-items: start;
    color: #2d4d3a;
    line-height: 1.5;
}

.nh-agenda-meta li > span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e7f5e9;
    color: #00632e;
    font-weight: 900;
}

/* Empty state */
.nh-agenda-empty {
    display: grid;
    grid-template-columns: 74px minmax(0,1fr) auto;
    gap: 26px;
    align-items: center;
    padding: clamp(28px, 4vw, 48px);
    border: 1px dashed #9bc9a3;
    border-radius: 30px;
    background: linear-gradient(135deg,#fff,#edf8ef);
}

.nh-agenda-empty__icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: #005f2b;
    color: #d9ff91;
    font-size: 2rem;
}

.nh-agenda-empty h3 {
    margin-bottom: 8px;
    font-size: clamp(1.6rem,3vw,2.3rem);
}

.nh-agenda-empty p {
    margin-bottom: 0;
}

/* Event grid */
.nh-agenda-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
    margin-top: 34px;
}

.nh-agenda-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d8e9db;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 46px rgba(0,61,35,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.nh-agenda-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 62px rgba(0,61,35,.14);
}

.nh-agenda-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1.5/1;
    overflow: hidden;
    background: linear-gradient(135deg,#00632e,#003e25);
}

.nh-agenda-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.nh-agenda-card:hover .nh-agenda-card__media img {
    transform: scale(1.045);
}

.nh-agenda-card__media--fallback {
    display: grid;
    place-items: center;
}

.nh-agenda-card__media--fallback > span:first-child {
    color: rgba(255,255,255,.68);
    font-size: 3rem;
    font-weight: 950;
}

.nh-agenda-card__date {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    min-width: 68px;
    min-height: 70px;
    padding: 8px;
    border-radius: 19px;
    background: #fff;
    color: #005f2b;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nh-agenda-card__date strong {
    display: block;
    color: #005f2b;
    font-size: 1.8rem;
    line-height: 1;
}

.nh-agenda-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.nh-agenda-card h3 {
    margin-bottom: 13px;
    font-size: clamp(1.45rem,2.2vw,2rem);
    line-height: 1.08;
    letter-spacing: -.032em;
}

.nh-agenda-card__body > p {
    margin-bottom: 20px;
    line-height: 1.67;
}

.nh-agenda-card__info {
    display: grid;
    gap: 7px;
    margin: auto 0 20px;
    padding-top: 18px;
    border-top: 1px solid #e1eee3;
}

.nh-agenda-card__info span {
    color: #446151;
    font-size: .83rem;
    font-weight: 720;
}

/* Formats */
.nh-agenda-formats {
    background: #003e27;
}

.nh-agenda-formats .nh-agenda-kicker,
.nh-agenda-formats .nh-agenda-heading h2,
.nh-agenda-formats .nh-agenda-heading > p {
    color: #fff !important;
}

.nh-agenda-formats .nh-agenda-kicker {
    color: #d9ff91 !important;
}

.nh-agenda-formats__grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
}

.nh-agenda-format {
    display: grid;
    grid-template-columns: minmax(220px,.78fr) minmax(0,1fr);
    min-height: 320px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 30px;
    background: #0b5237;
}

.nh-agenda-format__media {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.nh-agenda-format__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.87);
    transition: transform .65s ease;
}

.nh-agenda-format:hover .nh-agenda-format__media img {
    transform: scale(1.045);
}

.nh-agenda-format__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,rgba(0,40,23,.48),transparent 58%);
    content: "";
}

.nh-agenda-format__media span {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    background: var(--nh-lime);
    color: #123518;
    font-size: .85rem;
    font-weight: 950;
}

.nh-agenda-format__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px,4vw,48px);
}

.nh-agenda-format h3 {
    margin-bottom: 17px;
    color: #fff !important;
    font-size: clamp(1.8rem,3vw,3rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.nh-agenda-format p {
    margin-bottom: 0;
    color: rgba(255,255,255,.8) !important;
    line-height: 1.7;
}

/* Past events */
.nh-agenda-past {
    background: #fff;
}

.nh-agenda-past__list {
    border-top: 1px solid #d9e8dc;
}

.nh-agenda-past__item {
    display: grid;
    grid-template-columns: 90px minmax(0,1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #d9e8dc;
}

.nh-agenda-past__item time {
    display: grid;
    place-items: center;
    min-height: 78px;
    border-radius: 21px;
    background: #edf7ef;
    color: #005f2b;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nh-agenda-past__item time strong {
    color: #005f2b;
    font-size: 1.9rem;
    line-height: 1;
}

.nh-agenda-past__item h3 {
    margin-bottom: 8px;
    font-size: clamp(1.35rem,2.3vw,2rem);
}

.nh-agenda-past__item p {
    margin-bottom: 0;
}

/* CTA */
.nh-agenda-cta {
    padding: 0 0 clamp(82px,9vw,130px);
    background: #fff;
}

.nh-agenda-cta__inner {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) auto;
    gap: 45px;
    align-items: center;
    padding: clamp(38px,6vw,74px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 92% 10%,transparent 0 90px,rgba(200,242,122,.2) 91px 92px,transparent 93px),
        linear-gradient(135deg,#003d27,#006235);
    box-shadow: 0 28px 80px rgba(0,61,35,.18);
}

.nh-agenda-cta .nh-agenda-kicker {
    color: #d9ff91;
}

.nh-agenda-cta h2 {
    max-width: 820px;
    margin-bottom: 16px;
    color: #fff !important;
    font-size: clamp(2.3rem,4.4vw,4.8rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.nh-agenda-cta p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255,255,255,.82) !important;
    line-height: 1.7;
}

.nh-agenda-cta__actions {
    justify-content: flex-end;
}

/* Safe reveal */
[data-nh-agenda-reveal] {
    opacity: 1;
    transform: none;
}

[data-nh-agenda-reveal].is-visible {
    animation: nh-agenda-reveal .68s cubic-bezier(.2,.72,.2,1) both;
}

@keyframes nh-agenda-reveal {
    from { transform: translateY(22px); }
    to { transform: translateY(0); }
}

@media (max-width: 1080px) {
    .nh-agenda-featured {
        grid-template-columns: 1fr;
    }

    .nh-agenda-featured__media {
        min-height: 430px;
    }

    .nh-agenda-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .nh-agenda-format {
        grid-template-columns: 1fr;
    }

    .nh-agenda-format__media {
        min-height: 260px;
    }

    .nh-agenda-cta__inner {
        grid-template-columns: 1fr;
    }

    .nh-agenda-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .nh-agenda-hero {
        min-height: 650px;
    }

    .nh-agenda-hero__veil {
        background: linear-gradient(0deg,rgba(0,35,20,.94),rgba(0,48,28,.65));
    }

    .nh-agenda-filter__inner,
    .nh-agenda-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .nh-agenda-heading {
        align-items: start;
    }

    .nh-agenda-empty {
        grid-template-columns: 64px minmax(0,1fr);
    }

    .nh-agenda-empty .nh-button {
        grid-column: 1/-1;
        justify-self: start;
    }

    .nh-agenda-formats__grid {
        grid-template-columns: 1fr;
    }

    .nh-agenda-past__item {
        grid-template-columns: 76px minmax(0,1fr);
    }

    .nh-agenda-past__item > .nh-text-link {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .nh-agenda-hero__content {
        padding-top: 110px;
        padding-bottom: 64px;
    }

    .nh-agenda-hero__content h1 {
        font-size: clamp(3rem,15vw,4.5rem);
    }

    .nh-agenda-hero__actions,
    .nh-agenda-featured__actions,
    .nh-agenda-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nh-agenda-filter__inner {
        padding-block: 18px;
    }

    .nh-agenda-featured {
        border-radius: 26px;
    }

    .nh-agenda-featured__media {
        min-height: 300px;
    }

    .nh-agenda-featured__content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px;
    }

    .nh-agenda-date-block {
        grid-template-columns: auto auto;
        justify-content: start;
        gap: 8px;
        width: fit-content;
        min-height: 0;
        padding: 12px 16px;
        border-radius: 17px;
    }

    .nh-agenda-date-block strong {
        font-size: 1.65rem;
    }

    .nh-agenda-grid {
        grid-template-columns: 1fr;
    }

    .nh-agenda-empty {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .nh-agenda-format__body,
    .nh-agenda-cta__inner {
        padding: 28px;
    }

    .nh-agenda-past__item {
        grid-template-columns: 64px minmax(0,1fr);
        gap: 18px;
    }

    .nh-agenda-past__item time {
        min-height: 66px;
    }
}
