/* Toli Adugu V12.8.3 — Top 10 polish, hero text safety, desktop category decks */

/* =========================================================
   TOP 10 — no title bar; use the full rail height
   ========================================================= */
#top10.v127-moved-top10>.container{
  grid-template-rows:minmax(0,1fr)!important;
}
#top10.v127-moved-top10 .section-head{display:none!important}
#top10.v127-moved-top10 .ranking-wall{
  height:100%!important;
  min-height:0!important;
  padding:7px!important;
}

/* Never crop ranked headlines. Each title may use two compact lines. */
#top10.v127-moved-top10 .top10-rotator-list li{
  grid-template-columns:29px 35px minmax(0,1fr)!important;
  align-items:center!important;
  min-height:0!important;
}
#top10.v127-moved-top10 .top10-rotator-list li b{
  font-family:'Anek Telugu','Noto Sans Telugu',sans-serif!important;
  font-size:10.6px!important;
  font-weight:800!important;
  line-height:1.18!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}

/* Feature card: exact 16:9 image first, then headline + deck below. */
#top10.v127-moved-top10 .rotating-rank-feature{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  background:#fff!important;
  overflow:hidden!important;
}
#top10.v127-moved-top10 .rank-feature-media{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16/9!important;
  flex:0 0 auto!important;
  overflow:hidden!important;
  border-radius:15px 15px 0 0!important;
}
#top10.v127-moved-top10 .rank-feature-media .rank-feature-image,
#top10.v127-moved-top10 .rank-feature-media .rank-feature-image-next{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
#top10.v127-moved-top10 .rank-feature-copy{
  position:relative!important;
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
  margin:0!important;
  padding:9px 12px 10px!important;
  border-radius:0 0 15px 15px!important;
  /* Follow the currently highlighted rank colour instead of one fixed magenta. */
  background:linear-gradient(135deg,
    color-mix(in srgb,var(--rank-accent) 88%,white) 0%,
    var(--rank-accent) 58%,
    color-mix(in srgb,var(--rank-accent) 84%,#102846) 100%)!important;
  border-top:2px solid color-mix(in srgb,var(--rank-accent) 58%,white)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34)!important;
  color:#fff!important;
  overflow:hidden!important;
}
#top10.v127-moved-top10 .rank-feature-copy h3{
  font-family:'Anek Telugu','Noto Sans Telugu',sans-serif!important;
  font-size:13.5px!important;
  font-weight:800!important;
  line-height:1.24!important;
  margin:0!important;
  color:#fff!important;
  white-space:normal!important;
  text-overflow:clip!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
#top10.v127-moved-top10 .rank-feature-copy p{
  font-family:'Mandali','Noto Sans Telugu',sans-serif!important;
  font-size:10px!important;
  font-weight:400!important;
  line-height:1.38!important;
  margin:4px 0 0!important;
  color:rgba(255,255,255,.96)!important;
  white-space:normal!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

/* =========================================================
   MAIN HERO — stop desktop headline ellipsis/cropping
   ========================================================= */
@media (min-width:761px){
  .broadcast-hero .lower-third{
    height:78px!important;
    min-height:78px!important;
  }
  .broadcast-hero .lower-code{
    height:78px!important;
  }
  .broadcast-hero .lower-third>div{
    height:78px!important;
    padding-top:4px!important;
    padding-bottom:4px!important;
  }
  .broadcast-hero .lower-third h1{
    font-family:'Anek Telugu','Noto Sans Telugu',sans-serif!important;
    font-size:clamp(20px,1.42vw,27px)!important;
    font-weight:800!important;
    line-height:1.22!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
  }
}

/* =========================================================
   ALL HOMEPAGE CATEGORY CARDS — short description on desktop
   ========================================================= */
.category-section .news-copy .v1283-short-desc{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  margin:5px 0 7px!important;
  color:#697b8e!important;
  font-family:'Mandali','Noto Sans Telugu',sans-serif!important;
  font-size:10.5px!important;
  font-weight:400!important;
  line-height:1.45!important;
}
.category-section .lead-news-card .news-copy .v1283-short-desc{
  font-size:11.5px!important;
  line-height:1.5!important;
}

/* Dynamic category pages also show child-card decks on desktop. */
.dynamic-category-page .cat-short-desc{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  margin:5px 0 0!important;
  color:#64748b!important;
  font-family:'Mandali','Noto Sans Telugu',sans-serif!important;
  font-size:10px!important;
  line-height:1.45!important;
}

/* User requested descriptions only on desktop. */
@media (max-width:760px){
  .category-section .news-copy .v1283-short-desc,
  .dynamic-category-page .cat-copy p,
  .dynamic-category-page .cat-short-desc{
    display:none!important;
  }
}
