/* RFOS v4.1.9 — mobile quiz, manual newsroom slides and independent awareness cards. */
:root{--rfos-gold:#e5b72f;--rfos-blue:#073b8f;--rfos-deep:#061426}
.rfos-protected-name{margin-inline:.1em;white-space:normal}
.site-brand .rfos-protected-name,.footer-brand .rfos-protected-name{margin-inline:0}

/* Dark mode: pale and gold micro-surfaces always carry RFOS blue lettering. */
html[data-rfos-theme="dark"] :is(.media-type,.section-label,.eyebrow,.badge,.pill,.tag,.mission-label,.vision-label,.value-mark,.rfos-question-tag,.rfos-challenge-category){color:var(--rfos-blue)!important}
html[data-rfos-theme="dark"] :is(.connect-links a,.social-links a,.social-grid a,.contact-links a,.rfos-social-link){color:var(--rfos-blue)!important}
html[data-rfos-theme="dark"] :is(.rfos-primary-action,.rfos-action,.rfos-mini-action,.amount-choice,.paypal-continue,button.gold,a.gold){color:var(--rfos-blue)!important}
html[data-rfos-theme="dark"] :is(.notice,.privacy-notice,.safety-notice,.rfos-answer-feedback){color:#222b38!important}
html[data-rfos-theme="dark"] :is(.notice,.privacy-notice,.safety-notice,.rfos-answer-feedback) strong{color:var(--rfos-blue)!important}

/* Awareness publications remain distinct editorial packages. */
.rfos-awareness{padding:0 0 1.4rem!important;overflow:hidden;background:transparent!important;border:0!important;box-shadow:none!important}
.rfos-awareness-heading{display:flex;align-items:center;justify-content:center;min-height:88px;padding:1.15rem 1.5rem;text-align:center;background:linear-gradient(135deg,#052f77,#0958c9);border:1px solid rgba(229,183,47,.72);border-radius:22px;box-shadow:0 12px 28px rgba(4,28,70,.18)}
.rfos-awareness-heading h2{margin:0!important;color:var(--rfos-gold)!important;text-align:center!important;line-height:1.18;max-width:940px}
.rfos-awareness-publication-meta{margin:.85rem auto 1rem;padding:.72rem 1rem;max-width:820px;background:var(--card,#fff);border:1px solid rgba(7,59,143,.22);border-radius:14px;text-align:center}
.rfos-awareness-publication-meta .rfos-meta{justify-content:center!important;margin:0!important}
.rfos-awareness>.rfos-awareness-tone,.rfos-awareness>.rfos-body,.rfos-awareness>.rfos-image-wrap,.rfos-awareness>.rfos-engagement,.rfos-awareness>.rfos-founder-note{margin-inline:auto;max-width:1120px}
.rfos-awareness-boxes{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.15rem!important;margin:1.25rem auto!important;max-width:1180px;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
.rfos-awareness-box{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:250px;padding:1.45rem 1.25rem!important;text-align:center;background:var(--card,#fff)!important;border:1px solid rgba(7,59,143,.26)!important;border-top:7px solid var(--rfos-blue)!important;border-radius:20px!important;box-shadow:0 12px 26px rgba(4,28,70,.12)!important}
.rfos-awareness-box h3{text-align:center!important}
html[data-rfos-theme="dark"] .rfos-awareness-publication-meta,html[data-rfos-theme="dark"] .rfos-awareness-box{background:#172b45!important;color:#fff!important}
html[data-rfos-theme="dark"] .rfos-awareness-box :is(h3,p){color:#fff!important}

/* Professional news hierarchy: one leading report, then an accessible archive rail. */
#newsFeed{display:block!important}
#newsFeed>.rfos-news-featured{display:grid!important;grid-template-columns:minmax(300px,44%) 1fr;min-height:420px;margin-bottom:1.8rem;border:1px solid rgba(229,183,47,.68)!important;box-shadow:0 20px 45px rgba(3,22,55,.2)!important}
#newsFeed>.rfos-news-featured>.rfos-news-preview{display:contents!important}
#newsFeed>.rfos-news-featured .rfos-news-thumb{grid-column:1;grid-row:1/8;min-height:420px}
#newsFeed>.rfos-news-featured .rfos-news-thumb img{width:100%;height:100%;object-fit:cover}
#newsFeed>.rfos-news-featured>h2,#newsFeed>.rfos-news-featured>.rfos-meta,#newsFeed>.rfos-news-featured .rfos-news-preview-copy{grid-column:2;padding-inline:clamp(1.2rem,3vw,3rem)}
#newsFeed>.rfos-news-featured>h2{align-self:end;margin-top:3rem;font-size:clamp(1.7rem,3vw,3.2rem)}
#newsFeed>.rfos-news-featured .rfos-news-preview-copy{display:block!important;padding-bottom:2rem}
.rfos-news-reveal{animation:rfosNewsRise .48s ease-out both}
@keyframes rfosNewsRise{from{opacity:.01;transform:translateY(18px)}to{opacity:1;transform:none}}
.rfos-news-archive{margin-top:1.4rem}
.rfos-news-archive>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.8rem}
.rfos-news-archive>header h3{margin:0;color:var(--rfos-blue);font-size:clamp(1.25rem,2vw,1.75rem)}
.rfos-news-archive-controls{display:flex;gap:.5rem}
.rfos-news-archive-controls button{width:44px;height:44px;border:1px solid var(--rfos-gold);border-radius:50%;background:var(--rfos-blue);color:var(--rfos-gold);font-size:1.55rem;cursor:pointer}
.rfos-news-archive-track{display:flex;gap:1rem;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:.25rem .15rem 1rem}
.rfos-news-archive-track>.rfos-news-card{flex:0 0 clamp(300px,42vw,520px);scroll-snap-align:start;margin:0!important}

/* Protected footer wording remains legible gold. */
footer :is(.legal-links a,.footer-links a,.privacy-link,.terms-link,.official-brand-text,.rfos-protected-name),footer a[href*="privacy"],footer a[href*="terms"]{color:var(--rfos-gold)!important;opacity:1!important}
footer :is(.copyright,.footer-copyright){color:var(--rfos-gold)!important;opacity:.9!important}

@media(max-width:720px){
  #newsFeed>.rfos-news-featured{display:block!important;min-height:0}
  #newsFeed>.rfos-news-featured>.rfos-news-preview{display:block!important}
  #newsFeed>.rfos-news-featured .rfos-news-thumb{min-height:260px}
  #newsFeed>.rfos-news-featured>h2,#newsFeed>.rfos-news-featured>.rfos-meta,#newsFeed>.rfos-news-featured .rfos-news-preview-copy{padding-inline:1rem}
  #newsFeed>.rfos-news-featured>h2{margin-top:1.2rem}
  .rfos-awareness-heading{min-height:72px;padding:1rem}
  .rfos-awareness-boxes{grid-template-columns:1fr!important}
  .rfos-awareness-box{min-height:0}
  .rfos-news-archive-track>.rfos-news-card{flex-basis:88vw}
}
@media(prefers-reduced-motion:reduce){.rfos-news-reveal{animation:none!important}.rfos-news-archive-track{scroll-behavior:auto!important}}

/* RFOS v4.1.6 — ordinary full-width articles and manual one-at-a-time archive. */
#newsFeed>#rfosNewsFeatured,
#newsFeed>.rfos-news-featured{
  display:block!important;width:100%!important;max-width:none!important;
  min-height:0!important;overflow:hidden!important;
}
#newsFeed>.rfos-news-featured>.rfos-news-preview{display:block!important}
#newsFeed>.rfos-news-featured .rfos-news-thumb{display:block!important;width:100%!important;min-height:0!important;height:auto!important}
#newsFeed>.rfos-news-featured .rfos-news-thumb img{display:block!important;width:100%!important;height:auto!important;max-height:560px!important;object-fit:cover!important}
#newsFeed>.rfos-news-featured>h2,
#newsFeed>.rfos-news-featured>.rfos-meta,
#newsFeed>.rfos-news-featured .rfos-news-preview-copy{display:block!important;padding-inline:clamp(1rem,3vw,2.2rem)!important}
#newsFeed>.rfos-news-featured>h2{margin:1.25rem 0 .55rem!important;font-size:clamp(1.55rem,3vw,2.55rem)!important}
#newsFeed>.rfos-news-featured .rfos-news-preview-copy{padding-bottom:1.35rem!important}
#newsFeed .rfos-news-card.rfos-open{display:block!important;width:100%!important;max-width:none!important;overflow:visible!important}
#newsFeed .rfos-news-card.rfos-open :is(.rfos-image-wrap,.rfos-media-wrap,.rfos-article-body,.rfos-body){width:100%!important;max-width:960px!important;margin-inline:auto!important}
#newsFeed .rfos-news-card.rfos-open :is(.rfos-featured-image,.rfos-image-wrap img,.rfos-media-wrap img){display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.rfos-news-archive-track{overflow-x:hidden!important;scroll-behavior:smooth!important;scroll-snap-type:x mandatory!important}
.rfos-news-archive-track>.rfos-news-card{flex:0 0 100%!important;width:100%!important;max-width:100%!important;scroll-snap-align:start!important}

/* Awareness publications are not sheets: each heading and each box stands independently. */
#awarenessFeed{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#awarenessFeed>.rfos-awareness{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
#awarenessFeed .rfos-awareness-heading{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;margin:1.25rem 0 .8rem!important;padding:1rem 1.25rem!important;text-align:center!important;background:linear-gradient(135deg,#06338e,#0b57c8)!important;border:0!important;border-radius:16px!important;box-shadow:0 10px 24px rgba(1,43,120,.18)!important}
#awarenessFeed .rfos-awareness-heading h2{margin:0!important;color:var(--rfos-gold)!important;-webkit-text-fill-color:var(--rfos-gold)!important}
#awarenessFeed .rfos-awareness-boxes{width:100%!important;margin:1rem 0 1.35rem!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#awarenessFeed .rfos-awareness-box{background:var(--surface,#fff)!important;border:1px solid rgba(8,55,133,.22)!important;border-top:5px solid #0b57c8!important;border-radius:16px!important;box-shadow:0 10px 24px rgba(3,31,79,.12)!important}

/* Clear RFOS blue entertainment banners with gold headings. */
.rfos-discovery-head,.rfos-panel-title,.rfos-panel-head{
  background:linear-gradient(135deg,#063da8,#1265dc)!important;
  border-color:rgba(229,183,47,.72)!important;
}
.rfos-discovery-head :is(span,h1,h2,h3),.rfos-panel-title :is(h1,h2,h3),.rfos-panel-head :is(h1,h2,h3){color:var(--rfos-gold)!important;-webkit-text-fill-color:var(--rfos-gold)!important}
#rfosNextQuestion:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}

/* White and gold micro-banners always use RFOS blue lettering. */
html[data-rfos-theme] :is(.rfos-challenge-finish .rfos-primary-action,.rfos-answer-feedback,.rfos-challenge-feedback,.mission-label,.vision-label,.value-icon,.rfos-badge,.rfos-chip){color:#073b8f!important;-webkit-text-fill-color:#073b8f!important}

/* Restore the established right-hand mobile hamburger. */
@media(max-width:720px){
  .header-inner{grid-template-columns:minmax(0,1fr) 68px!important}
  header .menu-toggle{
    display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;
    grid-column:2!important;grid-row:1!important;width:64px!important;height:60px!important;min-width:64px!important;
    margin:0!important;padding:8px!important;border:2px solid rgba(255,255,255,.58)!important;border-radius:12px!important;
    background:rgba(255,255,255,.08)!important;box-shadow:none!important;
  }
  header .menu-toggle span{display:block!important;width:36px!important;height:3px!important;margin:4px 0!important;border:0!important;border-radius:3px!important;background:#fff!important;opacity:1!important}
  #newsFeed>.rfos-news-featured .rfos-news-thumb img{max-height:none!important;object-fit:contain!important}
  .rfos-news-archive-track>.rfos-news-card{flex-basis:100%!important}
}
@media(max-width:390px){
  .header-inner{grid-template-columns:minmax(0,1fr) 60px!important}
  header .menu-toggle{width:56px!important;height:54px!important;min-width:56px!important}
  header .menu-toggle span{width:32px!important}
}

html[data-rfos-theme="dark"] #awarenessFeed .rfos-awareness-box { background:#172b45 !important; color:#fff !important; }


/* RFOS v4.1.6 — Mobile News Language Stable overrides. */
/* News: one prominent newest item followed by a stable vertical sequence. */
.rfos-news-reveal{animation:none!important}
.rfos-news-archive{display:block!important;margin-top:1.5rem!important}
.rfos-news-archive>header{display:block!important;margin:0 0 1rem!important}
.rfos-news-archive-controls{display:none!important}
.rfos-news-archive-track{display:block!important;overflow:visible!important;scroll-snap-type:none!important;padding:0!important}
.rfos-news-archive-track>.rfos-news-card{display:grid;flex:none!important;width:100%!important;max-width:none!important;margin:0 0 1.1rem!important;scroll-snap-align:none!important}
#newsFeed>.rfos-news-featured:not(.rfos-open)>.rfos-image-wrap{display:none!important}
#newsFeed>.rfos-news-featured.rfos-open>.rfos-news-preview{display:none!important}
#newsFeed>.rfos-news-featured.rfos-open{display:block!important;width:100%!important}
#newsFeed>.rfos-news-featured.rfos-open>.rfos-image-wrap,#newsFeed>.rfos-news-featured.rfos-open>.rfos-body{max-width:960px!important;margin-inline:auto!important}

/* Header: protected brand left and familiar square hamburger right, never overlapping. */
@media(max-width:720px){
  .rfos-site-header .header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;align-items:center!important;column-gap:10px!important;min-height:76px!important;padding:7px 10px!important}
  .rfos-site-header .logo-area{grid-column:1!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
  .rfos-site-header .brand-emblem{width:50px!important;height:50px!important;flex-basis:50px!important}
  .rfos-site-header .brand-title-image{width:calc(100vw - 132px)!important;max-width:100%!important;max-height:43px!important;object-fit:contain!important;object-position:left center!important}
  .rfos-site-header .menu-toggle{grid-column:2!important;display:flex!important;width:56px!important;height:52px!important;min-width:56px!important;margin:0!important;padding:7px!important;border:2px solid rgba(229,183,47,.8)!important;border-radius:10px!important;background:#073b8f!important}
  .rfos-site-header #mainNavigation{top:76px!important;inset-inline:0!important;max-height:calc(100vh - 76px)!important}
  .rfos-site-header #mainNavigation .language-toggle{position:static!important;display:flex!important;width:100%!important;height:46px!important;min-width:0!important;margin:2px 0 0!important;padding:10px 14px!important;border-radius:8px!important;justify-content:flex-start!important;box-shadow:none!important}
  .rfos-site-header #mainNavigation .language-button-text{display:inline!important;font-size:1rem!important}
  body.rfos-menu-open .rfos-site-header #mainNavigation .language-toggle{display:flex!important}
}
@media(max-width:390px){
  .rfos-site-header .header-inner{grid-template-columns:minmax(0,1fr) 52px!important;column-gap:8px!important;padding-inline:8px!important}
  .rfos-site-header .brand-emblem{width:46px!important;height:46px!important;flex-basis:46px!important}
  .rfos-site-header .brand-title-image{width:calc(100vw - 116px)!important;max-height:39px!important}
  .rfos-site-header .menu-toggle{width:50px!important;height:48px!important;min-width:50px!important}
}

/* Language chooser is positioned in JS directly below the globe/language control. */
.translate-row{margin:0!important;z-index:1600!important}

/* Mission/Vision pale labels remain blue in dark mode. */
html[data-rfos-theme="dark"] .purpose-card .section-label{color:#073b8f!important;-webkit-text-fill-color:#073b8f!important}

/* Protected footer readability. */
footer .footer-motto,footer .email,footer .email a,footer .copy{opacity:1!important}
footer .footer-motto,footer .email,footer .email a{color:#fff!important}
footer .legal-links a{color:var(--rfos-gold)!important}
footer .copy{color:#fff!important}
footer .rfos-footer-rwanda{color:#fff!important}
footer .rfos-footer-freedom{color:var(--rfos-gold)!important}
html[data-rfos-theme="dark"] footer :is(.footer-motto,.email,.email a,.copy,.rfos-footer-rwanda){color:#fff!important;opacity:1!important}
html[data-rfos-theme="dark"] footer :is(.legal-links a,.rfos-footer-freedom){color:var(--rfos-gold)!important;opacity:1!important}

/* Awareness boxes remain independent and inherit the owner's 1–4 box count. */
#awarenessFeed .rfos-awareness-boxes.count-1{grid-template-columns:minmax(0,1fr)!important}
#awarenessFeed .rfos-awareness-boxes.count-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#awarenessFeed .rfos-awareness-boxes.count-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#awarenessFeed .rfos-awareness-boxes.count-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:720px){#awarenessFeed .rfos-awareness-boxes[class*="count-"]{grid-template-columns:1fr!important}}


/* RFOS v4.1.6 — publication sheets, mobile title safety, translation continuity. */
:root{--rfos-gold:#d4a72c;--rfos-blue:#062d71;--rfos-blue-bright:#0b4db8}

/* Every managed publication remains an independent sheet with the established RFOS-blue top head line. */
.rfos-publication{overflow:hidden!important;border-top:5px solid var(--rfos-blue)!important}
html:not([data-rfos-theme="dark"]) .rfos-publication>h2{color:#082b72!important;-webkit-text-fill-color:#082b72!important}

/* News: a clearly separate featured sheet, then separate earlier sheets. */
#newsFeed>.rfos-news-featured{margin-bottom:34px!important}
.rfos-news-archive{margin-top:2rem!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.rfos-news-archive>header{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:70px!important;margin:0 0 24px!important;padding:14px 20px!important;
  background:linear-gradient(105deg,#06378b,#084dca)!important;border-radius:14px!important;
  box-shadow:0 8px 22px rgba(0,31,91,.16)!important;
}
.rfos-news-archive>header h3{margin:0!important;color:var(--rfos-gold)!important;-webkit-text-fill-color:var(--rfos-gold)!important;text-align:center!important}
.rfos-news-archive-track{display:grid!important;grid-template-columns:1fr!important;gap:26px!important;background:transparent!important}
.rfos-news-archive-track>.rfos-news-card{margin:0!important;border:1px solid rgba(6,45,113,.18)!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(0,31,91,.10)!important;overflow:hidden!important}

/* Closed news cards keep their own blue heading rather than appearing as one compact sheet. */
.rfos-news-card:not(.rfos-open){display:flex!important;flex-direction:column!important;padding:clamp(18px,3vw,30px)!important;min-height:0!important;background:#fff!important}
.rfos-news-card:not(.rfos-open)>h2{order:-4!important;width:100%!important;margin:0!important;padding:0 0 16px!important;background:transparent!important;color:#082b72!important;-webkit-text-fill-color:#082b72!important;text-align:left!important}
html[data-rfos-theme="dark"] .rfos-news-card:not(.rfos-open)>h2{color:var(--rfos-heading)!important;-webkit-text-fill-color:var(--rfos-heading)!important}
.rfos-news-card:not(.rfos-open)>.rfos-news-preview{order:-3!important;width:100%!important;margin:0 0 16px!important;display:grid!important;grid-template-columns:minmax(200px,34%) minmax(0,1fr)!important;grid-template-rows:auto!important;background:#f7f9fd!important}
.rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-thumb{min-height:180px!important}
.rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-preview-copy{display:flex!important;align-items:center!important;padding:18px!important;color:#263143!important}
.rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-read-cue{width:100%!important;color:#062d71!important}
.rfos-news-card:not(.rfos-open)>.rfos-meta{order:-2!important;display:flex!important;margin:0!important;padding:0!important;width:100%!important}
#newsFeed>.rfos-news-featured:not(.rfos-open)>.rfos-news-preview .rfos-news-thumb{min-height:260px!important}
@media(max-width:700px){
  .rfos-news-card:not(.rfos-open)>.rfos-news-preview{grid-template-columns:1fr!important}
  .rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-thumb{height:190px!important;min-height:190px!important}
  #newsFeed>.rfos-news-featured:not(.rfos-open)>.rfos-news-preview .rfos-news-thumb{height:230px!important;min-height:230px!important}
}

/* Awareness: remove the large enclosing sheet; title, boxes and Founder note stand independently. */
#awarenessFeed>.rfos-awareness{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;margin:0 0 42px!important}
#awarenessFeed>.rfos-awareness>.rfos-awareness-heading{width:100%!important;margin:0 auto 14px!important;padding:18px 22px!important;border-radius:16px!important}
#awarenessFeed>.rfos-awareness>.rfos-awareness-publication-meta,
#awarenessFeed>.rfos-awareness>.rfos-awareness-tone,
#awarenessFeed>.rfos-awareness>.rfos-body,
#awarenessFeed>.rfos-awareness>.rfos-image-wrap,
#awarenessFeed>.rfos-awareness>.rfos-engagement{max-width:1080px!important;margin-left:auto!important;margin-right:auto!important}
#awarenessFeed>.rfos-awareness>.rfos-awareness-publication-meta{text-align:center!important}
#awarenessFeed>.rfos-awareness>.rfos-awareness-publication-meta .rfos-meta{justify-content:center!important}
#awarenessFeed>.rfos-awareness>.rfos-awareness-tone{display:block!important;width:max-content!important;max-width:min(100%,760px)!important;text-align:center!important}
#awarenessFeed .rfos-awareness-boxes{width:100%!important;margin:26px auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#awarenessFeed .rfos-awareness-boxes.count-1{max-width:560px!important}
#awarenessFeed .rfos-awareness-boxes.count-2{max-width:920px!important}
#awarenessFeed .rfos-awareness-box{margin:0!important;background:#fff!important}
#awarenessFeed>.rfos-awareness>.rfos-founder-note{width:min(760px,100%)!important;margin:26px auto 0!important;text-align:center!important;border-left:0!important;border-top:4px solid #062d71!important;border-radius:14px!important;box-shadow:0 8px 22px rgba(0,31,91,.09)!important}
html[data-rfos-theme="dark"] #awarenessFeed>.rfos-awareness{background:transparent!important;box-shadow:none!important}
html[data-rfos-theme="dark"] #awarenessFeed .rfos-awareness-box{background:#172b45!important}

/* Knowledge Challenge progress: visible separation between question count and Score. */
.rfos-challenge-progress{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;flex-wrap:wrap!important}
.rfos-challenge-progress>span+span{margin-left:8px!important}

/* Mobile: reserve enough room for the complete protected title and keep the hamburger outside it. */
@media(max-width:720px){
  .rfos-site-header .header-inner{grid-template-columns:minmax(0,1fr) 50px!important;column-gap:6px!important;padding:7px 7px!important}
  .rfos-site-header .logo-area{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:6px!important;overflow:visible!important;min-width:0!important}
  .rfos-site-header .brand-emblem{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important}
  .rfos-site-header .brand-title-image{width:100%!important;max-width:100%!important;height:auto!important;max-height:38px!important;object-fit:contain!important;object-position:left center!important;min-width:0!important}
  .rfos-site-header .menu-toggle{width:48px!important;height:46px!important;min-width:48px!important;padding:6px!important;justify-self:end!important}
}
@media(max-width:390px){
  .rfos-site-header .header-inner{grid-template-columns:minmax(0,1fr) 46px!important;column-gap:5px!important;padding-inline:5px!important}
  .rfos-site-header .logo-area{grid-template-columns:38px minmax(0,1fr)!important;gap:5px!important}
  .rfos-site-header .brand-emblem{width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important}
  .rfos-site-header .brand-title-image{max-height:34px!important}
  .rfos-site-header .menu-toggle{width:44px!important;height:44px!important;min-width:44px!important}
}

/* Translation continuity: keep the protected header stable and never expose an English content flash. */
html.rfos-language-loading main,
html.rfos-language-loading .rfos-support-cta,
html.rfos-language-loading footer{visibility:hidden!important;opacity:0!important;transition:none!important;animation:none!important}
html.rfos-language-loading body{overflow-anchor:none!important}

/* Protected footer colour assignment. */
footer .footer-motto-label,footer .email,footer .email a{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
footer .footer-motto-value,footer .legal-links a{color:var(--rfos-gold)!important;-webkit-text-fill-color:var(--rfos-gold)!important;opacity:1!important}
html[data-rfos-theme="dark"] footer .footer-motto-label,
html[data-rfos-theme="dark"] footer .email,
html[data-rfos-theme="dark"] footer .email a{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-rfos-theme="dark"] footer .footer-motto-value,
html[data-rfos-theme="dark"] footer .legal-links a{color:var(--rfos-gold)!important;-webkit-text-fill-color:var(--rfos-gold)!important}

/* Founder’s Message blue banners: gold words in light mode, white words in dark mode. */
html[data-page-title="Founder’s Message"] .rfos-horizontal-panel,
html[data-page-title="Founder’s Message"] .rfos-horizontal-panel *{color:var(--rfos-gold)!important;-webkit-text-fill-color:var(--rfos-gold)!important}
html[data-rfos-theme="dark"][data-page-title="Founder’s Message"] .rfos-horizontal-panel,
html[data-rfos-theme="dark"][data-page-title="Founder’s Message"] .rfos-horizontal-panel *{color:#fff!important;-webkit-text-fill-color:#fff!important}


/* RFOS v4.1.6 — awareness presentation and no-blank translation continuity. */
html.rfos-language-loading main,
html.rfos-language-loading .rfos-support-cta,
html.rfos-language-loading footer{visibility:visible!important;opacity:1!important}

#awarenessFeed>.rfos-awareness{margin:0 0 46px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
#awarenessFeed .rfos-awareness-heading{display:flex!important;flex-direction:column!important;gap:8px!important;align-items:center!important;justify-content:center!important;width:100%!important;margin:0 auto 20px!important;padding:18px 22px!important;background:linear-gradient(135deg,#06338e,#0b57c8)!important;border-radius:16px!important;text-align:center!important}
#awarenessFeed .rfos-awareness-heading h2{margin:0!important;color:var(--rfos-gold)!important;-webkit-text-fill-color:var(--rfos-gold)!important}
#awarenessFeed .rfos-awareness-heading-meta{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:8px 14px!important;color:#fff!important;font-size:.94rem!important;font-weight:700!important}
#awarenessFeed .rfos-awareness-date{color:#fff!important;-webkit-text-fill-color:#fff!important}
#awarenessFeed .rfos-awareness-classification{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:4px 11px!important;border:1px solid rgba(240,193,75,.78)!important;border-radius:999px!important;color:var(--rfos-gold)!important;-webkit-text-fill-color:var(--rfos-gold)!important;background:rgba(0,20,62,.18)!important}
#awarenessFeed .rfos-awareness-boxes{display:grid!important;width:100%!important;margin:0 auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;gap:22px!important}
#awarenessFeed .rfos-awareness-box{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;margin:0!important;padding:28px 22px!important;background:#fff!important;border:1px solid rgba(8,55,133,.22)!important;border-top:5px solid #0b57c8!important;border-radius:16px!important;box-shadow:0 10px 24px rgba(3,31,79,.12)!important;text-align:center!important}
#awarenessFeed .rfos-awareness-box p{white-space:pre-line!important}
html[data-rfos-theme="dark"] #awarenessFeed .rfos-awareness-box{background:#172b45!important;color:#fff!important}
html[data-rfos-theme="dark"] #awarenessFeed .rfos-awareness-box :is(h3,p){color:#fff!important;-webkit-text-fill-color:#fff!important}
@media(max-width:720px){#awarenessFeed .rfos-awareness-heading{padding:16px 14px!important}#awarenessFeed .rfos-awareness-boxes{grid-template-columns:1fr!important}}


/* RFOS v4.1.9 — support, language, awareness separation and deeper header balance. */
.rfos-site-header{background:linear-gradient(100deg,#052a69 0%,#06327c 68%,#06439f 100%)!important}
#awarenessFeed>.rfos-awareness{margin-bottom:52px!important}
#awarenessFeed .rfos-awareness-heading{margin:0 0 28px!important}
#awarenessFeed .rfos-awareness-boxes{margin:0 auto!important;gap:28px!important;background:transparent!important;border:0!important;box-shadow:none!important}
#awarenessFeed .rfos-awareness-box{border:1px solid rgba(8,55,133,.24)!important;border-top-width:1px!important;border-radius:16px!important;box-shadow:0 10px 24px rgba(3,31,79,.12)!important;background:var(--surface,#fff)!important}
#awarenessFeed .rfos-awareness-box::before,#awarenessFeed .rfos-awareness-box::after{display:none!important;content:none!important}
#awarenessFeed .rfos-awareness-heading h2{text-transform:none!important}
.paypal-amount-grid .amount-choice{pointer-events:auto!important;touch-action:manipulation!important;position:relative!important;z-index:1!important}
.paypal-amount-grid .amount-choice.active,.paypal-amount-grid .amount-choice[aria-pressed="true"]{background:var(--rfos-gold)!important;border-color:var(--rfos-gold)!important;color:#173665!important;box-shadow:0 0 0 3px rgba(229,183,47,.22)!important}


/* RFOS v4.1.9 — publication-card uniformity and independent newsroom sheets. */
:root{--rfos-sheet-head:#062d71}

/* Every publication preview is its own independent sheet with the protected dark-blue top edge. */
#newsFeed>.rfos-news-card,
.rfos-news-archive-track>.rfos-news-card,
#spacesUpdates>.rfos-spaces-card{
  border:1px solid rgba(6,45,113,.18)!important;
  border-top:8px solid var(--rfos-sheet-head)!important;
  border-radius:16px!important;
  box-shadow:0 12px 30px rgba(0,31,91,.12)!important;
  overflow:hidden!important;
  background:var(--surface,#fff)!important;
}
#newsFeed>.rfos-news-featured{margin-bottom:42px!important}
.rfos-news-archive-track{display:grid!important;grid-template-columns:1fr!important;gap:38px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.rfos-news-archive-track>.rfos-news-card{margin:0!important}

/* Closed newsroom cards: photo on the left, title and action beside it. */
.rfos-news-card:not(.rfos-open)>h2{display:none!important}
.rfos-news-card:not(.rfos-open)>.rfos-news-preview{
  display:grid!important;
  grid-template-columns:minmax(220px,36%) minmax(0,1fr)!important;
  align-items:stretch!important;
  margin:0!important;
  background:transparent!important;
}
.rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-thumb{height:100%!important;min-height:210px!important}
.rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
.rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-preview-copy{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
  gap:14px!important;padding:clamp(18px,3vw,34px)!important;background:var(--surface,#fff)!important
}
.rfos-news-preview-title{margin:0!important;font-size:clamp(1.2rem,2.4vw,2rem)!important;line-height:1.14!important;color:#082b72!important;-webkit-text-fill-color:#082b72!important;text-align:left!important;text-transform:none!important}
.rfos-news-card:not(.rfos-open)>.rfos-meta{padding:14px clamp(18px,3vw,30px) 18px!important;border-top:1px solid rgba(6,45,113,.10)!important}
html[data-rfos-theme="dark"] .rfos-news-preview-title{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-rfos-theme="dark"] .rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-preview-copy{background:#172b45!important}

/* Awareness boxes use the same dark-blue sheet header while staying fully separate. */
#awarenessFeed .rfos-awareness-box{
  border:1px solid rgba(8,55,133,.24)!important;
  border-top:8px solid var(--rfos-sheet-head)!important;
  border-radius:16px!important;
  box-shadow:0 10px 24px rgba(3,31,79,.12)!important;
  overflow:hidden!important;
}
#awarenessFeed .rfos-awareness-boxes{gap:32px!important}

@media(max-width:720px){
  .rfos-news-card:not(.rfos-open)>.rfos-news-preview{grid-template-columns:42% minmax(0,1fr)!important}
  .rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-thumb{min-height:170px!important}
  .rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-preview-copy{padding:16px!important;gap:10px!important}
  .rfos-news-preview-title{font-size:clamp(1rem,4.5vw,1.35rem)!important}
  .rfos-news-card:not(.rfos-open)>.rfos-news-preview-copy p{font-size:.92rem!important}
  .rfos-news-archive-track{gap:30px!important}
}
@media(max-width:430px){
  .rfos-news-card:not(.rfos-open)>.rfos-news-preview{grid-template-columns:1fr!important}
  .rfos-news-card:not(.rfos-open)>.rfos-news-preview .rfos-news-thumb{height:210px!important;min-height:210px!important}
}


/* RFOS v4.1.9 — publication separation, language anchoring and stability. */
:root{--rfos-sheet-head:#062d71}

/* Uniform protected dark-blue head on sheets and small cards across public pages. */
:is(.about-card,.aware-card,.contact-card,.entertainment-card,.legal-card,.message-card,.purpose-card,.value-card,.space-card,.rfos-publication,.rfos-awareness-box,.rfos-discovery-panel,.rfos-horizontal-panel){
  border-top:8px solid var(--rfos-sheet-head)!important;
  border-top-left-radius:18px!important;
  border-top-right-radius:18px!important;
}
/* Managed awareness publication itself stays transparent; only its banner and individual boxes are sheets. */
#awarenessFeed>.rfos-awareness{border-top:0!important}
#awarenessFeed .rfos-awareness-heading{border-top:8px solid var(--rfos-sheet-head)!important}
#awarenessFeed .rfos-awareness-box{border-top:8px solid var(--rfos-sheet-head)!important}

/* News publications are visibly independent; no connecting rails, strips or shared sheet background. */
#newsFeed,.rfos-news-archive,.rfos-news-archive-track{
  background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;
}
#newsFeed>.rfos-news-featured{margin:0 0 48px!important}
.rfos-news-archive>header{margin:0 0 34px!important}
.rfos-news-archive-track{display:grid!important;grid-template-columns:1fr!important;gap:46px!important;padding:0!important}
.rfos-news-archive-track>.rfos-news-card{
  margin:0!important;border:1px solid rgba(6,45,113,.18)!important;border-top:8px solid var(--rfos-sheet-head)!important;
  border-radius:18px!important;box-shadow:0 12px 30px rgba(0,31,91,.12)!important;background:var(--surface,#fff)!important;
}
.rfos-news-archive-track>.rfos-news-card::before,.rfos-news-archive-track>.rfos-news-card::after{content:none!important;display:none!important}

/* Keep the language chooser physically beneath its globe/control on mobile. */
#languagePanel.translate-row{max-width:calc(100vw - 24px)!important;z-index:10050!important}
@media(max-width:720px){
  #languagePanel.translate-row{margin:0!important}
  #languagePanel.translate-row.open{display:block!important}
  #languagePanel #siteLanguage{width:100%!important;max-width:100%!important}
}

/* Remove entrance/translation movement that can look like flashing or trembling. */
html{scroll-behavior:auto!important}
body,.rfos-site-header,main,.page-header,.rfos-managed-section,.rfos-publication,.rfos-awareness,.rfos-awareness-box,.rfos-news-card,.rfos-news-preview,.rfos-news-thumb,.rfos-news-thumb img{
  animation:none!important;transition:none!important;
}
.rfos-awareness.motion-fade,.rfos-awareness.motion-rise,.rfos-awareness.motion-zoom{animation:none!important;transform:none!important;opacity:1!important}
.goog-te-spinner-pos,.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,.VIpgJd-ZVi9od-aZ2wEe{display:none!important;visibility:hidden!important}

/* RFOS v4.1.10 — compact newsroom cards and protected footer email. */
/* Featured closed preview must use exactly one visible title: the title beside the photo. */
#newsFeed > .rfos-news-featured:not(.rfos-open) > h2{display:none!important}
#newsFeed > .rfos-news-featured:not(.rfos-open) > .rfos-news-preview{
  display:grid!important;
  grid-template-columns:minmax(190px,32%) minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  min-height:0!important;
  margin:0!important;
}
#newsFeed > .rfos-news-featured.rfos-open > .rfos-news-preview{display:none!important}

/* Keep newest and earlier previews professional and compact on desktop. */
#newsFeed .rfos-news-card:not(.rfos-open) > .rfos-news-preview{
  grid-template-columns:minmax(180px,30%) minmax(0,1fr)!important;
  min-height:0!important;
}
#newsFeed .rfos-news-card:not(.rfos-open) > .rfos-news-preview .rfos-news-thumb{
  height:clamp(150px,18vw,205px)!important;
  min-height:150px!important;
}
#newsFeed .rfos-news-card:not(.rfos-open) > .rfos-news-preview .rfos-news-preview-copy{
  padding:clamp(14px,2vw,24px)!important;
  gap:10px!important;
}
#newsFeed .rfos-news-preview-title{
  font-size:clamp(1.05rem,1.75vw,1.55rem)!important;
  line-height:1.18!important;
}
#newsFeed .rfos-news-card:not(.rfos-open) > .rfos-meta{
  padding:10px clamp(14px,2vw,24px) 14px!important;
  font-size:.88rem!important;
}
#newsFeed > .rfos-news-featured{margin-bottom:30px!important}
.rfos-news-archive > header{
  min-height:0!important;
  padding:12px 18px!important;
  margin:0 0 24px!important;
  border-radius:12px!important;
}
.rfos-news-archive > header h3{font-size:clamp(1.1rem,2vw,1.45rem)!important;line-height:1.2!important}
.rfos-news-archive-track{gap:30px!important}

/* Opened articles remain single-column and readable, but avoid oversized hero treatment. */
#newsFeed .rfos-news-card.rfos-open{padding:clamp(18px,3vw,32px)!important}
#newsFeed .rfos-news-card.rfos-open > h2{font-size:clamp(1.45rem,2.7vw,2.15rem)!important;line-height:1.18!important}
#newsFeed .rfos-news-card.rfos-open .rfos-featured-image{max-height:620px!important;object-fit:contain!important}

/* Protected footer: email joins the gold items; wording stays unchanged. */
footer .email,footer .email a,
html[data-rfos-theme="dark"] footer .email,
html[data-rfos-theme="dark"] footer .email a{
  color:var(--rfos-gold)!important;
  -webkit-text-fill-color:var(--rfos-gold)!important;
  opacity:1!important;
}

@media(max-width:720px){
  #newsFeed .rfos-news-card:not(.rfos-open) > .rfos-news-preview{
    grid-template-columns:40% minmax(0,1fr)!important;
  }
  #newsFeed .rfos-news-card:not(.rfos-open) > .rfos-news-preview .rfos-news-thumb{
    height:155px!important;min-height:155px!important;
  }
  #newsFeed .rfos-news-preview-title{font-size:clamp(.98rem,4vw,1.2rem)!important}
  #newsFeed .rfos-news-card:not(.rfos-open) > .rfos-news-preview .rfos-news-preview-copy{padding:12px!important;gap:8px!important}
  #newsFeed .rfos-news-card:not(.rfos-open) > .rfos-meta{padding:9px 12px 12px!important}
  .rfos-news-archive-track{gap:24px!important}
}
@media(max-width:430px){
  #newsFeed .rfos-news-card:not(.rfos-open) > .rfos-news-preview{grid-template-columns:38% minmax(0,1fr)!important}
  #newsFeed .rfos-news-card:not(.rfos-open) > .rfos-news-preview .rfos-news-thumb{height:140px!important;min-height:140px!important}
  #newsFeed .rfos-news-preview-title{font-size:.98rem!important;line-height:1.16!important}
  #newsFeed .rfos-news-preview-copy p{display:none!important}
  #newsFeed .rfos-read-cue{font-size:.72rem!important}
}

/* RFOS v4.1.12 — protected fixed-visible header and footer email contrast. */
:root{--rfos-protected-header-offset:96px}
.rfos-site-header{
  position:sticky!important;
  top:0!important;
  z-index:10000!important;
  width:100%!important;
  isolation:isolate;
}
/* Keep the protected header visible while the document or independent columns scroll. */
.rfos-site-header .header-inner{position:relative;z-index:2}
footer .email{color:#fff!important;-webkit-text-fill-color:#fff!important}
footer .email a{color:var(--gold,#e5b72f)!important;-webkit-text-fill-color:var(--gold,#e5b72f)!important}
@media(max-width:1050px){:root{--rfos-protected-header-offset:76px}}
@media(max-width:560px){:root{--rfos-protected-header-offset:72px}}

/* RFOS v4.1.13 — protected fixed header and compact 2 cm page band. */
:root{--rfos-header-height:84px;--rfos-page-band-height:76px}
html{scroll-padding-top:calc(var(--rfos-header-height) + 12px)!important}
body{padding-top:var(--rfos-header-height)!important}
.rfos-site-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:2147482000!important;
  transform:none!important;
  translate:none!important;
  will-change:auto!important;
}
.page-header{
  min-height:var(--rfos-page-band-height)!important;
  padding:9px 16px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}
.page-header h1{font-size:clamp(1.45rem,2.4vw,1.9rem)!important;line-height:1.12!important;margin:0!important}
.page-header p{font-size:clamp(.82rem,1.3vw,.96rem)!important;line-height:1.25!important;margin:5px auto 0!important}
@media(max-width:1050px){:root{--rfos-header-height:76px;--rfos-page-band-height:76px}}
@media(max-width:560px){
  :root{--rfos-header-height:72px;--rfos-page-band-height:76px}
  .page-header{padding:8px 12px!important}
  .page-header h1{font-size:1.45rem!important}
  .page-header p{font-size:.84rem!important}
}


/* RFOS v4.1.14 — hardened protected header + restored newsroom proportions + reliable independent columns. */
:root{--rfos-header-height:84px;--rfos-page-band-height:76px}
html,body{scroll-behavior:auto!important}
body{padding-top:var(--rfos-header-height)!important}
.rfos-site-header{
  position:fixed!important;
  inset:0 0 auto 0!important;
  width:100%!important;
  z-index:2147483000!important;
  transform:translate3d(0,0,0)!important;
  -webkit-transform:translate3d(0,0,0)!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  will-change:transform!important;
  contain:layout paint style!important;
  transition:none!important;
  animation:none!important;
}
.rfos-site-header,.rfos-site-header *{transition:none!important;animation:none!important}
.rfos-site-header .header-inner{transform:translateZ(0)!important;-webkit-transform:translateZ(0)!important}

@media (min-width:1301px){
  /* Restore the roomy publication and advertisement sizes; widen only Quotes. */
  .rfos-updates-layout{
    grid-template-columns:minmax(400px,460px) minmax(720px,1070px) minmax(300px,360px)!important;
    gap:22px!important;
    justify-content:center!important;
    align-items:start!important;
    width:100%!important;
    max-width:1950px!important;
    margin:28px auto 0!important;
  }
  .rfos-updates-quotes{grid-column:1!important;width:100%!important;max-width:460px!important;justify-self:end!important}
  .rfos-updates-main{grid-column:2!important;width:100%!important;max-width:1070px!important;justify-self:center!important}
  .rfos-updates-advertisements{grid-column:3!important;width:100%!important;max-width:360px!important;justify-self:start!important;display:block!important}

  /* All three columns have a real viewport-sized scrollport. */
  .rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements{
    position:sticky!important;
    top:calc(var(--rfos-header-height,84px) + 12px)!important;
    height:calc(100dvh - var(--rfos-header-height,84px) - 24px)!important;
    max-height:calc(100vh - var(--rfos-header-height,84px) - 24px)!important;
    min-height:420px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:auto!important;
    scrollbar-gutter:stable!important;
    padding-right:5px!important;
    align-self:start!important;
    contain:layout style!important;
  }
  /* Keep each section label fixed while only its content scrolls. */
  .rfos-updates-quotes>.rfos-managed-heading,
  .rfos-updates-main>.rfos-managed-heading,
  .rfos-updates-advertisements>.rfos-advertisement-heading{
    position:sticky!important;
    top:0!important;
    z-index:30!important;
    margin-top:0!important;
  }
  .rfos-updates-quotes>.rfos-managed-heading,
  .rfos-updates-main>.rfos-managed-heading{
    background:var(--background,#f5f7fb)!important;
    padding-top:8px!important;
  }
  .rfos-updates-advertisements>.rfos-advertisement-heading{
    background:linear-gradient(135deg,#031f54,#062d71)!important;
  }
}
@media (min-width:1301px) and (max-width:1720px){
  .rfos-updates-layout{
    grid-template-columns:minmax(370px,430px) minmax(700px,940px) minmax(280px,340px)!important;
    gap:20px!important;
  }
}
@media (min-width:1301px) and (max-width:1480px){
  .rfos-updates-layout{
    grid-template-columns:minmax(340px,390px) minmax(660px,860px) minmax(260px,320px)!important;
    gap:18px!important;
  }
}
@media(max-width:1050px){:root{--rfos-header-height:76px}}
@media(max-width:560px){:root{--rfos-header-height:72px}}

/* RFOS v4.1.15 — final monthly mobile/navigation + independent newsroom scroll stabilization. */
:root{--rfos-header-height:84px;--rfos-news-column-gap:38px}
.rfos-site-header{
  position:fixed!important;inset:0 0 auto 0!important;width:100%!important;
  z-index:2147483600!important;transform:translate3d(0,0,0)!important;
  -webkit-transform:translate3d(0,0,0)!important;backface-visibility:visible!important;
  -webkit-backface-visibility:visible!important;contain:paint style!important;
  isolation:isolate!important;transform:none!important;-webkit-transform:none!important;translate:none!important;
  will-change:auto!important;transition:none!important;animation:none!important;
}
.rfos-site-header,.rfos-site-header *{transition:none!important;animation:none!important}
body{padding-top:var(--rfos-header-height)!important}

/* Mobile brand/hamburger: title owns the remaining line; the button never covers it. */
@media(max-width:720px){
  .rfos-site-header .header-inner{
    display:grid!important;grid-template-columns:minmax(0,1fr) 52px!important;
    align-items:center!important;column-gap:8px!important;width:100%!important;
    min-height:68px!important;padding:7px 8px!important;flex-wrap:nowrap!important;
  }
  .rfos-site-header .logo-area{
    grid-column:1!important;display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;
    align-items:center!important;gap:7px!important;min-width:0!important;max-width:none!important;
    width:100%!important;overflow:hidden!important;
  }
  .rfos-site-header .brand-emblem,.rfos-site-header .logo-area>img:not(.brand-title-image){
    width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;object-fit:contain!important;
  }
  .rfos-site-header .brand-title-image{
    display:block!important;width:100%!important;max-width:100%!important;height:auto!important;
    max-height:39px!important;min-width:0!important;object-fit:contain!important;object-position:left center!important;
  }
  .rfos-site-header .menu-toggle{
    grid-column:2!important;display:flex!important;position:relative!important;inset:auto!important;
    width:50px!important;height:48px!important;min-width:50px!important;margin:0!important;padding:6px!important;
    align-items:center!important;justify-content:center!important;justify-self:end!important;z-index:2147483640!important;
    pointer-events:auto!important;touch-action:manipulation!important;
  }
  .rfos-site-header #mainNavigation{
    position:fixed!important;left:0!important;right:0!important;top:var(--rfos-header-height)!important;
    width:100%!important;max-height:calc(100dvh - var(--rfos-header-height))!important;
    overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;z-index:2147483500!important;
  }
  .rfos-site-header #mainNavigation.open{display:flex!important}
}
@media(max-width:390px){
  .rfos-site-header .header-inner{grid-template-columns:minmax(0,1fr) 47px!important;column-gap:6px!important;padding-inline:6px!important}
  .rfos-site-header .logo-area{grid-template-columns:39px minmax(0,1fr)!important;gap:5px!important}
  .rfos-site-header .brand-emblem,.rfos-site-header .logo-area>img:not(.brand-title-image){width:39px!important;height:39px!important;min-width:39px!important;max-width:39px!important}
  .rfos-site-header .brand-title-image{max-height:35px!important}
  .rfos-site-header .menu-toggle{width:45px!important;height:44px!important;min-width:45px!important}
}

/* Three-column newsroom. Publication card dimensions remain controlled by existing v4.1.10/v4.1.14 rules. */
@media(min-width:1301px){
  .container{padding-inline:38px!important}
  .rfos-updates-layout{
    display:grid!important;
    grid-template-columns:minmax(360px,1fr) minmax(660px,1070px) minmax(260px,360px)!important;
    column-gap:var(--rfos-news-column-gap)!important;row-gap:0!important;
    width:100%!important;max-width:none!important;margin:28px auto 0!important;
    align-items:start!important;justify-content:stretch!important;
  }
  .rfos-updates-quotes{grid-column:1!important;width:100%!important;max-width:none!important;justify-self:stretch!important}
  .rfos-updates-main{grid-column:2!important;width:100%!important;max-width:1070px!important;justify-self:center!important}
  .rfos-updates-advertisements{grid-column:3!important;width:100%!important;max-width:360px!important;justify-self:stretch!important;display:block!important}

  .rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements{
    position:sticky!important;top:calc(var(--rfos-header-height) + 12px)!important;
    height:var(--rfos-news-scroll-height,calc(100dvh - var(--rfos-header-height) - 24px))!important;
    max-height:var(--rfos-news-scroll-height,calc(100vh - var(--rfos-header-height) - 24px))!important;
    min-height:180px!important;overflow-y:auto!important;overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;
    overscroll-behavior:contain!important;scrollbar-gutter:stable!important;scroll-behavior:auto!important;
    touch-action:pan-y!important;align-self:start!important;padding-right:4px!important;
  }
  .rfos-updates-quotes>.rfos-managed-heading,
  .rfos-updates-main>.rfos-managed-heading,
  .rfos-updates-advertisements>.rfos-advertisement-heading{
    position:sticky!important;top:0!important;z-index:50!important;margin:0 0 18px!important;
  }
  .rfos-updates-quotes>.rfos-managed-heading,.rfos-updates-main>.rfos-managed-heading{
    background:var(--background,#f5f7fb)!important;padding-top:8px!important;
  }
  .rfos-updates-advertisements>.rfos-advertisement-heading{
    width:100%!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important;
    background:linear-gradient(135deg,#031f54,#062d71)!important;
  }
}
@media(min-width:1301px) and (max-width:1480px){
  .rfos-updates-layout{grid-template-columns:minmax(330px,1fr) minmax(650px,860px) minmax(250px,320px)!important;column-gap:28px!important}
}
@media(max-width:1300px){
  .rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements{height:auto!important;max-height:none!important;overflow:visible!important;position:relative!important;top:auto!important}
}
\n\n/* RFOS v4.1.16 — final mobile controls + newsroom edge alignment. */
/* IMPORTANT: do not use paint/layout containment on the protected header: it clips
   the fixed mobile navigation and language panel. */
.rfos-site-header{
  contain:none!important;
  overflow:visible!important;
  isolation:isolate!important;
  transform:none!important;
  -webkit-transform:none!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
}
.rfos-site-header .header-inner{overflow:visible!important}
#languagePanel.translate-row{
  position:fixed!important;
  z-index:2147483646!important;
  max-height:min(70vh,520px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
@media(max-width:720px){
  .rfos-site-header .menu-toggle{pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important}
  .rfos-site-header #mainNavigation{
    position:fixed!important;
    left:0!important;right:0!important;
    top:var(--rfos-header-height,72px)!important;
    width:100vw!important;
    height:calc(100dvh - var(--rfos-header-height,72px))!important;
    max-height:calc(100dvh - var(--rfos-header-height,72px))!important;
    z-index:2147483620!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
  }
  .rfos-site-header #mainNavigation.open{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
  #languagePanel.translate-row.open{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
}
/* Keep the publication sheet dimensions exactly as inherited from v4.1.15.
   Only the side columns and spacing are corrected. */
@media(min-width:1301px){
  .rfos-updates-container{width:100%!important;max-width:none!important;padding-left:38px!important;padding-right:38px!important;box-sizing:border-box!important}
  .rfos-updates-layout{
    width:100%!important;max-width:none!important;
    grid-template-columns:minmax(390px,1fr) minmax(660px,1070px) minmax(300px,1fr)!important;
    column-gap:38px!important;
    justify-content:stretch!important;
  }
  .rfos-updates-quotes{justify-self:stretch!important;max-width:none!important;margin-left:0!important}
  .rfos-updates-main{max-width:1070px!important;justify-self:center!important}
  .rfos-updates-advertisements{justify-self:stretch!important;max-width:none!important;margin-right:0!important}
  .rfos-updates-quotes>.rfos-managed-heading,
  .rfos-updates-advertisements>.rfos-advertisement-heading{
    width:100%!important;text-align:center!important;margin-left:auto!important;margin-right:auto!important;
  }
  /* The pointer stays inside a column: reaching an edge must not chain-scroll the page. */
  .rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements{overscroll-behavior:contain!important;}
}


/* RFOS v4.1.17 — mobile navigation and language overlay hardening. */
.rfos-site-header{overflow:visible!important;contain:none!important;isolation:auto!important}
.rfos-site-header .header-inner{overflow:visible!important}
.rfos-site-header .menu-toggle{position:relative!important;z-index:2147483600!important;pointer-events:auto!important;touch-action:manipulation!important}
#languagePanel.translate-row{
  position:fixed!important;
  z-index:2147483647!important;
  isolation:isolate!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  max-height:min(70vh,520px)!important;
  box-sizing:border-box!important;
}
@media(max-width:720px){
  html.rfos-menu-open,body.rfos-menu-open{overflow:hidden!important}
  body.rfos-menu-open #mainNavigation,
  .rfos-site-header #mainNavigation.open{
    display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
    position:fixed!important;left:0!important;right:0!important;
    top:var(--rfos-header-height,76px)!important;
    width:100vw!important;height:calc(100dvh - var(--rfos-header-height,76px))!important;
    max-height:calc(100dvh - var(--rfos-header-height,76px))!important;
    z-index:2147483500!important;
    overflow-y:auto!important;overflow-x:hidden!important;
  }
}

/* RFOS v4.1.18 — permanent protected header/footer shell.
   Header and footer never participate in document scrolling; all public navigation
   and reading happens inside the workspace between them. */
:root{--rfos-footer-height:112px}
html,body{height:100%!important;min-height:100%!important;overflow:hidden!important}
body.rfos-fixed-shell{padding:0!important;margin:0!important;overflow:hidden!important}
body.rfos-fixed-shell>.rfos-site-header{
  position:fixed!important;inset:0 0 auto 0!important;margin:0!important;
  z-index:2147483600!important;overflow:visible!important;contain:none!important;
  transform:translateZ(0)!important;-webkit-transform:translateZ(0)!important;
  transition:none!important;animation:none!important;
}
body.rfos-fixed-shell>.rfos-site-header,body.rfos-fixed-shell>.rfos-site-header *{
  transition:none!important;animation:none!important;
}
body.rfos-fixed-shell>.rfos-app-workspace{
  position:fixed!important;left:0!important;right:0!important;
  top:var(--rfos-header-height,84px)!important;
  bottom:var(--rfos-footer-height,112px)!important;
  height:auto!important;min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
  scrollbar-gutter:stable!important;z-index:1!important;background:var(--background,#f5f7fb);
}
body.rfos-fixed-shell>footer{
  position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;
  z-index:2147482500!important;margin:0!important;box-sizing:border-box!important;
  overflow:visible!important;transform:translateZ(0)!important;-webkit-transform:translateZ(0)!important;
  transition:none!important;animation:none!important;
}
/* Compact the fixed footer without changing protected wording. */
body.rfos-fixed-shell>footer{padding:10px 24px!important;display:grid!important;grid-template-columns:minmax(180px,1.1fr) auto auto;grid-template-areas:"brand motto email" "brand legal copy";column-gap:24px!important;row-gap:4px!important;align-items:center!important}
body.rfos-fixed-shell>footer .footer-brand{grid-area:brand!important;margin:0!important;text-align:left!important}
body.rfos-fixed-shell>footer .footer-brand-image{width:min(290px,100%)!important;height:auto!important;max-height:42px!important;object-fit:contain!important;object-position:left center!important}
body.rfos-fixed-shell>footer .footer-motto{grid-area:motto!important;margin:0!important;white-space:nowrap!important}
body.rfos-fixed-shell>footer .email{grid-area:email!important;margin:0!important;white-space:nowrap!important}
body.rfos-fixed-shell>footer .legal-links{grid-area:legal!important;margin:0!important;white-space:nowrap!important}
body.rfos-fixed-shell>footer .copy{grid-area:copy!important;margin:0!important;white-space:nowrap!important}

/* Mobile navigation is an overlay in the protected shell, not part of the scrolling workspace. */
@media(max-width:720px){
  :root{--rfos-footer-height:128px}
  body.rfos-fixed-shell>.rfos-site-header #mainNavigation,
  body.rfos-fixed-shell #mainNavigation.rfos-nav-portal{
    position:fixed!important;left:0!important;right:0!important;
    top:var(--rfos-header-height,72px)!important;
    bottom:var(--rfos-footer-height,128px)!important;
    width:100vw!important;height:auto!important;max-height:none!important;
    z-index:2147483550!important;overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
  }
  body.rfos-fixed-shell>.rfos-site-header #mainNavigation.open,
  body.rfos-fixed-shell #mainNavigation.rfos-nav-portal.open{
    display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  }
  body.rfos-fixed-shell>footer{padding:7px 10px!important;grid-template-columns:1fr 1fr!important;grid-template-areas:"brand brand" "motto email" "legal copy"!important;column-gap:8px!important;row-gap:3px!important;font-size:.72rem!important}
  body.rfos-fixed-shell>footer .footer-brand{text-align:center!important}
  body.rfos-fixed-shell>footer .footer-brand-image{width:min(230px,72vw)!important;max-height:34px!important;object-position:center!important}
  body.rfos-fixed-shell>footer :is(.footer-motto,.email,.legal-links,.copy){font-size:.72rem!important;line-height:1.2!important;text-align:center!important;white-space:normal!important}
}

/* Language chooser always floats above the fixed shell and below its trigger. */
body.rfos-fixed-shell>#languagePanel.translate-row{
  position:fixed!important;z-index:2147483647!important;display:none;
  background:#062d71!important;border:1px solid rgba(229,183,47,.75)!important;
  border-radius:12px!important;padding:9px!important;box-shadow:0 14px 34px rgba(0,20,60,.32)!important;
  overflow:visible!important;contain:none!important;
}
body.rfos-fixed-shell>#languagePanel.translate-row.open{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
body.rfos-fixed-shell>#languagePanel .translate-box{margin:0!important;padding:0!important;background:transparent!important}
body.rfos-fixed-shell>#languagePanel .site-language-select{width:100%!important;min-width:0!important;margin:0!important}

/* News workspace: protected publication width, equal 1 cm side gaps, independent columns. */
@media(min-width:1301px){
  body.rfos-news-shell .rfos-app-workspace{overflow-y:auto!important;overflow-x:hidden!important}
  body.rfos-news-shell .rfos-updates-container{
    width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;
    padding-left:1cm!important;padding-right:1cm!important;box-sizing:border-box!important;
  }
  body.rfos-news-shell .rfos-updates-layout{
    display:grid!important;width:100%!important;max-width:none!important;margin:20px 0 0!important;
    grid-template-columns:minmax(390px,1fr) minmax(660px,1070px) minmax(300px,1fr)!important;
    column-gap:1cm!important;row-gap:0!important;align-items:start!important;justify-content:stretch!important;
  }
  body.rfos-news-shell .rfos-updates-quotes{grid-column:1!important;width:100%!important;max-width:none!important;margin:0!important;justify-self:stretch!important}
  body.rfos-news-shell .rfos-updates-main{grid-column:2!important;width:100%!important;max-width:1070px!important;margin:0!important;justify-self:center!important}
  body.rfos-news-shell .rfos-updates-advertisements{grid-column:3!important;width:100%!important;max-width:none!important;margin:0!important;justify-self:stretch!important;display:block!important}
  body.rfos-news-shell .rfos-updates-quotes,
  body.rfos-news-shell .rfos-updates-main,
  body.rfos-news-shell .rfos-updates-advertisements{
    position:relative!important;top:auto!important;
    height:var(--rfos-news-scroll-height,520px)!important;max-height:var(--rfos-news-scroll-height,520px)!important;min-height:240px!important;
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;scrollbar-gutter:stable!important;scroll-behavior:auto!important;
    padding-right:4px!important;align-self:start!important;
  }
  body.rfos-news-shell .rfos-updates-quotes>.rfos-managed-heading,
  body.rfos-news-shell .rfos-updates-main>.rfos-managed-heading,
  body.rfos-news-shell .rfos-updates-advertisements>.rfos-advertisement-heading{
    position:sticky!important;top:0!important;z-index:70!important;width:100%!important;box-sizing:border-box!important;
    margin:0 0 18px!important;text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important;
  }
  body.rfos-news-shell .rfos-updates-quotes>.rfos-managed-heading,
  body.rfos-news-shell .rfos-updates-main>.rfos-managed-heading{background:var(--background,#f5f7fb)!important;padding:8px 0 10px!important}
  body.rfos-news-shell .rfos-updates-advertisements>.rfos-advertisement-heading{background:linear-gradient(135deg,#031f54,#062d71)!important}
}

/* Fixed-shell floating controls stay above the protected footer. */
body.rfos-fixed-shell .rfos-theme-toggle,
body.rfos-fixed-shell #rfosInstallApp{bottom:calc(var(--rfos-footer-height,112px) + 12px)!important}
@media(max-width:720px){body.rfos-fixed-shell .rfos-theme-toggle,body.rfos-fixed-shell #rfosInstallApp{bottom:calc(var(--rfos-footer-height,128px) + 10px)!important}}


/* RFOS v4.1.20 — final protected-footer clarity and quote-column cleanup. */
:root{--rfos-footer-height:136px}
body.rfos-fixed-shell>footer{
  min-height:136px!important;
  padding:14px 30px!important;
  grid-template-columns:minmax(300px,1.25fr) minmax(240px,.9fr) minmax(320px,1fr)!important;
  grid-template-areas:"brand motto email" "brand legal copy"!important;
  column-gap:30px!important;row-gap:8px!important;
  align-items:center!important;
  background:#00153d!important;
  color:#fff!important;
  opacity:1!important;
  box-shadow:0 -3px 14px rgba(0,21,61,.18)!important;
}
body.rfos-fixed-shell>footer .footer-brand-image{
  width:min(360px,100%)!important;max-height:54px!important;opacity:1!important;
}
body.rfos-fixed-shell>footer :is(.footer-motto,.email,.legal-links,.copy){
  opacity:1!important;visibility:visible!important;
  font-size:.92rem!important;line-height:1.38!important;
  letter-spacing:0!important;text-shadow:none!important;
}
body.rfos-fixed-shell>footer .footer-motto-label,
body.rfos-fixed-shell>footer .email{color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:700!important}
body.rfos-fixed-shell>footer .footer-motto-value,
body.rfos-fixed-shell>footer .email a,
body.rfos-fixed-shell>footer .legal-links a{color:var(--rfos-gold,#e5b72f)!important;-webkit-text-fill-color:var(--rfos-gold,#e5b72f)!important;font-weight:700!important;opacity:1!important}
body.rfos-fixed-shell>footer .copy{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:.82rem!important}
body.rfos-fixed-shell>footer .official-brand-text{opacity:1!important}
body.rfos-fixed-shell>footer .rfos-footer-rwanda{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.rfos-fixed-shell>footer .rfos-footer-freedom{color:var(--rfos-gold,#e5b72f)!important;-webkit-text-fill-color:var(--rfos-gold,#e5b72f)!important}

/* The quote column starts directly with the quote itself; no introductory banner. */
.rfos-updates-quotes .rfos-quotes-intro{display:none!important}
.rfos-updates-quotes .rfos-featured-quote{margin-top:0!important}

@media(max-width:900px){
  :root{--rfos-footer-height:160px}
  body.rfos-fixed-shell>footer{
    min-height:160px!important;padding:9px 12px!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:"brand brand" "motto email" "legal copy"!important;
    column-gap:10px!important;row-gap:6px!important;
  }
  body.rfos-fixed-shell>footer .footer-brand{text-align:center!important}
  body.rfos-fixed-shell>footer .footer-brand-image{width:min(270px,76vw)!important;max-height:40px!important;object-position:center!important}
  body.rfos-fixed-shell>footer :is(.footer-motto,.email,.legal-links,.copy){font-size:.75rem!important;line-height:1.28!important;text-align:center!important;white-space:normal!important}
  body.rfos-fixed-shell>footer .copy{font-size:.70rem!important}
  body.rfos-fixed-shell .rfos-theme-toggle,
  body.rfos-fixed-shell #rfosInstallApp{bottom:calc(var(--rfos-footer-height,160px) + 10px)!important}
}


/* RFOS v4.1.20 — compact protected footer + true mobile navigation portal.
   The protected header/footer remain fixed; mobile navigation and language UI
   are independent overlays above the workspace. Publication sizing unchanged. */
:root{--rfos-footer-height:94px}
body.rfos-fixed-shell>footer{
  height:94px!important;min-height:94px!important;max-height:94px!important;
  padding:8px 22px!important;
  grid-template-columns:minmax(250px,1.1fr) minmax(220px,.85fr) minmax(300px,1fr)!important;
  grid-template-areas:"brand motto email" "brand legal copy"!important;
  column-gap:22px!important;row-gap:2px!important;
  align-content:center!important;overflow:hidden!important;
  background:#00153d!important;color:#fff!important;
}
body.rfos-fixed-shell>footer .footer-brand-image{width:min(310px,100%)!important;max-height:38px!important}
body.rfos-fixed-shell>footer :is(.footer-motto,.email,.legal-links,.copy){margin:0!important;font-size:.78rem!important;line-height:1.18!important;opacity:1!important}
body.rfos-fixed-shell>footer .legal-links{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:4px 7px!important}
body.rfos-fixed-shell>footer .legal-links a{
  display:inline!important;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;text-decoration:none!important;
}
body.rfos-fixed-shell>footer .email a{overflow-wrap:anywhere!important;word-break:normal!important}
body.rfos-fixed-shell>footer .copy{font-size:.72rem!important}

/* Keep both protected overlays above the fixed footer and page bands. */
body>#languagePanel.translate-row{z-index:2147483647!important;isolation:isolate!important}
body>#mainNavigation.rfos-nav-portal{z-index:2147483645!important;isolation:isolate!important}

@media(max-width:720px){
  :root{--rfos-footer-height:110px}
  body.rfos-fixed-shell>footer{
    height:110px!important;min-height:110px!important;max-height:110px!important;
    padding:5px 8px!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:"brand brand" "motto email" "legal copy"!important;
    column-gap:7px!important;row-gap:2px!important;align-content:center!important;
  }
  body.rfos-fixed-shell>footer .footer-brand{margin:0!important;line-height:1!important;text-align:center!important}
  body.rfos-fixed-shell>footer .footer-brand-image{width:min(225px,70vw)!important;max-height:27px!important;object-position:center!important}
  body.rfos-fixed-shell>footer :is(.footer-motto,.email,.legal-links,.copy){
    margin:0!important;font-size:.62rem!important;line-height:1.12!important;text-align:center!important;
    white-space:normal!important;overflow:visible!important;
  }
  body.rfos-fixed-shell>footer .email a{font-size:.60rem!important;overflow-wrap:anywhere!important}
  body.rfos-fixed-shell>footer .copy{font-size:.58rem!important}
  body.rfos-fixed-shell>footer .legal-links{display:flex!important;gap:2px 5px!important;justify-content:center!important}
  body.rfos-fixed-shell>footer .legal-links a{font-size:.62rem!important;line-height:1.1!important}
  body.rfos-fixed-shell .rfos-theme-toggle,
  body.rfos-fixed-shell #rfosInstallApp{bottom:calc(var(--rfos-footer-height,110px) + 8px)!important}

  /* Navigation is portalled to BODY on phones, so no header ancestor can clip it. */
  body>#mainNavigation.rfos-nav-portal{
    display:none!important;position:fixed!important;
    left:0!important;right:0!important;top:var(--rfos-header-height,72px)!important;
    bottom:var(--rfos-footer-height,110px)!important;width:100vw!important;height:auto!important;max-height:none!important;
    padding:12px!important;margin:0!important;box-sizing:border-box!important;
    flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:5px!important;
    background:linear-gradient(145deg,#062f7c,#0b45bd)!important;
    box-shadow:0 18px 38px rgba(0,0,0,.30)!important;
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
  }
  body>#mainNavigation.rfos-nav-portal.open{
    display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  }
  body>#mainNavigation.rfos-nav-portal>a{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;min-height:44px!important;padding:10px 14px!important;margin:0!important;
    border-radius:8px!important;color:#fff!important;background:rgba(255,255,255,.06)!important;
    font-size:1rem!important;font-weight:700!important;text-decoration:none!important;box-sizing:border-box!important;
  }
  body>#mainNavigation.rfos-nav-portal>a.active,
  body>#mainNavigation.rfos-nav-portal>a:hover{color:var(--rfos-gold,#e5b72f)!important;background:rgba(255,255,255,.14)!important}
  body>#mainNavigation.rfos-nav-portal>.language-toggle{
    position:static!important;display:flex!important;width:100%!important;min-height:46px!important;height:auto!important;
    margin:2px 0 0!important;padding:10px 14px!important;justify-content:flex-start!important;
    grid-column:auto!important;grid-row:auto!important;z-index:auto!important;
  }
  body>#mainNavigation.rfos-nav-portal .language-button-text{display:inline!important;font-size:1rem!important}

  /* Language panel is a body-level overlay, below its button and above every blue band. */
  body>#languagePanel.translate-row{
    position:fixed!important;display:none;max-height:min(52dvh,420px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;contain:none!important;
  }
  body>#languagePanel.translate-row.open{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
}


/* RFOS v4.1.21 — final polish: standard mobile Language button, entertainment space recovery,
   high-contrast News dark mode and calmer fixed-shell scrolling. Publication dimensions unchanged. */

/* Mobile Language is visually identical to the other menu actions: no oval/circle treatment. */
@media(max-width:720px){
  body>#mainNavigation.rfos-nav-portal>.language-toggle{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;min-height:44px!important;height:auto!important;
    margin:0!important;padding:10px 14px!important;
    border:0!important;border-radius:8px!important;
    background:rgba(255,255,255,.06)!important;color:#fff!important;
    box-shadow:none!important;outline-offset:2px!important;
    gap:9px!important;font-size:1rem!important;font-weight:700!important;
  }
  body>#mainNavigation.rfos-nav-portal>.language-toggle:hover,
  body>#mainNavigation.rfos-nav-portal>.language-toggle:focus-visible{
    background:rgba(255,255,255,.14)!important;color:var(--rfos-gold,#e5b72f)!important;
  }
  body>#mainNavigation.rfos-nav-portal>.language-toggle .language-globe{
    display:inline!important;font-size:1.2rem!important;line-height:1!important;
    width:auto!important;height:auto!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
  }
  body>#mainNavigation.rfos-nav-portal>.language-toggle .language-button-text{
    display:inline!important;font-size:1rem!important;color:inherit!important;
  }
}

/* Entertainment begins directly with the challenge content; the decorative discovery banner is gone. */
#rfosDiscovery>.rfos-discovery-head{display:none!important}
#rfosDiscovery{padding-top:0!important;margin-top:20px!important}

/* Repeated support CTA blocks are intentionally retired; Support remains in navigation and its own page. */
.rfos-support-cta{display:none!important}

/* News/Publication dark mode: preserve RFOS blue/gold identity while keeping all text readable. */
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-updates-container,
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-updates-layout{background:#07111f!important;color:#f4f7fc!important}
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-updates-quotes>.rfos-managed-heading,
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-updates-main>.rfos-managed-heading{
  background:#07111f!important;color:var(--rfos-gold,#e5b72f)!important;-webkit-text-fill-color:var(--rfos-gold,#e5b72f)!important;
}
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-updates-quotes>.rfos-managed-heading::after,
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-updates-main>.rfos-managed-heading::after{
  background:var(--rfos-gold,#e5b72f)!important;
}
html[data-rfos-theme="dark"] body.rfos-news-shell #newsFeed .rfos-publication,
html[data-rfos-theme="dark"] body.rfos-news-shell #newsFeed .rfos-news-card:not(.rfos-open){
  background:#14243a!important;background-image:none!important;color:#f4f7fc!important;
  border-color:#49617f!important;box-shadow:0 10px 28px rgba(0,0,0,.28)!important;
}
html[data-rfos-theme="dark"] body.rfos-news-shell #newsFeed .rfos-publication :is(h2,h3,strong),
html[data-rfos-theme="dark"] body.rfos-news-shell #newsFeed .rfos-news-card:not(.rfos-open)>h2{
  color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;
}
html[data-rfos-theme="dark"] body.rfos-news-shell #newsFeed :is(.rfos-meta,.rfos-publication-date){
  color:#d5deeb!important;-webkit-text-fill-color:#d5deeb!important;
}
html[data-rfos-theme="dark"] body.rfos-news-shell #newsFeed :is(.rfos-body,.rfos-body p,.rfos-body li,.rfos-image-figure figcaption){
  color:#eef4ff!important;-webkit-text-fill-color:#eef4ff!important;
}
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-earlier-heading,
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-archive-heading{
  color:var(--rfos-gold,#e5b72f)!important;-webkit-text-fill-color:var(--rfos-gold,#e5b72f)!important;
}
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-updates-advertisements{color:#eef4ff!important}
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-updates-advertisements :is(p,a,small){color:#eef4ff!important}
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-updates-advertisements a{color:#9bc2ff!important}

/* Fixed-shell scroll stability: scrolling stays inside the intended workspace without animation jitter. */
body.rfos-fixed-shell .rfos-app-workspace,
body.rfos-news-shell :is(.rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements){
  scroll-behavior:auto!important;overscroll-behavior:contain!important;overflow-anchor:none!important;
}
body.rfos-fixed-shell>.rfos-site-header,
body.rfos-fixed-shell>footer{animation:none!important;transition:none!important;will-change:auto!important}
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-news-archive>header{
  background:linear-gradient(135deg,#031f54,#0d4ca6)!important;
  border-color:#355a92!important;
}
html[data-rfos-theme="dark"] body.rfos-news-shell .rfos-news-archive>header h3{
  color:var(--rfos-gold,#e5b72f)!important;-webkit-text-fill-color:var(--rfos-gold,#e5b72f)!important;
}


/* RFOS v4.1.22 — performance, home-space, contact dark-mode and scroll-resilience pass.
   Protected publication sizing and content remain unchanged. */

/* Home: reclaim the space formerly occupied by the repeated Support CTA and use the available workspace. */
html[data-page-title="Home"] body.rfos-fixed-shell .rfos-app-workspace main{min-height:100%!important}
html[data-page-title="Home"] body.rfos-fixed-shell .rfos-app-workspace main>.container{
  width:100%!important;max-width:none!important;margin:0!important;
  padding-left:clamp(16px,3vw,48px)!important;padding-right:clamp(16px,3vw,48px)!important;
  padding-bottom:clamp(24px,4vh,54px)!important;
}
@media(min-width:1180px){
  html[data-page-title="Home"] .entertainment-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(18px,2vw,30px)!important}
  html[data-page-title="Home"] .entertainment-intro{max-width:1100px!important}
}
@media(max-width:1179px) and (min-width:721px){
  html[data-page-title="Home"] .entertainment-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Contact Us: high-contrast small cards/links in dark mode. */
html[data-rfos-theme="dark"][data-page-title="Contact Us"] :is(.contact-card,.social-section,.v3-section){
  color:#f4f7fc!important;border-color:#4d678b!important;
}
html[data-rfos-theme="dark"][data-page-title="Contact Us"] .contact-card{
  background:#14243a!important;box-shadow:0 8px 24px rgba(0,0,0,.30)!important;
}
html[data-rfos-theme="dark"][data-page-title="Contact Us"] :is(.contact-card h2,.social-section h2,.v3-section h2){
  color:var(--rfos-gold,#e5b72f)!important;-webkit-text-fill-color:var(--rfos-gold,#e5b72f)!important;
}
html[data-rfos-theme="dark"][data-page-title="Contact Us"] :is(.contact-card p,.response-note,.social-intro,.v3-lead,.v3-help){
  color:#e3eaf4!important;-webkit-text-fill-color:#e3eaf4!important;
}
html[data-rfos-theme="dark"][data-page-title="Contact Us"] .email-link,
html[data-rfos-theme="dark"][data-page-title="Contact Us"] .social-big a{
  background:#1b3150!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  border:1px solid #5d789e!important;box-shadow:none!important;
}
html[data-rfos-theme="dark"][data-page-title="Contact Us"] :is(.email-link,.social-big a):hover,
html[data-rfos-theme="dark"][data-page-title="Contact Us"] :is(.email-link,.social-big a):focus-visible{
  background:#24446f!important;color:var(--rfos-gold,#e5b72f)!important;-webkit-text-fill-color:var(--rfos-gold,#e5b72f)!important;
}
html[data-rfos-theme="dark"][data-page-title="Contact Us"] :is(.v3-field input,.v3-field select,.v3-field textarea,.file-picker,.v3-notice,.v3-checkline){
  background:#111f33!important;color:#f4f7fc!important;border-color:#587295!important;
}

/* Scroll resilience on desktop and mobile.  The workspace must always remain pannable. */
body.rfos-fixed-shell .rfos-app-workspace{
  overflow-y:auto!important;overflow-x:hidden!important;scroll-behavior:auto!important;
  overscroll-behavior-y:auto!important;touch-action:pan-y pinch-zoom!important;
  -webkit-overflow-scrolling:touch!important;overflow-anchor:auto!important;
}
body.rfos-news-shell :is(.rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements){
  touch-action:pan-y pinch-zoom!important;-webkit-overflow-scrolling:touch!important;
  scroll-behavior:auto!important;overflow-anchor:auto!important;
}
@media(min-width:1301px){
  body.rfos-news-shell :is(.rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements){overscroll-behavior-y:contain!important}
}
@media(max-width:1300px){
  body.rfos-news-shell :is(.rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements){overscroll-behavior-y:auto!important}
}

/* Render off-screen publication cards lazily without changing their dimensions. */
body.rfos-news-shell #newsFeed>.rfos-publication,
body.rfos-news-shell #newsFeed .rfos-news-card,
html[data-page-title="Home"] .entertainment-card{
  content-visibility:auto;
  contain-intrinsic-size:auto 280px;
}

/* Avoid transition work during normal scrolling. */
body.rfos-fixed-shell.scrolling :is(.entertainment-card,.rfos-publication,.rfos-news-card,.social-big a){transition:none!important}


/* RFOS v4.1.23 — social preview, centred Home layout and speed consolidation. */
html[data-page-title="Home"] body.rfos-fixed-shell .rfos-app-workspace main>.container{
  width:min(1120px,calc(100% - 32px))!important;max-width:1120px!important;margin-inline:auto!important;
  padding-left:0!important;padding-right:0!important;padding-bottom:clamp(20px,3vh,40px)!important;
}
html[data-page-title="Home"] .entertainment-intro{max-width:960px!important;margin-left:auto!important;margin-right:auto!important}
@media(min-width:760px){
 html[data-page-title="Home"] .entertainment-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(16px,1.7vw,24px)!important;width:100%!important;margin-inline:auto!important}
 html[data-page-title="Home"] .entertainment-card{min-height:0!important;height:100%!important}
}
@media(max-width:759px){
 html[data-page-title="Home"] body.rfos-fixed-shell .rfos-app-workspace main>.container{width:calc(100% - 24px)!important}
 html[data-page-title="Home"] .entertainment-grid{grid-template-columns:1fr!important}
}
body.rfos-fixed-shell .rfos-app-workspace{scroll-behavior:auto!important}


/* RFOS v4.1.24 — social-preview cache freshness, protected chrome stability,
   and no-English-flash language continuity. */

/* Keep protected chrome on dedicated fixed layers during zoom/reflow.  Browser
   accessibility zoom remains available; these rules prevent the header/footer
   from joining the scrolling workspace or animating during viewport changes. */
body.rfos-fixed-shell>.rfos-site-header,
body.rfos-fixed-shell>footer{
  position:fixed!important;
  left:0!important;right:0!important;
  transform:translateZ(0)!important;
  -webkit-transform:translateZ(0)!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  animation:none!important;transition:none!important;
  will-change:auto!important;
  isolation:isolate!important;
}
body.rfos-fixed-shell>.rfos-site-header{top:0!important;z-index:2147483000!important}
body.rfos-fixed-shell>footer{bottom:0!important;z-index:2147482000!important}

/* When a saved non-English language is active, never paint the English body
   first.  Protected chrome remains visible while Google restores the language. */
html.rfos-language-pending body>.rfos-app-workspace,
html.rfos-language-pending body>main,
html.rfos-language-pending body>.page-header{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:none!important;
  animation:none!important;
}
html:not(.rfos-language-pending) body>.rfos-app-workspace{
  visibility:visible!important;
  opacity:1!important;
}


/* RFOS v4.1.25 — protected chrome geometry under browser zoom/reflow.
   Accessibility zoom remains enabled. Fixed chrome never participates in workspace sizing. */
body.rfos-fixed-shell>.rfos-site-header,
body.rfos-fixed-shell>footer{
  box-sizing:border-box!important;
  width:100vw!important;max-width:100vw!important;min-width:0!important;
  margin:0!important;inset-inline:0!important;
  overflow-x:clip!important;
  contain:layout paint style!important;
  transform:translate3d(0,0,0)!important;-webkit-transform:translate3d(0,0,0)!important;
}
body.rfos-fixed-shell>.rfos-site-header .header-inner,
body.rfos-fixed-shell>footer .footer-inner{
  box-sizing:border-box!important;width:min(100%,1440px)!important;max-width:100%!important;margin-inline:auto!important;
}
@media(max-width:720px){
 body.rfos-fixed-shell>.rfos-site-header,body.rfos-fixed-shell>footer{contain:layout style!important}
}


/* RFOS v4.1.28 — final navigation/scroll/zoom/paint stability pass.
   Publication card dimensions are deliberately untouched. */
html,body{max-width:100%;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}
body.rfos-fixed-shell>.rfos-site-header,
body.rfos-fixed-shell>footer{
  transform:translateZ(0)!important;
  -webkit-transform:translateZ(0)!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  will-change:transform!important;
  animation:none!important;
  transition:none!important;
}
/* Keep every page title visually attached to the protected header while the workspace scrolls. */
body.rfos-fixed-shell .rfos-app-workspace .page-header{
  position:sticky!important;
  top:0!important;
  z-index:260!important;
  margin-top:0!important;
  transform:translateZ(0)!important;
  -webkit-transform:translateZ(0)!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  animation:none!important;
  transition:none!important;
}
/* The fixed-shell workspace is the only page scroll surface. */
body.rfos-fixed-shell{overflow:hidden!important}
body.rfos-fixed-shell .rfos-app-workspace{
  overscroll-behavior:contain!important;
  scroll-behavior:auto!important;
  overflow-anchor:none!important;
}
/* News columns sit below the sticky page-title band, not below the already-fixed site header. */
@media(min-width:1301px){
  body.rfos-news-shell :is(.rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements){
    top:calc(var(--rfos-page-band-height,76px) + 10px)!important;
    height:var(--rfos-news-scroll-height,calc(100dvh - var(--rfos-header-height,84px) - var(--rfos-footer-height,94px) - var(--rfos-page-band-height,76px) - 20px))!important;
    max-height:var(--rfos-news-scroll-height,calc(100dvh - var(--rfos-header-height,84px) - var(--rfos-footer-height,94px) - var(--rfos-page-band-height,76px) - 20px))!important;
    overscroll-behavior-y:contain!important;
    scroll-behavior:auto!important;
  }
}
/* Remove paint-lazy card behaviour that could visibly pop/flicker on News and Entertainment. */
body.rfos-news-shell #newsFeed>.rfos-publication,
body.rfos-news-shell #newsFeed .rfos-news-card,
html[data-page-title="Entertainment"] .entertainment-card,
html[data-page-title="Entertainment"] .rfos-challenge-shell{
  content-visibility:visible!important;
  contain-intrinsic-size:none!important;
}
/* Do not animate managed content during page entry or ordinary scrolling. */
html[data-page-title="News updates"] :is(.rfos-publication,.rfos-news-card,.rfos-news-preview,.rfos-managed-heading),
html[data-page-title="Entertainment"] :is(.entertainment-card,.rfos-challenge-shell,.rfos-quiz-card,.rfos-story-card){
  animation:none!important;
  transition:none!important;
}
/* Prevent iOS focus-auto-zoom where controls are editable/selectable. */
@media(max-width:1024px){
  input,select,textarea,button{font-size:max(16px,1em)}
}
/* Mobile/tablet RFOS kiosk-style scale stability requested by the owner. */
@media(max-width:1024px){
  html,body,body.rfos-fixed-shell,body.rfos-fixed-shell .rfos-app-workspace,
  body.rfos-fixed-shell>.rfos-site-header,body.rfos-fixed-shell>footer{
    touch-action:pan-y!important;
  }
}


/* RFOS v4.1.29 — targeted polish only; protected layout sizes unchanged. */


/* RFOS v4.1.33 — narrowly scoped final stabilization.
   Protects the stable v4.1.29/30 presentation; no publication/Awareness/X Spaces card sizes are changed. */

/* Protected chrome: fixed, non-animated compositor layers; do not clip mobile overlays. */
body.rfos-fixed-shell>.rfos-site-header,
body.rfos-fixed-shell>footer{
  position:fixed!important;left:0!important;right:0!important;margin:0!important;
  transform:translate3d(0,0,0)!important;-webkit-transform:translate3d(0,0,0)!important;
  backface-visibility:hidden!important;-webkit-backface-visibility:hidden!important;
  animation:none!important;transition:none!important;isolation:isolate!important;
  contain:layout style!important;
}
body.rfos-fixed-shell>.rfos-site-header{top:0!important}
body.rfos-fixed-shell>footer{bottom:0!important}
body.rfos-fixed-shell .rfos-app-workspace{scroll-behavior:auto!important;overflow-anchor:none!important}

/* News only: one-centimetre reading gap and premium blue/gold section banners. */
html[data-page-title="News updates"] .update-search-help{display:none!important}
html[data-page-title="News updates"] .rfos-updates-layout{margin-top:1cm!important}
html[data-page-title="News updates"] .rfos-updates-quotes>.rfos-managed-heading,
html[data-page-title="News updates"] .rfos-updates-main>.rfos-managed-heading,
html[data-page-title="News updates"] .rfos-updates-advertisements>.rfos-advertisement-heading{
  box-sizing:border-box!important;width:100%!important;min-height:54px!important;
  margin:0 0 18px!important;padding:11px 16px!important;border-radius:14px!important;
  background:linear-gradient(135deg,#031f54,#062d71)!important;
  color:#e5b72f!important;-webkit-text-fill-color:#e5b72f!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;box-shadow:0 8px 20px rgba(0,31,91,.16)!important;
}
html[data-page-title="News updates"] .rfos-updates-quotes>.rfos-managed-heading::after,
html[data-page-title="News updates"] .rfos-updates-main>.rfos-managed-heading::after{display:none!important;content:none!important}

/* Desktop newsroom: three genuine, contained scrollports. Publication card dimensions are untouched. */
@media(min-width:1301px){
  html[data-page-title="News updates"] .rfos-updates-quotes,
  html[data-page-title="News updates"] .rfos-updates-main,
  html[data-page-title="News updates"] .rfos-updates-advertisements{
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;overscroll-behavior-x:none!important;
    -webkit-overflow-scrolling:touch!important;scroll-behavior:auto!important;
    scrollbar-gutter:stable!important;
  }
  html[data-page-title="News updates"] .rfos-updates-quotes>.rfos-managed-heading,
  html[data-page-title="News updates"] .rfos-updates-main>.rfos-managed-heading,
  html[data-page-title="News updates"] .rfos-updates-advertisements>.rfos-advertisement-heading{
    position:sticky!important;top:0!important;z-index:50!important;
  }
}
@media(max-width:1050px){
  html[data-page-title="News updates"] .rfos-updates-layout{margin-top:20px!important}
}
@media(max-width:620px){
  html[data-page-title="News updates"] .rfos-updates-layout{margin-top:14px!important}
}


/* RFOS v4.1.34 — mobile accessibility + X Spaces dark mode + newsroom banner polish.
   Deliberately scoped: no publication, Awareness, quote-card, or X Spaces sheet dimensions change. */

/* News: keep Quotes/Advertisement in premium dark RFOS blue, but make Latest Publications
   the brighter RFOS blue accent requested by the owner. */
html[data-page-title="News updates"] .rfos-updates-main>.rfos-managed-heading{
  background:linear-gradient(135deg,#0b43a8,#1263d8)!important;
  color:#e5b72f!important;-webkit-text-fill-color:#e5b72f!important;
}
html[data-page-title="News updates"] .rfos-updates-quotes>.rfos-managed-heading,
html[data-page-title="News updates"] .rfos-updates-advertisements>.rfos-advertisement-heading{
  background:linear-gradient(135deg,#031f54,#062d71)!important;
}

/* X Spaces: complete dark-mode surfaces without changing card geometry. */
html[data-rfos-theme="dark"][data-page-title="X Spaces"] body,
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .rfos-app-workspace{
  background:#07111f!important;color:#f5f7fb!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] :is(.intro,.published-spaces,.account-section){
  background:#0e1a2c!important;border-color:#174eaa!important;color:#f7f9ff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.30)!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] :is(.intro h2,.published-spaces>h2,.account-section>h2,.space-card h2,.space-card h3,.published-space-body h3){
  color:#e5b72f!important;-webkit-text-fill-color:#e5b72f!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] :is(.intro p,.space-card p,.published-space-description,.published-space-meta,.account-section p){
  color:#eef3ff!important;-webkit-text-fill-color:#eef3ff!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] :is(.space-card,.published-space-card){
  background:#13233a!important;border-color:#31527f!important;color:#fff!important;
  box-shadow:0 7px 22px rgba(0,0,0,.28)!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .published-space-media{background:#0a1627!important}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .published-space-type{
  background:#0b347b!important;color:#f2c44f!important;-webkit-text-fill-color:#f2c44f!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .notice{
  background:#10233e!important;border-left-color:#2d6dd0!important;color:#f4f7ff!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .x-button{
  background:#051022!important;color:#fff!important;border:1px solid #31527f!important;
}

/* Mobile/tablet footer auto-hide: the protected footer stays intact, but leaves the reading
   viewport while the visitor moves forward through content and returns on reverse scroll/end. */
@media(max-width:1180px){
  body.rfos-fixed-shell.rfos-footer-autohide>footer{
    transition:transform .16s ease-out!important;
    will-change:transform!important;
  }
  body.rfos-fixed-shell.rfos-footer-autohide.rfos-footer-hidden>footer{
    transform:translate3d(0,110%,0)!important;
  }
  body.rfos-fixed-shell.rfos-footer-autohide.rfos-footer-hidden .rfos-app-workspace{
    bottom:0!important;
  }
  body.rfos-fixed-shell.rfos-footer-autohide.rfos-footer-hidden :is(.rfos-theme-toggle,#rfosInstallApp){
    bottom:12px!important;
  }
}
/* Managed X Space card generated by cms-render.js. */
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .rfos-publication.rfos-spaces-card{
  background:#13233a!important;border-color:#31527f!important;color:#fff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.30)!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .rfos-publication.rfos-spaces-card :is(h2,.rfos-news-preview-title){
  color:#e5b72f!important;-webkit-text-fill-color:#e5b72f!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .rfos-publication.rfos-spaces-card :is(.rfos-meta,.rfos-meta span,.rfos-body,.rfos-body p,.rfos-news-preview-copy p,.rfos-founder-note p,.rfos-founder-note span){
  color:#edf3ff!important;-webkit-text-fill-color:#edf3ff!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .rfos-publication.rfos-spaces-card :is(.rfos-news-preview,.rfos-founder-note){
  background:#0e1b30!important;border-color:#31527f!important;
}
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .rfos-publication.rfos-spaces-card .rfos-read-cue,
html[data-rfos-theme="dark"][data-page-title="X Spaces"] .rfos-publication.rfos-spaces-card .rfos-action{
  color:#e5b72f!important;-webkit-text-fill-color:#e5b72f!important;
}

/* RFOS v4.1.36 — newsroom spacing + full-column scroll reach.
   Scoped to News Updates only. Protected publication/card geometry is untouched. */
html[data-page-title="News updates"] .update-tools{
  margin-bottom:0!important;
}
html[data-page-title="News updates"] .rfos-updates-layout{
  margin-top:1cm!important;
}
@media(min-width:1301px){
  html[data-page-title="News updates"] :is(.rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements){
    height:var(--rfos-news-scroll-height)!important;
    max-height:var(--rfos-news-scroll-height)!important;
    min-height:240px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;
    scrollbar-gutter:stable!important;
    padding-bottom:18px!important;
    box-sizing:border-box!important;
  }
}
@media(max-width:1050px){
  html[data-page-title="News updates"] .rfos-updates-layout{margin-top:20px!important}
}
@media(max-width:620px){
  html[data-page-title="News updates"] .rfos-updates-layout{margin-top:14px!important}
}
