/* DTV-HOME-POLISH01 Correction 06 — Cross-Viewport Final Regression Recovery & Responsive Contract Lock.
 * Scope is intentionally surgical: <=440 Hero/Highlights, 641–800 Local Network,
 * 801–1199 Hero/Selected/Now-on-Network. Locked desktop and unrelated homepage sections are untouched.
 */

/* 427–440: restore the approved minimal Hero navigation and guarantee a complete 2x2 Highlights slide. */
@media (max-width:440px){
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__copy{left:18px!important;right:18px!important;bottom:86px!important;width:auto!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__copy h1,
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__copy h2{max-width:100%!important;font-size:20px!important;line-height:1.08!important;-webkit-line-clamp:3!important;line-clamp:3!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__controls{left:18px!important;right:18px!important;bottom:16px!important;height:46px!important;gap:8px!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__controls [data-hero-nav]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__controls [data-hero-nav] button,
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__controls [data-hero-nav] button[aria-current="true"]{width:auto!important;min-width:0!important;height:42px!important;padding:2px 3px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__controls>[data-hero-prev],
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__controls>[data-hero-next]{flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;border-radius:50%!important;}

  body.home [data-dtv-homepage="ux10"] .dtv-page08-highlights-viewport{overflow:hidden!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-page08-highlights-slide{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-template-rows:none!important;gap:10px!important;width:100%!important;min-width:100%!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-page08-highlights-slide>article{display:block!important;visibility:visible!important;min-width:0!important;width:auto!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-page08-highlights-slide>article>a{display:block!important;width:100%!important;height:auto!important;aspect-ratio:9/16!important;}
}

/* 768 class: give the two discovery rows their full vertical box; prevent first-row typography clipping. */
@media (min-width:641px) and (max-width:800px){
  body.home [data-dtv-homepage="ux10"] .dtv-page07-regions{height:246px!important;min-height:246px!important;padding:14px 8px 48px!important;overflow:hidden!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g5-local-network__rail{grid-template-rows:repeat(2,85px)!important;height:176px!important;gap:6px 0!important;overflow:visible!important;align-content:start!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g5-local-network__rail>a{height:85px!important;min-height:85px!important;padding:8px!important;align-content:center!important;overflow:hidden!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g5-local-network__rail>a>small,
  body.home [data-dtv-homepage="ux10"] .dtv-g5-local-network__rail>a>strong,
  body.home [data-dtv-homepage="ux10"] .dtv-g5-local-network__rail>a>em{position:static!important;transform:none!important;}
}

/* 1024 class: keep tablet-wide controls inset, restore a richer Selected rail and show two complete network stories. */
@media (min-width:801px) and (max-width:1199px){
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__controls{left:28px!important;right:28px!important;bottom:20px!important;width:auto!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__controls>[data-hero-prev],
  body.home [data-dtv-homepage="ux10"] .dtv-g2-hero__controls>[data-hero-next]{flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;border-radius:50%!important;}

  body.home .dtv-front-hero-slider.dtv-broadcast-stage #dtv-editorial-rail-selected>.dtv-broadcast-rail__item{min-height:62px!important;}
  body.home .dtv-front-hero-slider.dtv-broadcast-stage #dtv-editorial-rail-selected .dtv-broadcast-rail-card{display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:62px!important;padding:7px 10px 7px 52px!important;}
  body.home .dtv-front-hero-slider.dtv-broadcast-stage #dtv-editorial-rail-selected .dtv-broadcast-rail-card__media{display:block!important;width:62px!important;height:40px!important;overflow:hidden!important;border-radius:6px!important;}
  body.home .dtv-front-hero-slider.dtv-broadcast-stage #dtv-editorial-rail-selected .dtv-broadcast-rail-card__media img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;}
  body.home .dtv-front-hero-slider.dtv-broadcast-stage #dtv-editorial-rail-selected .dtv-broadcast-rail-card__content{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;min-height:40px!important;}
  body.home .dtv-front-hero-slider.dtv-broadcast-stage #dtv-editorial-rail-selected .dtv-broadcast-rail-card__title{font-size:11.5px!important;line-height:1.2!important;-webkit-line-clamp:2!important;line-clamp:2!important;}
  body.home .dtv-front-hero-slider.dtv-broadcast-stage #dtv-editorial-rail-selected .dtv-broadcast-rail-card__meta{font-size:8px!important;}

  body.home [data-dtv-homepage="ux10"] .dtv-g3-ticker{grid-template-columns:150px minmax(0,1fr) 104px!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g3-ticker__viewport{min-width:0!important;overflow:hidden!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g3-ticker__viewport>ul{display:flex!important;width:100%!important;min-width:0!important;height:100%!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g3-ticker__viewport li{flex:0 0 50%!important;width:50%!important;min-width:0!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g3-ticker__viewport li>a{min-width:0!important;padding-left:12px!important;padding-right:12px!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g3-ticker__viewport span{font-size:9px!important;line-height:1.2!important;-webkit-line-clamp:2!important;line-clamp:2!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g3-ticker__controls{grid-column:3!important;display:flex!important;width:104px!important;justify-content:center!important;gap:8px!important;}
  body.home [data-dtv-homepage="ux10"] .dtv-g3-ticker__all{display:none!important;}
}
