/* Footer tools are independent of the primary navigation. */
.th-footer .th-footer-tools { flex-wrap: wrap; justify-content: flex-end; }
.th-footer .th-footer-contact-actions .list-inline-item { margin: 0; }
.th-footer .th-footer-contact-actions .btn-icon { margin-bottom: 0 !important; }
.th-footer .th-footer-locale { position: relative; min-width: 9rem; color: var(--th-text, #f4f5f7); }
.th-footer .th-footer-locale > summary {
    display: flex; align-items: center; gap: .55rem; min-height: 44px;
    padding: .55rem .75rem; border: 1px solid var(--th-border, #333840);
    border-radius: .7rem; background: var(--th-surface, #15191f);
    list-style: none; cursor: pointer; font-size: .8rem; font-weight: 650;
}
.th-footer .th-footer-locale > summary::-webkit-details-marker { display: none; }
.th-footer .th-footer-locale > summary::after {
    content: ''; inline-size: .45rem; block-size: .45rem; margin-inline-start: auto;
    border: solid currentColor; border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
}
.th-footer .th-footer-locale[open] > summary { border-color: var(--th-accent, #ff6500); }
.th-footer .th-footer-locale[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.th-footer .th-footer-locale[open] > .th-footer-locale-options {
    position: absolute; z-index: 8; inset-inline-end: 0; inset-block-end: calc(100% + .5rem);
    display: grid; gap: .15rem; min-width: 12rem; padding: .4rem;
    border: 1px solid var(--th-border, #333840); border-radius: .8rem;
    background: #14181d; box-shadow: 0 .75rem 2rem #0009;
}
.th-footer .th-footer-locale-options > a {
    display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .45rem .65rem;
    border-radius: .55rem; color: var(--th-text, #f4f5f7); font-size: .82rem; text-decoration: none;
}
.th-footer .th-footer-locale-options > a:hover,
.th-footer .th-footer-locale-options > a[aria-current="page"] { background: #ff650019; color: #ffad72; }
.th-footer .th-footer-locale-code { min-width: 1.6rem; font-size: .68rem; font-weight: 750; }
.th-footer .th-footer-locale-options > a[aria-current="page"]::after {
    content: ''; inline-size: .32rem; block-size: .58rem; margin-inline-start: auto;
    border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.th-footer .th-footer-locale :is(summary, a):focus-visible { outline: 2px solid #ffad72; outline-offset: 2px; }
.th-legal-overview .th-legal-hero { grid-template-columns: minmax(0,1fr); }
.th-legal-overview .th-legal-switcher { margin-top: 1.25rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); }
@media (max-width: 767.98px) {
    .th-footer .th-footer-tools { justify-content: flex-start; }
    .th-footer .th-footer-locale[open] { flex-basis: 100%; }
    .th-footer .th-footer-locale[open] > .th-footer-locale-options { position: static; min-width: 0; margin-top: .5rem; box-shadow: none; }
}
