/* Static-build adjustments on top of the compiled Atlas CSS. */
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- navigation
   nium.com header details that postdate the compiled Atlas CSS (production
   checked 2026-11-16). Sizes use --nav-rem, like the rest of the header.
   src/atlas.js drives the open, swap and close motion, so the dropdown does
   not also fade on its own. */
.figma-site-header .nav_dropdown_list.is-desktop { transition: none; }
.figma-site-header .nav_backdrop { top: var(--nav-shell-top, calc(var(--nav-rem) * 4.5)); }

/* The dropdown is capped at 94rem and centred, with 3rem of inner padding. */
@media (min-width: 992px) {
    .figma-site-header .nav_dropdown_list.is-desktop { max-width: calc(var(--nav-rem) * 94); margin-inline: auto; }
    .figma-site-header .nav_dropdown_list.is-desktop .nav_m-menu_wrap { padding-inline: 0; }
    .figma-site-header .nav_dropdown_list.is-desktop .nav_m-menu_content { max-width: none; padding-inline: calc(var(--nav-rem) * 3); }
}

/* Products: Payments, Issuance and FX & Tools share three aligned rows. */
.nav_m-menu_grid.is-products.has-aligned-rows {
    grid-template-rows: auto auto auto;
    row-gap: calc(var(--nav-rem) * 1.5);
}
.nav_m-menu_col.is-full.has-product-rows,
.nav_m-menu_col.is-sidebar.is-products-spaced {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: calc(var(--nav-rem) * 1.5);
}
/* Production's Payments column carries an empty 1.5rem track beside its
   links, so the two link columns are narrower than half the span. */
.nav_m-menu_inner-grid.has-product-rows {
    margin-inline-end: calc(var(--nav-rem) * 1.5);
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: calc(var(--nav-rem) * 1.5);
}

/* Businesses we serve: Enterprise across three columns, then the Business and
   Customers groups. */
.nav_business-enterprise { grid-column: span 3; min-width: 0; }
.nav_business-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav_business-sidebar { display: flex; flex-direction: column; row-gap: calc(var(--nav-rem) * 1.5); min-width: 0; }
.nav_business-group { min-width: 0; }

/* Section titles line up with the link text, which sits inside the link padding. */
.nav_m-menu_tilte-wrap.is-products-aligned,
.nav_business-enterprise > .nav_m-menu_tilte-wrap,
.nav_business-group > .nav_m-menu_tilte-wrap { margin-inline: calc(var(--nav-rem) * .875); }

/* Resources: a wider fourth column for the card, with the "Featured read"
   label centred beside it. */
@media (min-width: 992px) {
    .nav_m-menu_grid.is-resources { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); }
}
.nav_m-menu_col.is-card-label { align-self: center; }

/* Card labels read white on black, and the sidebar no longer sits on a light
   panel. Featured cards use nium.com's light marble texture. */
.nav_m-menu_link_card-title { color: #fff; }
.nav_m-menu_overlay { display: none; }
.nav_card_link {
    background-color: #000;
    background-image: url(navigation-card-bg.d6141b562e.png);
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 991px) {
    .nav_m-menu_grid.is-products.has-aligned-rows { grid-template-rows: auto; }
    .nav_m-menu_col.is-full.has-product-rows,
    .nav_m-menu_col.is-sidebar.is-products-spaced { display: flex; flex-direction: column; grid-row: auto; }
    /* Stack the Payments links: two columns inside one third of a tablet
       screen are too narrow to read. Phones stack them the same way. */
    .nav_m-menu_inner-grid.has-product-rows { display: flex; flex-direction: column; grid-row: auto; margin-inline-end: 0; }
    .nav_business-enterprise { grid-column: auto; }
    .nav_business-columns { grid-template-columns: minmax(0, 1fr); }
    .nav_business-sidebar { margin-top: calc(var(--nav-rem) * 1.5); }
    .nav_m-menu_col.is-card-label { align-self: auto; }
}

/* ---------------------------------------------------------------- 404
   nium.com's page-not-found section, from its live computed values on
   17 November 2026 (1440px and 390px). The vendored Atlas CSS styles
   .atlas-not-found .button as nium.com's button; --nav-rem sizes it. */
.atlas-not-found.atlas-404 {
    --nav-rem: 16px;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 80vh;
    padding: 40px 2.22% 0;
    overflow: hidden;
    background: #000;
    color: #fff;
}
.atlas-404__background,
.atlas-404__background video,
.atlas-404__scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas-404__background { z-index: -1; }
.atlas-404__background video { object-fit: cover; }
.atlas-404__scrim { background: rgb(0 0 0 / 68%); }
.atlas-404__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding-block: 112px;
    text-align: center;
}
.atlas-404__icon { width: 144px; height: auto; }
.atlas-not-found .atlas-404__title {
    max-width: 535px;
    margin: 0;
    color: #fff;
    font: 300 72px/1.3 Blinker, Arial, sans-serif;
    letter-spacing: -0.0139em;
}
.atlas-404__description {
    max-width: 535px;
    margin: 0 0 32px;
    color: #fff;
    font: 400 20px/1.5 Roboto, Arial, sans-serif;
}
.atlas-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.atlas-not-found .button.is-outline-light { border-color: #fff; background: transparent; color: #fff; }
.atlas-not-found .button.is-outline-light:hover,
.atlas-not-found .button.is-outline-light:focus-visible { border-color: #befff4; background: #befff4; color: #000; }
.atlas-404 .button:focus-visible { outline: 2px solid #befff4; outline-offset: 3px; }
.atlas-404__motion {
    position: absolute;
    right: 16px;
    bottom: 16px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgb(255 255 255 / 40%);
    background: rgb(0 0 0 / 60%);
    color: #fff;
    font: 400 14px/20px Roboto, Arial, sans-serif;
    cursor: pointer;
}
.atlas-404__motion:focus-visible { outline: 2px solid #00ffd4; outline-offset: 2px; }
@media (max-width: 767px) {
    .atlas-404__actions { flex-direction: column; width: min(100%, 288px); }
}
@media (max-width: 479px) {
    .atlas-not-found.atlas-404 { --nav-rem: 14.83px; padding: 55px 4.24% 0; }
    .atlas-404__content { gap: 14.83px; padding-block: 59.32px; }
    .atlas-404__icon { width: 111.225px; }
    .atlas-not-found .atlas-404__title { font-size: clamp(36px, 11.4vw, 44.49px); line-height: 1.2; }
    .atlas-404__description { margin-bottom: 29.66px; font-size: 16.6838px; }
}
