/* DTV-HOME-POLISH01 Correction 04A — 1024 Tablet Top-Zone, News Density & Trending Balance Recovery.
 * Scope: 801–1199px only. Desktop >=1280 and <=800 contracts remain untouched.
 */
@media (min-width:801px) and (max-width:1199px){
  /* Top Zone: carry the approved text-only Selected identity into tablet. */
  body.home main[data-dtv-homepage="ux10"]>.dtv-g2-top>[data-component="selected-rail"]{
    gap:10px!important;padding:14px 18px!important;
  }
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-selected-pane>header.dtv-vc08-visually-hidden{
    position:static!important;width:auto!important;height:auto!important;margin:0 0 5px!important;padding:0!important;
    overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;
  }
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-selected-pane>header h2{
    margin:0!important;color:#1a2e4a!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;
    letter-spacing:.04em!important;text-transform:uppercase!important;
  }
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-selected-pane li[data-selected-item]{
    display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;grid-template-rows:minmax(48px,auto)!important;
    column-gap:11px!important;align-items:center!important;height:auto!important;min-height:58px!important;padding:5px 0!important;
    border-top:1px solid rgba(26,46,74,.10)!important;overflow:hidden!important;
  }
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-selected-pane li[data-selected-item]:first-child{border-top:0!important;}
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-selected-pane li[data-selected-item] [data-selected-activate]{
    grid-column:1!important;grid-row:1!important;position:static!important;inset:auto!important;transform:none!important;
    justify-self:center!important;align-self:center!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;
  }
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-selected-pane li[data-selected-item]>a{
    grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;
    gap:3px!important;width:100%!important;min-width:0!important;height:auto!important;overflow:hidden!important;
  }
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-selected-pane li[data-selected-item]>a>img{
    display:none!important;width:0!important;height:0!important;margin:0!important;
  }
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-selected-pane li[data-selected-item]>a>span{
    display:-webkit-box!important;position:static!important;width:100%!important;min-width:0!important;height:auto!important;max-height:2.5em!important;
    margin:0!important;padding:0!important;overflow:hidden!important;color:#1a2e4a!important;font-size:12px!important;font-weight:800!important;line-height:1.25!important;
    white-space:normal!important;text-overflow:clip!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2!important;
  }
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-selected-pane li[data-selected-item]>a>small{
    display:block!important;position:static!important;width:100%!important;min-width:0!important;margin:0!important;overflow:hidden!important;
    color:#7a8797!important;font-size:9px!important;font-weight:600!important;line-height:1.15!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  }

  /* News Flow: retain text-first list, reduce vertical footprint without clipping metadata. */
  body.home main[data-dtv-homepage="ux10"] [data-component="selected-rail"]>section+section{padding-top:10px!important;}
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-latest-pane li{min-height:34px!important;padding:3px 0!important;}
  body.home main[data-dtv-homepage="ux10"] .dtv-g2-latest-pane li>a{min-height:28px!important;}

  /* News: two readable 9:16 cards per tablet slide instead of three compressed cards. */
  body.home [data-dtv-homepage="ux10"] .dtv-page06-slider--news-tablet-wide .dtv-page06-slide{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:1fr!important;gap:14px!important;
  }

  /* Trending: preserve lead + ranked rail, but prevent #01 from becoming a second Hero. */
  body.home [data-dtv-homepage="ux10"] .dtv-g7-trending ol[data-item-count="5"]>li:first-child img{
    aspect-ratio:16/4!important;max-height:190px!important;object-fit:cover!important;
  }
  body.home [data-dtv-homepage="ux10"] .dtv-g7-trending ol[data-item-count="5"]>li:first-child>a:after{inset:28% 0 0!important;}
}
