
/* RFOS v4.1.36.1 — scoped stability repair built only from v4.1.36.
   This file intentionally changes only: footer motion stability, News Search spacing,
   and dark-mode title/surface consistency. It does not alter publication geometry,
   Awareness layout, X Spaces dimensions, mobile header/menu, or protected wording. */

/* Footer auto-hide stability: keep the protected shell geometry constant while the
   footer moves. Never resize the workspace or move floating controls during hide/show. */
@media (max-width:1180px){
  body.rfos-fixed-shell.rfos-footer-autohide>footer{
    transition:transform .22s cubic-bezier(.2,.7,.2,1)!important;
    will-change:transform!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
  }
  body.rfos-fixed-shell.rfos-footer-autohide.rfos-footer-hidden>footer{
    transform:translate3d(0,105%,0)!important;
  }
  body.rfos-fixed-shell.rfos-footer-autohide.rfos-footer-hidden .rfos-app-workspace{
    bottom:var(--rfos-footer-height,56px)!important;
  }
}

/* News Updates: preserve the v4.1.36 publication/card geometry and create one real
   centimetre between the Search tools and the three content columns on wide screens. */
@media (min-width:1301px){
  html[data-page-title="News updates"] .rfos-updates-layout{
    margin-top:1cm!important;
  }
}

/* News Updates dark mode: only colour/contrast. No dimensions or grid geometry. */
html[data-rfos-theme="dark"][data-page-title="News updates"] .rfos-updates-quotes>.rfos-managed-heading,
html[data-rfos-theme="dark"][data-page-title="News updates"] .rfos-updates-advertisements>.rfos-advertisement-heading{
  background:linear-gradient(135deg,#031f54,#062d71)!important;
  color:#e5b72f!important;
  -webkit-text-fill-color:#e5b72f!important;
}
html[data-rfos-theme="dark"][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-rfos-theme="dark"][data-page-title="News updates"] .rfos-updates-main #newsFeed .rfos-publication{
  background:#111f34!important;
  border-color:#31527f!important;
  color:#f5f7fb!important;
}
html[data-rfos-theme="dark"][data-page-title="News updates"] .rfos-updates-main #newsFeed .rfos-news-preview-title,
html[data-rfos-theme="dark"][data-page-title="News updates"] .rfos-updates-main #newsFeed h2{
  color:#f2c44f!important;
  -webkit-text-fill-color:#f2c44f!important;
}
html[data-rfos-theme="dark"][data-page-title="News updates"] .rfos-updates-main #newsFeed :is(.rfos-meta,.rfos-meta span,.rfos-news-preview-copy,.rfos-news-preview-copy p,.rfos-body,.rfos-body p){
  color:#eef3ff!important;
  -webkit-text-fill-color:#eef3ff!important;
}

/* X Spaces dark mode: colour/contrast only, keeping every stable v4.1.36 dimension. */
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:#31527f!important;
  color:#f7f9ff!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:#f2c44f!important;
  -webkit-text-fill-color:#f2c44f!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;
}


/* RFOS v4.1.36.2 — two-point stability patch requested by owner.
   1) News: make the visible Search-to-columns gap exactly one centimetre by
      removing the inherited desktop top offset from the three columns.
   2) Mobile/tablet: when the protected footer auto-hides, let the reading
      workspace occupy the vacated footer area. No card/layout geometry is changed. */
@media (min-width:1301px){
  html[data-page-title="News updates"] .rfos-updates-layout{
    margin-top:1cm!important;
  }
  body.rfos-news-shell :is(.rfos-updates-quotes,.rfos-updates-main,.rfos-updates-advertisements){
    top:auto!important;
  }
}
@media (max-width:1180px){
  body.rfos-fixed-shell.rfos-footer-autohide.rfos-footer-hidden .rfos-app-workspace{
    bottom:0!important;
  }
}

/* RFOS v4.1.36.6 — News date alignment only.
   The featured folded publication must follow the same child ordering as earlier
   publications so its Published date sits beneath the preview image with the
   existing stable spacing. No card dimensions or other sections are changed. */
#newsFeed > .rfos-news-featured:not(.rfos-open){
  display:flex!important;
  flex-direction:column!important;
}


/* RFOS v4.1.36.7 — News publication metadata spacing only.
   Keep the existing metadata text/content, but ensure consistent visual spacing
   between Article / Published / By on open News publications. */
