.icx-events-page {
    overflow: clip;
    background: #f4f7f9;
}

.icx-events-page__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 124px) 0;
    color: var(--icx-white);
    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(245, 130, 32, 0.25),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--icx-navy-dark),
            var(--icx-navy-medium)
        );
}

.icx-events-page__hero::before,
.icx-events-page__hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.icx-events-page__hero::before {
    top: -230px;
    right: -130px;
    width: 500px;
    height: 500px;
}

.icx-events-page__hero::after {
    right: 18%;
    bottom: -390px;
    width: 620px;
    height: 620px;
}

.icx-events-page__hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
}

.icx-events-page__eyebrow,
.icx-events-listing__eyebrow,
.icx-events-empty__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #d4e8f1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.icx-events-page__eyebrow::before,
.icx-events-listing__eyebrow::before,
.icx-events-empty__eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--icx-orange);
}

.icx-events-page__title {
    max-width: 900px;
    margin: 0;
    overflow-wrap: break-word;
    color: var(--icx-white);
    font-size: clamp(3.4rem, 8vw, 7.4rem);
    line-height: 0.94;
}

.icx-events-page__introduction {
    max-width: 760px;
    margin-top: 26px;
    color: #d5e6ed;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.icx-events-page__introduction > :last-child {
    margin-bottom: 0;
}

.icx-events-page__introduction a {
    color: var(--icx-white);
}

.icx-events-listing {
    padding: clamp(64px, 8vw, 120px) 0;
}

.icx-events-feature {
    display: grid;
    grid-template-columns:
        minmax(320px, 0.92fr)
        minmax(0, 1.08fr);
    min-width: 0;
    margin-bottom: clamp(70px, 9vw, 130px);
    overflow: hidden;
    background: var(--icx-white);
    box-shadow: 0 26px 70px rgba(4, 35, 53, 0.13);
}

.icx-events-feature__media {
    position: relative;
    min-width: 0;
    min-height: 520px;
    overflow: hidden;
    background: var(--icx-navy);
}

.icx-events-feature__media > a {
    position: absolute;
    inset: 0;
    display: block;
}

.icx-events-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icx-events-feature__placeholder,
.icx-events-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(
            circle at 82% 10%,
            rgba(245, 130, 32, 0.28),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            var(--icx-navy),
            var(--icx-navy-dark)
        );
    font-family: var(--icx-font-display);
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 700;
}

.icx-events-feature__content {
    min-width: 0;
    padding: clamp(38px, 6vw, 76px);
}

.icx-events-feature__labels,
.icx-events-card__labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--icx-blue);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.icx-events-feature__labels .is-featured,
.icx-events-card__featured {
    padding: 5px 8px;
    color: var(--icx-navy-dark);
    background: var(--icx-orange);
}

.icx-events-feature h2 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5.1rem);
    line-height: 0.96;
}

.icx-events-feature h2 a,
.icx-events-card__title a {
    color: inherit;
    text-decoration: none;
}

.icx-events-feature h2 a:hover,
.icx-events-card__title a:hover {
    color: var(--icx-orange);
}

.icx-events-feature__excerpt {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--icx-muted);
    font-size: 1rem;
}

.icx-events-feature__details {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px 30px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--icx-line);
}

.icx-events-feature__details div,
.icx-events-card__details div {
    min-width: 0;
}

.icx-events-feature__details span,
.icx-events-card__details span {
    display: block;
    margin-bottom: 4px;
    color: var(--icx-orange);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.icx-events-feature__details strong,
.icx-events-card__details strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--icx-navy);
    font-size: 0.9rem;
}

.icx-events-feature__status {
    margin-top: 27px;
}

.icx-events-feature__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.icx-events-listing__section + .icx-events-listing__section {
    margin-top: clamp(72px, 9vw, 130px);
}

.icx-events-listing__section-head {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 470px);
    align-items: end;
    gap: 40px;
    margin-bottom: 34px;
}

.icx-events-listing__eyebrow {
    margin-bottom: 13px;
    color: var(--icx-blue);
}

.icx-events-listing__section-head h2 {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.98;
}

.icx-events-listing__section-head p {
    margin: 0;
    color: var(--icx-muted);
}

.icx-events-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.icx-events-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: var(--icx-white);
    box-shadow: 0 16px 42px rgba(4, 35, 53, 0.08);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.icx-events-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(4, 35, 53, 0.13);
}

