.ua-site--modern .ua-module,
.ua-site--modern .modulecontainer,
.ua-site--modern .whatsnewmodulecontainer,
.ua-site--modern .calendarmodulecontainer,
.ua-site--modern .actionmodulecontainer {
    margin-block: 0 var(--ua-space-module);
    color: var(--ua-color-text);
}

.ua-site--modern .ua-module__header {
    margin-bottom: 1rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.ua-site--modern .ua-module__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--ua-color-action);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ua-site--modern .ua-module__title {
    margin: 0;
}

.ua-site--modern .ua-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 1rem;
}

.ua-site--modern .ua-action-card {
    min-height: 7rem;
    padding: 1.2rem;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-card);
    text-decoration: none;
}

.ua-site--modern .ua-action-card:hover {
    color: var(--ua-color-brand);
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: 1.25rem;
}

.ua-site--modern .ua-news-card {
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
}

.ua-site--modern .ua-news-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ua-site--modern .ua-news-card__body {
    padding: 1.25rem;
}

.ua-site--modern .ua-event-list {
    display: grid;
    gap: 0.8rem;
}

.ua-site--modern .ua-event {
    padding: 1rem;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 1rem;
    background: var(--ua-color-surface);
}

.ua-site--modern .ua-event__date {
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-sm);
    text-align: center;
    background: var(--ua-color-canvas);
}

.ua-site--modern .ua-event__month,
.ua-site--modern .ua-event__day {
    display: block;
}

.ua-site--modern .ua-event__month {
    padding: 0.25rem;
    color: var(--ua-color-on-brand);
    background: var(--ua-color-brand);
    font-size: 0.72rem;
    font-weight: 800;
}

.ua-site--modern .ua-event__day {
    padding: 0.25rem;
    color: var(--ua-color-brand-strong);
    font-size: 1.4rem;
    font-weight: 800;
}

.ua-site--modern .ua-notice {
    padding: 1rem 1.25rem;
    border-left: 0.35rem solid var(--ua-color-action);
    border-radius: 0 var(--ua-radius-md) var(--ua-radius-md) 0;
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-card);
}

/* Quick Links Panel: a compact dark utility module using the active theme's
   brand and action colors while retaining the existing Links data source. */
.ua-site--modern .ua-quick-links {
    width: min(calc(100% - 2rem), 28rem);
    margin-inline: auto;
    padding: 0.75rem;
    border: 1px solid color-mix(in srgb, var(--ua-color-action) 68%, var(--ua-color-border));
    border-radius: var(--ua-radius-md);
    color: var(--ua-color-on-brand);
    background:
        radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--ua-color-accent) 22%, transparent), transparent 48%),
        linear-gradient(145deg, var(--ua-color-brand-strong), var(--ua-color-brand));
    box-shadow: var(--ua-shadow-card), inset 0 0 0 1px rgb(255 255 255 / 0.05);
}

.ua-site--modern .ua-quick-links__header {
    min-height: 2.5rem;
    padding: 0.15rem 0.35rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ua-site--modern .ua-quick-links__header-icon {
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid color-mix(in srgb, var(--ua-color-accent) 68%, var(--ua-color-on-brand));
    border-radius: 50%;
    display: grid;
    flex: 0 0 1.75rem;
    place-items: center;
    color: var(--ua-color-on-brand);
    background: color-mix(in srgb, var(--ua-color-brand-strong) 82%, var(--ua-color-action));
}

.ua-site--modern .ua-quick-links__header-icon i {
    color: inherit !important;
    font-size: 0.75rem;
}

.ua-site--modern .ua-quick-links__header h2 {
    margin: 0;
    color: var(--ua-color-on-brand) !important;
    font-family: var(--ua-font-heading);
    font-size: clamp(0.95rem, 1.6vw, 1.15rem) !important;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.ua-site--modern .ua-quick-links__nav {
    display: grid;
    gap: 0.34rem;
}

.ua-site--modern .ua-quick-links__link {
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.42rem 0.52rem;
    border: 1px solid color-mix(in srgb, var(--ua-color-accent) 35%, var(--ua-color-brand-strong));
    border-radius: var(--ua-radius-sm);
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    color: var(--ua-color-on-brand) !important;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--ua-color-brand) 68%, var(--ua-color-brand-strong)), var(--ua-color-brand));
    box-shadow: inset 0 0.08rem 0 rgb(255 255 255 / 0.1), 0 0.12rem 0.35rem rgb(0 0 0 / 0.2);
    font-size: clamp(0.78rem, 1vw, 0.9rem);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-decoration: none !important;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ua-site--modern .ua-quick-links__link > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ua-site--modern .ua-quick-links__row-icon {
    width: 1.15rem;
    color: color-mix(in srgb, var(--ua-color-on-brand) 58%, var(--ua-color-accent)) !important;
    font-size: 0.7rem;
    text-align: center;
}

.ua-site--modern .ua-quick-links__arrow {
    color: var(--ua-color-on-brand) !important;
    font-size: 0.68rem;
    transition: transform 160ms ease;
}

.ua-site--modern .ua-quick-links__link:is(:hover, :focus-visible) {
    border-color: var(--ua-color-action);
    color: var(--ua-color-on-brand) !important;
    background:
        linear-gradient(90deg, var(--ua-color-brand), color-mix(in srgb, var(--ua-color-action) 72%, var(--ua-color-brand)));
    box-shadow: inset 0.18rem 0 0 var(--ua-color-action), 0 0.35rem 0.75rem rgb(0 0 0 / 0.28);
    transform: translateX(0.14rem);
}

.ua-site--modern .ua-quick-links__link:is(:hover, :focus-visible) .ua-quick-links__row-icon {
    color: var(--ua-color-on-brand) !important;
}

.ua-site--modern .ua-quick-links__link:is(:hover, :focus-visible) .ua-quick-links__arrow {
    transform: translateX(0.16rem);
}

@media (prefers-reduced-motion: reduce) {
    .ua-site--modern .ua-quick-links__link,
    .ua-site--modern .ua-quick-links__arrow {
        transition: none;
    }

    .ua-site--modern .ua-quick-links__link:is(:hover, :focus-visible) {
        transform: none;
    }
}

/* Shared presentation bridge for built-in and client-configured modules. */
.ua-site--modern :is(
    .module,
    .modulebox,
    .modulecontainer,
    .whatsnewmodulebox,
    .calendarmodulebox,
    .eventmodulebox,
    .linkmodulebox,
    .loginmodulebox,
    .sponsormodulebox,
    .w3-card
) {
    border-color: var(--ua-color-border) !important;
    border-radius: var(--ua-radius-md) !important;
    background-color: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-card) !important;
}

.ua-site--modern :is(
    .moduleheader,
    .modulehead,
    .moduleboxtitle,
    .whatsnewmodulehead,
    .calendarheader,
    .highlighthead
) {
    color: var(--ua-color-brand-strong);
    font-family: var(--ua-font-heading);
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.2;
}

.ua-site--modern :is(.modulecontent, .whatsnewmodulecontent, .calendarcontent) {
    color: var(--ua-color-text);
    line-height: 1.65;
}

.ua-site--modern :is(.leftcolumn, .rightcolumn) > div > :first-child {
    margin-top: 0;
}

.ua-site--modern :is(.leftcolumn, .rightcolumn) :is(table, .modulecontainer, .w3-card) {
    max-width: 100%;
}

.ua-site--modern .maincolumn img,
.ua-site--modern .leftcolumn img,
.ua-site--modern .rightcolumn img {
    max-width: 100%;
    height: auto;
}

.ua-site--modern :is(.maincolumn, .leftcolumn, .rightcolumn) table {
    border-collapse: collapse;
}

.ua-site--modern :is(.maincolumn, .leftcolumn, .rightcolumn) :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
    select,
    textarea
) {
    max-width: 100%;
    min-height: 2.75rem;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-sm);
}

.ua-site--modern :is(.maincolumn, .leftcolumn, .rightcolumn) :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
    select,
    textarea
):focus {
    border-color: var(--ua-color-action);
    outline: 3px solid color-mix(in srgb, var(--ua-color-action) 28%, transparent);
    outline-offset: 1px;
}

.ua-site--modern :is(.maincolumn, .leftcolumn, .rightcolumn) input:is([type="checkbox"], [type="radio"]) {
    width: auto !important;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0 0.4rem 0 0;
    padding: 0;
    display: inline-block;
    border: 0;
    border-radius: 0;
    background: transparent;
    accent-color: var(--ua-color-action);
    vertical-align: -0.1em;
}

.ua-site--modern :is(.maincolumn, .leftcolumn, .rightcolumn) input:is([type="checkbox"], [type="radio"]):focus-visible {
    outline: 2px solid var(--ua-color-action);
    outline-offset: 2px;
}

.ua-site--modern :is(.buttoncolor, input[type="submit"], input[type="button"], button:not(.ua-menu__toggle, .ua-icon-button, .ua-menu-toggle)) {
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--ua-color-on-brand);
    background: var(--ua-color-brand);
    box-shadow: 0 0.35rem 0.85rem rgb(3 36 61 / 0.14);
    font: inherit;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ua-site--modern :is(.buttoncolor, input[type="submit"], input[type="button"], button:not(.ua-menu__toggle, .ua-icon-button, .ua-menu-toggle)):hover {
    border-color: var(--ua-color-brand-strong);
    color: var(--ua-color-on-brand);
    background: var(--ua-color-brand-strong);
    box-shadow: 0 0.5rem 1.1rem rgb(3 36 61 / 0.22);
    transform: translateY(-1px);
}

.ua-site--modern :is(.buttoncolor, input[type="submit"], input[type="button"], button:not(.ua-menu__toggle, .ua-icon-button, .ua-menu-toggle)):focus-visible {
    border-color: var(--ua-color-focus);
    outline: 3px solid color-mix(in srgb, var(--ua-color-focus) 38%, transparent);
    outline-offset: 2px;
}

.ua-site--modern :is(.buttoncolor, input[type="submit"], input[type="button"], button:not(.ua-menu__toggle, .ua-icon-button, .ua-menu-toggle)):active {
    box-shadow: 0 0.2rem 0.45rem rgb(3 36 61 / 0.18);
    transform: translateY(0);
}

.ua-site--modern :is(.buttoncolor, input[type="submit"], input[type="button"], button):disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.ua-site--modern .ua-module-tabs {
    width: min(100%, 74rem);
    margin-inline: auto;
}

.ua-site--modern .ua-module-tabs__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: 0.7rem;
}

.ua-site--modern .ua-module-tabs__button {
    min-height: 4rem !important;
    border: 1px solid var(--ua-color-border) !important;
    border-radius: var(--ua-radius-md) !important;
    color: var(--ua-color-brand-strong) !important;
    background: var(--ua-color-surface) !important;
    box-shadow: var(--ua-shadow-card);
}

.ua-site--modern .ua-module-tabs__button > i {
    margin-right: 0.55rem;
    color: var(--ua-color-action);
}

.ua-site--modern .ua-module-tabs__button.is-active > i {
    color: inherit;
}

.ua-site--modern .ua-module-tabs__button:is(:hover, :focus-visible),
.ua-site--modern .ua-module-tabs__button.is-active {
    border-color: var(--ua-color-action) !important;
    color: var(--ua-color-on-brand) !important;
    background: var(--ua-color-brand) !important;
    transform: translateY(-2px);
}

.ua-site--modern .ua-module-tabs__panel {
    min-height: 8rem;
    padding-block: 1rem;
}

.ua-site--modern .ua-module-loading,
.ua-site--modern .ua-module-admin {
    padding: 1rem;
    text-align: center;
}

.ua-site--modern .ua-module-admin form {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .ua-site--modern .ua-module-tabs__button {
        transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
    }
}

.ua-site--modern [class*="modulebox"],
.ua-site--modern [class*="modulecontainer"] {
    overflow-wrap: anywhere;
}

.ua-site--modern :is(
    .actionmodulebox,
    .Affiliatesmodulecontent,
    .blogupdatesmodulebox,
    .blogtopicsmodulecontent,
    .endorsementsmodulebox,
    .linksmodulebox,
    .upcomingmodulebox,
    .datemodulecontent
) {
    border-radius: var(--ua-radius-md);
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
}

.ua-site--modern :is(
    .moduletitle,
    .linksmoduletitle,
    .calendarmoduletitle,
    .headlinehometitle,
    .subjectlinework,
    .subjectlinetext
) {
    color: var(--ua-color-brand-strong) !important;
    font-family: var(--ua-font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.ua-site--modern :is(.headlines3, .imagecontainer, .headlinearticle) {
    overflow: hidden;
    border-radius: var(--ua-radius-md);
}

.ua-site--modern :is(.articlefont, .upcomingmodulecontent, .actionmodulecontent) {
    color: var(--ua-color-text);
    font-size: 1rem;
    line-height: 1.65;
}

.ua-site--modern .nfMain {
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
}

.ua-site--modern .nfLink {
    min-height: 2.75rem;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--ua-color-border);
    display: flex;
    align-items: center;
    color: var(--ua-color-text);
    text-decoration: none;
}

.ua-site--modern .nfLink:is(:hover, :focus-visible) {
    color: var(--ua-color-brand);
    background: var(--ua-color-surface-muted);
}

.ua-site--modern :is(.w3-modal, [role="dialog"]) {
    color: var(--ua-color-text);
}

.ua-site--modern :is(.w3-modal-content, .modalimage) {
    border-radius: var(--ua-radius-md);
    box-shadow: var(--ua-shadow-elevated, 0 1.5rem 4rem rgb(0 0 0 / 0.28));
}

.ua-site--modern .w3-cell-row {
    display: grid;
    gap: 0.8rem;
}

.ua-site--modern .w3-border {
    border-color: var(--ua-color-border) !important;
}

@media (max-width: 42rem) {
    .ua-site--modern .ua-module-tabs__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-module-tabs__button {
        min-height: 3.25rem !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .ua-site--modern :is(
        .w3-card,
        .whatsnewmodulebox,
        .calendarmodulebox,
        .actionmodulebox,
        .linksmodulebox,
        .headlines3
    ) {
        transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    }

    .ua-site--modern :is(
        .w3-card,
        .whatsnewmodulebox,
        .calendarmodulebox,
        .actionmodulebox,
        .linksmodulebox,
        .headlines3
    ):hover {
        border-color: color-mix(in srgb, var(--ua-color-action) 55%, var(--ua-color-border)) !important;
        box-shadow: 0 1.25rem 3rem rgb(13 38 49 / 0.16) !important;
        transform: translateY(-0.3rem);
    }
}

/* Shared module panels keep headings and content aligned across column types. */
.ua-site--modern .ua-module-panel {
    width: min(calc(100% - 2 * var(--ua-module-edge-gap)), var(--ua-content-max)) !important;
    max-width: var(--ua-content-max) !important;
    padding: var(--ua-module-padding) !important;
    margin-inline: auto !important;
    text-align: left;
}

/* The compact calendar is not wrapped in .ua-module-panel. Give it the same
   card width and gutter wherever it appears: sidebar, article, or an inner
   home-page column. */
.ua-site--modern #smallcalendarspot {
    width: min(calc(100% - 2 * var(--ua-module-edge-gap)), var(--ua-content-max)) !important;
    max-width: var(--ua-content-max) !important;
    margin-inline: auto !important;
    box-sizing: border-box;
}

.ua-site--modern .ua-module-panel__body,
.ua-site--modern .ua-module-panel .w3-container {
    width: 100%;
    max-width: none !important;
    padding: 0 !important;
    margin-inline: 0 !important;
    text-align: left !important;
}

.ua-site--modern .ua-module-panel :is(h1, h2, .moduletitle, .IAFFHeadmoduletitle) {
    margin: 0 0 1rem !important;
    padding: 0 !important;
    display: block;
    color: var(--ua-color-brand-strong);
    font-family: var(--ua-font-heading);
    font-size: var(--ua-font-size-module-title) !important;
    font-weight: 800;
    line-height: 1.2;
    text-align: left !important;
}

.ua-site--modern .ua-module-panel :is(.modulecontainer, .modulebox, .actionmodulebox, .Affiliatesmodulecontent) {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.ua-site--modern .ua-module-panel :is(.LTEdge, .RTEdge, .LeftEdge, .RightEdge, .BLEdge, .BottomEdge, .BREdge) {
    display: none;
}

/* Theme-aware title bands for utility modules. Article/news display modules
   intentionally do not opt into this treatment. */
.ua-site--modern .ua-titled-module {
    overflow: hidden;
}

.ua-site--modern .ua-titled-module__header,
.ua-site--modern .ua-module-panel .ua-titled-module__header {
    box-sizing: border-box;
    width: calc(100% + (2 * var(--ua-module-padding)));
    min-height: 4.5rem;
    margin: calc(-1 * var(--ua-module-padding)) calc(-1 * var(--ua-module-padding)) clamp(1rem, 2vw, 1.4rem) !important;
    padding: clamp(1rem, 2.4vw, 1.35rem) clamp(1.15rem, 3vw, 1.75rem) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--ua-color-brand) 18%, var(--ua-color-border));
    display: flex;
    align-items: center;
    color: var(--ua-color-text) !important;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ua-color-brand) 12%, var(--ua-color-surface)), color-mix(in srgb, var(--ua-color-action) 5%, var(--ua-color-surface))) !important;
}

/* A panel header sits inside the panel's padded body. Let normal block
   stretching account for both negative side margins instead of combining an
   expanded fixed width with logical margins, which could leave the left edge
   inset and clip the right edge in legacy W3 module wrappers. */
.ua-site--modern .ua-module-panel .ua-module-panel__body > .ua-titled-module__header:not(td) {
    width: auto !important;
    margin-top: calc(-1 * var(--ua-module-padding)) !important;
    margin-right: calc(-1 * var(--ua-module-padding)) !important;
    margin-bottom: clamp(1rem, 2vw, 1.4rem) !important;
    margin-left: calc(-1 * var(--ua-module-padding)) !important;
}