html[data-page-title="News updates"] #newsFeed .rfos-publication > .rfos-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  column-gap:18px!important;
  row-gap:8px!important;
}
html[data-page-title="News updates"] #newsFeed .rfos-publication > .rfos-meta > span{
  display:inline-flex!important;
  align-items:baseline!important;
  white-space:nowrap!important;
}
html[data-page-title="News updates"] #newsFeed .rfos-publication.rfos-open > .rfos-meta > span:not(:last-child){
  margin-inline-end:18px!important;
}

/* RFOS v4.1.36.8 — open News reading-title size only.
   Reduce long open-article headlines for cleaner reading while preserving
   closed preview titles, card geometry and all other sections. */
html[data-page-title="News updates"] #newsFeed .rfos-news-card.rfos-open > h2{
  font-size:clamp(1.25rem,2.1vw,1.75rem)!important;
  line-height:1.22!important;
}


/* RFOS v4.1.36.16.9.2.5 — premium Quote image treatment only; geometry unchanged. */
html[data-page-title="News updates"] .rfos-quote.has-photo-background{
  text-shadow:0 2px 9px rgba(0,0,0,.96),0 0 1px rgba(0,0,0,.9)!important;
  box-shadow:0 18px 42px rgba(0,31,91,.25),inset 0 0 0 1px rgba(255,255,255,.14)!important;
}
html[data-page-title="News updates"] .rfos-quote.has-photo-background::before{
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(0,18,52,.08) 42%,rgba(0,18,52,.20))!important;
}
html[data-page-title="News updates"] .rfos-quote.has-photo-background .rfos-quote-category{
  background:rgba(3,31,84,.72)!important;border-color:rgba(240,193,75,.92)!important;color:#ffe082!important;
  box-shadow:0 4px 14px rgba(0,0,0,.18)!important;
}
html[data-page-title="News updates"] .rfos-quote.has-photo-background blockquote{font-weight:750!important;letter-spacing:.005em}
html[data-page-title="News updates"] .rfos-quote.has-photo-background .rfos-card-site{opacity:1!important}

/* RFOS Archive replaces the former Advertisement presentation only. The protected
   three-column News geometry and column width are intentionally unchanged. */
