/* Shared palette and typography from the RealSkills homepage. */
:root {color-scheme:light;--bg:#fbf9fd;--bg-2:#f4eff8;--panel:#fff;--panel-2:#f4eff8;--text:#1d1526;--muted:#695f72;--soft:#695f72;--pink:#5b347c;--pink-2:#734796;--violet:#5b347c;--purple:#5b347c;--acid:#177b76;--cyan:#177b76;--line:#e4dce9;--line-strong:#b9adc2;--shadow:0 8px 24px rgba(29,21,38,.06)}
body:not(.ngo-home) {background:#fbf9fd;color:#1d1526;font-family:Inter,Arial,sans-serif;line-height:1.6;--knowledge-line:#e4dce9}
body:not(.ngo-home) h1,body:not(.ngo-home) h2,body:not(.ngo-home) h3 {font-family:Unbounded,Inter,sans-serif;letter-spacing:0;line-height:1.2;overflow-wrap:anywhere}
body:not(.ngo-home) h1 {font-size:46px}
body:not(.ngo-home) h2 {font-size:36px}
body:not(.ngo-home) h3 {font-size:21px}
.ticker {display:none}
.topbar,.grant-header {background:#fbf9fd;color:#1d1526;border-color:#e4dce9;flex-wrap:wrap;gap:18px;padding:20px 4%;position:relative}
.nav {flex-wrap:wrap;gap:18px}
.nav a,.grant-header nav a,.nav-link,.brand,.grant-brand {color:#695f72;letter-spacing:0;text-transform:none}
.brand,.grant-brand {color:#1d1526}
.nav a.active,.nav a:hover,.nav-link:hover {color:#5b347c}
.language-switch {color:#5b347c;border-color:#e4dce9}
.hero,.catalog-section,.section,.knowledge-hero,.grant-intro,.grant-band,.grant-contact,.grant-video,.grant-home,.mental-health-page,.knowledge-page {background:#fbf9fd;color:#1d1526}
.hero-copy p,.lead,.knowledge-hero-copy,.knowledge-section p,.knowledge-section li,.grant-lead,.grant-copy,.grant-contact-note {color:#695f72}
.career-hero-visual::after {background:linear-gradient(90deg,rgba(251,249,253,.97),rgba(251,249,253,.7))}
.hero-copy h1 span,.eyebrow,.section-label,.grant-kicker,.knowledge-eyebrow,.knowledge-status,.card-top b,.info-block b,.fact,.carousel-position {color:#5b347c!important}
.profession-card,.slide-card,.detail-panel,.info-block.highlight,.modal-card,.modal-content,.modal-panel,.summary article,.content-card,.challenge,.mental-grid article,.grant-contact-list a,.grant-intro aside {background:#fff;color:#1d1526;border-color:#e4dce9;border-radius:8px;box-shadow:none}
.slide-card p,.slide-card h3,.profession-card p,.profession-card h3,.profession-card strong,.detail-body,.mental-grid p,.mental-grid h3,.grant-contact-list strong,.grant-intro aside p {color:#1d1526}
.button,.button.primary,.grant-button,.insta,.icon-button,.slide-card button,.profile-link,.source-links a {background:#5b347c;color:#fff;border-radius:6px;letter-spacing:0;text-transform:none}
.button.secondary {background:transparent;color:#5b347c;border:1px solid #b9adc2}
input,.search-box,.search-shell,.preference-panel,.filter-panel {background:#fff;color:#1d1526;border-color:#b9adc2}
input::placeholder {color:#695f72}
.chip,.pref-chip,.filter-chip {background:#fff;color:#5b347c;border-color:#b9adc2}
.chip.active,.pref-chip.active,.filter-chip.active {background:#5b347c;color:#fff}
.footer,.grant-footer,.mobile-nav {background:#f4eff8;color:#695f72;border-color:#e4dce9}
.mobile-nav a {color:#695f72;letter-spacing:0}
.mobile-nav a.active {background:#5b347c;color:#fff}
.hero-image {background:var(--hero-image) center / cover}
.library-section {padding:56px 0;border-bottom:1px solid #e4dce9}
.library-section>p {max-width:800px}
.library-nav {display:flex;flex-wrap:wrap;gap:14px 24px;margin-top:28px}
.library-nav a,.text-link {color:#5b347c;text-decoration:underline;text-underline-offset:4px;font-weight:700}
.resource-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}
.resource-card {border:1px solid #e4dce9;border-radius:8px;overflow:hidden;background:white}
.resource-card img {width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.resource-card a {display:block;height:100%}
.resource-card a>div {padding:20px}
.resource-card span,.resource-card strong {color:#5b347c;font-size:14px}
.resource-card h3 {margin:12px 0}
.resource-card p {font-size:16px;color:#695f72}
.reading-guide {max-width:820px;padding:36px 0;border-bottom:1px solid #e4dce9}
.reading-guide li+li {margin-top:12px}
[id] {scroll-margin-top:30px}
.knowledge-hero {padding:64px 0;background:#f4eff8}
.knowledge-hero-copy {font-size:19px;line-height:1.6}
.hero-panel,.preference-card,.catalog-empty,.filters,.catalog-main,.cta-panel,.grant-project {background:#fff;color:#1d1526;border-radius:8px;box-shadow:none}
.preference-picker {background:transparent;border:0;padding:0;box-shadow:none;border-radius:0}
.hero-search input,.compact-search input {background:#fff;color:#1d1526;border-color:#b9adc2;border-radius:6px}
.hero-search span,.compact-search span,.panel-list b,.panel-list a,.panel-list a:hover,.chips span,.preference-card b,.catalog-toolbar b,.catalog-empty b,.cta-steps li,.grant-text-link,.grant-facts dd,.grant-video figcaption {color:#695f72;letter-spacing:0;text-transform:none}
.panel-list a,.chips span {background:#f4eff8;border-color:#e4dce9}
.preference-card button,.episode-tabs button,.audience-tabs button,.reset-catalog,.catalog-empty button {background:#fff;color:#5b347c;border-color:#b9adc2}
.preference-card button.active,.filter-chip[aria-pressed="true"],.episode-tabs button.active,.audience-tabs button.active,.reset-catalog:hover,.catalog-empty button:hover,.profile-link:hover {background:#5b347c;color:#fff}
.intro-strip,.reasons,.format,.episodes,.founders,.done-section,.organization-section,.reports,.data-proof,.partner-cta,.grant-purpose {background:#f4eff8;color:#1d1526}
.grant-button:hover,.button:hover {color:#fff;background:#734796}
.button.secondary:hover {color:#fff}
.orb {display:none}
.brand-orb {background:radial-gradient(circle at 32% 28%,#ffd6f0 0 10%,#ff5fb5 30%,#7233ff 72%)}
.topbar>.insta {display:none}
.eyebrow,.section-label,.chips span,.card-top span,.slide-card span,.footer {letter-spacing:0;text-transform:none}
.journey {background:#fbf9fd}
.journey-steps a,.reason-grid article {background:#fff;color:#1d1526;border-radius:8px}
.reason-grid b {color:#1d1526}
.slide-card {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:0 20px 20px;min-height:0}
.slide-card::after {display:none}
.slide-card img {position:static;z-index:auto;width:calc(100% + 40px);max-width:none;height:220px;margin:0 -20px 20px;opacity:1;object-fit:cover}
.slide-card button {margin-top:auto}
.slide-card p {margin-bottom:20px}
.progress-track {background:#e4dce9}
.icon-button:hover {background:#734796;color:white}
.modal-close {background:#5b347c;color:white}
.modal-hero {color:white}
.modal-hero p,.modal-hero .eyebrow {color:white!important}
.modal-info-grid article {background:#f4eff8;border-radius:8px}
.done-stats span,.team-note b {color:#695f72;letter-spacing:0}
.founder-grid article,.done-stats article,.source-grid a {background:#fff;border-radius:8px}
.org-card,.org-facts article,.doc-grid a,.doc-grid article,.policy-grid a {background:#fff;color:#1d1526;border-radius:8px}
.org-facts b,.doc-grid b,.policy-grid b {color:#1d1526}
.policy-grid span {background:#177b76;color:white}
.chips b {color:#126d68}
.done-stats article {min-width:0;container-type:inline-size}
.done-stats b {font-size:28px;font-size:min(28px,26cqw);line-height:1.15;white-space:nowrap}
@media(max-width:820px){body:not(.ngo-home) h1,body:not(.ngo-home) h2{font-size:32px}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar,.grant-header{position:static}.nav{gap:12px}.knowledge-shell{width:calc(100% - 32px)}}
@media(max-width:520px){.resource-grid{grid-template-columns:1fr}.library-section{padding:36px 0}.knowledge-hero{padding:40px 0}.nav a{font-size:13px}body:not(.ngo-home) h3{font-size:20px}}