.ua-site--modern .ua-titled-module__header :is(h1, h2),
.ua-site--modern .ua-module-panel .ua-titled-module__header :is(h1, h2),
.ua-site--modern .ua-titled-module__header:is(.moduletitle, .linksmoduletitle, .Affiliatesmoduletitle, .teamcampmoduletitle),
.ua-site--modern .ua-titled-module__header > :is(.moduletitle, .linksmoduletitle, .Affiliatesmoduletitle, .teamcampmoduletitle) {
    margin: 0 !important;
    color: inherit !important;
    font-family: var(--ua-font-heading);
    font-size: var(--ua-font-size-module-title) !important;
    font-weight: 780;
    line-height: 1.2;
    text-align: left !important;
}

.ua-site--modern .ua-titled-module--action .ua-titled-module__header {
    border-bottom-color: color-mix(in srgb, var(--ua-color-action) 26%, var(--ua-color-border));
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ua-color-action) 15%, var(--ua-color-surface)), color-mix(in srgb, var(--ua-color-brand) 6%, var(--ua-color-surface))) !important;
}

.ua-site--modern .ua-titled-module--accent .ua-titled-module__header {
    border-bottom-color: color-mix(in srgb, var(--ua-color-accent) 30%, var(--ua-color-border));
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ua-color-accent) 17%, var(--ua-color-surface)), color-mix(in srgb, var(--ua-color-action) 5%, var(--ua-color-surface))) !important;
}

.ua-site--modern .ua-titled-module--muted .ua-titled-module__header {
    background:
        linear-gradient(135deg, var(--ua-color-surface-muted), color-mix(in srgb, var(--ua-color-brand) 8%, var(--ua-color-surface))) !important;
}

/* Older table modules use the title cell as their header. */
.ua-site--modern td.ua-titled-module__header {
    width: auto;
    margin: 0 !important;
}

/* The legacy date module used align attributes but left its outer card and
   inner content visually weighted to one side. Keep the card in the shared
   module frame and center the compact date block within it. */
.ua-site--modern .ua-date-module {
    text-align: center !important;
}

.ua-site--modern .ua-date-module__body {
    display: grid;
    place-items: center;
    min-height: clamp(5rem, 9vw, 7rem);
    margin: 0 !important;
    text-align: center !important;
}

.ua-site--modern .ua-date-module__body > .datemodulecontent {
    width: min(100%, 34rem) !important;
    margin-inline: auto !important;
    text-align: center !important;
}

.ua-site--modern .ua-date-module .datemoduletitle {
    display: inline-block;
    text-align: center !important;
}

/* Section backgrounds span their region; the shared inner frame centers content. */
.ua-site--modern .ua-news-section {
    width: 100% !important;
    max-width: none !important;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 !important;
    margin: 0 !important;
}

.ua-site--modern .ua-news-section--transparent {
    background: transparent !important;
}

/* Reusable client-configured section backgrounds. Each color and its text
   color can be changed centrally in the selected theme or custom_site.css. */
.ua-site--modern .ua-section-background--1 {
    color: var(--ua-color-section-1-text);
    background-color: var(--ua-color-section-1) !important;
}

.ua-site--modern .ua-section-background--2 {
    color: var(--ua-color-section-2-text);
    background-color: var(--ua-color-section-2) !important;
}

.ua-site--modern .ua-section-background--3 {
    color: var(--ua-color-section-3-text);
    background-color: var(--ua-color-section-3) !important;
}

.ua-site--modern .ua-section-background--4 {
    color: var(--ua-color-section-4-text);
    background-color: var(--ua-color-section-4) !important;
}

/* Keep the full three-column news band white, including its top and bottom
   section padding, without changing other uses of the configurable colors. */
.ua-site--modern .ua-news-section--three-column {
    color: var(--ua-color-text);
    background-color: var(--ua-color-surface) !important;
}

.ua-site--modern .ua-news-section--flush-top {
    padding-top: 0 !important;
}

.ua-site--modern .ua-all-articles__heading {
    padding: clamp(2.5rem, 4vw, 3.75rem) 0 clamp(1.25rem, 2vw, 1.75rem) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ua-site--modern .ua-all-articles__heading h1,
.ua-site--modern .ua-all-articles__more-form {
    margin: 0;
}

@media (max-width: 33.75rem) {
    .ua-site--modern .ua-all-articles__heading {
        align-items: stretch;
        flex-direction: column;
    }

    .ua-site--modern .ua-all-articles__more-form .buttoncolor {
        width: 100%;
    }
}

.ua-site--modern .ua-all-articles__heading h1 {
    margin: 0;
}

.ua-site--modern .ua-news-section .ua-news-section__inner {
    width: min(calc(100% - 2 * var(--ua-page-gutter)), var(--ua-content-max));
    max-width: var(--ua-content-max) !important;
    padding: 0 !important;
    margin-inline: auto !important;
    text-align: left;
}

.ua-site--modern .ua-news-section__inner > div:not(.ua-all-articles__heading):has(> h1) {
    padding: 0 0 1.25rem !important;
}

.ua-site--modern .ua-news-section :is(table, td) {
    min-width: 0;
}

/* Flatten only presentation rows. Content, links, queries and admin forms stay intact. */
.ua-site--modern table:has(> tbody > .resprow > .headlines3) > tbody,
.ua-site--modern .ua-article-grid > tbody {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 1.25rem;
}

.ua-site--modern table:has(> tbody > .resprow > .headlines3) > tbody > .resprow,
.ua-site--modern .ua-article-grid > tbody > .resprow {
    display: contents !important;
}

.ua-site--modern .ua-article-grid.ua-article-grid--two {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    border-spacing: 0 !important;
}

.ua-site--modern .ua-article-grid--two > tbody {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}

.ua-site--modern .ua-article-grid > tbody > tr > td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    padding: 0;
}

.ua-site--modern .ua-article-grid > tbody > tr > td:empty {
    display: none !important;
}

.ua-site--modern .articletable {
    overflow: hidden;
}

.ua-site--modern .articletable > div {
    padding: var(--ua-module-padding) !important;
}

.ua-site--modern .articletable .headlinehometitle {
    padding-top: 0 !important;
}

.ua-site--modern .articletable .imagecontainer {
    width: 100%;
    float: none;
}

.ua-site--modern .ua-feature-grid.ua-news-section__inner {
    display: grid !important;
    width: min(calc(100% - 2 * var(--ua-page-gutter)), var(--ua-content-max)) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: 1.25rem;
    margin-block: 0 !important;
}

.ua-site--modern .ua-feature-grid > :is(.subjectlinework, .subjectlinetext) {
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 24rem !important;
    margin: 0 !important;
}

.ua-site--modern .ua-feature-grid--alternating > .subjectlinework:nth-child(4n + 1) {
    grid-column: 2;
}

.ua-site--modern .ua-feature-grid--alternating > .subjectlinetext:nth-child(4n + 2) {
    grid-column: 1;
}

.ua-site--modern .ua-feature-grid > div:not(.subjectlinework, .subjectlinetext) {
    grid-column: 1 / -1;
}

.ua-site--modern .ua-news-section :is(#previewimagetable, #previewimagetableheadone) {
    max-width: 100%;
    margin-inline: 0 !important;
}

@media (max-width: 52rem) {
    .ua-site--modern .ua-feature-grid.ua-news-section__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-feature-grid > :is(.subjectlinework, .subjectlinetext) {
        grid-column: 1 !important;
        min-height: 0 !important;
    }

    .ua-site--modern .ua-feature-grid > .subjectlinework {
        min-height: 20rem !important;
    }
}

.ua-site--modern table.whatsnewmodulebox.w3-card {
    display: block;
    overflow: hidden;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: var(--ua-radius-md) !important;
}

.ua-site--modern table.whatsnewmodulebox.w3-card > tbody {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.ua-site--modern .whatsnewmodulebox .resprowfast {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1.25rem;
}

/* When an article has no uploaded image, do not reserve an image column.
   The boxed variant can still show its administrator controls above the
   article while the article copy uses the card's full available width. */
.ua-site--modern .whatsnewmodulebox .resprowfast.ua-whats-new-row--no-image {
    grid-template-columns: minmax(0, 1fr);
}

.ua-site--modern .whatsnewmodulebox .respcellfast {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}

.ua-site--modern .whatsnewmodulebox .respcellfast:first-child:not(:has(img, form)) {
    display: none !important;
}

.ua-site--modern .whatnewimage {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--ua-radius-sm);
}

.ua-site--modern table.whatsnewmodulecontainer {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-collapse: separate !important;
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
}

.ua-site--modern table.whatsnewmodulecontainer :is(.LTEdge, .RTEdge, .LeftEdge, .RightEdge, .BLEdge, .BottomEdge, .BREdge) {
    display: none;
}

.ua-site--modern :is(.whatsnewmoduletitle, .headlinecontent, .whatsnewmodulecontent) {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.ua-site--modern #rotatediv {
    width: 100%;
    max-width: 100%;
}

.ua-site--modern #rotatediv #previewimagetable {
    max-width: 100%;
    margin-inline: 0 !important;
}

/* Feed columns must wrap by words rather than collapse to their minimum text width. */
.ua-site--modern #laborstartmodulecontent {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-spacing: 0 !important;
    table-layout: fixed;
}

.ua-site--modern #laborstartmodulecontent > tbody > .resprow {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 1.5rem;
}

.ua-site--modern #laborstartmodulecontent .respcell {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0;
}

.ua-site--modern #laborstartmodulecontent table {
    width: 100% !important;
    table-layout: fixed;
}

.ua-site--modern #laborstartmodulecontent :is(td, a, p, div) {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Highlights admin controls belong on their own row, after every highlight. */
.ua-site--modern div:has(> .highlighbox) > :not(.highlighbox) {
    grid-column: 1 / -1;
}

.ua-site--modern div:has(> .highlighbox) > div[style*="clear:left"] {
    display: none;
}

.ua-site--modern div:has(> .highlighbox) > table:has(form[name="formhighlights"]) {
    width: auto;
    justify-self: center;
    margin: 1rem auto 0;
    clear: both;
}

.ua-site--modern table:has(form[name="formhighlights"]) {
    margin: 1rem auto 0;
    clear: both;
}

.ua-site--modern .ua-page-article-list {
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
    clear: both;
}

/* Native article rotators replace the legacy Dojo widgets while retaining the
   existing Articles queries and administration workflows. */
.ua-site--modern .ua-native-rotator {
    position: relative;
    min-width: 0;
}

.ua-site--modern .ua-native-rotator__slide[hidden] {
    display: none !important;
}

/* Table-free image rotators. The first slide remains visible without
   JavaScript; ua-shell.js progressively adds rotation and controls. */
.ua-site--modern .ua-image-rotator {
    width: 100%;
    height: var(--ua-image-rotator-height, 450px);
    min-height: 18rem;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    color: #fff;
    background: var(--ua-color-brand-strong);
    box-shadow: var(--ua-shadow-card);
}

.ua-site--modern .ua-image-rotator__slides,
.ua-site--modern .ua-image-rotator__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ua-site--modern .ua-image-rotator__slide {
    overflow: hidden;
}

.ua-site--modern .ua-image-rotator__image {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    display: block;
    object-fit: cover;
    object-position: center;
}

.ua-site--modern .ua-image-rotator__media-link {
    position: absolute;
    z-index: 1;
    inset: 0;
}

.ua-site--modern .ua-image-rotator__shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgb(3 24 39 / 0.86), transparent 62%);
}

.ua-site--modern .ua-image-rotator__content {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 52rem;
    padding: clamp(1.25rem, 4vw, 2.75rem);
    pointer-events: none;
}

.ua-site--modern .ua-image-rotator__content h2 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(1.5rem, 4vw, 2.75rem) !important;
    line-height: 1.05;
    text-shadow: 0 0.2rem 1rem rgb(0 0 0 / 0.45);
}

.ua-site--modern .ua-image-rotator__description {
    max-width: 42rem;
    margin-top: 0.65rem;
    color: rgb(255 255 255 / 0.92);
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.5;
    text-shadow: 0 0.15rem 0.7rem rgb(0 0 0 / 0.55);
}

.ua-site--modern .ua-image-rotator__description > :first-child {
    margin-top: 0;
}

.ua-site--modern .ua-image-rotator__description > :last-child {
    margin-bottom: 0;
}

.ua-site--modern .ua-image-rotator__controls {
    z-index: 5;
}

@media (prefers-reduced-motion: no-preference) {
    .ua-site--modern .ua-image-rotator__slide:not([hidden]) {
        animation: ua-feature-hero-reveal 420ms ease both;
    }
}

