/* NewsOS Frontend 43.2.2” palette-only dark mode.
   No layout, spacing, sizing, positioning, grid/flex or responsive changes. */
html, body, body.newsos-shell-active, .newsos-shell,
.newsos-main, .newsos-home, .newsos-page, .newsos-archive-pro,
.newsos-section, .newsos-footer { background-color:#090d28 !important; }

body.newsos-shell-active, .newsos-shell, .newsos-main { color:#f4f6fb !important; }

/* Headings/cards: the original theme uses --nr-ink for these. Override the actual text,
   never the shared variable, because that variable is also used by dark surfaces. */
.newsos-main h1,
.newsos-main h2,
.newsos-main h3,
.newsos-main h4,
.newsos-main h5,
.newsos-section-header h2,
.newsos-carousel-card h3,
.newsos-category-lead h3,
.newsos-list-item h4,
.newsos-latest-card h3,
.newsos-archive-title,
.newsos-category-lead-title,
.newsos-single-title,
.newsos-sidebar-title,
.newsos-search-title { color:#ffffff !important; }

/* Supporting copy */
.newsos-main p,
.newsos-main li,
.newsos-category-lead p,
.newsos-latest-card p,
.newsos-single-deck,
.newsos-single-meta,
.newsos-card-meta,
.newsos-main time { color:#c6ccda !important; }

/* Preserve explicit editorial/brand UI colours */
.newsos-main .newsos-label,
.newsos-main .newsos-kicker,
.newsos-main .newsos-category-label,
.newsos-main .newsos-card-category,
.newsos-main .newsos-section-header a,
.newsos-main time,
.newsos-main .newsos-card-meta { color:var(--nr-blue) !important; }

/* Hero/overlay text remains white */
.newsos-hero-content,
.newsos-side-content,
.newsos-hero-content h1,
.newsos-side-content h2,
.newsos-hero-content p,
.newsos-breaking-items a,
.newsos-breaking-label { color:#fff !important; }

/* Header/nav palette only */
.newsos-site-header { background:#090d28 !important; }
.newsos-site-header .newsos-logo,
.newsos-site-header .newsos-header-tagline { color:#fff !important; }
.newsos-nav-row { background:#090d28 !important; border-color:rgba(255,255,255,.18) !important; }
.newsos-nav-row a { color:#fff !important; }
.newsos-nav-row a.is-active { color:var(--nr-red) !important; }

/* Lines/separators only */
.newsos-section-header,
.newsos-page-heading,
.newsos-list-item,
.newsos-latest-card { border-color:rgba(255,255,255,.22) !important; }

/* 43.2.3 â€” targeted dark corrections only. No layout/spacing changes. */
/* Ensure the category navigation has the same full-width navy surface, including
   the space to the left/right of the centered header container. */
.newsos-site-header,
.newsos-site-header .newsos-header-inner,
.newsos-site-header .newsos-nav-row {
    background-color:#090d28 !important;
}

/* Desktop lead panel: remove the remaining light panel while preserving its
   exact overlap, dimensions and positioning. */
@media (min-width:821px) {
    .newsos-desktop-breaking-lead-v1022,
    .newsos-desktop-breaking-copy-v1022,
    .newsos-desktop-breaking-card-v1022,
    .newsos-desktop-breaking-thumb-v1022,
    .newsos-desktop-breaking-card-copy-v1022 {
        background-color:#090d28 !important;
    }

    .newsos-desktop-breaking-copy-v1022 h1,
    .newsos-desktop-breaking-card-copy-v1022 h3 {
        color:#ffffff !important;
    }

    .newsos-desktop-breaking-copy-v1022 p {
        color:#c6ccda !important;
    }
}

/* 43.2.5 â€” final dark shell corrections.
   Palette only: do not touch Breaking ticker, layout, spacing, sizing or behavior. */
.newsos-top-info-v1013 {
    background:#090d28 !important;
    color:#ffffff !important;
    border-bottom-color:rgba(255,255,255,.16) !important;
}
.newsos-top-date-v1013,
.newsos-top-weather-v1013,
.newsos-top-weather-v1013 strong {
    color:#ffffff !important;
}

/* Full-width category navigation surface, including the outer gutters. */
.newsos-shell,
.newsos-site-header,
.newsos-site-header .newsos-header-inner,
.newsos-nav-row,
.newsos-nav-row::before,
.newsos-nav-row::after {
    background-color:#090d28 !important;
}

/* Footer: keep the existing structure/dimensions and change palette only. */
.newsos-site-footer.newsos-site-footer-v27,
.newsos-site-footer-v27 .newsos-footer-editorial,
.newsos-site-footer-v27 .newsos-footer-legal {
    background:#090d28 !important;
    color:#ffffff !important;
    border-color:rgba(255,255,255,.16) !important;
}
.newsos-site-footer-v27 .newsos-footer-logo,
.newsos-site-footer-v27 .newsos-footer-tagline,
.newsos-site-footer-v27 .newsos-footer-legal-links a,
.newsos-site-footer-v27 .newsos-footer-credit a {
    color:#ffffff !important;
}
.newsos-site-footer-v27 .newsos-footer-legal-bottom {
    color:#c6ccda !important;
}
.newsos-site-footer-v27 .newsos-footer-legal-links {
    border-bottom-color:rgba(255,255,255,.16) !important;
}

/* 43.2.6 â€” requested spacing + desktop nav gutter correction only.
   BREAKING ticker intentionally untouched. */
@media (min-width:821px) {
    /* Keep the existing centered nav geometry, but paint its outer left/right gutters navy. */
    .newsos-site-header .newsos-nav-row {
        box-shadow: 0 0 0 100vmax #090d28 !important;
        clip-path: inset(0 -100vmax) !important;
    }

    /* Reduce the combined whitespace before the footer to roughly half. */
    .newsos-main {
        padding-bottom: 36px !important;
    }
    .newsos-site-footer.newsos-site-footer-v27 {
        margin-top: 36px !important;
    }
}

/* 43.2.7 â€” mobile dark-theme completion only.
   Fixes the mobile modules that still carried their original light palette.
   No desktop geometry and no Breaking ticker selectors are changed. */
@media (max-width:820px) {
    .newsos-mobile-client-home-v1027,
    .newsos-mobile-row-v1027,
    .newsos-mobile-top5-lead-copy-v1027,
    .newsos-mobile-flow-v1027,
    .newsos-mobile-flow-list-v1027,
    .newsos-mobile-flow-item-v1027 {
        background:#090d28 !important;
    }

    .newsos-mobile-row-v1027,
    .newsos-mobile-row-v1027:first-child,
    .newsos-mobile-top5-item-v1027,
    .newsos-mobile-top5-item-v1027:last-child,
    .newsos-mobile-flow-v1027,
    .newsos-mobile-flow-tabs-v1027,
    .newsos-mobile-flow-item-v1027 {
        border-color:rgba(255,255,255,.18) !important;
    }

    .newsos-mobile-row-title-v1027,
    .newsos-mobile-top5-heading-v1027,
    .newsos-mobile-top5-lead-title-v1027,
    .newsos-mobile-top5-item-title-v1027,
    .newsos-mobile-flow-heading-v1027,
    .newsos-mobile-flow-tab-v1027,
    .newsos-mobile-flow-title-v1027 {
        color:#ffffff !important;
    }

    .newsos-mobile-row-date-v1027,
    .newsos-mobile-flow-date-v1027 {
        color:#2f6fff !important;
    }

    .newsos-mobile-top5-category-v1027 {
        color:#c6ccda !important;
    }

    .newsos-mobile-top5-number-small-v1027 {
        color:rgba(255,255,255,.20) !important;
    }

    .newsos-mobile-flow-tab-v1027.is-active {
        color:#ffffff !important;
        border-bottom-color:#ef1b2d !important;
    }

    .newsos-mobile-row-thumb-v1027,
    .newsos-mobile-top5-lead-image-v1027 {
        background:#111735 !important;
    }
}

/* 43.3.4 â€” Search readability fix only.
   Colors/contrast only; no layout, spacing, sizing or behavior changes. */
.newsos-search-pro .newsos-search-hero h1,
.newsos-search-pro .newsos-section-header h2,
.newsos-search-pro .newsos-card h2,
.newsos-search-pro .newsos-card h3,
.newsos-search-pro .newsos-search-empty h2 {
    color:#ffffff !important;
}
.newsos-search-pro .newsos-search-hero p,
.newsos-search-pro .newsos-card p,
.newsos-search-pro .newsos-search-empty p {
    color:#c6ccda !important;
}
.newsos-search-pro .newsos-search-hero-form input {
    background:#090d28 !important;
    color:#ffffff !important;
    border-color:rgba(255,255,255,.42) !important;
}
.newsos-search-pro .newsos-search-hero-form input::placeholder {
    color:#8f99b3 !important;
    opacity:1;
}
.newsos-search-pro .newsos-search-hero-form button {
    background:#0d1538 !important;
    color:#ffffff !important;
}
.newsos-search-pro .newsos-search-suggestions a {
    color:#ffffff !important;
    border-color:rgba(255,255,255,.65) !important;
    background:transparent !important;
}
.newsos-search-pro .newsos-search-suggestions a:hover,
.newsos-search-pro .newsos-search-suggestions a:focus {
    color:#ffffff !important;
    background:#0d1538 !important;
    border-color:#ffffff !important;
}
.newsos-search-pro .newsos-card time,
.newsos-search-pro .newsos-card .newsos-card-meta,
.newsos-search-pro .newsos-label,
.newsos-search-pro .newsos-search-kicker {
    color:var(--nr-blue) !important;
}

/* 43.3.5 â€” Legal pages readability fix only.
   Scoped to NewsOS legal templates; no article/home/category/breaking changes. */
.newsos-legal-page h1,
.newsos-legal-page .newsos-legal-content h2,
.newsos-legal-page .newsos-legal-content h3,
.newsos-legal-page .newsos-legal-content h4,
.newsos-legal-page .newsos-legal-content h5,
.newsos-legal-page .newsos-legal-content h6 {
    color:#ffffff !important;
}
.newsos-legal-page .newsos-legal-content,
.newsos-legal-page .newsos-legal-content p,
.newsos-legal-page .newsos-legal-content li,
.newsos-legal-page .newsos-legal-content blockquote {
    color:#c6ccda !important;
}
.newsos-legal-page .newsos-legal-content strong,
.newsos-legal-page .newsos-legal-content b {
    color:#ffffff !important;
}
.newsos-legal-page .newsos-legal-content a {
    color:#2f6fff !important;
}
.newsos-legal-page .newsos-legal-content a:hover,
.newsos-legal-page .newsos-legal-content a:focus {
    color:#ef1b2d !important;
}
.newsos-legal-page .newsos-legal-content hr {
    border-color:rgba(255,255,255,.18) !important;
}

/* =========================================================
   NewsOS Frontend v43.3.13 â€” FINAL mobile hero image layout
   This file is enqueued after newsos-mobile-shell.css, so this
   rule is intentionally last in the cascade.
   ========================================================= */
@media (max-width:820px){

    .newsos-home .newsos-hero-main,
    .newsos-home .newsos-hero-main > a{
        min-height:0 !important;
        height:auto !important;
    }

    .newsos-home .newsos-hero-main > a{
        display:grid !important;
        grid-template-columns:1fr !important;
        grid-template-rows:auto auto !important;
        overflow:visible !important;
        background:var(--ireport-brand-navy) !important;
    }

    .newsos-home .newsos-hero-main > a > img{
        position:relative !important;
        inset:auto !important;
        display:block !important;
        width:100% !important;
        height:auto !important;
        min-height:0 !important;
        max-height:none !important;
        aspect-ratio:auto !important;
        object-fit:contain !important;
        object-position:center center !important;
        transform:none !important;
    }

    .newsos-home .newsos-hero-main::after,
    .newsos-home .newsos-hero-main > a::after{
        display:none !important;
        content:none !important;
    }

    .newsos-home .newsos-hero-main .newsos-hero-content{
        position:relative !important;
        inset:auto !important;
        display:block !important;
        width:100% !important;
        padding:20px 22px 24px !important;
        background:var(--ireport-brand-navy) !important;
        color:#fff !important;
        z-index:2 !important;
    }
}

/* =========================================================
   v48 â€” G BUTTON LIGHT MODE
   Palette overrides only.
   No layout / sizing / positioning changes.
   ========================================================= */

body.newsos-light-mode,
body.newsos-light-mode .newsos-shell,
body.newsos-light-mode .newsos-main,
body.newsos-light-mode .newsos-home,
body.newsos-light-mode .newsos-page,
body.newsos-light-mode .newsos-archive-pro,
body.newsos-light-mode .newsos-section {
    background: #e9e6de !important;
    color: #111111 !important;
}


/*
 * Requested editorial rule:
 * text black, first letter remains red.
 */
body.newsos-light-mode .newsos-main h1,
body.newsos-light-mode .newsos-main h2,
body.newsos-light-mode .newsos-main h3,
body.newsos-light-mode .newsos-main h4,
body.newsos-light-mode .newsos-main h5,
body.newsos-light-mode .newsos-section-header h2,
body.newsos-light-mode .newsos-carousel-card h3,
body.newsos-light-mode .newsos-category-lead h3,
body.newsos-light-mode .newsos-list-item h4,
body.newsos-light-mode .newsos-latest-card h3,
body.newsos-light-mode .newsos-archive-title,
body.newsos-light-mode .newsos-category-lead-title,
body.newsos-light-mode .newsos-single-title,
body.newsos-light-mode .newsos-sidebar-title,
body.newsos-light-mode .newsos-search-title {
    color: #111111 !important;
}

body.newsos-light-mode .newsos-main p,
body.newsos-light-mode .newsos-main li,
body.newsos-light-mode .newsos-category-lead p,
body.newsos-light-mode .newsos-latest-card p,
body.newsos-light-mode .newsos-single-deck,
body.newsos-light-mode .newsos-single-meta {
    color: #222222 !important;
}

body.newsos-light-mode .newsos-section-header,
body.newsos-light-mode .newsos-page-heading,
body.newsos-light-mode .newsos-list-item,
body.newsos-light-mode .newsos-latest-card {
    border-color: rgba(0,0,0,.18) !important;
}


/* =========================================================
   v48.5 â€” FINAL G BUTTON LIGHT MODE
   Panos specification:
   light grey background + black text + red first letter.
   Header/footer remain navy by our agreed design.
   ========================================================= */

body.newsos-light-mode .newsos-main,
body.newsos-light-mode .newsos-home,
body.newsos-light-mode .newsos-page,
body.newsos-light-mode .newsos-section,
body.newsos-light-mode .newsos-home > section,
body.newsos-light-mode .newsos-home .newsos-category-section,

body.newsos-light-mode .newsos-hero-content,
body.newsos-light-mode .newsos-side-content,

body.newsos-light-mode .newsos-desktop-breaking-lead-v1022,
body.newsos-light-mode .newsos-desktop-breaking-copy-v1022,
body.newsos-light-mode .newsos-desktop-breaking-card-v1022,
body.newsos-light-mode .newsos-desktop-breaking-card-copy-v1022,

body.newsos-light-mode .newsos-mobile-client-home-v1027,
body.newsos-light-mode .newsos-mobile-row-v1027,
body.newsos-light-mode .newsos-mobile-top5-lead-copy-v1027,
body.newsos-light-mode .newsos-mobile-flow-v1027,
body.newsos-light-mode .newsos-mobile-flow-list-v1027,
body.newsos-light-mode .newsos-mobile-flow-item-v1027,
body.newsos-light-mode .newsos-mobile-themes-v1046,
body.newsos-light-mode .newsos-mobile-theme-v1046
{
    background:#e9e6de !important;
}


/* Normal text on light surfaces */

body.newsos-light-mode .newsos-main h1,
body.newsos-light-mode .newsos-main h2,
body.newsos-light-mode .newsos-main h3,
body.newsos-light-mode .newsos-main h4,
body.newsos-light-mode .newsos-main h5,

body.newsos-light-mode .newsos-main p,
body.newsos-light-mode .newsos-main li,

body.newsos-light-mode .newsos-main a,

body.newsos-light-mode .newsos-hero-content,
body.newsos-light-mode .newsos-hero-content h1,
body.newsos-light-mode .newsos-hero-content h2,
body.newsos-light-mode .newsos-hero-content h3,
body.newsos-light-mode .newsos-hero-content p,

body.newsos-light-mode .newsos-side-content,
body.newsos-light-mode .newsos-side-content h2,
body.newsos-light-mode .newsos-side-content p,
body.newsos-light-mode .newsos-home .newsos-category-section h2,
body.newsos-light-mode .newsos-home .newsos-category-section h3,
body.newsos-light-mode .newsos-home .newsos-category-section h4,
body.newsos-light-mode .newsos-home .newsos-category-section a,
body.newsos-light-mode .newsos-mobile-row-title-v1027,
body.newsos-light-mode .newsos-mobile-top5-heading-v1027,
body.newsos-light-mode .newsos-mobile-top5-lead-title-v1027,
body.newsos-light-mode .newsos-mobile-top5-item-title-v1027,
body.newsos-light-mode .newsos-mobile-flow-heading-v1027,
body.newsos-light-mode .newsos-mobile-flow-tab-v1027,
body.newsos-light-mode .newsos-mobile-flow-title-v1027,
body.newsos-light-mode .newsos-mobile-theme-heading-v1046,
body.newsos-light-mode .newsos-mobile-theme-card-v1046 h3,
body.newsos-light-mode .newsos-mobile-theme-card-v1046 a{
    color:#111111 !important;
}


/* Dates/meta remain blue */

body.newsos-light-mode .newsos-main time,
body.newsos-light-mode .newsos-mobile-row-date-v1027,
body.newsos-light-mode .newsos-mobile-flow-date-v1027,
body.newsos-light-mode .newsos-card-meta {
    color:#2f6fff !important;
}


/* Preserve editorial red accents */

body.newsos-light-mode .newsos-label,
body.newsos-light-mode .newsos-kicker,
body.newsos-light-mode .newsos-category-label,
body.newsos-light-mode .newsos-card-category {
    color:var(--nr-blue) !important;
}


/* Light separators */

body.newsos-light-mode .newsos-section-header,
body.newsos-light-mode .newsos-page-heading,
body.newsos-light-mode .newsos-list-item,
body.newsos-light-mode .newsos-latest-card,
body.newsos-light-mode .newsos-mobile-row-v1027,
body.newsos-light-mode .newsos-mobile-top5-item-v1027,
body.newsos-light-mode .newsos-mobile-flow-v1027,
body.newsos-light-mode .newsos-mobile-flow-tabs-v1027,
body.newsos-light-mode .newsos-mobile-flow-item-v1027 {
    border-color:rgba(0,0,0,.18) !important;
}
body.newsos-light-mode
.newsos-mobile-theme-layout-list-v1058
.newsos-mobile-theme-card-v1046 a {
    border-bottom-color:rgba(0,0,0,.18) !important;
}

body.newsos-light-mode
.newsos-mobile-theme-heading-v1046::first-letter {
    color:#ed1b3a !important;
}
/* =========================================================
   v48.6 â€” MOBILE LIGHT TOP CARDS
   ========================================================= */

@media (max-width:820px) {

    body.newsos-light-mode .newsos-mobile-top5-v1027,
    body.newsos-light-mode .newsos-mobile-top5-lead-v1027,
    body.newsos-light-mode .newsos-mobile-top5-lead-copy-v1027,
    body.newsos-light-mode .newsos-mobile-top5-item-v1027 {
        background:#e9e6de !important;
    }

    body.newsos-light-mode .newsos-mobile-top5-heading-v1027,
    body.newsos-light-mode .newsos-mobile-top5-lead-title-v1027,
    body.newsos-light-mode .newsos-mobile-top5-item-title-v1027 {
        color:#111111 !important;
    }

    body.newsos-light-mode .newsos-mobile-top5-category-v1027 {
        color:#555555 !important;
    }

    body.newsos-light-mode .newsos-mobile-top5-item-v1027 {
        border-color:rgba(0,0,0,.18) !important;
    }
}
/* =========================================================
   v48.7 â€” FINAL MOBILE LIGHT FEATURED CARDS (EXACT CLASSES)
   ========================================================= */

@media (max-width:820px) {

    /* 1) First big mobile hero article */
    body.newsos-light-mode .newsos-mobile-hero-v1025,
    body.newsos-light-mode .newsos-mobile-hero-v1025 > a,
    body.newsos-light-mode .newsos-mobile-hero-content-v1025 {
        background:#e9e6de !important;
        color:#111111 !important;
    }

    body.newsos-light-mode .newsos-mobile-hero-title-v1025,
    body.newsos-light-mode .newsos-mobile-hero-title-v1025 a,
    body.newsos-light-mode .newsos-mobile-hero-excerpt-v1025 {
        color:#111111 !important;
    }

    body.newsos-light-mode .newsos-mobile-hero-date-v1025 {
        color:#2f6fff !important;
    }

    /* keep red category pill readable */
    body.newsos-light-mode .newsos-mobile-hero-category-v1025 {
        color:#ffffff !important;
    }

    /* 2) Second large mobile featured / Show News card */
    body.newsos-light-mode .newsos-mobile-top5-lead-v1027,
    body.newsos-light-mode .newsos-mobile-top5-lead-v1027 > a,
    body.newsos-light-mode .newsos-mobile-top5-lead-copy-v1027 {
        background:#e9e6de !important;
        color:#111111 !important;
    }

    body.newsos-light-mode .newsos-mobile-top5-lead-title-v1027,
    body.newsos-light-mode .newsos-mobile-top5-lead-title-v1027 a,
    body.newsos-light-mode .newsos-mobile-top5-lead-copy-v1027 p {
        color:#111111 !important;
    }

    body.newsos-light-mode .newsos-mobile-top5-lead-copy-v1027 time {
        color:#2f6fff !important;
    }
}
/* =========================================================
   v48.8 â€” LIGHT MODE FINAL:
   BREAKING NAVY + MOBILE FEATURE CARD
   ========================================================= */

@media (max-width:820px) {

    /* -----------------------------------------
       BREAKING: always same navy as header
       ----------------------------------------- */

    body.newsos-light-mode
    .newsos-breaking.newsos-breaking-v1020 {
        background:#090d28 !important;
        color:#ffffff !important;
    }

    body.newsos-light-mode
    .newsos-breaking-v1020 .newsos-breaking-label {
        background:#090d28 !important;
        color:#ffffff !important;
    }

    body.newsos-light-mode
    .newsos-breaking-v1020 .newsos-breaking-items,
    body.newsos-light-mode
    .newsos-breaking-v1020 .newsos-breaking-track-v1020,
    body.newsos-light-mode
    .newsos-breaking-v1020 .newsos-breaking-group-v1020 {
        background:#090d28 !important;
    }

    body.newsos-light-mode
    .newsos-breaking-v1020 .newsos-breaking-group-v1020 a,
    body.newsos-light-mode
    .newsos-breaking-v1020 .newsos-breaking-items a {
        color:#ffffff !important;
    }


    /* -----------------------------------------
       SECOND LARGE MOBILE FEATURE ARTICLE
       exact classes from homepage
       ----------------------------------------- */

    body.newsos-light-mode
    .newsos-mobile-feature-v1027,

    body.newsos-light-mode
    .newsos-mobile-feature-v1027 > a,

    body.newsos-light-mode
    .newsos-mobile-feature-frame-v1027 {
        background:#e9e6de !important;
        color:#111111 !important;
    }

    body.newsos-light-mode
    .newsos-mobile-feature-title-v1027 {
        color:#111111 !important;
        text-shadow:none !important;
    }

    body.newsos-light-mode
    .newsos-mobile-feature-date-v1027 {
        color:#2f6fff !important;
    }

    body.newsos-light-mode
    .newsos-mobile-feature-category-v1027 {
        background:#ef1b2d !important;
        color:#ffffff !important;
    }
}
/* =========================================================
   v48.9 â€” DESKTOP BREAKING FULL NAVY BAND
   ========================================================= */

@media (min-width:821px) {

    body.newsos-light-mode .newsos-breaking,
    body.newsos-light-mode .newsos-breaking.newsos-breaking-v1020 {
        background:#090d28 !important;
        color:#ffffff !important;

        /* navy ÏƒÎµ ÏŒÎ»Î¿ Ï„Î¿ Ï€Î»Î¬Ï„Î¿Ï‚, ÏŒÏ€Ï‰Ï‚ Ï„Î¿ header */
        box-shadow:0 0 0 100vmax #090d28 !important;
        clip-path:inset(0 -100vmax) !important;
    }

    body.newsos-light-mode .newsos-breaking-label,
    body.newsos-light-mode .newsos-breaking-v1020 .newsos-breaking-label {
        background:#090d28 !important;
        color:#ffffff !important;
    }

    body.newsos-light-mode .newsos-breaking-items,
    body.newsos-light-mode .newsos-breaking-track-v1020,
    body.newsos-light-mode .newsos-breaking-group-v1020 {
        background:#090d28 !important;
    }

    body.newsos-light-mode .newsos-breaking-items a,
    body.newsos-light-mode .newsos-breaking-group-v1020 a {
        color:#ffffff !important;
    }
}
/* v48.10 â€” newspaper light palette, readable ranks and visible G Button. */
body.newsos-light-mode .newsos-mobile-top5-number-small-v1027 {
    color:#68645d !important;
    opacity:1 !important;
    -webkit-text-fill-color:#68645d !important;
    text-shadow:none !important;
}
.newsos-theme-toggle-v48 {
    width:138px !important;
    padding-left:78px !important;
}
.newsos-theme-toggle-v48::after {
    content:"G Button";
    position:absolute;
    left:10px;
    top:50%;
    transform:translateY(-50%);
    color:#ffffff;
    font-size:12px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
    pointer-events:none;
}
.newsos-theme-toggle-v48.is-light::after {
    color:#222222;
}
@media (max-width:820px) {
    .newsos-theme-toggle-v48 {
        width:128px !important;
        padding-left:68px !important;
    }
    .newsos-theme-toggle-v48::after { font-size:11px; }
}

/* v48.11 â€” compact mobile switch with its label underneath. */
@media (max-width:820px) {
    .newsos-top-info-inner-v1013 {
        min-width:0;
        gap:8px !important;
        padding-top:6px;
        padding-bottom:6px;
    }
    .newsos-top-date-v1013 {
        flex:1 1 auto;
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .newsos-top-right-v48 {
        flex:0 0 auto;
        gap:8px !important;
    }
    .newsos-theme-toggle-v48 {
        box-sizing:border-box;
        width:62px !important;
        min-width:62px;
        padding:3px !important;
        margin-bottom:17px;
        overflow:visible;
    }
    .newsos-theme-toggle-v48::after,
    .newsos-theme-toggle-v48.is-light::after {
        left:50%;
        top:calc(100% + 5px);
        transform:translateX(-50%);
        color:#ffffff;
        font-size:10px;
        line-height:12px;
    }
}

/* v48.12 â€” align switch icons exactly with the active circle. */
.newsos-theme-toggle-v48 .newsos-theme-sun-v48,
.newsos-theme-toggle-v48 .newsos-theme-moon-v48 {
    position:absolute;
    top:3px;
    width:22px;
    height:22px;
    padding:0;
    margin:0;
    display:grid;
    place-items:center;
    line-height:1;
    text-align:center;
}
.newsos-theme-toggle-v48 .newsos-theme-sun-v48 {
    left:auto;
    right:33px;
}
.newsos-theme-toggle-v48 .newsos-theme-moon-v48 {
    left:auto;
    right:3px;
}

/* Mobile-only presentation: warmer lead copy, left #1, compact brand row. */
@media (max-width: 820px) {
    body.newsos-light-mode .newsos-mobile-top5-lead-copy-v1027 {
        background: #d4cbbc !important;
    }

    body .newsos-mobile-top5-lead-copy-v1027 .newsos-mobile-top5-number-v1027 {
        right: auto !important;
        left: -52px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        box-sizing: border-box;
        padding: 0 !important;
        font-size: 21px !important;
    }

    body .newsos-site-header .newsos-brand-row {
        min-height: 64px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        gap: 8px !important;
    }

    body .newsos-site-header .newsos-logo {
        font-size: clamp(30px, 8vw, 36px) !important;
    }

    body .newsos-site-header .newsos-brand-icon-v1016 {
        width: 32px !important;
        height: 29px !important;
        flex-basis: 32px !important;
    }
}

/* 404 light mode: readable code, action labels and search field only. */
body.newsos-light-mode .newsos-404-pro .newsos-404-code {
    color: #596273 !important;
}

body.newsos-light-mode .newsos-404-pro .newsos-404-actions .newsos-button,
body.newsos-light-mode .newsos-404-pro .newsos-404-search button {
    background: #090d28 !important;
    color: #ffffff !important;
}

body.newsos-light-mode .newsos-404-pro .newsos-404-search input[type="search"] {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: #596273 !important;
    caret-color: #111111;
}

body.newsos-light-mode .newsos-404-pro .newsos-404-search input[type="search"]::placeholder {
    color: #596273 !important;
    opacity: 1;
}

body.newsos-light-mode .newsos-404-pro .newsos-404-search input[type="search"]:focus-visible,
body.newsos-light-mode .newsos-404-pro .newsos-404-search button:focus-visible,
body.newsos-light-mode .newsos-404-pro .newsos-404-actions .newsos-button:focus-visible {
    outline: 2px solid #090d28;
    outline-offset: 3px;
}


/* Legal pages: readable text on the light paper background at every viewport. */
body.newsos-light-mode .newsos-legal-page,
body.newsos-light-mode .newsos-legal-page h1,
body.newsos-light-mode .newsos-legal-page .newsos-legal-content,
body.newsos-light-mode .newsos-legal-page .newsos-legal-content :is(h2,h3,h4,h5,h6,p,li,blockquote,strong,b,em,span,td,th,dt,dd) {
    color:#161616 !important;
}
body.newsos-light-mode .newsos-legal-page .newsos-legal-content a {
    color:#174ea6 !important;
    text-decoration:underline;
    text-underline-offset:3px;
}
body.newsos-light-mode .newsos-legal-page .newsos-legal-content a:hover,
body.newsos-light-mode .newsos-legal-page .newsos-legal-content a:focus-visible {
    color:#a91530 !important;
}
body.newsos-light-mode .newsos-legal-page .newsos-legal-content hr {
    border-color:rgba(22,22,22,.22) !important;
}

/* Article text links: clear contrast on navy, scoped to dark mode only. */
body:not(.newsos-light-mode) .newsos-single-content p a[href],
body:not(.newsos-light-mode) .newsos-single-content li a[href],
body:not(.newsos-light-mode) .newsos-single-deck a[href] {
    color: #8fc7ff !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1.5px;
    text-underline-offset: .18em;
}
body:not(.newsos-light-mode) .newsos-single-content p a[href]:hover,
body:not(.newsos-light-mode) .newsos-single-content li a[href]:hover,
body:not(.newsos-light-mode) .newsos-single-deck a[href]:hover {
    color: #c8e4ff !important;
}
body:not(.newsos-light-mode) .newsos-single-content p a[href]:focus-visible,
body:not(.newsos-light-mode) .newsos-single-content li a[href]:focus-visible,
body:not(.newsos-light-mode) .newsos-single-deck a[href]:focus-visible {
    outline: 2px solid #8fc7ff;
    outline-offset: 3px;
}
