html[data-theme="news"] {
  --news-navy:#0B1F3A;
  --news-blue:#149CFF;
  --news-finance:#2457A6;
  --news-purple:#7C3AED;
  --news-red:#D71920;
  --news-green:#16A34A;
  --news-ink:#101828;
  --news-muted:#667085;
  --news-line:#D9DEE7;
  --news-soft:#F5F7FA;
}
html[data-theme="news"] body{background:#fff!important;color:var(--news-ink)!important;font-family:Arial,Helvetica,sans-serif;}
html[data-theme="news"] a{color:inherit;text-decoration:none;}
html[data-theme="news"] a:hover{color:var(--news-blue);}
html[data-theme="news"] .container-xl{max-width:1280px;}

/* Header */
html[data-theme="news"] .mega-menu-wrapper{background:var(--news-navy)!important;border:0!important;box-shadow:none!important;position:relative;z-index:1030;}
html[data-theme="news"] .navbar{min-height:64px;padding:0;}
html[data-theme="news"] .navbar .container-fluid{min-width:0;}
html[data-theme="news"] .navbar-brand{margin-right:22px;flex:0 0 auto;padding:10px 0;}
html[data-theme="news"] .navbar-brand .logo{max-height:42px;width:auto;object-fit:contain;}
html[data-theme="news"] .navbar-collapse{display:flex!important;min-width:0;overflow-x:auto;overflow-y:visible;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.35) transparent;-webkit-overflow-scrolling:touch;}
html[data-theme="news"] .navbar-collapse::-webkit-scrollbar{height:4px;}
html[data-theme="news"] .navbar-collapse::-webkit-scrollbar-thumb{background:rgba(255,255,255,.35);border-radius:4px;}
html[data-theme="news"] .navbar-nav{flex:0 0 auto!important;flex-wrap:nowrap!important;width:max-content;gap:0!important;margin-left:8px!important;margin-bottom:0!important;}
html[data-theme="news"] .navbar-nav>.nav-item{flex:0 0 auto!important;}
html[data-theme="news"] .navbar-nav .nav-link{color:#fff!important;padding:22px 12px 18px!important;font-weight:700;font-size:14px;white-space:nowrap;border:0!important;border-bottom:4px solid transparent!important;border-radius:0!important;}
html[data-theme="news"] .navbar-nav .active>.nav-link,
html[data-theme="news"] .navbar-nav .nav-link:hover{color:#fff!important;background:rgba(255,255,255,.07);border-bottom-color:var(--news-blue)!important;}
html[data-theme="news"] .navbar-collapse>.ms-auto{position:sticky;right:0;z-index:4;background:var(--news-navy);padding-left:8px;flex:0 0 auto;}
html[data-theme="news"] .search-icon-btn{color:#fff!important;border-radius:0!important;}
html[data-theme="news"] .search-icon-btn:hover{background:rgba(255,255,255,.08)!important;}
html[data-theme="news"] .btn-nav-subscribe{border-radius:2px!important;background:var(--news-blue)!important;color:#fff!important;border:0!important;}
html[data-theme="news"] .header-search-dropdown{background:var(--news-navy)!important;border-top:1px solid rgba(255,255,255,.15);}

/* Category identity colors */
html[data-theme="news"] .navbar-nav a[href*="finance"]{border-bottom-color:var(--news-finance)!important;}
html[data-theme="news"] .navbar-nav a[href*="/ai"],
html[data-theme="news"] .navbar-nav a[href*="artificial-intelligence"]{border-bottom-color:var(--news-blue)!important;}
html[data-theme="news"] .navbar-nav a[href*="crypto"]{border-bottom-color:var(--news-purple)!important;}
html[data-theme="news"] .navbar-nav a[href*="breaking"]{background:var(--news-red)!important;border-bottom-color:var(--news-red)!important;}
html[data-theme="news"] .badge-category[href*="finance"],html[data-theme="news"] a.badge-category[href*="finance"]{color:var(--news-finance)!important;}
html[data-theme="news"] .badge-category[href*="/ai"],html[data-theme="news"] a.badge-category[href*="artificial-intelligence"]{color:var(--news-blue)!important;}
html[data-theme="news"] .badge-category[href*="crypto"]{color:var(--news-purple)!important;}
html[data-theme="news"] .badge-category[href*="breaking"]{color:var(--news-red)!important;}
html[data-theme="news"] .market-up,html[data-theme="news"] .price-up,html[data-theme="news"] .trend-up{color:var(--news-green)!important;}
html[data-theme="news"] .market-down,html[data-theme="news"] .price-down,html[data-theme="news"] .trend-down{color:var(--news-red)!important;}

/* Mobile header */
html[data-theme="news"] .mobile-header{background:var(--news-navy)!important;border-bottom:3px solid var(--news-blue)!important;box-shadow:none!important;}
html[data-theme="news"] .mobile-header a,html[data-theme="news"] .mobile-header button,html[data-theme="news"] .mobile-header svg{color:#fff!important;fill:currentColor;}

/* Editorial sections */
html[data-theme="news"] .section{margin-top:28px;margin-bottom:28px;}
html[data-theme="news"] .section-title{border-top:4px solid var(--news-navy);border-bottom:1px solid var(--news-line);padding:9px 0 8px;margin-bottom:16px;}
html[data-theme="news"] .section-title .title{font-size:24px;font-weight:800;color:var(--news-ink)!important;margin:0;letter-spacing:-.02em;}
html[data-theme="news"] .section-title .title:before{content:"";display:inline-block;width:4px;height:22px;background:var(--news-blue);margin-right:9px;vertical-align:-3px;}
html[data-theme="news"] .view-all{font-size:13px;font-weight:700;color:var(--news-navy)!important;}
html[data-theme="news"] .badge-category{background:transparent!important;color:var(--news-blue)!important;padding:0!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase;border-radius:0!important;}

/* Lead area - images restored */
html[data-theme="news"] .bbc-home-lead{margin-top:20px;}
html[data-theme="news"] .bbc-lead-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(245px,.70fr);border-top:4px solid var(--news-navy);border-bottom:1px solid var(--news-navy);background:#fff;}
html[data-theme="news"] .bbc-lead-story{padding:18px 22px 22px 0;border-right:1px solid var(--news-line);min-width:0;}
html[data-theme="news"] .bbc-lead-image,html[data-theme="news"] .bbc-secondary-image{display:block;overflow:hidden;background:var(--news-soft);margin-bottom:12px;}
html[data-theme="news"] .bbc-lead-image img{display:block!important;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;}
html[data-theme="news"] .bbc-secondary-image img{display:block!important;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;}
html[data-theme="news"] .bbc-kicker{color:var(--news-blue)!important;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;}
html[data-theme="news"] .bbc-lead-title{font-size:40px;line-height:1.06;font-weight:800;letter-spacing:-.035em;margin:7px 0 10px;color:var(--news-ink)!important;}
html[data-theme="news"] .bbc-lead-title a{color:var(--news-ink)!important;}
html[data-theme="news"] .bbc-lead-title a:hover{color:var(--news-blue)!important;}
html[data-theme="news"] .bbc-lead-summary{font-size:17px;line-height:1.45;color:#475467!important;margin:0 0 14px;max-width:760px;}
html[data-theme="news"] .bbc-meta,html[data-theme="news"] .bbc-meta .post-meta{color:var(--news-muted)!important;font-size:12px!important;}
html[data-theme="news"] .bbc-secondary-grid{display:grid;grid-template-columns:1fr 1fr;}
html[data-theme="news"] .bbc-secondary-story{padding:16px;border-right:1px solid var(--news-line);border-bottom:1px solid var(--news-line);min-width:0;background:#fff;}
html[data-theme="news"] .bbc-secondary-story:nth-child(even){border-right:0;}
html[data-theme="news"] .bbc-secondary-story h3{font-size:19px;line-height:1.18;font-weight:800;margin:6px 0 10px;color:var(--news-ink)!important;}
html[data-theme="news"] .bbc-secondary-story h3 a{color:var(--news-ink)!important;}
html[data-theme="news"] .bbc-headlines{border-left:1px solid var(--news-line);background:#fff;}
html[data-theme="news"] .bbc-section-label{font-size:18px;font-weight:800;color:var(--news-navy);padding:16px 16px 10px;border-bottom:4px solid var(--news-red);}
html[data-theme="news"] .bbc-headlines article{padding:12px 16px;border-bottom:1px solid var(--news-line);}
html[data-theme="news"] .bbc-headlines h3{font-size:16px;line-height:1.24;margin:0 0 7px;font-weight:700;color:var(--news-ink)!important;}
html[data-theme="news"] .bbc-headlines h3 a{color:var(--news-ink)!important;}
html[data-theme="news"] .bbc-headline-category{color:var(--news-blue)!important;font-size:11px;font-weight:700;text-transform:uppercase;}

/* Standard article grids: keep images visible and text readable */
html[data-theme="news"] .section-category .section-content>.row,html[data-theme="news"] .latest-posts #postsLoadMoreContent{border-top:1px solid var(--news-line);}
html[data-theme="news"] .section-category [class*="col-"],html[data-theme="news"] .latest-posts #postsLoadMoreContent>[class*="col-"]{border-right:1px solid var(--news-line);border-bottom:1px solid var(--news-line);padding-top:16px;padding-bottom:16px;}
html[data-theme="news"] .section-category .post-item .image,html[data-theme="news"] .latest-posts .post-item .image,html[data-theme="news"] .section-category .post-item-vr .image{display:block!important;}
html[data-theme="news"] .post-item .image img,html[data-theme="news"] .post-item-small .image img{display:block!important;max-width:100%;object-fit:cover;}
html[data-theme="news"] .section-category .post-item-vr{min-height:0!important;background:#fff!important;}
html[data-theme="news"] .section-category .post-item-vr .image{position:relative!important;}
html[data-theme="news"] .section-category .post-item-vr .image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;}
html[data-theme="news"] .section-category .post-item-vr .caption{position:static!important;padding:10px 0 0!important;background:none!important;color:var(--news-ink)!important;}
html[data-theme="news"] .section-category .post-item-vr .caption .title,html[data-theme="news"] .section-category .post-item-vr .caption .title a,html[data-theme="news"] .section-category .post-item-vr .caption .title a.text-white{color:var(--news-ink)!important;text-shadow:none!important;}
html[data-theme="news"] .post-item{margin-bottom:0!important;background:#fff;}
html[data-theme="news"] .post-item .title,html[data-theme="news"] .post-item-mid .title,html[data-theme="news"] .post-item-small .title{font-size:20px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.01em;margin:6px 0 8px!important;color:var(--news-ink)!important;}
html[data-theme="news"] .post-item .title a,html[data-theme="news"] .post-item-mid .title a,html[data-theme="news"] .post-item-small .title a{color:var(--news-ink)!important;}
html[data-theme="news"] .post-item .description{color:#475467!important;font-size:14px;line-height:1.45;margin-top:8px;}
html[data-theme="news"] .post-meta,html[data-theme="news"] .post-meta a{font-size:12px!important;color:var(--news-muted)!important;}

/* Article page */
html[data-theme="news"] .content .post-title,html[data-theme="news"] .post-content .post-title{font-weight:800;letter-spacing:-.035em;color:var(--news-ink)!important;}
html[data-theme="news"] .post-content{font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.68;color:#1D2939!important;}
html[data-theme="news"] .post-content p,html[data-theme="news"] .post-content li{color:#1D2939!important;}
html[data-theme="news"] .post-content h2,html[data-theme="news"] .post-content h3{font-family:Arial,Helvetica,sans-serif;font-weight:800;letter-spacing:-.02em;color:var(--news-navy)!important;}
html[data-theme="news"] .post-content a{color:#0969c3!important;text-decoration:underline;}

/* Footer */
html[data-theme="news"] #footer{margin-top:50px;background:var(--news-navy)!important;color:#fff!important;border-top:5px solid var(--news-blue);}
html[data-theme="news"] #footer .footer-inner{padding:34px 0 22px;}
html[data-theme="news"] #footer .footer-logo .logo{max-height:45px;width:auto;}
html[data-theme="news"] #footer .widget-title{color:#fff!important;font-size:18px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.24);padding-bottom:10px;}
html[data-theme="news"] #footer a{color:#fff!important;}
html[data-theme="news"] #footer a:hover{color:var(--news-blue)!important;text-decoration:none;}
html[data-theme="news"] #footer .footer-about,html[data-theme="news"] #footer .description{color:#D0D5DD!important;}
html[data-theme="news"] .footer-copyright{border-top:1px solid rgba(255,255,255,.2)!important;background:var(--news-navy)!important;color:#D0D5DD!important;}
html[data-theme="news"] .nav-footer{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
html[data-theme="news"] .nav-footer ul{display:flex!important;gap:18px;flex-wrap:nowrap!important;justify-content:flex-end;align-items:center;margin:0;padding:12px 0;list-style:none;width:max-content;min-width:100%;}
html[data-theme="news"] .nav-footer li{flex:0 0 auto;white-space:nowrap;}

@media(max-width:991px){
  html[data-theme="news"] .bbc-lead-grid{grid-template-columns:1fr 1fr;}
  html[data-theme="news"] .bbc-lead-story{grid-column:1/-1;padding:16px 0;border-right:0;border-bottom:1px solid var(--news-line);}
  html[data-theme="news"] .bbc-headlines{border-left:1px solid var(--news-line);}
  html[data-theme="news"] .bbc-lead-title{font-size:34px;}
  html[data-theme="news"] .nav-footer ul{justify-content:flex-start;}
}
@media(max-width:767px){
  html[data-theme="news"] .bbc-lead-grid{grid-template-columns:1fr;}
  html[data-theme="news"] .bbc-headlines{border-left:0;border-top:1px solid var(--news-line);}
  html[data-theme="news"] .bbc-secondary-grid{grid-template-columns:1fr 1fr;}
  html[data-theme="news"] .footer-copyright .text-end,html[data-theme="news"] .footer-copyright .text-start{text-align:left!important;}
}
@media(max-width:575px){
  html[data-theme="news"] .bbc-secondary-grid{grid-template-columns:1fr;}
  html[data-theme="news"] .bbc-secondary-story{border-right:0;}
  html[data-theme="news"] .bbc-lead-title{font-size:29px;}
  html[data-theme="news"] .section-title .title{font-size:21px;}
  html[data-theme="news"] .post-item .title,html[data-theme="news"] .post-item-mid .title,html[data-theme="news"] .post-item-small .title{font-size:18px!important;}
}


/* Article metadata: Google Preferred Sources */
#postDetailsPage .preferred-source-inline {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    flex-shrink: 0;
}

#postDetailsPage .preferred-source-inline [google-add-preferred-source-btn] {
    display: inline-flex;
    align-items: center;
}

/* Automatically generated contextual internal links */
#postDetailsPage .entry-content a.auto-internal-link {
    color: #0969da;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

#postDetailsPage .entry-content a.auto-internal-link:hover {
    text-decoration-thickness: 2px;
}

@media (max-width: 767.98px) {
    #postDetailsPage .preferred-source-inline {
        width: 100%;
        margin-top: 2px;
    }
}

/* v1.3 — Modern article reading experience */
html[data-theme="news"] #postDetailsPage .post-content {
    font-family: Arial, Helvetica, sans-serif;
    color: #182230 !important;
}

html[data-theme="news"] #postDetailsPage .post-title {
    max-width: 920px;
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 58px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance;
}

html[data-theme="news"] #postDetailsPage .post-summary {
    max-width: 820px;
    margin: 0 0 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(19px, 2vw, 23px) !important;
    line-height: 1.48 !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em;
    color: #475467 !important;
}

html[data-theme="news"] #postDetailsPage .post-details-meta {
    max-width: 920px;
    padding: 13px 0;
    margin-bottom: 20px !important;
    border-top: 1px solid #d0d5dd;
    border-bottom: 1px solid #d0d5dd;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    color: #667085;
}

html[data-theme="news"] #postDetailsPage .post-details-meta a {
    color: #344054 !important;
    font-weight: 700;
    text-decoration: none;
}

html[data-theme="news"] #postDetailsPage .post-share-buttons {
    max-width: 920px;
    padding-bottom: 4px;
}

html[data-theme="news"] #postDetailsPage .entry-content {
    width: 100%;
    max-width: 760px;
    margin-right: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18.5px;
    line-height: 1.76;
    letter-spacing: -0.004em;
    color: #182230 !important;
    overflow-wrap: break-word;
}

html[data-theme="news"] #postDetailsPage .entry-content > :first-child {
    margin-top: 0 !important;
}

html[data-theme="news"] #postDetailsPage .entry-content p {
    margin: 0 0 1.38em;
    color: #182230 !important;
}

html[data-theme="news"] #postDetailsPage .entry-content h2,
html[data-theme="news"] #postDetailsPage .entry-content h3,
html[data-theme="news"] #postDetailsPage .entry-content h4 {
    max-width: 720px;
    font-family: Arial, Helvetica, sans-serif;
    color: #0B1F3A !important;
    text-wrap: balance;
}

html[data-theme="news"] #postDetailsPage .entry-content h2 {
    margin: 2.15em 0 .72em;
    font-size: clamp(27px, 3vw, 34px) !important;
    line-height: 1.16 !important;
    font-weight: 800 !important;
    letter-spacing: -0.032em !important;
}