@media (max-width: 42rem) {
    .ua-site--modern .ua-image-rotator {
        height: min(var(--ua-image-rotator-height, 450px), 75vw);
        min-height: 15rem;
        border-radius: var(--ua-radius-sm);
    }

    .ua-site--modern .ua-image-rotator__content {
        padding: 1rem 1rem 4.5rem;
    }

    .ua-site--modern .ua-image-rotator__description {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

/* Responsive photo-gallery slider. */
.ua-site--modern .ua-gallery-slider {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: clamp(2.25rem, 5vw, 4rem) auto;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ua-site--modern .ua-gallery-slider__header {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.ua-site--modern .ua-gallery-slider__header h2 {
    margin: 0;
    color: var(--ua-color-brand-strong);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.ua-site--modern .ua-gallery-slider__buttons {
    display: flex;
    gap: 0.55rem;
}

.ua-site--modern .ua-gallery-slider__buttons button {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem !important;
    min-height: 2.75rem !important;
    padding: 0 !important;
    border: 1px solid var(--ua-color-border) !important;
    border-radius: 50% !important;
    display: grid;
    place-items: center;
    color: var(--ua-color-brand) !important;
    background: var(--ua-color-surface) !important;
    box-shadow: none !important;
}

.ua-site--modern .ua-gallery-slider__buttons button:hover:not(:disabled) {
    color: var(--ua-color-on-brand) !important;
    background: var(--ua-color-brand) !important;
    transform: translateY(-1px);
}

.ua-site--modern .ua-gallery-slider__buttons button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ua-site--modern .ua-gallery-slider__viewport {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.2rem 0 1rem;
    overflow-x: auto;
    contain: inline-size;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--ua-color-border) transparent;
    scrollbar-width: thin;
}

.ua-site--modern .ua-gallery-slider__track {
    width: max-content;
    min-width: 100%;
    max-width: none;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 15.3125rem;
    justify-content: center;
    gap: 1.125rem;
}

.ua-site--modern .ua-gallery-slider__viewport:focus-visible {
    outline: 0.2rem solid color-mix(in srgb, var(--ua-color-action) 45%, transparent);
    outline-offset: 0.25rem;
    border-radius: var(--ua-radius-sm);
}

.ua-site--modern .ua-gallery-slider__card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: 0.9375rem;
    scroll-snap-align: start;
    background: var(--ua-color-surface);
    box-shadow: 0 0.4rem 1.2rem rgb(8 31 48 / 0.1);
}

.ua-site--modern .ua-gallery-slider__cover {
    position: relative;
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-gallery-slider__card img {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    display: block;
    object-fit: cover;
    transition: transform 320ms ease;
}

.ua-site--modern .ua-gallery-slider__card:hover img,
.ua-site--modern .ua-gallery-slider__card:focus-within img {
    transform: scale(1.045);
}

.ua-site--modern .ua-gallery-slider__card-body {
    padding: 0.85rem 0.95rem 0.9rem;
}

.ua-site--modern .ua-gallery-slider__card-title {
    display: block;
    overflow: hidden;
    color: var(--ua-color-brand-strong);
    font-family: var(--ua-font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ua-site--modern .ua-gallery-slider__card-title:hover,
.ua-site--modern .ua-gallery-slider__card-title:focus-visible {
    color: var(--ua-color-action);
    text-decoration: underline;
}

.ua-site--modern .ua-gallery-slider__card-body p {
    margin: 0.35rem 0 0;
    color: var(--ua-color-text-muted);
    font-size: 0.76rem;
    font-weight: 750;
}

.ua-site--modern .ua-gallery-slider__card-body p i {
    margin-left: 0.2rem;
}

.ua-site--modern .ua-gallery-slider__footer {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.ua-site--modern .ua-gallery-slider-admin {
    width: min(100%, 58rem);
    margin: 1rem auto var(--ua-space-module);
    padding: 1rem 1.15rem;
    border: 1px dashed var(--ua-color-border);
    border-radius: var(--ua-radius-sm);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem;
    color: var(--ua-color-text);
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-gallery-slider-admin label {
    display: block;
    font-weight: 800;
}

.ua-site--modern .ua-gallery-slider-admin p {
    margin: 0.25rem 0 0;
    color: var(--ua-color-text-muted);
    font-size: 0.85rem;
}

.ua-site--modern .ua-gallery-slider-admin__controls {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ua-site--modern .ua-gallery-slider-admin select {
    min-width: min(18rem, 45vw);
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--ua-color-border);
    border-radius: 0.45rem;
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
}

@media (max-width: 42rem) {
    .ua-site--modern .ua-gallery-slider {
        padding: 1rem;
    }

    .ua-site--modern .ua-gallery-slider__header {
        align-items: center;
    }

    .ua-site--modern .ua-gallery-slider-admin {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-gallery-slider-admin__controls {
        align-items: stretch;
        flex-direction: column;
    }

    .ua-site--modern .ua-gallery-slider-admin select,
    .ua-site--modern .ua-gallery-slider-admin .ua-button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 64rem) {
    .ua-site--modern .ua-gallery-slider__buttons {
        display: none;
    }

    .ua-site--modern .ua-gallery-slider__viewport {
        padding-bottom: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    .ua-site--modern .ua-gallery-slider__track {
        width: 100%;
        min-width: 0;
        grid-auto-flow: row;
        grid-auto-columns: unset;
        grid-template-columns: repeat(3, minmax(0, 15.3125rem));
        justify-content: center;
        gap: 1.125rem;
    }
}

@media (max-width: 33.75rem) {
    .ua-site--modern .ua-gallery-slider__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 0.625rem;
    }

    .ua-site--modern .ua-gallery-slider__card-body {
        padding: 0.65rem 0.7rem 0.7rem;
    }

    .ua-site--modern .ua-gallery-slider__card-title {
        font-size: 0.94rem;
    }

    .ua-site--modern .ua-gallery-slider__footer {
        justify-content: stretch;
    }

    .ua-site--modern .ua-gallery-slider__footer .ua-button {
        width: 100%;
    }
}

/* Current Facebook Page Plugin, kept fluid inside legacy module columns. */
.ua-site--modern .ua-facebook-feed {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
}

.ua-site--modern .ua-facebook-feed__inner {
    width: min(100%, var(--ua-content-max));
    min-width: 0;
    margin-inline: auto;
}

.ua-site--modern .ua-facebook-feed__header {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.ua-site--modern .ua-facebook-feed__header h2 {
    margin: 0.2rem 0 0;
    color: var(--ua-color-brand-strong);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.ua-site--modern .ua-facebook-feed__embed {
    width: min(100%, 31.25rem);
    min-width: 0;
    margin-inline: auto;
    overflow: hidden;
    text-align: center;
}

.ua-site--modern .facebook-feed-wrap {
    width: 100%;
    max-width: 31.25rem;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.ua-site--modern .facebook-feed-wrap .fb-page,
.ua-site--modern .facebook-feed-wrap iframe {
    max-width: 100% !important;
}

@media (max-width: 33.75rem) {
    .ua-site--modern .ua-facebook-feed {
        padding: 1rem;
    }

    .ua-site--modern .ua-facebook-feed__header {
        align-items: stretch;
        flex-direction: column;
    }

    .ua-site--modern .ua-facebook-feed__header .ua-button {
        width: 100%;
    }

    .ua-site--modern .facebook-feed-wrap {
        width: 100%;
        padding: 0;
    }
}

.ua-site--modern .ua-pagearticle-rotator {
    min-height: clamp(24rem, 48vw, 40rem);
    margin-block: clamp(2.5rem, 5vw, 4.5rem);
    overflow: hidden;
    border-radius: var(--ua-radius-md);
    color: var(--ua-color-on-brand);
    background: var(--ua-color-brand-strong);
    box-shadow: var(--ua-shadow-lg, 0 1.5rem 4rem rgb(8 31 48 / 0.22));
}

.ua-site--modern .ua-pagearticle-rotator__slide {
    position: absolute;
    inset: 0;
    min-height: 100%;
    display: flex;
    align-items: flex-end;
    background-color: var(--ua-color-brand-strong);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ua-site--modern .ua-pagearticle-rotator__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(3 24 39 / 0.92), rgb(3 24 39 / 0.62) 55%, rgb(3 24 39 / 0.18)),
        linear-gradient(0deg, rgb(3 24 39 / 0.82), transparent 58%);
}

.ua-site--modern .ua-pagearticle-rotator__content {
    position: relative;
    z-index: 1;
    width: min(100%, 52rem);
    padding: clamp(2rem, 6vw, 5rem);
}

.ua-site--modern .ua-pagearticle-rotator__eyebrow,
.ua-site--modern .ua-section-eyebrow {
    margin: 0 0 0.5rem;
    color: var(--ua-color-accent, #f4c542);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ua-site--modern .ua-pagearticle-rotator h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 4.5rem) !important;
    line-height: 0.98;
}

.ua-site--modern .ua-pagearticle-rotator h2 a {
    color: #fff !important;
    text-decoration: none;
}

.ua-site--modern .ua-pagearticle-rotator__summary {
    max-width: 44rem;
    margin-bottom: 1.25rem;
    color: rgb(255 255 255 / 0.9);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
}

.ua-site--modern .ua-button--light {
    color: var(--ua-color-brand-strong) !important;
    background: #fff !important;
}

.ua-site--modern .ua-native-rotator__controls {
    position: absolute;
    z-index: 3;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ua-site--modern .ua-native-rotator__controls > button {
    appearance: none;
    -webkit-appearance: none;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem !important;
    min-height: 2.75rem !important;
    max-width: 2.75rem;
    max-height: 2.75rem;
    padding: 0 !important;
    display: grid;
    place-items: center;
    flex: 0 0 2.75rem;
    border: 1px solid rgb(255 255 255 / 0.35) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: rgb(3 24 39 / 0.72) !important;
    box-shadow: none !important;
    line-height: 1 !important;
    transform: none;
}

.ua-site--modern .ua-native-rotator__dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ua-site--modern .ua-native-rotator__dots button {
    appearance: none;
    -webkit-appearance: none;
    width: 0.62rem;
    height: 0.62rem;
    min-width: 0.62rem !important;
    min-height: 0.62rem !important;
    max-width: 0.62rem;
    max-height: 0.62rem;
    flex: 0 0 0.62rem;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    border: 1px solid rgb(255 255 255 / 0.72) !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transform: none;
}

.ua-site--modern .ua-native-rotator__dots button[aria-current="true"] {
    background: #fff !important;
    transform: scale(1.15);
}

.ua-site--modern .ua-native-rotator__controls > button:hover {
    transform: translateY(-1px);
}

.ua-site--modern .ua-native-rotator__dots button:hover {
    transform: scale(1.15);
}

.ua-site--modern .ua-native-rotator__dots button[aria-current="true"]:hover {
    transform: scale(1.15);
}

.ua-site--modern .ua-news-rotator-section {
    width: min(calc(100% - 2 * var(--ua-module-edge-gap)), var(--ua-content-max));
    margin-inline: auto;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.1));
}

.ua-site--modern .ua-news-rotator-section__heading {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.ua-site--modern .ua-news-rotator-section__heading h2 {
    margin: 0;
    font-size: var(--ua-font-size-section-title) !important;
}

.ua-site--modern .ua-news-rotator__slide {
    --ua-news-rotator-enter-x: 1.5rem;
    min-height: clamp(20rem, 35vw, 30rem);
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-sm);
    background: var(--ua-color-surface);
}

.ua-site--modern .ua-news-rotator[data-ua-rotator-direction="previous"] .ua-news-rotator__slide {
    --ua-news-rotator-enter-x: -1.5rem;
}

.ua-site--modern .ua-news-rotator[data-ua-rotator-ready] .ua-news-rotator__slide:not([hidden]) {
    animation: ua-news-rotator-reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ua-site--modern .ua-news-rotator[data-ua-rotator-ready] .ua-news-rotator__slide:not([hidden]) .ua-news-rotator__media img {
    animation: ua-news-rotator-image-settle 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ua-site--modern .ua-news-rotator[data-ua-rotator-ready] .ua-news-rotator__slide:not([hidden]) .ua-news-rotator__content {
    animation: ua-news-rotator-content-reveal 560ms 90ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ua-news-rotator-reveal {
    from {
        opacity: 0;
        transform: translate3d(var(--ua-news-rotator-enter-x), 0, 0) scale(0.992);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes ua-news-rotator-image-settle {
    from {
        opacity: 0.72;
        transform: scale(1.045);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ua-news-rotator-content-reveal {
    from {
        opacity: 0;
        transform: translate3d(0, 0.8rem, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ua-site--modern .ua-news-rotator[data-ua-rotator-ready] .ua-news-rotator__slide:not([hidden]),
    .ua-site--modern .ua-news-rotator[data-ua-rotator-ready] .ua-news-rotator__slide:not([hidden]) .ua-news-rotator__media img,
    .ua-site--modern .ua-news-rotator[data-ua-rotator-ready] .ua-news-rotator__slide:not([hidden]) .ua-news-rotator__content {
        animation: none;
    }
}

.ua-site--modern .ua-news-rotator__media {
    min-height: 100%;
    overflow: hidden;
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-news-rotator__media img {
    width: 100%;
    height: 100%;
    min-height: 20rem;
    display: block;
    object-fit: cover;
    transition: transform 450ms ease;
}

.ua-site--modern .ua-news-rotator__slide:hover .ua-news-rotator__media img {
    transform: scale(1.025);
}

.ua-site--modern .ua-news-rotator__content {
    padding: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.ua-site--modern .ua-news-rotator__date {
    margin: 0 0 0.5rem;
    color: var(--ua-color-text-muted);
    font-size: 0.82rem;
    font-weight: 750;
    text-transform: uppercase;
}

.ua-site--modern .ua-news-rotator h3 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.1;
}

.ua-site--modern .ua-news-rotator h3 a {
    text-decoration: none;
}

.ua-site--modern .ua-news-rotator__summary {
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.ua-site--modern .ua-news-rotator__downloads {
    width: 100%;
    margin: 0 0 1.25rem;
    padding: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    border-radius: var(--ua-radius-sm);
    background: var(--ua-color-surface-muted);
    font-size: 0.82rem;
}

.ua-site--modern .ua-news-rotator__downloads a {
    overflow-wrap: anywhere;
}

.ua-site--modern .ua-news-rotator__admin {
    align-self: flex-end;
    display: flex;
    gap: 0.8rem;
}

.ua-site--modern .ua-admin-text-action {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--ua-color-link) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.8rem !important;
    text-decoration: underline;
}

.ua-site--modern .ua-admin-text-action--danger {
    color: var(--ua-color-danger, #a71930) !important;
}

.ua-site--modern .ua-native-rotator__controls--below {
    position: static;
    margin-top: 1rem;
    justify-content: center;
}

.ua-site--modern .ua-native-rotator__controls--below > button {
    border-color: var(--ua-color-border) !important;
    color: var(--ua-color-brand-strong) !important;
    background: var(--ua-color-surface) !important;
}

.ua-site--modern .ua-native-rotator__controls--below .ua-native-rotator__dots button {
    border-color: var(--ua-color-brand) !important;
}

.ua-site--modern .ua-native-rotator__controls--below .ua-native-rotator__dots button[aria-current="true"] {
    background: var(--ua-color-brand) !important;
}

.ua-site--modern .ua-module-inline-admin {
    margin: 1rem auto 0;
    display: flex;
    justify-content: center;
}

.ua-site--modern .ua-module-empty-state {
    min-height: 12rem;
    padding: 2rem;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.75rem;
    border: 1px dashed var(--ua-color-border);
    border-radius: var(--ua-radius-sm);
    color: var(--ua-color-text-muted);
    text-align: center;
}

.ua-site--modern .ua-module-empty-state i {
    font-size: 2rem;
}

/* Contact page */
.ua-site--modern .ua-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ua-site--modern .ua-officers-page,
.ua-site--modern .ua-officer-settings {
    width: min(100%, var(--ua-content-max));
    margin: 0 auto clamp(2.5rem, 6vw, 5rem);
    color: var(--ua-color-text);
}

.ua-site--modern .ua-officers-hero,
.ua-site--modern .ua-officer-settings > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    padding: clamp(1.3rem, 4vw, 2.25rem);
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: linear-gradient(135deg, color-mix(in srgb, var(--ua-color-action) 8%, var(--ua-color-surface)), var(--ua-color-surface) 68%);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.09));
}

.ua-site--modern .ua-officer-settings > header {
    display: block;
}

.ua-site--modern .ua-officers-hero__intro {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.ua-site--modern .ua-officers-hero__mark {
    width: clamp(3.75rem, 7vw, 5.25rem);
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--ua-color-action) 55%, var(--ua-color-border));
    border-radius: var(--ua-radius-md);
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--ua-color-action), var(--ua-color-brand-strong));
    box-shadow: 0 0.75rem 1.5rem rgb(3 36 61 / 0.18);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.ua-site--modern .ua-officers-hero .pageheader,
.ua-site--modern .ua-officer-settings .pageheader {
    display: block;
    margin: 0.15rem 0 0.45rem;
}

.ua-site--modern .ua-officers-hero p,
.ua-site--modern .ua-officer-settings > header p {
    max-width: 50rem;
    margin: 0;
    color: var(--ua-color-text-muted);
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.6;
}

.ua-site--modern .ua-officers-hero__actions {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ua-site--modern .ua-officers-tools {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.ua-site--modern .ua-officers-search {
    position: relative;
    display: block;
    width: min(100%, 36rem);
}

.ua-site--modern .ua-officers-search > i {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    color: var(--ua-color-text-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.ua-site--modern .ua-officers-search input {
    box-sizing: border-box;
    width: 100%;
    min-height: 3.2rem;
    margin: 0;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--ua-color-border);
    border-radius: 999px;
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
    font: inherit;
}

.ua-site--modern .ua-officers-search input:focus {
    border-color: var(--ua-color-action);
    outline: 0;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--ua-color-action) 18%, transparent);
}

.ua-site--modern .ua-officers-categories {
    display: flex;
    max-width: 100%;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.15rem 0 0.4rem;
    scrollbar-width: thin;
}

.ua-site--modern .ua-officers-categories a {
    flex: 0 0 auto;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--ua-color-border);
    border-radius: 999px;
    color: var(--ua-color-brand-strong);
    background: var(--ua-color-surface);
    font-size: 0.85rem;
    font-weight: 750;
    text-decoration: none;
}

.ua-site--modern .ua-officers-categories a:hover,
.ua-site--modern .ua-officers-categories a:focus-visible,
.ua-site--modern .ua-officers-categories a[aria-current="page"] {
    border-color: var(--ua-color-action);
    color: var(--ua-color-surface);
    background: var(--ua-color-action);
}

.ua-site--modern .ua-officer-category {
    margin: 0 0 clamp(2.25rem, 5vw, 4rem);
}

.ua-site--modern .ua-officer-category__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--ua-color-border);
}

.ua-site--modern .ua-officer-category__heading h2 {
    margin: 0;
    color: var(--ua-color-brand-strong);
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.ua-site--modern .ua-officer-category__heading > span {
    display: grid;
    min-width: 2rem;
    min-height: 2rem;
    place-items: center;
    border-radius: 999px;
    color: var(--ua-color-surface);
    background: var(--ua-color-action);
    font-size: 0.78rem;
    font-weight: 800;
}

.ua-site--modern .ua-officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 19rem));
    align-items: start;
    justify-content: center;
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.ua-site--modern .ua-officer-card {
    display: flex;
    align-self: start;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.08));
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.ua-site--modern .ua-officer-card:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 1rem 2.4rem rgb(8 31 48 / 0.13);
}

.ua-site--modern .ua-officer-card[hidden],
.ua-site--modern .ua-officer-category[hidden] {
    display: none !important;
}

.ua-site--modern .ua-officer-card__portrait {
    display: grid;
    height: clamp(13rem, 25vw, 15rem);
    overflow: hidden;
    place-items: center;
    color: var(--ua-color-surface);
    background: linear-gradient(135deg, var(--ua-color-brand-strong), var(--ua-color-action));
}

.ua-site--modern .ua-officer-card__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 300ms ease;
}

.ua-site--modern .ua-officer-card:hover .ua-officer-card__portrait img {
    transform: scale(1.025);
}

.ua-site--modern .ua-officer-card__portrait > span {
    display: grid;
    width: clamp(5.5rem, 11vw, 7rem);
    height: clamp(5.5rem, 11vw, 7rem);
    place-items: center;
    border: 0.3rem solid color-mix(in srgb, var(--ua-color-surface) 45%, transparent);
    border-radius: 50%;
    color: var(--ua-color-on-brand);
    background: linear-gradient(135deg, var(--ua-color-brand-strong), var(--ua-color-action));
    font-family: var(--ua-font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 850;
    box-shadow: 0 0.6rem 1.4rem rgb(8 31 48 / 0.18);
}

.ua-site--modern .ua-officer-card__portrait--initials {
    background: color-mix(in srgb, var(--ua-color-action) 6%, var(--ua-color-surface-muted));
}

.ua-site--modern .ua-officer-card__body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    padding: clamp(1rem, 3vw, 1.4rem);
    flex-direction: column;
}

.ua-site--modern .ua-officer-card__identity h3 {
    margin: 0;
    color: var(--ua-color-brand-strong);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.2;
}

.ua-site--modern .ua-officer-card__identity p {
    margin: 0.35rem 0 0;
    color: var(--ua-color-action);
    font-size: 0.88rem;
    font-weight: 800;
}

.ua-site--modern .ua-officer-card__bio {
    margin-top: 1rem;
    color: var(--ua-color-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.ua-site--modern .ua-officer-card__bio > :first-child {
    margin-top: 0;
}

.ua-site--modern .ua-officer-card__bio > :last-child {
    margin-bottom: 0;
}

.ua-site--modern .ua-officer-card__bio details {
    margin-top: 0.75rem;
}

.ua-site--modern .ua-officer-card__bio summary {
    color: var(--ua-color-action);
    font-weight: 800;
    cursor: pointer;
}

.ua-site--modern .ua-officer-card__bio details > div {
    margin-top: 0.75rem;
}

.ua-site--modern .ua-officer-card__contacts {
    display: grid;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 1.2rem;
}

.ua-site--modern .ua-officer-contact,
.ua-site--modern .ua-officer-contact--locked {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.7rem;
    gap: 0.6rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--ua-color-border);
    border-radius: 0.5rem;
    color: var(--ua-color-brand-strong);
    background: var(--ua-color-surface-muted);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 750;
    text-align: left;
    overflow-wrap: anywhere;
}

.ua-site--modern button.ua-officer-contact {
    cursor: pointer;
}

.ua-site--modern button.ua-officer-contact:hover,
.ua-site--modern button.ua-officer-contact:focus-visible,
.ua-site--modern a.ua-officer-contact:hover,
.ua-site--modern a.ua-officer-contact:focus-visible {
    border-color: var(--ua-color-action);
    color: var(--ua-color-action);
    background: color-mix(in srgb, var(--ua-color-action) 7%, var(--ua-color-surface));
}

.ua-site--modern .ua-officer-contact--locked {
    color: var(--ua-color-text-muted);
    font-weight: 650;
}

.ua-site--modern .ua-officer-card__sign-in {
    margin-top: 0.65rem;
    color: var(--ua-color-action);
    font-size: 0.78rem;
    font-weight: 750;
}

.ua-site--modern .ua-officers-no-results {
    padding: 3rem 1rem;
    color: var(--ua-color-text-muted);
    text-align: center;
}

.ua-site--modern .ua-officers-no-results i {
    font-size: 2rem;
}

.ua-site--modern .ua-officer-settings .ua-notice {
    margin-bottom: 1rem;
}

.ua-site--modern .ua-officer-settings__form {
    display: grid;
    gap: 1rem;
}

.ua-site--modern .ua-officer-settings__form fieldset {
    margin: 0;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
}

.ua-site--modern .ua-officer-settings__form legend {
    padding: 0 0.45rem;
    color: var(--ua-color-brand-strong);
    font-size: 1.05rem;
    font-weight: 850;
}

.ua-site--modern .ua-officer-settings__form label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.ua-site--modern .ua-officer-settings__form label:hover {
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-officer-settings__form input[type="radio"] {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.15rem 0 0;
}

.ua-site--modern .ua-officer-settings__form label span {
    display: grid;
    gap: 0.2rem;
}

.ua-site--modern .ua-officer-settings__form label small {
    color: var(--ua-color-text-muted);
    line-height: 1.45;
}

.ua-site--modern .ua-officer-settings__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

@media (max-width: 46rem) {
    .ua-site--modern .ua-officers-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .ua-site--modern .ua-officers-hero__actions {
        width: 100%;
    }
}

@media (max-width: 32rem) {
    .ua-site--modern .ua-officers-hero__intro {
        align-items: flex-start;
    }

    .ua-site--modern .ua-officers-hero__mark {
        width: 3.35rem;
    }

    .ua-site--modern .ua-officers-hero__actions .ua-button,
    .ua-site--modern .ua-officer-settings__actions .ua-button {
        width: 100%;
        justify-content: center;
    }
}

.ua-site--modern .ua-member-home {
    width: min(100%, var(--ua-content-max));
    margin: 0 auto clamp(2.5rem, 6vw, 5rem);
    color: var(--ua-color-text);
}

.ua-site--modern .ua-member-home__hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    overflow: hidden;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: linear-gradient(135deg, color-mix(in srgb, var(--ua-color-action) 10%, var(--ua-color-surface)), var(--ua-color-surface) 65%);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.1));
}

.ua-site--modern .ua-member-home__hero > :not(.ua-member-home__hero-icon) {
    position: relative;
    z-index: 1;
}

.ua-site--modern .ua-member-home__hero-icon {
    position: absolute;
    top: 50%;
    right: clamp(1rem, 4vw, 3rem);
    color: var(--ua-color-action);
    font-size: clamp(4.5rem, 10vw, 8rem);
    line-height: 1;
    opacity: 0.12;
    transform: translateY(-50%) rotate(-4deg);
    pointer-events: none;
}

.ua-site--modern .ua-member-home__hero .pageheader {
    display: block;
    margin: 0.2rem 0 0.55rem;
}

.ua-site--modern .ua-member-home__hero p {
    max-width: 48rem;
    margin: 0;
    color: var(--ua-color-text-muted);
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.6;
}

.ua-site--modern .ua-member-home__admin-actions {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ua-site--modern .ua-member-home__post-form {
    margin: 0;
}

.ua-site--modern .ua-member-home__notice,
.ua-site--modern .ua-member-home__admin-note {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid color-mix(in srgb, #b7791f 35%, var(--ua-color-border));
    border-radius: 0.6rem;
    background: color-mix(in srgb, #f6c453 15%, var(--ua-color-surface));
}

.ua-site--modern .ua-member-home__notice > i,
.ua-site--modern .ua-member-home__admin-note > i {
    margin-top: 0.15rem;
    color: #9a6700;
    font-size: 1.1rem;
}

.ua-site--modern .ua-member-home__notice p,
.ua-site--modern .ua-member-home__admin-note p {
    margin: 0.25rem 0 0;
    line-height: 1.5;
}

.ua-site--modern .ua-member-home__welcome,
.ua-site--modern .ua-member-home__resources {
    margin: clamp(1.5rem, 3vw, 2.5rem) 0;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.08));
}

.ua-site--modern .ua-member-home__welcome-content,
.ua-site--modern .ua-member-home__resource-content {
    min-height: 2rem;
    padding: clamp(1.1rem, 3vw, 1.75rem);
    line-height: 1.65;
}

.ua-site--modern .ua-member-home__welcome-content > :first-child,
.ua-site--modern .ua-member-home__resource-content > :first-child {
    margin-top: 0;
}

.ua-site--modern .ua-member-home__welcome-content > :last-child,
.ua-site--modern .ua-member-home__resource-content > :last-child {
    margin-bottom: 0;
}

.ua-site--modern .ua-member-home__section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    border-bottom: 1px solid var(--ua-color-border);
    background: color-mix(in srgb, var(--ua-color-action) 5%, var(--ua-color-surface));
}

.ua-site--modern .ua-member-home__section-heading h2 {
    margin: 0.15rem 0 0;
    color: var(--ua-color-brand-strong);
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.ua-site--modern .ua-member-home__modules {
    margin: clamp(1.5rem, 4vw, 3rem) 0;
}

.ua-site--modern .ua-member-home__modules #pagecolumnspot {
    z-index: auto !important;
    overflow: visible;
}

.ua-site--modern .ua-member-updates {
    margin: clamp(2rem, 5vw, 4rem) 0;
}

.ua-site--modern .ua-member-updates > .ua-member-home__section-heading {
    margin-bottom: 1rem;
    border: 0;
    border-radius: var(--ua-radius-md);
}

.ua-site--modern .ua-member-updates__heading-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.ua-site--modern .ua-member-updates__count {
    color: var(--ua-color-text-muted);
    font-size: 0.85rem;
    font-weight: 750;
}

.ua-site--modern .ua-member-updates__list {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.ua-site--modern .ua-member-update-card {
    display: grid;
    grid-template-columns: minmax(13rem, 19rem) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.08));
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.ua-site--modern .ua-member-update-card:hover {
    transform: translateY(-0.15rem);
    box-shadow: 0 1rem 2.4rem rgb(8 31 48 / 0.13);
}

.ua-site--modern .ua-member-update-card:not(:has(.ua-member-update-card__image)) {
    grid-template-columns: minmax(0, 1fr);
}

.ua-site--modern .ua-member-update-card__image {
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-member-update-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 15rem;
    object-fit: cover;
    transition: transform 300ms ease;
}

.ua-site--modern .ua-member-update-card:hover .ua-member-update-card__image img {
    transform: scale(1.025);
}

.ua-site--modern .ua-member-update-card__body {
    min-width: 0;
    padding: clamp(1.15rem, 3vw, 2rem);
}

.ua-site--modern .ua-member-update-card__meta {
    margin-bottom: 0.55rem;
    color: var(--ua-color-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ua-site--modern .ua-member-update-card h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.2;
}

.ua-site--modern .ua-member-update-card h3 a {
    color: var(--ua-color-brand-strong);
    text-decoration: none;
}

.ua-site--modern .ua-member-update-card h3 a:hover,
.ua-site--modern .ua-member-update-card h3 a:focus-visible {
    color: var(--ua-color-action);
}

.ua-site--modern .ua-member-update-card__admin {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    font-weight: 750;
}

.ua-site--modern .ua-member-update-card__admin a {
    color: var(--ua-color-action);
}

.ua-site--modern .ua-member-update-card__admin .ua-member-update-card__delete {
    color: var(--ua-color-danger, #a71930);
}

.ua-site--modern .ua-member-update-card__content {
    margin-top: 1rem;
    color: var(--ua-color-text);
    line-height: 1.65;
}

.ua-site--modern .ua-member-update-card__content img,
.ua-site--modern .ua-member-update-card__content table {
    max-width: 100% !important;
}

.ua-site--modern .ua-member-update-card__attachments {
    margin-top: 1rem;
    padding: 0.85rem;
    border-radius: 0.5rem;
    background: var(--ua-color-surface-muted);
    font-size: 0.85rem;
}

.ua-site--modern .ua-member-update-card__attachments div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    margin-top: 0.4rem;
}

.ua-site--modern .ua-member-update-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    color: var(--ua-color-action);
    font-weight: 800;
    text-decoration: none;
}

.ua-site--modern .ua-member-update-card__read-more i {
    transition: transform 160ms ease;
}

.ua-site--modern .ua-member-update-card__read-more:hover i,
.ua-site--modern .ua-member-update-card__read-more:focus-visible i {
    transform: translateX(0.2rem);
}

.ua-site--modern .ua-member-home__admin-note {
    border-color: color-mix(in srgb, var(--ua-color-action) 28%, var(--ua-color-border));
    background: color-mix(in srgb, var(--ua-color-action) 7%, var(--ua-color-surface));
}

.ua-site--modern .ua-member-home__admin-note > i {
    color: var(--ua-color-action);
}

.ua-site--modern .ua-member-home__admin-note a {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 800;
}

.ua-site--modern .ua-member-home__terms {
    margin: 2rem 0 0;
    text-align: center;
}

@media (max-width: 52rem) {
    .ua-site--modern .ua-member-home__hero,
    .ua-site--modern .ua-member-home__section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ua-site--modern .ua-member-updates__heading-actions {
        justify-content: flex-start;
    }

    .ua-site--modern .ua-member-update-card {
        grid-template-columns: 1fr;
    }

    .ua-site--modern .ua-member-update-card__image img {
        height: clamp(13rem, 48vw, 21rem);
        min-height: 0;
    }
}

@media (max-width: 34rem) {
    .ua-site--modern .ua-member-home__admin-actions,
    .ua-site--modern .ua-member-home__post-form,
    .ua-site--modern .ua-member-home__admin-actions .ua-button,
    .ua-site--modern .ua-member-updates__heading-actions,
    .ua-site--modern .ua-member-updates__heading-actions .ua-button {
        width: 100%;
    }

    .ua-site--modern .ua-member-home__admin-actions .ua-button,
    .ua-site--modern .ua-member-updates__heading-actions .ua-button {
        justify-content: center;
    }
}

.ua-site--modern .ua-member-group {
    margin: 0 0 clamp(1.25rem, 3vw, 2rem);
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.08));
}

.ua-site--modern .ua-member-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.4rem);
    border-bottom: 1px solid var(--ua-color-border);
    background: linear-gradient(135deg, color-mix(in srgb, var(--ua-color-action) 8%, var(--ua-color-surface)), var(--ua-color-surface));
}

.ua-site--modern .ua-member-group__header h3 {
    margin: 0.15rem 0 0;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.2;
}

.ua-site--modern .ua-member-group__header h3 a {
    color: var(--ua-color-brand-strong);
    text-decoration: none;
}

.ua-site--modern .ua-member-group__header h3 a:hover,
.ua-site--modern .ua-member-group__header h3 a:focus-visible {
    color: var(--ua-color-action);
}

.ua-site--modern .ua-member-group__actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.ua-site--modern .ua-member-group__post-form {
    margin: 0;
}

.ua-site--modern .ua-member-group__forum > span {
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    color: var(--ua-color-on-brand);
    background: var(--ua-color-action);
    font-size: 0.68rem;
    font-weight: 850;
}

.ua-site--modern .ua-member-group__content {
    padding: clamp(0.85rem, 2.5vw, 1.35rem);
}

.ua-site--modern .ua-group-articles {
    display: grid;
    gap: 1rem;
}

.ua-site--modern .ua-group-article {
    display: grid;
    grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: 0.7rem;
    background: var(--ua-color-surface);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ua-site--modern .ua-group-article:hover {
    border-color: color-mix(in srgb, var(--ua-color-action) 30%, var(--ua-color-border));
    box-shadow: 0 0.75rem 1.8rem rgb(8 31 48 / 0.1);
    transform: translateY(-0.1rem);
}

.ua-site--modern .ua-group-article:not(:has(.ua-group-article__image)) {
    grid-template-columns: minmax(0, 1fr);
}

.ua-site--modern .ua-group-article__image {
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-group-article__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 13rem;
    object-fit: cover;
    transition: transform 300ms ease;
}

.ua-site--modern .ua-group-article:hover .ua-group-article__image img {
    transform: scale(1.025);
}

.ua-site--modern .ua-group-article__body {
    min-width: 0;
    padding: clamp(1rem, 2.5vw, 1.4rem);
}

.ua-site--modern .ua-group-article__meta {
    margin-bottom: 0.45rem;
    color: var(--ua-color-text-muted);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.ua-site--modern .ua-group-article h4 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.25;
}

.ua-site--modern .ua-group-article h4 a {
    color: var(--ua-color-brand-strong);
    text-decoration: none;
}

.ua-site--modern .ua-group-article h4 a:hover,
.ua-site--modern .ua-group-article h4 a:focus-visible {
    color: var(--ua-color-action);
}

.ua-site--modern .ua-group-article__admin {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.65rem;
    font-size: 0.78rem;
    font-weight: 750;
}

.ua-site--modern .ua-group-article__admin a {
    color: var(--ua-color-action);
}

.ua-site--modern .ua-group-article__admin .ua-group-article__delete {
    color: var(--ua-color-danger, #a71930);
}

.ua-site--modern .ua-group-article__summary {
    margin-top: 0.9rem;
    color: var(--ua-color-text);
    font-size: 0.92rem;
    line-height: 1.6;
}

.ua-site--modern .ua-group-article__summary > :first-child {
    margin-top: 0;
}

.ua-site--modern .ua-group-article__summary > :last-child {
    margin-bottom: 0;
}

.ua-site--modern .ua-group-article__summary :is(img, table, iframe) {
    max-width: 100% !important;
}

.ua-site--modern .ua-group-article__attachments {
    margin-top: 0.9rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: var(--ua-color-surface-muted);
    font-size: 0.82rem;
}

.ua-site--modern .ua-group-article__attachments > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    margin-top: 0.35rem;
}

.ua-site--modern .ua-group-article__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    color: var(--ua-color-action);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.ua-site--modern .ua-group-article__read-more i {
    transition: transform 160ms ease;
}

.ua-site--modern .ua-group-article__read-more:hover i,
.ua-site--modern .ua-group-article__read-more:focus-visible i {
    transform: translateX(0.2rem);
}

.ua-site--modern .ua-member-group__archives {
    display: flex;
    justify-content: flex-end;
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ua-color-border);
}

.ua-site--modern .ua-member-group__empty {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px dashed var(--ua-color-border);
    border-radius: 0.6rem;
    color: var(--ua-color-text-muted);
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-member-group__empty > i {
    color: var(--ua-color-action);
    font-size: 1.35rem;
}

.ua-site--modern .ua-member-group__empty p {
    margin: 0.15rem 0 0;
    font-size: 0.86rem;
}

@media (max-width: 46rem) {
    .ua-site--modern .ua-member-group__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ua-site--modern .ua-member-group__actions {
        justify-content: flex-start;
    }

    .ua-site--modern .ua-group-article {
        grid-template-columns: 1fr;
    }

    .ua-site--modern .ua-group-article__image img {
        height: clamp(12rem, 48vw, 19rem);
        min-height: 0;
    }
}

@media (max-width: 32rem) {
    .ua-site--modern .ua-member-group__actions,
    .ua-site--modern .ua-member-group__post-form,
    .ua-site--modern .ua-member-group__actions .ua-button,
    .ua-site--modern .ua-member-group__archives .ua-button {
        width: 100%;
    }

    .ua-site--modern .ua-member-group__actions .ua-button,
    .ua-site--modern .ua-member-group__archives .ua-button {
        justify-content: center;
    }
}

.ua-site--modern .ua-section-articles {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.1));
}

.ua-site--modern .ua-section-articles__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.35rem);
    border-bottom: 1px solid var(--ua-color-border);
    background: linear-gradient(135deg, color-mix(in srgb, var(--ua-color-action) 10%, transparent), transparent 72%);
}

.ua-site--modern .ua-section-articles__heading h2 {
    margin: 0.15rem 0 0;
    color: var(--ua-color-brand-strong);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.15;
}

.ua-site--modern .ua-section-articles__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ua-site--modern .ua-section-articles__list li + li {
    border-top: 1px solid var(--ua-color-border);
}

.ua-site--modern .ua-section-articles__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 3.25rem;
    padding: 0.8rem clamp(0.9rem, 2vw, 1.15rem);
    color: var(--ua-color-brand-strong);
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, padding-left 160ms ease;
}

.ua-site--modern .ua-section-articles__link-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ua-site--modern .ua-section-articles__list a > i {
    flex: 0 0 auto;
    color: var(--ua-color-action);
    font-size: 0.8rem;
    transition: transform 160ms ease;
}

.ua-site--modern .ua-section-articles__list a:hover,
.ua-site--modern .ua-section-articles__list a:focus-visible {
    padding-left: clamp(1.05rem, 2.5vw, 1.35rem);
    color: var(--ua-color-action);
    background: color-mix(in srgb, var(--ua-color-action) 7%, var(--ua-color-surface));
}

.ua-site--modern .ua-section-articles__list a:hover > i,
.ua-site--modern .ua-section-articles__list a:focus-visible > i {
    transform: translateX(0.2rem);
}

.ua-site--modern .ua-section-articles__list .is-current a {
    box-shadow: inset 0.25rem 0 0 var(--ua-color-action);
    background: color-mix(in srgb, var(--ua-color-action) 10%, var(--ua-color-surface));
}

.ua-site--modern .ua-section-articles__subgroup {
    background: color-mix(in srgb, var(--ua-color-brand) 7%, var(--ua-color-surface));
}

.ua-site--modern .ua-section-articles__list--subarticles a {
    padding-left: 1.5rem;
    background: transparent;
    font-size: 0.92rem;
}

.ua-site--modern .ua-section-articles__list--subarticles .is-current a {
    background: transparent;
}

.ua-site--modern .ua-section-articles__list--subarticles a:hover,
.ua-site--modern .ua-section-articles__list--subarticles a:focus-visible {
    padding-left: 1.75rem;
}

.ua-site--modern .ua-article-section-navigation {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

/* Classic headline modules share one visual system while retaining their
   existing queries, article content, downloads, and administrator controls. */
.ua-site--modern .ua-headline-module {
    padding-block: clamp(1.5rem, 4vw, 3rem) !important;
    background: transparent !important;
}

/* The full-width editorial headline layouts intentionally retain distinct,
   theme-controlled section bands. Card/list headline modules stay transparent. */
.ua-site--modern .ua-headline-module--theme-section-1 {
    color: var(--ua-color-section-1-text);
    background: var(--ua-color-section-1) !important;
}

.ua-site--modern .ua-headline-module--theme-section-2 {
    color: var(--ua-color-section-2-text);
    background: var(--ua-color-section-2) !important;
}

.ua-site--modern .ua-headline-module--theme-section-3 {
    color: var(--ua-color-section-3-text);
    background: var(--ua-color-section-3) !important;
}

.ua-site--modern .ua-headline-module--lead {
    margin-block: clamp(1.5rem, 4vw, 3.5rem) !important;
}

.ua-site--modern .ua-headline-module > .ua-news-section__inner {
    width: min(calc(100% - 2 * var(--ua-page-gutter)), var(--ua-content-max)) !important;
    max-width: var(--ua-content-max) !important;
    padding: 0 !important;
}

.ua-site--modern .ua-headline-module .headlinehometitle {
    margin: 0;
    color: var(--ua-color-brand-strong) !important;
    font-family: var(--ua-font-heading);
    font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
    font-weight: 800;
    line-height: 1.2 !important;
    text-wrap: balance;
}

.ua-site--modern .ua-headline-module .headlinehometitle a {
    color: inherit;
    text-decoration: none;
}

.ua-site--modern .ua-headline-module .headlinehometitle a:hover,
.ua-site--modern .ua-headline-module .headlinehometitle a:focus-visible {
    color: var(--ua-color-action);
}

/* Lead headline list */
.ua-site--modern .ua-headline-module--lead #headlinehometitle {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.ua-site--modern .ua-headline-module--lead #headlinehometitle > tbody {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.ua-site--modern .ua-headline-module--lead #headlinehometitle > tbody > tr,
.ua-site--modern .ua-headline-module--lead #headlinehometitle > tbody > tr > td {
    width: 100%;
    padding: 0 !important;
    display: block;
}

.ua-site--modern .ua-headline-module--lead #headlinehometitle > tbody > tr > td > table {
    width: 100%;
    margin: 0 !important;
    border: 1px solid var(--ua-color-border);
    border-collapse: separate !important;
    border-radius: var(--ua-radius-lg);
    overflow: hidden;
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-soft);
}

