/* Homepage V2.8 — 300×600 rail above a full-width four-column editorial row.
   Loaded after v2.5 refinements; scoped to homepage to avoid other modules. */
@media (min-width: 1051px) {
  .home-main .page-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
  }
  .home-main .home-primary-ad-rail {width:300px;max-width:300px;min-width:0}
  .home-main .home-primary-ad-rail .ad-rail,
  .home-main .home-primary-ad-rail .ad-slot {width:300px;max-width:100%;min-height:600px}
}
.home-main .home-four {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  gap:12px;
  width:100%;
  margin:20px 0 22px;
}
.home-main .home-four .home-three-panel {min-width:0;min-height:100%;padding:12px}
.home-main .home-four .home-title h2 {font-size:clamp(15px,1.4vw,19px)}
.home-main .home-four .home-three-items {min-width:0}
.home-main .home-four .home-three-items .home-list-row {gap:7px}
.home-main .home-four .home-three-items .home-list-row img,
.home-main .home-four .home-three-items .home-list-row .home-image-fallback {
  width:70px;height:52px;flex-basis:70px;
}
.home-main .home-four .home-three-items .home-update-thumb {width:66px;height:55px;flex-basis:66px}
.home-main .home-four .home-three-items .home-list-row b,
.home-main .home-four .home-three-items .home-update-info b {font-size:11px;overflow-wrap:anywhere}
.home-main .home-four .home-three-items .home-list-row small,
.home-main .home-four .home-three-items .home-update-info small {font-size:10px}
.home-main .home-four .home-update-row {gap:7px}
.home-main .home-four .home-update-arrow {font-size:17px}
/* Featured TV Show: one large image and concise editorial CTA. */
.home-main .home-featured-show-card {
 display:flex;flex:1;flex-direction:column;overflow:hidden;min-width:0;
 color:#fff;border-radius:5px;text-decoration:none;background:linear-gradient(180deg,#0b304c,#082238);
 border:1px solid #1b6287;margin-top:8px;
}
.home-main .home-featured-show-card:hover {border-color:#19bbf5;text-decoration:none}
.home-main .home-featured-show-art {
 position:relative;display:block;min-height:195px;flex:1 1 auto;overflow:hidden;
 background:linear-gradient(125deg,#173e5c,#061c2c);
}
.home-main .home-featured-show-art > img {
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;
}
.home-main .home-featured-show-art .home-image-fallback {font-size:19px}
.home-main .home-featured-show-art:after {
 content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(2,16,27,.75));pointer-events:none;
}
.home-main .home-featured-show-tag {
 position:absolute;z-index:2;top:10px;left:10px;background:#0a9bd5;color:#fff;
 border-radius:3px;padding:5px 7px;font-size:10px;letter-spacing:.04em;font-weight:800;
}
.home-main .home-featured-show-content {display:flex;flex-direction:column;gap:8px;padding:13px 12px 16px}
.home-main .home-featured-show-content strong {font-size:18px;line-height:1.2}
.home-main .home-featured-show-content small {font-size:12px;color:#b1d3e5;line-height:1.45}
.home-main .home-featured-show-link {font-weight:bold;font-size:12px;color:#36c7ff;margin-top:8px}
@media(max-width:1250px) and (min-width:851px){
  .home-main .home-four {grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-main .home-four .home-featured-show-art {min-height:210px}
}
@media(max-width:1050px){
  .home-main .page-grid {grid-template-columns:minmax(0,1fr) 250px}
  .home-main .home-primary-ad-rail .ad-rail {width:100%;min-height:500px}
}
@media(max-width:850px){
  .home-main .home-primary-ad-rail {display:none}
  .home-main .home-four {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:620px){
  .home-main .home-four {grid-template-columns:1fr}
  .home-main .home-featured-show-art {min-height:245px}
  .home-main .home-four .home-three-items .home-list-row img,
  .home-main .home-four .home-three-items .home-list-row .home-image-fallback {width:88px;height:58px;flex-basis:88px}
  .home-main .home-four .home-three-items .home-update-thumb {width:82px;height:60px;flex-basis:82px}
  .home-main .home-four .home-three-items .home-list-row b,
  .home-main .home-four .home-three-items .home-update-info b {font-size:12px}
}

/* V2.9: full-width Tonight on TV and shifted leaderboard slots. */
.home-main .home-tonight-fullwidth{width:100%;margin-top:18px;clear:both}
.home-main .home-tonight-fullwidth .home-tonight-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.home-main .home-tonight-fullwidth .home-air-card{min-height:155px}
.home-main .home-banner-after-editorial{margin-top:16px;margin-bottom:25px}
.home-main .home-banner-after-browse{margin-top:24px;margin-bottom:22px}
@media (max-width:1200px){
  .home-main .home-tonight-fullwidth .home-tonight-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:800px){
  .home-main .home-tonight-fullwidth .home-tonight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:480px){
  .home-main .home-tonight-fullwidth .home-tonight-grid{grid-template-columns:1fr}
}
