.icx-container {
    width: var(--icx-container);
    margin-inline: auto;
}

.icx-site-header {
    position: relative;
    z-index: 1000;
}

.icx-utility {
    color: #dbeaf1;
    background: var(--icx-navy-dark);
    font-size: 0.76rem;
}

.icx-utility__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.icx-utility__left,
.icx-utility__right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.icx-utility a {
    text-decoration: none;
}

.icx-utility a:hover {
    text-decoration: underline;
}

.icx-utility__theme strong {
    color: #ffae69;
}

.icx-tool-button {
    padding: 4px 6px;
    border: 0;
    color: var(--icx-white);
    background: transparent;
    font-weight: 700;
}

.icx-masthead {
    background:
        linear-gradient(
            105deg,
            #ffffff 0%,
            #ffffff 58%,
            #ecfaf3 100%
        );
}

.icx-masthead__inner {
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.icx-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--icx-navy);
    text-decoration: none;
}

.icx-brand__image {
    width: min(238px, 100%);
    max-height: 88px;
    object-fit: contain;
    object-position: left center;
}

.icx-brand__text {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
}

.icx-masthead__actions {
    min-width: 350px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 9px;
}

.icx-masthead__wide-action {
    grid-column: 1 / -1;
}

.icx-nav-shell {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--icx-white);
    background: rgba(7, 52, 79, 0.98);
    box-shadow: 0 8px 26px rgba(4, 30, 46, 0.13);
    backdrop-filter: blur(14px);
}

.admin-bar .icx-nav-shell {
    top: 32px;
}

.icx-nav-shell__inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.icx-home-link {
    align-self: stretch;
    width: 60px;
    flex: 0 0 60px;
    display: grid;
    place-items: center;
    color: var(--icx-navy);
    background: var(--icx-orange);
    text-decoration: none;
}

.icx-home-link svg,
.icx-icon-button svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icx-nav-links {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
    margin: 0 auto 0 0;
    padding: 0;
    list-style: none;
}

.icx-nav-links > li {
    position: relative;
}

.icx-nav-links a {
    position: relative;
    display: block;
    padding: 22px 0;
    color: var(--icx-white);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 650;
}

.icx-nav-links > li > a::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: 15px;
    left: 0;
    height: 2px;
    background: var(--icx-orange);
    transition: right 180ms ease;
}

.icx-nav-links > li:hover > a::after,
.icx-nav-links > .current-menu-item > a::after,
.icx-nav-links > .current_page_item > a::after {
    right: 0;
}

.icx-nav-links .sub-menu {
    position: absolute;
    top: calc(100% - 4px);
    left: -22px;
    width: 250px;
    margin: 0;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    list-style: none;
    color: var(--icx-text);
    background: var(--icx-white);
    box-shadow: var(--icx-shadow-soft);
    transform: translateY(10px);
    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 180ms ease;
}

.icx-nav-links li:hover > .sub-menu,
.icx-nav-links li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.icx-nav-links .sub-menu a {
    padding: 10px 12px;
    color: var(--icx-text);
}

.icx-nav-links .sub-menu a:hover {
    color: var(--icx-navy);
    background: var(--icx-mint);
}

.icx-nav-tools {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.icx-icon-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    color: var(--icx-white);
    background: transparent;
}

.icx-icon-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.icx-menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.icx-mobile-panel,
.icx-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    padding: 24px;
    overflow-y: auto;
    color: var(--icx-white);
    background: rgba(6, 31, 49, 0.985);
}

.admin-bar .icx-mobile-panel,
.admin-bar .icx-search-overlay {
    top: 32px;
}

body.icx-menu-open .icx-mobile-panel,
body.icx-search-open .icx-search-overlay {
    display: block;
}

.icx-mobile-panel__header,
.icx-search-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.icx-mobile-panel__brand {
    color: var(--icx-white);
}

.icx-mobile-panel__brand .icx-brand__image {
    width: 180px;
    filter: brightness(0) invert(1);
}

.icx-close-button {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: var(--icx-white);
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
}

.icx-mobile-links {
    display: grid;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.icx-mobile-links a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--icx-white);
    text-decoration: none;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.85rem;
    line-height: 1.2;
}

.icx-mobile-links .sub-menu {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: none;
}