.ua-site--modern .ua-headline-module--lead #headlinehometitle > tbody > tr > td > table > tbody > tr > td {
    padding: clamp(1.15rem, 3vw, 2rem) !important;
    color: var(--ua-color-text);
    font-family: var(--ua-font-body);
    line-height: 1.7;
}

.ua-site--modern .ua-headline-module--lead #previewimagetableheadone {
    width: min(42%, 30rem) !important;
    margin: 0 clamp(1rem, 3vw, 1.75rem) 0.75rem 0 !important;
    border-radius: var(--ua-radius-md);
    overflow: hidden;
}

.ua-site--modern .ua-headline-module--lead #previewimagetableheadone img {
    width: 100% !important;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
}

.ua-site--modern .ua-headline-module--lead .ua-headline-read-more {
    margin: 0.55rem 0.2rem 0.15rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid color-mix(in srgb, var(--ua-color-action) 78%, #000);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff !important;
    background: var(--ua-color-action);
    box-shadow: 0 0.45rem 1rem rgb(3 36 61 / 0.14);
    font-family: var(--ua-font-navigation);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ua-site--modern .ua-headline-module--lead .ua-headline-read-more i {
    transition: transform 160ms ease;
}

.ua-site--modern .ua-headline-module--lead .ua-headline-read-more:hover,
.ua-site--modern .ua-headline-module--lead .ua-headline-read-more:focus-visible {
    background: color-mix(in srgb, var(--ua-color-action) 82%, #000);
    box-shadow: 0 0.7rem 1.35rem rgb(3 36 61 / 0.2);
    transform: translateY(-1px);
}

.ua-site--modern .ua-headline-module--lead .ua-headline-read-more:hover i,
.ua-site--modern .ua-headline-module--lead .ua-headline-read-more:focus-visible i {
    transform: translateX(0.18rem);
}

/* Two- and three-column headline cards */
.ua-site--modern :is(.ua-headline-module--two-up .articletable, .ua-headline-module--three-up .headlines3 > .w3-card) {
    border: 1px solid var(--ua-color-border) !important;
    border-radius: var(--ua-radius-lg) !important;
    overflow: hidden;
    background: var(--ua-color-surface) !important;
    box-shadow: var(--ua-shadow-soft) !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ua-site--modern :is(.ua-headline-module--two-up .articletable, .ua-headline-module--three-up .headlines3 > .w3-card):hover {
    border-color: color-mix(in srgb, var(--ua-color-action) 42%, var(--ua-color-border)) !important;
    box-shadow: 0 1.25rem 2.75rem rgb(3 36 61 / 0.16) !important;
    transform: translateY(-0.2rem);
}

.ua-site--modern .ua-headline-module :is(.imagecontainer, #previewimagetablehead) {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    float: none !important;
}

.ua-site--modern .ua-headline-module--two-up .imagewithhover,
.ua-site--modern .ua-headline-module--two-up .imagecontainer img {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    border-radius: 0 !important;
}

.ua-site--modern .ua-headline-module .headlinecontent {
    color: var(--ua-color-text-muted);
    font-family: var(--ua-font-body);
    line-height: 1.65;
}

.ua-site--modern .ua-headline-module form {
    margin: 0;
}

/* Image-and-copy feature headline layouts */
.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .ua-feature-grid {
    gap: clamp(1rem, 2.5vw, 1.75rem) !important;
    padding-block: 0 !important;
}

.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinework {
    min-height: clamp(18rem, 34vw, 27rem) !important;
    border: 1px solid color-mix(in srgb, var(--ua-color-border) 70%, transparent);
    border-radius: var(--ua-radius-lg);
    background-position: center !important;
    box-shadow: var(--ua-shadow-soft);
}

.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinetext {
    min-height: clamp(18rem, 34vw, 27rem) !important;
    padding: 0 !important;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-lg);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--ua-color-text) !important;
    background: var(--ua-color-surface) !important;
    box-shadow: var(--ua-shadow-soft);
}

.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinetext > div {
    width: 100%;
    padding: clamp(1.35rem, 4vw, 2.75rem) !important;
}

.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinetext h2 {
    margin: 0 0 1rem;
    color: var(--ua-color-brand-strong);
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    line-height: 1.12;
    text-wrap: balance;
}

.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinetext h2 a {
    color: inherit;
    text-decoration: none;
}

.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinetext h2 a:hover,
.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinetext h2 a:focus-visible {
    color: var(--ua-color-action);
}

.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinetext .articlefont,
.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinetext div[style*="letter-spacing"] {
    color: var(--ua-color-text-muted) !important;
    font-family: var(--ua-font-body);
    font-size: 1rem !important;
    letter-spacing: normal !important;
    line-height: 1.7 !important;
}

.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) #amfabutton {
    margin-top: 1rem !important;
    border: 1px solid var(--ua-color-brand) !important;
    color: var(--ua-color-on-brand) !important;
    background: var(--ua-color-brand) !important;
    box-shadow: 0 0.45rem 1rem rgb(3 36 61 / 0.16) !important;
}

