/* =========================================================
   GRAM PRAKALP — Editorial polish layer
   Loaded last on every page; refines the base design only.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Devanagari:wght@500;600;700;800&display=swap');

:root{
  --font-serif: 'Noto Serif Devanagari', 'Fraunces', Georgia, serif;
  --paper-warm: #FFFDF8;
  --shadow-sm: 0 1px 2px rgba(25,35,25,.05), 0 2px 8px rgba(25,35,25,.04);
  --shadow-md: 0 2px 4px rgba(25,35,25,.05), 0 12px 28px rgba(25,35,25,.09);
  --shadow-lg: 0 4px 8px rgba(25,35,25,.06), 0 24px 48px rgba(25,35,25,.13);
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base ---------- */
body{
  background: var(--cream);
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
::selection{ background: rgba(232,98,44,.22); }
:focus-visible{ outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
img{ height:auto; }

/* Page-load fade */
@keyframes gp-fade{ from{ opacity:0; transform: translateY(8px);} to{ opacity:1; transform:none; } }
main, .hero-section, .article-page-wrap, .page-hero{ animation: gp-fade .5s var(--ease) both; }

/* ---------- Reading progress ---------- */
.gp-progress{
  position: fixed; top:0; left:0; height:3px; width:100%; z-index:2000;
  transform-origin:left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--green-dark), var(--gold), var(--saffron));
  pointer-events:none;
}

