/* 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: #06d;
    --color-hover-bg: #8881;
    --color-focus-bg: #fff;
    --color-focus: #06d6;
    --color-muted: #444446;
    display: block;
    width: 100%;
    direction: ltr;
    text-align: left;
    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;
}

: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-lang-choose-container {
    --color-heading: #f5f5f7;
    --color-link: #09f;
    --color-page-bg: #1d1d1f;
    --color-border: #444446;
    --color-border-soft: #8885;
    --color-url: #09f;
    --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;
    padding-bottom: 16px;
}

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

.bb-lang-choose-region .st-main-heading {
    margin: 0;
    padding: 48px 0 30px;
    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: 'BB Text', 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-link);
    font-size: 17px;
    line-height: 1.35;
}

.bb-lang-language-name {
    display: block;
    margin-top: 2px;
    color: var(--color-muted);
    font-size: 12px;
    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-link);
    font-size: 112px;
}

.bb-lang-language-code {
    display: inline;
    color: var(--color-link);
    letter-spacing: 0;
}

.bb-lang-choose-container a.bb-lang-country-link:visited,
.bb-lang-choose-container a.bb-lang-country-link .bb-lang-country-name,
.bb-lang-choose-container a.bb-lang-country-link .bb-lang-language-name,
.bb-lang-choose-container a.bb-lang-country-link .bb-lang-language-english,
.bb-lang-choose-container a.bb-lang-country-link .bb-lang-language-code {
    color: var(--color-link);
}

.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:focus-visible {
    outline: 4px solid var(--color-focus);
    outline-offset: 3px;
    position: relative;
    z-index: 2;
}

/* The entire chooser follows the page language: Arabic is RTL; all others stay LTR. */
.bb-lang-choose-container[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

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

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

.bb-lang-choose-container[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

.bb-lang-choose-container[dir="ltr"] .bb-lang-choose-region .st-main-heading,
.bb-lang-choose-container[dir="ltr"] a.bb-lang-country-link {
    text-align: left;
}

.bb-lang-country-copy,
.bb-lang-country-name,
.bb-lang-language-name {
    direction: inherit;
    text-align: inherit;
}

.bb-lang-language-english,
.bb-lang-language-code {
    unicode-bidi: isolate;
    direction: ltr;
}

@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;
    }
}


/* Apple-style overlay: this new parent is the ONLY modal scrollport.
   The entire dialog scrolls within it; the content list is not independently
   scrollable, and the close button stays sticky over the moving content. */
.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-modal-overlay {
    position: absolute;
    inset: 0;
    /* This is the sole scrollport. Keep its scrollbar on the physical right,
       including when the page language is Arabic (RTL). */
    direction: ltr;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
/* Preserve the desktop popup scrollbar. On mobile, the device's native
   scrollbar and pull-to-refresh behavior take precedence. */
@media only screen and (min-width: 768px) {
    .bb-ls-country-modal-overlay {
        scrollbar-gutter: stable;
        scrollbar-color: #96969b transparent;
        scroll-padding-top: 72px;
    }
    .bb-ls-country-modal-overlay::-webkit-scrollbar {
        width: 10px;
    }
    .bb-ls-country-modal-overlay::-webkit-scrollbar-track {
        background: transparent;
    }
    .bb-ls-country-modal-overlay::-webkit-scrollbar-thumb {
        border: 2px solid transparent;
        border-radius: 10px;
        background: #96969b;
        background-clip: padding-box;
    }
}
/* Persistent visual scrollbar for browsers that auto-hide native scrollbars
   (notably macOS). Native popup scrolling and scrollbar interaction remain intact. */
.bb-ls-country-scrollbar-indicator {
    position: fixed;
    top: 6px;
    bottom: 6px;
    right: 4px;
    z-index: 20;
    width: 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .12);
    pointer-events: none;
}
.bb-ls-country-scrollbar-indicator[hidden] { display: none; }
.bb-ls-country-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    border-radius: inherit;
    background: rgba(245, 245, 247, .9);
    will-change: transform;
}
.bb-ls-country-backdrop {
    position: fixed;
    inset: 0;
    /* Let wheel, trackpad, and touch gestures reach the outer popup scrollport.
       Outside clicks still target the overlay and close the modal. */
    pointer-events: none;
    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;
    box-sizing: border-box;
    width: min(980px, calc(100% - 40px));
    height: auto;
    min-height: min(860px, calc(100vh - 48px));
    min-height: min(860px, calc(100dvh - 48px));
    margin: 24px auto;
    overflow: visible;
    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;
}

