/* Shared footer: clear navigation groups and the existing state-aware languages. */
.page-public .site-footer--refined {
    padding-block: 2.5rem 1.25rem;
    color: #bac8d6;
    background: #0b1928;
}

.page-public .site-footer--refined .site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: 2rem 3rem;
}

.page-public .site-footer--refined .site-footer__grid--guides {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .75fr) minmax(0, 1fr);
}

.page-public .site-footer--refined :is(.site-footer__brand, .site-footer__product, .site-footer__guides) {
    min-inline-size: 0;
}

.page-public .site-footer--refined .wordmark--footer { min-block-size: 2.75rem; }
.page-public .site-footer--refined .wordmark--footer .wordmark__asset { inline-size: 9.25rem; }
.page-public .site-footer--refined .site-footer__brand > p {
    max-inline-size: 25rem;
    margin-block: .875rem 0;
    color: #c5d0dc;
    font-size: .875rem;
    line-height: 1.6;
}

.page-public .site-footer--refined .site-footer__heading {
    margin: 0 0 .5rem;
    color: #fff;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: 0;
}

.page-public .site-footer--refined :is(.site-footer__product, .site-footer__guides) {
    display: grid;
    align-content: start;
    gap: 0;
}

.page-public .site-footer--refined :is(.site-footer__product, .site-footer__guides) > a {
    display: flex;
    align-items: center;
    min-block-size: 2.75rem;
    padding-block: .375rem;
    color: #bdcbd9;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.55;
    text-decoration: none;
    text-underline-offset: .22em;
    overflow-wrap: anywhere;
}

.page-public .site-footer--refined :is(.site-footer__product, .site-footer__guides) > a:is(:hover, [aria-current]) {
    color: #fff;
    text-decoration: underline;
}

.page-public .site-footer--refined .site-footer__contact {
    display: grid;
    gap: .125rem;
    margin-block-start: 1.25rem;
    font-size: .8125rem;
}
.page-public .site-footer--refined .site-footer__contact p {
    margin: 0 0 .375rem;
    font-size: inherit;
    line-height: 1.6;
}
.page-public .site-footer--refined .site-footer__contact p > span { color: #91a6bb; }
.page-public .site-footer--refined .site-footer__contact strong { color: #e2ebf4; }
.page-public .site-footer--refined .site-footer__contact a {
    display: flex;
    align-items: center;
    min-block-size: 2.75rem;
    color: #c8d8e9;
    font-size: inherit;
    line-height: 1.5;
    text-decoration: none;
    text-underline-offset: .22em;
    overflow-wrap: anywhere;
}
.page-public .site-footer--refined .site-footer__contact a:hover { color: #fff; text-decoration: underline; }
.page-public .site-footer--refined .site-footer__social {
    margin-block-start: .625rem;
    margin-inline-start: 0;
}

.page-public .site-footer--refined .site-footer__note {
    margin-block-start: 1.75rem;
    padding-block-start: 1.25rem;
    border-block-start: 1px solid #2b3a4a;
}
.page-public .site-footer--refined .site-footer__status {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    max-inline-size: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}
.page-public .site-footer--refined .site-footer__status > span { margin-block-start: .0625rem; }
.page-public .site-footer--refined .site-footer__status p {
    max-inline-size: none;
    margin: 0;
    color: #a6b9cb;
    font-size: .75rem;
    line-height: 1.6;
}

.page-public .site-footer--refined .site-footer__languages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    margin-block-start: 1rem;
    padding-block: 1rem;
    border: 0;
}
.page-public .site-footer--refined .site-footer__languages-label {
    color: #d5e0ec;
    font-size: .8125rem;
    font-weight: 500;
}
.page-public .site-footer--refined .site-footer__languages ul {
    display: grid;
    grid-template-columns: repeat(8, minmax(2.75rem, 1fr));
    gap: .5rem;
    min-inline-size: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.page-public .site-footer--refined .site-footer__languages li { min-inline-size: 0; }
.page-public .site-footer--refined .site-footer__language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 2.75rem;
    min-inline-size: 2.75rem;
    block-size: 2.75rem;
    min-block-size: 2.75rem;
    margin: 0;
    padding: .5rem;
    border: 1px solid transparent;
    border-radius: .5rem;
    color: #e5eff8;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
}
.page-public .site-footer--refined .site-footer__language svg[data-flag] {
    flex: 0 0 auto;
    inline-size: 1.5rem;
    block-size: 1.125rem;
    border-radius: .125rem;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 14%);
}
.page-public .site-footer--refined .site-footer__language:is(a, button):hover {
    background: #1b3044;
    border-color: #506b84;
}
.page-public .site-footer--refined .site-footer__language--current {
    border-color: #93c9f2;
    background: #1d3953;
    cursor: default;
}
.page-public .site-footer--refined .site-footer__language--unavailable { opacity: .4; cursor: default; }
.page-public .site-footer--refined a:focus-visible,
.page-public .site-footer--refined button:focus-visible {
    outline: 3px solid #a9d7ff;
    outline-offset: 3px;
    box-shadow: none;
}

.page-public .site-footer--refined .site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    margin-block-start: 0;
    padding-block-start: .875rem;
    border-block-start: 1px solid #2b3a4a;
}
.page-public .site-footer--refined .site-footer__bottom > p { color: #8fa4b9; font-size: .75rem; line-height: 1.6; }
.page-public .site-footer--refined .site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem 1.25rem;
    margin: 0;
}
.page-public .site-footer--refined .site-footer__legal a {
    display: inline-flex;
    align-items: center;
    min-block-size: 2.75rem;
    color: #c5d3e1;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.6;
    text-underline-offset: .22em;
    overflow-wrap: anywhere;
}
.page-public .site-footer--refined .site-footer__legal a:hover { color: #fff; }

@container public-footer (max-width: 63.99rem) {
    .page-public .site-footer--refined .site-footer__grid,
    .page-public .site-footer--refined .site-footer__grid--guides {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 2rem;
    }
    .page-public .site-footer--refined .site-footer__brand { grid-column: 1 / -1; }
}

@container public-footer (max-width: 47.99rem) {
    .page-public .site-footer--refined .site-footer__grid,
    .page-public .site-footer--refined .site-footer__grid--guides { grid-template-columns: minmax(0, 1fr); }
    .page-public .site-footer--refined .site-footer__languages { align-items: flex-start; flex-direction: column; }
    .page-public .site-footer--refined .site-footer__languages ul { grid-template-columns: repeat(4, minmax(2.75rem, 1fr)); }
    .page-public .site-footer--refined .site-footer__legal { justify-content: flex-start; }
}

@container public-footer (max-width: 13rem) {
    .page-public .site-footer--refined .site-footer__languages ul { grid-template-columns: repeat(2, minmax(2.75rem, 1fr)); }
}

@media (forced-colors: active) {
    .page-public .site-footer--refined { color: CanvasText; background: Canvas; }
    .page-public .site-footer--refined .wordmark--footer .wordmark__asset {
        background: #0b1928;
        forced-color-adjust: none;
    }
    .page-public .site-footer--refined :is(a, button) { color: LinkText; }
    .page-public .site-footer--refined :is(a, button):focus-visible { outline-color: Highlight; }
    .page-public .site-footer--refined .site-footer__language--current { border-color: Highlight; background: Canvas; }
    .page-public .site-footer--refined .site-footer__language--unavailable { color: GrayText; opacity: 1; }
}
