/* BestMatch Newsroom 4.1.0 — accessible color system.
 * Must load AFTER style.css, ubuntu-premium.css and editorial-v4.css.
 * No forced-color universal selectors: readable controls and editorial accents are preserved.
 */
:root{color-scheme:light;--bmn-focus:#bb3b10;--bmn-action:#ad350c}
body:not(.bmn-dark){--muted:#625863}
body:not(.bmn-dark) .story__meta,
body:not(.bmn-dark) .edition-note,
body:not(.bmn-dark) .article-byline__details,
body:not(.bmn-dark) .story__excerpt,
body:not(.bmn-dark) .article-dek,
body:not(.bmn-dark) .article-hero figcaption,
body:not(.bmn-dark) .breadcrumb,
body:not(.bmn-dark) .rail-box:not(.rail-box--highlight) p {color:#645967}
body:not(.bmn-dark) .story__meta,
body:not(.bmn-dark) .reading-list__panel p{color:#645967}
body:not(.bmn-dark) .section-intro__overline,
body:not(.bmn-dark) .kicker,
body:not(.bmn-dark) .rail-eyebrow,
body:not(.bmn-dark) .section-heading__index {color:#a73812}
body:not(.bmn-dark) .text-link,
body:not(.bmn-dark) .article-body a {color:#a73812}
body:not(.bmn-dark) .button--dark,
body:not(.bmn-dark) .mission-banner .button--dark{background:var(--bmn-action);color:#fff}
body:not(.bmn-dark) .button--dark:hover{background:#852608;color:#fff}
/* Dark palette uses near-neutral aubergine surfaces and luminous type, not pure-black text. */
body.bmn-dark{
 color-scheme:dark;
 --ink:#f9f3fa;--ink2:#efe5f0;--muted:#cbbecd;--paper:#302735;
 --cream:#241e29;--cream2:#322838;--line:#66536a;--outline:rgba(237,216,239,.19);
 --navy:#160f19;--navy2:#30213a;--red:#ffb589;--red-dark:#ffcdb1;
 --aubergine:#f7e9f6;--orange:#ffb98c;--orange-soft:#44303b;
 --violet-soft:#3e3043;--shadow-card:0 10px 24px rgba(0,0,0,.15);
 --shadow-hover:0 17px 36px rgba(0,0,0,.28);
 background:#211b27;color:#f9f3fa;
}
/* Foundations, article regions and the real responsive navigation. */
.bmn-dark .site-header,.bmn-dark .masthead,.bmn-dark .site-nav{background:#211b27;border-color:#504050}
.bmn-dark .top-stories,.bmn-dark .latest-zone,.bmn-dark .single-main,
.bmn-dark .archive-main,.bmn-dark .topic-section,.bmn-dark .static-page{background:#211b27;color:#f9f3fa}
.bmn-dark .latest-zone{border-color:#524154}
.bmn-dark .top-stories::before{opacity:.13}
.bmn-dark .masthead__brand,.bmn-dark .masthead__brand:hover,
.bmn-dark .brand-wordmark,.bmn-dark .brand-wordmark strong{color:#fcf4fa}
.bmn-dark .masthead__tagline{border-color:#65516a}
.bmn-dark .masthead__tagline>span{color:#ffba95}
.bmn-dark .masthead__tagline p{color:#e0d3e0}
.bmn-dark .masthead__rss{background:#493047;color:#fff;border:1px solid #755c74}
.bmn-dark .masthead__rss:hover{background:#69415d;color:#fff}
.bmn-dark .masthead__rss span{color:#ffc7a5}
.bmn-dark .site-nav__inner{background:#302735;border:1px solid #69566c;box-shadow:0 6px 22px rgba(0,0,0,.22)}
.bmn-dark .site-nav .menu a{color:#f0e4ef;background:transparent}
.bmn-dark .site-nav .menu a:hover,.bmn-dark .site-nav .menu a:focus-visible,
.bmn-dark .site-nav .menu .current-menu-item>a,.bmn-dark .site-nav .menu .current-cat>a{color:#fff7f2;background:#734329}
.bmn-dark .site-nav__search form{background:#413346;border:1px solid #715b74}
.bmn-dark .site-nav__search input{color:#fff7fc}
.bmn-dark .site-nav__search input::placeholder{color:#d0c0d1;opacity:1}
.bmn-dark .site-nav__search button{color:#eee3f0}
.bmn-dark .menu-toggle,.bmn-dark .theme-mode,
.bmn-dark .reading-list>summary,.bmn-dark .reading-list__panel{background:#413247;color:#fff5fc;border:1px solid #806a81;box-shadow:none}
.bmn-dark .menu-toggle__lines i{background:#fff5fc}
.bmn-dark .theme-mode:hover,.bmn-dark .reading-list>summary:hover{background:#573f58;color:#fff}
.bmn-dark .reading-list__count{color:#ffc09a}
.bmn-dark .reading-list__panel p{color:#ded0dd}
.bmn-dark .reading-list__panel li{border-color:#65516c}
.bmn-dark .reading-list__panel a{color:#f7eafa}
/* Page titles, eyebrow labels, editorial metadata. */
.bmn-dark .section-intro h1,.bmn-dark .section-heading h2,
.bmn-dark .archive-head h1,.bmn-dark .archive-head p,
.bmn-dark .article-header h1,.bmn-dark .author-profile h1,
.bmn-dark .empty-state h2,.bmn-dark .section-heading,
.bmn-dark .static-page h1,.bmn-dark .static-page h2,
.bmn-dark .static-page h3{color:#f9f3fa}
.bmn-dark .section-heading,.bmn-dark .archive-head{border-color:#604c63}
.bmn-dark .edition-note,.bmn-dark .breadcrumb,.bmn-dark .article-hero figcaption{color:#d2c4d4}
.bmn-dark .breadcrumb a{color:#ffc59f}
.bmn-dark .section-intro__overline,.bmn-dark .article-format,
.bmn-dark .kicker,.bmn-dark .story-type{background:#4d3040;border:1px solid #805c64;color:#ffd0ae}
.bmn-dark .section-intro__overline::before{background:#ffba8d}
.bmn-dark .section-heading__index,.bmn-dark .rail-eyebrow,
.bmn-dark .editorial-section-kicker,.bmn-dark .text-link{color:#ffbe94}
.bmn-dark .text-link:hover,.bmn-dark .breadcrumb a:hover{color:#ffe0ca}
/* Story cards and their links: override all hard-coded light CSS descendants. */
.bmn-dark .front-hero .story,.bmn-dark .story-grid .story,
.bmn-dark .topic-section__grid .story,.bmn-dark .story--card,
.bmn-dark .rail-box:not(.rail-box--highlight){background:#312736;color:#f8f1f8;border-color:#65516a}
.bmn-dark .story__content{color:#f8f1f8}
.bmn-dark .story__title,.bmn-dark .story--lead .story__title,
.bmn-dark .front-hero__secondary .story__title,.bmn-dark .story-grid .story__title,
.bmn-dark .topic-section__grid .story__title,
.bmn-dark .rail-box h3{color:#fcf5fa}
.bmn-dark .story__title a,.bmn-dark .story__title a:link,.bmn-dark .story__title a:visited{color:inherit}
.bmn-dark .story__title a:hover,.bmn-dark .topic-list a:hover{color:#ffd0ad}
.bmn-dark .story__excerpt,.bmn-dark .story__meta,
.bmn-dark .story__meta time,.bmn-dark .story__meta span{color:#d9ceda}
.bmn-dark .save-story{background:#513b50;color:#fff7fc;border:1px solid #806a80}
.bmn-dark .save-story:hover,.bmn-dark .save-story[aria-pressed=true]{background:#704235;color:#fff6eb;border-color:#ab775d}
.bmn-dark .topic-list li,.bmn-dark .article-side nav li{border-color:#665269}
.bmn-dark .topic-list a{color:#f4eaf3}
.bmn-dark .topic-list span{color:#ffbc96}
.bmn-dark .rail-box:not(.rail-box--highlight) p{color:#ddcfdd}
/* Preserve the intentionally darker briefing and highlighted promo, with explicit white type. */
.bmn-dark .briefing-rail{background:linear-gradient(119deg,#3b2544,#522e4c);border:1px solid #806480}
.bmn-dark .briefing-rail__heading,.bmn-dark .briefing-rail__subtitle{color:#fff4fb}
.bmn-dark .briefing-rail .story--brief .story__title,
.bmn-dark .briefing-rail .story--brief .story__title a{color:#fff9fb}
.bmn-dark .briefing-rail .story--brief .story__meta{color:#e2d2df}
.bmn-dark .briefing-rail .story--brief .kicker{background:transparent;border:0;color:#ffd0ae}
.bmn-dark .briefing-rail__number,.bmn-dark .briefing-rail .rail-eyebrow{color:#ffd0ad}
.bmn-dark .briefing-rail__more{color:#fff4f7;border-color:#9d859d}
.bmn-dark .rail-box--highlight{background:linear-gradient(140deg,#522d55,#37243c);color:#fff}
.bmn-dark .rail-box--highlight h3{color:#fff4fb}
.bmn-dark .rail-box--highlight p{color:#e6dce8}
.bmn-dark .rail-box--highlight .rail-eyebrow{color:#ffd2b2}
.bmn-dark .rail-box--highlight .button--light{background:#fff0e9;color:#3b2436}
/* Single article, author, reference and editorial notes. */
.bmn-dark .article-byline,.bmn-dark .article-side__inner,.bmn-dark .editorial-sources,
.bmn-dark .article-takeaways,.bmn-dark .author-card,.bmn-dark .static-page,
.bmn-dark .empty-state,.bmn-dark .feed-empty{background:#33283a;border:1px solid #66516c;box-shadow:none;color:#f9f2f9}
.bmn-dark .article-dek,.bmn-dark .article-byline__details,
.bmn-dark .article-byline__details>span,.bmn-dark .article-byline__details a{color:#e3d8e4}
.bmn-dark .article-byline__details a:hover{color:#ffcbad}
.bmn-dark .article-body,.bmn-dark .article-body p,
.bmn-dark .article-body>p:first-child,.bmn-dark .article-body li,
.bmn-dark .article-body strong{color:#f5edf7}
.bmn-dark .article-body h2,.bmn-dark .article-body h3,.bmn-dark .article-body h4,
.bmn-dark .article-takeaways h2,.bmn-dark .editorial-sources h2,
.bmn-dark .author-card h2,.bmn-dark .related-section h2{color:#fff5fb}
.bmn-dark .article-takeaways li,.bmn-dark .article-takeaways p,
.bmn-dark .editorial-sources li,.bmn-dark .editorial-sources p,
.bmn-dark .editorial-sources a{color:#f1e6f0}
.bmn-dark .article-body a,.bmn-dark .article-tags a,.bmn-dark .article-side nav a,
.bmn-dark .editorial-sources a:hover{color:#ffbd93}
.bmn-dark .article-side nav a:hover{color:#ffe1cb}
.bmn-dark .article-body blockquote{background:#3f3044;color:#fff4f7;border-color:#ffaf7d}
.bmn-dark .article-side__inner .share-copy,.bmn-dark .article-side__inner .share-copy span,
.bmn-dark .share-stack button{color:#f2e2ed}
.bmn-dark .author-card p{color:#dfd2e1}
/* Links, archives, form inputs and clear disabled/selected states. */
.bmn-dark .mission-banner{background:linear-gradient(115deg,#4a2d4b,#3c263f);border-color:#806583;color:#fff5fa}
.bmn-dark .mission-banner h2{color:#fff5fa!important}
.bmn-dark .mission-banner p{color:#eddfec!important}
.bmn-dark .mission-banner .rail-eyebrow{color:#ffd0ad}
.bmn-dark .mission-banner .button--dark{background:#b73a13;color:white}
.bmn-dark .mission-banner .button--dark:hover{background:#8c2b0f;color:white}
.bmn-dark .news-filter-bar{background:#33283a;border:1px solid #66516c}
.bmn-dark .news-filter-bar label,.bmn-dark .news-filter-bar p{color:#f2e5f0}
.bmn-dark .news-filter-bar select,.bmn-dark .search-form input,
.bmn-dark input[type='search'],.bmn-dark input[type='text'],.bmn-dark textarea{
 color:#fff8fe;background:#423348;border:1px solid #816b81;
}
.bmn-dark input::placeholder,.bmn-dark textarea::placeholder{color:#d2c2d4;opacity:1}
.bmn-dark .news-filter-bar select option{background:#423348;color:#fff}
.bmn-dark .pagination .page-numbers,.bmn-dark .topic-tabs a{
 background:#372a3d;border:1px solid #6a586d;color:#f4e8f4;
}
.bmn-dark .pagination .page-numbers.current,.bmn-dark .topic-tabs a[aria-current='page']{
 background:#ad360d;border-color:#ad360d;color:#fff;
}
.bmn-dark .search-form button{background:#aa340c;color:#fff}
.bmn-dark .search-form button:hover{background:#872908}
.bmn-dark .empty-state p,.bmn-dark .feed-empty p{color:#e6d9e7}
/* The footer is dark in both modes. Keep its independent, accessible palette. */
.bmn-dark .site-footer{background:linear-gradient(130deg,#1d1523,#302036 75%)}
.bmn-dark .site-footer h2,.bmn-dark .footer-rss{color:#ffd0ad}
.bmn-dark .site-footer p,.bmn-dark .site-footer li{color:#f0e4ef}
.bmn-dark .footer-bottom{color:#dbcedd;border-color:#65516a}
.bmn-dark .footer-brand,.bmn-dark .footer-brand a{color:#fff}
/* Accessible keyboard navigation and selected text in both modes. */
.bmn-dark :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #ffd4b9!important;outline-offset:3px}
.bmn-dark ::selection{background:#ffd0b6;color:#2a1728}
@media(prefers-reduced-motion:reduce){.bmn-dark *{transition:none!important}}
/* Less-common article details must not inherit light-background styles. */
.bmn-dark .article-correction{background:#49313b;border-left-color:#ffc19c;color:#fff4f7}
.bmn-dark .article-correction p,.bmn-dark .article-correction strong{color:#fff4f7}
.bmn-dark .article-disclosure,.bmn-dark .article-tags,
.bmn-dark .archive-count,.bmn-dark .author-profile p{color:#e6d9e8}
.bmn-dark .article-tags a,.bmn-dark .author-card a{color:#ffc5a0}
.bmn-dark .reading-font-control,.bmn-dark .share-copy{
 color:#fae9f7;border-color:#6a556e
}
.bmn-dark .reading-font-control:hover,.bmn-dark .share-copy:hover{color:#ffcaab}
.bmn-dark .article-right__box p{color:#e6d9e8}
.bmn-dark .article-right__box .text-link{color:#ffbe96}
.bmn-dark .article-body :is(th,td){border-color:#745e78}
.bmn-dark .article-body th{background:#423247;color:#fff6fb}
.bmn-dark .article-body pre,.bmn-dark .article-body code{background:#3a2c41;color:#f6ecf7}
.bmn-dark .article-body figcaption{color:#d5c7d7}
.bmn-dark .pagination a:hover{background:#624464;color:#fff;border-color:#997197}
/* Decorative pseudo-elements occasionally extend 6-8px beyond viewport on desktop. */
html,body{overflow-x:clip}