.icx-events-card__image {
    position: relative;
    display: block;
    min-height: 245px;
    overflow: hidden;
    background: var(--icx-navy);
}

.icx-events-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.icx-events-card:hover .icx-events-card__image img {
    transform: scale(1.035);
}

.icx-events-card__content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.icx-events-card__title {
    margin: 0;
    overflow-wrap: break-word;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    line-height: 1.04;
}

.icx-events-card__details {
    display: grid;
    gap: 15px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--icx-line);
}

.icx-events-card__excerpt {
    display: -webkit-box;
    margin: 20px 0 0;
    overflow: hidden;
    color: var(--icx-muted);
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.icx-events-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
}

.icx-events-list-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid var(--icx-line);
    color: var(--icx-navy);
    background: #f4f7f9;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.icx-events-list-status--open {
    border-color: var(--icx-orange);
    color: var(--icx-navy-dark);
    background: var(--icx-orange);
}

.icx-events-list-status--waitlist {
    border-color: #ffd08a;
    background: #ffd08a;
}

.icx-events-list-status--cancelled {
    border-color: #b43a3a;
    color: #8d2525;
    background: #fff0f0;
}

.icx-events-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--icx-navy);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.icx-events-card__link:hover {
    color: var(--icx-orange);
}

.icx-events-card--past {
    opacity: 0.88;
}

.icx-events-listing__section--past {
    padding-top: clamp(55px, 7vw, 90px);
    border-top: 1px solid var(--icx-line);
}

.icx-events-empty {
    max-width: 760px;
    padding: clamp(36px, 6vw, 68px);
    background: var(--icx-white);
    box-shadow: 0 20px 55px rgba(4, 35, 53, 0.09);
}

.icx-events-empty__eyebrow {
    color: var(--icx-blue);
}

.icx-events-empty h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    line-height: 0.98;
}

.icx-events-empty p {
    max-width: 620px;
    margin: 22px 0 28px;
    color: var(--icx-muted);
}

@media (max-width: 1080px) {
    .icx-events-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .icx-events-feature {
        grid-template-columns: 1fr;
    }

    .icx-events-feature__media {
        min-height: 410px;
    }

    .icx-events-listing__section-head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
    }
}

@media (max-width: 680px) {
    .icx-events-page__hero {
        padding: 60px 0;
    }

    .icx-events-page__title {
        font-size: clamp(3rem, 16vw, 4.8rem);
    }

    .icx-events-feature__media {
        min-height: 300px;
    }

    .icx-events-feature__content {
        padding: 28px 22px 32px;
    }

    .icx-events-feature h2 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

    .icx-events-feature__details {
        grid-template-columns: 1fr;
    }

    .icx-events-feature__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .icx-events-feature__actions .icx-button {
        justify-content: center;
        width: 100%;
    }

    .icx-events-grid {
        grid-template-columns: 1fr;
    }

    .icx-events-card__image {
        min-height: 230px;
    }

    .icx-events-card__content {
        padding: 23px 20px;
    }

    .icx-events-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==========================================================
   ICX DYNAMIC EVENTS CALENDAR V1
========================================================== */

.icx-events-calendar {
    margin-bottom:
        clamp(44px, 6vw, 72px);

    padding:
        clamp(28px, 4vw, 44px);

    border:
        1px solid
        rgba(7,52,79,.10);

    border-radius:
        2px
        28px
        2px
        2px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f7fafb
        );

    box-shadow:
        0
        18px
        46px
        rgba(4,35,53,.06);
}

.icx-events-calendar__head {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, .55fr);

    gap:
        clamp(22px, 4vw, 54px);

    align-items: end;

    margin-bottom: 25px;
}

