/* W1 Network Stories · 2.2 editorial refinement.
 * This layer preserves site-defined colors, type, widget positions and plugins. */
:root{--w1-focus:var(--gold,#a81036)}
html{scroll-padding-top:calc(var(--w1-header-height,90px) + 16px)}
body{overflow-wrap:break-word}
.container,.main-article,.article-layout,.story-card{min-width:0}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--w1-focus);outline-offset:3px}
:where(.story-card,.hero-card) img{max-width:100%;height:auto}
.story-grid{align-items:start}
.article-header h1{max-width:20ch;text-wrap:balance}
.main-article .entry-content{overflow-wrap:anywhere}
.entry-content :where(img,figure,video,iframe,table){max-width:100%}
.entry-content :where(figure,figcaption){overflow-wrap:break-word}
.entry-content img{height:auto}
.entry-content h2,.entry-content h3{scroll-margin-top:calc(var(--w1-header-height,90px) + 14px)}
.pagination :where(a,span),.reader-controls button,.load-more{min-height:40px}
.breadcrumbs,.article-meta{flex-wrap:wrap}
.w1-image-share-host img{max-width:100%}
@media(max-width:820px){
  .article-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
  body:not(.sidebar-off) .article-layout>.article-sidebar{display:block;min-width:0;max-width:100%;border-top:1px solid var(--line,#e3e3e3);padding-top:20px}
  .article-header h1{font-size:clamp(2rem,6vw,3.25rem)}
  .story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){.story-grid{gap:18px 10px}.card-body h3{overflow-wrap:anywhere}.entry-content :where(ul,ol){padding-inline-start:1.25em}}
@media(max-width:340px){.story-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