.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) #amfabutton:hover,
.ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) #amfabutton:focus-visible {
    border-color: var(--ua-color-brand-strong) !important;
    background: var(--ua-color-brand-strong) !important;
}

@media (max-width: 52rem) {
    .ua-site--modern .ua-headline-module--lead #previewimagetableheadone {
        width: 100% !important;
        margin: 0 0 1rem !important;
        float: none !important;
    }

    .ua-site--modern :is(.ua-headline-module--feature, .ua-headline-module--alternating) .subjectlinetext {
        min-height: 0 !important;
    }
}

.ua-site--modern .ua-contact-page {
    width: min(calc(100% - 2 * var(--ua-module-edge-gap)), var(--ua-content-max));
    margin: 0 auto clamp(2rem, 5vw, 4.5rem);
    color: var(--ua-color-text);
}

.ua-site--modern .ua-contact-hero {
    width: 100%;
    max-width: none;
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
    text-align: left;
}

.ua-site--modern .ua-contact-hero .pageheader {
    display: block;
    margin: 0 0 0.75rem;
}

.ua-site--modern .ua-contact-hero__intro-row {
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
}

.ua-site--modern .ua-contact-hero__intro {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    color: var(--ua-color-text-muted);
    font-size: clamp(1.075rem, 1.8vw, 1.25rem);
    line-height: 1.65;
}

.ua-site--modern .ua-contact-hero__intro > * {
    max-width: none !important;
}

.ua-site--modern .ua-contact-hero__intro :is(p, div, span, font, td) {
    font-size: inherit !important;
    line-height: inherit;
}

.ua-site--modern .ua-contact-hero__intro table {
    width: 100% !important;
    max-width: none !important;
}

.ua-site--modern .ua-contact-hero__edit {
    flex: 0 0 auto;
    white-space: nowrap;
}

.ua-site--modern .ua-contact-hero__intro > :first-child {
    margin-top: 0;
}

.ua-site--modern .ua-contact-hero__intro > :last-child {
    margin-bottom: 0;
}

@media (max-width: 42rem) {
    .ua-site--modern .ua-contact-hero__intro-row {
        flex-direction: column;
    }
}

.ua-site--modern .ua-contact-layout {
    display: grid;
    grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.ua-site--modern :is(.ua-contact-details, .ua-contact-form-card) {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-card);
}

.ua-site--modern .ua-contact-details {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.ua-site--modern .ua-contact-logo {
    margin: 0 0 1.5rem;
    padding: 0 0 1.5rem;
    border-bottom: 1px solid var(--ua-color-border);
    text-align: center;
}

.ua-site--modern .ua-contact-logo img {
    width: auto;
    max-width: min(100%, 15rem);
    max-height: 10rem;
    margin: 0 auto !important;
    display: block;
    object-fit: contain;
}

.ua-site--modern :is(.ua-contact-details__heading, .ua-contact-form-card__heading) {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.ua-site--modern :is(.ua-contact-details__heading h2, .ua-contact-form-card__heading h2) {
    margin: 0.2rem 0 0;
    color: var(--ua-color-brand-strong);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    line-height: 1.2;
}

.ua-site--modern :is(.ua-contact-details__icon, .ua-contact-form-card__icon) {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ua-color-on-brand);
    background: var(--ua-color-brand);
    font-size: 1.1rem;
}

.ua-site--modern .ua-contact-details__list {
    margin-top: 1.5rem;
    display: grid;
    gap: 0;
}

.ua-site--modern .ua-contact-detail {
    padding: 1rem 0;
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 0.75rem;
    border-top: 1px solid color-mix(in srgb, var(--ua-color-border) 72%, transparent);
}

.ua-site--modern .ua-contact-detail > i {
    margin-top: 0.2rem;
    color: var(--ua-color-action);
}

.ua-site--modern .ua-contact-detail strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--ua-color-brand-strong);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ua-site--modern .ua-contact-detail :is(address, span, a) {
    color: var(--ua-color-text);
    font-style: normal;
    line-height: 1.55;
}

.ua-site--modern .ua-contact-map {
    aspect-ratio: 4 / 3;
    margin-top: 1.25rem;
    overflow: hidden;
    border-radius: var(--ua-radius-sm);
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.ua-site--modern .ua-contact-form-card__heading {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-bottom: 1px solid var(--ua-color-border);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ua-color-action) 8%, transparent), transparent 70%),
        var(--ua-color-surface);
}

.ua-site--modern .ua-contact-form {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.ua-site--modern .ua-contact-required-note {
    margin: 0 0 1rem;
    color: var(--ua-color-text-muted);
    font-size: 0.82rem;
    text-align: right;
}

.ua-site--modern :is(.ua-contact-required-note, .ua-contact-field label) > span {
    color: var(--ua-color-danger, #a71930);
}

.ua-site--modern .ua-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.ua-site--modern .ua-contact-field {
    min-width: 0;
}

.ua-site--modern .ua-contact-field--wide {
    grid-column: 1 / -1;
}

.ua-site--modern .ua-contact-field label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--ua-color-brand-strong);
    font-size: 0.9rem;
    font-weight: 800;
}

.ua-site--modern .ua-contact-field :is(input, textarea) {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--ua-color-border);
    border-radius: 0.45rem;
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.ua-site--modern .ua-contact-field input {
    min-height: 3rem;
}

.ua-site--modern .ua-contact-field textarea {
    min-height: 11rem;
    resize: vertical;
}

.ua-site--modern .ua-contact-field :is(input, textarea):focus {
    border-color: var(--ua-color-action);
    outline: 0;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--ua-color-action) 18%, transparent);
}

.ua-site--modern .ua-contact-field__help {
    margin-top: 0.4rem;
    display: block;
    color: var(--ua-color-text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.ua-site--modern .ua-contact-robot-check {
    min-height: 3rem;
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ua-color-border);
    border-radius: 0.5rem;
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-contact-robot-check__loading {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ua-color-text-muted);
}

.ua-site--modern .ua-contact-robot-check :is(label, p, div) {
    font-size: inherit;
}

.ua-site--modern .ua-contact-robot-check input[type="checkbox"] {
    width: auto !important;
    min-width: 1rem;
    height: 1rem;
    margin: 0 0.55rem 0 0;
    vertical-align: middle;
}

.ua-site--modern .ua-contact-form__footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ua-color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ua-site--modern .ua-contact-form__footer p {
    max-width: 27rem;
    margin: 0;
    color: var(--ua-color-text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.ua-site--modern .ua-contact-form__footer .ua-button {
    flex: 0 0 auto;
}

.ua-site--modern .ua-contact-status {
    display: none;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-sm);
    line-height: 1.5;
}

.ua-site--modern .ua-contact-status:not(:empty) {
    display: block;
}

.ua-site--modern .ua-contact-status--sending {
    color: var(--ua-color-brand-strong);
    background: color-mix(in srgb, var(--ua-color-action) 8%, var(--ua-color-surface));
}

.ua-site--modern .ua-contact-status--complete {
    color: #12633b;
    border-color: #86c7a5;
    background: #ecfdf3;
}

.ua-site--modern .ua-contact-status--error {
    color: var(--ua-color-danger, #a71930);
    border-color: #e7a5ae;
    background: #fff0f2;
}

@media (max-width: 52rem) {
    .ua-site--modern .ua-contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-contact-map {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 36rem) {
    .ua-site--modern .ua-contact-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-contact-field--wide {
        grid-column: auto;
    }

    .ua-site--modern .ua-contact-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .ua-site--modern .ua-contact-form__footer .ua-button {
        width: 100%;
    }
}

/* Newsletter signup */
.ua-site--modern .ua-newsletter-signup {
    width: min(calc(100% - 2 * var(--ua-module-edge-gap)), var(--ua-content-max));
    margin: clamp(2.5rem, 5vw, 4.5rem) auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--ua-radius-md);
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgb(255 255 255 / 0.1), transparent 32%),
        linear-gradient(135deg, var(--ua-color-brand-strong), var(--ua-color-brand));
    box-shadow: var(--ua-shadow-md, 0 1rem 2.5rem rgb(8 31 48 / 0.16));
}

.ua-site--modern .ua-newsletter-signup__content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ua-site--modern .ua-newsletter-signup__icon {
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 3.5rem;
    display: grid;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 0.28);
    border-radius: 50%;
    background: rgb(255 255 255 / 0.1);
    font-size: 1.35rem;
}

.ua-site--modern .ua-newsletter-signup h2 {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.ua-site--modern .ua-newsletter-signup p {
    margin: 0;
    color: rgb(255 255 255 / 0.82);
    line-height: 1.5;
}

.ua-site--modern .ua-newsletter-signup__form {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
}

.ua-site--modern .ua-newsletter-signup__form input[type="email"] {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0.9rem 1rem;
    border: 1px solid rgb(255 255 255 / 0.45);
    border-radius: var(--ua-radius-sm);
    background: #fff;
}

.ua-site--modern .ua-newsletter-signup__form .ua-button {
    flex: 0 0 auto;
    color: var(--ua-color-brand-strong) !important;
    background: #fff !important;
}

/* Logo, representative, and organizing modules */
.ua-site--modern .ua-logo-reps-combo {
    width: 100%;
    display: grid;
    grid-template-areas: "logo resources";
    grid-template-columns: minmax(14rem, 0.7fr) minmax(22rem, 1.3fr);
    align-items: stretch;
    gap: var(--ua-space-module);
}

.ua-site--modern .ua-logo-reps-combo__logo,
.ua-site--modern .ua-logo-reps-combo__resources {
    min-width: 0;
}

.ua-site--modern .ua-logo-reps-combo__logo {
    grid-area: logo;
}

.ua-site--modern .ua-logo-reps-combo__resources {
    grid-area: resources;
    display: grid;
    align-content: stretch;
    gap: 1rem;
}

.ua-site--modern .ua-logo-reps-combo__resources > .ua-civic-card {
    height: 100%;
}

.ua-site--modern .ua-logo-reps-combo__custom {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.1));
}

.ua-site--modern .ua-brand-logo-card {
    min-height: 100%;
    padding: clamp(1.5rem, 4vw, 3rem);
    display: grid;
    place-items: center;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.1));
}

.ua-site--modern .ua-brand-logo-card__image {
    width: auto !important;
    max-width: min(100%, 24rem) !important;
    max-height: 22rem;
    object-fit: contain;
}

.ua-site--modern .ua-civic-card {
    min-height: 100%;
    padding: clamp(1.25rem, 3vw, 2rem);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.1));
}

.ua-site--modern .ua-civic-card__icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: var(--ua-radius-sm);
    color: var(--ua-color-on-brand);
    background: var(--ua-color-brand);
    font-size: 1.2rem;
}

.ua-site--modern .ua-civic-card h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
}

.ua-site--modern .ua-civic-card p {
    margin: 0 0 1rem;
    color: var(--ua-color-text-muted);
    line-height: 1.55;
}

.ua-site--modern .ua-civic-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
}

.ua-site--modern .ua-text-link {
    color: var(--ua-color-link);
    font-weight: 750;
    text-underline-offset: 0.2em;
}

/* Shared UnionActive Newswire output remains centrally managed; these stable
   feed classes provide a cohesive local presentation. */
.ua-site--modern :is(.teamuamodulecontainer, .teamnewsmodulecontainer) {
    width: min(calc(100% - 2 * var(--ua-module-edge-gap)), var(--ua-content-max)) !important;
    margin-inline: auto !important;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface) !important;
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.1));
}

.ua-site--modern :is(.teamuamodulecontainer, .teamnewsmodulecontainer) :is(.LTEdge, .RTEdge, .LeftEdge, .RightEdge, .BLEdge, .BottomEdge, .BREdge) {
    display: none;
}

.ua-site--modern :is(.teamuamodulebox, .teamuamodulecontent, .teamnewsmodulebox, .teamnewsmodulecontent) {
    width: 100% !important;
}

.ua-site--modern :is(.teamuamoduletitle, .teamnewsmoduletitle) {
    padding: 1.1rem clamp(1rem, 3vw, 2rem) !important;
    color: var(--ua-color-brand-strong) !important;
    background: var(--ua-color-surface-muted);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 850;
}

