/* 63.10: narrow portrait layout; desktop rules remain unchanged. */
@media (max-width:600px) {
.g7d-home.g7d-home-vnext-active,.g7d-home.g7d-home-vnext-active :is(.td-container,.td-pb-row,#g7d-home-main){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin-inline:0!important;}
.g7d-home.g7d-home-vnext-active #g7d-home-main{padding-inline:10px!important;}
.g7d-home.g7d-home-vnext-active :is(section,article,aside){min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-hero__grid,.g7d-home-duo__grid,.g7d-home-hardware__grid,.g7d-home-news__grid,.g7d-home-hero__subgrid){grid-template-columns:minmax(0,1fr)!important;min-width:0!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__lead,.g7d-home-hardware__lead,.g7d-home-duo__mini){display:flex!important;flex-direction:column!important;align-items:stretch!important;height:auto!important;min-height:0!important;gap:10px!important;padding:12px!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__media,.g7d-home-hardware__media,.g7d-home-duo__mini-image){display:block!important;position:relative!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;margin:0!important;overflow:hidden!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__media,.g7d-home-hardware__media,.g7d-home-duo__mini-image) img{width:100%!important;height:100%!important;object-fit:cover!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__body,.g7d-home-hardware__body){width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;}
.g7d-home.g7d-home-vnext-active :is(h1,h2,h3,h4,h1 a,h2 a,h3 a,h4 a){white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:manual!important;min-width:0!important;max-width:100%!important;max-height:none!important;-webkit-line-clamp:unset!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-news__card,.g7d-home-hero__subcard){height:auto!important;min-height:0!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-hero__subcard{min-height:150px!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-hero__surface{background-image:linear-gradient(180deg,#06121c88,#06121cf5),var(--hero-bg)!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-hero__sidecard{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-rows:auto!important;gap:6px 10px!important;min-height:0!important;height:auto!important;align-items:start!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-hero__sidecard>*{grid-area:auto!important;min-width:0!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-hero__sidecard .g7d-home-hero__sidethumb{grid-column:1!important;grid-row:1/3!important;width:76px!important;height:58px!important;margin:0!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-hero__sidecard :is(.g7d-home-hero__kicker,.g7d-home-hero__sidetitle){grid-column:2!important;padding:0!important;margin:0!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-hero__sidecard .g7d-home-hero__kicker{grid-row:1!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-hero__sidecard .g7d-home-hero__sidetitle{grid-row:2!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-hero__sidecard .g7d-home-hero__statusbar{grid-column:1/-1!important;position:static!important;display:flex;flex-wrap:wrap;margin:0!important;}
.g7d-home.g7d-home-vnext-active article>.g7d-rbp-card-awards{position:static!important;inset:auto!important;transform:none!important;align-self:flex-end!important;justify-self:end!important;grid-column:1/-1!important;order:5!important;max-width:100%!important;flex-wrap:wrap!important;margin:0!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__score,.g7d-home-duo__mini-score,.g7d-home-hardware__score,.g7d-home-hero__score){position:relative!important;inset:auto!important;transform:none!important;align-self:flex-end!important;justify-self:end!important;order:5!important;grid-column:1/-1!important;}
.g7d-home.g7d-home-vnext-active article:has(>.g7d-rbp-card-awards) :is(h4,.g7d-home-duo__body,.g7d-home-hardware__body,.g7d-home-hero__sidetitle){padding-right:0!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__badge,.g7d-home-hardware__badge){white-space:nowrap!important;font-size:10px!important;line-height:1.3!important;max-width:100%!important;}
#g7d-global-nav{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;border-radius:14px!important;}
#g7d-global-nav .g7d-global-nav__inner{padding:6px 10px!important;gap:2px!important;min-height:0!important;}
#g7d-global-nav .g7d-global-nav__brand{font-size:21px!important;}
#g7d-global-nav .g7d-global-nav__links{flex:1 1 100%!important;overflow-x:auto!important;scrollbar-width:none;}
#g7d-global-nav .g7d-global-nav__links::-webkit-scrollbar{display:none;}
#g7d-global-nav .g7d-global-nav__links a{font-size:12px!important;padding:9px 4px!important;flex-shrink:0;}
#g7d-footer,#g7d-footer :is(.g7d-foot-wrap,.g7d-foot-grid,.g7d-foot-col){min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
#g7d-footer .g7d-foot-wrap{width:100%!important;padding-inline:10px!important;margin-inline:0!important;}
#g7d-footer .g7d-foot-grid{grid-template-columns:minmax(0,1fr)!important;}
#g7d-footer .g7d-footer__about{white-space:normal!important;overflow-wrap:break-word!important;}
body:has(#g7d-footer) .td-scroll-up{display:none!important;}
}

/* 63.11: final portrait spacing, preserving the approved desktop layout. */
@media (max-width:600px) {
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__lead,.g7d-home-duo__mini,.g7d-home-hardware__lead){justify-content:flex-start!important;align-content:start!important;min-height:0!important;max-height:none!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__body,.g7d-home-hardware__body){flex:0 0 auto!important;height:auto!important;min-height:0!important;justify-content:flex-start!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__mini h4,.g7d-home-hardware__lead h3){min-height:0!important;height:auto!important;margin:4px 0!important;}
.g7d-home.g7d-home-vnext-active :is(.g7d-home-duo__mini-score,.g7d-home-hardware__score,.g7d-home-duo__score){margin:4px 0 12px!important;flex-shrink:0!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-news__thumb{height:auto!important;aspect-ratio:16/9!important;overflow:hidden!important;}
.g7d-home.g7d-home-vnext-active .g7d-home-news__thumb img{width:100%!important;height:100%!important;object-fit:cover!important;}
body:has(#g7d-footer) :is(.td-scroll-up,.td-scroll-up-visible,#td-scroll-up){display:none!important;visibility:hidden!important;pointer-events:none!important;}
}
