/* SerieAGoal 2.44 | News archive repair + mobile gutters + touch carousel.
 * Scoped to News landing and dedicated news archives. No single articles. */
html[data-sg-theme] body.sg-body.sg-page-news .sg217-page{
 box-sizing:border-box!important;width:100%!important;max-width:1400px!important;min-width:0!important;
 margin-left:auto!important;margin-right:auto!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg217-page .sg217-archive{
 width:100%!important;max-width:100%!important;min-width:0!important;
 box-sizing:border-box!important;margin-inline:0!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg217-page .sg217-landing{
 width:100%!important;max-width:100%!important;min-width:0!important;
 box-sizing:border-box!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg217-page .sg217-archive__grid{
 min-width:0!important;width:100%!important;box-sizing:border-box!important;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg217-page .sg217-archive__grid .sg217-archive-card{
 min-width:0!important;max-width:100%!important;
}
html[data-sg-theme] body.sg-body.sg-page-news :is(.sg215-shelf__feature,.sg215-shelf__four){
 min-width:0;max-width:100%;box-sizing:border-box;
}
html[data-sg-theme] body.sg-body.sg-page-news .sg215-story,
html[data-sg-theme] body.sg-body.sg-page-news .sg215-story__media,
html[data-sg-theme] body.sg-body.sg-page-news .sg215-story__body{
 min-width:0;max-width:100%;box-sizing:border-box;
}
@media(max-width:760px){
 /* Reclaim the gutters erased by generic global mobile full-bleed styles. */
 html[data-sg-theme] body.sg-body.sg-page-news .sg-main>.sg49-page{
   width:100%!important;max-width:100%!important;min-width:0!important;
   padding-left:14px!important;padding-right:14px!important;
   margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;
 }
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg215-landing,
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg215-shelf,
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg217-archive{
   min-width:0!important;max-width:100%!important;width:100%!important;
   margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;
 }
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg217-archive{padding-left:0!important;padding-right:0!important}
 /* Mobile only: last four news cards become a real swipeable horizontal rail. */
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg215-shelf__four,
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg217-archive .sg215-shelf__four{
   display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
   grid-template-columns:none!important;overflow-x:auto!important;overflow-y:hidden!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   gap:12px!important;align-items:stretch!important;
   scroll-snap-type:x mandatory;scroll-padding-inline:2px;
   overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
   padding:0 0 6px!important;margin:12px 0 0!important;scrollbar-width:none;
 }
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg215-shelf__four::-webkit-scrollbar{display:none}
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg215-shelf__four>.sg215-story{
   flex:0 0 min(78%,280px)!important;width:min(78%,280px)!important;
   min-width:0!important;max-width:none!important;scroll-snap-align:start;scroll-snap-stop:normal;
   margin:0!important;height:auto!important;
 }
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg215-shelf__four .sg215-story__media{
   width:100%!important;aspect-ratio:16/9!important;height:auto!important;min-height:0!important;
 }
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg215-shelf__four .sg215-story__media img{
   width:100%!important;height:100%!important;object-fit:cover!important;
 }
}
@media(max-width:380px){
 html[data-sg-theme] body.sg-body.sg-page-news .sg-main>.sg49-page{
   padding-left:12px!important;padding-right:12px!important;
 }
 html[data-sg-theme] body.sg-body.sg-page-news .sg49-page .sg215-shelf__four>.sg215-story{
   flex-basis:84%!important;width:84%!important;
 }
}
@media(prefers-reduced-motion:reduce){html[data-sg-theme] body.sg-body.sg-page-news .sg215-shelf__four{scroll-behavior:auto!important}}