html[data-page-title="News updates"] .rfos-updates-archive>.rfos-archive-heading{
  background:linear-gradient(135deg,#031f54,#062d71)!important;color:#e5b72f!important;-webkit-text-fill-color:#e5b72f!important;
}
#rfosAdvertisements .rfos-archive-filter-label{display:block;margin:0 0 6px;color:#30435f;font-size:.8rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
#rfosAdvertisements .rfos-archive-filter{width:100%;min-height:42px;margin:0 0 14px;padding:9px 10px;border:1px solid rgba(6,45,113,.24);border-radius:10px;background:#fff;color:#082b72;font:inherit;font-weight:750}
#rfosAdvertisements .rfos-archive-list{display:grid;gap:14px}
#rfosAdvertisements .rfos-archive-card,#rfosAdvertisements .rfos-archive-placeholder{overflow:hidden;background:linear-gradient(180deg,#fff,#f7faff);border:1px solid rgba(6,45,113,.18);border-radius:14px;padding:12px;box-shadow:0 10px 26px rgba(0,31,91,.10)}
#rfosAdvertisements .rfos-archive-card.rfos-archive-friends{border-color:rgba(229,183,47,.72);box-shadow:0 12px 30px rgba(0,31,91,.14),inset 0 0 0 1px rgba(229,183,47,.18)}
#rfosAdvertisements .rfos-archive-category{display:inline-flex;margin:0 0 9px;padding:5px 8px;border-radius:999px;background:#062d71;color:#f2c44f;font-size:.7rem;font-weight:900;line-height:1.2;letter-spacing:.035em}
#rfosAdvertisements .rfos-archive-media{display:grid;gap:7px;margin:0 0 10px}
#rfosAdvertisements :is(.rfos-archive-image,.rfos-archive-video){display:block;width:100%;max-height:235px;object-fit:cover;border-radius:10px;background:#07111f}
#rfosAdvertisements .rfos-archive-card h3{margin:8px 0 6px;color:#082b72;font-size:1rem;line-height:1.25}
#rfosAdvertisements .rfos-archive-card p{margin:0 0 8px;color:#39485e;font-size:.9rem;line-height:1.5}
#rfosAdvertisements .rfos-archive-date{margin-top:7px;color:#6b7280;font-size:.78rem;font-weight:650}
#rfosAdvertisements .rfos-archive-link{display:inline-flex;margin-top:9px;color:#0d4ca6;font-weight:850;font-size:.84rem;text-decoration:none}
html[data-rfos-theme="dark"][data-page-title="News updates"] #rfosAdvertisements .rfos-archive-filter-label{color:#d9e6ff}
html[data-rfos-theme="dark"][data-page-title="News updates"] #rfosAdvertisements .rfos-archive-filter{background:#111f34;border-color:#31527f;color:#f2c44f}
html[data-rfos-theme="dark"][data-page-title="News updates"] #rfosAdvertisements :is(.rfos-archive-card,.rfos-archive-placeholder){background:#111f34;border-color:#31527f;color:#eef3ff}
html[data-rfos-theme="dark"][data-page-title="News updates"] #rfosAdvertisements .rfos-archive-card h3{color:#f2c44f}
html[data-rfos-theme="dark"][data-page-title="News updates"] #rfosAdvertisements .rfos-archive-card p{color:#eef3ff}


/* RFOS v4.1.36.16.9.2.5 — phone workspace + bottom-only Exit mobile version.
   Phone-only: full protected footer remains removed to maximize reading space.
   The replacement control is normal document flow at the true end of the sheet, not an overlay. */
@media (max-width:767px), (max-height:560px) and (pointer:coarse){
  html:not(.rfos-desktop-view) body.rfos-fixed-shell>footer{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html:not(.rfos-desktop-view) body.rfos-fixed-shell .rfos-app-workspace{bottom:0!important}
  html:not(.rfos-desktop-view) body.rfos-fixed-shell :is(.rfos-theme-toggle,#rfosInstallApp){bottom:max(12px,env(safe-area-inset-bottom))!important}
  html:not(.rfos-desktop-view) #rfosExitMobileVersion{
    position:static!important;
    display:block!important;
    width:100%!important;
    min-height:66px!important;
    margin:34px 0 0!important;
    padding:18px 16px calc(18px + env(safe-area-inset-bottom))!important;
    border:0!important;
    border-top:1px solid rgba(255,255,255,.13)!important;
    border-radius:0!important;
    background:#3f4145!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    box-shadow:none!important;
    font:700 18px/1.2 system-ui,-apple-system,sans-serif!important;
    text-align:center!important;
  }
  html:not(.rfos-desktop-view) #rfosExitMobileVersion:active{background:#34363a!important}
}

/* RFOS v4.1.36.16.9.2.5 — page-title reclaim is phone-only.
   Desktop and tablet retain their page titles permanently; the protected header is untouched. */
@media (max-width:767px), (max-height:560px) and (pointer:coarse){
  html:not(.rfos-desktop-view) body.rfos-fixed-shell.rfos-page-title-collapsed{--rfos-page-band-height:0px!important}
  html:not(.rfos-desktop-view) body.rfos-fixed-shell.rfos-page-title-collapsed .rfos-app-workspace .page-header{
    min-height:0!important;max-height:0!important;height:0!important;
    padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important;
    border-width:0!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important;
  }
}
/* Phone landscape: compact only the protected chrome/page band.
   Publication, Awareness, X Spaces and Quote card geometry remains untouched. */
@media (orientation:landscape) and (max-height:560px) and (pointer:coarse){
  html:not(.rfos-desktop-view){--rfos-header-height:58px!important;--rfos-page-band-height:54px!important}
  html:not(.rfos-desktop-view) body.rfos-fixed-shell>.rfos-site-header{
    min-height:58px!important;
    height:58px!important;
    overflow:visible!important;
  }
  html:not(.rfos-desktop-view) body.rfos-fixed-shell>.rfos-site-header .header-inner{
    min-height:58px!important;
    height:58px!important;
    padding:3px 8px!important;
    grid-template-columns:minmax(0,1fr) 46px!important;
    column-gap:6px!important;
  }
  html:not(.rfos-desktop-view) .rfos-site-header .logo-area{gap:7px!important}
  html:not(.rfos-desktop-view) .rfos-site-header .brand-emblem{
    width:42px!important;height:42px!important;flex-basis:42px!important;border-width:2px!important;
  }
  html:not(.rfos-desktop-view) .rfos-site-header .brand-title-image{
    width:min(430px,calc(100vw - 112px))!important;
    max-height:34px!important;
  }
  html:not(.rfos-desktop-view) .rfos-site-header .menu-toggle{
    width:44px!important;height:42px!important;min-width:44px!important;padding:6px!important;
  }
  html:not(.rfos-desktop-view) #mainNavigation{
    top:58px!important;
    max-height:calc(100dvh - 58px)!important;
    padding:6px 10px 9px!important;
  }
  html:not(.rfos-desktop-view) #mainNavigation a{
    min-height:38px!important;padding:8px 11px!important;font-size:.9rem!important;
  }
  html:not(.rfos-desktop-view) .language-toggle{
    width:44px!important;height:44px!important;min-width:44px!important;
    right:9px!important;bottom:9px!important;
  }
  html:not(.rfos-desktop-view) .translate-row{
    bottom:60px!important;
    max-height:calc(100dvh - 72px)!important;
    overflow:auto!important;
  }
  html:not(.rfos-desktop-view) body.rfos-fixed-shell .rfos-app-workspace .page-header{
    padding:7px 12px!important;
    min-height:0!important;
  }
  html:not(.rfos-desktop-view) body.rfos-fixed-shell .rfos-app-workspace .page-header h1{
    margin:0!important;font-size:clamp(1.28rem,4.8vw,1.7rem)!important;line-height:1.08!important;
  }
  html:not(.rfos-desktop-view) body.rfos-fixed-shell .rfos-app-workspace .page-header p{
    margin:4px 0 0!important;font-size:.86rem!important;line-height:1.25!important;
  }
  html:not(.rfos-desktop-view)[data-page-title="News updates"] .rfos-updates-layout{
    margin-top:8px!important;
  }
}