html[data-theme="news"] #postDetailsPage .entry-content h3 {
    margin: 1.8em 0 .65em;
    font-size: clamp(22px, 2.4vw, 27px) !important;
    line-height: 1.22 !important;
    font-weight: 800 !important;
    letter-spacing: -0.024em !important;
}

html[data-theme="news"] #postDetailsPage .entry-content h4 {
    margin: 1.55em 0 .55em;
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}

html[data-theme="news"] #postDetailsPage .entry-content ul,
html[data-theme="news"] #postDetailsPage .entry-content ol {
    margin: .35em 0 1.5em;
    padding-left: 1.45em;
}

html[data-theme="news"] #postDetailsPage .entry-content li {
    margin: 0 0 .58em;
    padding-left: .18em;
    color: #182230 !important;
}

html[data-theme="news"] #postDetailsPage .entry-content blockquote {
    margin: 2em 0;
    padding: 18px 22px 18px 24px;
    border: 0 !important;
    border-left: 4px solid #1677ff !important;
    background: #f5f8fc;
    color: #25364d !important;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 21px;
    line-height: 1.58;
    font-style: normal;
}

html[data-theme="news"] #postDetailsPage .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

html[data-theme="news"] #postDetailsPage .entry-content a {
    color: #0969da !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(9,105,218,.5);
}

