/* Site shell in the light GIGW + SaaS style: accessibility bar, tricolour
   strip, white header with emblem + name, glass dropdowns, footer, and the
   high-contrast mode. Loaded on every page after the page CSS.
   Tokens are shared with the light pages (body.lx, see home-lx.css). */

:root {
  --lx-bg: #ffffff;
  --lx-bg-alt: #fafaf9;     /* near-white band; backgrounds stay white */
  --lx-tint: #f2f3f1;        /* neutral chip/hover fill */
  --lx-ink: #0f140f;         /* near-black body text (user: "black text dark black dikhe") */
  --lx-ink-2: #1c2420;
  --lx-muted: #3a443d;       /* secondary text: still clearly dark */
  --lx-line: #e3e5e0;
  --lx-brand: #323f2f;       /* brand green, 11:1 on white */
  --lx-brand-dark: #232c21;
  --lx-deep: #323f2f;
  --lx-gold: #ffd700;        /* brand gold: fills, borders, underlines (not body text on white) */
  --lx-gold-deep: #e6c200;
  --lx-saffron: #ff9933;
  --lx-india-green: #138808;
  --lx-radius: 16px;
  --lx-radius-lg: 24px;
  --lx-shadow-sm: 0 1px 2px rgba(20, 40, 20, .06), 0 2px 6px -2px rgba(20, 40, 20, .08);
  --lx-shadow: 0 1px 2px rgba(20, 40, 20, .05), 0 12px 32px -14px rgba(20, 50, 20, .22);
  --lx-shadow-lg: 0 2px 4px rgba(20, 40, 20, .05), 0 30px 60px -24px rgba(20, 50, 20, .32);
  --lx-ease: cubic-bezier(.2, .7, .2, 1);
  --lx-head: 'Manrope', 'Segoe UI', sans-serif;
  --lx-body: 'Roboto', 'Segoe UI', sans-serif;
}