/* Session-only desktop view requested from the phone control. */
html.rfos-desktop-view #rfosReturnMobileVersion{
  position:fixed!important;right:12px!important;bottom:12px!important;z-index:2147483600!important;
  border:1px solid #e5b72f!important;border-radius:999px!important;background:#062d71!important;
  color:#e5b72f!important;padding:9px 13px!important;font:700 13px system-ui,-apple-system,sans-serif!important;
  box-shadow:0 6px 18px rgba(0,0,0,.25)!important;
}


/* RFOS v4.1.36.16.9.2.5 — readable phone-requested desktop view.
   This remains session-only and never changes desktop/tablet layouts. */
@media (max-width:767px), (max-height:560px) and (pointer:coarse){
  html.rfos-desktop-view{font-size:18px!important}
  html.rfos-desktop-view body{min-width:820px!important;font-size:18px!important}
  html.rfos-desktop-view .rfos-app-workspace{overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  html.rfos-desktop-view .rfos-app-workspace :is(p,li,label,input,select,textarea,button){font-size:max(15px,1em)!important}
  html.rfos-desktop-view .rfos-site-header nav a{font-size:14px!important}
  html.rfos-desktop-view #rfosReturnMobileVersion{font-size:15px!important;padding:11px 16px!important}
}


/* RFOS v4.1.36.16.9.2.5 — native-feeling Back / Forward navigation.
   Desktop/tablet controls live inside the existing page-title band. Phone controls
   use a compact bottom bar inspired by mobile browser navigation without modifying
   the protected RFOS header or publication geometry. */
.rfos-history-nav{display:flex;align-items:center;gap:8px;z-index:6}
.rfos-history-button{
  appearance:none;-webkit-appearance:none;display:inline-grid;place-items:center;
  width:38px;height:38px;min-width:38px;padding:0;border:1px solid rgba(240,193,75,.72);
  border-radius:999px;background:#062d71;color:#fff;-webkit-text-fill-color:#fff;
  box-shadow:0 5px 14px rgba(0,31,91,.15);font:900 24px/1 system-ui,-apple-system,sans-serif;
  cursor:pointer;transition:transform .15s ease,background .15s ease,opacity .15s ease;
}
.rfos-history-button:hover,.rfos-history-button:focus-visible{background:#0a43a0;outline:2px solid rgba(240,193,75,.42);outline-offset:2px}
.rfos-history-button:active{transform:scale(.94)}
.rfos-history-button[aria-disabled="true"]{opacity:.42;cursor:default;transform:none}
.page-header{position:relative}
.page-header>.rfos-history-nav{position:absolute;right:clamp(16px,3vw,42px);top:50%;transform:translateY(-50%)}
@media (min-width:768px){
  .page-header.rfos-has-history-nav{padding-left:clamp(72px,8vw,112px)!important;padding-right:clamp(112px,12vw,160px)!important}
}
@media (max-width:767px), (max-height:560px) and (pointer:coarse){
  html:not(.rfos-desktop-view) body.rfos-fixed-shell .rfos-app-workspace{padding-bottom:calc(62px + env(safe-area-inset-bottom))!important}
  html:not(.rfos-desktop-view) .page-header>.rfos-history-nav{display:none!important}
  html:not(.rfos-desktop-view) body>.rfos-history-nav.rfos-history-mobile{
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;
    min-height:56px!important;padding:0 14px env(safe-area-inset-bottom)!important;
    background:rgba(28,30,34,.97)!important;border-top:1px solid rgba(255,255,255,.13)!important;
    box-shadow:0 -8px 24px rgba(0,0,0,.20)!important;z-index:2147482500!important;
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  }
  html:not(.rfos-desktop-view) body>.rfos-history-nav.rfos-history-mobile .rfos-history-button{
    width:100%!important;height:56px!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;font-size:32px!important;color:#fff!important;
  }
  html:not(.rfos-desktop-view) body>.rfos-history-nav.rfos-history-mobile .rfos-history-button:first-child{border-right:1px solid rgba(255,255,255,.09)!important}
  html:not(.rfos-desktop-view) #rfosExitMobileVersion{margin-bottom:0!important}
}
@media (prefers-reduced-motion:reduce){.rfos-history-button{transition:none!important}}

/* RFOS v4.1.36.16.9.2.6.15 — compact News title-band search + stable article reveal. */
body.rfos-news-shell .rfos-news-title-band{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,420px) auto!important;gap:14px!important;align-items:center!important;text-align:left!important}
body.rfos-news-shell .rfos-news-title-copy{min-width:0!important}
body.rfos-news-shell .rfos-news-title-copy p{margin:4px 0 0!important;text-align:left!important}
body.rfos-news-shell .rfos-title-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;align-items:center!important;margin:0!important;min-width:0!important}
body.rfos-news-shell .rfos-title-search input{height:38px!important;min-width:0!important;margin:0!important;padding:7px 11px!important;border-radius:10px!important}
body.rfos-news-shell .rfos-title-search .update-search-button{height:38px!important;margin:0!important;padding:7px 12px!important;border-radius:10px!important}
body.rfos-news-shell .rfos-title-search-results:empty{display:none!important}
body.rfos-news-shell .rfos-title-search-results:not(:empty){margin:8px 0 0!important}
body.rfos-news-shell .rfos-updates-layout{margin-top:8px!important}
#newsFeed .rfos-publication{scroll-margin-top:72px!important}
@media(max-width:900px){body.rfos-news-shell .rfos-news-title-band{grid-template-columns:minmax(0,1fr) minmax(220px,340px) auto!important}}
@media(max-width:767px){
 body.rfos-news-shell .rfos-news-title-band{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:8px 10px!important}
 body.rfos-news-shell .rfos-news-title-copy p{display:none!important}
 body.rfos-news-shell .rfos-title-search{width:44px!important;display:block!important;position:relative!important}
 body.rfos-news-shell .rfos-title-search input{position:absolute!important;right:0!important;top:0!important;width:44px!important;opacity:0!important;pointer-events:none!important;transition:width .16s ease,opacity .12s ease!important;background:#fff!important;z-index:4!important}
 body.rfos-news-shell .rfos-title-search:focus-within input,body.rfos-news-shell .rfos-title-search.rfos-search-open input{width:min(72vw,320px)!important;opacity:1!important;pointer-events:auto!important;padding-right:46px!important}
 body.rfos-news-shell .rfos-title-search .update-search-button{position:relative!important;z-index:5!important;width:44px!important;overflow:hidden!important;text-indent:-999px!important;padding:0!important}
 body.rfos-news-shell .rfos-title-search .update-search-button:after{content:'⌕';text-indent:0!important;display:grid!important;place-items:center!important;font-size:24px!important}
 body.rfos-news-shell .rfos-updates-layout{margin-top:2px!important}
 .rfos-history-mobile{transition:transform .18s ease,opacity .18s ease!important;will-change:transform!important}
 body.rfos-mobile-nav-hidden .rfos-history-mobile{transform:translateY(calc(100% + 18px))!important;opacity:0!important;pointer-events:none!important}
}
@media(prefers-reduced-motion:reduce){.rfos-history-mobile,body.rfos-news-shell .rfos-title-search input{transition:none!important}}

/* RFOS v4.1.36.16.9.2.6.15 — restore exact centred News page title while retaining compact title-band search. */
body.rfos-news-shell .rfos-news-title-band{position:relative!important;display:block!important;text-align:center!important}
body.rfos-news-shell .rfos-news-title-copy{min-width:0!important;text-align:center!important}
body.rfos-news-shell .rfos-news-title-copy h1,body.rfos-news-shell .rfos-news-title-copy p{text-align:center!important}
body.rfos-news-shell .rfos-title-search{position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%)!important;width:min(32vw,420px)!important;margin:0!important}
@media(max-width:900px){body.rfos-news-shell .rfos-title-search{width:min(30vw,340px)!important}}
@media(max-width:767px){
 body.rfos-news-shell .rfos-news-title-band{display:block!important;text-align:center!important;padding:8px 58px!important}
 body.rfos-news-shell .rfos-news-title-copy{padding:0!important;text-align:center!important}
 body.rfos-news-shell .rfos-news-title-copy h1{text-align:center!important;margin-left:auto!important;margin-right:auto!important}
 body.rfos-news-shell .rfos-title-search{right:10px!important;top:50%!important;width:44px!important;transform:translateY(-50%)!important}
}


