/*
Theme Name: Incredible Bharat Stories
Theme URI: https://incrediblebharatstories.com/
Author: Incredible Bharat Stories
Description: Editorial CMS-driven Story portal and Incredible Indian profiles for TIBS Core.
Version: 0.4.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: incredible-bharat-stories
License: GPLv2 or later
*/

:root{--navy:#102c4c;--navy-dark:#0b253d;--teal:#0a6372;--gold:#ae7d2c;--ivory:#faf8f3;--paper:#fff;--ink:#22313d;--muted:#566676;--line:#dfe5e5;--hindi:"Noto Serif Devanagari","Nirmala UI",serif;--serif:Georgia,"Times New Roman",serif;--sans:Inter,"Segoe UI",Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;background:var(--ivory);color:var(--ink);font:16px/1.65 var(--sans);overflow-wrap:break-word}
img,video,iframe{max-width:100%}img{height:auto}iframe{border:0}
a{color:var(--teal);text-underline-offset:.2em}a:hover{color:var(--navy)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{position:fixed!important;top:10px;left:10px;width:auto;height:auto;margin:0;padding:12px;background:var(--paper);clip:auto;z-index:10000}
.site-header{background:var(--paper);border-bottom:1px solid var(--line)}
.header-inner{max-width:1200px;padding:0 24px;margin:auto;min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:block;width:170px;height:78px;overflow:hidden;flex:none}.brand img{display:block;width:170px;max-width:none;height:auto;margin-top:-22px}
.brand-fallback{font:700 1.2rem/1.2 var(--serif);display:flex;align-items:center;height:100%;text-decoration:none;color:var(--navy)}
.site-nav{display:flex;gap:30px;align-items:center;font-size:.9rem;font-weight:600}.site-nav a{text-decoration:none;color:var(--navy)}.site-nav a:hover{text-decoration:underline}
.site-footer{background:var(--navy-dark);color:#f4f5f4;margin-top:88px}.footer-inner{max-width:1200px;margin:auto;padding:32px 24px;display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.site-footer a{color:#fff}.footer-brand{font:700 1.15rem var(--serif)}
.story-wrap{max-width:1200px;margin:0 auto;padding:32px 24px 0}
.breadcrumbs{font-size:.83rem;color:var(--muted);display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:34px}.breadcrumbs a{color:var(--teal)}.breadcrumbs [aria-current]{color:var(--ink)}
.story-header{max-width:1150px;margin:0 auto 30px}.eyebrow{font-size:.73rem;letter-spacing:.13em;font-weight:800;text-transform:uppercase;color:var(--teal);margin:0 0 12px}
.story-title{font:700 clamp(58px,3.8vw,60px)/1.06 var(--serif);letter-spacing:-.026em;color:var(--navy);margin:0;overflow-wrap:anywhere;text-wrap:balance}
.story-title:lang(hi){font-family:var(--hindi);letter-spacing:0;line-height:1.2}
.story-hook{font-size:clamp(24px,1.7vw,27px);line-height:1.55;color:#415364;max-width:1050px;margin:20px 0 0}
.story-hook:lang(hi){font-family:var(--hindi);line-height:1.65}
.story-meta{display:flex;gap:8px 22px;flex-wrap:wrap;color:var(--muted);font-size:.86rem;padding:20px 0 0;margin:24px 0 0;border-top:1px solid var(--line)}.story-meta span{display:inline-flex;gap:5px;align-items:baseline}.story-meta strong{color:var(--navy);font-weight:600}
.hero-figure{max-width:1080px;margin:36px auto 46px}.hero-figure img{display:block;width:100%;max-height:610px;object-fit:cover;border-radius:8px}.hero-figure figcaption{font-size:.8rem;color:var(--muted);margin:10px 4px 0}
.story-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(170px,235px);justify-content:center;gap:48px;align-items:start}
.story-main{min-width:0}.story-sidebar{position:sticky;top:24px;border-left:1px solid var(--line);padding-left:22px;font-size:.85rem}.story-sidebar h2{font:700 1rem var(--serif);color:var(--navy);margin:0 0 12px}.story-sidebar ul{list-style:none;padding:0;margin:0}.story-sidebar li{margin:0 0 12px}.story-sidebar a{text-decoration:none}
.story-section{margin:0 0 58px;scroll-margin-top:24px}.story-section>h2{font:700 clamp(30px,2.2vw,34px)/1.2 var(--serif);color:var(--navy);margin:0 0 22px}
.story-prose{font-size:1.08rem;line-height:1.95;overflow-wrap:anywhere}.story-prose:lang(hi){font-family:var(--hindi),var(--sans);line-height:2.05}
.story-prose>*{margin-block:0 1.45em}.story-prose h2,.story-prose h3,.story-prose h4{font-family:var(--hindi),var(--serif);line-height:1.45;color:var(--navy);margin:1.85em 0 .65em}
.story-prose h2{font-size:1.65rem}.story-prose h3{font-size:1.35rem}.story-prose blockquote{border-left:3px solid var(--gold);padding:.2em 0 .2em 1.1em;margin:2em 0;color:var(--navy)}.story-prose blockquote cite{display:block;font:normal .84rem var(--sans);margin-top:12px}
.story-prose ul,.story-prose ol{padding-left:1.7em}.story-prose figure{margin:2em 0}.story-prose img{height:auto;border-radius:5px}.story-prose figcaption{color:var(--muted);font:.84rem/1.5 var(--sans);margin-top:8px;text-align:center}.story-prose table{border-collapse:collapse;max-width:100%}.story-prose td,.story-prose th{border:1px solid var(--line);padding:10px;text-align:left}.story-prose .wp-block-table{overflow-x:auto}.story-prose pre{overflow-x:auto}
.story-prose .alignwide{max-width:100%}.story-prose .alignfull{max-width:100%;margin-inline:0}.story-prose .wp-block-pullquote{border-block:1px solid var(--gold);padding:22px 12px}
.video-frame{aspect-ratio:16/9;background:linear-gradient(135deg,var(--navy),var(--teal));border-radius:8px;overflow:hidden;position:relative}.video-frame iframe{display:block;width:100%;height:100%}.video-poster{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;text-align:center;color:#fff;text-decoration:none;font-weight:650;background:rgba(8,35,55,.22);padding:20px}.video-poster:hover{color:#fff;background:rgba(8,35,55,.4)}.video-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;filter:brightness(.6)}.video-poster span{position:relative;z-index:1}.play-icon{display:inline-grid;place-items:center;background:var(--gold);border-radius:50%;width:64px;height:64px;margin:0 auto 8px;font-size:1.5rem}
.person-card{background:#f0f5f3;border-radius:8px;display:grid;grid-template-columns:140px minmax(0,1fr);gap:22px;padding:22px}.person-card.no-image{grid-template-columns:minmax(0,1fr)}.person-card img{width:140px;aspect-ratio:1;object-fit:cover;border-radius:6px}.person-card h3{color:var(--navy);font:700 1.42rem var(--serif);margin:0 0 4px}.person-card p{margin:6px 0;color:var(--ink)}.small-meta{font-size:.85rem;color:var(--muted)!important}.person-card a{font-weight:650}
.source-list{list-style:none;counter-reset:source;padding:0;margin:0}.source-list li{position:relative;border-top:1px solid var(--line);padding:18px 0 18px 42px;counter-increment:source}.source-list li::before{content:counter(source,decimal-leading-zero);position:absolute;top:19px;left:0;font:700 .8rem var(--sans);color:var(--gold)}.source-list h3{margin:0 0 5px;color:var(--navy);font:700 1.05rem/1.5 var(--sans)}.source-list p{margin:4px 0;font-size:.9rem;line-height:1.65}.source-list .source-context{color:var(--muted)}.source-list a{overflow-wrap:anywhere}
.summary-panel{border:1px solid var(--line);border-left:4px solid var(--teal);background:#fff;padding:22px 24px;border-radius:4px}.summary-panel p{margin:0 0 1em}.summary-panel p:last-child{margin-bottom:0}
.topic-list{display:flex;flex-wrap:wrap;gap:9px;list-style:none;padding:0;margin:0}.topic-list a{display:inline-flex;align-items:center;min-height:36px;padding:4px 12px;border-radius:20px;border:1px solid #cadcd9;text-decoration:none;font-size:.86rem}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.related-card{min-width:0}.related-card a{text-decoration:none}.related-card img,.related-placeholder{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:6px;background:#deebe8;display:block}.related-card h3{font:700 1rem/1.4 var(--serif);color:var(--navy);margin:9px 0 0}.related-card .eyebrow{font-size:.65rem;margin:8px 0 0}
.share-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.share-row h2{font:700 1rem var(--serif);margin:0 10px 0 0}.share-row a,.share-row button{font:600 .83rem var(--sans);border:1px solid #b8c8cc;color:var(--navy);border-radius:5px;padding:9px 12px;background:transparent;text-decoration:none;min-height:42px;cursor:pointer}.share-row a:hover,.share-row button:hover{background:#eef4f3}.copy-status{font-size:.83rem;color:var(--teal)}
.generic-main{max-width:860px;min-height:50vh;margin:0 auto;padding:55px 24px}.generic-main h1{font:700 clamp(2rem,4vw,3rem)/1.2 var(--serif);color:var(--navy)}.generic-entry{padding:22px 0;border-bottom:1px solid var(--line)}
@media(max-width:900px){.story-title{font-size:clamp(44px,5.6vw,52px)}.story-hook{font-size:clamp(21px,2.75vw,24px)}.story-section>h2{font-size:clamp(28px,3.5vw,32px)}.story-layout{grid-template-columns:minmax(0,760px)}.story-sidebar{position:static;order:-1;border-left:0;border-bottom:1px solid var(--line);padding:0 0 16px;margin-bottom:10px}.story-sidebar ul{display:flex;flex-wrap:wrap;gap:8px 16px}.story-sidebar li{margin:0}}
@media(max-width:600px){.header-inner{min-height:72px;padding:0 16px}.brand{width:138px;height:70px}.brand img{width:145px;margin-top:-19px}.site-nav{gap:14px;font-size:.83rem}.story-wrap{padding:24px 18px 0}.breadcrumbs{margin-bottom:24px}.story-title{font-size:clamp(34px,9vw,40px)}.story-hook{font-size:clamp(18px,4.4vw,21px)}.story-section>h2{font-size:clamp(25px,5vw,28px)}.story-meta{gap:5px 16px}.hero-figure{margin:25px auto 36px}.hero-figure img{border-radius:5px}.story-prose{font-size:1.03rem;line-height:1.92}.story-prose:lang(hi){line-height:1.97}.story-section{margin-bottom:44px}.person-card{grid-template-columns:82px minmax(0,1fr);gap:14px;padding:16px}.person-card img{width:82px}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.footer-inner{padding:28px 18px}.source-list li{padding-left:34px}}
@media(max-width:380px){.site-nav{gap:8px;font-size:.75rem}.related-grid{grid-template-columns:1fr}.story-wrap{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Phase C: Incredible Indian profile. Phase B Story selectors above remain unchanged. */
.profile-wrap{max-width:1200px;margin:0 auto;padding:32px 24px 0}
.profile-hero{display:grid;grid-template-columns:minmax(210px,320px) minmax(0,1fr);gap:clamp(28px,4vw,52px);align-items:center;margin:0 0 46px}
.profile-hero-no-image{grid-template-columns:minmax(0,900px)}
.profile-portrait img{display:block;width:100%;height:auto;aspect-ratio:4/4.5;object-fit:cover;object-position:center 20%;border-radius:8px;background:#e9efee}
.profile-hero-copy{min-width:0}
.profile-name{font:700 clamp(40px,4vw,56px)/1.12 var(--serif);letter-spacing:-.025em;color:var(--navy);margin:0 0 14px;text-wrap:balance;overflow-wrap:anywhere}
.profile-name:lang(hi){font-family:var(--hindi);line-height:1.24;letter-spacing:0}
.profile-field{font-weight:650;font-size:1.04rem;color:var(--teal);margin:0 0 5px}
.profile-place-label{font-size:.91rem;color:var(--muted);margin:0 0 18px}
.profile-intro{font-size:clamp(19px,1.8vw,24px);line-height:1.62;color:#415364;max-width:680px;margin:22px 0 0}
.profile-intro:lang(hi),.profile-why [lang=hi]{font-family:var(--hindi);line-height:1.8}
.profile-why{max-width:980px;margin:0 0 56px;background:#f0f5f3;border-left:4px solid var(--gold);border-radius:0 7px 7px 0;padding:26px 32px}
.profile-why .eyebrow{margin-bottom:6px}.profile-why h2{font:700 clamp(25px,2.2vw,31px)/1.2 var(--serif);color:var(--navy);margin:0 0 10px}
.profile-why p:last-child{font-size:1.06rem;line-height:1.8;margin:0}
.profile-layout{display:grid;grid-template-columns:minmax(0,750px) minmax(220px,300px);justify-content:space-between;gap:clamp(28px,4vw,60px);align-items:start}
.profile-layout.no-biography{grid-template-columns:minmax(0,680px)}
.profile-section{margin:0 0 62px;scroll-margin-top:24px}
.profile-section>h2,.profile-facts>h2{font:700 clamp(28px,2.5vw,34px)/1.2 var(--serif);color:var(--navy);margin:0 0 23px}
.profile-biography{min-width:0}.profile-biography .story-prose{max-width:750px}
.profile-facts{border-top:3px solid var(--teal);background:#fff;padding:23px 25px;border-radius:0 0 6px 6px;min-width:0}
.profile-facts>h2{font-size:24px;margin-bottom:9px}.profile-facts dl{margin:0}.profile-facts dl>div{border-top:1px solid var(--line);padding:13px 0}
.profile-facts dt{font-size:.76rem;letter-spacing:.055em;text-transform:uppercase;font-weight:750;color:var(--muted);margin-bottom:3px}
.profile-facts dd{margin:0;font-size:.95rem;line-height:1.55;color:var(--navy);overflow-wrap:anywhere}
.profile-facts a{overflow-wrap:anywhere}
.profile-featured-story{display:grid;grid-template-columns:minmax(0,43%) minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;max-width:1080px}
.profile-featured-story.no-image{grid-template-columns:minmax(0,1fr)}
.profile-featured-image,.profile-featured-image img{display:block;width:100%;height:100%;min-height:260px}.profile-featured-image img{object-fit:cover}
.profile-featured-copy{padding:26px 30px 26px 0}.profile-featured-story.no-image .profile-featured-copy{padding:27px 32px}
.profile-featured-copy h3{font:700 clamp(24px,2.5vw,32px)/1.25 var(--serif);margin:0 0 12px;color:var(--navy)}
.profile-featured-copy h3 a,.profile-text-link{text-decoration:none}.profile-featured-copy p:not(.eyebrow){margin:0 0 14px;color:var(--muted)}
.profile-text-link{font-weight:700}.profile-count{font:600 .8rem var(--sans);color:var(--teal);vertical-align:middle;margin-left:8px}
.profile-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 22px}
.profile-story-card{min-width:0}.profile-story-card>a{display:block}.profile-story-card img,.profile-story-placeholder{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:6px;background:#dceae7}
.profile-story-card .eyebrow{font-size:.67rem;margin:12px 0 5px}.profile-story-card h3{font:700 1.21rem/1.38 var(--serif);color:var(--navy);margin:0 0 7px}
.profile-story-card h3 a{text-decoration:none}.profile-story-hook{font-size:.87rem;line-height:1.6;color:var(--muted);margin:0 0 9px}.profile-story-card .small-meta{margin:0}
.profile-pagination{display:flex;flex-wrap:wrap;gap:9px;margin:30px 0 0}.profile-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;border:1px solid var(--line);border-radius:5px;padding:6px 10px;text-decoration:none}.profile-pagination .current{background:var(--navy);color:white;border-color:var(--navy)}
.profile-wrap .source-list{max-width:850px}
.profile-people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:970px}
.profile-person-card{text-align:center;min-width:0}.profile-person-card a{text-decoration:none}.profile-person-card img,.profile-person-placeholder{display:block;width:108px;height:108px;object-fit:cover;border-radius:50%;background:#dceae7;margin:0 auto 11px}
.profile-person-card h3{font:700 1.05rem/1.35 var(--serif);color:var(--navy);margin:0}.profile-person-card p{font-size:.84rem;color:var(--muted);margin:3px 0 0}
.profile-share{padding-top:23px;border-top:1px solid var(--line)}
@media(max-width:900px){.profile-layout{grid-template-columns:minmax(0,1fr)}.profile-facts{max-width:650px}.profile-hero{grid-template-columns:minmax(180px,260px) minmax(0,1fr)}.profile-people-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.profile-wrap{padding:24px 18px 0}.profile-hero,.profile-hero-no-image{grid-template-columns:minmax(0,1fr);gap:22px;margin-bottom:35px}.profile-portrait{max-width:280px}.profile-name{font-size:clamp(34px,8vw,42px)}.profile-intro{font-size:18px}.profile-why{padding:20px 22px;margin-bottom:40px}.profile-section{margin-bottom:46px}.profile-section>h2{font-size:clamp(25px,5vw,28px)}.profile-facts{padding:18px 21px}.profile-featured-story{grid-template-columns:minmax(0,1fr);gap:0}.profile-featured-image,.profile-featured-image img{height:auto;min-height:0;aspect-ratio:3/2}.profile-featured-copy,.profile-featured-story.no-image .profile-featured-copy{padding:22px}.profile-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 15px}.profile-people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}}
@media(max-width:380px){.profile-wrap{padding-inline:14px}.profile-story-grid{grid-template-columns:minmax(0,1fr)}.profile-portrait{max-width:100%}}

/* Phase D: shared portal navigation, homepage, archives, and Pages. */
.site-header{position:relative;z-index:20}
.site-nav{gap:clamp(12px,1.9vw,28px)}.site-nav a{white-space:nowrap}.site-nav .nav-contribute{background:var(--navy);color:#fff;padding:9px 13px;border-radius:4px}.site-nav .nav-contribute:hover{background:var(--teal);color:#fff;text-decoration:none}
.header-search{display:flex;align-items:center;border-left:1px solid var(--line);padding-left:16px;gap:5px}.header-search input{width:78px;min-width:0;border:0;border-bottom:1px solid var(--line);padding:7px 3px;background:transparent;color:var(--navy);font:inherit;transition:width .2s}.header-search input:focus{width:150px}.header-search button{border:0;background:transparent;color:var(--navy);cursor:pointer;font:600 .83rem var(--sans);padding:9px}
.mobile-menu{display:none}
.footer-grid{display:grid;grid-template-columns:minmax(160px,1.25fr) repeat(3,minmax(135px,1fr));align-items:start;gap:30px;padding-block:50px 44px}.footer-identity>a{display:block;width:180px;height:82px;overflow:hidden;background:#fff;border-radius:3px}.footer-identity img{width:180px;max-width:none;height:auto;margin-top:-24px}.footer-identity p{margin:7px 0;color:#e5eff1}.footer-grid h2{font:700 1rem var(--serif);margin:0 0 17px;color:#fff}.footer-grid nav ul{list-style:none;padding:0;margin:0}.footer-grid nav li{margin:0 0 9px}.footer-grid nav a{color:#deebed;text-decoration:none;font-size:.9rem}.footer-grid nav a:hover{text-decoration:underline;color:#fff}.footer-bottom{max-width:1200px;margin:auto;border-top:1px solid #38516a;padding:18px 24px 26px;color:#d0dfe5;font-size:.8rem}
.portal-container{max-width:1200px;margin-inline:auto;padding-inline:24px}.portal-section{margin:0 0 80px}.portal-section h2,.section-heading h2{font:700 clamp(29px,3vw,38px)/1.19 var(--serif);color:var(--navy);margin:0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 26px}.section-heading .eyebrow{margin-bottom:7px}.section-heading>a,.portal-text-link{text-decoration:none;font-weight:700;font-size:.85rem;white-space:nowrap}
.home-hero{position:relative;min-height:clamp(500px,54vw,660px);background:linear-gradient(120deg,#102c4c,#0b5c69 72%,#394c49);display:flex;align-items:flex-end;color:#fff;overflow:hidden}.home-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.home-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,28,45,.85) 0%,rgba(9,39,54,.69) 49%,rgba(8,35,52,.2) 100%)}.home-hero-content{position:relative;z-index:1;width:min(100%,1200px);margin:0 auto;padding:72px 24px 65px}.hero-kicker,.hero-stream{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:750;margin:0 0 14px;color:#cbe9e6}.home-hero h1{font:700 clamp(40px,5.2vw,74px)/1.07 var(--serif);max-width:820px;margin:0 0 4px;text-wrap:balance}.hero-tagline{font:600 clamp(19px,2.5vw,28px)/1.4 var(--hindi);margin:0 0 26px}.hero-story-title{font:700 clamp(26px,3.2vw,43px)/1.18 var(--serif);max-width:790px;margin:0 0 12px;text-wrap:balance;overflow-wrap:anywhere}.hero-story-title:lang(hi),.hero-hook:lang(hi){font-family:var(--hindi);line-height:1.55}.hero-hook{font-size:clamp(16px,1.6vw,20px);line-height:1.6;max-width:670px;margin:0 0 22px;color:#f2f7f5}.hero-actions,.portal-actions{display:flex;gap:12px;flex-wrap:wrap}.portal-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 19px;border-radius:5px;background:#b1802c;color:#fff;font-weight:700;font-size:.9rem;text-decoration:none;text-align:center}.portal-button:hover{background:#8a641e;color:#fff}.portal-button-outline{background:transparent;border:1px solid #e4e9ea}.portal-button-outline:hover{background:#fff;color:var(--navy)}.hero-location{font-size:.82rem;margin:22px 0 0;color:#e2eeee}.hero-location::before{content:'⌖';margin-right:6px}
.home-streams{padding-top:65px}.stream-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stream-card{min-width:0;display:flex;flex-direction:column;justify-content:space-between;min-height:240px;padding:20px;border-radius:7px;text-decoration:none;color:#fff;background:linear-gradient(135deg,#145b67,#0c3446);overflow:hidden}.stream-card:hover{color:#fff;filter:brightness(1.1)}.stream-bharat-history-heritage{background:linear-gradient(135deg,#304458,#765937)}.stream-incredible-indians{background:linear-gradient(135deg,#1e5264,#17464b)}.stream-bharat-expedition{background:linear-gradient(135deg,#2c4d67,#457a70)}.stream-number{font:700 2.9rem/1 var(--serif);color:rgba(255,255,255,.4)}.stream-card-copy{display:flex;flex-direction:column;gap:10px}.stream-card strong{font:700 clamp(20px,2vw,27px)/1.22 var(--serif)}.stream-card-copy>span:not(.stream-arrow){font-size:.85rem;line-height:1.55;color:#e6eded}.stream-arrow{font-size:.8rem;font-weight:750;color:#fae0ae}
.portal-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px 21px}.portal-story-card{min-width:0}.portal-card-image,.portal-card-image img,.portal-card-placeholder{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:6px;background:linear-gradient(130deg,#b6d0d0,#224258)}.portal-story-card .eyebrow{font-size:.65rem;margin:12px 0 6px}.portal-story-card h2,.portal-story-card h3{font:700 1.26rem/1.35 var(--serif);margin:0 0 7px;color:var(--navy);overflow-wrap:anywhere}.portal-story-card h2 a,.portal-story-card h3 a{color:inherit;text-decoration:none}.portal-story-card [lang=hi],.portal-person-card [lang=hi]{font-family:var(--hindi)}.portal-story-card .portal-card-hook{font-size:.9rem;color:#405565;line-height:1.6;margin:0 0 9px}.portal-card-meta{font-size:.8rem;line-height:1.55;color:var(--muted);margin:4px 0 0}
.portal-people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.portal-person-card{background:#fff;border:1px solid var(--line);border-radius:7px;display:grid;grid-template-columns:84px minmax(0,1fr);gap:15px;padding:18px;min-width:0}.portal-person-image img,.portal-person-placeholder{display:block;width:84px;height:84px;border-radius:50%;object-fit:cover;background:linear-gradient(135deg,#cadad7,#7c9b9d)}.portal-person-card h2,.portal-person-card h3{font:700 1.11rem/1.3 var(--serif);margin:1px 0 4px;color:var(--navy);overflow-wrap:anywhere}.portal-person-card h2 a,.portal-person-card h3 a{text-decoration:none;color:inherit}.portal-person-field{font-size:.82rem;color:var(--teal);font-weight:650;margin:0}.portal-person-intro{font-size:.83rem;line-height:1.55;color:var(--muted);margin:8px 0 0}
.home-discovery{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.explore-panel,.contribute-panel{padding:34px;border-radius:7px;background:#e9f0ec;min-width:0}.contribute-panel{background:#f7f1e6}.home-discovery h2{margin:0 0 13px}.home-discovery p:not(.eyebrow){margin:0 0 20px}.explore-stats{display:flex;flex-wrap:wrap;gap:25px;margin:20px 0}.explore-stats span{font-size:.86rem}.explore-stats strong{display:block;color:var(--navy);font:700 1.9rem var(--serif)}.explore-places{display:flex;gap:9px;flex-wrap:wrap;list-style:none;padding:0;margin:0}.explore-places a{display:inline-flex;min-height:36px;align-items:center;padding:5px 11px;background:#fff;border-radius:20px;text-decoration:none;font-size:.82rem}.contribute-panel .portal-button{font-size:.78rem;padding:10px 13px}.pending-link{opacity:.65;cursor:default}
.editorial-band{display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:20px;background:#fff;padding:25px 30px;border:1px solid var(--line);border-radius:7px}.editorial-icon{font-size:3rem;color:var(--gold)}.editorial-band h2{font-size:clamp(23px,2.1vw,30px)}.editorial-band p:not(.eyebrow){margin:8px 0 0;max-width:700px}.editorial-band>a{font-size:.84rem;font-weight:700;text-decoration:none}
.archive-main{min-height:55vh;padding-top:44px;padding-bottom:30px}.archive-header{max-width:810px;margin:0 0 38px}.archive-header h1,.standard-page h1{font:700 clamp(37px,4.1vw,57px)/1.12 var(--serif);color:var(--navy);margin:0 0 15px;text-wrap:balance;overflow-wrap:anywhere}.archive-header>p:not(.eyebrow),.archive-intro{font-size:1.06rem;color:var(--muted);margin:0;line-height:1.7}.archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.archive-people-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.archive-empty{padding:28px;background:#fff;border-left:3px solid var(--teal)}.archive-main .navigation.pagination{margin:40px 0 0}.archive-main .nav-links{display:flex;gap:8px;flex-wrap:wrap}.archive-main .page-numbers{min-width:42px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid var(--line);border-radius:4px;text-decoration:none}.archive-main .page-numbers.current{color:#fff;background:var(--navy);border-color:var(--navy)}.stream-spotlight{border-left:4px solid var(--teal);background:#fff;padding:23px 28px;margin:0 0 49px;max-width:800px}.stream-spotlight h2{font:700 clamp(23px,2.2vw,32px)/1.25 var(--serif);margin:0 0 8px}.stream-spotlight h2 a{text-decoration:none;color:var(--navy)}.stream-spotlight p:not(.eyebrow){margin:0 0 10px}.archive-main .section-heading h2{font-size:clamp(26px,2.5vw,33px)}
.portal-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.search-result{background:#fff;border:1px solid var(--line);padding:20px;border-radius:6px;min-width:0}.search-result>.eyebrow{margin-bottom:12px}.search-result h2{font:700 1.3rem/1.3 var(--serif);margin:0 0 9px}.search-result h2 a{text-decoration:none}.search-result .portal-person-card{border:0;padding:0}.portal-search-form{margin-top:25px}.portal-search-form label{font-size:.9rem;font-weight:650}.portal-search-form>div{display:flex;gap:8px;margin-top:7px}.portal-search-form input{min-width:0;flex:1;padding:12px;border:1px solid #b8c8cc;border-radius:4px;font:inherit}.portal-search-form button,.mobile-menu button{background:var(--navy);color:#fff;border:0;border-radius:4px;padding:10px 14px;font:600 .88rem var(--sans);cursor:pointer}
.standard-page{padding-top:54px;min-height:60vh}.standard-page article{max-width:800px}.standard-page .story-prose{margin-top:25px}
@media(max-width:1020px){.site-nav{gap:12px;font-size:.8rem}.site-nav .nav-contribute{padding:8px}.header-search{padding-left:6px}.header-search input{width:58px}.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.site-nav{display:none}.mobile-menu{display:block;margin-left:auto;position:relative;color:var(--navy)}.mobile-menu summary{list-style:none;min-width:70px;min-height:44px;cursor:pointer;display:flex;align-items:center;gap:8px;font-weight:700}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu nav{position:absolute;right:0;top:100%;width:min(340px,calc(100vw - 32px));max-height:calc(100vh - 90px);overflow:auto;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);box-shadow:0 14px 30px #102c4c24;padding:12px 18px 19px;border-radius:6px;z-index:50}.mobile-menu nav>a{padding:11px 3px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--navy);font-weight:650}.mobile-menu form{margin-top:16px}.mobile-menu label{font-size:.82rem;font-weight:650}.mobile-search-row{display:flex;gap:6px;margin-top:6px}.mobile-search-row input{min-width:0;width:100%;padding:8px;border:1px solid #b8c8cc;border-radius:4px}.stream-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-discovery{grid-template-columns:1fr}.editorial-band{grid-template-columns:50px minmax(0,1fr)}.editorial-band>a{grid-column:2}.portal-people-grid,.archive-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.portal-container{padding-inline:18px}.home-hero{min-height:560px}.home-hero-shade{background:linear-gradient(0deg,rgba(6,31,49,.94),rgba(6,31,49,.58) 72%,rgba(6,31,49,.22))}.home-hero-content{padding:85px 18px 42px}.home-hero h1{font-size:clamp(37px,9vw,49px)}.hero-story-title{font-size:clamp(25px,6vw,33px)}.hero-hook{font-size:16px}.home-streams{padding-top:44px}.portal-section{margin-bottom:60px}.section-heading{align-items:start;flex-direction:column;gap:6px}.stream-grid{gap:9px}.stream-card{padding:16px;min-height:225px}.stream-card strong{font-size:20px}.stream-number{font-size:2.1rem}.portal-story-grid,.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 13px}.portal-story-card h2,.portal-story-card h3{font-size:1.04rem}.portal-card-meta{font-size:.74rem}.portal-person-card{grid-template-columns:70px minmax(0,1fr);padding:12px;gap:10px}.portal-person-image img,.portal-person-placeholder{width:70px;height:70px}.explore-panel,.contribute-panel{padding:24px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.footer-identity{grid-column:1/-1}.editorial-band{grid-template-columns:1fr;padding:22px}.editorial-band>a{grid-column:1}.editorial-icon{display:none}.portal-search-results{grid-template-columns:1fr}.archive-main{padding-top:30px}.archive-header{margin-bottom:28px}}
@media(max-width:420px){.portal-story-grid,.archive-grid,.portal-people-grid,.archive-people-grid,.stream-grid{grid-template-columns:minmax(0,1fr)}.stream-card{min-height:190px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-header h1{font-size:clamp(34px,9vw,42px)}}

/* Phase E: forms and launch Pages. Existing Story and Person typography is untouched. */
.footer-newsletter{min-width:0;grid-column:span 2}.newsletter-box h2,.footer-social h2{font:700 1rem var(--serif);margin:0 0 9px;color:#fff}.newsletter-box>p{margin:0 0 15px;color:#d4e5e7;font-size:.88rem}.newsletter-box form>label:not(.form-consent){display:block;margin-bottom:6px;font-size:.85rem;font-weight:650}.newsletter-row{display:flex;gap:7px}.newsletter-row input{min-width:0;flex:1}.newsletter-row input,.contact-form-wrap input:not([type=checkbox]),.contact-form-wrap select,.contact-form-wrap textarea{width:100%;border:1px solid #a8b8bc;border-radius:5px;padding:10px 12px;background:#fff;color:var(--ink);font:inherit}.newsletter-row button{flex:none;min-height:44px;border:0;border-radius:5px;padding:10px 16px;background:#ae7d2c;color:#fff;font:700 .88rem var(--sans);cursor:pointer}.newsletter-row button:hover{background:#8a641e}.form-consent{display:flex;align-items:flex-start;gap:8px;font-size:.8rem;line-height:1.55;margin:12px 0 0;cursor:pointer}.form-consent input{flex:none;width:17px;height:17px;margin:3px 0 0}.form-privacy{font-size:.77rem;line-height:1.55;color:#dae6e9}.tibs-form-notice{padding:10px 14px;border-radius:4px;margin:0 0 14px!important}.tibs-form-success{color:#123927;background:#e4f5eb}.tibs-form-error{color:#682a1b;background:#ffece5}.tibs-honeypot{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}.footer-social{grid-column:1/-1}.footer-social ul{display:flex;list-style:none;gap:10px 20px;flex-wrap:wrap;margin:0;padding:0}.footer-social a{color:#fff}
.newsletter-box.is-success>.newsletter-success-summary{max-width:48rem;margin:16px 0 0;padding:15px 18px;border-left:4px solid #0a6372;border-radius:4px;background:#e4f5eb;color:#123927;font-size:.92rem;line-height:1.55}.newsletter-box>.tibs-form-notice.tibs-form-success{color:#123927}.newsletter-box>.tibs-form-notice.tibs-form-error{color:#682a1b}
.contact-form-wrap{margin:34px 0 0;max-width:650px}.contact-form-wrap form{display:grid;gap:7px}.contact-form-wrap form>label:not(.form-consent){font-weight:650;margin-top:12px}.contact-form-wrap textarea{resize:vertical}.contact-form-wrap .form-consent{margin:15px 0;font-size:.9rem}.contact-form-wrap .portal-button{justify-self:start;border:0;cursor:pointer;font:700 .9rem var(--sans)}.contribute-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}.contribute-actions section{min-width:0;background:#fff;padding:22px;border:1px solid var(--line);border-radius:6px}.contribute-actions h2{font:700 1.28rem/1.3 var(--serif);color:var(--navy);margin:0 0 10px}.contribute-actions p{margin:0 0 20px;font-size:.9rem}.error-page{max-width:810px}.error-page .portal-search-form{margin:26px 0}
@media(max-width:850px){.contribute-actions{grid-template-columns:1fr}}
@media(max-width:600px){.footer-newsletter{grid-column:1/-1}.newsletter-row{flex-wrap:wrap}.newsletter-row input{flex-basis:100%}.newsletter-row button{width:100%}.contact-form-wrap{margin-top:24px}.contribute-actions{gap:12px}}