.icx-mobile-links .sub-menu a {
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
}

.icx-mobile-panel__actions {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.icx-search-overlay__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.5rem;
}

.icx-search-form {
    width: min(900px, 100%);
    margin: 10vh auto 0;
}

.icx-search-form label {
    display: block;
    margin-bottom: 10px;
    color: #a7c0cc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.icx-search-form__field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
}

.icx-search-form input {
    min-width: 0;
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.34);
    outline: 0;
    color: var(--icx-white);
    background: transparent;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 6vw, 5.5rem);
    line-height: 1.1;
}

.icx-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.icx-search-form button {
    min-height: 48px;
    padding: 10px 22px;
    border: 0;
    color: var(--icx-navy);
    background: var(--icx-orange);
    font-weight: 700;
}

@media (max-width: 1120px) {
    .icx-nav-links {
        display: none;
    }

    .icx-menu-toggle {
        display: grid;
    }

    .icx-masthead__actions {
        min-width: 315px;
    }
}

@media (max-width: 900px) {
    .icx-utility__right {
        display: none;
    }

    .icx-masthead__inner {
        min-height: 86px;
    }

    .icx-brand__image {
        width: 190px;
    }

    .icx-masthead__actions {
        min-width: 0;
        display: flex;
    }

    .icx-masthead__wide-action {
        display: none;
    }
}

@media (max-width: 782px) {
    .admin-bar .icx-nav-shell,
    .admin-bar .icx-mobile-panel,
    .admin-bar .icx-search-overlay {
        top: 46px;
    }
}

