.site-main,
#main-content {
    min-height: 300px;
}

.entry-content,
.entry-header {
    width: var(--icx-container);
    margin-inline: auto;
}

.entry-header {
    padding-top: clamp(48px, 7vw, 92px);
}

.entry-content {
    padding-bottom: clamp(58px, 8vw, 110px);
}

.entry-header h1 {
    max-width: 960px;
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 0.98;
}

.entry-content > * {
    max-width: 840px;
}

.entry-content > .alignwide {
    max-width: 1320px;
}

.entry-content > .alignfull {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
}

.icx-back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--icx-navy);
    background: var(--icx-orange);
    box-shadow: var(--icx-shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.icx-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.icx-back-to-top svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 640px) {
    .icx-back-to-top {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
    }
}

/* ==========================================================
   ICX ULTRA-NARROW BACK TO TOP
   Prevent the floating control from covering full-width CTAs.
   ========================================================== */

@media (max-width: 360px) {
    .icx-back-to-top {
        display: none;
    }
}


/* ==========================================================
   ICX EVENT INITIALS PLACEHOLDERS V1 START
========================================================== */

.icx-event-initials {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 82% 14%,
            rgba(245, 130, 32, 0.34),
            transparent 26%
        ),
        radial-gradient(
            circle at 12% 88%,
            rgba(73, 169, 193, 0.24),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #0b5574 0%,
            #07344f 52%,
            #061f31 100%
        );
}

.icx-event-initials--v2 {
    background:
        radial-gradient(
            circle at 15% 18%,
            rgba(245, 130, 32, 0.28),
            transparent 25%
        ),
        radial-gradient(
            circle at 88% 80%,
            rgba(73, 169, 193, 0.22),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #07344f,
            #0d617e 58%,
            #06283d
        );
}

.icx-event-initials--v3 {
    background:
        radial-gradient(
            circle at 84% 14%,
            rgba(237, 248, 243, 0.16),
            transparent 24%
        ),
        radial-gradient(
            circle at 18% 85%,
            rgba(245, 130, 32, 0.31),
            transparent 28%
        ),
        linear-gradient(
            152deg,
            #061f31,
            #0a4866 52%,
            #07344f
        );
}

.icx-event-initials--v4 {
    background:
        radial-gradient(
            circle at 50% -8%,
            rgba(245, 130, 32, 0.30),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 82%,
            rgba(73, 169, 193, 0.23),
            transparent 30%
        ),
        linear-gradient(
            128deg,
            #0b5b78,
            #07344f 54%,
            #061f31
        );
}

.icx-event-initials::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: 0.40;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
}

.icx-event-initials::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: -82px;
    bottom: -98px;
    width: 230px;
    height: 230px;
    pointer-events: none;
    border:
        1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(255, 255, 255, 0.025),
        0 0 0 68px rgba(255, 255, 255, 0.014);
}

.icx-event-initials__brand {
    position: absolute;
    z-index: 2;
    top: clamp(16px, 2vw, 24px);
    left: clamp(16px, 2vw, 24px);
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
}

.icx-event-initials__brand::before {
    content: "";
    width: 20px;
    height: 2px;
    background:
        var(--icx-orange, #f58220);
}

.icx-event-initials__brand > small {
    color: rgba(255, 255, 255, 0.52);
    font: inherit;
}

.icx-event-initials__mark {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
}

.icx-event-initials__mark::after {
    content: "";
    width: clamp(46px, 18%, 82px);
    height: 4px;
    margin-top: 13px;
    background:
        var(--icx-orange, #f58220);
}

.icx-event-initials__mark strong {
    color: #ffffff;
    font-family:
        var(--icx-font-display, "Fraunces"),
        Georgia,
        serif;
    font-size:
        clamp(4.7rem, 10vw, 8.6rem);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.075em;
    text-shadow:
        0 14px 34px rgba(2, 18, 29, 0.20);
}

.icx-event-initials__short {
    display: none;
}

.icx-event-initials__caption {
    position: absolute;
    z-index: 2;
    right: clamp(16px, 2vw, 24px);
    bottom: clamp(16px, 2vw, 24px);
    max-width: 160px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.065em;
    line-height: 1.35;
    text-align: right;
    text-transform: uppercase;
}


/* Override the old fixed "ICX" placeholder typography. */
.icx-events-feature__placeholder.icx-event-initials,
.icx-events-card__placeholder.icx-event-initials {
    color: #ffffff;
    font-size: initial;
}

.icx-events-card__placeholder
.icx-event-initials__mark strong {
    font-size:
        clamp(3.8rem, 7vw, 6.5rem);
}

.icx-events-card__placeholder
.icx-event-initials__caption {
    max-width: 120px;
    font-size: 0.52rem;
}

.icx-home-event-feature__placeholder
.icx-event-initials__mark strong {
    font-size:
        clamp(4.6rem, 8vw, 7.6rem);
}

.icx-event-single__image--placeholder
.icx-event-initials {
    position: absolute;
    inset: 0;
}


/*
 * Phones use two initials; desktop/tablet use up to three.
 */
@media (max-width: 680px) {
    .icx-event-initials::before {
        background-size: 42px 42px;
        opacity: 0.26;
    }

    .icx-event-initials::after {
        right: -100px;
        bottom: -115px;
        width: 210px;
        height: 210px;
    }

    .icx-event-initials__full {
        display: none;
    }

    .icx-event-initials__short {
        display: block;
    }

    .icx-event-initials__mark strong,
    .icx-events-card__placeholder
    .icx-event-initials__mark strong,
    .icx-home-event-feature__placeholder
    .icx-event-initials__mark strong {
        font-size:
            clamp(3.9rem, 20vw, 5.8rem);
    }

    .icx-event-initials__brand {
        top: 15px;
        left: 15px;
        font-size: 0.54rem;
    }

    .icx-event-initials__caption {
        right: 15px;
        bottom: 15px;
        max-width: 112px;
        font-size: 0.49rem;
    }
}

@media (max-width: 390px) {
    .icx-event-initials__caption {
        display: none;
    }

    .icx-event-initials__mark strong,
    .icx-events-card__placeholder
    .icx-event-initials__mark strong,
    .icx-home-event-feature__placeholder
    .icx-event-initials__mark strong {
        font-size: 4.2rem;
    }
}

html[data-icx-contrast="high"]
.icx-event-initials {
    color: #ffffff !important;
    background: #000000 !important;
    outline: 2px solid #ffffff;
}

html[data-icx-contrast="high"]
.icx-event-initials::before,
html[data-icx-contrast="high"]
.icx-event-initials::after {
    display: none;
}

/* ==========================================================
   ICX EVENT INITIALS PLACEHOLDERS V1 END
========================================================== */