/* ---------- accessibility bar ---------- */
.a11y-bar { background: #283325; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 400 13px/1 var(--lx-body); position: relative; z-index: 1; }
.a11y-bar__inner { max-width: 1280px; margin: 0 auto; padding: 6px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.a11y-bar a, .a11y-bar button { color: inherit; }
.a11y-bar__skip { text-decoration: none; padding: 4px 0; }
.a11y-bar__skip:hover, .a11y-bar__skip:focus-visible { text-decoration: underline; }
.a11y-bar__tools { display: flex; align-items: center; gap: 14px; }
.a11y-bar__group { display: flex; gap: 2px; }
.a11y-bar__group button, .a11y-bar__contrast {
  min-width: 28px; height: 24px; padding: 0 7px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px;
  background: transparent; font: 600 12px/1 var(--lx-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.a11y-bar__group button sup { font-size: 9px; }
.a11y-bar__group button:hover, .a11y-bar__contrast:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.a11y-bar__group button[aria-pressed="true"], .a11y-bar__contrast[aria-pressed="true"] { background: var(--lx-gold); color: var(--lx-brand); border-color: var(--lx-gold); }
.a11y-bar__contrast { display: inline-flex; align-items: center; gap: 6px; }
.tricolor { display: flex; height: 4px; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--lx-saffron); }
.tricolor span:nth-child(2) { background: #fff; }
.tricolor span:nth-child(3) { background: var(--lx-india-green); }

/* ---------- header (all widths) ---------- */
.site-header {
  /* same as the footer: brand green #323f2f, pure white text, gold accents */
  background: var(--lx-brand); color: #fff; border-bottom: 2px solid var(--lx-gold);
}
.site-header__logo { display: flex !important; align-items: center; gap: 12px; width: auto !important; text-decoration: none; color: #fff; }
.site-header__logo img.site-header__emblem { display: block; width: 56px; height: 56px; object-fit: contain; transition: width .3s var(--lx-ease), height .3s var(--lx-ease); }
.site-header__name { display: flex; flex-direction: column; line-height: 1.05; }
.site-header__name strong { font: 800 21px/1.05 var(--lx-head); letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.site-header__name span { font: 600 12.5px/1.3 var(--lx-head); letter-spacing: .32em; text-transform: uppercase; color: #fff; }
.site-header__partner img { display: block; }
.site-header .site-nav__toggle { border-color: rgba(255, 255, 255, .4); }
.site-header .site-nav__toggle span { background: #fff; }

@media (min-width: 1200px) {
  .site-header {
    position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
    padding: 10px 28px; transition: padding .3s var(--lx-ease), box-shadow .3s;
  }
  .site-header.fx-scrolled { padding-block: 6px; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .55); }
  .site-header.fx-scrolled .site-header__emblem { width: 46px !important; height: 46px !important; }
  .site-header__brand { display: contents; }
  .site-header__logo { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-header__partner { grid-column: 3; grid-row: 1; margin: 0; width: auto; }
  .site-header__partner img { width: 56px; height: 56px; }
  .site-nav { grid-column: 2; grid-row: 1; margin: 0; padding: 0; }
  .site-nav__list { justify-content: flex-end; flex-wrap: nowrap; gap: 2px; }
  .site-nav__list > .nav-item { margin: 0; }
  .site-nav__list > .nav-item > .nav-link {
    height: 42px; padding: 0 13px; border: 0; border-radius: 10px; color: #fff;
    font: 600 15px/1 var(--lx-body); transition: color .2s, background-color .2s;
  }
  .site-nav__list > .nav-item > .nav-link::after { left: 13px; right: 13px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--lx-gold); }
  .site-nav__list > .nav-item:hover > .nav-link, .site-nav__list > .nav-item:focus-within > .nav-link,
  .site-nav__list > .nav-item.is-active > .nav-link, .site-nav__list .nav-link[aria-current] { color: #fff; background: rgba(255, 255, 255, .1); }
  .site-nav__list > .nav-item:last-child { margin-left: 10px; }
  .site-nav__list > .nav-item:last-child > .nav-link {
    padding: 0 22px; border-radius: 999px; background: var(--lx-gold); color: var(--lx-brand); font-weight: 800;
    box-shadow: 0 10px 22px -12px rgba(200, 170, 0, .9), inset 0 -2px 0 rgba(0, 0, 0, .08); transition: background .2s, translate .25s var(--lx-ease), box-shadow .25s;
  }
  .site-nav__list > .nav-item:last-child > .nav-link::after { display: none; }
  .site-nav__list > .nav-item:last-child > .nav-link:hover { background: #fff; color: var(--lx-brand); translate: 0 -2px; box-shadow: 0 16px 26px -12px rgba(0, 0, 0, .6); }
  .nav-sub {
    top: calc(100% + 10px); width: 270px; padding: 8px; border: 1px solid rgba(255, 215, 0, .35); border-radius: 14px;
    background: var(--lx-brand); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7);
  }
  .nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav-sub .nav-sub { top: -9px; left: calc(100% + 8px); }
  .nav-sub .nav-sub::before { top: 0; bottom: 0; left: -10px; width: 10px; height: auto; right: auto; }
  .nav-sub .nav-link { padding: 11px 14px; border: 0; border-radius: 9px; color: #fff; font: 500 14.5px/1.35 var(--lx-body); transition: background-color .2s, color .2s, padding .25s var(--lx-ease); }
  .nav-sub .nav-link:hover, .nav-sub .nav-item:focus-within > .nav-link { background: rgba(255, 255, 255, .1); color: #fff; padding-left: 18px; box-shadow: inset 3px 0 0 var(--lx-gold); }
}
@media (min-width: 1200px) and (max-width: 1365px) {
  .site-header { gap: 10px; padding-inline: 16px; }
  .site-header__name strong { font-size: 18px; }
  .site-header__name span { font-size: 11px; letter-spacing: .26em; }
  .site-nav__list > .nav-item > .nav-link { padding: 0 9px; font-size: 14px; }
}
@media (max-width: 1199px) {
  .site-header { padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 50; }
  .site-header__brand { display: flex; align-items: center; gap: 12px; flex: 1; }
  .site-header__partner { margin: 0 0 0 auto !important; }
  .site-header__partner img { width: 46px !important; height: 46px !important; }
  .site-nav { margin: 0 !important; }
  .site-nav__panel { background: var(--lx-brand); color: #fff; }
  .site-nav__panel-head img { width: 48px !important; height: 48px !important; }
  .site-nav__close { color: #fff !important; border-color: rgba(255, 255, 255, .4) !important; }
  .site-nav__list .nav-link, .site-nav__list > .nav-item > .nav-link { color: #fff !important; border-color: rgba(255, 255, 255, .14) !important; border-left: 0 !important; border-right: 0 !important; }
  .site-nav__list .nav-link:hover, .site-nav__list .nav-link[aria-current] { color: #fff !important; background: rgba(255, 255, 255, .08); }
  .nav-caret { border-color: rgba(255, 255, 255, .4) !important; color: var(--lx-gold); }
}
@media (max-width: 600px) {
  .site-header__brand { display: flex !important; text-align: left !important; }
  .site-header__logo { margin: 0 !important; }
  .site-header__logo img.site-header__emblem { width: 44px; height: 44px; }
  .site-header__name strong { font-size: 16px; }
  .site-header__name span { font-size: 10px; letter-spacing: .22em; }
  .site-header__partner { display: none !important; }
  .a11y-bar__label { display: none; }
  .a11y-bar__inner { padding-inline: 12px; }
}

/* ---------- footer: brand green #323f2f, pure white text, gold accents ---------- */
.site-footer { background: var(--lx-brand); color: #fff; padding-bottom: 24px; }
.site-footer .wave { display: none; }
.site-footer::before {
  content: ''; display: block; height: 4px; margin: 0 -25px;
  background: linear-gradient(90deg, var(--lx-saffron) 0 33.3%, #fff 33.3% 66.6%, var(--lx-india-green) 66.6%);
}
.site-footer__cols { gap: 28px; padding-top: 44px; }
.site-footer h2 { position: relative; margin: 0 0 22px; padding-bottom: 12px; font: 800 18px/1.2 var(--lx-head); letter-spacing: .01em; color: #fff; }
.site-footer h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--lx-gold); }
.site-footer .icon-list li { font: 400 14.5px/1.5 var(--lx-body); color: #fff; }
.site-footer .icon-list .icon { color: var(--lx-gold); }
.site-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--lx-gold); text-underline-offset: 3px; }
.subscribe-form { padding-left: 0; width: 100%; max-width: 300px; gap: 10px; }
.subscribe-form label { margin: 0; font: 600 14px/1.3 var(--lx-body); color: #fff; }
.subscribe-form input {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid rgba(255, 215, 0, .5); border-radius: 10px;
  background: #fff; color: var(--lx-ink); font: 400 15px var(--lx-body);
}
.subscribe-form input::placeholder { color: var(--lx-muted); }
.subscribe-form input:focus { outline: 2px solid var(--lx-gold); outline-offset: 1px; border-color: var(--lx-gold); }
.subscribe-form button {
  width: 100%; height: 44px; margin: 0; border: 0; border-radius: 10px; background: var(--lx-gold); color: var(--lx-brand);
  font: 800 15px var(--lx-head); cursor: pointer; transition: background .2s, translate .2s var(--lx-ease);
}
.subscribe-form button:hover { background: #fff; translate: 0 -1px; }
.subscribe-form__msg { color: #fff; }
.site-footer__bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 215, 0, .25); }
.socials { padding-left: 18px; }
.socials a { border: 0; background: var(--lx-gold); color: var(--lx-brand); transition: background .2s, color .2s, translate .2s var(--lx-ease); }
.socials a:hover { background: #fff; color: var(--lx-brand); translate: 0 -2px; text-decoration: none; }
.site-footer__copy { font: 600 14px/1.4 var(--lx-body); color: #fff; }

/* ---------- accessibility modes ---------- */
html[data-text-size="-1"] { zoom: .9; }
html[data-text-size="1"] { zoom: 1.12; }
html.hc, html.hc body { background: #000 !important; }
html.hc body *:not(img):not(svg):not(path):not(video):not(iframe) {
  background-color: #000 !important; background-image: none !important; color: #fff !important;
  border-color: #fff !important; box-shadow: none !important; text-shadow: none !important;
}
html.hc a, html.hc a * { color: #ffeb3b !important; text-decoration: underline !important; }
html.hc .tricolor span { background: #fff !important; }
html.hc [style*="background-image"] { background-image: none !important; }

/* ---------- page background: milk white with a quiet paper texture ----------
   (user: "background ek dudh jaisa safed aur aisa texture jisse ekdum clear
   aur premium lage, puri site mein"). A fine paper grain tile plus two faint
   fixed glows (brand gold top-right, brand green bottom-left). White cards
   sit on it cleanly. Overrides the #f3f4f1 set by the page stylesheets. */
body.lx {
  background-color: #fbfaf6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.lx main { background: transparent; }
body.lx::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 100% 0%, rgba(255, 215, 0, .075), transparent 62%),
    radial-gradient(50% 45% at 0% 100%, rgba(50, 63, 47, .055), transparent 62%);
}
html.hc body.lx::before { display: none; }

/* ---------- text alignment (user: "har jagah text alignment karo jaha jaruri hai") ----------
   No justified text anywhere (it opens uneven gaps, worst on phones), including
   inline styles from the old editor. Long centred paragraphs are switched to
   left-aligned by motion.js (.lx-left); headings and short taglines stay centred. */
body.lx main [style*="text-align: justify"], body.lx main [style*="text-align:justify"] { text-align: left !important; }
body.lx main .lx-left { text-align: left !important; }
/* alignment chosen in the admin editor (Align left / centre / right buttons): always wins */
.ta-left { text-align: left !important; }
.ta-center { text-align: center !important; }
/* admin "Aa" style on a heading / short text: the span fills the line so alignment works (user 2026-10-30) */
.ts:is(.ta-left, .ta-center, .ta-right, .ta-justify) { display: block; }
.ta-right { text-align: right !important; }
.ta-justify { text-align: justify !important; hyphens: none; -webkit-hyphens: none; }   /* admin Justify button (user 2026-10-29) */
/* admin editor: size, indent and tables (colours are in theme-dark.css) */
.fs-sm { font-size: .875em; }
.fs-lg { font-size: 1.25em; }
.fs-xl { font-size: 1.5em; line-height: 1.3; }
.ind-1 { margin-left: 2em !important; }
.ind-2 { margin-left: 4em !important; }
.ind-3 { margin-left: 6em !important; }
@media (max-width: 600px) { .ind-2 { margin-left: 3em !important; } .ind-3 { margin-left: 4em !important; } }
.rt-table { max-width: 100%; margin: 1em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rt-table table { border-collapse: collapse; min-width: 60%; }
.rt-table th, .rt-table td { padding: .55em .8em; border: 1px solid; vertical-align: top; text-align: left; }

/* taller header (user: "thora header ki lambai badhao"): more breathing room and
   a larger emblem; it still slims down once the page scrolls */
@media (min-width: 1200px) {
  .site-header { padding-block: 18px; }
  .site-header__logo img.site-header__emblem { width: 66px; height: 66px; }
  .site-header__name strong { font-size: 23px; }
  .site-header__name span { font-size: 13px; }
  .site-header__partner img { width: 64px; height: 64px; }
  .site-nav__list > .nav-item > .nav-link { height: 46px; }
  .site-header.fx-scrolled { padding-block: 8px; }
}
@media (max-width: 1199px) {
  .site-header { padding-block: 14px; }
  .site-header__logo img.site-header__emblem { width: 52px; height: 52px; }
}

/* header from the user's pasted CSS: full width, roomier sides, larger menu items
   and Donate button (the emblem stays at 66px, already larger than the paste's 60) */
@media (min-width: 1200px) {
  .site-header { padding-inline: clamp(20px, 3vw, 56px); }
  .site-nav__list { gap: 6px; }
  .site-nav__list > .nav-item > .nav-link { padding: 0 20px; font-size: 16.5px; }
  .site-nav__list > .nav-item > .nav-link::after { left: 20px; right: 20px; }
  .site-nav__list > .nav-item:last-child > .nav-link { padding: 0 30px; font-size: 16px; }
}
/* not enough room for the full-size menu below 1500px: step it down so it never wraps */
@media (min-width: 1200px) and (max-width: 1499px) {
  .site-nav__list { gap: 2px; }
  .site-nav__list > .nav-item > .nav-link { padding: 0 12px; font-size: 15.5px; }
  .site-nav__list > .nav-item > .nav-link::after { left: 12px; right: 12px; }
  .site-nav__list > .nav-item:last-child > .nav-link { padding: 0 24px; font-size: 15.5px; }
}
@media (min-width: 1200px) and (max-width: 1365px) {
  .site-nav__list > .nav-item > .nav-link { padding: 0 9px; font-size: 14.5px; }
  .site-nav__list > .nav-item:last-child > .nav-link { padding: 0 18px; }
  .site-header__name strong { font-size: 19px; }
}
.a11y-bar__inner { max-width: none; padding-inline: clamp(16px, 3vw, 56px); }

/* Phones: comfortable tap targets for the accessibility bar and story-card links */
@media (max-width: 767px) {
  .a11y-bar button, .a11y-bar__skip { min-height: 36px; }
  .a11y-bar__group button { min-width: 36px; }
  .a11y-bar__skip { display: inline-flex; align-items: center; }
  .story-card__more { display: inline-flex; align-items: center; min-height: 36px; }
}