/* ---------- Header ---------- */
.utility-bar{ background: #171B16; font-size:12.5px; }
.site-header{
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(231,225,210,.8);
  transition: box-shadow .3s var(--ease);
}
.site-header.gp-scrolled{ box-shadow: 0 6px 24px rgba(25,35,25,.08); }
.masthead{ height:76px; }
.logo-mark-img{ width:auto; max-width:300px; height:62px; transition: transform .3s var(--ease); }
.logo:hover .logo-mark-img{ transform: scale(1.02); }
.search-toggle{ background: var(--cream); transition: all .2s var(--ease); }
.search-toggle:hover{ background: var(--green-dark); color:#fff; border-color: var(--green-dark); transform: scale(1.05); }
.main-nav{ background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.nav-list > li > a{
  position: relative; height:48px; font-size:14px; font-weight:600; letter-spacing:0;
  border-bottom: 0 !important; transition: color .2s var(--ease);
}
.nav-list > li > a::after{
  content:''; position:absolute; left:13px; right:13px; bottom:0; height:2px;
  background: var(--saffron); transform: scaleX(0); transform-origin:left;
  transition: transform .3s var(--ease);
}
.nav-list > li > a:hover::after, .nav-list > li > a.active::after{ transform: scaleX(1); }
.has-dropdown .dropdown{
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.dropdown a{ transition: background .15s, color .15s, padding .2s var(--ease); }
.search-panel-inner input{ border-radius:0; }

/* Ticker */
.ticker-bar{ border-bottom: 1px solid var(--line); }

/* ---------- Typography ---------- */
h1, h2, h3, .hero-lead-body h1, .article-title, .section-head-title h2, .page-hero h1{
  font-family: var(--font-serif);
  letter-spacing: -.005em;
}
.eyebrow{
  font-family: var(--font-body);
  font-size: 11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
}

/* ---------- Section heads ---------- */
.section{ padding: 64px 0; }
.section-head{ margin-bottom: 30px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-head::after{ height:3px; width:72px; border-radius:3px; }
.section-head-title h2{ font-size: clamp(22px, 2.4vw, 30px); font-weight:700; line-height:1.25; }
.section-head-tagline{ font-size:13.5px; }
.view-all{
  padding: 8px 16px; border:1px solid var(--line); border-radius:999px;
  background: var(--paper); font-size:13px; font-weight:600; box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
}
.view-all:hover{ background: var(--green-dark); color:#fff; border-color: var(--green-dark); }
.view-all-light{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color:#fff; box-shadow:none; }
.view-all-light:hover{ background: var(--gold-light); color: var(--ink); border-color: var(--gold-light); }

/* Reveal – subtler */
.reveal{ transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- Cards ---------- */
.card, .hero-lead, .hero-side-card, .audio-card{
  background: var(--paper);
  border: 1px solid rgba(231,225,210,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover, .hero-side-card:hover, .audio-card:hover{
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent;
}
.hero-lead:hover{ box-shadow: var(--shadow-md); }
.card-img img, .hero-lead-img img, .hero-side-img img, .latest-img img{
  transition: transform .8s var(--ease), filter .4s;
}
.card:hover .card-img img{ transform: scale(1.05); }
.card-body{ padding: 18px 20px 20px; }
.card-body h3{ font-size:17px; line-height:1.4; font-weight:700; margin-bottom:8px; }
.card .excerpt{ font-size:14px; line-height:1.7; }
.card-body h3 a, .hero-side-card h3 a, .latest-body h4 a, .trending-list li a{
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat:no-repeat; background-position: 0 100%;
  transition: background-size .4s var(--ease), color .2s;
}
.card-body h3 a:hover, .hero-side-card h3 a:hover, .latest-body h4 a:hover, .trending-list li a:hover{ background-size: 100% 1px; }

/* Category badge on eyebrows inside cards */
.card .eyebrow, .hero-side-card .eyebrow, .latest-body .eyebrow, .hero-lead-body .eyebrow{
  display:inline-block; padding: 4px 10px; border-radius: 999px;
  background: rgba(33,38,31,.05); line-height:1.4;
}
.eyebrow-agri{ background: rgba(27,107,51,.1) !important; }
.eyebrow-scheme{ background: rgba(232,98,44,.1) !important; }
.eyebrow-dev{ background: rgba(15,122,99,.1) !important; }
.eyebrow-culture{ background: rgba(217,164,4,.14) !important; }
.eyebrow-regional{ background: rgba(107,63,160,.1) !important; }
.eyebrow-media{ background: rgba(31,58,95,.1) !important; }
.eyebrow-spiritual{ background: rgba(194,78,30,.1) !important; }
.eyebrow-podcast{ background: rgba(27,107,51,.1) !important; }
.hero-side-card .eyebrow{ margin: 14px 18px 4px; }
.byline-mini{ font-size:12.5px; padding: 8px 18px 16px; }
.card .byline-mini{ padding: 10px 0 0; border-top: 1px dashed var(--line); margin-top: 12px; }

/* ---------- Hero ---------- */
.hero-section{ padding: 44px 0 16px; }
.hero-lead{ border-radius: 18px; box-shadow: var(--shadow-md); }
.hero-lead-img{ aspect-ratio: 16/10; }
.hero-lead-img::after{
  content:''; position:absolute; inset:auto 0 0 0; height:40%;
  background: linear-gradient(to top, rgba(0,0,0,.28), transparent); pointer-events:none;
}
.hero-lead:hover .hero-lead-img img{ transform: scale(1.04); }
.hero-lead-body{ padding: 28px 32px 32px; }
.hero-lead-body h1{
  font-size: clamp(24px, 3vw, 36px); line-height:1.3; font-weight:700; margin: 12px 0 14px;
}
.dek{ font-size: 16px; line-height:1.8; }
.ribbon{ border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.2); letter-spacing:.04em; }
.byline{ padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.hero-side{ gap: 20px; }
.hero-side-card h3{ font-size:16px; line-height:1.45; padding: 0 18px; }

/* ---------- Latest / trending ---------- */
.latest-row{ transition: transform .3s var(--ease); }
.latest-row:hover{ transform: translateX(3px); }
.latest-img{ border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.latest-body h4{ font-family: var(--font-serif); line-height:1.45; }
.trending-num{ font-family: var(--font-serif); color: var(--saffron); opacity:.9; }
.trending-list li{ transition: transform .25s var(--ease); }
.trending-list li:hover{ transform: translateX(3px); }
.alt-bg{ background: linear-gradient(180deg, #F6F1E4, #F2ECDC); }

/* Video */
.video-thumb{ border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.play-btn{ transition: all .3s var(--ease); }

/* Newsletter / forms */
.newsletter-section{ border-radius: 0; }
input[type=email], input[type=text], input[type=tel], input[type=search], textarea, select{
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus{ box-shadow: 0 0 0 3px rgba(232,98,44,.18); }
.btn-primary, .btn-subscribe-mini{
  border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn-primary:hover, .btn-subscribe-mini:hover{ transform: translateY(-2px); box-shadow: 0 8px 18px rgba(232,98,44,.3); }

/* ---------- Breadcrumbs ---------- */
.article-page-wrap .breadcrumbs{
  font-size: 13px; color: var(--ink-soft); display:flex; flex-wrap:wrap; gap: 6px 8px; align-items:center;
}
.article-page-wrap .breadcrumbs a{ color: var(--green-dark); font-weight:600; }
.article-page-wrap .breadcrumbs a:hover{ color: var(--saffron); }
.article-page-wrap .breadcrumbs span{ opacity:.6; }

/* =========================================================
   ARTICLE READING EXPERIENCE
   ========================================================= */
.article-page-wrap{ padding: 32px 0 80px; }
.article-layout{ grid-template-columns: minmax(0,1fr) 340px; gap: 48px; }
.article-main{
  background: var(--paper-warm);
  border: 1px solid rgba(231,225,210,.9);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 56px);
  box-shadow: var(--shadow-md);
}
.article-header{ margin-bottom: 32px; padding-bottom: 28px; max-width: 760px; margin-inline:auto; }
.article-category-badge{
  background: rgba(232,98,44,.1) !important; color: var(--saffron-dark) !important;
  border-radius:999px !important; padding: 6px 14px !important;
  font-size: 12.5px !important; font-weight:700; letter-spacing:.03em;
}
.article-title{
  font-size: clamp(27px, 3.6vw, 42px) !important; line-height:1.32 !important; font-weight:700 !important;
  color: #161A15; margin: 18px 0 22px !important; text-wrap: balance;
}
.article-meta-row{ gap: 14px 24px; font-size:13.5px; color: var(--ink-soft); }
.author-avatar{
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); background: linear-gradient(135deg, var(--green-dark), var(--green)) !important;
}
.author-details strong{ font-size: 14.5px; }
.share-btn{ border-radius:999px; transition: all .2s var(--ease); }
.share-btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.article-lead{
  max-width: 760px; margin: 0 auto 32px !important;
  font-family: var(--font-serif); font-size: clamp(18px, 2vw, 21px) !important; line-height:1.85 !important;
  color: #2c3229; font-weight:500;
  padding-left: 22px; border-left: 4px solid var(--saffron) !important;
}
.article-featured-img{ margin: 0 auto 40px !important; max-width: 100%; }
.article-featured-img img{
  width:100%; aspect-ratio: 16/9; object-fit:cover; border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md);
}
.article-featured-img figcaption{
  max-width: 760px; margin: 12px auto 0; font-size: 13px; line-height:1.6; color: var(--ink-soft);
  font-style: italic; background:none !important; border:0 !important; padding: 0 !important;
}

/* Body column */
.section-block{ max-width: 760px; margin-inline:auto; margin-bottom: 44px !important; }
.section-heading-h2{
  font-family: var(--font-serif); font-size: clamp(21px, 2.4vw, 27px) !important; line-height:1.4 !important;
  font-weight:700; color:#161A15; margin: 0 0 18px !important;
  scroll-margin-top: 120px;
}
.section-intro-p, .article-main p{
  font-size: clamp(17px, 1.6vw, 18.5px); line-height: 1.95; color: #2a3027;
}
.article-main p + p{ margin-top: 1.1em; }
.section-intro-p{ margin-bottom: 20px !important; }
.article-main strong{ color:#161A15; font-weight:700; }
.article-main a:not(.btn-portal):not(.share-btn){
  color: var(--green-dark); text-decoration: underline; text-decoration-color: rgba(27,107,51,.35);
  text-underline-offset: 3px; transition: text-decoration-color .2s, color .2s;
}
.article-main a:not(.btn-portal):not(.share-btn):hover{ color: var(--saffron-dark); text-decoration-color: currentColor; }
.article-main img{ border-radius: var(--radius-sm); }
.article-main figure{ margin: 30px 0; }
.article-main figure img{ box-shadow: var(--shadow-sm); width:100%; }

.sub-feature-card{
  border-radius: var(--radius) !important; border:1px solid var(--line) !important;
  background: #fff !important; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.sub-feature-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sub-card-title{ font-family: var(--font-serif); }
.bullet-list li{ font-size: 16.5px; line-height: 1.85; }

.stat-highlight-grid{ max-width: 760px; margin-inline:auto !important; }
.stat-box{ border-radius: var(--radius) !important; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.stat-box:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-number{ font-family: var(--font-serif); }
.action-item-card{ border-radius: var(--radius) !important; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.action-item-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }

.expert-quote-box, blockquote{
  max-width: 760px; margin-inline:auto; border-radius: var(--radius) !important;
  font-family: var(--font-serif); box-shadow: var(--shadow-sm);
}
.official-portal-card{ border-radius: var(--radius) !important; box-shadow: var(--shadow-sm); }
.btn-portal{ border-radius:999px !important; transition: transform .2s var(--ease), box-shadow .2s; }
.btn-portal:hover{ transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }

/* Tables inside articles */
.article-main table{ width:100%; border-collapse: collapse; font-size:15px; margin: 24px 0; display:block; overflow-x:auto; }
.article-main th, .article-main td{ padding: 10px 14px; border-bottom: 1px solid var(--line); text-align:left; }
.article-main th{ background: var(--cream); font-weight:700; }

/* Sidebar */
.sidebar-sticky{ position: sticky; top: 112px; display:flex; flex-direction:column; gap: 22px; }
.sidebar-widget{
  background: var(--paper) !important; border:1px solid rgba(231,225,210,.9) !important;
  border-radius: var(--radius) !important; box-shadow: var(--shadow-sm); padding: 22px !important;
  margin-bottom: 0 !important;
}
.widget-title{
  font-family: var(--font-serif); font-size: 16px !important; font-weight:700;
  padding-bottom: 12px !important; margin-bottom: 16px !important; position: relative;
  border-bottom: 1px solid var(--line) !important;
}
.widget-title::after{ content:''; position:absolute; left:0; bottom:-1px; width:44px; height:2px; background: var(--saffron); }
.highlight-pill{ border-radius: var(--radius-sm) !important; transition: transform .25s var(--ease); }
.highlight-pill:hover{ transform: translateX(3px); }
.related-story-mini{ padding: 12px 0; border-bottom:1px solid var(--line); transition: transform .25s var(--ease); align-items:center; }
.related-story-mini:last-child{ border-bottom:0; padding-bottom:0; }
.related-story-mini:hover{ transform: translateX(3px); }
.related-story-mini img{ width:84px !important; height:64px !important; object-fit:cover; border-radius: 8px !important; flex-shrink:0; }
.related-story-info h5{ font-family: var(--font-serif); font-size: 14px !important; line-height:1.5 !important; }
.related-story-info h5 a:hover{ color: var(--saffron-dark); }
.related-story-info span{ font-size: 12px; color: var(--ink-soft); }

/* ---------- Inner pages ---------- */
.page-hero{ background-image: linear-gradient(135deg, var(--green-dark), #0F4A22) !important; }
.page-hero h1{ font-weight:700; }

/* ---------- Footer ---------- */
.site-footer{ background: #141813 !important; }
.footer-col h4{ letter-spacing:.08em; font-size: 13px; text-transform: uppercase; }
.footer-col a{ transition: color .2s, padding-left .25s var(--ease); display:block; width:fit-content; max-width:100%; }
.footer-col a:hover{ padding-left: 4px; }
.footer-social a{ transition: transform .25s var(--ease), background .2s; }
.footer-social a:hover{ transform: translateY(-3px); }
.back-to-top{ box-shadow: var(--shadow-lg); border-radius: 50%; transition: transform .25s var(--ease), opacity .25s; }
.back-to-top:hover{ transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px){
  .article-layout{ grid-template-columns: minmax(0,1fr) 300px; gap: 32px; }
}
@media (max-width: 960px){
  .article-layout{ grid-template-columns: 1fr; gap: 36px; }
  .sidebar-sticky{ position: static; display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
  .section{ padding: 48px 0; }
}
@media (max-width: 720px){
  .wrap{ padding: 0 18px; }
  .masthead{ height: 64px; }
  .logo-mark-img{ height: 50px; max-width: 220px; }
  .sidebar-sticky{ grid-template-columns: 1fr; }
  .article-main{ border-radius: 16px; padding: 22px 18px 30px; box-shadow: var(--shadow-sm); }
  .article-header, .article-lead, .section-block{ max-width: 100%; }
  .article-lead{ padding-left: 16px; }
  .hero-lead-body{ padding: 20px 20px 24px; }
  .hero-lead-img{ aspect-ratio: 4/3; }
  .section{ padding: 40px 0; }
  .section-head{ flex-wrap: wrap; gap: 10px; }
  .card:hover, .hero-side-card:hover{ transform:none; }
  .stat-highlight-grid, .actions-3-grid{ grid-template-columns: 1fr !important; }
}
@media (max-width: 480px){
  .wrap{ padding: 0 14px; }
  .article-title{ font-size: 25px !important; }
  .article-main{ padding: 20px 16px 28px; }
  .article-featured-img img{ aspect-ratio: 4/3; }
}

/* Print: clean reading */
@media print{
  .utility-bar, .site-header, .ticker-bar, .sidebar-sticky, .site-footer, .back-to-top, .gp-progress, .article-share-actions{ display:none !important; }
  .article-layout{ display:block; }
  .article-main{ box-shadow:none; border:0; padding:0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
}

/* ---------- JS-driven reveals & related articles ---------- */
.gp-fx{ opacity:0; transform: translateY(16px); transition: opacity .6s var(--ease) var(--gp-d,0ms), transform .6s var(--ease) var(--gp-d,0ms), box-shadow .3s var(--ease); }
.gp-fx.gp-in{ opacity:1; transform:none; }
.gp-fx.gp-in:hover{ transition-delay: 0ms; }

.gp-related{ max-width: 1240px; margin: 64px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.gp-related-head{ display:flex; align-items:baseline; gap: 14px; flex-wrap:wrap; margin-bottom: 24px; }
.gp-related-head h2{ font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 28px); }
.gp-related-head p{ color: var(--ink-soft); font-size: 14px; }
.gp-related-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.gp-related-card{
  display:flex; flex-direction:column; background: var(--paper); border:1px solid rgba(231,225,210,.9);
  border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gp-related-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gp-related-img{ display:block; aspect-ratio: 16/10; overflow:hidden; background: var(--cream); }
.gp-related-img img{ width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease); }
.gp-related-card:hover .gp-related-img img{ transform: scale(1.06); }
.gp-related-body{ display:flex; flex-direction:column; gap: 8px; padding: 16px 18px 20px; }
.gp-related-meta{ font-size: 11.5px; font-weight:700; letter-spacing:.06em; color: var(--saffron-dark); text-transform: uppercase; }
.gp-related-title{ font-family: var(--font-serif); font-size: 16px; line-height:1.5; font-weight:700; color: var(--ink); }
.gp-related-card:hover .gp-related-title{ color: var(--green-dark); }
@media (max-width: 720px){ .gp-related{ margin-top: 44px; } .gp-related-grid{ grid-template-columns: 1fr; } }
@media print{ .gp-related{ display:none; } }

/* ---------- Hero balance: compact side cards ---------- */
.hero-grid{ align-items: start; }
@media (min-width: 961px){
  .hero-side-card{
    display:grid; grid-template-columns: 150px 1fr; column-gap: 16px; align-items:center; padding: 12px;
  }
  .hero-side-img{ grid-row: 1 / span 3; aspect-ratio: 1/1; border-radius: var(--radius-sm); }
  .hero-side-card .eyebrow{ margin: 0 0 6px; justify-self:start; font-size:10.5px; }
  .hero-side-card h3{ padding:0; font-size:15px; }
  .hero-side-card .byline-mini{ padding: 6px 0 0; }
  .hero-side{ gap: 16px; }
  .hero-lead-img{ aspect-ratio: 16/9; }
}

/* =========================================================
   PASS 2 — sharper editorial finish
   ========================================================= */

/* Compact sticky header on scroll */
.masthead{ transition: height .3s var(--ease); }
.logo-mark-img, .logo-mark-img-center{ transition: height .3s var(--ease), transform .3s var(--ease); }
.site-header.gp-scrolled .masthead{ height: 54px; }
.site-header.gp-scrolled .logo-mark-img,
.site-header.gp-scrolled .logo-mark-img-center{ height: 42px; width:auto; }
.site-header.gp-scrolled .nav-list > li > a{ height: 42px; }

/* Nav: active pill feel + subtle gradient rule */
.main-nav{ box-shadow: inset 0 -1px 0 var(--line); }
.nav-list > li > a:hover{ background: rgba(27,107,51,.05); border-radius: 8px 8px 0 0; }

/* Section heads: bold editorial rule + numeral */
.section-head{ border-bottom: 2px solid var(--ink); padding-bottom: 16px; position: relative; }
.section-head::after{ bottom:-2px; height:4px; width:96px; background: linear-gradient(90deg, var(--saffron), var(--gold)); border-radius:0; }
.section-head-title h2{ display:flex; align-items:center; gap:12px; font-size: clamp(24px, 2.8vw, 34px); font-weight:800; }
.section-head-title .dot{ width:14px; height:14px; box-shadow: 0 0 0 5px rgba(0,0,0,.05); flex-shrink:0; }
.section-head-tagline{ font-style: normal; color: var(--ink-soft); padding-left: 26px; }
.section-head-light{ border-bottom-color: rgba(255,255,255,.5); }

/* Equal-height cards, byline pinned to bottom, fallback bg for images */
.category-grid{ gap: 24px; align-items: stretch; }
.card{ display:flex; flex-direction:column; position:relative; }
.card:not(.card-sm) .card-body{ display:flex; flex-direction:column; flex:1; }
.card:not(.card-sm) .card-body .byline-mini{ margin-top:auto; }
.card-img, .hero-side-img, .latest-img, .hero-lead-img, .video-thumb{
  background: linear-gradient(135deg, #DDE8D7, #EFE6CF);
}
.card-img{ position:relative; aspect-ratio: 16/11; }
.card-img::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.18), transparent 45%); opacity:.7; transition: opacity .4s; pointer-events:none;
}
.card:hover .card-img::after{ opacity:1; }
.card-body h3{ font-size:17.5px; }
.card-body .excerpt{ display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* Colored top accent on hover per category */
.card::before{
  content:''; position:absolute; left:0; right:0; top:0; height:3px; z-index:2;
  background: linear-gradient(90deg, var(--green-dark), var(--saffron));
  transform: scaleX(0); transform-origin:left; transition: transform .45s var(--ease);
}
.card:hover::before{ transform: scaleX(1); }

/* Featured card variant */
.card-feature .card-body h3{ font-size: 22px; line-height:1.4; }
.card-feature .card-img{ aspect-ratio: 16/9; }

/* Hero lead: title gets more presence */
.hero-lead-body h1{ font-weight:800; }
.hero-lead-img::after{ height:55%; background: linear-gradient(to top, rgba(0,0,0,.4), transparent); }
.hero-lead-body .eyebrow{ font-size:12px; }

/* Ticker polish */
.ticker-bar{ box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.ticker-label{ letter-spacing:.04em; }

/* Alt sections get a divider texture */
.alt-bg{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

/* Cover/editorial banner (inline-styled sections) */
.section[style*="linear-gradient(135deg, #1B6B33"]{ position:relative; overflow:hidden; }
.section[style*="linear-gradient(135deg, #1B6B33"] img{ border-radius: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.35); transition: transform .5s var(--ease); }
.section[style*="linear-gradient(135deg, #1B6B33"] img:hover{ transform: translateY(-4px) rotate(-1deg); }

/* Newsletter section */
.newsletter-section{ position:relative; }
.newsletter-copy h2{ font-family: var(--font-serif); }
.newsletter-form input{ border-radius: 999px 0 0 999px; }
.newsletter-form button{ border-radius: 0 999px 999px 0; }

/* Footer: richer */
.site-footer{ background: linear-gradient(180deg, #171B16, #0F120E) !important; border-top: 4px solid var(--saffron); }
.footer-col h4{ position:relative; padding-bottom:10px; margin-bottom:16px; }
.footer-col h4::after{ content:''; position:absolute; left:0; bottom:0; width:28px; height:2px; background: var(--saffron); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); }
.footer-form{ border:1px solid rgba(255,255,255,.2); border-radius:999px; padding: 3px 3px 3px 14px; }

/* Smoother tap targets on mobile */
@media (max-width: 720px){
  .section-head-title h2{ font-size: 22px; }
  .section-head-tagline{ padding-left: 0; }
  .card-img{ aspect-ratio: 16/10; }
  .site-header.gp-scrolled .masthead{ height: 52px; }
}

/* Safety net: if script.js does not run (blocked / 404), reveal sections anyway after 2s */
@keyframes gpRevealFallback{ to{ opacity:1; transform:none; } }
.reveal:not(.in-view){ animation: gpRevealFallback .5s ease 2s forwards; }
.gp-fx:not(.gp-in){ animation: gpRevealFallback .5s ease 2.5s forwards; }

/* ---- gp-noimg-placeholder: branded fallback wherever an article has no photo ---- */
.card-img:empty, .hero-side-img:empty, .latest-img:empty, .gp-lead-img:empty, .gp-related-img:empty, .hero-lead-img:empty{
  position:relative; display:block; overflow:hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(242,201,76,.35), transparent 55%),
    radial-gradient(circle at 10% 95%, rgba(232,98,44,.35), transparent 55%),
    linear-gradient(135deg, #0F4A22, #1B6B33 60%, #0B3A1B);
}
.card-img:empty::after, .hero-side-img:empty::after, .latest-img:empty::after, .gp-lead-img:empty::after, .gp-related-img:empty::after, .hero-lead-img:empty::after{
  content:'ग्राम प्रकल्प'; position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:8px;
  font:700 clamp(13px,1.6vw,19px)/1.2 'Noto Serif Devanagari', Georgia, serif; color:rgba(255,255,255,.88); letter-spacing:.02em; text-shadow:0 2px 12px rgba(0,0,0,.35);
}
.card-img:empty::before, .gp-related-img:empty::before, .gp-lead-img:empty::before{
  content:''; position:absolute; inset:0; opacity:.09; background-image:radial-gradient(#fff 1px, transparent 1px); background-size:18px 18px;
}