.ua-site--modern :is(.teamuamodulecontent, .teamnewsmodulecontent) {
    padding: clamp(1rem, 3vw, 2rem) !important;
    color: var(--ua-color-text) !important;
}

.ua-site--modern :is(.teamuamodulecontent, .teamnewsmodulecontent) .rowcss,
.ua-site--modern :is(.teamuamodulecontent, .teamnewsmodulecontent) tr:has(a.newsfont) {
    border-bottom: 1px solid var(--ua-color-border);
}

.ua-site--modern :is(.teamuamodulecontent, .teamnewsmodulecontent) :is(td, p, div) {
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.ua-site--modern :is(.teamuamodulecontent, .teamnewsmodulecontent) a.newsfont,
.ua-site--modern :is(.teamuamodulecontent, .teamnewsmodulecontent) .newsfont {
    color: var(--ua-color-link) !important;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 750;
    line-height: 1.4;
}

@media (max-width: 48rem) {
    .ua-site--modern .ua-logo-reps-combo {
        grid-template-areas:
            "logo"
            "resources";
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-pagearticle-rotator {
        min-height: 31rem;
    }

    .ua-site--modern .ua-pagearticle-rotator__content {
        padding: 1.5rem 1.25rem 5.5rem;
    }

    .ua-site--modern .ua-pagearticle-rotator__summary {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .ua-site--modern .ua-news-rotator__slide {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-news-rotator__media {
        min-height: 14rem;
        max-height: 18rem;
    }

    .ua-site--modern .ua-news-rotator__media img {
        min-height: 14rem;
    }

    .ua-site--modern .ua-news-rotator-section__heading,
    .ua-site--modern .ua-newsletter-signup {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-news-rotator-section__heading {
        align-items: start;
        flex-direction: column;
    }

    .ua-site--modern .ua-newsletter-signup__form {
        flex-direction: column;
    }
}

/* Page-specific Community Feature Hero ------------------------------------ */
.ua-site--modern .ua-community-feature-hero {
    position: relative;
    isolation: isolate;
    width: 100vw;
    max-width: none !important;
    min-height: var(--ua-community-feature-height, 600px);
    margin-inline: calc(50% - 50vw) !important;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #fff;
    background-color: var(--ua-color-brand-strong);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ua-site--modern .ua-community-feature-hero__shade,
.ua-site--modern .ua-community-feature-hero__hover-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.ua-site--modern .ua-community-feature-hero__shade {
    background:
        linear-gradient(180deg, rgb(3 18 31 / 0.7), rgb(3 18 31 / 0.76)),
        linear-gradient(90deg, rgb(3 18 31 / 0.3), transparent 45%, rgb(3 18 31 / 0.3));
}

.ua-site--modern .ua-community-feature-hero__hover-shade {
    z-index: 0;
    opacity: 0;
    background: color-mix(in srgb, var(--ua-color-action) 66%, transparent);
    transition: opacity 480ms ease;
}

.ua-site--modern .ua-community-feature-hero:has(.ua-community-feature-hero__action:is(:hover, :focus-visible)) .ua-community-feature-hero__hover-shade {
    opacity: 0.58;
}

.ua-site--modern .ua-community-feature-hero__content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 2rem), 62rem);
    margin-inline: auto;
    padding: clamp(4rem, 9vw, 8rem) 1rem;
    text-align: center;
}

.ua-site--modern .ua-community-feature-hero__eyebrow {
    margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: #fff;
    font-family: var(--ua-font-heading);
    font-size: clamp(0.78rem, 1.2vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ua-site--modern .ua-community-feature-hero__eyebrow > span {
    width: 0.68rem;
    height: 0.68rem;
    border: 0.18rem solid rgb(255 255 255 / 0.72);
    border-radius: 50%;
    background: var(--ua-color-action);
    box-shadow: 0 0 0 0.18rem rgb(255 255 255 / 0.18);
}

.ua-site--modern .ua-community-feature-hero__title {
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--ua-font-heading);
    font-size: clamp(2rem, 4.4vw, 4.35rem) !important;
    font-weight: 760;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-wrap: balance;
    text-shadow: 0 0.15rem 1.2rem rgb(0 0 0 / 0.45);
}

.ua-site--modern .ua-community-feature-hero__subtitle {
    margin-top: clamp(0.5rem, 1.5vw, 0.9rem);
    color: #fff;
    font-family: var(--ua-font-heading);
    font-size: clamp(1.25rem, 2.5vw, 2.3rem);
    font-weight: 430;
    line-height: 1.15;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-wrap: balance;
}

.ua-site--modern .ua-community-feature-hero__body {
    max-width: 52rem;
    margin: clamp(1.4rem, 3vw, 2.1rem) auto 0;
    color: #fff;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    font-weight: 480;
    line-height: 1.65;
    text-wrap: pretty;
    text-shadow: 0 0.1rem 0.65rem rgb(0 0 0 / 0.65);
}

.ua-site--modern .ua-community-feature-hero__action {
    min-height: 3.15rem;
    margin-top: clamp(1.6rem, 3.5vw, 2.5rem);
    padding: 0.8rem 1.35rem;
    border: 1px solid rgb(255 255 255 / 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #fff !important;
    background: rgb(3 18 31 / 0.18);
    font-family: var(--ua-font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-decoration: none !important;
    text-transform: uppercase;
    backdrop-filter: blur(0.2rem);
    transition: background-color 240ms ease, border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.ua-site--modern .ua-community-feature-hero__action:is(:hover, :focus-visible) {
    border-color: #fff;
    color: #fff !important;
    background: rgb(3 18 31 / 0.64);
    box-shadow: 0 0.8rem 2rem rgb(0 0 0 / 0.24);
    transform: translateY(-0.15rem);
}

.ua-site--modern .ua-community-feature-hero__action i {
    transition: transform 240ms ease;
}

.ua-site--modern .ua-community-feature-hero__action:is(:hover, :focus-visible) i {
    transform: translateX(0.22rem);
}

.ua-site--modern .ua-community-feature-hero--empty {
    min-height: 24rem;
    background:
        radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--ua-color-action) 38%, transparent), transparent 42%),
        linear-gradient(135deg, var(--ua-color-brand-strong), color-mix(in srgb, var(--ua-color-brand) 75%, #000));
}

.ua-site--modern .ua-community-feature-hero__admin {
    width: min(calc(100% - 2rem), var(--ua-content-max));
    margin: 1rem auto;
}

@media (max-width: 48rem) {
    .ua-site--modern .ua-community-feature-hero {
        min-height: max(30rem, min(var(--ua-community-feature-height, 600px), 42rem));
    }

    .ua-site--modern .ua-community-feature-hero__content {
        padding-block: 4rem;
    }

    .ua-site--modern .ua-community-feature-hero__subtitle {
        letter-spacing: 0.1em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ua-site--modern .ua-community-feature-hero__hover-shade,
    .ua-site--modern .ua-community-feature-hero__action,
    .ua-site--modern .ua-community-feature-hero__action i {
        transition: none;
    }
}

/* Standalone member-login module, aligned with the header login dialog. */
.ua-site--modern .ua-login-module {
    width: min(100%, 34rem);
    margin: 0 auto var(--ua-space-module);
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-lg);
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-card);
    text-align: left;
}

.ua-site--modern .ua-login-module .ua-login-dialog__header {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ua-color-brand) 8%, transparent), transparent 70%),
        var(--ua-color-surface);
}

.ua-site--modern .ua-login-module__icon {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ua-color-on-brand);
    background: var(--ua-color-action);
    box-shadow: 0 0.5rem 1.25rem color-mix(in srgb, var(--ua-color-action) 28%, transparent);
    font-size: 1.1rem;
}

.ua-site--modern .ua-login-module .ua-login-dialog__support > a:only-child {
    grid-column: 1 / -1;
}

.ua-site--modern .ua-login-module__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--ua-color-border);
    color: var(--ua-color-text-muted);
    background: var(--ua-color-surface-muted);
    font-size: 0.82rem;
    text-align: center;
}

.ua-site--modern .ua-login-module__footer i {
    margin-right: 0.35rem;
    color: var(--ua-color-action);
}

.ua-site--modern .ua-login-module__signed-in {
    padding: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.ua-site--modern .ua-login-module__signed-in form {
    margin: 0;
}

.ua-site--modern .ua-login-module__signed-in .ua-button {
    width: 100%;
}

/* Registration and registration-preview workflow. */
.ua-site--modern .ua-signup-login,
.ua-site--modern .ua-signup-shell,
.ua-site--modern .ua-signup-preview-shell {
    width: min(100%, 58rem);
    margin: 0 auto var(--ua-space-module);
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-lg);
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-card);
}

.ua-site--modern .ua-signup-login {
    width: min(100%, 58rem);
}

.ua-site--modern .ua-signup-heading {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--ua-color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ua-color-brand) 8%, transparent), transparent 70%),
        var(--ua-color-surface);
}

.ua-site--modern .ua-signup-heading h2 {
    margin: 0;
    color: var(--ua-color-brand-strong);
    font-size: clamp(1.4rem, 4vw, 2rem);
}

.ua-site--modern .ua-signup-login__secure {
    min-height: 3rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid color-mix(in srgb, var(--ua-color-action) 35%, var(--ua-color-border));
    border-radius: var(--ua-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: var(--ua-color-brand-strong);
    background: color-mix(in srgb, var(--ua-color-action) 8%, var(--ua-color-surface));
    font-weight: 750;
    text-decoration: none;
}

.ua-site--modern .ua-signup-table {
    margin: 0;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.ua-site--modern .ua-signup-table > tbody > tr > td {
    padding: 0.9rem 1.5rem;
    border: 0;
    vertical-align: top;
    white-space: normal !important;
}

.ua-site--modern :is(.ua-signup-table, .ua-signup-preview__table) :is(tr, td, .rowcss) {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.ua-site--modern .ua-signup-intro {
    padding-block: 1.25rem !important;
    color: var(--ua-color-text-muted);
    background: var(--ua-color-surface-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.ua-site--modern .ua-signup-table :is(input[type="text"], input[type="password"], input[type="email"], input[type="file"], textarea, select),
.ua-site--modern .ua-signup-preview :is(input[type="text"], select) {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 2.9rem;
    margin: 0.4rem 0 0;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--ua-color-border) !important;
    border-radius: 0.45rem;
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.ua-site--modern .ua-signup-table :is(input, textarea, select):focus,
.ua-site--modern .ua-signup-preview :is(input, textarea, select):focus {
    outline: 0;
    border-color: var(--ua-color-action) !important;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--ua-color-action) 18%, transparent);
}

.ua-site--modern .ua-signup-table input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.4rem;
    accent-color: var(--ua-color-action);
    vertical-align: -0.15rem;
}

.ua-site--modern .ua-signup-table .smallfonttext,
.ua-site--modern .ua-signup-table .style3 {
    color: var(--ua-color-text-muted) !important;
    font-size: 0.86rem;
    line-height: 1.5;
}

.ua-site--modern #password_strength {
    margin: 0.6rem 0 0 !important;
}

.ua-site--modern #password_strength > div {
    width: 100% !important;
    max-width: 22rem;
    overflow: hidden;
    border: 0 !important;
    border-radius: 999px;
    background: var(--ua-color-surface-muted);
}

.ua-site--modern #progress_bar {
    min-width: 0;
    border-radius: inherit;
}

.ua-site--modern .ua-signup-submit {
    margin: 0.75rem 0;
}

.ua-site--modern .ua-signup-preview__intro {
    margin: 0;
    padding: 1.1rem 1.5rem;
    border-bottom: 0;
    color: var(--ua-color-text-muted);
    background: var(--ua-color-surface-muted);
    line-height: 1.6;
}

.ua-site--modern .ua-signup-preview__table {
    margin: 0;
    border-collapse: collapse;
}

.ua-site--modern .ua-signup-preview__table > tbody > tr > td {
    padding: 0.8rem 1rem;
    border: 0;
    color: var(--ua-color-text) !important;
    background: var(--ua-color-surface) !important;
    font-size: 0.95rem !important;
    line-height: 1.45;
}

.ua-site--modern .ua-email-verification-overlay {
    width: 100%;
    height: 100%;
    padding: clamp(1rem, 8vh, 5rem) 1rem 1rem;
    position: fixed;
    inset: 0;
    z-index: 9000;
    overflow-y: auto;
    background: rgb(4 19 30 / 0.72);
    backdrop-filter: blur(0.3rem);
}

.ua-site--modern .ua-email-verification-dialog {
    width: min(100%, 38rem);
    min-height: 0;
    max-height: calc(100vh - 2rem) !important;
    margin: 0 auto;
    overflow-y: auto;
    position: relative;
    z-index: 99100;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-lg);
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
    box-shadow: var(--ua-shadow-card);
}

.ua-site--modern .ua-email-verification__response:empty {
    display: none;
}

.ua-site--modern .ua-signup-preview__table > tbody > tr > td:first-child:not([colspan]) {
    width: 32% !important;
    color: var(--ua-color-text-muted) !important;
    background: var(--ua-color-surface-muted) !important;
    text-align: left !important;
}

.ua-site--modern .ua-signup-preview__table font {
    color: inherit !important;
    font-size: inherit !important;
}

.ua-site--modern .ua-signup-preview__actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ua-site--modern :is(.errortext[role="alert"], .successfulltext[role="status"]) {
    width: min(100%, 58rem);
    margin: 0 auto 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid;
    border-radius: var(--ua-radius-sm);
    display: block;
    line-height: 1.55;
}

.ua-site--modern .errortext[role="alert"] {
    border-color: color-mix(in srgb, #b42318 35%, var(--ua-color-border));
    color: #7a271a;
    background: #fef3f2;
}

.ua-site--modern .successfulltext[role="status"] {
    border-color: color-mix(in srgb, #087443 35%, var(--ua-color-border));
    color: #085d3a;
    background: #ecfdf3;
}

@media (max-width: 48rem) {
    .ua-site--modern .ua-signup-table,
    .ua-site--modern .ua-signup-table > tbody,
    .ua-site--modern .ua-signup-table > tbody > tr,
    .ua-site--modern .ua-signup-table > tbody > tr > td,
    .ua-site--modern .ua-signup-preview__table,
    .ua-site--modern .ua-signup-preview__table > tbody,
    .ua-site--modern .ua-signup-preview__table > tbody > tr,
    .ua-site--modern .ua-signup-preview__table > tbody > tr > td {
        width: 100% !important;
        display: block;
    }

    .ua-site--modern .ua-signup-table > tbody > tr > td,
    .ua-site--modern .ua-signup-preview__table > tbody > tr > td {
        padding: 0.85rem 1rem;
    }

    .ua-site--modern .ua-signup-preview__table > tbody > tr > td:first-child:not([colspan]) {
        width: 100% !important;
        padding-bottom: 0.35rem;
        border-bottom: 0;
    }

    .ua-site--modern .ua-signup-preview__table > tbody > tr > td:last-child {
        padding-top: 0.35rem;
    }

    .ua-site--modern .ua-signup-preview__actions .ua-button {
        width: 100%;
    }
}

.ua-site--modern .ua-page-article-list .headlines3 {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
}

.ua-site--modern .ua-page-article-list .headlines3 > .w3-card {
    min-height: 0 !important;
    border: 0;
    box-shadow: none !important;
}

.ua-site--modern .ua-main-region .articleheader,
.ua-site--modern .ua-main-region .subarticleheader {
    font-size: var(--ua-font-size-article-title) !important;
    line-height: 1.18;
    overflow-wrap: break-word;
}

/* Native full-image heroes */
.ua-site--modern .ua-feature-hero {
    position: relative;
    width: 100%;
    min-height: clamp(30rem, 52vw, 46rem);
    margin-bottom: var(--ua-space-module);
    overflow: hidden;
    border-radius: var(--ua-radius-lg);
    color: var(--ua-color-on-brand);
    background:
        radial-gradient(circle at 82% 18%, rgb(255 255 255 / 0.1), transparent 28%),
        linear-gradient(135deg, var(--ua-color-brand-strong), var(--ua-color-brand));
    box-shadow: 0 1.5rem 4rem rgb(8 31 48 / 0.22);
    isolation: isolate;
}

.ua-site--modern.ua-site--home .ua-feature-hero {
    min-height: clamp(35rem, 58vw, 54rem);
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.ua-site--modern .ua-feature-hero__slide {
    position: absolute;
    inset: 0;
    min-height: 100%;
    display: flex;
    align-items: flex-end;
    background-color: var(--ua-color-brand-strong);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ua-site--modern .ua-feature-hero__media-link {
    position: absolute;
    z-index: 1;
    inset: 0;
}

.ua-site--modern .ua-feature-hero__shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgb(3 20 34 / 0.92) 0%, rgb(3 20 34 / 0.66) 52%, rgb(3 20 34 / 0.12) 100%),
        linear-gradient(0deg, rgb(3 20 34 / 0.82) 0%, transparent 58%);
}

.ua-site--modern .ua-feature-hero--banner .ua-feature-hero__shade {
    background:
        linear-gradient(90deg, rgb(3 20 34 / 0.82) 0%, rgb(3 20 34 / 0.42) 52%, rgb(3 20 34 / 0.06) 100%),
        linear-gradient(0deg, rgb(3 20 34 / 0.68) 0%, transparent 52%);
}

.ua-site--modern .ua-feature-hero__content {
    position: relative;
    z-index: 3;
    width: min(100%, 58rem);
    padding: clamp(2rem, 6vw, 5rem);
    padding-bottom: clamp(6.5rem, 9vw, 8rem);
}

.ua-site--modern.ua-site--home .ua-feature-hero__content {
    width: min(100%, calc((100vw - var(--ua-content-max)) / 2 + 58rem));
    padding-left: max(1.5rem, calc((100vw - var(--ua-content-max)) / 2 + 1rem));
}

.ua-site--modern .ua-feature-hero__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--ua-color-accent);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ua-site--modern .ua-feature-hero h2 {
    max-width: 54rem;
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 5.5rem) !important;
    line-height: 0.98;
    text-wrap: balance;
    text-shadow: 0 0.25rem 1.5rem rgb(0 0 0 / 0.3);
}

.ua-site--modern .ua-feature-hero h2 a {
    color: inherit !important;
    text-decoration: none;
}

