/* BB Language Chooser — sitemap typography, spacing, columns and color system. */
.bb-lang-choose-container {
    --color-heading: #1d1d1f;
    --color-link: #06d;
    --color-page-bg: #fff;
    --color-border: #e5e5e5;
    --color-border-soft: #8885;
    --color-url: #868688;
    --color-hover-bg: #8881;
    --color-focus-bg: #fff;
    --color-focus: #06d6;
    --color-muted: #444446;
    display: block;
    width: 100%;
    color: var(--color-link);
    font-family: 'BB Text', sans-serif;
    font-size: 17px;
    line-height: 1.411765;
    letter-spacing: -.022em;
    text-decoration: none;
    word-break: break-word;
    user-select: text;
}

.theme-dark .bb-lang-choose-container,
body.theme-dark .bb-lang-choose-container,
body[data-color-scheme="dark"] .bb-lang-choose-container {
    --color-heading: #f5f5f7;
    --color-link: #09f;
    --color-page-bg: #1d1d1f;
    --color-border: #444446;
    --color-border-soft: #8885;
    --color-url: #868688;
    --color-hover-bg: #fff1;
    --color-focus-bg: #fff1;
    --color-focus: #08f8;
    --color-muted: #dddddf;
}

.bb-lang-choose-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 76px 0 8px;
}

.bb-lang-choose-title {
    margin: 0 0 30px;
    padding: 0 0 30px;
    border-bottom: 1px solid var(--color-border-soft);
    color: var(--color-heading);
    font-family: "BB Display", sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1.2;
}

.bb-lang-choose-container .sitemap-all-links,
.bb-lang-choose-container .main-category-section,
.bb-lang-choose-container .ulcolumns,
.bb-lang-choose-container li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bb-lang-choose-region {
    display: block;
    width: 100%;
}

.bb-lang-choose-region .st-main-heading {
    margin: 0;
    padding: 30px 0;
    border-top: 1px solid var(--color-border-soft);
    color: var(--color-heading);
    font-family: "BB Display", sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1.2;
    text-align: left;
}

.bb-lang-choose-region:first-child .st-main-heading {
    padding-top: 0;
    border-top: 0;
}

.bb-lang-choose-list {
    columns: 3 auto;
    margin: 10px 0 0;
    padding: 0 0 25px;
}

.bb-lang-choose-container .bb-lang-country-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    break-inside: avoid;
    vertical-align: top;
}

