/* Boddhi Tree Foundation. Colours taken from the main site: green #28A228, yellow #FFDF5E, magenta #BB3A8E, dark overlay #333356. */
:root {
  --green: #28A228;
  --green-dark: #1E7B1E;
  --green-deep: #135C17;
  --yellow: #FFDF5E;
  --yellow-dark: #F2C81F;
  --magenta: #BB3A8E;
  --navy: #333356;
  --navy-deep: #23233D;
  --ink: #1F2433;
  --muted: #5B6172;
  --bg: #FFFFFF;
  --soft: #F3F8F0;
  --line: #E1E7DD;
  --error: #B42318;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 36, 51, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--muted); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--magenta); margin-bottom: .6em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-dark); color: var(--ink); }
.btn-green { background: var(--green-dark); color: #fff; }
.btn-green:hover { background: var(--green-deep); color: #fff; }
.btn-outline { border-color: var(--green-dark); color: var(--green-dark); background: transparent; }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; }
.btn-row.center { justify-content: center; }
.link-arrow { font-weight: 800; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* Top bar and header */
.topbar { background: var(--navy); color: #fff; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-in { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.topbar-social { margin-left: auto; display: flex; gap: 4px; }
@media (max-width: 600px) { .topbar-social { display: none; } }
.social { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; color: inherit; }
.social:hover { background: rgba(255,255,255,.15); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { flex: none; max-width: 230px; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-deep); font-weight: 800; font-size: 1.1rem; line-height: 1.15; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.nav-toggle { margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; display: none; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
.site-nav { margin-left: auto; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a, .sub-toggle { display: block; padding: 10px 9px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .93rem; white-space: nowrap; border-radius: 8px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.site-nav a:hover, .sub-toggle:hover { color: var(--green-dark); background: var(--soft); }
.site-nav a[aria-current="page"] { color: var(--green-dark); box-shadow: inset 0 -3px 0 var(--green); }
.sub-toggle::after { content: ""; display: inline-block; margin-left: 6px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .sub-toggle[aria-expanded="true"] + .sub { display: block; }
.nav-cta .btn { padding: 10px 18px; margin-left: 6px; color: var(--ink); }
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 76px); overflow: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .has-sub:hover .sub { display: none; }
  .has-sub:hover .sub-toggle[aria-expanded="true"] + .sub, .sub-toggle[aria-expanded="true"] + .sub { display: block; }
  .sub-toggle { width: 100%; text-align: left; }
  .nav-cta .btn { margin: 8px 0 0; width: 100%; }
}

/* Hero */
.hero { background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 45%, var(--green-deep) 100%); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; }
.hero h1::first-line { color: var(--yellow); }
.hero .eyebrow { color: var(--yellow); }
.hero-lead { font-size: 1.2rem; max-width: 36ch; color: #E9ECF5; }
.tree { width: 100%; max-width: 320px; margin-left: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.25)); }
@media (max-width: 800px) { .hero-in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; } .hero-art { display: none; } }

/* Stats */
.stats { background: var(--green-dark); color: #fff; padding: 36px 0 24px; }
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.stat-grid li { border-left: 4px solid var(--yellow); padding-left: 14px; }
.stat-grid b { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-grid span { font-size: .92rem; color: #E6F3E6; }
.as-of { margin: 18px 0 0; font-size: .85rem; color: #D6EBD6; }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2 { color: #fff; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.page-head { background: linear-gradient(120deg, var(--navy) 0%, var(--green-deep) 100%); color: #fff; padding: 56px 0 44px; }
.page-head h1 { color: #fff; margin: 0; }
.page-head .meta, .page-head .meta a { color: #D8E6D8; }
.page-lead { font-size: 1.15rem; margin: .6em 0 0; color: #E9ECF5; max-width: 60ch; }

.mv { display: grid; gap: 14px; }
.mv-card { border-radius: var(--radius); padding: 20px 22px; }
.mv-card h3 { margin-bottom: .3em; }
.mv-card p, .mv-card ul { margin: 0; }
.mv-card ul { padding-left: 1.2em; }
.mv-green { background: #E4F3E4; border-left: 6px solid var(--green); }
.mv-magenta { background: #F8E6F1; border-left: 6px solid var(--magenta); }
.mv-yellow { background: #FFF7D6; border-left: 6px solid var(--yellow-dark); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { color: var(--green-deep); }
.help-card { display: block; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px; color: #fff; text-decoration: none; transition: background .15s; }
.help-card:hover { background: rgba(255,255,255,.13); color: #fff; }
.help-card h3 { color: var(--yellow); }
.help-card .link-arrow { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Highlights: Articles and News */
.story-filters { background: var(--soft); border-bottom: 1px solid var(--line); padding: 22px 0; }
.story-tabs, .story-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.story-tabs a { padding: 8px 24px; border-radius: 999px; border: 2px solid var(--green); color: var(--green-dark); font-weight: 800; text-decoration: none; }
.story-tabs a:hover { background: #fff; }
.story-tabs a[aria-current], .story-tabs a.is-on { background: var(--green); color: #fff; }
.story-chips { margin-top: 14px; }
.story-chips a { padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .88rem; text-decoration: none; }
.story-chips a:hover { border-color: var(--green); }
.story-chips a[aria-current] { background: var(--yellow); border-color: var(--yellow-dark); font-weight: 800; }
.story-search { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.story-search input { width: 340px; max-width: 100%; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.story-search .btn { padding: 9px 18px; }
.story-section { padding-top: 36px; }
.story-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 40px 0 0; }
.story-sec-head h2 { margin: 0; font-size: 1.4rem; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin: 18px 0 0; }
.story-count { color: var(--muted); margin: 0; }
.story-all { text-align: center; margin: 36px 0 0; }
.story-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.story-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(31, 36, 51, .13); }
.story-media { display: block; height: 170px; background: var(--soft); }
.story-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%); color: #fff; font-weight: 800; font-size: .9rem; text-align: center; padding: 0 16px; }
.story-ph img { width: 52px; height: 52px; object-fit: contain; opacity: .95; }
.story-body { display: flex; flex-direction: column; flex: 1; padding: 14px 18px 16px; }
.story-badge { position: absolute; left: 12px; top: 12px; margin: 0; padding: 3px 11px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--green-dark); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.story-badge.is-news { background: var(--magenta); }
.story-card h3 { margin: 4px 0 6px; font-size: 1.07rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-card h3 a { color: var(--ink); text-decoration: none; }
.story-card h3 a::after { content: ""; position: absolute; inset: 0; } /* the whole card opens the story */
.story-card h3 a:hover { color: var(--green-dark); }
.story-excerpt { margin: 0 0 12px; color: var(--muted); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.story-by { display: flex; gap: 8px; align-items: center; margin: 0; font-size: .82rem; line-height: 1.3; min-width: 0; }
.nowrap { white-space: nowrap; }
.story-by small { display: block; color: var(--muted); font-size: .78rem; }
.story-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: .78rem; }
.story-stats { display: flex; gap: 10px; margin: 0; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.story-stats > span { display: inline-flex; align-items: center; gap: 4px; }
.story-stats svg { fill: currentColor; }
.story-hearts { color: var(--magenta); }
.story-featured { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--navy); border: 0; color: #fff; }
.story-featured .story-media { height: 360px; }
.story-featured .story-body { padding: 28px 30px; }
.story-featured .story-badge { position: static; align-self: flex-start; margin-bottom: 8px; }
.story-label { margin: 0 0 8px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.story-featured h3 { font-size: 1.6rem; -webkit-line-clamp: 3; }
.story-featured h3 a, .story-featured h3 a:hover { color: #fff; }
.story-featured .story-excerpt { color: #DFE0EA; font-size: 1rem; -webkit-line-clamp: 3; }
.story-featured .story-foot { border-color: rgba(255, 255, 255, .18); }
.story-featured .story-by small, .story-featured .story-stats { color: #DFE0EA; }
.story-featured .story-hearts { color: #FF9ED6; }
@media (max-width: 800px) {
  .story-featured { grid-template-columns: 1fr; }
  .story-featured .story-media { height: 210px; }
  .story-featured .story-body { padding: 20px; }
  .story-featured h3 { font-size: 1.3rem; }
}
@media (max-width: 600px) {
  .story-tabs, .story-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .story-tabs a, .story-chips a { flex: none; }
  .story-media { height: 150px; }
}
.meta { font-size: .85rem; color: var(--muted); margin-bottom: .4em; }
.quote { margin: 0; background: var(--soft); border-radius: var(--radius); padding: 24px; }
.quote blockquote { margin: 0 0 12px; font-size: 1.05rem; }

.partner-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.partner img { max-height: 80px; width: auto; margin: 0 auto 12px; object-fit: contain; }
.partner-name { display: block; font-weight: 800; font-size: 1.15rem; color: var(--green-deep); margin-bottom: 8px; }
.partner p { font-size: .95rem; color: var(--muted); }

.yt { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #000; }
.yt-play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; }
.yt-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; background: #E62117; border-radius: 14px; }
.yt-icon::after { content: ""; position: absolute; left: 31px; top: 16px; border: 11px solid transparent; border-left: 18px solid #fff; }
.yt iframe { width: 100%; height: 100%; border: 0; }

.trust { background: var(--yellow); padding: 16px 0; font-weight: 700; font-size: .95rem; text-align: center; }
.trust p { margin: 0; }
.trust a { color: var(--ink); }

/* Content */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; color: var(--green-deep); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: 10px; margin: 1em 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 10px; }
.prose .lead { font-size: 1.2rem; font-weight: 600; }
.prose blockquote { border-left: 4px solid var(--magenta); margin: 1em 0; padding: 4px 0 4px 18px; font-size: 1.1rem; }
.cover { border-radius: var(--radius); margin-bottom: 28px; width: 100%; }
.share-box { margin-top: 40px; padding: 24px; background: var(--soft); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.share-box p { margin: 0; }
.empty { padding: 28px; background: var(--soft); border-radius: var(--radius); text-align: center; color: var(--muted); }

.timeline { list-style: none; margin: 24px 0 0; padding: 0 0 0 28px; border-left: 3px solid var(--green); }
.timeline li { position: relative; padding: 0 0 28px 8px; }
.timeline li::before { content: ""; position: absolute; left: -38px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--green-dark); }
.tl-when { display: inline-block; font-weight: 800; color: var(--magenta); font-size: .9rem; margin-bottom: 2px; }
.timeline h3 { margin-bottom: .2em; }
.timeline p { margin: 0; color: var(--muted); }

.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin: 20px 0 44px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.person img, .avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.avatar { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; font-size: 3rem; font-weight: 800; }
.person .role { color: var(--magenta); font-weight: 700; margin: 0 0 .6em; }
.person details { text-align: left; margin-top: 8px; }
.person summary { cursor: pointer; font-weight: 700; color: var(--green-dark); text-align: center; }
.person .prose { font-size: .95rem; margin-top: 10px; }
.person-links { display: flex; justify-content: center; gap: 10px; margin: 12px 0 0; }
.profile-icon { --brand: var(--green-dark); display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: #fff; transition: transform .2s, box-shadow .2s; }
.profile-icon svg { transition: transform .2s; }
.profile-icon:hover, .profile-icon:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.22); }
.profile-icon:hover svg, .profile-icon:focus-visible svg { transform: scale(1.12); }
.profile-linkedin { --brand: #0A66C2; }
.profile-instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.profile-facebook { --brand: #1877F2; }
.profile-twitter { --brand: #000; }
.profile-youtube { --brand: #FF0000; }
.profile-whatsapp { --brand: #25D366; }
.profile-email { --brand: #55557F; }
.share-links a.profile-icon { padding: 0; border: 0; color: #fff; background: var(--brand); }
.share-links a.profile-instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.share-links a.profile-icon:hover, .share-links a.profile-icon:focus-visible { color: #fff; background: var(--brand); }

.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table tr:last-child > * { border-bottom: 0; }
.table tbody th { width: 40%; background: #FAFCF9; }

/* Gallery */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips a { padding: 7px 14px; border-radius: 999px; background: var(--soft); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; border: 1px solid var(--line); }
.chips a span { color: var(--muted); font-weight: 500; }
.chips a[aria-current="page"] { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.chips a[aria-current="page"] span { color: #D6EBD6; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--soft); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-grid a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(15, 17, 30, .92); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; color: #fff; }
.lightbox img { max-width: 92vw; max-height: 80vh; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { margin-top: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; cursor: pointer; line-height: 1; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.pager a { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.pager a[aria-current="page"] { background: var(--green-dark); color: #fff; }

/* Forms */
.form { display: grid; gap: 4px; }
.field { margin-bottom: 14px; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #C9D2C5; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-dark); outline: 3px solid rgba(40, 162, 40, .2); }
.field.check label { font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.field.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--green-dark); }
.inline { display: flex !important; gap: 8px; align-items: center; font-weight: 500 !important; }
.inline input { accent-color: var(--green-dark); width: 18px; height: 18px; }
.req { color: var(--error); }
.hint { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.error { color: var(--error); font-weight: 600; font-size: .9rem; margin: 6px 0 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.alert { padding: 14px 18px; border-radius: 10px; margin: 18px 0; font-weight: 600; }
.alert-success { background: #E4F3E4; color: var(--green-deep); }
.alert-error { background: #FDECEC; color: #8A1C12; }
.callout { background: var(--soft); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.callout h2, .callout h3 { color: var(--green-deep); }
.callout p:last-child { margin: 0; }
.contact-note { margin-top: -6px; padding: 10px 14px; border-left: 4px solid var(--green, #28A228); background: var(--soft); border-radius: 0 8px 8px 0; font-size: .95rem; }
.callout-warn { background: #FFF7D6; }
.amounts { border: 0; padding: 0; margin: 0 0 6px; }
.amounts legend { font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chip-amt { padding: 10px 18px; border-radius: 999px; border: 2px solid var(--green-dark); background: #fff; color: var(--green-dark); font: 800 1rem "Manrope", sans-serif; cursor: pointer; }
.chip-amt.on, .chip-amt:hover { background: var(--green-dark); color: #fff; }
.secure { margin-top: 10px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #D5D8E5; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-top: 52px; padding-bottom: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-weight: 800; color: var(--yellow); font-size: 1.2rem; }
.footer-h { font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.footer-links, .footer-reg { list-style: none; margin: 0 0 16px; padding: 0; }
.footer-links li, .footer-reg li { margin-bottom: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-reg { font-size: .88rem; }
address { font-style: normal; margin-bottom: 1em; }
.footer-social { display: flex; gap: 6px; margin-bottom: 18px; }
.footer-social .social { background: rgba(255,255,255,.1); }
.footer-social.dark .social { background: var(--soft); color: var(--green-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: .85rem; }
.site-nav .nav-cta .btn, .site-footer .btn-yellow { background: var(--yellow); color: var(--ink); }
.site-nav .nav-cta .btn:hover, .site-footer .btn-yellow:hover { background: var(--yellow-dark); color: var(--ink); }
/* Logo image carries the name; certificates list; UPI QR */
.brand { max-width: none; }
.brand img { width: auto; height: 70px; }
@media (max-width: 600px) { .brand img { height: 56px; } }
.doc-list { padding-left: 1.2rem; }
.doc-list li { margin: .5rem 0; }
.callout.upi img { display: block; width: 100%; max-width: 250px; height: auto; margin: .5rem auto; border-radius: 8px; }
@media (max-width: 600px) {
  .table-facts { table-layout: fixed; width: 100%; }
  .table-facts th[scope="row"] { width: 38%; }
  .table-facts td { overflow-wrap: anywhere; }
}
/* New logo set (30 Sep 2026): horizontal logo in header, white icon in footer */
.brand img { height: 64px; width: auto; }
@media (max-width: 600px) { .brand img { height: 52px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 54px; width: auto; }
/* Full colour logo confirmed for the header (1 Oct 2026) */
.header-in { padding-top: 6px; padding-bottom: 6px; }
.brand img { height: 84px; width: auto; }
@media (max-width: 600px) { .brand img { height: 64px; } }
.brand img { height: 96px; }
@media (max-width: 600px) { .brand img { height: 72px; } }

/* ---- Change list of 1 October 2026 ---- */
/* Split hero: photo frame on the left, text on the right */
.hero-in { grid-template-columns: .8fr 1.2fr; }
.hero-photo { margin: 0; }
.hero-photo > img, .hero-photo-empty { display: block; width: 100%; aspect-ratio: 7 / 8; object-fit: cover; border-radius: 24px; border: 6px solid rgba(255,255,255,.9); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.hero-photo-empty { background: #fff; display: grid; place-items: center; }
.hero-photo-empty img { width: 70%; height: auto; }
@media (max-width: 800px) { .hero-photo { max-width: 320px; } .hero-photo > img, .hero-photo-empty { aspect-ratio: 4 / 3; } }

/* What we believe in */
.value-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; border-top: 6px solid var(--green); box-shadow: 0 4px 18px rgba(31,36,51,.08); }
.value-card h3 { margin: 12px 0 0; }
.value-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #E8F5E8; color: var(--green-deep); }
.value-1 { border-top-color: var(--yellow); } .value-1 .value-icon { background: #FFF7D6; color: #8A6A00; }
.value-2 { border-top-color: var(--magenta); } .value-2 .value-icon { background: #F8E6F1; color: var(--magenta); }
.values-section { background: var(--soft); }

/* Video gallery */
.video-feature { max-width: 860px; margin: 0 auto; }
.video-title { font-weight: 700; margin: 10px 0 0; }
.video-grid { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.video-thumb { all: unset; cursor: pointer; display: block; width: 100%; }
.video-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.video-thumb > span:last-child { display: block; margin-top: 8px; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.video-thumb:hover > span:last-child, .video-thumb:focus-visible > span:last-child { color: var(--green-deep); text-decoration: underline; }
.video-thumb:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 10px; }
@media (max-width: 800px) { .hero-in { grid-template-columns: 1fr; } }

/* Forms: success box, notes */
.form-sent { background: #E8F5E8; border: 2px solid var(--green); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.form-sent h3 { margin: 8px 0 4px; color: var(--green-deep); }
.form-sent-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.6rem; font-weight: 800; }
.form-note { background: #FFF7D6; border-left: 5px solid var(--yellow); padding: 10px 14px; border-radius: 8px; font-size: .95rem; }
.field input[type=file] { padding: 8px; background: #fff; }

/* Collaborate: who can partner */
.audience-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.audience { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 4px 18px rgba(31,36,51,.07); border-top: 5px solid var(--green); }
.audience:nth-child(2) { border-top-color: var(--yellow); } .audience:nth-child(3) { border-top-color: var(--navy); }
.audience h3 { margin: 0 0 6px; }
/* Each card opens its form below; the chosen card is filled with its colour */
.audience { --acc: var(--green); --acc-ink: #fff; display: flex; flex-direction: column; position: relative; transition: transform .15s, box-shadow .15s; }
.audience:nth-child(2) { --acc: var(--yellow); --acc-ink: var(--ink); } .audience:nth-child(3) { --acc: var(--navy); }

.audience p { flex: 1; }
.audience-btn { align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 18px; line-height: 1.25; border-radius: 999px; border: 2px solid var(--acc); color: var(--ink); font-weight: 800; text-decoration: none; background: #fff; transition: background .15s, color .15s; }
.audience-btn::after { content: "→"; }
.audience-btn[aria-expanded]::after { content: "▾"; }
.audience-btn:hover, .audience-btn:focus-visible { background: var(--acc); color: var(--acc-ink); }
.audience.is-on { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(31,36,51,.14); outline: 3px solid var(--acc); outline-offset: -1px; }
.audience.is-on .audience-btn { background: var(--acc); color: var(--acc-ink); }
.audience.is-on .audience-btn::after { content: "▴"; }
.collab-forms { max-width: 820px; margin: 28px auto 0; scroll-margin-top: 90px; }
.collab-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 28px 32px; border-top: 6px solid var(--green); scroll-margin-top: 90px; }
.collab-panel.panel-join { border-top-color: var(--yellow); } .collab-panel.panel-join.is-intern { border-top-color: var(--magenta); } .collab-panel.panel-partner { border-top-color: var(--navy); }
/* Volunteer / Intern: the "I am applying as" choice comes first and stands out, because it decides which questions follow */
.collab-panel.panel-join fieldset.dyn-field:has(input[name="join_as"]) { background: #FFF9DB; border: 2px solid var(--yellow); border-radius: var(--radius); padding: 14px 18px; }
.collab-panel.panel-join.is-intern fieldset.dyn-field:has(input[name="join_as"]) { background: #FBEFF6; border-color: var(--magenta); }
.collab-panel.panel-join fieldset.dyn-field:has(input[name="join_as"]) .choice { font-weight: 700; font-size: 1.05rem; }
.collab-panel > :first-child, .collab-panel .dyn-form-wrap > :first-child { margin-top: 0; }
@media (max-width: 600px) { .collab-panel { padding: 20px 16px 24px; } }
.partner-email { margin: 26px 0 0; text-align: center; font-size: 1.25rem; font-weight: 700; }
.partner-email a { color: var(--green-deep); word-break: break-word; }

/* Footer privacy note */
.privacy-note { font-size: .88rem; color: #C9CCDA; max-width: 90ch; margin: 0 0 8px; }

/* Donate: impact tiers, stats, bank box, tax badge */
.donate-top { padding-bottom: 0; }
.tier-grid { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.tier { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.tier b { font-size: 2rem; font-weight: 800; color: var(--green-deep); line-height: 1.1; }
.tier p { margin: 0; flex: 1; }
.tier .btn { align-self: flex-start; }
.tier-custom { background: var(--soft); border-style: dashed; }
.tier-custom b { font-size: 1.5rem; }
.donate-stats { background: var(--green-dark); color: #fff; padding: 24px; border-radius: var(--radius); }
.bank-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 10px; }
.bank-dl dt { font-weight: 700; }
.bank-dl dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.tax-badge { border-left: 6px solid var(--green); }
.vt-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #23233D; border-radius: 10px; overflow: hidden; }
.vt-img img { position: absolute; inset: 0; height: 100%; border-radius: 0; }
.vt-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 32px; margin: -16px 0 0 -23px; background: #E62117; border-radius: 9px; }
.vt-play::after { content: ""; position: absolute; left: 18px; top: 9px; border: 7px solid transparent; border-left: 12px solid #fff; }
.partner img { display: block; height: 84px; max-width: 100%; }

/* Hero: text on the left, photo slideshow on the right (1 Oct 2026) */
.hero-in { grid-template-columns: 1.15fr .85fr; }
.hero-photo { position: relative; }
.hero-photo .slides { position: relative; aspect-ratio: 7 / 8; border-radius: 24px; overflow: hidden; border: 6px solid rgba(255,255,255,.92); box-shadow: 0 18px 40px rgba(0,0,0,.28); background: #fff; }
.hero-photo .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.hero-photo .slide.on { opacity: 1; }
.slide-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.slide-dots .dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slide-dots .dot.on { background: var(--yellow); border-color: var(--yellow); }
.slide-pause { margin-left: 6px; background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-size: .7rem; padding: 3px 9px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .hero-photo .slide { transition: none; } }
@media (max-width: 800px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; width: 100%; margin: 8px auto 0; }
  .hero-photo .slides, .hero-photo-empty { aspect-ratio: 7 / 8; }
}

/* Impact numbers as highlighted cards (1 Oct 2026) */
.stat-cards { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.stat-cards .stat-card { padding: 22px 18px 20px; border: 0; border-top: 6px solid var(--yellow); border-radius: 16px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: background-color .25s ease, color .25s ease, transform .2s ease, box-shadow .2s ease; }
.stat-cards b { font-size: 2.4rem; color: var(--green-deep); transition: color .25s ease; }
.stat-cards span:last-child { display: block; margin-top: 4px; line-height: 1.35; color: #4A4A63; transition: color .25s ease; }
.stat-grid .stat-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #E8F5E8; color: var(--green-deep); margin-bottom: 10px; transition: background-color .25s ease; }
/* The card under the pointer (or tapped on a phone) turns green */
.stat-cards .stat-card:hover { background: var(--green-deep); transform: translateY(-4px); box-shadow: 0 0 0 3px var(--yellow), 0 14px 28px rgba(0,0,0,.28); }
.stat-cards .stat-card:hover b { color: #fff; }
.stat-cards .stat-card:hover span:last-child { color: #E6F3E6; }
.stat-cards .stat-card:hover .stat-icon { background: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .stat-cards .stat-card, .stat-cards b, .stat-grid .stat-icon { transition: none; } .stat-cards .stat-card:hover { transform: none; } }

/* "How we create change" flip cards: photo on the front, turns to the text on hover, focus or tap */
.section-intro { max-width: 640px; color: #4A4A63; font-size: 1.05rem; margin-top: -.3em; }
.flip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 28px 0; }
.flip { perspective: 1200px; height: 400px; border-radius: 20px; outline: none; cursor: pointer; }
.flip-in { position: relative; height: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.flip:hover .flip-in, .flip.flipped .flip-in { transform: rotateY(180deg); }
.flip:focus-visible { box-shadow: 0 0 0 4px var(--yellow); }
.flip-face { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 14px 30px rgba(31,36,51,.18); }
.flip-front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flip-cap { position: absolute; inset: auto 0 0 0; padding: 70px 22px 20px; color: #fff; }
.flip-green .flip-cap { background: linear-gradient(to top, rgba(19,92,23,.96) 45%, rgba(19,92,23,0)); }
.flip-magenta .flip-cap { background: linear-gradient(to top, rgba(140,36,104,.96) 45%, rgba(140,36,104,0)); }
.flip-navy .flip-cap { background: linear-gradient(to top, rgba(35,35,61,.96) 45%, rgba(35,35,61,0)); }
.flip-icon { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--yellow); color: var(--green-deep); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.flip-cap .flip-icon { top: -6px; }
.flip-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 4px; }
.flip h3 { color: #fff; font-size: 1.45rem; margin: 0 0 6px; }
.flip-hint { font-size: .82rem; opacity: .85; }
.flip-hint::before { content: "\21BB  "; }
.flip-back { transform: rotateY(180deg); padding: 30px 26px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.flip-green .flip-back { background: linear-gradient(145deg, #28A228, #135C17); }
.flip-magenta .flip-back { background: linear-gradient(145deg, #BB3A8E, #7E1F5E); }
.flip-navy .flip-back { background: linear-gradient(145deg, #333356, #1A1A2E); }
.flip-back p { color: #fff; line-height: 1.6; margin: 6px 0 18px; }
.flip-chip { align-self: flex-start; background: var(--yellow); color: #23233D; font-weight: 800; font-size: .9rem; padding: 7px 14px; border-radius: 999px; }
@media (hover: none) { .flip-hint { font-size: 0; } .flip-hint::before { content: "\21BB  Tap to read more"; font-size: .82rem; } }
@media (prefers-reduced-motion: reduce) {
  .flip-in { transition: none; transform: none !important; }
  .flip-back { transform: none; opacity: 0; transition: opacity .2s; }
  .flip:hover .flip-back, .flip.flipped .flip-back { opacity: 1; }
}

/* "How you can help": lighter, clearer boxes on the navy band */
.help-card { background: #55557F; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: background .2s, transform .2s; }
.help-card:hover { background: #62628F; transform: translateY(-3px); }

/* Donate page: impact numbers in the same cards as the home page */
.donate-stats.stat-cards { padding: 28px; margin-top: 34px; }

/* Suggested areas for any-amount gifts */
.purpose-chips { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.purpose-chips li { background: #FFF6CC; color: #23233D; border: 1px solid #F0D55A; border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 700; }

/* Latest social posts slider */
.social-feed { position: relative; color: #fff; background:
  radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
  linear-gradient(135deg, #BB3A8E 0%, #7E1F5E 45%, #333356 100%); }
.social-feed h2 { color: #fff; }
.social-feed .eyebrow { color: var(--yellow); }
.social-feed > .wrap > p .link-arrow { color: var(--yellow); }
.social-feed .sp-card { border: 0; box-shadow: 0 16px 34px rgba(0,0,0,.28); }
.sp-slider { position: relative; margin: 26px 0 18px; }
.sp-track { list-style: none; margin: 0; padding: 4px 2px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.sp-track::-webkit-scrollbar { display: none; }
.sp-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(31,36,51,.10); display: flex; flex-direction: column; }
.sp-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sp-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.sp-body h3 { font-size: 1.12rem; margin: 4px 0 6px; color: var(--ink); }
.sp-body p { color: #4A4A63; font-size: .95rem; margin: 0 0 14px; }
.sp-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.sp-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 800; color: #fff; padding: 4px 10px; border-radius: 999px; text-decoration: none; }
a.sp-tag:hover { color: #fff; filter: brightness(1.1); }
.sp-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.sp-facebook { background: #1877F2; }
.sp-twitter { background: #111; }
.sp-linkedin { background: #0A66C2; }
.sp-nav { position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--yellow); color: #23233D; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.sp-prev { left: -18px; } .sp-next { right: -18px; }
@media (max-width: 900px) { .sp-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .sp-track { grid-auto-columns: 85%; } .sp-prev { left: -6px; } .sp-next { right: -6px; } }
@media (max-width: 600px) { .sp-nav { display: none; } }

.sp-card video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #23233D; }

/* One-time / monthly switch on the donate form */
.freq-toggle { display: inline-flex; border: 2px solid var(--green-deep); border-radius: 999px; overflow: hidden; }
.freq-toggle label { margin: 0; cursor: pointer; }
.freq-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.freq-toggle span { display: block; padding: 9px 22px; font-weight: 800; color: var(--green-deep); }
.freq-toggle input:checked + span { background: var(--green-deep); color: #fff; }
.freq-toggle input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: -3px; }
.monthly-box form { margin: 14px 0 8px; }

/* Gallery photo highlights slider */
.gallery-show-wrap { padding-bottom: 0; }
.gallery-show { max-width: 980px; margin: 0 auto; }
.gs-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #23233D; box-shadow: 0 14px 34px rgba(35,35,61,.18); }
.gs-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.gs-slide.on { opacity: 1; }
.gs-slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.gs-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(35,35,61,.85)); }
.gs-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #23233D; font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.gs-arrow:hover, .gs-arrow:focus-visible { background: var(--yellow); }
.gs-prev { left: 14px; } .gs-next { right: 14px; }
.gs-count { position: absolute; top: 14px; right: 14px; background: rgba(35,35,61,.75); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 600px) { .gs-frame { aspect-ratio: 4 / 3; } .gs-arrow { width: 38px; height: 38px; font-size: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .gs-slide { transition: none; } }

/* Video playlist: player on the left, scrolling list on the right */
.playlist { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 24px; }
.playlist .video-title { font-size: 1.05rem; }
.pl-side { background: #fff; border: 1px solid #E3E3EC; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.pl-head { padding: 14px 16px; background: #333356; color: #fff; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pl-head .small { color: #E3E3EC; }
.pl-list { list-style: none; margin: 0; padding: 6px; max-height: 420px; overflow-y: auto; scrollbar-width: thin; }
.pl-list .video-thumb { display: grid; grid-template-columns: 18px 120px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; box-sizing: border-box; }
.pl-list .video-thumb:hover { background: #F2F2F7; }
.pl-list .video-thumb.is-playing { background: #E8F5E8; }
.pl-list .video-thumb.is-playing .pl-num { color: var(--green-deep); }
.pl-list .video-thumb.is-playing .pl-num::before { content: "▶"; font-size: .7rem; }
.pl-list .video-thumb.is-playing .pl-num { font-size: 0; }
.pl-list .video-thumb.is-playing .pl-num::before { font-size: .7rem; }
.pl-num { font-size: .8rem; color: #6B6B85; text-align: center; }
.pl-list .vt-img { border-radius: 8px; }
.pl-list .vt-play { transform: scale(.7); }
.pl-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl-title { font-size: .88rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-list .video-thumb > span:last-child { margin-top: 0; font-size: inherit; }
.pl-list .video-thumb:hover > span:last-child, .pl-list .video-thumb:focus-visible > span:last-child { text-decoration: none; }
.pl-list .video-thumb:hover .pl-title { color: var(--green-deep); text-decoration: underline; }
.pl-list .video-thumb:focus-visible { outline-offset: -3px; }
.pl-more { display: block; padding: 13px 16px; border-top: 1px solid #E3E3EC; font-weight: 700; text-align: center; color: #fff; background: #BB3A8E; text-decoration: none; }
.pl-more:hover, .pl-more:focus-visible { background: #7E1F5E; color: #fff; }
@media (max-width: 860px) {
  .playlist { grid-template-columns: 1fr; }
  .pl-list { display: flex; gap: 10px; max-height: none; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 10px; }
  .pl-list li { flex: 0 0 200px; scroll-snap-align: start; }
  .pl-list .video-thumb { grid-template-columns: 1fr; gap: 6px; align-items: start; }
  .pl-num { display: none; }
}
.pl-text .small { font-weight: 400; color: #6B6B85; }

/* Photo slider: category label, pause button and thumbnail strip */
.gallery-show { margin-top: 26px; }
.gs-cat { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 999px; background: var(--yellow); color: #23233D; font-size: .75rem; font-weight: 800; vertical-align: middle; }
.gs-pause { position: absolute; top: 14px; left: 14px; margin: 0; background: rgba(35,35,61,.75); border-color: transparent; font-size: .75rem; padding: 4px 10px; }
.gs-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 6px; scrollbar-width: thin; scroll-behavior: smooth; }
.gs-thumbs .dot { flex: 0 0 92px; width: 92px; height: 62px; border-radius: 8px; border: 3px solid transparent; padding: 0; overflow: hidden; background: #E3E3EC; opacity: .65; transition: opacity .2s; }
.gs-thumbs .dot img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.gs-thumbs .dot:hover, .gs-thumbs .dot:focus-visible { opacity: 1; }
.gs-thumbs .dot.on { border-color: var(--green); opacity: 1; background: #E3E3EC; }
.gallery-grid-head { margin-top: 40px; font-size: 1.3rem; }
.people-photos-head { margin-top: 48px; }
.people-photo-one { display: block; max-width: 760px; width: 100%; margin: 20px auto 0; border-radius: 16px; }
@media (max-width: 600px) { .gs-thumbs .dot { flex-basis: 70px; width: 70px; height: 48px; } }
@media (max-width: 600px) {
  .section .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .section .chips a { flex: 0 0 auto; white-space: nowrap; }
}
.people-group-head { display: flex; align-items: center; gap: 10px; padding-left: 14px; border-left: 5px solid var(--green); font-size: 1.35rem; }
.people-group-head span { font-size: .8rem; font-weight: 700; background: #E8F5E8; color: var(--green-deep); border-radius: 999px; padding: 2px 10px; }

/* Highlights post: like, views, share, previous and next */
.story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 40px; padding-top: 26px; border-top: 1px solid #E3E3EC; }
.like-form { margin: 0; }
.like-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border: 2px solid var(--green); border-radius: 999px; background: #fff; color: var(--green-deep); font: inherit; font-weight: 800; cursor: pointer; transition: background .2s, color .2s; }
.like-btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.like-btn:hover, .like-btn:focus-visible { background: #E8F5E8; }
.like-btn.is-liked { background: var(--magenta); border-color: var(--magenta); color: #fff; cursor: default; }
.like-btn.is-liked svg { fill: currentColor; }
.like-btn:disabled { opacity: 1; }
.story-views { display: inline-flex; align-items: center; gap: 8px; color: #55557F; font-weight: 600; }
.story-views svg { fill: currentColor; }
.share-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share-label { color: #55557F; font-weight: 700; }
.share-links a { padding: 8px 18px; border: 1px solid #DADAE6; border-radius: 999px; color: #333356; font-weight: 700; text-decoration: none; background: #fff; }
.share-links a:hover, .share-links a:focus-visible { border-color: var(--green); color: var(--green-deep); background: #F3FAF3; }
.story-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.story-nav a { display: block; padding: 22px 28px; border: 1px solid #DADAE6; border-radius: 16px; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.story-nav a:hover, .story-nav a:focus-visible { border-color: var(--green); box-shadow: 0 10px 24px rgba(35,35,61,.10); transform: translateY(-2px); }
.story-nav span { display: block; color: var(--magenta); font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.story-nav strong { display: block; color: #23233D; font-size: 1.15rem; line-height: 1.35; }
.story-nav-next { text-align: right; }
@media (max-width: 640px) { .story-nav { grid-template-columns: 1fr; } .story-nav-next { text-align: left; } .story-actions { gap: 14px; } }
.share-links .print-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border: 1px solid #DADAE6; border-radius: 999px; color: #333356; font: inherit; font-weight: 700; background: #fff; cursor: pointer; }
.share-links .print-btn svg { fill: currentColor; }
.share-links .print-btn:hover, .share-links .print-btn:focus-visible { border-color: var(--green); color: var(--green-deep); background: #F3FAF3; }

/* Printing a page: just the content, with the site name and page address */
@media print {
  .skip, .topbar, .site-header, .site-footer, .story-actions, .story-nav, .share-box, .cookie-bar, .wa-float { display: none !important; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  .page-head { background: none !important; color: #000 !important; padding: 0 0 10pt; border-bottom: 2pt solid #28A228; }
  .page-head h1, .page-head .meta, .page-head .meta a { color: #000 !important; }
  .page-head::before { content: "Boddhi Tree Foundation"; display: block; color: #1E7B1E; font-weight: 800; margin-bottom: 6pt; }
  .section { padding: 12pt 0 !important; }
  .wrap { max-width: none !important; padding: 0 !important; }
  .cover { max-height: 9cm; width: auto; max-width: 100%; box-shadow: none; }
  .prose a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; word-break: break-all; }
  img, h2, h3, figure { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
.footer-brand img { height: auto; width: 180px; max-width: 100%; }
/* Footer shows the full logo only (also covers older page templates that add the name as text) */
.footer-brand { font-size: 0; line-height: 0; margin-bottom: 18px; }
.footer-brand img { width: 180px !important; height: auto !important; max-width: 100%; }
/* Raksha asked for the footer logo at 1cm by 1cm (3 October 2026) */
.footer-brand img { width: 1cm !important; height: 1cm !important; object-fit: contain; }
/* Raksha's choice (3 October 2026): logo 2cm by 2cm with the name in yellow capitals beside it */
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; line-height: 1.25; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.footer-brand img { width: 2cm !important; height: 2cm !important; flex: 0 0 2cm; object-fit: contain; }

/* Forms built in Admin > Forms */
.dyn-form-wrap { min-width: 0; }
.dyn-intro { color: var(--muted); }
.draft-banner { background: #FFF7D6; border-left: 5px solid var(--yellow); padding: 10px 14px; border-radius: 8px; font-size: .92rem; }
.dyn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.dyn-grid > * { grid-column: 1 / -1; min-width: 0; }
.dyn-grid > .half { grid-column: auto; }
@media (max-width: 560px) { .dyn-grid > .half { grid-column: 1 / -1; } }
.dyn-section { border: 0; border-top: 2px solid var(--line); padding: 18px 0 0; margin: 10px 0 6px; min-width: 0; }
.dyn-section > legend { font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); padding: 0 10px 0 0; }
.dyn-section-help { margin: 0 0 12px; }
fieldset.dyn-field { min-width: 0; }
.dyn-field .lab { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 700; margin-bottom: 6px; }
.dyn-field .lab label { margin: 0; }
.dyn-field legend .lab { margin-bottom: 0; }
.dyn-field input[type=date], .dyn-field input[type=url] { width: 100%; padding: 12px 14px; border: 1.5px solid #C9D2C5; color: var(--ink); border-radius: 10px; font: inherit; background: #fff; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choice { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; margin: 0 !important; cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--green-dark); margin: 0; }
.same-as { margin-top: 8px !important; font-size: .92rem; }
[data-show-if][hidden] { display: none !important; }
.tip { position: relative; display: inline-flex; }
.tip-btn { width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0; background: var(--navy); color: #fff; font: 800 .74rem/20px "Manrope", system-ui, sans-serif; cursor: help; }
.tip-btn:hover, .tip-btn:focus-visible { background: var(--magenta); }
.tip-text { position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%); width: max-content; max-width: min(290px, 78vw);
  background: var(--navy-deep); color: #fff; font-weight: 500; font-size: .85rem; line-height: 1.45; padding: 9px 12px; border-radius: 9px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transition: opacity .12s; z-index: 20; pointer-events: none; text-transform: none; letter-spacing: 0; }
.tip-text::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--navy-deep); }
.tip:hover .tip-text, .tip:focus-within .tip-text, .tip.open .tip-text { opacity: 1; visibility: visible; }
.dyn-field .lab { position: relative; }
@media (max-width: 700px) {
  .dyn-field .tip { position: static; }
  .dyn-field .tip-text { left: 0; transform: none; max-width: 100%; }
  .dyn-field .tip-text::after { display: none; }
}
.kept-file { margin: 0 0 6px; padding: 6px 10px; background: #E8F5E8; color: var(--green-deep); border-radius: 8px; font-size: .9rem; font-weight: 600; }
.file-note { color: var(--magenta); font-weight: 700; margin: 6px 0 0; }

/* Home: testimonials slider (Admin > Testimonials, approved ones only) */
.testimonials { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.t-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.t-top h2 { margin: 0 0 6px; }
.t-lead { margin: 0; color: var(--muted); }
.t-arrows { display: flex; gap: 10px; flex-shrink: 0; }
.t-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--green); background: #fff; color: var(--green-deep); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.t-arrows button:hover, .t-arrows button:focus-visible { background: var(--green); color: #fff; }
.t-arrows button:disabled { opacity: .35; cursor: default; background: #fff; color: var(--green-deep); }
.t-track { list-style: none; margin: 0; padding: 6px 4px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 22px) / 3); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.t-track::-webkit-scrollbar { display: none; }
@media (max-width: 960px) { .t-track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .t-track { grid-auto-columns: 88%; } .t-top { align-items: flex-start; flex-direction: column; } .t-arrows { display: none; } }
.t-card { scroll-snap-align: start; }
.t-card figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px 22px; border-top: 5px solid var(--green); position: relative; }
.t-card:nth-child(4n+2) figure { border-top-color: var(--yellow); } .t-card:nth-child(4n+3) figure { border-top-color: var(--magenta); } .t-card:nth-child(4n+4) figure { border-top-color: var(--navy); }
.t-mark { display: block; font: 800 4rem/1 Georgia, serif; color: var(--green); opacity: .45; height: 34px; margin: -4px 0 6px; }
.t-card:nth-child(4n+2) .t-mark { color: var(--yellow-dark); } .t-card:nth-child(4n+3) .t-mark { color: var(--magenta); } .t-card:nth-child(4n+4) .t-mark { color: var(--navy); }
.t-track.fits { justify-content: center; }
.t-arrows[hidden] { display: none; }
.t-quote { margin: 0; font-size: 1.02rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.t-quote p { margin: 0 0 .7em; } .t-quote p:last-child { margin-bottom: 0; }
.t-card.open .t-quote { display: block; -webkit-line-clamp: unset; }
.t-more { align-self: flex-start; margin-top: 8px; background: none; border: 0; padding: 0; color: var(--green-deep); font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; }
.t-card figcaption { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); }
.t-card figure > .t-more + figcaption, .t-card figure > .t-quote + .t-more[hidden] + figcaption { margin-top: auto; }
.t-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 22%; flex-shrink: 0; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green); }
.t-initials { display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: #fff; background: var(--green); }
.t-initials.t-c1 { background: var(--yellow-dark); color: var(--ink); box-shadow: 0 0 0 2px var(--yellow-dark); } .t-initials.t-c2 { background: var(--magenta); box-shadow: 0 0 0 2px var(--magenta); } .t-initials.t-c3 { background: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.t-card strong { font-size: 1.08rem; }
.t-share { margin: 18px 0 0; text-align: center; display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: center; align-items: center; font-weight: 700; }

/* Donate form in steps: amount, details, payment */
.donate-steps { list-style: none; counter-reset: st; display: flex; gap: 8px; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.donate-steps li { counter-increment: st; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: .95rem; }
.donate-steps li::before { content: counter(st); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-weight: 800; }
.donate-steps li + li::after { order: -1; content: ""; width: 26px; height: 2px; background: var(--line); }
.donate-steps li.on { color: var(--green-deep); }
.donate-steps li.on::before { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.donate-steps li.done { color: var(--green-deep); }
.donate-steps li.done::before { content: "\2713"; border-color: var(--green-deep); color: var(--green-deep); }
.donate-form .donate-step[hidden] { display: none; }
.donate-form .amounts { border: 0; padding: 0; margin: 18px 0 6px; }
.donate-form .amounts legend { font-weight: 700; margin-bottom: 10px; }
.donate-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--soft); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; }
.donate-summary strong { font-size: 1.35rem; color: var(--green-deep); margin: 0 4px; }
.link-btn { background: none; border: 0; padding: 4px; color: var(--green-dark); font: 700 1rem "Manrope", sans-serif; text-decoration: underline; cursor: pointer; }
.step-title { margin: 0 0 12px; }
.yesno { display: inline-flex; gap: 10px; }
.yesno label { margin: 0; cursor: pointer; }
.yesno input { position: absolute; opacity: 0; pointer-events: none; }
.yesno span { display: block; min-width: 76px; text-align: center; padding: 8px 18px; border: 2px solid var(--green-deep); border-radius: 999px; font-weight: 800; color: var(--green-deep); background: #fff; }
.yesno input:checked + span { background: var(--green-deep); color: #fff; }
.yesno input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.terms-box { border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; margin: 8px 0 18px; background: #fff; }
.terms-box.has-error { border-color: #C0392B; }
.terms-title { font-weight: 800; margin: 0 0 8px; }
.terms-text { font-size: .93rem; color: var(--ink); background: var(--soft); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.terms-text p { margin: 0 0 8px; }
.terms-text p:last-child { margin-bottom: 0; }
.step-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 560px) { .step-actions .btn-lg { width: 100%; } .step-actions .btn-outline { width: 100%; } .donate-steps li + li::after { width: 12px; } .donate-steps { font-size: .9rem; } }
@media (max-width: 560px) {
  .donate-steps { flex-wrap: nowrap; gap: 6px; font-size: .82rem; }
  .donate-steps li { gap: 5px; font-size: .82rem; white-space: nowrap; }
  .donate-steps li::before { width: 24px; height: 24px; }
  .donate-steps li + li::after { width: 10px; }
  .donate-summary { padding: 12px 14px; }
  .donate-summary strong { font-size: 1.2rem; }
}

/* Update 41: smaller people cards, 5 in a row on the team and Members forever pages. Hover (or tap) a card to read the person's bio. */
.people-compact { grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 16px 0 36px; }
.people-compact .person { position: relative; padding: 16px 12px 14px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.people-compact .person img, .people-compact .avatar { width: 96px; height: 96px; margin-bottom: 10px; transition: transform .25s; }
.people-compact .avatar { font-size: 2.3rem; }
.people-compact .person h3 { font-size: 1rem; margin: 0 0 .2em; line-height: 1.3; }
.people-compact .person .role { font-size: .85rem; margin-bottom: .3em; line-height: 1.35; }
.people-compact .person-links { gap: 6px; margin: 0; flex-wrap: wrap; position: absolute; left: 8px; right: 8px; bottom: 14px; z-index: 2; }
.people-compact .person.has-links { padding-bottom: 60px; }
.people-compact .profile-icon { width: 32px; height: 32px; }
.people-compact .profile-icon svg { width: 16px; height: 16px; }
.people-compact .person:hover, .people-compact .person:focus-within { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 12px 30px rgba(31, 36, 51, .16); }
.people-compact .person:hover img, .people-compact .person:hover .avatar { transform: scale(1.05); }
.bio-hint { margin: 0; font-size: .8rem; font-weight: 700; color: var(--green-dark); }
.bio-hint::after { content: " +"; }
.person-bio { position: absolute; left: -1px; right: -1px; top: calc(100% - 10px); z-index: 1; max-height: 240px; overflow-y: auto; padding: 18px 14px 14px; text-align: left;
  background: var(--green-deep); color: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 14px 28px rgba(31, 36, 51, .22);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .3s ease, visibility .3s; }
.person-bio strong { display: none; }
.person-bio .prose { font-size: .85rem; line-height: 1.5; color: #fff; margin: 0; }
.person-bio .prose * { color: inherit; }
.person-bio .prose p { margin: 0 0 .6em; }
.person-bio .prose p:last-child { margin-bottom: 0; }
.person.has-bio { cursor: default; outline: none; }
.people-compact .person.has-bio:hover, .people-compact .person.has-bio:focus-within { z-index: 5; border-radius: var(--radius) var(--radius) 0 0; }
.person.has-bio:hover .person-bio, .person.has-bio:focus-within .person-bio { clip-path: inset(0 0 0 0); visibility: visible; }
.person.has-bio:hover .bio-hint, .person.has-bio:focus-within .bio-hint { visibility: hidden; }
.person.has-bio:focus-visible { box-shadow: 0 0 0 3px var(--yellow); }
@media (max-width: 1000px) { .people-compact { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 780px) { .people-compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .people-compact { grid-template-columns: repeat(2, 1fr); gap: 12px; } .people-compact .person img, .people-compact .avatar { width: 80px; height: 80px; } }
@media (prefers-reduced-motion: reduce) { .people-compact .person, .people-compact .person img, .person-bio { transition: none; } .people-compact .person:hover { transform: none; } }
.videos-intro { color: var(--muted); font-size: 1.05rem; margin-top: -.4em; }
.yt-series { max-width: 900px; margin: 20px auto 0; }
