/* 0.33.003 RC1 — one public layout contract for both themes.
   The old R4/R5 side-by-side feed is no longer selected by the renderer.
   Preserve header apps, palettes, stars, match components and CMS order. */
html[data-theme][data-vega-accent]{--vega-shell-width:min(1140px,calc(100% - 28px));}
html[data-theme][data-vega-accent] #app{
 width:var(--vega-shell-width)!important;max-width:1140px!important;margin-inline:auto!important;
 min-width:0!important;box-sizing:border-box!important;
}
html[data-theme][data-vega-accent] .site-sticky-shell{width:var(--vega-shell-width)!important;max-width:1140px!important;box-sizing:border-box!important}
html[data-theme][data-vega-accent] #main{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html[data-theme][data-vega-accent] #main>.vega-shared-home-feed{
 display:grid;grid-template-columns:minmax(0,1fr);gap:18px;width:100%;max-width:100%;margin:0 auto 18px;padding:12px clamp(12px,3.5%,46px) 0;min-width:0;
}
html[data-theme][data-vega-accent] #main>.vega-shared-home-feed>.wrap.section{
 width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:clamp(12px,2%,22px)!important;border-radius:18px!important;
}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;min-width:0!important;align-items:stretch!important;}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-card{
 display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;min-height:0!important;height:100%!important;clip-path:none!important;border-radius:17px!important;overflow:hidden!important;isolation:isolate!important;position:relative!important;
}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-image{
 display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:0 0 auto!important;height:clamp(145px,13vw,205px)!important;min-height:0!important;border-right:0!important;border-bottom:1px solid #8bd6f044!important;
}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-image img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;display:block!important;}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy{position:relative!important;z-index:1!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;padding:14px 16px 16px!important;}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy h3{font-size:clamp(15px,1.4vw,20px)!important;line-height:1.25!important;display:block!important;overflow-wrap:anywhere!important;white-space:normal!important;text-shadow:none!important;margin:8px 0!important;}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy p{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.45!important;margin:0 0 10px!important;text-shadow:none!important;}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy p:empty{display:none!important}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy>span{margin-top:auto!important;align-self:flex-start!important;}
html[data-theme="light"][data-vega-accent] #main .home-news-grid-2x2 .home-news-card{background:linear-gradient(133deg,#e8f2f6,#faf6ef)!important;color:#20252d!important;}
html[data-theme="light"][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy :is(h3,time){color:#20252d!important;}
html[data-theme="light"][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy p{color:#465058!important;}
html[data-theme="dark"][data-vega-accent] #main .home-news-grid-2x2 .home-news-card{background:linear-gradient(118deg,#102837,#142435)!important;color:#f3f8fd!important;}
html[data-theme="dark"][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy :is(h3,time){color:#f3f8fd!important;}
html[data-theme="dark"][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy p{color:#c1d3df!important;}
/* Actual footer DOM contains navigation, legal links and copyright; the 1600px image must not size its flex parent. */
html[data-theme][data-vega-accent] #app>footer{width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;box-sizing:border-box!important;}
html[data-theme][data-vega-accent] #app>footer .footer-wrap-v3{width:100%!important;max-width:100%!important;min-width:0!important;padding:24px clamp(12px,4%,36px)!important;box-sizing:border-box!important;}
html[data-theme][data-vega-accent] #app>footer .footer-top-v2{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:14px 24px!important;min-width:0!important;}
html[data-theme][data-vega-accent] #app>footer .footer-brand{display:flex!important;flex:0 1 200px!important;width:200px!important;min-width:0!important;max-width:100%!important;align-items:center!important;white-space:normal!important;}
html[data-theme][data-vega-accent] #app>footer .footer-brand img.vega211-wordmark{display:block!important;width:100%!important;height:auto!important;max-width:200px!important;max-height:68px!important;object-fit:contain!important;}
html[data-theme][data-vega-accent] #app>footer .footer-nav{display:flex!important;flex:1 1 500px!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:8px 16px!important;min-width:0!important;}
html[data-theme][data-vega-accent] #app>footer .footer-columns{min-width:0!important;height:auto!important;overflow:visible!important;gap:24px!important;}
html[data-theme][data-vega-accent] #app>footer :is(.footer-copy,.footer-legal){min-width:0!important;overflow-wrap:anywhere!important;}
@media(max-width:760px){
 html[data-theme][data-vega-accent]{--vega-shell-width:100%;}
 html[data-theme][data-vega-accent] #main>.vega-shared-home-feed{padding:8px 8px 0;gap:12px;}
 html[data-theme][data-vega-accent] #main .home-news-grid-2x2{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
 html[data-theme][data-vega-accent] #app>footer .footer-brand{flex:0 0 auto!important;width:180px!important;}
 html[data-theme][data-vega-accent] #app>footer .footer-nav{flex:0 1 auto!important;width:100%!important;}
 html[data-theme][data-vega-accent] #app>footer .footer-columns{grid-template-columns:minmax(0,1fr)!important;}
}

/* The widget strip has dynamic height: reserve the measured full header, never the old 205px. */
html[data-theme][data-vega-accent]:not(.vega-hf11-expanded) #app{padding-top:var(--vega-shared-header-offset,var(--vega-header-h,294px))!important;}
html.vega-hf11-expanded[data-theme][data-vega-accent] #app{padding-top:0!important;}
html[data-theme][data-vega-accent] #app>footer .footer-legal{position:static!important;inset:auto!important;width:auto!important;max-width:100%!important;visibility:visible!important;opacity:1!important;transform:none!important;}
html[data-theme][data-vega-accent] #app>footer .footer-top-v2{height:auto!important;min-height:0!important;}
@media(max-width:900px){
 html[data-theme][data-vega-accent] #app>footer .footer-top-v2{flex-direction:column!important;align-items:flex-start!important;}
 html[data-theme][data-vega-accent] #app>footer .footer-brand{flex:0 0 auto!important;}
 html[data-theme][data-vega-accent] #app>footer .footer-nav{flex:0 0 auto!important;width:100%!important;height:auto!important;}
}

/* R2 previously painted the entire news pseudo-element solid accent gold in dark mode.
   Keep the decorative diagonal but keep text contrast independent of the selected accent. */
html[data-theme="dark"][data-vega-accent] #main .home-news-grid-2x2 .home-news-card::before{
 background:linear-gradient(128deg,transparent 0 36%,rgba(255,255,255,.045) 36% 37%,transparent 37% 61%,rgba(var(--vega211-rgb),.09) 61% 78%,transparent 78%),radial-gradient(circle at 87% 18%,rgba(var(--vega211-rgb),.13),transparent 64%)!important;
}
html[data-theme="dark"][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy>span{color:#c6edff!important;background:#174a60!important;border-color:#3c7892!important;}

/* RC2: same geometry on both themes. Preserve all palette and widget artwork. */
html[data-theme][data-vega-accent] body{font-family:"Segoe UI",Arial,Helvetica,sans-serif!important;}
html[data-theme][data-vega-accent] .site-sticky-shell .wrap{width:100%!important;max-width:none!important;box-sizing:border-box!important;margin-inline:auto!important;}
html[data-theme][data-vega-accent] .site-sticky-shell .topbar .top-inner{flex-wrap:nowrap!important;}
html[data-theme][data-vega-accent] .site-sticky-shell .topbar .vega-r10-identity>.brand-link{
  display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:auto!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;gap:0!important;line-height:1!important;background:none!important;border:0!important;box-shadow:none!important;}
html[data-theme][data-vega-accent] .site-sticky-shell .topbar .vega-r10-identity>.brand-link img.vega211-wordmark{
  display:block!important;width:100%!important;max-width:300px!important;height:78px!important;max-height:78px!important;min-width:0!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;transform:scale(1.07)!important;transform-origin:center!important;}
html[data-theme][data-vega-accent] .site-sticky-shell .topbar .top-actions{gap:5px!important;flex-wrap:nowrap!important;}
html[data-theme][data-vega-accent] .site-sticky-shell .topbar .top-actions .top-icon-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;border-radius:50%!important;box-sizing:border-box!important;}
html[data-theme][data-vega-accent] .site-sticky-shell .nav-border{border-bottom:1px solid rgba(var(--vega211-rgb),.28)!important;}
html[data-theme][data-vega-accent] .site-sticky-shell .nav-border .search-button{width:40px!important;height:40px!important;min-width:40px!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:6px!important;color:#fff!important;background:rgba(255,255,255,.12)!important;}
html[data-theme][data-vega-accent] #main .vega-shared-home-feed .section-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 14px!important;padding:0 0 9px!important;min-height:0!important;border-bottom:1px solid rgba(var(--vega211-rgb),.24)!important;}
html[data-theme][data-vega-accent] #main .vega-shared-home-feed .section-heading h2{font-family:inherit!important;font-size:clamp(20px,2.2vw,28px)!important;font-weight:800!important;line-height:1.15!important;text-transform:none!important;letter-spacing:0!important;margin:0!important;}
html[data-theme][data-vega-accent] #main .vega-shared-home-feed .section-heading::before,html[data-theme][data-vega-accent] #main .vega-shared-home-feed .section-heading::after{display:none!important;}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-card{border-width:1px!important;}
html[data-theme][data-vega-accent] #app>footer .footer-brand img.vega211-wordmark{object-position:center!important;}
@media(min-width:831px) and (max-width:1100px){html[data-theme][data-vega-accent] .site-sticky-shell .topbar .vega-r10-identity>.brand-link img.vega211-wordmark{height:76px!important;max-height:76px!important;max-width:260px!important;}}
@media(max-width:830px){html[data-theme][data-vega-accent] .site-sticky-shell .topbar .vega-r10-identity>.brand-link img.vega211-wordmark{height:59px!important;max-height:59px!important;max-width:240px!important;transform:scale(1.055)!important;}html[data-theme][data-vega-accent] .site-sticky-shell .topbar .top-actions{gap:4px!important;}html[data-theme][data-vega-accent] .site-sticky-shell .topbar .top-actions .top-icon-link{width:26px!important;height:26px!important;min-width:26px!important;}}
@media(max-width:440px){html[data-theme][data-vega-accent] .site-sticky-shell .topbar .vega-r10-identity>.brand-link img.vega211-wordmark{height:55px!important;max-height:55px!important;max-width:190px!important;}}
/* Shared component box edges and text metrics prevent 2px mobile shell drift. */
html[data-theme][data-vega-accent] #app{border-width:1px!important;border-style:solid!important;}
html[data-theme][data-vega-accent] .site-sticky-shell .topbar .top-map-trigger{border-width:1px!important;border-style:solid!important;border-color:rgba(255,255,255,.19)!important;}
html[data-theme][data-vega-accent] .site-sticky-shell #navigation .nav-item>a{font-family:"Segoe UI",Arial,sans-serif!important;letter-spacing:.02em!important;}
html[data-theme][data-vega-accent] #main .vega-shared-home-feed .section-heading h2{font-family:"Segoe UI",Arial,Helvetica,sans-serif!important;font-kerning:normal!important;}
html[data-theme][data-vega-accent] #main .home-news-grid-2x2 .home-news-copy h3{font-family:"Segoe UI",Arial,Helvetica,sans-serif!important;font-weight:850!important;font-kerning:normal!important;font-stretch:normal!important;letter-spacing:0!important;}
html[data-theme][data-vega-accent] #app>footer .footer-legal{border-width:1px!important;border-style:solid!important;}
html[data-theme][data-vega-accent] #main .hero-brand-actions .button{font-family:"Segoe UI",Arial,sans-serif!important;letter-spacing:.045em!important;}
html[data-theme][data-vega-accent] #main .hero-team-kicker{border-left-width:3px!important;border-left-style:solid!important;}
html[data-theme][data-vega-accent] #main .hero-team-tab{border-bottom-width:3px!important;border-bottom-style:solid!important;border-bottom-color:transparent;}
/* Obsolete R3 dark-only slogan took up a full line in the team carousel. */
html[data-theme][data-vega-accent] #main .real-slide-hero .hero-copy::before{content:none!important;display:none!important;}
html[data-theme][data-vega-accent] #main .real-slide-hero .hero-slide-lines{border-left-width:2px!important;}
html[data-theme][data-vega-accent] #main .vega-shared-home-feed .section-heading>div:first-child{flex:1 1 auto!important;min-width:0!important;}
html[data-theme][data-vega-accent] #main .mc173-nav{border-width:1px!important;border-style:solid!important;box-sizing:border-box!important;}