.ua-site--modern .ua-feature-hero__summary {
    max-width: 46rem;
    margin-bottom: 1.4rem;
    color: rgb(255 255 255 / 0.9);
    font-size: clamp(1rem, 1.55vw, 1.2rem);
    line-height: 1.65;
}

.ua-site--modern .ua-feature-hero__summary > :first-child {
    margin-top: 0;
}

.ua-site--modern .ua-feature-hero__summary > :last-child {
    margin-bottom: 0;
}

.ua-site--modern .ua-feature-hero__utility {
    position: absolute;
    z-index: 4;
    left: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
}

.ua-site--modern.ua-site--home .ua-feature-hero__utility {
    left: max(1.5rem, calc((100vw - var(--ua-content-max)) / 2 + 1rem));
}

.ua-site--modern .ua-feature-hero__utility a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.ua-site--modern .ua-feature-hero__utility a:hover {
    text-decoration: underline;
}

.ua-site--modern .ua-feature-hero__controls {
    z-index: 4;
}

@media (prefers-reduced-motion: no-preference) {
    .ua-site--modern .ua-feature-hero__slide:not([hidden]) {
        animation: ua-feature-hero-reveal 480ms ease both;
    }

    .ua-site--modern .ua-feature-hero__utility a i {
        transition: transform 180ms ease;
    }

    .ua-site--modern .ua-feature-hero__utility a:hover i {
        transform: translateX(0.25rem);
    }
}

@keyframes ua-feature-hero-reveal {
    from {
        opacity: 0.35;
        transform: scale(1.012);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 48rem) {
    .ua-site--modern .ua-feature-hero,
    .ua-site--modern.ua-site--home .ua-feature-hero {
        min-height: 34rem;
        border-radius: var(--ua-radius-md);
    }

    .ua-site--modern.ua-site--home .ua-feature-hero {
        border-radius: 0;
    }

    .ua-site--modern .ua-feature-hero__shade,
    .ua-site--modern .ua-feature-hero--banner .ua-feature-hero__shade {
        background:
            linear-gradient(0deg, rgb(3 20 34 / 0.94) 0%, rgb(3 20 34 / 0.55) 68%, rgb(3 20 34 / 0.18) 100%);
    }

    .ua-site--modern .ua-feature-hero__content,
    .ua-site--modern.ua-site--home .ua-feature-hero__content {
        width: 100%;
        padding: 1.5rem 1.25rem 6rem;
    }

    .ua-site--modern .ua-feature-hero h2 {
        font-size: clamp(2rem, 10vw, 3.5rem) !important;
    }

    .ua-site--modern .ua-feature-hero__summary {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .ua-site--modern .ua-feature-hero__utility,
    .ua-site--modern.ua-site--home .ua-feature-hero__utility {
        left: 1.25rem;
        bottom: 1.4rem;
    }
}

@media (max-width: 30rem) {
    .ua-site--modern .ua-feature-hero__utility {
        display: none;
    }

    .ua-site--modern .ua-feature-hero__content,
    .ua-site--modern.ua-site--home .ua-feature-hero__content {
        padding-bottom: 5.75rem;
    }
}

/* Home hero variant that preserves complete image artwork at every size. */
.ua-site--modern .ua-mobile-full-hero-container {
    width: 100%;
    container: ua-mobile-full-hero / inline-size;
}

.ua-site--modern .ua-feature-hero--mobile-full-image,
.ua-site--modern.ua-site--home .ua-feature-hero--mobile-full-image {
    min-height: 0;
    height: auto;
    overflow: hidden;
    background: var(--ua-color-brand-strong);
}

.ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__mobile-fit-slides {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
}

.ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__mobile-fit-slide {
    position: relative;
    inset: auto;
    min-height: 0;
    height: auto;
    display: block;
    background: var(--ua-color-brand-strong);
}

.ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__mobile-fit-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    object-fit: contain;
    object-position: center;
}

.ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__content {
    position: absolute;
    right: auto;
    bottom: 0;
    left: 0;
}

@media (max-width: 48rem) {
    .ua-site--modern .ua-feature-hero--mobile-full-image,
    .ua-site--modern.ua-site--home .ua-feature-hero--mobile-full-image {
        min-height: 0;
        height: auto;
        overflow: hidden;
        background: var(--ua-color-brand-strong);
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__mobile-fit-slides {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__mobile-fit-slide {
        position: relative;
        inset: auto;
        min-height: 0;
        height: auto;
        display: block;
        background: var(--ua-color-brand-strong);
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__mobile-fit-image {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__shade {
        display: none;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__content,
    .ua-site--modern.ua-site--home .ua-feature-hero--mobile-full-image .ua-feature-hero__content {
        position: relative;
        width: 100%;
        padding: 1.25rem;
        color: var(--ua-color-text);
        background: var(--ua-color-surface);
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__eyebrow {
        color: var(--ua-color-accent);
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__content h2 {
        margin-bottom: 0.65rem;
        color: var(--ua-color-heading, var(--ua-color-text));
        font-size: clamp(1.65rem, 8vw, 2.45rem) !important;
        line-height: 1.05;
        text-shadow: none;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__summary {
        display: block;
        margin-bottom: 1rem;
        overflow: visible;
        color: var(--ua-color-text);
        -webkit-line-clamp: unset;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__controls {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        padding: 0.8rem 1rem;
        justify-content: center;
        background: var(--ua-color-brand-strong);
    }
}

/* The module can be narrow inside an admin or sidebar layout even when the
   browser itself is wide. Use its actual available width in that case. */
@container ua-mobile-full-hero (max-width: 48rem) {
    .ua-site--modern .ua-feature-hero--mobile-full-image,
    .ua-site--modern.ua-site--home .ua-feature-hero--mobile-full-image {
        min-height: 0 !important;
        height: auto !important;
        overflow: hidden;
        background: var(--ua-color-brand-strong);
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__mobile-fit-slides {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__mobile-fit-slide {
        position: relative;
        inset: auto;
        min-height: 0 !important;
        height: auto !important;
        display: block;
        background: var(--ua-color-brand-strong);
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__mobile-fit-image {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__shade {
        display: none;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__content,
    .ua-site--modern.ua-site--home .ua-feature-hero--mobile-full-image .ua-feature-hero__content {
        position: relative;
        width: 100%;
        padding: 1.25rem;
        color: var(--ua-color-text);
        background: var(--ua-color-surface);
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__content h2 {
        margin-bottom: 0.65rem;
        color: var(--ua-color-heading, var(--ua-color-text));
        font-size: clamp(1.65rem, 8vw, 2.45rem) !important;
        line-height: 1.05;
        text-shadow: none;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__summary {
        display: block;
        margin-bottom: 1rem;
        overflow: visible;
        color: var(--ua-color-text);
        -webkit-line-clamp: unset;
    }

    .ua-site--modern .ua-feature-hero--mobile-full-image .ua-feature-hero__controls {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        padding: 0.8rem 1rem;
        justify-content: center;
        background: var(--ua-color-brand-strong);
    }
}

/* Modern presentation for the existing image, article, and video hero modules. */
.ua-site--modern .ua-hero {
    position: relative;
    width: 100%;
    min-height: clamp(28rem, 52vw, 47rem);
    margin-bottom: var(--ua-space-module);
    padding-bottom: 0 !important;
    overflow: hidden;
    border-radius: var(--ua-radius-lg);
    color: var(--ua-color-on-brand);
    background: var(--ua-color-brand-strong);
    box-shadow: 0 1.5rem 4rem rgb(8 31 48 / 0.22);
    isolation: isolate;
}

.ua-site--modern.ua-site--home .ua-hero {
    min-height: clamp(34rem, 58vw, 54rem);
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.ua-site--modern.ua-site--home .ua-hero .imageRotatortextdiv {
    padding-inline: max(1.5rem, calc((100vw - var(--ua-content-max)) / 2 + 1rem)) !important;
}

.ua-site--modern .ua-hero__rotator,
.ua-site--modern .ua-hero #imagerotatediv {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit;
}

.ua-site--modern .ua-hero__slide {
    border-radius: inherit;
    background-position: center !important;
}

.ua-site--modern .ua-hero__slide::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgb(3 20 34 / 0.9) 0%, rgb(3 20 34 / 0.64) 48%, rgb(3 20 34 / 0.12) 100%),
        linear-gradient(0deg, rgb(3 20 34 / 0.74) 0%, transparent 45%);
}

.ua-site--modern .ua-hero .ua-hero__overlay,
.ua-site--modern .ua-hero .imageRotatortextdiv {
    position: absolute !important;
    z-index: 2;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 100%;
    margin: 0 !important;
    padding: clamp(1.5rem, 5vw, 4rem) !important;
    display: flex;
    align-items: flex-end;
    color: var(--ua-color-on-brand);
    background: transparent !important;
}

.ua-site--modern .ua-hero__content,
.ua-site--modern .ua-hero #spotforsubject {
    width: min(100%, var(--ua-content-max));
    max-width: 58rem !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit;
    background: transparent !important;
    font-family: var(--ua-font-heading);
    font-size: clamp(2.5rem, 6vw, 5.75rem) !important;
    font-weight: 900 !important;
    line-height: 0.98;
    text-align: left;
    text-wrap: balance;
    text-shadow: 0 0.25rem 1.5rem rgb(0 0 0 / 0.35);
}

.ua-site--modern .ua-hero__copy,
.ua-site--modern .ua-hero #currentheadline {
    max-width: 48rem !important;
    margin: 0 !important;
    float: none !important;
}

.ua-site--modern .ua-hero__copy > div:first-child a,
.ua-site--modern .ua-hero #currentheadline > div:first-child a {
    color: inherit;
    text-decoration: none;
}

.ua-site--modern .ua-hero #previewtextdiv,
.ua-site--modern .ua-hero__copy > div:not(#readbutton) {
    margin-top: 1rem;
    font-family: var(--ua-font-body);
    font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
    font-weight: 450 !important;
    line-height: 1.6 !important;
    letter-spacing: normal !important;
}

.ua-site--modern .ua-hero #readbutton {
    margin-top: 1.5rem;
}

.ua-site--modern .ua-hero #postdate {
    color: rgb(255 255 255 / 0.8);
    font-family: var(--ua-font-body);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ua-site--modern .ua-hero #nextheadlines {
    z-index: 3;
    padding: 1rem;
    border: 1px solid rgb(255 255 255 / 0.2);
    border-radius: var(--ua-radius-md);
    background: rgb(3 20 34 / 0.7);
    backdrop-filter: blur(0.55rem);
}

.ua-site--modern .ua-hero #imagerotatecontroldiv {
    color: var(--ua-color-on-brand);
    background-color: rgb(3 20 34 / 0.72) !important;
}

.ua-site--modern .ua-hero--video {
    height: clamp(30rem, 56vw, 50rem);
    min-height: 0 !important;
    max-height: 50rem !important;
    margin-top: 0 !important;
    margin-bottom: 0;
    background:
        radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--ua-color-brand) 72%, transparent), transparent 42%),
        var(--ua-color-brand-strong);
}

.ua-site--modern .ua-video-hero__stage {
    position: relative;
}

.ua-site--modern .ua-hero--video::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgb(3 20 34 / 0.78), rgb(3 20 34 / 0.22) 50%, rgb(3 20 34 / 0.55)),
        linear-gradient(0deg, rgb(3 20 34 / 0.7), transparent 58%);
}

.ua-site--modern .ua-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.ua-site--modern .ua-video-hero__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgb(255 255 255 / 0.12);
    font-size: clamp(8rem, 24vw, 22rem);
}

.ua-site--modern .ua-video-hero__heading {
    position: absolute;
    z-index: 2;
    inset: 0;
    padding: clamp(2rem, 6vw, 5rem) max(1.25rem, calc((100vw - var(--ua-content-max)) / 2 + 1rem));
    display: grid;
    place-items: center;
    text-align: center;
}

.ua-site--modern .ua-video-hero__heading-inner {
    width: min(100%, 68rem);
    display: grid;
    justify-items: center;
    gap: clamp(0.8rem, 2vw, 1.35rem);
}

.ua-site--modern .ua-video-hero__kicker {
    padding: 0.5rem 0.9rem;
    border: 1px solid rgb(255 255 255 / 0.38);
    border-radius: 999px;
    color: rgb(255 255 255 / 0.9);
    background: rgb(3 20 34 / 0.34);
    font-family: var(--ua-font-navigation);
    font-size: clamp(0.68rem, 1.2vw, 0.85rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    backdrop-filter: blur(0.35rem);
}

.ua-site--modern .ua-video-hero__title {
    position: relative;
    display: block;
    padding-block: clamp(0.5rem, 1vw, 0.8rem);
    font-family: var(--ua-font-heading);
    font-size: clamp(2.8rem, 6.25vw, 6.2rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.9;
    text-transform: uppercase;
    text-wrap: balance;
    background: linear-gradient(180deg, #fff 12%, #fff 62%, color-mix(in srgb, var(--ua-color-accent) 62%, #fff));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0.35rem 1rem rgb(0 0 0 / 0.5));
}

.ua-site--modern .ua-video-hero__title::after {
    content: "";
    width: clamp(4rem, 9vw, 7rem);
    height: 0.28rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    border-radius: 999px;
    background: var(--ua-color-action);
    box-shadow: 0 0.25rem 1rem color-mix(in srgb, var(--ua-color-action) 55%, transparent);
    transform: translateX(-50%);
}

.ua-site--modern .ua-video-hero__playback {
    position: absolute;
    z-index: 4;
    right: max(1rem, calc((100vw - var(--ua-content-max)) / 2 + 1rem));
    bottom: 8.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgb(255 255 255 / 0.35);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    background: rgb(3 20 34 / 0.58);
    font-family: var(--ua-font-navigation);
    font-size: 0.78rem;
    font-weight: 750;
    cursor: pointer;
    backdrop-filter: blur(0.45rem);
}

.ua-site--modern .ua-video-hero__playback:hover {
    background: rgb(3 20 34 / 0.82);
}

.ua-site--modern .ua-video-hero__actions {
    position: absolute;
    z-index: 3;
    bottom: 1.25rem;
    left: 50%;
    width: min(calc(100% - 2rem), 72rem);
    margin: 0;
    transform: translateX(-50%);
}

.ua-site--modern .ua-video-hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1rem);
}

.ua-site--modern .ua-video-hero-buttons__card {
    position: relative;
    min-width: 0;
    min-height: 6.5rem;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgb(255 255 255 / 0.28);
    border-radius: var(--ua-radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
    background: color-mix(in srgb, var(--ua-color-brand-strong) 86%, transparent);
    box-shadow: 0 1rem 2.5rem rgb(3 20 34 / 0.24);
    text-decoration: none;
    backdrop-filter: blur(0.75rem);
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.ua-site--modern .ua-video-hero-buttons__card:is(:hover, :focus-within) {
    border-color: color-mix(in srgb, var(--ua-color-action) 75%, #fff);
    color: #fff;
    background: color-mix(in srgb, var(--ua-color-brand) 92%, transparent);
    transform: translateY(-0.2rem);
}

.ua-site--modern .ua-video-hero-buttons__copy {
    min-width: 0;
    display: grid;
    gap: 0.25rem;
}

.ua-site--modern .ua-video-hero-buttons__eyebrow {
    margin: 0;
    color: rgb(255 255 255 / 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ua-site--modern .ua-video-hero-buttons__title {
    margin: 0;
    font-family: var(--ua-font-heading);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.15;
}

.ua-site--modern .ua-video-hero-buttons__link {
    color: #fff !important;
    text-decoration: none;
}

.ua-site--modern .ua-video-hero-buttons__link:is(:hover, :focus-visible, :visited) {
    color: #fff !important;
}

.ua-site--modern .ua-video-hero-buttons__link::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
}

.ua-site--modern .ua-video-hero-buttons__link:focus-visible {
    outline: none;
}

.ua-site--modern .ua-video-hero-buttons__card:has(.ua-video-hero-buttons__link:focus-visible) {
    outline: 0.2rem solid color-mix(in srgb, var(--ua-color-accent) 72%, #fff);
    outline-offset: 0.18rem;
}

.ua-site--modern .ua-video-hero-buttons__arrow {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ua-color-brand-strong);
    background: var(--ua-color-accent);
}

.ua-site--modern .ua-video-hero__admin {
    gap: 0.65rem;
    flex-wrap: wrap;
}

.ua-site--modern .ua-video-hero__admin form {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .ua-site--modern .ua-hero__slide {
        transition: filter 500ms ease, transform 8s ease;
    }

    .ua-site--modern .ua-hero:hover .ua-hero__slide {
        filter: saturate(1.08) contrast(1.03);
        transform: scale(1.025);
    }

    .ua-site--modern .ua-hero__video {
        transition: filter 500ms ease, transform 8s ease;
    }

    .ua-site--modern .ua-hero--video:hover .ua-hero__video {
        filter: saturate(1.08) contrast(1.03);
        transform: scale(1.025);
    }
}

@media (max-width: 56rem) {
    .ua-site--modern .ua-hero {
        min-height: 34rem;
        border-radius: var(--ua-radius-md);
    }

    .ua-site--modern.ua-site--home .ua-hero {
        min-height: 34rem;
        border-radius: 0;
    }

    .ua-site--modern .ua-hero #nextheadlines {
        display: none;
    }

    .ua-site--modern .ua-hero__content,
    .ua-site--modern .ua-hero #spotforsubject {
        font-size: clamp(2.25rem, 10vw, 4.25rem) !important;
    }

    .ua-site--modern.ua-site--home .ua-hero--video,
    .ua-site--modern .ua-hero--video {
        height: clamp(22rem, 112vw, 32rem);
        min-height: 0 !important;
    }

    .ua-site--modern .ua-video-hero__heading {
        padding: 1.5rem 1.15rem 3.75rem;
    }

    .ua-site--modern .ua-video-hero__title {
        font-size: clamp(2.35rem, 12vw, 4.75rem);
        letter-spacing: -0.035em;
        line-height: 0.94;
    }

    .ua-site--modern .ua-video-hero__playback {
        right: 0.85rem;
        bottom: 0.85rem;
    }

    .ua-site--modern .ua-video-hero__playback span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .ua-site--modern .ua-video-hero__actions {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin: 0;
        padding: 0.85rem;
        background: var(--ua-color-surface-muted);
        transform: none;
    }

    .ua-site--modern .ua-video-hero-buttons {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-video-hero-buttons__card {
        min-height: 5.25rem;
        border-color: var(--ua-color-border);
        color: var(--ua-color-on-brand);
        background: var(--ua-color-brand-strong);
        box-shadow: 0 0.65rem 1.6rem rgb(3 20 34 / 0.14);
        backdrop-filter: none;
    }

    .ua-site--modern .ua-video-hero__admin {
        margin-top: 0.75rem;
        padding-inline: 0.85rem;
    }
}

/* Member application launchers */
.ua-site--modern .ua-member-apps {
    width: 100%;
    padding: clamp(0.75rem, 2vw, 1.25rem);
}

.ua-site--modern .ua-member-apps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: clamp(0.75rem, 1.5vw, 1rem);
    width: min(100%, var(--ua-content-max));
    margin-inline: auto;
}

.ua-site--modern .ua-member-app {
    position: relative;
    min-width: 0;
    min-height: 10.5rem;
    padding: clamp(1.1rem, 2vw, 1.5rem) 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    color: var(--ua-color-text);
    background: var(--ua-color-surface);
    box-shadow: 0 0.45rem 1.4rem rgb(3 36 61 / 0.08);
    text-align: center;
    text-decoration: none !important;
}

.ua-site--modern .ua-member-app::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 0.25rem;
    background: var(--ua-color-accent);
    transform: scaleX(0);
    transform-origin: center;
}

.ua-site--modern .ua-member-app__icon {
    width: 4.25rem;
    height: 4.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--ua-color-accent);
    background: color-mix(in srgb, var(--ua-color-accent) 10%, var(--ua-color-surface));
    font-size: 1.8rem;
    line-height: 1;
}

.ua-site--modern .ua-member-app__title {
    color: inherit;
    font-family: var(--ua-font-heading);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 800;
    line-height: 1.25;
    text-wrap: balance;
}

.ua-site--modern .ua-member-app:hover,
.ua-site--modern .ua-member-app:focus-visible {
    border-color: color-mix(in srgb, var(--ua-color-accent) 48%, var(--ua-color-border));
    color: var(--ua-color-brand);
    box-shadow: var(--ua-shadow-card);
}

.ua-site--modern .ua-member-app:hover::after,
.ua-site--modern .ua-member-app:focus-visible::after {
    transform: scaleX(1);
}

.ua-site--modern .ua-member-app:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--ua-color-accent) 55%, transparent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
    .ua-site--modern .ua-member-app,
    .ua-site--modern .ua-member-app::after,
    .ua-site--modern .ua-member-app__icon {
        transition:
            border-color 180ms ease,
            box-shadow 180ms ease,
            color 180ms ease,
            transform 180ms ease;
    }

    .ua-site--modern .ua-member-app:hover {
        transform: translateY(-0.25rem);
    }

    .ua-site--modern .ua-member-app:hover .ua-member-app__icon {
        transform: scale(1.08);
    }
}

@media (max-width: 36rem) {
    .ua-site--modern .ua-member-apps {
        padding: 0.625rem;
    }

    .ua-site--modern .ua-member-apps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.625rem;
    }

    .ua-site--modern .ua-member-app {
        min-height: 8.75rem;
        padding: 1rem 0.625rem;
    }

    .ua-site--modern .ua-member-app__icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.5rem;
    }
}

