/* ---- NBL v2 (navbharat-style: lead row + list rows + grid) ----
   Overrides page-inline styles via !important so all 5 pages match. ---- */
.nbl-lead-row,.nbl-lead-grid{display:grid!important;grid-template-columns:1.28fr 1.28fr!important;gap:1rem!important;align-items:start!important}
.nbl-lead-main,[data-nbl-lead]{margin:0!important;min-width:0!important}
.nbl-lead-under{display:flex!important;flex-direction:column!important;gap:.45rem!important;margin-top:.45rem!important}
.nbl-lead-card{height:100%;margin:0!important}
.nbl-lead-card .category-card-media,.nbl-lead-card .search-card-media{display:block!important;width:100%!important}
.nbl-lead-card .news-thumb,.nbl-lead-card .img-placeholder{width:100%!important;height:330px!important;object-fit:cover!important;display:block!important}
.nbl-lead-title{font-size:1.22rem!important;line-height:1.45!important;font-weight:700!important;margin:0 0 .3rem!important}
.nbl-lead-card .card-text{font-size:.9rem!important;line-height:1.55!important}
.nbl-side-list,.nbl-list{display:flex!important;flex-direction:column!important;gap:.45rem!important;min-width:0!important}
.nbl-list-card{flex-direction:row!important;align-items:flex-start!important;flex-wrap:nowrap!important;margin:0!important}
.nbl-list-card .category-card-body,.nbl-list-card .search-card-body{order:0!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-width:0!important}
.nbl-list-card .category-card-media,.nbl-list-card .search-card-media{order:1!important;flex:0 0 128px!important;max-width:128px!important;width:128px!important;height:96px!important;overflow:hidden!important;margin-left:.75rem!important}
/* Under the lead, Navbharat keeps the thumbnail on the left. */
.nbl-lead-under .nbl-list-card .category-card-media,.nbl-lead-under .nbl-list-card .search-card-media{order:0!important;margin-left:0!important;margin-right:.75rem!important}
.nbl-lead-under .nbl-list-card .category-card-body,.nbl-lead-under .nbl-list-card .search-card-body{order:1!important}
.nbl-list-card .news-thumb,.nbl-list-card .img-placeholder{width:128px!important;height:96px!important;object-fit:cover!important;display:block!important}
.nbl-list-title{font-size:.93rem!important;line-height:1.42!important;font-weight:600!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:0!important}
.nbl-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem!important;margin-top:.75rem!important}
/* Grid below sidebar: full container width → 3 columns on desktop, list/lead untouched. */
.nbl-grid-full{margin-left:0!important;margin-right:0!important;width:100%!important}
@media (min-width:992px){.nbl-grid.nbl-grid-full{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1rem!important}}
.nbl-grid-more{width:100%!important}
.nbl-grid-card{flex-direction:column!important;height:100%!important;margin:0!important}
.nbl-grid-card .category-card-media,.nbl-grid-card .search-card-media{width:100%!important;order:0!important}
.nbl-grid-card .news-thumb,.nbl-grid-card .img-placeholder{width:100%!important;height:170px!important;object-fit:cover!important;display:block!important}
.nbl-grid-card .category-card-body,.nbl-grid-card .search-card-body{order:1!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important}
.nbl-grid-title{font-size:.95rem!important;line-height:1.45!important;font-weight:600!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:0!important}
.nbl-cat-row{display:flex!important;align-items:center!important;gap:.4rem!important;flex-wrap:wrap!important;margin-top:.4rem!important}
.nbl-load-more{border-radius:999px!important;padding:.55rem 2.4rem!important;font-weight:700!important}
@media (max-width:991.98px){.nbl-lead-row,.nbl-lead-grid{grid-template-columns:1fr!important}.nbl-lead-card .news-thumb,.nbl-lead-card .img-placeholder{height:250px!important}.nbl-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nbl-grid-card .news-thumb,.nbl-grid-card .img-placeholder{height:150px!important}}
.nbl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.75rem}
.nbl-grid-card{flex-direction:column!important;height:100%;margin:0!important}
.nbl-grid-card .category-card-media{width:100%;order:0}
.nbl-grid-card .news-thumb,.nbl-grid-card .img-placeholder{width:100%;height:170px;object-fit:cover;display:block}
.nbl-grid-card .category-card-body{order:1;flex:1 1 auto;display:flex;flex-direction:column}
.nbl-grid-title{font-size:.95rem;line-height:1.45;font-weight:600;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.nbl-cat-row{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin-top:.4rem}
.nbl-load-more{border-radius:999px;padding:.55rem 2.4rem;font-weight:700}
/* The original pages use different inner card names; lock each NBL variant
   to its intended direction so their former list/grid toggle rules cannot win. */
.nbl-lead-card .category-card,.nbl-lead-card .search-card,.nbl-grid-card .category-card,.nbl-grid-card .search-card{flex-direction:column!important}
.nbl-list-card .category-card,.nbl-list-card .search-card{flex-direction:row!important;align-items:flex-start!important;flex-wrap:nowrap!important}
@media (max-width:991.98px){.nbl-lead-row{grid-template-columns:1fr}.nbl-lead-card .news-thumb,.nbl-lead-card .img-placeholder{height:250px}.nbl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nbl-grid-card .news-thumb,.nbl-grid-card .img-placeholder{height:150px}}
@media (max-width:575.98px){.nbl-lead-card .news-thumb,.nbl-lead-card .img-placeholder{height:205px}.nbl-list-card .category-card-media,.nbl-list-card .search-card-media{flex-basis:104px;max-width:104px;width:104px;height:78px}.nbl-list-card .news-thumb,.nbl-list-card .img-placeholder{width:104px;height:78px}}
/* hide old list/grid toggle + numbered pagination (Load More replaces them) */
.view-btn{display:none!important}
ul.pagination{display:none!important}

/* One visual system for Category, Author, Search and Live Blog listings. */
#categoryView,#authorView,#searchView,#lbView,#heroView{display:block!important}
#categoryView .news-card,#authorView .news-card,#searchView .news-card,#lbView .news-card,#heroView .news-card{
  border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
}
#categoryView .category-card-body,#authorView .category-card-body,#lbView .category-card-body,#heroView .category-card-body,#searchView .search-card-body{padding:.55rem 0!important}
#categoryView .nbl-list-card,#authorView .nbl-list-card,#searchView .nbl-list-card,#lbView .nbl-list-card,#heroView .nbl-list-card{border-bottom:1px solid #e5e7eb!important}
#categoryView .nbl-grid-card,#authorView .nbl-grid-card,#searchView .nbl-grid-card,#lbView .nbl-grid-card,#heroView .nbl-grid-card{border:1px solid #e5e7eb!important;border-radius:.35rem!important;overflow:hidden!important;background:#fff!important}
#categoryView .nbl-grid-card .category-card-body,#authorView .nbl-grid-card .category-card-body,#lbView .nbl-grid-card .category-card-body,#heroView .nbl-grid-card .category-card-body,#searchView .nbl-grid-card .search-card-body{padding:.65rem!important}
