/* Reference V10: scoped editorial layout, preserve V9 device visibility */
:root{--ogx-ref-red:#d20b2c;--ogx-ref-ink:#111827;--ogx-ref-line:#e5e8ed}
.site-head.hg-head{background:#f0f3f7}
.site-head.hg-head .hg-nav.category-nav{background:#fff!important;border:1px solid #e3e7ee!important;border-radius:9px;margin:0 auto 10px;max-width:1280px;box-shadow:0 3px 10px #1723370d}
.site-head.hg-head .hg-nav .nav-scroll a{color:#111827!important;font-size:13px;padding:15px 13px!important;font-weight:800}
.site-head.hg-head .hg-nav .nav-scroll a:hover,.site-head.hg-head .hg-nav .nav-scroll a:focus-visible{color:var(--ogx-ref-red)!important;background:#fff!important;box-shadow:inset 0 -3px var(--ogx-ref-red)}
.site-head.hg-head .hg-nav .hgo-home-nav{background:#fff!important;color:#111827!important;display:flex!important;align-items:center;gap:6px;width:auto!important;height:auto!important;writing-mode:horizontal-tb!important;transform:none!important}
.site-head.hg-head .hg-nav .hgo-home-nav span{display:inline!important}
.site-head.hg-head .hg-breaking{background:#fff!important;color:#152135!important;max-width:1280px;margin:0 auto 12px;border-radius:8px;border:1px solid #e5e8ef;overflow:hidden}
.site-head.hg-head .hg-breaking .wrap{width:100%;padding:0 8px;gap:0}
.site-head.hg-head .hg-breaking b{background:var(--ogx-ref-red);border-radius:6px;padding:10px 15px;flex:none}
.site-head.hg-head .breaking-track{overflow:hidden!important;white-space:nowrap;flex:1;min-width:0;display:flex;gap:35px;animation:ogx-ref-breaking 32s linear infinite;width:max-content}
.site-head.hg-head .breaking-track a{color:#172235!important;font-weight:700;white-space:nowrap}
.site-head.hg-head .breaking-track:hover{animation-play-state:paused}
@keyframes ogx-ref-breaking{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}
.hgo-home .hgo-hero-v3{display:grid!important;grid-template-columns:minmax(0,2.55fr) minmax(210px,1fr);gap:14px;align-items:stretch}
.hgo-home .hgo-hero-v3 .hgo-hero-main{min-width:0;border:0;border-radius:9px;box-shadow:none}
.hgo-home .hgo-hero-v3 .hgo-hero-stage{aspect-ratio:857/503!important;border-radius:9px 9px 0 0}
.hgo-home .hgo-hero-v3 .hgo-hero-title-frame{display:block!important}
.hgo-home .hgo-hero-v3 .hgo-hero-controls{height:53px!important;min-height:53px!important;border:0!important;grid-template-columns:0 minmax(0,1fr) 0!important;padding:0 10px!important}
.hgo-home .hgo-hero-v3 .hgo-hero-controls>[data-hgo-prev],.hgo-home .hgo-hero-v3 .hgo-hero-controls>[data-hgo-next]{display:none!important}
.hgo-home .hgo-hero-v3 .hgo-hero-dots{display:flex;gap:4px;justify-content:space-around;overflow-x:auto}
.hgo-home .hgo-hero-v3 .hgo-hero-dots button{flex:1 0 24px!important;width:auto!important;min-width:24px!important;height:38px!important;border-radius:50%!important;font:800 13px/1 system-ui!important;color:#101a2b!important}
.hgo-home .hgo-hero-v3 .hgo-hero-dots button::after{display:none!important}
.hgo-home .hgo-hero-v3 .hgo-hero-dots button[aria-current=true]{background:var(--ogx-ref-red)!important;color:#fff!important}
.ogx-ref-hero-side{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.ogx-ref-hero-side-card{display:flex;flex-direction:column;min-width:0;background:#fff;border-radius:9px;overflow:hidden;text-decoration:none;color:#0e182a;box-shadow:0 2px 9px #1723370d}
.ogx-ref-hero-side-card img{width:100%;height:70%;min-height:0;object-fit:cover;flex:1 1 auto}
.ogx-ref-hero-side-card strong{font-size:14px;line-height:1.4;padding:9px 12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hgo-home .dga-home-authors{border-top:4px solid var(--ogx-ref-red);background:#f7f8fa;border-radius:10px;padding:18px}
.hgo-home .dga-home-writers{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:8px}
.hgo-home .dga-home-writer{flex:0 0 280px!important;scroll-snap-align:start;background:#fff;border:1px solid #edf0f4;border-radius:13px;padding:15px!important;min-height:120px;box-shadow:0 2px 7px #1522390b}
.hgo-home .dga-home-writer img{border:3px solid var(--ogx-ref-red);border-radius:50%;width:70px;height:70px;object-fit:cover}
.hgo-home .ogx-ref-six{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
.hgo-home .ogx-ref-six .hgo-card{grid-column:span 2;min-width:0}
.hgo-home .ogx-ref-six .hgo-card:nth-child(1){grid-column:span 4;grid-row:span 2}
.hgo-home .ogx-ref-six .hgo-card:nth-child(2),.hgo-home .ogx-ref-six .hgo-card:nth-child(3){grid-column:span 2}
.hgo-home .ogx-ref-six .hgo-card img{width:100%;height:135px!important;aspect-ratio:auto!important;object-fit:cover}
.hgo-home .ogx-ref-six .hgo-card:nth-child(1) img{height:auto!important;aspect-ratio:16/10!important}
.hgo-home .ogx-ref-six .hgo-card h3{font-size:14px!important}
.hgo-home .ogx-ref-six .hgo-card:nth-child(1) h3{font-size:20px!important}
.ogx-ref-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.ogx-ref-tools button,.ogx-ref-tools a{min-width:0;display:flex;align-items:center;gap:10px;text-align:left;padding:12px;border:1px solid #e2e6ed;border-radius:12px;background:#fff;color:#111827;text-decoration:none;cursor:pointer}
.ogx-ref-tools strong{display:block;font-size:13px}.ogx-ref-tools small{display:block;font-size:11px;color:#677287}.ogx-ref-tool-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:10px;background:var(--ogx-ref-red);color:white;font-weight:900;font-size:19px}
.ogx-ref-tools a .ogx-ref-tool-icon{background:#f4f6fa;color:#4285f4}
.ogx-ref-summary{padding:16px;margin:10px 0;border:1px solid #e2e7ee;background:#f7f9fc;border-radius:12px;line-height:1.6}
.ogx-ref-summary[hidden]{display:none!important}
.ogx-ref-flow{position:fixed;left:0;right:0;bottom:0;z-index:1000;display:flex;align-items:center;gap:12px;height:43px;padding:0 max(12px,calc((100vw - 1280px)/2));background:#fff;border-top:2px solid var(--ogx-ref-red);box-shadow:0 -4px 20px #10243b18;font-size:12px;color:#121b2a}
.ogx-ref-flow-label{font-weight:900;white-space:nowrap;font-size:11px}.ogx-ref-flow-window{flex:1;min-width:0;overflow:hidden}.ogx-ref-flow-track{display:flex;align-items:center;gap:55px;white-space:nowrap;width:max-content;animation:ogx-ref-flow 75s linear infinite}.ogx-ref-flow-track a{color:#192234;text-decoration:none;font-weight:700}.ogx-ref-flow-track time{color:var(--ogx-ref-red);margin-right:5px}.ogx-ref-flow:hover .ogx-ref-flow-track,.ogx-ref-flow.is-paused .ogx-ref-flow-track{animation-play-state:paused}
.ogx-ref-flow button{flex:none;width:30px;height:30px;border:1px solid #e1e5ec;border-radius:50%;background:#fff;cursor:pointer}
@keyframes ogx-ref-flow{to{transform:translateX(-50%)}}
body:has(.ogx-ref-flow){padding-bottom:45px}
@media(max-width:900px){.hgo-home .hgo-hero-v3{grid-template-columns:minmax(0,1fr) minmax(150px,.42fr)}.ogx-ref-hero-side-card strong{font-size:12px}}
@media(max-width:700px){.site-head.hg-head .hg-nav.category-nav{border-radius:0;margin-bottom:8px}.site-head.hg-head .hg-nav .nav-scroll a{padding:12px 10px!important}.site-head.hg-head .hg-nav .hgo-home-nav span{display:none!important}.hgo-home .hgo-hero-v3{display:block!important}.ogx-ref-hero-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;margin-top:10px}.ogx-ref-hero-side-card img{height:110px;flex:none}.ogx-ref-hero-side-card strong{font-size:12px}.hgo-home .ogx-ref-six{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hgo-home .ogx-ref-six .hgo-card,.hgo-home .ogx-ref-six .hgo-card:nth-child(2),.hgo-home .ogx-ref-six .hgo-card:nth-child(3){grid-column:span 1}.hgo-home .ogx-ref-six .hgo-card:nth-child(1){grid-column:span 2;grid-row:auto}.hgo-home .ogx-ref-six .hgo-card:nth-child(1) h3{font-size:17px!important}.ogx-ref-tools{grid-template-columns:1fr;gap:8px}.ogx-ref-flow{bottom:var(--ogx-flow-bottom,0px);height:42px;padding:0 8px}.ogx-ref-flow-label{font-size:10px}.ogx-ref-flow-track{animation-duration:65s}.hgo-home .dga-home-writer{flex-basis:240px!important}body:has(.ogx-ref-flow){padding-bottom:48px}}
@media(prefers-reduced-motion:reduce){.ogx-ref-flow-track,.site-head.hg-head .breaking-track{animation:none!important;transform:none!important}}

/* V11: reference masthead and navigation, without changing menu handlers */
.site-head.hg-head{background:#eef1f5!important;box-shadow:none!important}
.site-head.hg-head .hg-masthead.wrap{min-height:95px!important;padding:12px 0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:transparent!important}
.site-head.hg-head .hg-brand{background:transparent!important;padding:0!important;box-shadow:none!important;border:0!important}
.site-head.hg-head .hg-brand .ogx-brand-picture,.site-head.hg-head .hg-brand img{background:transparent!important;max-height:76px!important;width:auto!important;max-width:min(370px,70vw)!important;object-fit:contain!important}
.site-head.hg-head .hg-header-extras{display:flex!important;align-items:center!important;gap:10px!important}
.site-head.hg-head .hg-header-extras .hg-icon,.site-head.hg-head .hg-header-extras .hg-head-link{background:transparent!important;color:#111827!important;border:0!important;min-width:36px;min-height:36px;display:grid!important;place-items:center!important;font-size:24px!important}
.site-head.hg-head .hg-nav.category-nav{width:min(1280px,calc(100% - 36px))!important;margin:0 auto 10px!important;background:#fff!important;border-radius:10px!important;box-shadow:0 3px 12px #12223a14!important}
.site-head.hg-head .hg-nav .nav-scroll{width:100%!important;max-width:none!important;overflow-x:auto!important}
.site-head.hg-head .hg-nav .nav-scroll a{color:#111827!important;background:transparent!important;white-space:nowrap!important;padding:14px 12px!important;font-size:13px!important;line-height:20px!important}
.site-head.hg-head .hg-nav .nav-scroll a.ogx-home-link-v6{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:7px!important;background:#fff!important;color:#111827!important;min-width:0!important;border-radius:0!important}
.site-head.hg-head .hg-nav .nav-scroll a.ogx-home-link-v6 span{display:inline!important}
.site-head.hg-head .hg-nav .nav-scroll a:hover{box-shadow:inset 0 -3px #d20b2c!important;color:#d20b2c!important}
.site-head.hg-head .hg-breaking.breaking{width:min(1280px,calc(100% - 36px))!important;background:#fff!important;margin:0 auto 12px!important;min-height:42px!important;display:block!important}
.site-head.hg-head .hg-breaking.breaking .wrap{display:flex!important;width:100%!important;max-width:none!important;align-items:center!important;overflow:hidden!important}
.site-head.hg-head .hg-breaking .breaking-track{display:flex!important;flex:1!important;overflow:hidden!important;white-space:nowrap!important}
/* Hero stage and controls are deliberately separate: 857/503 image + numbered navigation */
.hgo-home .hgo-hero.hgo-hero-v3{display:grid!important;grid-template-columns:minmax(0,2.55fr) minmax(210px,1fr)!important;gap:14px!important;align-items:stretch!important}
.hgo-home .hgo-hero.hgo-hero-v3>.hgo-hero-main{display:flex!important;flex-direction:column!important;position:relative!important;height:auto!important;min-height:0!important;overflow:hidden!important;background:#fff!important}
.hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-stage{flex:0 0 auto!important;aspect-ratio:857/503!important;width:100%!important;height:auto!important}
.hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-title-frame{display:block!important}
.hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-controls{display:flex!important;position:relative!important;inset:auto!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:52px!important;height:52px!important;padding:4px 9px!important;overflow:hidden!important;background:#fff!important}
.hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-controls>[data-hgo-prev],.hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-controls>[data-hgo-next]{display:none!important}
.hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-dots{display:flex!important;flex:1 1 auto!important;align-items:center!important;justify-content:space-around!important;gap:2px!important;min-width:0!important;overflow-x:auto!important}
.hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-dots button{display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#111827!important;font:800 13px/1 system-ui,sans-serif!important;text-indent:0!important;opacity:1!important}
.hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-dots button::after{display:none!important;content:none!important}
.hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-dots button[aria-current="true"]{background:#d20b2c!important;color:#fff!important}
.hgo-home .hgo-hero.hgo-hero-v3>.ogx-ref-hero-side{height:100%!important;grid-template-rows:repeat(2,minmax(0,1fr))!important}
.hgo-home .hgo-hero.hgo-hero-v3 .ogx-ref-hero-side-card{height:100%!important;min-height:0!important}
.hgo-home .hgo-hero.hgo-hero-v3 .ogx-ref-hero-side-card img{display:block!important;flex:1 1 auto!important;height:0!important;min-height:0!important;object-fit:cover!important}
.hgo-home .hgo-hero.hgo-hero-v3 .ogx-ref-hero-side-card strong{flex:0 0 auto!important;line-height:1.35!important}
/* Article actions sit below headline/metadata and before the cover image */
.article .ogx-ref-tools{margin:14px 0 18px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.article .ogx-ref-tools button,.article .ogx-ref-tools a{min-height:68px!important;border:1px solid #e1e5ec!important;border-radius:11px!important;background:#fff!important}
@media(max-width:700px){
 .site-head.hg-head .hg-masthead.wrap{min-height:80px!important;padding:9px 0!important;position:relative!important;display:grid!important;grid-template-columns:1fr auto 1fr!important}
 .site-head.hg-head .hg-brand{grid-column:2!important;justify-self:center!important;max-width:calc(100vw - 110px)!important}
 .site-head.hg-head .hg-brand img{max-width:calc(100vw - 125px)!important;max-height:66px!important}
 .site-head.hg-head .hg-header-extras{grid-column:3!important;justify-self:end!important;gap:2px!important}
 .site-head.hg-head .hg-nav.category-nav,.site-head.hg-head .hg-breaking.breaking{width:100%!important;border-radius:0!important}
 .site-head.hg-head .hg-nav .nav-scroll a.ogx-home-link-v6 span{display:none!important}
 .hgo-home .hgo-hero.hgo-hero-v3{display:block!important}
 .hgo-home .hgo-hero.hgo-hero-v3>.ogx-ref-hero-side{height:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important;margin-top:10px!important}
 .hgo-home .hgo-hero.hgo-hero-v3 .ogx-ref-hero-side-card img{height:115px!important;flex:none!important}
 .hgo-home .hgo-hero.hgo-hero-v3 .hgo-hero-dots button{flex-basis:28px!important;width:28px!important;min-width:28px!important}
 .article .ogx-ref-tools{grid-template-columns:1fr!important}
}

/* Category news layout repair: 1 feature + 2 right + 3 bottom. Scoped only to category module. */
@media (min-width:701px){
.hgo-home .hgo-block-category .ogx-ref-six{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(2,154px) 222px!important;gap:14px!important;align-items:stretch!important;grid-auto-flow:row!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card{grid-column:span 2!important;grid-row:auto!important;min-width:0!important;min-height:0!important;height:100%!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:nth-child(1){grid-column:span 4!important;grid-row:span 2!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:nth-child(2),.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:nth-child(3){grid-column:span 2!important;grid-row:span 1!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card>a{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card img,.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card .media-placeholder{display:block!important;flex:none!important;width:100%!important;height:135px!important;aspect-ratio:auto!important;object-fit:cover!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:nth-child(1) img,.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:nth-child(1) .media-placeholder{height:225px!important;aspect-ratio:auto!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:nth-child(2) img,.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:nth-child(3) img{height:91px!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card h3{margin:6px 11px 10px!important;font-size:14px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:nth-child(1) h3{font-size:20px!important;-webkit-line-clamp:2!important}
}
@media (max-width:700px){
.hgo-home .hgo-block-category .ogx-ref-six{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-flow:row!important;gap:10px!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card{grid-column:span 1!important;grid-row:auto!important;height:auto!important;min-width:0!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:first-child{grid-column:span 2!important;grid-row:auto!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card img{width:100%!important;height:125px!important;aspect-ratio:auto!important;object-fit:cover!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card:first-child img{height:auto!important;aspect-ratio:16/9!important}
.hgo-home .hgo-block-category .ogx-ref-six>.hgo-card h3{font-size:13px!important;line-height:1.35!important}
}
