/* ============================================================
   Homepage-only visual layer for Jain Path Today, matched to
   thewire.in's live computed styles: Eczar (headlines),
   Mukta (everything else), cream bg #F2EEE3,
   accent red #E84F23. Loads after site.css + editorial.css and
   overrides both — scoped to index.html only, so article.html
   and category.html keep their existing look untouched.
   ============================================================ */

:root{
  --bg:#F2EEE3 !important; --bg-raised:#FFFFFF !important; --bg-muted:#E9E3D2 !important;
  --ink:#1C1D1A !important; --ink-2:#46453E !important; --ink-3:#72716A !important;
  --border:#DDD6C2 !important; --border-strong:#C7BFA6 !important;
  --maroon:#E84F23 !important; --maroon-deep:#B63E19 !important; --maroon-soft:#E84F23 !important;
  --gold:#E84F23 !important; --gold-bright:#E84F23 !important;
  --font-display:"Eczar", Georgia, serif !important;
  --font-ui:"Mukta", -apple-system, sans-serif !important;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#17160F !important; --bg-raised:#1E1C14 !important; --bg-muted:#242219 !important;
    --ink:#EFEBDC !important; --ink-2:#BEB9A4 !important; --ink-3:#8B8672 !important;
    --border:#38341F !important; --border-strong:#4A4527 !important;
    --maroon:#E2564F !important; --maroon-deep:#EE7B75 !important; --maroon-soft:#E2564F !important;
    --gold:#E2564F !important; --gold-bright:#E2564F !important;
  }
}
:root[data-theme="dark"]{
  --bg:#17160F !important; --bg-raised:#1E1C14 !important; --bg-muted:#242219 !important;
  --ink:#EFEBDC !important; --ink-2:#BEB9A4 !important; --ink-3:#8B8672 !important;
  --border:#38341F !important; --border-strong:#4A4527 !important;
  --maroon:#E2564F !important; --maroon-deep:#EE7B75 !important; --maroon-soft:#E2564F !important;
  --gold:#E2564F !important; --gold-bright:#E2564F !important;
}
body{font-family:var(--font-ui);}

/* Masthead, nav-wrap and ticker styling now live in header.css, shared by
   every public page (loaded before this file on index.html). */

/* ---------- Hero: Editor's Pick / Main Story / Just In ---------- */
.hero-grid{display:grid;grid-template-columns:240px 1fr 280px;gap:0;border-top:1px solid var(--border);margin-top:24px;padding-top:0;}
.hero-col{padding:22px;}
.hero-col + .hero-col{border-left:1px solid var(--border);}
.hero-col--main{padding:22px 30px 0;}
.hero-col__head{font-family:var(--font-display);font-weight:800;font-size:1.15rem;margin-bottom:14px;color:var(--ink);display:flex;align-items:center;}
#top-stories{display:flex;flex-direction:column;}
#topStoriesList{display:flex;flex-direction:column;justify-content:flex-start;gap:6px;}
#top-stories .top-story{padding:14px 0;}
#top-stories .top-story__thumb{aspect-ratio:16/9;margin-bottom:8px;}
#top-stories .top-story__title{font-size:.98rem;line-height:1.28;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
#top-stories .top-story__date{margin-top:5px;}
#just-in .live-item{padding:14px 0;border-top:1px solid var(--border);display:flex;gap:10px;}
#just-in .live-item:first-child{border-top:0;padding-top:0;}
.live-dot{width:8px;height:8px;border-radius:50%;background:var(--maroon);flex:none;margin-top:6px;animation:pulseDot 1.4s ease-in-out infinite;}
@keyframes pulseDot{0%,100%{opacity:1;}50%{opacity:.3;}}
.live-item__title{font-family:var(--font-display);font-weight:700;font-size:0.92rem;line-height:1.32;color:var(--ink);}
.live-item__title:hover{color:var(--maroon);}
.hero-col--main .page-banner{border:0;min-height:0;}
.hero-col--main .page-banner__bg{position:static;order:2;aspect-ratio:16/10;}
.hero-col--main .page-banner::before{display:none;}
.hero-col--main .page-banner__content{padding:20px 22px 22px;max-width:none;}
.hero-col--main .page-banner__eyebrow{color:var(--maroon);}
.hero-col--main .page-banner__headline{color:var(--ink);font-size:24px;line-height:1.3;}
.hero-col--main .page-banner__desc{color:var(--ink-2);font-family:var(--font-ui);}
.hero-col--main .page-banner:hover .page-banner__headline{color:var(--maroon);}
.hero-sub:empty{display:none;}
.hero-sub__thumb{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--bg-muted);border:1px solid var(--border);margin-bottom:10px;}
.hero-sub__thumb img{width:100%;height:100%;object-fit:cover;}
.hero-sub__title{display:block;font-family:var(--font-display);font-weight:700;font-size:1.08rem;line-height:1.3;color:var(--ink);}
.hero-sub__title:hover{color:var(--maroon);}
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-col + .hero-col{border-left:0;border-top:1px solid var(--border);}
}

