body.npm-wp-home .npm-agenda-refresh .npm-agenda-heading {
    padding-block: clamp(24px, 4vw, 50px) 16px;
}

body.npm-wp-home .npm-agenda-refresh h2,
body.npm-wp-home .npm-home-organizer-invite h2 {
    margin: 0;
    font: 400 clamp(26px, 4vw, 44px)/1.1 'NPM Archivo', 'Arial Black', sans-serif;
    text-wrap: balance;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-stage {
    position: relative;
    isolation: isolate;
    width: 100%;
}

body.npm-wp-home .npm-agenda-refresh .npm-home-event-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 0;
    overflow-x: auto;
    padding: 0;
    scroll-behavior: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

body.npm-wp-home .npm-agenda-refresh .npm-home-event-rail::-webkit-scrollbar { display: none; }

body.npm-wp-home .npm-agenda-refresh .npm-agenda-slide {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-slide-link {
    position: relative;
    display: grid;
    align-items: end;
    width: 100%;
    height: min(56.25vw, 560px);
    overflow: hidden;
    background: #102d33;
    color: #fff;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-slide-title {
    position: relative;
    margin: 0;
    padding: 36px max(20px, calc((100% - 1240px) / 2)) 14px;
    background: linear-gradient(0deg, #071416eb 0%, #071416bf 52%, transparent 100%);
    color: #fff;
    font: 400 clamp(21px, 4vw, 40px)/1.12 'NPM Archivo', 'Arial Black', sans-serif;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 2px #071416;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-controls {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-controls[hidden] { display: none; }

body.npm-wp-home .npm-agenda-refresh .npm-agenda-controls button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid #ffffff99;
    border-radius: 50%;
    background: #071416bb;
    color: #fff;
    font: 700 25px/1 system-ui, sans-serif;
    pointer-events: auto;
    cursor: pointer;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-controls button:hover {
    border-color: #ffde59;
    background: #ffde59;
    color: #111;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-arrow { inset-block-start: calc(43% - 22px); }
body.npm-wp-home .npm-agenda-refresh .npm-agenda-arrow--previous { inset-inline-start: 10px; }
body.npm-wp-home .npm-agenda-refresh .npm-agenda-arrow--next { inset-inline-end: 10px; }
body.npm-wp-home .npm-agenda-refresh button.npm-agenda-rotation { inset-block-start: 10px; inset-inline-end: 10px; font-size: 16px; }

body.npm-wp-home .npm-agenda-refresh :is(.npm-home-event-rail, .npm-agenda-slide-link):focus-visible {
    outline: 3px solid #ffde59 !important;
    outline-offset: -5px !important;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-link {
    padding-block: 14px clamp(24px, 4vw, 46px);
    text-align: center;
}

body.npm-wp-home .npm-agenda-refresh .npm-agenda-link a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

body.npm-wp-home .npm-home-organizer-invite {
    background: #fff;
    border-block-start: 4px solid #0097b2;
    color: #111;
}

body.npm-wp-home .npm-home-organizer-invite .npm-organizer-invite-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 36px;
    padding-block: clamp(26px, 4vw, 48px);
}

body.npm-wp-home .npm-home-organizer-invite .npm-organizer-invite-copy { flex: 1 1 480px; }
body.npm-wp-home .npm-home-organizer-invite .npm-home-kicker { margin: 0 0 8px; color: #00697c; }
body.npm-wp-home .npm-home-organizer-invite h2 { color: #111; }
body.npm-wp-home .npm-home-organizer-invite .npm-organizer-invite-copy > p:last-child { max-width: 58ch; margin: 10px 0 0; color: #252525; line-height: 1.55; }
body.npm-wp-home .npm-home-organizer-invite .npm-organizer-invite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
body.npm-wp-home .npm-home-organizer-invite .npm-organizer-invite-guide { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #00697c; text-decoration: underline; text-underline-offset: 4px; }



/* General Events landing only. Its artwork and event links are unchanged. */
.npm-events-landing .npm-events-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #09242b;
    color: #fff;
}
.npm-events-landing .npm-events-banner-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
}
.npm-events-landing .npm-events-banner::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(93deg, #071c21 0%, #071c21ed 37%, #071c216e 100%);
    pointer-events: none;
}
.npm-events-landing .npm-events-banner-inner,
.npm-events-landing .npm-events-agenda {
    width: min(100%, 1288px);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 48px);
    box-sizing: border-box;
}
.npm-events-landing .npm-events-banner-inner {
    display: grid;
    align-content: center;
    min-height: 360px;
    padding-block: clamp(26px, 4.5vw, 60px) 18px;
}
.npm-events-landing .npm-events-banner h1 {
    margin: 0 0 clamp(16px, 2.5vw, 32px);
    color: #ffde59;
    font: 800 clamp(16px, 2vw, 22px)/1.2 'NPM Montserrat', sans-serif;
}
.npm-events-landing .npm-events-feature-stage { touch-action: pan-y; }
.npm-events-landing .npm-events-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
    align-items: center;
    gap: clamp(16px, 5vw, 64px);
}
.npm-events-landing .npm-events-feature[hidden] { display: none; }
.npm-events-landing .npm-events-feature-copy { min-width: 0; }
.npm-events-landing .npm-events-feature-copy h2 {
    max-width: 19ch;
    margin: 0;
    color: #fff;
    font: 400 clamp(30px, 5vw, 67px)/1.03 'NPM Archivo', 'Arial Black', sans-serif;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
.npm-events-landing .npm-events-feature-detail {
    margin: 14px 0 18px;
    color: #e9f3f4;
    font-size: clamp(12px, 1.45vw, 16px);
}
.npm-events-landing .npm-events-feature-detail:empty { display: none; }
.npm-events-landing .npm-events-hero-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 6px;
    background: #ffde59;
    color: #102d33;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.npm-events-landing .npm-events-hero-link:hover { background: #ffe681; }
.npm-events-landing .npm-events-feature-cover {
    display: block;
    justify-self: end;
    width: min(100%, 320px);
    height: auto;
    border: 1px solid #ffffff70;
    border-radius: 8px;
    background: #071c21;
    object-fit: contain;
    box-shadow: 0 12px 32px #0007;
}
.npm-events-landing .npm-events-feature-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #fff;
}
.npm-events-landing .npm-events-feature-controls button {
    display: grid;
    place-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff;
    cursor: pointer;
}
.npm-events-landing .npm-events-feature-arrow {
    width: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #071c21ad;
}
.npm-events-landing .npm-events-feature-arrow:hover { background: #006a7d; }
.npm-events-landing .npm-events-feature-arrow svg { width: 18px; height: 18px; }
.npm-events-landing .npm-events-feature-previous svg { transform: rotate(180deg); }
.npm-events-landing .npm-events-feature-position {
    margin: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.npm-events-landing .npm-events-feature-dots { display: flex; }
.npm-events-landing .npm-events-feature-dots button {
    width: 28px;
    background: transparent;
}
.npm-events-landing .npm-events-feature-dots button::after {
    width: 7px;
    height: 7px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #071c21ad;
    content: '';
}
.npm-events-landing .npm-events-feature-dots button[aria-pressed='true']::after {
    border-color: #ffde59;
    background: #ffde59;
}
.npm-events-landing .npm-events-agenda { padding-block: clamp(32px, 5vw, 62px); }
.npm-events-landing .npm-events-agenda--past { border-top: 1px solid #d6e2e2; }
.npm-events-landing .npm-events-agenda h2 {
    margin: 0 0 24px;
    color: #102d33;
    font: 400 clamp(28px, 3.6vw, 44px)/1.08 'NPM Archivo', 'Arial Black', sans-serif;
}
.npm-events-landing .npm-events-agenda-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2.3vw, 26px);
}
.npm-events-landing .npm-events-agenda-card {
    min-width: 0;
    border: 1px solid #d6e2e2;
    border-radius: 8px;
    background: #fff;
}
.npm-events-landing .npm-events-agenda-card a {
    display: block;
    height: 100%;
    border-radius: inherit;
    color: #102d33;
    text-decoration: none;
}
.npm-events-landing .npm-events-agenda-card a:hover h3 { text-decoration: underline; }
.npm-events-landing .npm-events-card-media {
    overflow: hidden;
    border-radius: 7px 7px 0 0;
    background: #102d33;
    aspect-ratio: 1 / 1;
}
.npm-events-landing .npm-events-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.npm-events-landing .npm-events-card-fallback {
    display: grid;
    place-items: center;
    height: 100%;
    color: #ffde59;
    font: 400 28px/1 'NPM Archivo', 'Arial Black', sans-serif;
}
.npm-events-landing .npm-events-card-copy { padding: clamp(12px, 2vw, 20px); }
.npm-events-landing .npm-events-card-copy h3 {
    margin: 0;
    color: #102d33;
    font: 400 clamp(15px, 2vw, 23px)/1.18 'NPM Archivo', 'Arial Black', sans-serif;
    overflow-wrap: anywhere;
}
.npm-events-landing .npm-events-card-copy p {
    margin: 8px 0 0;
    color: #35565e;
    font-size: clamp(12px, 1.3vw, 14px);
}
.npm-events-landing .npm-events-card-copy p:empty { display: none; }
.npm-events-landing :is(button, a):focus-visible {
    outline: 3px solid #ffde59;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #102d33;
}
@media (max-width: 800px) {
    .npm-events-landing .npm-events-agenda-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .npm-events-landing .npm-events-banner::before {
        background: linear-gradient(90deg, #071c21f2, #071c2180);
    }
    .npm-events-landing .npm-events-banner-inner { min-height: 275px; }
    .npm-events-landing .npm-events-feature-copy h2 { font-size: clamp(22px, 5.8vw, 36px); }
    .npm-events-landing .npm-events-feature-detail { margin: 10px 0 12px; }
    .npm-events-landing .npm-events-feature-position { display: none; }
}
@media (max-width: 360px) {
    .npm-events-landing .npm-events-agenda-grid { grid-template-columns: minmax(0, 1fr); }
}
