/* Newsroom-style controls. Native selects remain the source of form values. */
body .sl-select { position: relative; display: block; width: 100%; min-width: 0; }
body .sl-select > select.sl-select__native {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: 0 !important; border: 0 !important;
    clip-path: inset(50%) !important; overflow: hidden !important; white-space: nowrap !important;
}
body .sl-select__trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; min-width: 0; height: var(--sl-select-height, 48px); padding: 0 16px;
    border: 1px solid rgba(0,0,0,.08); border-radius: 8px; background: #fff;
    color: var(--color-sec, #001a2b); font-family: inherit; font-size: 16px; font-weight: 400;
    text-align: left; line-height: 1.4; box-shadow: none; cursor: pointer;
    transition: border-color .18s ease;
}
body .sl-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body .sl-select__trigger::after {
    content: ''; flex: 0 0 8px; width: 8px; height: 8px; margin: -4px 3px 0 0;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}
body .sl-select__trigger[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 4px; }
body .sl-select__trigger:hover { border-color: #9fbfce; }
body .sl-select__trigger:focus, body .sl-select__trigger[aria-expanded="true"] {
    border-color: var(--color-pri, #1d90c9); outline: none; box-shadow: none;
}
body .sl-select__trigger:disabled { opacity: .5; cursor: not-allowed; }
body .sl-select__trigger[aria-invalid="true"] { border-color: #b3261e; }
body .sl-select-menu {
    position: fixed; z-index: 10020; box-sizing: border-box; overflow-y: auto;
    padding: 6px; margin: 0; border: 1px solid #d3e0e8; border-radius: 8px;
    background: #fff; box-shadow: 0 6px 16px rgba(0,26,43,.08);
    font-family: inherit; font-size: 16px; line-height: 1.4; overscroll-behavior: contain;
}
body .sl-select-menu[hidden] { display: none; }
body .sl-select-option {
    position: relative; display: block; padding: 11px 36px 11px 12px; margin: 2px 0;
    border: 0; border-radius: 5px; color: #344c5b; cursor: pointer; overflow-wrap: anywhere;
}
body .sl-select-option.is-active, body .sl-select-option:hover { color: #005c99; background: #eef6fb; }
body .sl-select-option[aria-selected="true"] { color: #005c99; font-weight: 600; background: #f2f8fc; }
body .sl-select-option[aria-selected="true"]::after { content: '\2713'; position: absolute; right: 12px; top: 11px; color: #1d90c9; }
body .sl-select-option[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
body .sl-select-group { padding: 10px 12px 5px; color: #647887; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
/* Suppress the template's second arrow where a native select was enhanced. */
body .form-select:has(.sl-select)::after { display: none; }
/* Existing Select2 widgets retain their behaviour and share the options skin. */
body .select2-container--default .select2-selection { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; box-shadow: none; }
body .select2-container--default.select2-container--open .select2-selection,
body .select2-container--default .select2-selection:focus { border-color: #1d90c9; outline: none; }
body .select2-dropdown { border: 1px solid #d3e0e8; border-radius: 8px; padding: 6px; overflow: hidden; box-shadow: 0 6px 16px rgba(0,26,43,.08); }
body .select2-results__option { border-radius: 5px; padding: 11px 12px; }
body .select2-container--default .select2-results__option--highlighted[aria-selected] { color: #005c99; background: #eef6fb; }
body .select2-container--default .select2-results__option[aria-selected=true] { color: #005c99; background: #f2f8fc; font-weight: 600; }
/* Search shell and circular action copied from the Newsroom visual language. */
/* Keep submit targets clear of the fixed phone/chat rail at the right edge. */
.src-form { padding-right: 72px; }
#search-results { scroll-margin-top: 116px; }
.src-form .form-action .btn-cricle { min-height: 48px; display: inline-flex; align-items: center; }
@media (max-width:767px) { .src-form { padding-right: 0; } #search-results { scroll-margin-top: 80px; } }
.discovery-usa .sl-search-field { position: relative; display: block; margin-top: 7px; }
.discovery-usa .sl-search-field input {
    margin: 0; height: 48px; padding: 0 50px 0 20px; border: 1px solid rgba(0,0,0,.08);
    border-radius: 8px; background: #fff; background-image: none; box-shadow: none;
}
.discovery-usa .sl-search-field input:focus { outline: none; border-color: var(--color-pri,#1d90c9); box-shadow: none; }
.discovery-usa .sl-search-icon { position: absolute; right: 12px; top: 0; display: grid; place-items: center; width: 32px; height: 48px; padding: 6px; border: 0; background: transparent; cursor: pointer; }
.discovery-usa .sl-search-icon img { display: block; width: 18px; height: 18px; }
.discovery-usa .sl-search-icon:focus-visible { outline: 1px solid #1d90c9; outline-offset: -5px; border-radius: 8px; }
.discovery-usa--refined .filter-bar.discovery-panel:has(.sl-search-now) { grid-template-columns: minmax(220px,480px) auto 1fr; }
.discovery-usa .sl-search-now { display: inline-flex; align-items: center; min-height: 48px; align-self: end; grid-row: 1; grid-column: 2; margin: 0 0 0 24px; white-space: nowrap; color: var(--color-text-2,#005c99); }
.discovery-usa .sl-search-now:hover { color: var(--color-pri,#1d90c9); }
.discovery-usa--refined .filter-bar:has(.sl-search-now) .filter-count { grid-column: 3; }
@media (max-width:767px) {
    .discovery-usa--refined .filter-bar.discovery-panel:has(.sl-search-now) { grid-template-columns: 1fr auto; }
    .discovery-usa--refined .filter-bar:has(.sl-search-now) .filter-search { grid-column: 1 / -1; }
    .discovery-usa .sl-search-now { grid-column: 1; grid-row: 2; justify-self: start; }
    .discovery-usa--refined .filter-bar:has(.sl-search-now) .filter-count { grid-column: 2; grid-row: 2; align-self: center; padding: 0; }
}
@media (prefers-reduced-motion:reduce) { body .sl-select__trigger { transition: none; } }
@media (forced-colors:active) {
    body .sl-select__trigger:focus { outline: 2px solid Highlight; }
    body .sl-select-option.is-active { outline: 1px solid Highlight; }
}