.icx-events-calendar__eyebrow {
    display: block;

    margin-bottom: 8px;

    color:
        var(--icx-orange, #f58220);

    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;

    text-transform: uppercase;
}

.icx-events-calendar__head h2 {
    margin: 0;

    color:
        var(--icx-navy-dark, #061f31);

    font-family:
        var(--icx-font-display, "Fraunces"),
        Georgia,
        serif;

    font-size:
        clamp(2.4rem, 4vw, 3.8rem);

    line-height: 1;

    letter-spacing: -.035em;
}

.icx-events-calendar__head p {
    margin: 0;

    color: #657a85;

    font-size: .88rem;

    line-height: 1.65;
}

.icx-events-calendar__months {
    border-top:
        1px solid
        rgba(7,52,79,.11);
}

.icx-events-calendar__month {
    border-bottom:
        1px solid
        rgba(7,52,79,.11);
}

.icx-events-calendar__month > summary {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        28px;

    gap: 14px;

    align-items: center;

    padding:
        19px
        4px;

    cursor: pointer;

    list-style: none;

    color:
        var(--icx-navy-dark, #061f31);
}

.icx-events-calendar__month > summary::-webkit-details-marker {
    display: none;
}

.icx-events-calendar__month > summary > span:first-child {
    font-size: .98rem;
    font-weight: 800;
}

.icx-events-calendar__month > summary small {
    color: #71838d;

    font-size: .72rem;
}

.icx-events-calendar__chevron {
    display: grid;

    width: 28px;
    height: 28px;

    place-items: center;

    border:
        1px solid
        rgba(7,52,79,.14);

    border-radius: 50%;

    color:
        var(--icx-blue, #14658f);

    font-size: 1rem;

    transition:
        transform 180ms ease;
}

.icx-events-calendar__month[open]
.icx-events-calendar__chevron {
    transform: rotate(45deg);
}

.icx-events-calendar__items {
    padding-bottom: 13px;
}

.icx-events-calendar__item {
    display: grid;

    grid-template-columns:
        54px
        minmax(0, 1fr)
        36px;

    gap: 16px;

    align-items: center;

    padding:
        15px
        14px;

    border-top:
        1px solid
        rgba(7,52,79,.07);

    background: #ffffff;
}

.icx-events-calendar__date {
    display: grid;

    min-height: 52px;

    place-items: center;

    align-content: center;

    border:
        1px solid
        rgba(20,101,143,.15);

    background:
        #f4f9fb;
}

.icx-events-calendar__date strong {
    color:
        var(--icx-navy, #07344f);

    font-size: 1.14rem;

    line-height: 1;
}

.icx-events-calendar__date small {
    margin-top: 4px;

    color:
        var(--icx-orange, #f58220);

    font-size: .58rem;

    font-weight: 800;

    letter-spacing: .08em;
}

.icx-events-calendar__meta {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 4px;
}

.icx-events-calendar__meta span {
    color:
        var(--icx-blue, #14658f);

    font-size: .62rem;

    font-weight: 800;

    letter-spacing: .07em;

    text-transform: uppercase;
}

.icx-events-calendar__meta .is-featured {
    color:
        var(--icx-orange, #f58220);
}

.icx-events-calendar__copy h3 {
    margin: 0;

    font-size: .9rem;

    line-height: 1.35;
}

.icx-events-calendar__copy h3 a {
    color:
        var(--icx-navy-dark, #061f31);

    text-decoration: none;
}

.icx-events-calendar__copy p {
    display: flex;

    flex-wrap: wrap;

    gap:
        4px
        12px;

    margin:
        6px
        0
        0;

    color: #71838d;

    font-size: .71rem;

    line-height: 1.45;
}

.icx-events-calendar__copy p strong {
    color: #4f6672;

    font-weight: 700;
}

.icx-events-calendar__copy p span::before {
    content: "·";

    margin-right: 9px;

    color:
        var(--icx-orange, #f58220);
}

.icx-events-calendar__link {
    display: grid;

    width: 34px;
    height: 34px;

    place-items: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        var(--icx-navy, #07344f);

    text-decoration: none;
}

.icx-events-calendar__item:hover
.icx-events-calendar__link {
    background:
        var(--icx-orange, #f58220);
}

@media (max-width: 700px) {

    .icx-events-calendar {
        padding:
            24px
            18px;

        border-radius:
            2px
            22px
            2px
            2px;
    }

    .icx-events-calendar__head {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .icx-events-calendar__month > summary {
        grid-template-columns:
            minmax(0, 1fr)
            auto
            28px;
    }

    .icx-events-calendar__item {
        grid-template-columns:
            48px
            minmax(0, 1fr);

        gap: 12px;

        padding:
            14px
            8px;
    }

    .icx-events-calendar__link {
        display: none;
    }

    .icx-events-calendar__copy p {
        display: grid;

        gap: 2px;
    }

    .icx-events-calendar__copy p span::before {
        content: "";
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .icx-events-calendar__chevron {
        transition: none;
    }
}

/* END ICX DYNAMIC EVENTS CALENDAR V1 */