html[data-theme="news"] #postDetailsPage .entry-content a:hover {
    color: #0056b3 !important;
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
}

html[data-theme="news"] #postDetailsPage .entry-content a.auto-internal-link {
    color: #0969da !important;
    font-weight: 700;
}

html[data-theme="news"] #postDetailsPage .entry-content figure,
html[data-theme="news"] #postDetailsPage .entry-content .image {
    margin: 2em 0;
}

html[data-theme="news"] #postDetailsPage .entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

html[data-theme="news"] #postDetailsPage .entry-content figcaption,
html[data-theme="news"] #postDetailsPage .entry-content .caption {
    margin-top: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: #667085 !important;
}

html[data-theme="news"] #postDetailsPage .entry-content table {
    width: 100%;
    margin: 1.8em 0;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

html[data-theme="news"] #postDetailsPage .entry-content th,
html[data-theme="news"] #postDetailsPage .entry-content td {
    padding: 11px 12px;
    border-bottom: 1px solid #d0d5dd;
    vertical-align: top;
    text-align: left;
}

html[data-theme="news"] #postDetailsPage .entry-content th {
    background: #f7f9fc;
    color: #0B1F3A;
    font-weight: 800;
}

/* In-article related-story recommendations: text-only and intentionally compact. */
html[data-theme="news"] #postDetailsPage .entry-content .inline-related-story {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin: 2em 0 2.15em;
    padding: 15px 0;
    border-top: 1px solid #b7c3d0;
    border-bottom: 1px solid #b7c3d0;
    font-family: Arial, Helvetica, sans-serif;
}

