/* ARCH03.2: Top Zone rules moved to homepage-top-zone.css. Shared/downstream rules retained. */
/* DTV-PAGE04 G9 Correction 04 — true media ratios, sparse datasets and final desktop rhythm. */
[data-dtv-homepage="ux10"] :where(.dtv-g4-civic-media,.dtv-g4-news__grid article img,.dtv-g6-shows img,.dtv-g7-trending li img){object-fit:cover;object-position:center}

@media (min-width:1280px){
  /* A sparse Selected Rail uses its full body instead of leaving a dead lower panel. */
  
  
  
  
  
  
  

  /* G4 lead cards: the media box owns 16:9. No inherited fixed height can stretch it. */
  [data-dtv-homepage="ux10"] .dtv-g4-composition{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:32px;margin-top:44px}
  [data-dtv-homepage="ux10"] .dtv-g4-composition>section{min-height:0;padding:0 2px 20px}
  .dtv-g4-councils__grid,.dtv-g4-news__grid{grid-template-columns:minmax(0,1.22fr) minmax(220px,.78fr);gap:22px;min-height:0;padding-top:18px}
  .dtv-g4-councils__grid article,.dtv-g4-news__grid article{height:auto!important;min-height:0}
  .dtv-g4-councils__grid article>a,.dtv-g4-news__grid article>a{display:flex;height:auto!important;min-height:0;flex-direction:column;align-items:stretch;gap:0}
  .dtv-g4-civic-media,.dtv-g4-news__grid article img{display:block;flex:none;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9;border-radius:9px}
  .dtv-g4-councils__grid article strong,.dtv-g4-news__grid article span{align-self:auto;margin-top:13px;font-size:19px;line-height:23px;-webkit-line-clamp:2}
  .dtv-g4-councils__grid article small,.dtv-g4-news__grid article small{margin-top:7px;font-size:11px;line-height:14px}
  .dtv-g4-councils__grid ol,.dtv-g4-news__grid ul{height:auto!important;min-height:100%;grid-auto-rows:minmax(76px,1fr)}
  .dtv-g4-councils__grid li,.dtv-g4-news__grid li{min-height:76px}
  .dtv-g4-councils__grid li span,.dtv-g4-news__grid li span{display:-webkit-box;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .dtv-g4-councils__grid[data-item-count="1"],.dtv-g4-news__grid[data-item-count="1"]{grid-template-columns:minmax(0,640px)}
  .dtv-g4-councils__grid[data-item-count="1"] ol,.dtv-g4-news__grid[data-item-count="1"] ul{display:none}
  .dtv-g4-councils__grid[data-item-count="2"] ol,.dtv-g4-news__grid[data-item-count="2"] ul{grid-template-rows:1fr}
  .dtv-g4-councils__grid[data-item-count="3"] ol,.dtv-g4-news__grid[data-item-count="3"] ul{grid-template-rows:repeat(2,1fr)}
  .dtv-g4-councils__grid[data-item-count="4"] ol,.dtv-g4-news__grid[data-item-count="4"] ul{grid-template-rows:repeat(3,1fr)}

  /* Editorial rhythm remains a 2x2 field, but sparse Shows becomes a deliberate network panel. */
  [data-dtv-homepage="ux10"] .dtv-g6-editorial{margin-top:44px;gap:28px}
  .dtv-g6-lane{height:auto;min-height:400px}
  .dtv-g6-shows>ul{height:auto;min-height:310px;align-items:start}
  .dtv-g6-shows li,.dtv-g6-shows li>a{height:auto}
  .dtv-g6-shows img{width:100%;height:auto!important;aspect-ratio:16/9;max-height:none}
  .dtv-g6-shows[data-item-count="1"]>ul{grid-template-columns:minmax(0,520px)}
  .dtv-g6-shows[data-item-count="2"]>ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dtv-g6-shows .dtv-g6-empty{position:relative;min-height:310px;padding:76px 34px 34px;border:0;background:linear-gradient(135deg,#102a48 0%,#1a4269 100%);color:#fff;font-size:17px;line-height:24px;overflow:hidden}
  .dtv-g6-shows .dtv-g6-empty:before{position:absolute;top:32px;left:34px;color:#ff4652;content:"DTV NETWORK / SHOWS";font:850 11px/14px Inter,sans-serif;letter-spacing:.12em}
  .dtv-g6-shows .dtv-g6-empty:after{position:absolute;right:-34px;bottom:-50px;width:190px;height:190px;border:38px solid rgba(255,255,255,.07);border-radius:50%;content:""}

  /* Closing composition uses the real ranking count without narrow empty columns. */
  [data-dtv-homepage="ux10"] .dtv-g7-closing{grid-template-columns:minmax(0,1.5fr) minmax(440px,.82fr);gap:28px;margin-top:44px}
  .dtv-g7-trending{grid-template-columns:180px minmax(0,1fr)}
  .dtv-g7-trending ol{align-items:stretch}
  .dtv-g7-trending ol[data-item-count="1"]{grid-template-columns:minmax(0,360px)}
  .dtv-g7-trending ol[data-item-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dtv-g7-trending ol[data-item-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dtv-g7-trending ol[data-item-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
  .dtv-g7-trending ol[data-item-count="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
  .dtv-g7-trending li{min-height:268px}
  .dtv-g7-trending li img{width:100%;height:auto!important;aspect-ratio:16/9;max-height:none}
  .dtv-g7-trending li a>span{margin-top:10px;font-size:14px;line-height:18px;-webkit-line-clamp:4}
}


@media (min-width:768px) and (max-width:1279px){
  .dtv-g4-civic-media,.dtv-g4-news__grid article img,.dtv-g6-shows img,.dtv-g7-trending li img{height:auto!important;aspect-ratio:16/9}
  .dtv-g6-shows .dtv-g6-empty{min-height:250px;padding:48px 24px}
}
@media (max-width:767px){
  .dtv-g4-civic-media,.dtv-g4-news__grid article img,.dtv-g6-shows img,.dtv-g7-trending li img{aspect-ratio:16/9}
  .dtv-g6-shows .dtv-g6-empty{min-height:190px;padding:40px 22px}
}
@media (prefers-reduced-motion:reduce){[data-dtv-homepage="ux10"] *{scroll-behavior:auto!important}}