@media (max-width: 640px) {
    .icx-container {
        width: calc(100% - 28px);
    }

    .icx-utility__inner {
        min-height: 32px;
        justify-content: center;
    }

    .icx-utility__left > a {
        display: none;
    }

    .icx-utility__left {
        font-size: 0.7rem;
    }

    .icx-masthead__inner {
        min-height: 72px;
        gap: 12px;
    }

    .icx-brand__image {
        width: 150px;
    }

    .icx-masthead__actions .icx-button--dark {
        display: none;
    }

    .icx-masthead__actions .icx-button--primary {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 0.73rem;
    }

    .icx-nav-shell__inner {
        min-height: 56px;
    }

    .icx-home-link {
        width: 50px;
        flex-basis: 50px;
    }

    .icx-icon-button {
        width: 40px;
        height: 40px;
    }

    .icx-mobile-panel,
    .icx-search-overlay {
        padding: max(18px, env(safe-area-inset-top)) 18px 18px;
    }

    .icx-mobile-links {
        margin-top: 28px;
    }

    .icx-mobile-links a {
        font-size: 1.55rem;
    }

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

    .icx-search-form button {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .icx-masthead__actions .icx-button--primary {
        display: none;
    }

    .icx-brand__image {
        width: 152px;
    }
}

/* ======================================================================
   ICX HEADER SOCIAL POLISH — 2026-08-06
   ====================================================================== */

.icx-masthead__social {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 24px;
    border-left: 1px solid rgba(7, 52, 79, 0.12);
}

.icx-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icx-social-links__label {
    color: #607783;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.icx-social-links__items {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icx-social-link {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(7, 52, 79, 0.16);
    border-radius: 50%;
    color: var(--icx-navy, #07344f);
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.icx-social-link > span {
    display: block;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.icx-social-link--linkedin > span {
    font-size: 0.68rem;
    letter-spacing: -0.06em;
}

.icx-social-link--facebook > span {
    font-size: 0.9rem;
}

.icx-social-link--youtube > span {
    transform: translateX(1px);
    font-size: 0.66rem;
}

.icx-social-link--instagram > span {
    font-size: 1rem;
    font-weight: 600;
}

.icx-social-link:hover {
    border-color: var(--icx-orange, #f58220);
    color: var(--icx-navy-dark, #061f31);
    background: #fff4ea;
    transform: translateY(-2px);
}

.icx-social-link:focus-visible {
    outline: 3px solid var(--icx-orange, #f58220);
    outline-offset: 3px;
}

.icx-utility__theme {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.icx-utility__theme:hover {
    color: #ffffff;
}

.icx-mobile-panel__social,
.icx-mobile-panel__tools {
    margin-top: 26px;
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.icx-social-links--mobile {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}

.icx-social-links--mobile .icx-social-links__label,
.icx-mobile-panel__tools-label {
    color: #a7c0cc;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.icx-social-links--mobile .icx-social-link {
    border-color: rgba(255, 255, 255, 0.26);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.icx-social-links--mobile .icx-social-link:hover {
    border-color: var(--icx-orange, #f58220);
    color: var(--icx-navy-dark, #061f31);
    background: var(--icx-orange, #f58220);
}

.icx-mobile-panel__tools {
    display: grid;
    gap: 12px;
}

.icx-mobile-panel__tools-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.icx-mobile-panel__tools .icx-tool-button {
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
}

html[data-icx-contrast="high"] .icx-social-link {
    border-color: currentColor;
    background: transparent;
}

@media (max-width: 1240px) {
    .icx-masthead__social {
        padding-left: 18px;
    }

    .icx-social-links__label {
        display: none;
    }
}

@media (max-width: 1120px) {
    .icx-masthead__social {
        display: none;
    }
}

@media (max-width: 640px) {
    .icx-mobile-panel__social,
    .icx-mobile-panel__tools {
        margin-top: 22px;
        padding-top: 20px;
    }

    .icx-social-link {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}

/* ICX HEADER SAFE REFINEMENT V3 START */

/*
 * SAFE SCOPE:
 * Only masthead, its social links, its action buttons, the home control,
 * and their responsive states are touched here.  No .icx-container,
 * body, page, main, or homepage width rules are changed.
 */
.icx-masthead {
    border-bottom: 1px solid rgba(7, 52, 79, 0.07);
    background:
        linear-gradient(
            105deg,
            #ffffff 0%,
            #ffffff 70%,
            #eef9f5 100%
        );
}

.icx-masthead__inner {
    min-height: 96px;
    gap: clamp(18px, 2.2vw, 32px);
}

.icx-masthead__brand .icx-brand__image {
    width: min(214px, 100%);
    max-height: 80px;
}

.icx-masthead__social {
    flex: 0 1 auto;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
}

.icx-social-links--masthead {
    gap: 13px;
}

.icx-social-links__intro {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.icx-social-links__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--icx-navy, #07344f);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

.icx-social-links--masthead .icx-social-links__label::before {
    content: "";
    width: 18px;
    height: 2px;
    flex: 0 0 18px;
    background: var(--icx-orange, #f58220);
}

.icx-social-links__note {
    padding-left: 26px;
    color: #748791;
    font-size: 0.65rem;
    line-height: 1.25;
    white-space: nowrap;
}

.icx-social-links__items {
    gap: 2px;
}

.icx-social-link {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 0;
    border-radius: 50%;
    color: var(--icx-navy, #07344f);
    background: transparent;
    box-shadow: none;
}

.icx-social-link svg {
    width: 15px;
    height: 15px;
    display: block;
    fill: currentColor;
}

.icx-social-link--youtube svg {
    width: 16px;
    height: 16px;
}

.icx-social-link:hover {
    border-color: transparent;
    color: #ffffff;
    background: var(--icx-navy, #07344f);
    box-shadow: 0 7px 16px rgba(7, 52, 79, 0.16);
    transform: translateY(-2px);
}

.icx-social-link:focus-visible {
    outline: 3px solid var(--icx-orange, #f58220);
    outline-offset: 2px;
}

.icx-masthead__actions {
    width: 350px;
    min-width: 350px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.icx-masthead__actions .icx-button {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 0.79rem;
}

.icx-masthead__wide-action {
    position: relative;
    min-height: 37px !important;
    padding-right: 38px !important;
    background:
        linear-gradient(
            90deg,
            #e6f5fa 0%,
            #dceff7 100%
        );
    box-shadow: inset 3px 0 0 rgba(20, 101, 143, 0.14);
}

.icx-masthead__wide-action::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 15px;
    color: var(--icx-blue, #14658f);
    font-size: 1rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 160ms ease;
}

.icx-masthead__wide-action:hover::after {
    transform: translate(3px, -50%);
}

.icx-home-link {
    color: #ffffff;
    background: var(--icx-navy-medium, #0b4767);
    box-shadow: inset 0 -3px 0 var(--icx-orange, #f58220);
}

.icx-home-link:hover,
.icx-home-link:focus-visible {
    color: var(--icx-navy-dark, #061f31);
    background: var(--icx-orange, #f58220);
}

@media (max-width: 1240px) {
    .icx-masthead__inner {
        min-height: 92px;
        gap: 20px;
    }

    .icx-masthead__brand .icx-brand__image {
        width: 200px;
        max-height: 76px;
    }

    .icx-social-links__note {
        display: none;
    }

    .icx-social-links--masthead .icx-social-links__label::before {
        width: 13px;
        flex-basis: 13px;
    }

    .icx-masthead__actions {
        width: 330px;
        min-width: 330px;
    }

    .icx-masthead__actions .icx-button {
        padding-inline: 10px;
        font-size: 0.76rem;
    }
}

@media (max-width: 1120px) {
    .icx-masthead__social {
        display: none;
    }

    .icx-masthead__actions {
        width: 315px;
        min-width: 315px;
    }
}

@media (max-width: 900px) {
    .icx-masthead__inner {
        min-height: 84px;
    }

    .icx-masthead__brand .icx-brand__image {
        width: 184px;
        max-height: 70px;
    }

    .icx-masthead__actions {
        width: auto;
        min-width: 0;
        display: flex;
        margin-left: auto;
    }

    .icx-masthead__wide-action {
        display: none;
    }

    .icx-masthead__actions .icx-button {
        min-height: 40px;
        padding: 8px 11px;
        font-size: 0.74rem;
    }
}

@media (max-width: 640px) {
    .icx-masthead__inner {
        min-height: 70px;
        gap: 12px;
    }

    .icx-masthead__brand .icx-brand__image {
        width: 150px;
        max-height: 58px;
    }

    .icx-masthead__actions .icx-button--dark {
        display: none;
    }

    .icx-masthead__actions .icx-button--primary {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 0.72rem;
    }

    .icx-social-links--mobile .icx-social-links__intro {
        display: block;
    }

    .icx-social-links--mobile .icx-social-links__label {
        color: #bdd0d9;
    }

    .icx-social-links--mobile .icx-social-links__items {
        gap: 7px;
    }

    .icx-social-links--mobile .icx-social-link {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: #ffffff;
        background: rgba(255, 255, 255, 0.07);
    }

    .icx-social-links--mobile .icx-social-link svg {
        width: 17px;
        height: 17px;
    }

    .icx-social-links--mobile .icx-social-link:hover {
        border-color: var(--icx-orange, #f58220);
        color: var(--icx-navy-dark, #061f31);
        background: var(--icx-orange, #f58220);
    }
}

@media (max-width: 390px) {
    .icx-masthead__actions .icx-button--primary {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .icx-social-link,
    .icx-masthead__wide-action::after {
        transition: none;
    }
}

html[data-icx-contrast="high"] .icx-social-links__label,
html[data-icx-contrast="high"] .icx-social-links__note {
    color: #ffff00 !important;
}

html[data-icx-contrast="high"] .icx-social-link {
    border: 2px solid #ffffff !important;
    color: #ffff00 !important;
    background: #000000 !important;
    box-shadow: none !important;
}

/* ICX HEADER SAFE REFINEMENT V3 END */

/* ICX MASTHEAD DESKTOP BALANCE V3.2 START */
/*
 * Desktop-only alignment refinement.
 *
 * At >= 1241px the Connect with ICX group is mathematically centred
 * inside the masthead container while the logo remains left-aligned
 * and the action block remains right-aligned.
 *
 * Between 1121px and 1240px we retain the existing compact widths and
 * simply give the social group a stable central track.
 *
 * <= 1120px is intentionally untouched because the existing responsive
 * masthead already hides the desktop social group at that breakpoint.
 */
@media (min-width: 1241px) {
    .icx-masthead__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: clamp(24px, 2.5vw, 38px);
    }

    .icx-masthead__brand {
        justify-self: start;
    }

    .icx-masthead__social {
        justify-self: center;
        margin-left: 0;
    }

    .icx-masthead__actions {
        justify-self: end;
    }
}

@media (min-width: 1121px) and (max-width: 1240px) {
    .icx-masthead__inner {
        display: grid;
        grid-template-columns: 200px minmax(0, 1fr) 330px;
        column-gap: 20px;
    }

    .icx-masthead__brand {
        justify-self: start;
    }

    .icx-masthead__social {
        min-width: 0;
        justify-self: center;
        margin-left: 0;
    }

    .icx-masthead__actions {
        justify-self: end;
    }
}
/* ICX MASTHEAD DESKTOP BALANCE V3.2 END */


/* ICX SOCIAL ICONS V3.1 START */
/*
 * Correct clipping/optical alignment of the five masthead/mobile social SVGs.
 * Deliberately scoped only to .icx-social-link.
 */
.icx-social-link {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    overflow: visible;
    line-height: 0;
}

.icx-social-link svg {
    display: block;
    width: 18px;
    height: 18px;
    max-width: none;
    max-height: none;
    overflow: visible;
    fill: currentColor;
    stroke: none;
    transform: none;
}

/* Small optical corrections: same perceived size, not merely same box size. */
.icx-social-link--linkedin svg {
    width: 17px;
    height: 17px;
}

.icx-social-link--facebook svg {
    width: 18px;
    height: 18px;
}

.icx-social-link--x svg {
    width: 16px;
    height: 16px;
}

.icx-social-link--youtube svg {
    width: 18px;
    height: 18px;
}

.icx-social-link--instagram svg {
    width: 18px;
    height: 18px;
}

.icx-social-links__items {
    gap: 4px;
    overflow: visible;
}

/* Mobile drawer: retain generous touch targets while keeping artwork centred. */
@media (max-width: 900px) {
    .icx-social-links--mobile .icx-social-link {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        overflow: visible;
    }

    .icx-social-links--mobile .icx-social-link svg {
        width: 18px;
        height: 18px;
        overflow: visible;
    }
}

/* Preserve keyboard visibility and high-contrast behaviour. */
.icx-social-link:focus-visible {
    outline: 3px solid var(--icx-orange, #f58220);
    outline-offset: 3px;
}
/* ICX SOCIAL ICONS V3.1 END */

/* ==========================================================
   ICX EVENTS EXPERIENCE V1 START
   Dynamic Events dropdown only. No global container changes.
========================================================== */

.icx-nav-links > .icx-events-menu-item > .icx-submenu-toggle {
    display: none;
}

.icx-nav-links .icx-events-dropdown {
    left: -72px;
    width: 410px;
    padding: 0;
    overflow: hidden;
    border-top: 3px solid var(--icx-orange, #f58220);
    border-radius: 0 0 16px 16px;
    background: #ffffff;
    box-shadow: 0 24px 55px rgba(4, 30, 46, 0.18);
}

.icx-events-dropdown__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 18px 13px;
    color: var(--icx-navy-dark, #061f31);
    background: #f7fafb;
}

.icx-events-dropdown__header > span {
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.icx-events-dropdown__header > small {
    color: #71838d;
    font-size: 0.67rem;
}

.icx-nav-links .icx-events-dropdown__event {
    border-top: 1px solid rgba(7, 52, 79, 0.09);
}

.icx-nav-links .icx-events-dropdown__event > a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    gap: 13px;
    align-items: center;
    padding: 14px 18px;
    color: var(--icx-navy-dark, #061f31);
    background: #ffffff;
}

.icx-nav-links .icx-events-dropdown__event > a:hover,
.icx-nav-links .icx-events-dropdown__event > a:focus-visible {
    color: var(--icx-navy-dark, #061f31);
    background: var(--icx-mint, #edf8f3);
}

.icx-events-dropdown__date {
    display: grid;
    min-height: 48px;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(7, 52, 79, 0.13);
    border-radius: 8px 2px 8px 2px;
    color: var(--icx-navy, #07344f);
    background: #ffffff;
    text-align: center;
}

.icx-events-dropdown__date strong {
    font-family: var(--icx-font-display, "Fraunces"), Georgia, serif;
    font-size: 1.08rem;
    line-height: 1;
}

.icx-events-dropdown__date small {
    margin-top: 3px;
    color: var(--icx-orange, #f58220);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.icx-events-dropdown__copy {
    min-width: 0;
}

.icx-events-dropdown__copy strong {
    display: block;
    color: var(--icx-navy-dark, #061f31);
    font-size: 0.82rem;
    line-height: 1.32;
}

.icx-events-dropdown__copy small {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #71838d;
    font-size: 0.66rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icx-events-dropdown__arrow {
    color: var(--icx-orange, #f58220);
    font-size: 1rem;
    transition: transform 160ms ease;
}

.icx-events-dropdown__event > a:hover .icx-events-dropdown__arrow {
    transform: translateX(3px);
}

.icx-events-dropdown__empty {
    padding: 18px;
    color: #71838d;
    font-size: 0.76rem;
}

.icx-nav-links .icx-events-dropdown__footer {
    border-top: 1px solid rgba(7, 52, 79, 0.1);
    background: var(--icx-navy, #07344f);
}

.icx-nav-links .icx-events-dropdown__footer > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 18px;
    color: #ffffff;
    background: transparent;
    font-size: 0.74rem;
    font-weight: 800;
}

.icx-nav-links .icx-events-dropdown__footer > a:hover,
.icx-nav-links .icx-events-dropdown__footer > a:focus-visible {
    color: #ffffff;
    background: #0b4767;
}

/* Mobile Events accordion. The desktop parent remains a normal link. */
.icx-mobile-links > .icx-events-menu-item {
    position: relative;
}

.icx-mobile-links > .icx-events-menu-item > a {
    padding-right: 56px;
}

.icx-mobile-links .icx-submenu-toggle {
    position: absolute;
    top: 7px;
    right: 0;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.icx-mobile-links .icx-submenu-toggle > span {
    display: block;
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 160ms ease;
}

.icx-mobile-links .icx-events-menu-item.is-open > .icx-submenu-toggle > span {
    transform: rotate(180deg);
}

.icx-mobile-links .icx-events-dropdown {
    position: static;
    width: auto;
    margin: 0;
    padding: 0 0 12px 14px;
    visibility: visible;
    opacity: 1;
    color: #ffffff;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.icx-js .icx-mobile-links .icx-events-dropdown {
    display: none;
}

.icx-js .icx-mobile-links .icx-events-menu-item.is-open > .icx-events-dropdown {
    display: block;
}

.icx-mobile-links .icx-events-dropdown__header {
    padding: 13px 0 10px;
    border: 0;
    color: #ffffff;
    background: transparent;
}

.icx-mobile-links .icx-events-dropdown__header > span {
    color: #ffffff;
}

.icx-mobile-links .icx-events-dropdown__header > small {
    color: #9db7c4;
}

.icx-mobile-links .icx-events-dropdown__event {
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.icx-mobile-links .icx-events-dropdown__event > a {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr) 16px;
    gap: 11px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 0;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.88rem;
}

.icx-mobile-links .icx-events-dropdown__date {
    min-height: 43px;
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.icx-mobile-links .icx-events-dropdown__copy strong {
    color: #ffffff;
    font-size: 0.83rem;
}

.icx-mobile-links .icx-events-dropdown__copy small {
    color: #9db7c4;
}

.icx-mobile-links .icx-events-dropdown__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    background: transparent;
}

.icx-mobile-links .icx-events-dropdown__footer > a {
    display: flex;
    justify-content: space-between;
    padding: 13px 0 5px;
    border-bottom: 0;
    color: #ffffff;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
}

html[data-icx-contrast="high"] .icx-events-dropdown {
    border: 2px solid #ffffff !important;
    border-top-color: #ffff00 !important;
    background: #000000 !important;
}

html[data-icx-contrast="high"] .icx-events-dropdown__header,
html[data-icx-contrast="high"] .icx-events-dropdown__event > a,
html[data-icx-contrast="high"] .icx-events-dropdown__footer,
html[data-icx-contrast="high"] .icx-events-dropdown__date {
    color: #ffffff !important;
    background: #000000 !important;
}

html[data-icx-contrast="high"] .icx-events-dropdown__copy strong,
html[data-icx-contrast="high"] .icx-events-dropdown__header > span {
    color: #ffff00 !important;
}

@media (prefers-reduced-motion: reduce) {
    .icx-events-dropdown__arrow,
    .icx-mobile-links .icx-submenu-toggle > span {
        transition: none;
    }
}

/* ICX EVENTS EXPERIENCE V1 END */


/* ==========================================================
   ICX UNIVERSAL MENU DROPDOWNS V1 START
   All primary menu parents receive a visible dropdown cue.
========================================================== */

/*
 * Reserve only a small amount of space for the caret so the navigation
 * remains compact at desktop widths.
 */
.icx-nav-links > .menu-item-has-children {
    padding-right: 10px;
}

.icx-nav-links > .menu-item-has-children > .icx-submenu-toggle {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: -5px;
    display: grid !important;
    width: 18px;
    height: 22px;
    place-items: center;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.84);
    background: transparent;
    pointer-events: none;
    transform: translateY(-50%);
}

.icx-nav-links > .menu-item-has-children > .icx-submenu-toggle > span {
    display: block;
    font-size: 0.92rem;
    line-height: 1;
    transform-origin: 50% 48%;
    transition: transform 160ms ease;
}

.icx-nav-links > .menu-item-has-children:hover > .icx-submenu-toggle > span,
.icx-nav-links > .menu-item-has-children:focus-within > .icx-submenu-toggle > span {
    transform: rotate(180deg);
}

/*
 * Do not let an individual page's active/current classes influence whether
 * the submenu can open. Hover and keyboard focus work identically everywhere.
 */
.icx-nav-links > .menu-item-has-children > .sub-menu {
    z-index: 1200;
}

.icx-nav-links > .menu-item-has-children:hover > .sub-menu,
.icx-nav-links > .menu-item-has-children:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/*
 * Mobile: every parent behaves as an accordion while its parent page link
 * remains independently clickable.
 */
.icx-mobile-links > .menu-item-has-children {
    position: relative;
}

.icx-mobile-links > .menu-item-has-children > a {
    padding-right: 58px;
}

.icx-mobile-links > .menu-item-has-children > .icx-submenu-toggle {
    position: absolute;
    top: 7px;
    right: 0;
    z-index: 4;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.icx-mobile-links > .menu-item-has-children > .icx-submenu-toggle > span {
    display: block;
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 160ms ease;
}

.icx-mobile-links > .menu-item-has-children.is-open > .icx-submenu-toggle > span {
    transform: rotate(180deg);
}

.icx-js .icx-mobile-links > .menu-item-has-children > .sub-menu {
    display: none;
}

.icx-js .icx-mobile-links > .menu-item-has-children.is-open > .sub-menu {
    display: block;
}

/* Native submenus use the same quieter nested-menu rhythm as Events. */
.icx-mobile-links > .menu-item-has-children > .sub-menu:not(.icx-events-dropdown) {
    padding: 6px 0 10px 16px;
}

.icx-mobile-links > .menu-item-has-children > .sub-menu:not(.icx-events-dropdown) a {
    padding: 11px 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: "DM Sans", sans-serif;
    font-size: 0.96rem;
}

@media (max-width: 640px) {
    .icx-mobile-links > .menu-item-has-children > .icx-submenu-toggle {
        top: 5px;
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .icx-nav-links > .menu-item-has-children > .icx-submenu-toggle > span,
    .icx-mobile-links > .menu-item-has-children > .icx-submenu-toggle > span {
        transition: none !important;
    }
}

html[data-icx-contrast="high"]
.icx-nav-links > .menu-item-has-children > .icx-submenu-toggle,
html[data-icx-contrast="high"]
.icx-mobile-links > .menu-item-has-children > .icx-submenu-toggle {
    color: #ffffff !important;
}

/* ==========================================================
   ICX UNIVERSAL MENU DROPDOWNS V1 END
========================================================== */


/* ==========================================================
   ICX STICKY PRIMARY NAVIGATION V1 START
========================================================== */


/*
 * Spacer is inserted immediately before the nav by JS.
 * It receives a height only while the navigation is fixed,
 * preventing the page from jumping.
 */
.icx-nav-sticky-spacer {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
}


/*
 * The dark navigation remains in normal document flow until
 * JavaScript detects that its original top edge has reached
 * the viewport.
 */
.icx-nav-shell {
    width: 100%;
}


/*
 * Actual sticky state.
 *
 * position: fixed is deliberate rather than position: sticky:
 * the navigation currently lives inside .icx-site-header,
 * and CSS sticky would therefore be constrained by that
 * parent's bottom boundary.
 */
.icx-nav-shell.icx-nav-shell--fixed {
    position: fixed !important;

    top: 0;
    right: 0;
    left: 0;

    width: 100%;

    z-index: 10000;

    box-shadow:
        0
        8px
        24px
        rgba(4, 27, 42, 0.16);
}


/*
 * Logged-in WordPress users have an admin toolbar occupying
 * the top of the screen.
 */
body.admin-bar
.icx-nav-shell.icx-nav-shell--fixed {
    top: 32px;
}


@media screen and (max-width: 782px) {

    body.admin-bar
    .icx-nav-shell.icx-nav-shell--fixed {
        top: 46px;
    }

}


/*
 * Preserve dropdown stacking while the navigation is fixed.
 */
.icx-nav-shell.icx-nav-shell--fixed
.sub-menu,
.icx-nav-shell.icx-nav-shell--fixed
.icx-events-dropdown {
    z-index: 10100;
}


/*
 * Small visual cue after the navigation becomes fixed.
 * Keep it subtle and consistent with the ICX masthead.
 */
.icx-nav-shell.icx-nav-shell--fixed {
    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);
}


/*
 * Disable animation for users requesting reduced motion.
 */
@media (prefers-reduced-motion: reduce) {

    .icx-nav-shell {
        transition: none !important;
    }

}


/* ==========================================================
   ICX STICKY PRIMARY NAVIGATION V1 END
========================================================== */


/* ==========================================================
   ICX NEWSLETTER HEADER ICON V1
========================================================== */

/*
 * Newsletter is part of the Connect with ICX strip but is an
 * internal ICX Resource destination rather than another
 * social network. Give it a subtle orange identity.
 */

.icx-social-link--newsletter {
    color:
        var(
            --icx-orange,
            #f58220
        );

    background:
        rgba(
            245,
            130,
            32,
            0.08
        );

    box-shadow:
        inset
        0
        0
        0
        1px
        rgba(
            245,
            130,
            32,
            0.2
        );
}


.icx-social-link--newsletter svg {
    width: 16px;
    height: 16px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.icx-social-link--newsletter:hover {
    color:
        var(
            --icx-navy-dark,
            #061f31
        );

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

    box-shadow:
        0
        7px
        16px
        rgba(
            245,
            130,
            32,
            0.22
        );
}


/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

.icx-social-links--mobile
.icx-social-link--newsletter {
    color: #ffffff;

    border-color:
        rgba(
            245,
            130,
            32,
            0.7
        );

    background:
        rgba(
            245,
            130,
            32,
            0.15
        );

    box-shadow:
        inset
        0
        0
        0
        1px
        rgba(
            245,
            130,
            32,
            0.18
        );
}


.icx-social-links--mobile
.icx-social-link--newsletter:hover {
    color:
        var(
            --icx-navy-dark,
            #061f31
        );

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


/* ==========================================================
   END ICX NEWSLETTER HEADER ICON V1
========================================================== */


/* ==========================================================
   ICX EVENTS NAV — MAX 7 SUPPORT V1
========================================================== */

/*
 * Seven future events can make the dropdown tall.
 * Keep it inside the visible browser area without changing
 * the existing menu design.
 */
.icx-nav-links .icx-events-dropdown {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Mobile already lives inside a scrollable navigation panel. */
.icx-mobile-links .icx-events-dropdown {
    max-height: none;
    overflow: visible;
}

/* END ICX EVENTS NAV — MAX 7 SUPPORT V1 */


/* ==========================================================
   ICX PROGRAMMES SELF-PACED SUBMENU V11
========================================================== */

.icx-nav-links
.sub-menu
.icx-menu-item--self-paced
> a {
    position: relative;

    border-left:
        3px solid
        var(--icx-orange);

    background:
        linear-gradient(
            90deg,
            rgba(245, 130, 32, .09),
            rgba(245, 130, 32, 0)
        );
}

.icx-nav-links
.sub-menu
.icx-menu-item--self-paced
> a:hover,
.icx-nav-links
.sub-menu
.icx-menu-item--self-paced
> a:focus-visible {
    background:
        rgba(245, 130, 32, .14);
}

.icx-mobile-links
.icx-menu-item--self-paced
> a {
    border-left:
        3px solid
        var(--icx-orange);
}

/* END ICX PROGRAMMES SELF-PACED SUBMENU V11 */