/* RFOS v4.1.36.16.9.2.6.15 — News title controls separated + subtitle retired. */
body.rfos-news-shell .rfos-news-title-copy p{display:none!important}
@media (min-width:768px){
 body.rfos-news-shell .rfos-news-title-band>.rfos-history-nav{left:14px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important}
 body.rfos-news-shell .rfos-news-title-band>.rfos-title-search{right:14px!important;left:auto!important;max-width:min(32vw,420px)!important}
 body.rfos-news-shell .rfos-news-title-band{padding-left:118px!important;padding-right:min(35vw,450px)!important}
 body.rfos-news-shell .rfos-news-title-copy h1{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:max-content!important;max-width:42vw!important;margin:0!important}
}
@media (max-width:767px){
 body.rfos-news-shell .rfos-news-title-band{padding:8px 58px!important}
 body.rfos-news-shell .rfos-news-title-copy h1{position:static!important;transform:none!important;width:auto!important;max-width:none!important}
}


/* RFOS v4.1.36.16.9.2.6.15 — mobile reading-fit correction.
   Scope is deliberately narrow: preserve desktop/tablet geometry while keeping
   the Mission & Vision commitment copy comfortably readable on small phones. */
@media (max-width:767px){
  html[data-page-title="Mission & Vision"] .commitment{padding:24px 18px!important}
  html[data-page-title="Mission & Vision"] .commitment h2{font-size:clamp(1.18rem,5.2vw,1.42rem)!important;line-height:1.2!important;margin-bottom:10px!important}
  html[data-page-title="Mission & Vision"] .commitment p{font-size:clamp(.90rem,3.75vw,.98rem)!important;line-height:1.58!important;letter-spacing:0!important;max-width:34rem!important;overflow-wrap:normal!important;word-break:normal!important;text-wrap:pretty}
  html[data-page-title="Mission & Vision"] .commitment .official-brand-text{font-size:inherit!important;line-height:inherit!important;white-space:normal!important;display:inline!important}
}

/* Locally preserved X material is authoritative for playback; the X URL remains
   a source reference. No X Spaces card geometry is changed. */
.rfos-preserved-badge{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;padding:5px 9px;border:1px solid rgba(229,183,47,.7);border-radius:999px;background:rgba(6,45,113,.08);color:#062d71;font-size:.76rem;font-weight:850;line-height:1.2}
html[data-rfos-theme="dark"] .rfos-preserved-badge{background:rgba(229,183,47,.10);color:#f2c44f;border-color:rgba(242,196,79,.62)}
.rfos-spaces-card .rfos-media audio{width:100%;min-height:44px}

/* Deep-linked News pages are revealed once, after their selected publication is
   rendered and its high-priority media settles. Avoid transitions that can expose
   an intermediate layout during the reveal. */
html.rfos-deep-link-loading body,html.rfos-feed-booting body{transition:none!important;animation:none!important}
html[data-page-title="News updates"] #newsFeed.rfos-render-ready{contain:layout style}