/* ---------- Section scaffolding ---------- */
.band{padding:36px 0;border-bottom:1px solid var(--border);}
.band--muted{background:var(--bg-muted);}
.band--dark{background:#B63E19;color:#EFEBDC;}
.section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:22px;}
.section-title{font-family:var(--font-display);font-weight:800;font-size:1.9rem;color:var(--ink);}
.band--dark .section-title{color:#fff;}
.section-more{font-family:var(--font-ui);font-weight:700;font-size:0.8rem;letter-spacing:.03em;text-transform:uppercase;color:var(--maroon);}
.band--dark .section-more{color:#F0A9A5;}

/* ---------- Most Read ---------- */
.most-read-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.mr-card__thumb{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--bg-muted);border:1px solid var(--border);margin-bottom:10px;}
.mr-card__thumb img{width:100%;height:100%;object-fit:cover;}
.mr-card__rank{position:absolute;left:8px;top:8px;background:var(--maroon);color:#fff;font-family:var(--font-display);font-weight:800;font-size:0.95rem;width:30px;height:30px;display:flex;align-items:center;justify-content:center;}
.mr-card__title{display:block;font-family:var(--font-display);font-weight:700;font-size:0.95rem;line-height:1.3;color:var(--ink);}
.mr-card__title:hover{color:var(--maroon);}
@media (max-width:900px){.most-read-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.most-read-grid{grid-template-columns:1fr;}}

/* ---------- Videos ---------- */
.video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.video-card__thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:rgba(255,255,255,.08);margin-bottom:10px;}
.video-card__thumb img,.video-card__thumb video{width:100%;height:100%;object-fit:cover;display:block;}
.video-card__play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}
.video-card__play span{width:44px;height:44px;border-radius:50%;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;color:#fff;}
.video-card__title{display:block;font-family:var(--font-ui);font-weight:700;font-size:0.9rem;line-height:1.35;color:#fff;}
.video-card__title:hover{color:var(--maroon-soft);}
.video-card__meta{font-size:0.76rem;color:#B8B3A0;margin-top:6px;}
.video-modal{border:0;padding:0;background:#000;width:min(960px,94vw);max-width:none;overflow:visible;}
.video-modal::backdrop{background:rgba(0,0,0,.8);}
.video-modal__frame{aspect-ratio:16/9;width:100%;}
.video-modal__frame iframe{width:100%;height:100%;border:0;display:block;}
.video-modal__frame video{width:100%;height:100%;display:block;background:#000;object-fit:contain;}
.video-modal__close{position:absolute;right:0;top:-40px;background:none;border:0;color:#fff;font-size:2rem;line-height:1;cursor:pointer;}
@media (max-width:900px){.video-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.video-grid{grid-template-columns:1fr;}}

/* ---------- Buttons/misc in Wire's accent voice ---------- */
.btn-outline-maroon{font-family:"Mukta",sans-serif;text-transform:uppercase;letter-spacing:.04em;}
.feature-article__headline,.pair-card__title,.notice-card__title,.event-card__title{font-family:var(--font-display);}
.module__head{font-family:var(--font-ui);}

/* ---------- Community band (Feature + Pair, styled like thewire.in's
   "Youth Rise Across India" section — light bg, 3-card grid + side list) ---------- */
.community-grid{display:grid;grid-template-columns:2.4fr 1fr;gap:32px;align-items:start;}
.community-main{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
#articlePairMain{display:contents;}

.content-card__thumb{aspect-ratio:4/3;overflow:hidden;background:var(--bg-muted);border:1px solid var(--border);margin-bottom:12px;}
.content-card__thumb img{width:100%;height:100%;object-fit:cover;}
.content-card__cat{display:block;font-family:var(--font-ui);font-weight:800;font-size:0.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--maroon);margin-bottom:8px;}
.content-card__title{font-family:var(--font-display);font-weight:700;font-size:1.05rem;line-height:1.32;margin-bottom:10px;}
.content-card__title a{color:var(--ink);}
.content-card__title a:hover{color:var(--maroon);}
.content-card__meta{font-family:var(--font-ui);font-size:0.72rem;color:var(--ink-3);display:flex;gap:6px;}
.content-card__meta .dot,.side-list__meta .dot{margin:0 2px;}

.community-side{display:flex;flex-direction:column;gap:22px;}
.side-list__item{display:flex;gap:14px;}
.side-list__thumb{width:90px;height:90px;flex:none;overflow:hidden;background:var(--bg-muted);border:1px solid var(--border);position:relative;}
.side-list__thumb img{width:100%;height:100%;object-fit:cover;}
.side-list__cat{display:block;font-family:var(--font-ui);font-weight:800;font-size:0.64rem;letter-spacing:.06em;text-transform:uppercase;color:var(--maroon);margin-bottom:4px;}
.side-list__title{display:block;font-family:var(--font-display);font-weight:700;font-size:0.92rem;line-height:1.3;color:var(--ink);}
.side-list__title:hover{color:var(--maroon);}
.side-list__meta{font-family:var(--font-ui);font-size:0.7rem;color:var(--ink-3);margin-top:5px;}

@media (max-width:900px){
  .community-grid{grid-template-columns:1fr;}
  .community-main{grid-template-columns:1fr 1fr;}
  .community-side{flex-direction:row;flex-wrap:wrap;}
  .side-list__item{flex:1 1 260px;}
}
@media (max-width:560px){
  .community-main{grid-template-columns:1fr;}
}

/* ---------- Visual Stories: themed red band, matches thewire.in's
   "SIR: What Counts" — big lead card left, 2x2 grid right ---------- */
.themed-band{background:var(--maroon);color:#fff;padding:40px 0;}
.themed-band__head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:16px;margin-bottom:28px;}
.themed-band__title{font-family:var(--font-display);font-weight:800;font-size:clamp(1.7rem,3vw,2.3rem);color:#fff;}
.themed-band__more{font-family:var(--font-ui);font-weight:700;font-size:0.85rem;color:#fff;flex:none;}
.themed-band__more:hover{opacity:.8;}
.themed-band__grid{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;align-items:start;}

.themed-lead__thumb{aspect-ratio:16/10;overflow:hidden;background:rgba(255,255,255,.12);margin-bottom:16px;}
.themed-lead__thumb img{width:100%;height:100%;object-fit:cover;}
.themed-lead__title{font-family:var(--font-display);font-weight:700;font-size:1.55rem;line-height:1.28;}
.themed-lead__title a{color:#fff;}
.themed-lead__title a:hover{opacity:.85;}

.themed-band__small-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.themed-small__thumb{aspect-ratio:16/10;overflow:hidden;background:rgba(255,255,255,.12);margin-bottom:10px;}
.themed-small__thumb img{width:100%;height:100%;object-fit:cover;}
.themed-small__title{font-family:var(--font-display);font-weight:700;font-size:0.98rem;line-height:1.3;}
.themed-small__title a{color:#fff;}
.themed-small__title a:hover{opacity:.85;}

/* Editorial band: same boxes as before; the portrait cover is just scaled down to fit whole inside them */
#editorial-section .themed-lead__thumb,#editorial-section .themed-small__thumb{background:#F7F1E8;}
#editorial-section .themed-lead__thumb img,#editorial-section .themed-small__thumb img{object-fit:contain;}
@media (max-width:900px){.themed-band__grid{grid-template-columns:1fr;}}
@media (max-width:480px){.themed-band__small-grid{grid-template-columns:1fr;}}

/* ---------- Notice / Achievers / Ad rail ---------- */
.grid-with-side{display:grid;grid-template-columns:1fr 300px;gap:32px;align-items:start;}
@media (max-width:820px){.grid-with-side{grid-template-columns:1fr;}}

/* ---------- Footer ---------- */
.site-footer{background:#B63E19;border-top:4px solid var(--maroon);}

/* ================= Phone layout (inspired by thewire.in mobile) =================
   Main story first, Editor's Pick as a swipe carousel, Just In as a list,
   then the Editorial band as stacked rows with the same thumbnail size. */
@media (max-width:960px){
  .hero-grid{grid-template-columns:minmax(0,1fr);}
  .hero-col{min-width:0;}
  .hero-col--main{order:-1;}
}
@media (max-width:700px){
  .hero-grid{margin-top:0;}
  .hero-col{padding:18px 16px;}
  .hero-col--main{padding:16px 16px 4px;}
  .hero-col--main .page-banner__content{padding:14px 14px 16px;}

  #top-stories{display:block;}
  #topStoriesList{display:flex;flex-direction:row;justify-content:flex-start;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px;padding:0 16px 6px;scroll-padding-left:16px;}
  #topStoriesList::-webkit-scrollbar{display:none;}
  #top-stories .top-story{flex:0 0 78%;scroll-snap-align:start;background:var(--bg-raised);border:1px solid var(--border);padding:0 0 12px;}
  #top-stories .top-story:first-child{padding-top:0;}
  #top-stories .top-story{display:block;}
  #top-stories .top-story__thumb{width:100%;height:auto;aspect-ratio:16/10;margin:0 0 10px;border:0;}
  #top-stories .top-story__title,#top-stories .top-story__date{padding:0 12px;}

  .themed-band{padding:26px 0;}
  .themed-band__grid,.themed-band__small-grid{grid-template-columns:1fr;gap:18px;}
  .themed-lead,.themed-small{display:flex;gap:14px;align-items:flex-start;}
  .themed-lead__thumb,.themed-small__thumb{flex:0 0 138px;width:138px;aspect-ratio:4/3;margin:0;}  .themed-lead__title,.themed-small__title{font-size:.98rem;line-height:1.3;}
}

/* Phone: Mahavir Jayanti Mahotsav band uses the same compact rows as the Editorial band */
@media (max-width:700px){
  .band{padding:26px 0;}
  .section-head{margin-bottom:16px;}
  .section-title{font-size:1.7rem;}
  .community-grid,.community-main{grid-template-columns:minmax(0,1fr);gap:18px;}
  .community-side{flex-direction:column;flex-wrap:nowrap;gap:18px;}
  .content-card{display:grid;grid-template-columns:138px minmax(0,1fr);column-gap:14px;align-items:start;}
  .content-card__thumb{grid-row:1 / span 3;width:138px;aspect-ratio:4/3;margin:0;}
  .content-card__cat{margin-bottom:5px;}
  .content-card__title{font-size:.98rem;line-height:1.3;margin-bottom:6px;}
  .side-list__item{flex:none;gap:14px;}
  .side-list__thumb{width:138px;height:104px;}
  .side-list__title{font-size:.98rem;}
}

/* Phone: Videos band becomes a swipe carousel */
@media (max-width:700px){
  .video-grid{display:flex;grid-template-columns:none;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -20px;padding:0 20px 6px;scroll-padding-left:20px;}
  .video-grid::-webkit-scrollbar{display:none;}
  .video-grid .video-card{flex:0 0 78%;scroll-snap-align:start;min-width:0;}
}

/* Phone: main story goes nearly edge-to-edge, photo first and the text below it */
@media (max-width:700px){
  .hero-col--main{margin:0 -12px;padding:10px 0 4px;}
  .hero-col--main .page-banner__bg{order:-1;}
  .hero-col--main .page-banner__content{order:1;}
}

/* Phone: Article band uses the same compact rows as Mahavir Jayanti Mahotsav */
@media (max-width:700px){
  .most-read-grid{grid-template-columns:minmax(0,1fr);gap:18px;}
  .mr-card{display:flex;gap:14px;align-items:flex-start;}
  .mr-card__thumb{flex:0 0 138px;width:138px;height:104px;aspect-ratio:auto;margin:0;}
  .mr-card__rank{display:none;}
  .mr-card__body{flex:1;min-width:0;}
  .mr-card__title{font-size:.98rem;line-height:1.3;}
}

/* ---------- Main-news slider ---------- */
.hero-slider{position:relative;}
.hero-slider__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
.hero-slider__track::-webkit-scrollbar{display:none;}
.hero-slider .hero-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;}
.hero-slider__dots{display:flex;justify-content:center;align-items:center;gap:7px;padding:14px 0 6px;}
.hero-slider__dots[hidden]{display:none;}
.hero-slider__dot{width:8px;height:8px;border-radius:50%;border:0;padding:0;background:var(--border-strong);cursor:pointer;transition:transform .25s,background .25s;}
.hero-slider__dot.is-active{background:var(--maroon);transform:scale(1.35);}
.hero-slider__dot:focus-visible{outline:2px solid var(--maroon);outline-offset:3px;}

/* ---------- Endless news feed ---------- */
#feed-section{border-bottom:0;}
.feed-list{display:grid;grid-template-columns:1fr 1fr;column-gap:48px;}
.feed-item{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:20px;padding:22px 0;border-bottom:1px solid var(--border);align-items:start;}
.feed-item__thumb{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--bg-muted);}
.feed-item__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.feed-item__tag{display:block;font-family:var(--font-ui);font-weight:800;font-size:.68rem;letter-spacing:.06em;color:var(--maroon);margin-bottom:6px;}
.feed-item__title{font-family:var(--font-display);font-weight:700;font-size:1.08rem;line-height:1.35;margin-bottom:6px;}
.feed-item__title a{color:var(--ink);}
.feed-item__title a:hover{color:var(--maroon);}
.feed-item__dek{font-family:var(--font-display);font-size:.88rem;line-height:1.5;color:var(--ink-3);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px;}
.feed-item__date{font-family:var(--font-ui);font-size:.74rem;font-weight:600;color:var(--ink-2);}
.feed-status{text-align:center;color:var(--ink-3);font-family:var(--font-ui);font-weight:600;padding:22px 0 6px;}
@media (max-width:900px){.feed-list{grid-template-columns:1fr;}}
@media (max-width:700px){.feed-item{grid-template-columns:138px minmax(0,1fr);gap:14px;padding:16px 0;}.feed-item__thumb{aspect-ratio:4/3;}.feed-item__title{font-size:.98rem;line-height:1.3;}.feed-item__dek{display:none;}}

/* ---------- Video formats: vertical (mobile) and horizontal (YouTube) ---------- */
.video-grid{align-items:start;}
.video-card--vertical .video-card__thumb{aspect-ratio:9/16;max-width:260px;}
.video-card--vertical{max-width:260px;}
.video-modal--vertical{width:min(420px,94vw);}
.video-modal--vertical .video-modal__frame{aspect-ratio:9/16;max-height:86vh;}
.video-modal--vertical .video-modal__frame video,.video-modal--vertical .video-modal__frame iframe{height:100%;}
@media (max-width:700px){.video-grid .video-card--vertical{flex:0 0 52%;}}

/* ---------- More main-news cards under the slider: horizontal scroll with dots ---------- */
.hero-sub{border-top:1px solid var(--border);margin-top:6px;}
.hero-sub:empty{display:none;}
.hero-sub__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
.hero-sub__track::-webkit-scrollbar{display:none;}
.hero-sub__card{flex:0 0 50%;min-width:0;scroll-snap-align:start;padding:20px 22px 12px 0;}
.hero-sub__card + .hero-sub__card{padding-left:22px;border-left:1px solid var(--border);}
.hero-sub__dots{display:flex;justify-content:center;gap:7px;padding:6px 0 14px;}
.hero-sub__dot{width:8px;height:8px;border-radius:50%;border:0;padding:0;background:var(--border-strong);cursor:pointer;transition:transform .25s,background .25s;}
.hero-sub__dot.is-active{background:var(--maroon);transform:scale(1.35);}
@media (max-width:700px){.hero-sub__card{flex-basis:82%;padding:16px 16px 10px 0;}.hero-sub__card + .hero-sub__card{padding-left:16px;}}

.hero-col{min-width:0;}
.hero-grid{grid-template-columns:240px minmax(0,1fr) 280px;}
@media (max-width:960px){.hero-grid{grid-template-columns:minmax(0,1fr);}}

/* Several photos on a card: they cross-fade automatically */
.ag{display:block;position:relative;width:100%;height:100%;}
.ag img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .7s ease;}
.ag img.is-on{opacity:1;}

/* ---------- Videos: same height, landscape cards wide and portrait cards narrow ---------- */
#videos-section{--vh:180px;}
#videos-section .video-grid{display:flex;grid-template-columns:none;gap:22px;align-items:flex-start;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;padding-bottom:10px;}
#videos-section .video-card{flex:none;width:calc(var(--vh) * 16 / 9);max-width:none;scroll-snap-align:start;}
#videos-section .video-card--vertical{width:max(calc(var(--vh) * 9 / 16), 130px);max-width:none;}
#videos-section .video-card__thumb{height:var(--vh);width:calc(var(--vh) * 16 / 9);aspect-ratio:auto;}
#videos-section .video-card--vertical .video-card__thumb{width:calc(var(--vh) * 9 / 16);max-width:none;aspect-ratio:auto;}
#videos-section .video-card__thumb img,#videos-section .video-card__thumb video{width:100%;height:100%;object-fit:cover;}
@media (max-width:1100px){#videos-section{--vh:170px;}}
@media (max-width:700px){#videos-section{--vh:150px;}#videos-section .video-grid{margin:0 -20px;padding:0 20px 10px;}#videos-section .video-grid .video-card,#videos-section .video-grid .video-card--vertical{flex:none;}}

/* ---------- Strip under the fixed main story: two stories per view, small picture beside the headline ---------- */
.hero-sub{border-top:1px solid var(--border);margin-top:4px;}
.hero-sub__card{display:flex;align-items:flex-start;gap:14px;flex:0 0 50%;padding:18px 18px 10px 0;}
.hero-sub__card + .hero-sub__card{padding-left:18px;}
.hero-sub__thumb{flex:none;width:112px;height:84px;aspect-ratio:auto;margin:0;border:0;}
.hero-sub__copy{min-width:0;flex:1;}
.hero-sub__title{font-size:1rem;line-height:1.32;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.hero-sub__copy .top-story__date{margin-top:6px;}
@media (max-width:700px){.hero-sub__card{flex-basis:88%;padding:14px 14px 8px 0;}.hero-sub__card + .hero-sub__card{padding-left:14px;}.hero-sub__thumb{width:96px;height:72px;}}
/* when the column is narrow, the small picture goes above the headline instead of beside it */
.hero-sub{container-type:inline-size;}
@container (max-width:620px){
  .hero-sub__card{flex-direction:column;gap:8px;}
  .hero-sub__thumb{width:100%;height:78px;}
}

.hero-col__more{display:inline-block;margin-top:6px;font-family:var(--font-ui);font-weight:700;font-size:.85rem;color:var(--maroon);}
.hero-col__more:hover{text-decoration:underline;}

/* the news lists alternate between two background colours so the stories are easy to tell apart */
.feed-item{padding-left:16px;padding-right:16px;}
.feed-item:nth-child(odd){background:var(--row-a,#fff);}
.feed-item:nth-child(even){background:var(--row-b,#F7EFE4);}
html.rows-plain .feed-item{background:transparent;}
@media (max-width:700px){.feed-item{padding-left:10px;padding-right:10px;}}

/* लेख cards: the title and the WhatsApp / Facebook buttons always stack (buttons on their own line under the title, left-aligned) */
.mr-card__body{display:flex;flex-direction:column;align-items:flex-start;min-width:0;}
.mr-card__body .mr-card__title{width:100%;}
.mr-card__body .share-pair{flex:none;}

.feed-item__dek{-webkit-line-clamp:4!important;}

/* ---------- The main column fills the height of the side columns (no empty space below the main story) ---------- */
.hero-col--main{display:flex;flex-direction:column;}
.hero-col--main .hero-slider{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;}
.hero-col--main .hero-slider__track{flex:1 1 auto;}
.hero-col--main .page-banner__bg{flex:1 1 auto;}
.hero-col--main .page-banner__bg img{width:100%;height:100%;object-fit:cover;}
/* the start of a story that has no photo fills the space under its headline */
.hero-excerpt{order:3;flex:1 1 0;min-height:9em;overflow:hidden;position:relative;margin:0;padding:0 22px 22px;color:var(--ink-2);font-size:1.02rem;line-height:1.75;text-align:justify;}
.hero-excerpt::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3.2em;background:linear-gradient(to bottom,transparent,var(--bg-muted));}
@media (max-width:600px){.hero-excerpt{padding:0 14px 16px;font-size:.98rem;min-height:7em;max-height:12em;}}