/* Site search module */
.ua-site--modern .ua-search-module {
    position: relative;
    overflow: hidden;
    container-name: ua-search-module;
    container-type: inline-size;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--ua-color-accent) 11%, transparent), transparent 36%),
        var(--ua-color-surface);
    box-shadow: var(--ua-shadow-card);
}

.ua-site--modern .ua-search-module::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.3rem;
    background: var(--ua-color-accent);
}

.ua-site--modern .ua-search-module__heading {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ua-site--modern .ua-search-module__heading-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3.5rem;
    border-radius: 50%;
    color: var(--ua-color-on-brand);
    background: var(--ua-color-brand);
    box-shadow: 0 0.55rem 1.4rem color-mix(in srgb, var(--ua-color-brand) 24%, transparent);
    font-size: 1.15rem;
}

.ua-site--modern .ua-search-module__heading h2 {
    margin: 0 0 0.25rem !important;
}

.ua-site--modern .ua-search-module__heading p {
    margin: 0;
    color: var(--ua-color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.ua-site--modern .ua-search-module__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
}

.ua-site--modern .ua-search-module__field {
    position: relative;
    min-width: 0;
    display: block;
}

.ua-site--modern .ua-search-module__field > i {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    color: var(--ua-color-text-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.ua-site--modern .ua-search-module__field input[type="search"] {
    width: 100% !important;
    min-height: 3.5rem;
    margin: 0 !important;
    padding: 0.8rem 1rem 0.8rem 3rem !important;
    border: 1px solid var(--ua-color-border) !important;
    border-radius: var(--ua-radius-sm) !important;
    color: var(--ua-color-text) !important;
    background: var(--ua-color-surface) !important;
    box-shadow: inset 0 1px 2px rgb(3 36 61 / 0.04) !important;
    font-family: var(--ua-font-body) !important;
    font-size: 1rem !important;
}

.ua-site--modern .ua-search-module__field input[type="search"]::placeholder {
    color: var(--ua-color-text-muted);
    opacity: 0.86;
}

.ua-site--modern .ua-search-module__field input[type="search"]:focus {
    border-color: var(--ua-color-action) !important;
    outline: 3px solid color-mix(in srgb, var(--ua-color-action) 20%, transparent) !important;
    outline-offset: 1px;
}

.ua-site--modern .ua-search-module__submit {
    width: 100%;
    min-height: 3.5rem;
    margin: 0 !important;
    padding-inline: clamp(1.25rem, 3vw, 1.75rem) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    white-space: nowrap;
}

.ua-site--modern .ua-search-module__resources {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.25rem;
}

.ua-site--modern .ua-search-module__resources a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ua-color-link);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.ua-site--modern .ua-search-module__resources a i {
    color: var(--ua-color-accent);
}

.ua-site--modern .ua-search-module__resources a:hover,
.ua-site--modern .ua-search-module__resources a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media (prefers-reduced-motion: no-preference) {
    .ua-site--modern .ua-search-module__submit i {
        transition: transform 180ms ease;
    }

    .ua-site--modern .ua-search-module__submit:hover i {
        transform: translateX(0.2rem);
    }
}

@media (max-width: 36rem) {
    .ua-site--modern .ua-search-module__heading {
        align-items: flex-start;
    }

    .ua-site--modern .ua-search-module__heading-icon {
        width: 3rem;
        height: 3rem;
        flex-basis: 3rem;
    }

    .ua-site--modern .ua-search-module__form {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-site--modern .ua-search-module__submit {
        width: 100%;
    }

    .ua-site--modern .ua-search-module__resources {
        display: grid;
        gap: 0.75rem;
    }
}

@container ua-search-module (max-width: 32rem) {
    .ua-search-module__heading {
        align-items: flex-start;
    }

    .ua-search-module__heading-icon {
        width: 3rem;
        height: 3rem;
        flex-basis: 3rem;
    }

    .ua-search-module__form {
        grid-template-columns: minmax(0, 1fr);
    }

    .ua-search-module__submit {
        width: 100%;
    }

    .ua-search-module__resources {
        display: grid;
        gap: 0.75rem;
    }
}

@container ua-search-module (min-width: 42rem) {
    .ua-search-module__form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ua-search-module__submit {
        width: auto;
    }
}

/* Rotator visual unification
   Keep legacy ColdFusion/Dojo rotation behavior, but give every caption a
   dependable contrast surface and the same typography as the native heroes. */
.ua-site--modern :is(
    .ua-feature-hero__content,
    .ua-pagearticle-rotator__content
) {
    color: #fff !important;
    text-shadow: 0 0.15rem 1rem rgb(0 0 0 / 0.42);
}

.ua-site--modern :is(
    .ua-feature-hero__content,
    .ua-pagearticle-rotator__content
) :is(h1, h2, h3, h4, p, span, strong, em, li, a:not(.ua-button)) {
    color: inherit !important;
}

/* Preserve the original light CTA treatment inside native hero rotators. */
.ua-site--modern :is(
    .ua-feature-hero__content,
    .ua-pagearticle-rotator__content
) .ua-button--light {
    color: var(--ua-color-brand-strong) !important;
    background: #fff !important;
    text-shadow: none !important;
}

.ua-site--modern :is(
    .ua-feature-hero__content,
    .ua-pagearticle-rotator__content
) .ua-button--light :is(i, span) {
    color: inherit !important;
    text-shadow: none !important;
}

.ua-site--modern :is(
    .ua-feature-hero__summary,
    .ua-pagearticle-rotator__summary
) {
    color: rgb(255 255 255 / 0.94) !important;
    font-family: var(--ua-font-body);
}

.ua-site--modern :is(
    #imagerotatediv,
    #imagerotatesmalldiv,
    [id^="imagerotatesmalldiv"],
    #holdslides
) {
    position: relative;
    isolation: isolate;
}

.ua-site--modern :is(
    #imagerotatediv,
    #imagerotatesmalldiv,
    [id^="imagerotatesmalldiv"],
    #holdslides
) > div {
    position: relative;
    background-position: center !important;
    background-size: cover !important;
}

.ua-site--modern :is(
    #imagerotatediv,
    #imagerotatesmalldiv,
    [id^="imagerotatesmalldiv"]
) > div::after,
.ua-site--modern #holdslides > .mySlides::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgb(3 20 34 / 0.56), transparent 48%);
}

.ua-site--modern :is(
    #imagerotatediv,
    #imagerotatesmalldiv,
    [id^="imagerotatesmalldiv"],
    #holdslides
) :is(.imageRotatortextdiv, .imageRotatorsmalltext) {
    position: absolute !important;
    z-index: 5 !important;
    inset: auto auto clamp(1rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3.5rem) !important;
    width: min(42rem, calc(100% - clamp(2rem, 8vw, 7rem))) !important;
    max-width: 42rem !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(1rem, 2.2vw, 1.6rem) !important;
    overflow: visible !important;
    border: 1px solid rgb(255 255 255 / 0.28) !important;
    border-radius: var(--ua-radius-md) !important;
    color: #fff !important;
    background:
        linear-gradient(135deg, rgb(3 24 39 / 0.94), rgb(3 36 61 / 0.78)) !important;
    box-shadow: 0 1rem 2.75rem rgb(0 0 0 / 0.3) !important;
    font-family: var(--ua-font-heading) !important;
    font-size: clamp(1.35rem, 3vw, 2.5rem) !important;
    font-weight: 850 !important;
    line-height: 1.08 !important;
    letter-spacing: normal !important;
    text-align: left !important;
    text-shadow: 0 0.15rem 0.8rem rgb(0 0 0 / 0.5) !important;
    backdrop-filter: blur(0.7rem);
    -webkit-backdrop-filter: blur(0.7rem);
}

.ua-site--modern :is(
    #imagerotatediv,
    #imagerotatesmalldiv,
    [id^="imagerotatesmalldiv"],
    #holdslides
) :is(.imageRotatortextdiv, .imageRotatorsmalltext) :is(h1, h2, h3, h4, p, span, strong, em, a, div) {
    color: inherit !important;
    font-family: inherit;
    text-shadow: inherit;
}

.ua-site--modern :is(
    #imagerotatediv,
    #imagerotatesmalldiv,
    [id^="imagerotatesmalldiv"],
    #holdslides
) :is(.imageRotatortextdiv, .imageRotatorsmalltext) :is(.imagerotatdesc, p) {
    margin: 0.7rem 0 0 !important;
    padding: 0 !important;
    color: rgb(255 255 255 / 0.92) !important;
    background: transparent !important;
    font-family: var(--ua-font-body) !important;
    font-size: clamp(0.95rem, 1.35vw, 1.1rem) !important;
    font-weight: 450 !important;
    line-height: 1.55 !important;
}

/* Replace the old sprite arrows without changing their existing click code. */
.ua-site--modern div:has(> #imagerotatecontroldiv[onclick]) {
    background: transparent !important;
}

.ua-site--modern #imagerotatecontroldiv[onclick] {
    width: 3.25rem !important;
    height: 3.25rem !important;
    display: grid !important;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.45);
    border-radius: 50%;
    color: #fff;
    background: rgb(3 24 39 / 0.82) !important;
    background-image: none !important;
    box-shadow: 0 0.7rem 1.8rem rgb(0 0 0 / 0.28);
    font-family: Arial, sans-serif;
    font-size: 0;
    line-height: 1;
    backdrop-filter: blur(0.4rem);
    -webkit-backdrop-filter: blur(0.4rem);
}

.ua-site--modern #imagerotatecontroldiv[onclick]::before {
    content: "\203A";
    display: block;
    font-size: 2.35rem;
    font-weight: 300;
    line-height: 0.75;
    transform: translateY(-0.08rem);
}

.ua-site--modern #imagerotatecontroldiv[onclick][style*="-60px"]::before {
    content: "\2039";
}

.ua-site--modern #imagerotatecontroldiv[onclick]:hover {
    background: var(--ua-color-brand) !important;
    transform: translateY(-2px);
}

.ua-site--modern #holdslides > .w3-center {
    z-index: 6;
    padding-inline: clamp(0.75rem, 2vw, 1.5rem);
    pointer-events: none;
}

.ua-site--modern #holdslides > .w3-center :is(.w3-left, .w3-right) {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 0.45);
    border-radius: 50%;
    color: #fff;
    background: rgb(3 24 39 / 0.82);
    box-shadow: 0 0.7rem 1.8rem rgb(0 0 0 / 0.28);
    font-size: 2rem;
    line-height: 1;
    pointer-events: auto;
}

.ua-site--modern :is(
    #rotatecontroldiv,
    #imagerotatecontroldiv2,
    [id^="imagerotatecontrol"]
) :is(ul, ol) {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    list-style: none;
}

.ua-site--modern :is(
    #rotatecontroldiv,
    #imagerotatecontroldiv2,
    [id^="imagerotatecontrol"]
) a {
    color: #fff !important;
    font-family: var(--ua-font-body);
    font-weight: 750;
}

@media (prefers-reduced-motion: no-preference) {
    .ua-site--modern #imagerotatecontroldiv[onclick],
    .ua-site--modern #holdslides > .w3-center :is(.w3-left, .w3-right) {
        transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    }
}

@media (max-width: 48rem) {
    .ua-site--modern :is(
        #imagerotatediv,
        #imagerotatesmalldiv,
        [id^="imagerotatesmalldiv"],
        #holdslides
    ) :is(.imageRotatortextdiv, .imageRotatorsmalltext) {
        inset: auto 0.75rem 0.75rem !important;
        width: auto !important;
        max-width: none !important;
        padding: 0.9rem 1rem !important;
        display: block !important;
        border-radius: var(--ua-radius-sm) !important;
        font-size: clamp(1.15rem, 6vw, 1.65rem) !important;
    }

    .ua-site--modern :is(
        #imagerotatediv,
        #imagerotatesmalldiv,
        [id^="imagerotatesmalldiv"],
        #holdslides
    ) :is(.imageRotatortextdiv, .imageRotatorsmalltext) :is(.imagerotatdesc, p) {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.9rem !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ua-site--modern #imagerotatecontroldiv[onclick],
    .ua-site--modern #holdslides > .w3-center :is(.w3-left, .w3-right) {
        width: 2.75rem !important;
        height: 2.75rem !important;
    }
}
/* X feed and social links */
.ua-site--modern .ua-x-feed__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.ua-site--modern .ua-x-feed__identity {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.ua-site--modern .ua-x-feed__identity small {
    display: block;
    color: var(--ua-color-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ua-site--modern .ua-x-feed__identity strong {
    display: block;
    color: var(--ua-color-text);
    font-family: var(--ua-font-heading);
    font-size: var(--ua-font-size-module-title);
    line-height: 1.15;
}

.ua-site--modern .ua-x-feed__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    flex: 0 0 2.75rem;
    place-items: center;
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-text);
    color: var(--ua-color-surface);
    font-size: 1.2rem;
}

.ua-site--modern .ua-x-feed__profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.65rem;
    padding: 0.65rem 1rem;
    border-radius: var(--ua-radius-sm);
    background: var(--ua-color-primary);
    color: var(--ua-color-on-primary, #fff);
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, filter 180ms ease;
}

.ua-site--modern .ua-x-feed__profile-link:hover,
.ua-site--modern .ua-x-feed__profile-link:focus-visible {
    color: var(--ua-color-on-primary, #fff);
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.ua-site--modern .ua-x-feed__embed {
    width: min(100%, 720px);
    min-height: 420px;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-lg);
    background: var(--ua-color-surface-muted);
}

.ua-site--modern .ua-x-feed__embed iframe {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.ua-site--modern .ua-x-feed__embed--fallback {
    min-height: 0;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.ua-site--modern .ua-x-feed__fallback-message {
    margin: 0 0 0.8rem;
    color: var(--ua-color-text-muted);
    text-align: center;
}

.ua-site--modern .ua-x-feed__fallback-link {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: var(--ua-radius-sm);
    background: var(--ua-color-primary);
    color: var(--ua-color-on-primary, #fff);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.ua-site--modern .ua-x-feed__fallback-link:hover,
.ua-site--modern .ua-x-feed__fallback-link:focus-visible {
    color: var(--ua-color-on-primary, #fff);
    filter: brightness(1.1);
}

.ua-site--modern .ua-social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 0.75rem;
    width: 100%;
    padding: clamp(0.75rem, 2vw, 1.25rem);
}

.ua-site--modern .ua-social-links > a {
    display: flex;
    min-height: 5.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    border: 1px solid var(--ua-color-border);
    border-radius: var(--ua-radius-md);
    background: var(--ua-color-surface);
    color: var(--ua-color-primary);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ua-site--modern .ua-social-links > a i {
    font-size: 1.65rem;
}

.ua-site--modern .ua-social-links > a:hover,
.ua-site--modern .ua-social-links > a:focus-visible {
    border-color: var(--ua-color-primary);
    box-shadow: var(--ua-shadow-sm, 0 0.8rem 2rem rgb(8 31 48 / 0.1));
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .ua-site--modern .ua-x-feed__header,
    .ua-site--modern .ua-x-feed__profile-link {
        width: 100%;
    }

    .ua-site--modern .ua-x-feed__embed {
        min-height: 360px;
    }
}