.bb-lang-choose-container a.bb-lang-country-link {
    display: block;
    width: auto;
    margin: 0;
    padding: 8px 5px;
    border-radius: 4px;
    color: var(--color-link);
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.bb-lang-country-flag {
    display: inline-block;
    width: 26px;
    margin-inline-end: 7px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 19px;
    line-height: 1.25;
    text-align: center;
    vertical-align: top;
}

.bb-lang-country-copy {
    display: inline-block;
    max-width: calc(100% - 36px);
    vertical-align: top;
}

.bb-lang-country-name {
    display: block;
    color: var(--color-heading);
    font-size: 16px;
    line-height: 1.35;
}

.bb-lang-language-name {
    display: block;
    margin-top: 2px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: -.01em;
    unicode-bidi: isolate;
}

.bb-lang-language-native {
    display: inline;
}

.bb-lang-language-english {
    display: inline;
    color: var(--color-url);
    font-size: 12px;
}

.bb-lang-choose-container a.bb-lang-country-link:hover {
    background-color: var(--color-hover-bg);
    text-decoration: none;
}

.bb-lang-choose-container a.bb-lang-country-link:hover .bb-lang-country-name {
    text-decoration: underline;
}

.bb-lang-choose-container a.bb-lang-country-link:active {
    background-color: transparent;
}

.bb-lang-choose-container a.bb-lang-country-link[aria-current="page"] .bb-lang-country-name {
    font-weight: 600;
}

.bb-lang-choose-container a.bb-lang-country-link:focus-visible {
    outline: 4px solid var(--color-focus);
    outline-offset: 3px;
    position: relative;
    z-index: 2;
}

html[dir="rtl"] .bb-lang-choose-container {
    direction: rtl;
    text-align: start;
}

html[dir="rtl"] .bb-lang-choose-region .st-main-heading {
    text-align: right;
}

html[dir="rtl"] .bb-lang-choose-container a.bb-lang-country-link {
    text-align: right;
}

html[dir="rtl"] .bb-lang-country-flag {
    margin-inline-start: 0;
    margin-inline-end: 7px;
}

@media only screen and (max-width: 1200px) {
    .bb-lang-choose-content {
        max-width: 692px;
    }

    .bb-lang-choose-title,
    .bb-lang-choose-region .st-main-heading {
        font-size: 28px;
    }
}

@media only screen and (max-width: 767px) {
    .bb-lang-choose-content {
        max-width: 87.5%;
        padding: 80px 0 8px;
    }

    .bb-lang-choose-title,
    .bb-lang-choose-region .st-main-heading {
        font-size: 24px;
        letter-spacing: .01em;
    }

    .bb-lang-choose-list {
        columns: 1;
    }

    .bb-lang-choose-title {
        margin-bottom: 26px;
        padding-bottom: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bb-lang-choose-container a.bb-lang-country-link {
        transition: none;
    }
}


/* Header country/region chooser dialog. The title bar stays sticky while the
   country and language list scrolls independently beneath it. */
.bb-ls-country-modal[hidden] { display: none; }
.bb-ls-country-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: block;
    color: #1d1d1f;
}
.bb-ls-country-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .48);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: bb-ls-country-fade-in .2s ease both;
}
.bb-ls-country-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1080px, calc(100vw - 40px));
    height: min(860px, calc(100vh - 48px));
    height: min(860px, calc(100dvh - 48px));
    margin: 24px auto;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    background: #fff;
    color: #1d1d1f;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
    animation: bb-ls-country-dialog-in .24s cubic-bezier(.2,.75,.25,1) both;
}
.bb-ls-country-modal-header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 18px 32px;
    border-bottom: 1px solid #e5e5e5;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
}
.bb-ls-country-modal-heading { min-width: 0; }
.bb-ls-country-modal-eyebrow {
    margin: 0 0 4px;
    color: #868688;
    font-family: 'BB Text', sans-serif;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: .01em;
}
.bb-ls-country-modal-heading h2 {
    margin: 0;
    color: #1d1d1f;
    font-family: 'BB Display', sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .005em;
}
.bb-ls-country-modal-close {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f2f5;
    color: #555;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}
.bb-ls-country-modal-close:hover { background: #e5e5e9; color: #111; }
.bb-ls-country-modal-close:focus-visible { outline: 3px solid rgba(0, 102, 221, .35); outline-offset: 3px; }
.bb-ls-country-modal-close svg { display: block; width: 18px; height: 18px; }
.bb-ls-country-modal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 0 32px 28px;
    scroll-padding-top: 8px;
    -webkit-overflow-scrolling: touch;
}
.bb-ls-country-modal-scroll .bb-lang-choose-content {
    max-width: none;
    margin: 0;
    padding: 26px 0 8px;
}
.bb-ls-country-modal-scroll .bb-lang-choose-region .st-main-heading {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-block: 18px;
    background: var(--color-page-bg, #fff);
}
.bb-ls-country-modal-scroll .bb-lang-choose-region:first-child .st-main-heading { padding-top: 0; }
body.bb-ls-country-modal-open { overflow: hidden; }
:is(html.theme-dark, body.theme-dark, html.hecu-dark, html[data-hecu-resolved="dark"], body[data-color-scheme="dark"], .theme-dark, .globalheader-dark) .bb-ls-country-dialog {
    border-color: rgba(255, 255, 255, .1);
    background: #1d1d1f;
    color: #f5f5f7;
}
:is(html.theme-dark, body.theme-dark, html.hecu-dark, html[data-hecu-resolved="dark"], body[data-color-scheme="dark"], .theme-dark, .globalheader-dark) .bb-ls-country-modal-header {
    border-bottom-color: #3a3a3c;
    background: rgba(29, 29, 31, .96);
}
:is(html.theme-dark, body.theme-dark, html.hecu-dark, html[data-hecu-resolved="dark"], body[data-color-scheme="dark"], .theme-dark, .globalheader-dark) .bb-ls-country-modal-heading h2 { color: #f5f5f7; }
:is(html.theme-dark, body.theme-dark, html.hecu-dark, html[data-hecu-resolved="dark"], body[data-color-scheme="dark"], .theme-dark, .globalheader-dark) .bb-ls-country-modal-eyebrow { color: #a1a1a6; }
:is(html.theme-dark, body.theme-dark, html.hecu-dark, html[data-hecu-resolved="dark"], body[data-color-scheme="dark"], .theme-dark, .globalheader-dark) .bb-ls-country-modal-close { background: #3a3a3c; color: #f5f5f7; }
:is(html.theme-dark, body.theme-dark, html.hecu-dark, html[data-hecu-resolved="dark"], body[data-color-scheme="dark"], .theme-dark, .globalheader-dark) .bb-ls-country-modal-close:hover { background: #4a4a4c; color: #fff; }
@keyframes bb-ls-country-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bb-ls-country-dialog-in { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media only screen and (max-width: 767px) {
    .bb-ls-country-dialog { width: 100%; height: 100vh; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; }
    .bb-ls-country-modal-header { min-height: 64px; padding: 14px 20px; }
    .bb-ls-country-modal-heading h2 { font-size: 22px; }
    .bb-ls-country-modal-scroll { padding: 0 20px 24px; }
    .bb-ls-country-modal-scroll .bb-lang-choose-content { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .bb-ls-country-backdrop, .bb-ls-country-dialog { animation: none; }
    .bb-ls-country-modal-close { transition: none; }
}