html[data-theme="news"] #postDetailsPage .entry-content .inline-related-story__label {
    padding-top: 2px;
    color: #1677ff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html[data-theme="news"] #postDetailsPage .entry-content .inline-related-story__link {
    color: #0B1F3A !important;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.012em;
    text-decoration: none !important;
}

html[data-theme="news"] #postDetailsPage .entry-content .inline-related-story__link:hover {
    color: #0969da !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

html[data-theme="news"] #postDetailsPage .post-tags {
    max-width: 760px;
}

@media (max-width: 767.98px) {
    html[data-theme="news"] #postDetailsPage .post-title {
        font-size: clamp(31px, 9.5vw, 43px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.038em !important;
    }

    html[data-theme="news"] #postDetailsPage .post-summary {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    html[data-theme="news"] #postDetailsPage .entry-content {
        max-width: none;
        font-size: 18px;
        line-height: 1.72;
    }

    html[data-theme="news"] #postDetailsPage .entry-content h2 {
        margin-top: 1.8em;
        font-size: 27px !important;
    }

    html[data-theme="news"] #postDetailsPage .entry-content h3 {
        font-size: 23px !important;
    }

    html[data-theme="news"] #postDetailsPage .entry-content blockquote {
        margin: 1.65em 0;
        padding: 15px 16px 15px 18px;
        font-size: 19px;
    }

    html[data-theme="news"] #postDetailsPage .entry-content .inline-related-story {
        grid-template-columns: 1fr;
        gap: 7px;
        margin: 1.7em 0;
        padding: 14px 0;
    }

    html[data-theme="news"] #postDetailsPage .entry-content .inline-related-story__link {
        font-size: 16.5px;
    }
}
