/* v21 themes. Classic = no overrides (the original look). Loaded after style.css. */
html[data-theme="night"],html[data-theme="tulsi"],html[data-theme="ganga"]{
  --page:#fffdf9;--surface:#fff;--header-bg:rgba(255,255,255,.96);
}
html[data-theme="night"]{color-scheme:dark;
  --saffron:#f08a3c;--saffron2:#f6a45c;--green:#5fcf8f;--deep:#ffdca6;--deep2:#0d0906;--cream:#1d1610;--cream2:#2b2017;
  --ink:#f1e6d4;--muted:#bfae96;--line:#3b2e22;--white:#211912;--gold:#d4a84a;--shadow:0 20px 55px rgba(0,0,0,.45);
  --page:#15100c;--surface:#211912;--header-bg:rgba(21,16,12,.96);--block:#2a140a;--block2:#4a1d0c;--onblock:#ffe8c4;--field:#17110d;
  --hero-a:rgba(240,138,60,.14);--hero-b:#1a130d;--hero-c:#120d09;}
html[data-theme="tulsi"]{
  --saffron:#2f8f5b;--saffron2:#4fae7a;--green:#1f6a45;--deep:#133f2b;--deep2:#0c2a1d;--cream:#edf5e9;--cream2:#e0eed9;
  --ink:#1d2a22;--muted:#58695d;--line:#d2e2c9;--gold:#b59a3b;--shadow:0 20px 55px rgba(20,60,38,.10);
  --page:#f8fbf6;--surface:#fff;--header-bg:rgba(250,253,248,.96);--block:#133f2b;--block2:#1f6a45;--onblock:#e9f7ee;--field:#fff;
  --hero-a:rgba(79,174,122,.20);--hero-b:#eaf5e4;--hero-c:#f8fbf6;}
html[data-theme="ganga"]{
  --saffron:#1f6fb5;--saffron2:#3c8fd6;--green:#13795b;--deep:#0f2f55;--deep2:#0a1f3a;--cream:#eaf2fc;--cream2:#dce9f8;
  --ink:#1b2733;--muted:#566677;--line:#cfdff2;--gold:#c0a24a;--shadow:0 20px 55px rgba(15,47,85,.10);
  --page:#f7fafe;--surface:#fff;--header-bg:rgba(250,252,255,.96);--block:#0f2f55;--block2:#1a4f86;--onblock:#e6f1ff;--field:#fff;
  --hero-a:rgba(60,143,214,.20);--hero-b:#e6f0fb;--hero-c:#f7fafe;}

/* ---- shared overrides for the three non-classic themes ---- */
html[data-theme="night"] body,html[data-theme="tulsi"] body,html[data-theme="ganga"] body,html[data-theme="custom"] body{background:var(--page);color:var(--ink)}
html[data-theme="night"] .site-header,html[data-theme="tulsi"] .site-header,html[data-theme="ganga"] .site-header,html[data-theme="custom"] .site-header{background:var(--header-bg);border-bottom-color:var(--line)}
html[data-theme="night"] .topbar,html[data-theme="tulsi"] .topbar,html[data-theme="ganga"] .topbar,html[data-theme="custom"] .topbar,
html[data-theme="night"] footer,html[data-theme="tulsi"] footer,html[data-theme="ganga"] footer,html[data-theme="custom"] footer{background:var(--deep2)}
html[data-theme="night"] .main-nav>a,html[data-theme="tulsi"] .main-nav>a,html[data-theme="ganga"] .main-nav>a,html[data-theme="custom"] .main-nav>a{color:var(--ink)}
html[data-theme="night"] .card,html[data-theme="night"] .form,html[data-theme="night"] .news-card,html[data-theme="night"] .event-card,html[data-theme="night"] .event-row,html[data-theme="night"] .contact-card,html[data-theme="night"] .feature-card,html[data-theme="night"] .mini-milestone,html[data-theme="night"] .initiative-grid>div,html[data-theme="night"] .vision-card,html[data-theme="night"] .empty-state,html[data-theme="night"] .lang-switch,html[data-theme="night"] .menu-toggle,
html[data-theme="tulsi"] .card,html[data-theme="tulsi"] .form,html[data-theme="tulsi"] .news-card,html[data-theme="tulsi"] .event-card,html[data-theme="tulsi"] .event-row,html[data-theme="tulsi"] .contact-card,html[data-theme="tulsi"] .feature-card,html[data-theme="tulsi"] .mini-milestone,html[data-theme="tulsi"] .initiative-grid>div,html[data-theme="tulsi"] .vision-card,html[data-theme="tulsi"] .empty-state,html[data-theme="tulsi"] .lang-switch,html[data-theme="tulsi"] .menu-toggle,
html[data-theme="ganga"] .card,html[data-theme="custom"] .card,html[data-theme="ganga"] .form,html[data-theme="custom"] .form,html[data-theme="ganga"] .news-card,html[data-theme="custom"] .news-card,html[data-theme="ganga"] .event-card,html[data-theme="custom"] .event-card,html[data-theme="ganga"] .event-row,html[data-theme="custom"] .event-row,html[data-theme="ganga"] .contact-card,html[data-theme="custom"] .contact-card,html[data-theme="ganga"] .feature-card,html[data-theme="custom"] .feature-card,html[data-theme="ganga"] .mini-milestone,html[data-theme="custom"] .mini-milestone,html[data-theme="ganga"] .initiative-grid>div,html[data-theme="custom"] .initiative-grid>div,html[data-theme="ganga"] .vision-card,html[data-theme="custom"] .vision-card,html[data-theme="ganga"] .empty-state,html[data-theme="custom"] .empty-state,html[data-theme="ganga"] .lang-switch,html[data-theme="custom"] .lang-switch,html[data-theme="ganga"] .menu-toggle,html[data-theme="custom"] .menu-toggle{background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme="night"] .main-nav,html[data-theme="tulsi"] .main-nav,html[data-theme="ganga"] .main-nav,html[data-theme="custom"] .main-nav{border-color:var(--line)}
@media(max-width:900px){html[data-theme="night"] .main-nav,html[data-theme="tulsi"] .main-nav,html[data-theme="ganga"] .main-nav,html[data-theme="custom"] .main-nav{background:var(--surface)}}
html[data-theme="night"] .form input,html[data-theme="night"] .form textarea,html[data-theme="night"] .form select,
html[data-theme="tulsi"] .form input,html[data-theme="tulsi"] .form textarea,html[data-theme="tulsi"] .form select,
html[data-theme="ganga"] .form input,html[data-theme="custom"] .form input,html[data-theme="ganga"] .form textarea,html[data-theme="custom"] .form textarea,html[data-theme="ganga"] .form select,html[data-theme="custom"] .form select{background:var(--field);color:var(--ink);border-color:var(--line)}
html[data-theme="night"] .btn-outline,html[data-theme="tulsi"] .btn-outline,html[data-theme="ganga"] .btn-outline,html[data-theme="custom"] .btn-outline{background:transparent;color:var(--saffron);border-color:var(--saffron)}
html[data-theme="night"] .btn-outline:hover,html[data-theme="tulsi"] .btn-outline:hover,html[data-theme="ganga"] .btn-outline:hover,html[data-theme="custom"] .btn-outline:hover{background:var(--cream)}
html[data-theme="night"] .btn-light,html[data-theme="tulsi"] .btn-light,html[data-theme="ganga"] .btn-light,html[data-theme="custom"] .btn-light{background:#fff;color:#133;}
html[data-theme="night"] .btn-saffron,html[data-theme="tulsi"] .btn-saffron,html[data-theme="ganga"] .btn-saffron,html[data-theme="custom"] .btn-saffron{color:#fff}
html[data-theme="night"] .btn-saffron{color:#1b0f06}
html[data-theme="night"] .hero-home,html[data-theme="tulsi"] .hero-home,html[data-theme="ganga"] .hero-home,html[data-theme="custom"] .hero-home{background:radial-gradient(circle at 75% 45%,var(--hero-a),transparent 30%),linear-gradient(135deg,var(--hero-b) 0%,var(--hero-c) 52%,var(--hero-b) 100%)}
html[data-theme="night"] .page-hero,html[data-theme="tulsi"] .page-hero,html[data-theme="ganga"] .page-hero,html[data-theme="custom"] .page-hero{background:linear-gradient(135deg,var(--cream),var(--cream2));border-bottom-color:var(--line)}
html[data-theme="night"] .progress-section,html[data-theme="night"] .social-section,html[data-theme="night"] .support-section,
html[data-theme="tulsi"] .progress-section,html[data-theme="tulsi"] .social-section,html[data-theme="tulsi"] .support-section,
html[data-theme="ganga"] .progress-section,html[data-theme="custom"] .progress-section,html[data-theme="ganga"] .social-section,html[data-theme="custom"] .social-section,html[data-theme="ganga"] .support-section,html[data-theme="custom"] .support-section{background:var(--page)}
html[data-theme="night"] .section-cream,html[data-theme="tulsi"] .section-cream,html[data-theme="ganga"] .section-cream,html[data-theme="custom"] .section-cream{background:var(--cream)}
html[data-theme="night"] .pill-row span,html[data-theme="night"] .event-date,html[data-theme="tulsi"] .pill-row span,html[data-theme="tulsi"] .event-date,html[data-theme="ganga"] .pill-row span,html[data-theme="custom"] .pill-row span,html[data-theme="ganga"] .event-date,html[data-theme="custom"] .event-date{background:var(--cream2);border-color:var(--line);color:var(--deep)}
html[data-theme="night"] .progress,html[data-theme="tulsi"] .progress,html[data-theme="ganga"] .progress,html[data-theme="custom"] .progress{background:var(--line)}
html[data-theme="night"] .hero-lead,html[data-theme="night"] .lead,html[data-theme="night"] .page-hero p,html[data-theme="night"] .article-content,
html[data-theme="tulsi"] .hero-lead,html[data-theme="tulsi"] .lead,html[data-theme="tulsi"] .page-hero p,html[data-theme="tulsi"] .article-content,
html[data-theme="ganga"] .hero-lead,html[data-theme="custom"] .hero-lead,html[data-theme="ganga"] .lead,html[data-theme="custom"] .lead,html[data-theme="ganga"] .page-hero p,html[data-theme="custom"] .page-hero p,html[data-theme="ganga"] .article-content,html[data-theme="custom"] .article-content{color:var(--muted)}
html[data-theme="night"] .article-excerpt,html[data-theme="tulsi"] .article-excerpt,html[data-theme="ganga"] .article-excerpt,html[data-theme="custom"] .article-excerpt{color:var(--deep)}
html[data-theme="night"] .notice,html[data-theme="tulsi"] .notice,html[data-theme="ganga"] .notice,html[data-theme="custom"] .notice{background:var(--cream2);border-color:var(--line);color:var(--ink)}
html[data-theme="night"] .notice.success{background:#14301f;border-color:#2c6a46;color:#bff0cf}
html[data-theme="night"] .table,html[data-theme="tulsi"] .table,html[data-theme="ganga"] .table,html[data-theme="custom"] .table{background:var(--surface);color:var(--ink)}
html[data-theme="night"] .table th,html[data-theme="night"] .table td,html[data-theme="tulsi"] .table th,html[data-theme="tulsi"] .table td,html[data-theme="ganga"] .table th,html[data-theme="custom"] .table th,html[data-theme="ganga"] .table td,html[data-theme="custom"] .table td{border-color:var(--line)}
/* dark feature blocks keep a dark background and light text in every theme */
html[data-theme="night"] .impact-bar,html[data-theme="night"] .quote-card,html[data-theme="night"] .article-hero,html[data-theme="night"] .donation-panel,
html[data-theme="tulsi"] .impact-bar,html[data-theme="tulsi"] .quote-card,html[data-theme="tulsi"] .article-hero,html[data-theme="tulsi"] .donation-panel,
html[data-theme="ganga"] .impact-bar,html[data-theme="custom"] .impact-bar,html[data-theme="ganga"] .quote-card,html[data-theme="custom"] .quote-card,html[data-theme="ganga"] .article-hero,html[data-theme="custom"] .article-hero,html[data-theme="ganga"] .donation-panel,html[data-theme="custom"] .donation-panel{background:var(--block);color:var(--onblock)}
html[data-theme="night"] .support-card,html[data-theme="tulsi"] .support-card,html[data-theme="ganga"] .support-card,html[data-theme="custom"] .support-card{background:linear-gradient(135deg,var(--block),var(--block2));color:var(--onblock)}
html[data-theme="night"] .cta-strip,html[data-theme="tulsi"] .cta-strip,html[data-theme="ganga"] .cta-strip,html[data-theme="custom"] .cta-strip{background:linear-gradient(135deg,var(--block2),var(--block));color:var(--onblock)}
html[data-theme="night"] .impact-bar *,html[data-theme="night"] .support-card h2,html[data-theme="night"] .article-hero h1,html[data-theme="night"] .donation-panel h2,html[data-theme="night"] .quote-card,
html[data-theme="tulsi"] .support-card h2,html[data-theme="tulsi"] .article-hero h1,html[data-theme="tulsi"] .donation-panel h2,
html[data-theme="ganga"] .support-card h2,html[data-theme="custom"] .support-card h2,html[data-theme="ganga"] .article-hero h1,html[data-theme="custom"] .article-hero h1,html[data-theme="ganga"] .donation-panel h2,html[data-theme="custom"] .donation-panel h2{color:var(--onblock)}
html[data-theme="night"] .hero-trust .seal,html[data-theme="night"] .lang-switch a.active,
html[data-theme="tulsi"] .hero-trust .seal,html[data-theme="tulsi"] .lang-switch a.active,html[data-theme="ganga"] .hero-trust .seal,html[data-theme="custom"] .hero-trust .seal,html[data-theme="ganga"] .lang-switch a.active,html[data-theme="custom"] .lang-switch a.active{background:var(--block);color:var(--onblock)}
html[data-theme="night"] .feature-card h3,html[data-theme="night"] .card h3,html[data-theme="night"] .news-card h3,html[data-theme="night"] .event-card h3,html[data-theme="night"] .event-row h3{color:var(--deep)}
html[data-theme="night"] img{filter:brightness(.92)}
html[data-theme="night"] .brand img,html[data-theme="night"] .footer-logo{filter:none}

/* ---- theme switcher (all themes) ---- */
.theme21{position:relative;display:inline-block}
.theme21-btn{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12px;font-weight:800;border:1px solid var(--line);background:var(--surface,#fff);color:var(--deep);border-radius:999px;padding:6px 11px;cursor:pointer;min-height:36px}
.theme21-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:80;width:240px;background:var(--surface,#fff);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 45px rgba(0,0,0,.2);padding:10px;display:none}
.theme21.open .theme21-pop{display:block}
.theme21-pop button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:2px solid transparent;background:transparent;color:inherit;font:inherit;border-radius:12px;padding:8px;cursor:pointer;min-height:44px}
.theme21-pop button:hover{background:var(--cream,#fff8e8)}
.theme21-pop button[aria-checked="true"]{border-color:var(--saffron)}
.theme21-pop b{display:block;font-size:13px;line-height:1.2}
.theme21-pop small{display:block;font-size:11px;opacity:.75;line-height:1.2}
.theme21-sw{display:inline-flex;flex:0 0 auto;border-radius:8px;overflow:hidden;border:1px solid rgba(0,0,0,.15)}
.theme21-sw i{display:block;width:12px;height:30px}
@media(max-width:900px){.theme21{display:block;align-self:stretch;margin-top:8px}.theme21-pop{position:static;width:100%;margin-top:8px;box-shadow:none}}
@media(prefers-reduced-motion:no-preference){body{transition:background-color .25s,color .25s}}

/* ---- component fixes (found by rendering every theme) ---- */
html[data-theme="night"] .hero-ribbon,html[data-theme="tulsi"] .hero-ribbon,html[data-theme="ganga"] .hero-ribbon,html[data-theme="custom"] .hero-ribbon,html[data-theme="night"] .image-caption-below,html[data-theme="tulsi"] .image-caption-below,html[data-theme="ganga"] .image-caption-below,html[data-theme="custom"] .image-caption-below,html[data-theme="night"] .contact-v14-card,html[data-theme="tulsi"] .contact-v14-card,html[data-theme="ganga"] .contact-v14-card,html[data-theme="custom"] .contact-v14-card,html[data-theme="night"] .nav-search,html[data-theme="tulsi"] .nav-search,html[data-theme="ganga"] .nav-search,html[data-theme="custom"] .nav-search,html[data-theme="night"] button.theme-less,html[data-theme="tulsi"] button.theme-less,html[data-theme="ganga"] button.theme-less,html[data-theme="custom"] button.theme-less{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme="night"] .why-section,html[data-theme="tulsi"] .why-section,html[data-theme="ganga"] .why-section,html[data-theme="custom"] .why-section{background:var(--page)}
html[data-theme="night"] .hero-image-ring,html[data-theme="tulsi"] .hero-image-ring,html[data-theme="ganga"] .hero-image-ring,html[data-theme="custom"] .hero-image-ring{background:linear-gradient(145deg,var(--cream2),var(--gold))}
html[data-theme="night"] .why-map-card,html[data-theme="tulsi"] .why-map-card,html[data-theme="ganga"] .why-map-card,html[data-theme="custom"] .why-map-card{background:linear-gradient(145deg,var(--cream),var(--cream2));border-color:var(--line)}
html[data-theme="night"] .fraud-box,html[data-theme="tulsi"] .fraud-box,html[data-theme="ganga"] .fraud-box,html[data-theme="custom"] .fraud-box{background:var(--cream2);border-color:var(--gold);color:var(--ink)}
html[data-theme="night"] .bank-highlight,html[data-theme="tulsi"] .bank-highlight,html[data-theme="ganga"] .bank-highlight,html[data-theme="custom"] .bank-highlight,html[data-theme="night"] .donation-steps,html[data-theme="tulsi"] .donation-steps,html[data-theme="ganga"] .donation-steps,html[data-theme="custom"] .donation-steps,html[data-theme="night"] .donation-method-hint,html[data-theme="tulsi"] .donation-method-hint,html[data-theme="ganga"] .donation-method-hint,html[data-theme="custom"] .donation-method-hint{background:var(--cream);border-color:var(--line);color:var(--ink)}
html[data-theme="night"] .about-seal-card,html[data-theme="tulsi"] .about-seal-card,html[data-theme="ganga"] .about-seal-card,html[data-theme="custom"] .about-seal-card{background:linear-gradient(145deg,var(--block),var(--block2));color:var(--onblock)}
html[data-theme="night"] .filter-chip,html[data-theme="tulsi"] .filter-chip,html[data-theme="ganga"] .filter-chip,html[data-theme="custom"] .filter-chip{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme="night"] .filter-chip.active,html[data-theme="tulsi"] .filter-chip.active,html[data-theme="ganga"] .filter-chip.active,html[data-theme="custom"] .filter-chip.active{background:var(--saffron);color:#fff;border-color:var(--saffron)}
html[data-theme="night"] .nav-donate,html[data-theme="tulsi"] .nav-donate,html[data-theme="ganga"] .nav-donate,html[data-theme="custom"] .nav-donate,html[data-theme="night"] .btn-saffron,html[data-theme="tulsi"] .btn-saffron,html[data-theme="ganga"] .btn-saffron,html[data-theme="custom"] .btn-saffron{color:#fff}

/* runtime safety net for the night theme (see theme21.js) */
html[data-theme="night"] .t21-s,html[data-dark="1"] .t21-s{background-image:none!important;background-color:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
html[data-theme="night"] .t21-s h1,html[data-theme="night"] .t21-s h2,html[data-theme="night"] .t21-s h3,html[data-theme="night"] .t21-s strong,html[data-dark="1"] .t21-s h1,html[data-dark="1"] .t21-s h2,html[data-dark="1"] .t21-s h3,html[data-dark="1"] .t21-s strong{color:var(--deep)}
html[data-theme="night"] .nav-donate,html[data-theme="night"] .btn-saffron,html[data-theme="night"] .filter-chip.active{color:#1b0f06!important}
html[data-theme="night"] .footer-signup,html[data-theme="tulsi"] .footer-signup,html[data-theme="ganga"] .footer-signup,html[data-theme="custom"] .footer-signup{background:var(--block);color:var(--onblock)}
html[data-theme="night"] .donation-panel dt,html[data-theme="tulsi"] .donation-panel dt,html[data-theme="ganga"] .donation-panel dt,html[data-theme="custom"] .donation-panel dt,html[data-theme="night"] .donation-panel .eyebrow,html[data-theme="tulsi"] .donation-panel .eyebrow,html[data-theme="ganga"] .donation-panel .eyebrow,html[data-theme="custom"] .donation-panel .eyebrow,html[data-theme="night"] .donation-panel .detail-list dt,html[data-theme="tulsi"] .donation-panel .detail-list dt,html[data-theme="ganga"] .donation-panel .detail-list dt,html[data-theme="custom"] .donation-panel .detail-list dt{color:var(--gold)}
html[data-theme="night"] .donation-panel a,html[data-theme="tulsi"] .donation-panel a,html[data-theme="ganga"] .donation-panel a,html[data-theme="custom"] .donation-panel a,html[data-theme="night"] .support-contact a,html[data-theme="tulsi"] .support-contact a,html[data-theme="ganga"] .support-contact a,html[data-theme="custom"] .support-contact a{color:var(--gold)}
html[data-theme="night"] .donation-panel>p,html[data-theme="tulsi"] .donation-panel>p,html[data-theme="ganga"] .donation-panel>p,html[data-theme="custom"] .donation-panel>p{color:var(--onblock)}
html[data-theme="night"] .fraud-box *,html[data-theme="tulsi"] .fraud-box *,html[data-theme="ganga"] .fraud-box *,html[data-theme="custom"] .fraud-box *,html[data-theme="night"] .bank-highlight *,html[data-theme="tulsi"] .bank-highlight *,html[data-theme="ganga"] .bank-highlight *,html[data-theme="custom"] .bank-highlight *,html[data-theme="night"] .donation-steps *,html[data-theme="tulsi"] .donation-steps *,html[data-theme="ganga"] .donation-steps *,html[data-theme="custom"] .donation-steps *{color:var(--ink)}
html[data-theme="night"] .fraud-box a,html[data-theme="tulsi"] .fraud-box a,html[data-theme="ganga"] .fraud-box a,html[data-theme="custom"] .fraud-box a{color:var(--saffron);font-weight:800}
html[data-theme="night"] .donation-panel dd,html[data-theme="tulsi"] .donation-panel dd,html[data-theme="ganga"] .donation-panel dd,html[data-theme="custom"] .donation-panel dd{color:var(--onblock)!important}
html[data-theme="night"] .donation-panel dd *,html[data-theme="tulsi"] .donation-panel dd *,html[data-theme="ganga"] .donation-panel dd *,html[data-theme="custom"] .donation-panel dd *{color:inherit!important}
@media print{html[data-theme] body{background:#fff!important;color:#000!important}.theme21{display:none!important}}

/* ---- festival accent ---- */
html[data-fest] .site-header{border-bottom:3px solid var(--fest,#e66f1f)}
html[data-fest] .topbar{box-shadow:inset 0 -3px 0 var(--fest,#e66f1f)}
.fest21{background:var(--fest,#e66f1f);color:#fff;font-weight:800;font-size:11px;border-radius:999px;padding:2px 10px;margin-left:10px;text-shadow:0 1px 1px rgba(0,0,0,.35)}
/* ---- reading mode ---- */
html.read21 .topbar,html.read21 .footer-signup,html.read21 .a11y-tools,html.read21 .hero-pattern,html.read21 .cta-strip,html.read21 .support-section{display:none!important}
html.read21 main .container,html.read21 .article-wrap{max-width:760px!important;width:calc(100% - 32px)!important;margin-left:auto;margin-right:auto}
html.read21 main{font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.85}
html.read21 main p,html.read21 main li{max-width:68ch}
html.read21 .page-hero,html.read21 .article-hero{padding:34px 0}
html.read21 .page-hero h1,html.read21 .article-hero h1{font-size:clamp(30px,5vw,44px)}
html.read21 .grid,html.read21 .cards,html.read21 .feature-grid,html.read21 .news-grid{grid-template-columns:1fr!important}
.theme21-read[aria-checked="true"]{border-color:var(--saffron)}