@media only screen and (max-width: 1120px) {
    .bb-ls-country-dialog {
        width: min(692px, calc(100% - 40px));
    }
    .bb-lang-choose-list {
        columns: 2 auto;
    }
}

/* Keep the content's existing gutters and physical-left close placement.
   Overflow must be visible here so sticky anchors to the outer overlay. */
.bb-ls-country-modal-scroll {
    --bb-ls-country-content-gutter: 76px;
    --bb-ls-country-close-inset: 20px;
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    direction: ltr;
    overflow: visible;
    box-sizing: border-box;
    padding-inline: var(--bb-ls-country-content-gutter);
    padding-block: 20px;
}
/* The close button stays far left; search stays far right in the same
   sticky, transparent toolbar while the entire dialog scrolls underneath. */
.bb-ls-country-modal-toolbar {
    position: sticky;
    top: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 36px;
    margin: 0 calc(var(--bb-ls-country-close-inset) - var(--bb-ls-country-content-gutter)) 20px;
    direction: ltr;
    pointer-events: none;
}
.bb-ls-country-modal-toolbar > .bb-ls-country-modal-close {
    position: relative;
    flex: 0 0 36px;
    z-index: 1;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    /* Pull the button out of the 48px content gutter to the modal's left edge.
       Region titles and columns keep their existing alignment. */
    margin: 0;
    padding: 0;
    pointer-events: auto;
    border: 0;
    border-radius: 50%;
    background: rgba(242, 242, 247, .98);
    color: #555;
    text-align: center;
    line-height: 0;
    direction: ltr;
    cursor: pointer;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .18s ease, color .18s ease;
}
.bb-ls-country-modal-toolbar > .bb-ls-country-modal-close:hover {
    background: #e5e5e9;
    color: #111;
}
.bb-ls-country-modal-toolbar > .bb-ls-country-modal-close:focus-visible {
    outline: 3px solid rgba(0, 102, 221, .35);
    outline-offset: 3px;
}
.bb-ls-country-modal-toolbar > .bb-ls-country-modal-close svg {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    fill: none;
    transform: none;
    pointer-events: none;
}
.bb-ls-country-modal-toolbar .bb-ls-country-search {
    display: flex;
    flex: 0 1 340px;
    align-items: center;
    gap: 9px;
    box-sizing: border-box;
    width: 340px;
    max-width: calc(100% - 52px);
    min-width: 0;
    height: 36px;
    padding: 0 11px;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    background: rgba(245, 245, 247, .98);
    color: #6e6e73;
    cursor: text;
    pointer-events: auto;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.bb-ls-country-modal-toolbar .bb-ls-country-search:focus-within {
    border-color: #06d;
    box-shadow: 0 0 0 2px rgba(0, 102, 221, .2);
}
.bb-ls-country-modal-toolbar .bb-ls-country-search svg {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: currentColor;
    pointer-events: none;
}
.bb-ls-country-modal-toolbar .bb-ls-country-search-input {
    display: block;
    flex: 1 1 auto;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #1d1d1f;
    font-family: 'BB Text', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
    text-align: left;
    direction: ltr;
    appearance: none;
    -webkit-appearance: none;
}
.bb-ls-country-modal-toolbar .bb-ls-country-search-input::placeholder {
    color: #6e6e73;
    opacity: 1;
}
/* The supplied circular X belongs to the search field's clear action,
   not to the separate close-modal button on the far left. */
.bb-ls-country-modal-toolbar .bb-ls-country-search-clear {
    display: grid;
    flex: 0 0 28px;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: 0 -5px 0 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #86868b;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .18s ease;
}
.bb-ls-country-modal-toolbar .bb-ls-country-search-clear[hidden] {
    display: none;
}
.bb-ls-country-modal-toolbar .bb-ls-country-search-clear:hover {
    color: #06d;
}
.bb-ls-country-modal-toolbar .bb-ls-country-search-clear:focus-visible {
    outline: 2px solid #06d;
    outline-offset: 1px;
}
.bb-ls-country-modal-toolbar .bb-ls-country-search-clear svg {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
    fill: currentColor;
    transform: none;
}
/* Prevent a second browser-native X appearing beside our SVG. */
.bb-ls-country-modal-toolbar .bb-ls-country-search-input::-webkit-search-cancel-button,
.bb-ls-country-modal-toolbar .bb-ls-country-search-input::-webkit-search-decoration {
    display: none;
    -webkit-appearance: none;
}
.bb-ls-country-search-empty {
    margin: 12px 0;
    color: #6e6e73;
    font-size: 17px;
    text-align: center;
}
.bb-ls-country-modal .bb-ls-country-search-empty[hidden],
.bb-ls-country-modal .bb-lang-country-item[hidden],
.bb-ls-country-modal .bb-lang-choose-region[hidden] {
    display: none;
}
.bb-ls-country-search-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.bb-ls-country-modal-scroll .bb-lang-choose-content {
    max-width: none;
    margin: 0;
    padding: 0 0 8px;
}
.bb-ls-country-modal-scroll .bb-lang-choose-region .st-main-heading {
    position: relative;
    top: 0;
    z-index: 5;
    padding-block: 48px;
    background: var(--color-page-bg, #fff);
}



.bb-ls-country-modal-scroll .bb-lang-choose-region:first-child .st-main-heading {
    padding-top: 20px;
}
/* Lock the actual document scrollport (usually <html> in WordPress), not
   just <body>. The overlay above remains independently scrollable. */
html.bb-ls-country-modal-open,
body.bb-ls-country-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}
html.bb-ls-country-modal-open {
    scrollbar-width: none;
}
html.bb-ls-country-modal-open::-webkit-scrollbar {
    display: none;
}
: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 {
    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-toolbar > .bb-ls-country-modal-close {
    background: rgba(58, 58, 60, .98);
    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-toolbar > .bb-ls-country-modal-close:hover {
    background: #4a4a4c;
    color: #fff;
}
: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-toolbar .bb-ls-country-search {
    border-color: #48484a;
    background: rgba(44, 44, 46, .98);
    color: #aeaeb2;
}
: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-toolbar .bb-ls-country-search:focus-within {
    border-color: #09f;
    box-shadow: 0 0 0 2px rgba(0, 153, 255, .2);
}
: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-toolbar .bb-ls-country-search-input {
    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-toolbar .bb-ls-country-search-input::placeholder,
: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-search-empty {
    color: #aeaeb2;
}
: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-toolbar .bb-ls-country-search-clear {
    color: #aeaeb2;
}
: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-toolbar .bb-ls-country-search-clear:hover {
    color: #09f;
}
: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-toolbar .bb-ls-country-search-clear:focus-visible {
    outline-color: #09f;
}
@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) {
    /* Keep the rounded desktop card and the user-provided mobile side spacing. */
    .bb-ls-country-dialog {
        width: min(580px, calc(100% - 0px));
        min-height: 0;
        margin: 48px auto;
        animation: bb-ls-country-dialog-in 0s cubic-bezier(.2, .75, .25, 1) both;
    }
    .bb-lang-choose-list {
        columns: 1 auto;
    }
    /* Only the popup scrolls; preserve the mobile device's native scrolling. */
    .bb-ls-country-modal-overlay {
        overflow-y: auto;
        overscroll-behavior-y: auto;
    }
    html.bb-ls-country-modal-open,
    body.bb-ls-country-modal-open {
        overscroll-behavior-y: auto;
    }
    .bb-ls-country-scrollbar-indicator {
        display: none;
    }
    .bb-ls-country-modal-scroll {
        --bb-ls-country-content-gutter: 56px;
        padding-block: 20px;
    }
    
    .bb-ls-country-modal-scroll .bb-lang-choose-region .st-main-heading {
        
        top: 0;
        /*
        top: 64px;
    }
    */
}
@media (prefers-reduced-motion: reduce) {
    .bb-ls-country-backdrop, .bb-ls-country-dialog { animation: none; }
    .bb-ls-country-modal-close { transition: none; }
}

/* v1.10.10: compact, unique language choices instead of repeated countries. */
.bb-lang-choose-container .bb-lang-language-item {
    margin-bottom: 2px;
    font-size: 17px;
}
.bb-lang-choose-container .bb-lang-language-link {
    font-size: 17px;
}
.bb-lang-choose-container .bb-lang-language-link .bb-lang-language-label {
    display: block;
    font-size: 17px;
    line-height: 1.35;
    white-space: normal;
}
.bb-lang-choose-container .bb-lang-language-link .bb-lang-language-code {
    display: inline;
    color: var(--color-link);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
}

/* Keep the dark desktop scrollbar styling; mobile uses its native indicator. */
@media only screen and (min-width: 768px) {
    :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-overlay {
        scrollbar-color: #77777c transparent;
    }
    :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-overlay::-webkit-scrollbar-thumb {
        background: #77777c;
        background-clip: padding-box;
    }
}