/*
Theme Name: YACD Institutional
Theme URI: https://houara-yacd.com/
Author: YACD Ouled Teima
Author URI: https://houara-yacd.com/
Description: قالب عربي مؤسساتي لجمعية الشباب للثقافة والتنمية بأولاد تايمة، متجاوب مع الهواتف ويدعم الشعار والقوائم والمقالات ومخصّص ووردبريس.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yacd-institutional
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, blog, one-column
*/

:root {
  --ink: #062e35;
  --teal: #073f48;
  --teal-2: #0a5963;
  --paper: #f5f1e9;
  --white: #fffdf8;
  --orange: #f47b20;
  --pink: #cf5f9b;
  --sky: #49a7c6;
  --line: rgba(6, 46, 53, 0.16);
  --shadow: 0 22px 60px rgba(2, 32, 38, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  direction: rtl;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; inset: 10px auto auto 10px; z-index: 100; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.nav-wrap { height: 90px; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand img { width: 49px; height: 49px; object-fit: contain; background: var(--white); border-radius: 14px; padding: 5px; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-size: 1.1rem; letter-spacing: .11em; }
.brand small { margin-top: 5px; color: rgba(255,255,255,.67); font-size: .72rem; }
.desktop-nav { display: flex; align-items: center; gap: 25px; font-size: .89rem; font-weight: 500; }
.desktop-nav a { position: relative; padding: 10px 0; color: rgba(255,255,255,.72); }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--white); }
.desktop-nav a.is-active::after { content: ""; position: absolute; bottom: 3px; right: 0; width: 18px; height: 2px; background: var(--orange); }
.nav-cta { border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 11px 18px; font-size: .88rem; font-weight: 600; }
.nav-cta:hover { background: var(--white); color: var(--ink); }

.hero { position: relative; min-height: 790px; color: var(--white); background: var(--teal); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to left, #000, transparent 72%); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; border: 96px solid rgba(73,167,198,.12); border-radius: 50%; left: -210px; bottom: -200px; }
.hero-grid { position: relative; z-index: 1; min-height: 790px; padding-top: 146px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #b8d6d8; font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.eyebrow span { width: 32px; height: 2px; background: var(--orange); }
.hero h1 { margin: 22px 0 24px; font-size: clamp(3.8rem, 6vw, 6.7rem); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.hero h1 em { color: #ffc36b; font-style: normal; font-weight: 500; }
.hero-copy > p { max-width: 540px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 52px; padding: 12px 23px; border-radius: 999px; font-weight: 600; }
.button-primary { color: var(--ink); background: var(--white); }
.button-primary:hover { background: #ffc36b; }
.text-link { padding: 12px 0; color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.3); }
.hero-note { display: flex; gap: 12px; align-items: center; margin-top: 46px; font-size: .78rem; color: rgba(255,255,255,.58); }
.hero-note strong { color: var(--orange); letter-spacing: .12em; }

.hero-visual { position: relative; direction: ltr; min-width: 0; }
.photo-frame { position: relative; aspect-ratio: 4 / 5; width: min(100%, 515px); margin-left: auto; border-radius: 210px 210px 22px 22px; overflow: hidden; box-shadow: var(--shadow); }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,30,35,.5), transparent 48%); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 51% center; }
.location-card { position: absolute; right: -26px; bottom: 44px; z-index: 2; width: 205px; padding: 20px 22px; direction: rtl; color: var(--ink); background: var(--white); border-radius: 4px 24px 4px 4px; box-shadow: var(--shadow); }
.location-card::before { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; top: 24px; left: 20px; background: var(--orange); }
.location-card small, .location-card span { display: block; font-size: .72rem; color: #63777a; }
.location-card strong { display: block; margin: 4px 0 0; font-size: 1.25rem; }
.visual-mark { position: absolute; top: 42px; left: -45px; z-index: 2; width: 115px; height: 115px; display: grid; place-items: center; text-align: center; line-height: 1.3; color: var(--ink); background: var(--orange); border-radius: 50%; font-size: .83rem; font-weight: 700; transform: rotate(-8deg); }

.focus-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.focus-grid { min-height: 158px; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); align-items: stretch; }
.focus-grid > * { margin: 0; padding: 30px 28px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.focus-grid > :first-child { border-inline-start: 0; font-size: 1rem; color: #617578; }
.focus-grid > :first-child strong { color: var(--ink); font-size: 1.25rem; }
.focus-grid div { position: relative; padding-inline-start: 56px; }
.focus-grid div span { position: absolute; top: 36px; inset-inline-start: 22px; color: var(--orange); font-size: .72rem; font-weight: 700; }
.focus-grid div strong { font-size: 1.16rem; }
.focus-grid div small { color: #6b7d80; font-size: .78rem; }

.section { padding: 120px 0; }
.section-kicker { margin-bottom: 22px; color: var(--orange); font-size: .76rem; font-weight: 700; letter-spacing: .05em; }
.section-kicker.light { color: #ffc36b; }
.section h2, .partners h2, .contact h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5.25rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 600; }
.section h2 em, .contact h2 em { color: var(--orange); font-style: normal; font-weight: 500; }

.about { position: relative; background: var(--paper); }
.about::after { content: "YACD"; position: absolute; inset: auto 0 6px; text-align: center; z-index: 0; color: rgba(6,46,53,.025); font-size: 22vw; line-height: .8; font-weight: 700; letter-spacing: -.05em; pointer-events: none; }
.about > * { position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.about-content { padding-top: 34px; }
.about-content p { max-width: 650px; color: #5c6f72; font-size: 1rem; }
.about-content .lead { margin-top: 0; color: var(--ink); font-size: 1.38rem; line-height: 1.85; font-weight: 500; }
.identity-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-top: 1px solid var(--line); }
.identity-row > div { position: relative; padding: 26px 18px 0; border-inline-start: 1px solid var(--line); }
.identity-row > div:first-child { border-inline-start: 0; }
.identity-row span { position: absolute; top: 28px; inset-inline-start: 0; color: var(--orange); font-size: .68rem; font-weight: 700; }
.identity-row strong, .identity-row small { display: block; }
.identity-row strong { font-size: 1.02rem; }
.identity-row small { color: #738487; font-size: .72rem; }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 90px; }
.purpose-card { min-height: 360px; padding: 58px; display: flex; flex-direction: column; justify-content: flex-end; }
.purpose-card > span { margin-bottom: auto; font-size: .76rem; font-weight: 700; }
.purpose-card h3 { max-width: 520px; margin: 70px 0 18px; font-size: clamp(1.75rem, 3vw, 2.8rem); line-height: 1.25; }
.purpose-card p { max-width: 500px; margin: 0; color: rgba(255,255,255,.7); }
.purpose-mission { color: var(--white); background: var(--teal); border-radius: 0 32px 32px 0; }
.purpose-vision { color: var(--white); background: var(--pink); border-radius: 32px 0 0 32px; }

.programs { color: var(--white); background: #042f36; }
.programs-head { display: flex; justify-content: space-between; align-items: end; gap: 80px; margin-bottom: 65px; }
.programs-head > p { max-width: 390px; margin: 0 0 12px; color: rgba(255,255,255,.6); }
.programs h2 em { color: #ffc36b; }
.program-grid { border-top: 1px solid rgba(255,255,255,.16); }
.program-card { min-height: 175px; display: grid; grid-template-columns: 75px 1fr 55px; align-items: center; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.16); transition: background .25s ease, padding .25s ease; }
.program-card:hover { padding-inline: 25px; background: rgba(255,255,255,.055); }
.program-number { align-self: start; padding-top: 37px; color: #ffc36b; font-size: .76rem; font-weight: 700; }
.program-card h3 { margin: 0 0 8px; font-size: 1.45rem; }
.program-card p { max-width: 640px; margin: 0; color: rgba(255,255,255,.58); font-size: .9rem; }
.card-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #ffc36b; }

.activities { background: var(--white); }
.activity-layout { display: grid; grid-template-columns: .8fr 1.2fr; grid-template-rows: auto 225px; gap: 24px; }
.activity-copy { padding: 10px 45px 50px 0; align-self: center; }
.activity-copy p { max-width: 480px; margin: 27px 0 34px; color: #627477; }
.button-dark { color: var(--white); background: var(--teal); }
.button-dark:hover { background: var(--orange); color: var(--ink); }
.activity-photo { position: relative; margin: 0; overflow: hidden; background: #d7e1df; }
.activity-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.activity-photo:hover img { transform: scale(1.03); }
.activity-photo-one { grid-row: 1 / 3; min-height: 650px; border-radius: 190px 24px 24px 24px; }
.activity-photo-two { grid-column: 1; min-height: 225px; border-radius: 18px; }
.activity-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,35,40,.74), transparent 50%); }
.activity-photo figcaption { position: absolute; inset: auto 27px 24px; z-index: 2; color: var(--white); }
.activity-photo figcaption span, .activity-photo figcaption strong { display: block; }
.activity-photo figcaption span { margin-bottom: 3px; color: #ffc36b; font-size: .72rem; font-weight: 700; }
.activity-photo figcaption strong { font-size: 1.05rem; }

.values-quote { padding: 90px 0; color: var(--white); background: var(--orange); }
.quote-wrap { position: relative; text-align: center; }
.quote-mark { display: block; height: 56px; color: var(--teal); font-family: Georgia, serif; font-size: 7rem; line-height: .9; }
.quote-wrap blockquote { max-width: 900px; margin: 18px auto 28px; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.45; letter-spacing: -.035em; font-weight: 600; }
.quote-wrap p { margin: 0; color: rgba(6,46,53,.68); font-size: .78rem; font-weight: 700; }
.quote-wrap p span { margin-inline-start: 8px; letter-spacing: .14em; }

.leadership { background: var(--paper); }
.leadership-head { display: flex; justify-content: space-between; align-items: end; gap: 80px; margin-bottom: 65px; }
.leadership-head > p { max-width: 430px; margin: 0 0 12px; color: #63777a; }
.people-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.person { grid-column: span 4; min-height: 170px; padding: 27px; display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.main-person { grid-column: span 8; background: var(--teal); color: var(--white); border-color: var(--teal); }
.person-initials { flex: 0 0 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--pink); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.main-person .person-initials { color: var(--ink); background: #ffc36b; }
.person small { display: block; color: var(--orange); font-size: .73rem; font-weight: 700; }
.main-person small { color: #ffc36b; }
.person h3 { margin: 12px 0 4px; font-size: 1.2rem; }
.person span { color: #819093; font-size: .66rem; letter-spacing: .06em; }
.main-person span { color: rgba(255,255,255,.55); }

.partners { padding: 90px 0; background: var(--white); border-top: 1px solid var(--line); }
.partners-wrap { display: grid; grid-template-columns: .55fr 1.45fr; align-items: center; gap: 60px; }
.partners h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
.partner-logos { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.partner-logos div { min-height: 150px; padding: 25px; display: grid; place-items: center; border-inline-start: 1px solid var(--line); }
.partner-logos div:first-child { border-inline-start: 0; }
.partner-logos img { max-width: 145px; max-height: 80px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s ease, opacity .25s ease; }
.partner-logos div:hover img { filter: none; opacity: 1; }

.contact { position: relative; overflow: hidden; padding: 120px 0; color: var(--white); background: var(--teal); }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; border: 120px solid rgba(73,167,198,.12); border-radius: 50%; right: -300px; bottom: -270px; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; align-items: start; }
.contact-copy > p { max-width: 490px; margin: 30px 0 45px; color: rgba(255,255,255,.66); }
.contact-details { display: grid; gap: 12px; }
.contact-details a { width: fit-content; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: #9fc3c7; font-size: .72rem; }
.contact-details strong { font-size: 1rem; font-weight: 500; }
.contact-form { padding: 42px; color: var(--ink); background: var(--white); border-radius: 24px 4px 24px 4px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 18px; font-size: .78rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cfd9d8; border-radius: 8px; padding: 14px 15px; color: var(--ink); background: #fbfaf6; font: inherit; font-size: .9rem; outline: 0; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(10,89,99,.12); }
.submit-button { width: 100%; border: 0; color: var(--white); background: var(--orange); cursor: pointer; font: inherit; }
.submit-button:hover { background: var(--teal); }
.form-note { margin: 12px 0 0; text-align: center; color: #718184; font-size: .71rem; }

.site-footer { color: var(--white); background: #03252b; }
.footer-main { min-height: 205px; display: grid; grid-template-columns: .8fr 1.2fr .7fr; align-items: center; gap: 60px; }
.footer-brand { margin: 0; }
.footer-main > p { max-width: 480px; color: rgba(255,255,255,.58); font-size: .86rem; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; font-size: .8rem; color: rgba(255,255,255,.72); }
.footer-main nav a:hover { color: #ffc36b; }
.footer-bottom { min-height: 68px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: .72rem; }
.menu-toggle, .mobile-menu { display: none; }

.desktop-nav ul,
.mobile-menu ul,
.footer-main nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.desktop-nav ul { display: flex; align-items: center; gap: 25px; }
.footer-main nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.desktop-nav .current-menu-item > a,
.desktop-nav .current_page_item > a { color: var(--white); }
.desktop-nav .current-menu-item > a::after,
.desktop-nav .current_page_item > a::after { content: ""; position: absolute; bottom: 3px; right: 0; width: 18px; height: 2px; background: var(--orange); }
.brand .custom-logo { width: 49px; height: 49px; object-fit: contain; background: var(--white); border-radius: 14px; padding: 5px; }
.admin-bar .site-header { top: 32px; }
body:not(.home) .site-header { background: var(--teal); }

.content-area { min-height: 70vh; padding: 150px 0 90px; background: var(--paper); }
.content-shell { width: min(850px, calc(100% - 48px)); margin-inline: auto; }
.content-shell.wide { width: min(1180px, calc(100% - 48px)); }
.content-header { margin-bottom: 45px; }
.content-header h1 { margin: 8px 0 15px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.12; letter-spacing: -.045em; }
.content-header p { margin: 0; color: #667a7d; }
.article-card { margin-bottom: 24px; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.article-card h2, .entry-content h2 { font-size: 1.7rem; line-height: 1.35; }
.article-card h2 { margin: 0 0 10px; }
.article-card .entry-meta, .entry-meta { color: #77898b; font-size: .8rem; }
.article-card .entry-summary { color: #566a6d; }
.entry-content { color: #334f53; font-size: 1.05rem; }
.entry-content > * { max-width: 100%; }
.entry-content img { border-radius: 16px; }
.entry-content a { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }
.post-thumbnail { margin: 0 0 35px; overflow: hidden; border-radius: 22px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { min-width: 42px; min-height: 42px; display: grid; place-items: center; padding: 8px 13px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.error-404 { text-align: center; padding-block: 50px; }
.error-404 .error-code { color: var(--orange); font-size: clamp(5rem, 18vw, 11rem); line-height: 1; font-weight: 700; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid #ffc36b; outline-offset: 4px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .nav-cta { margin-inline-start: 0; }
  .menu-toggle { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-content: center; gap: 6px; color: inherit; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 90px; inset-inline: 24px; display: block; padding: 22px; color: var(--ink); background: var(--white); border-radius: 16px; box-shadow: var(--shadow); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu nav { display: grid; }
  .mobile-menu ul { display: grid; }
  .mobile-menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
  .mobile-menu a:last-child { border: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 150px; padding-bottom: 90px; gap: 55px; }
  .hero-copy { max-width: 680px; }
  .photo-frame { margin: auto; width: min(88vw, 520px); aspect-ratio: 4 / 4.6; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .focus-grid > * { border-bottom: 1px solid var(--line); }
  .section { padding: 95px 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .about-content { padding-top: 0; }
  .programs-head, .leadership-head { align-items: start; flex-direction: column; gap: 30px; }
  .activity-layout { grid-template-columns: 1fr 1fr; grid-template-rows: auto 460px; }
  .activity-copy { grid-column: 1 / 3; padding: 0 0 40px; }
  .activity-photo-one { grid-row: 2; min-height: 460px; border-radius: 120px 18px 18px 18px; }
  .activity-photo-two { grid-column: 1; grid-row: 2; min-height: 460px; }
  .person, .main-person { grid-column: span 6; }
  .partners-wrap { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 42px 0; }
  .footer-main nav { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav-wrap { height: 78px; }
  .brand img { width: 43px; height: 43px; }
  .nav-cta { display: none; }
  .mobile-menu { top: 78px; inset-inline: 15px; }
  .admin-bar .site-header { top: 46px; }
  .hero-grid { min-height: 0; padding-top: 125px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(3.35rem, 16.5vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .text-link { text-align: center; }
  .hero-note { margin-top: 32px; }
  .photo-frame { width: calc(100% - 20px); }
  .visual-mark { width: 94px; height: 94px; left: -5px; top: -30px; }
  .location-card { right: -2px; bottom: 20px; width: 190px; }
  .focus-grid { grid-template-columns: 1fr; padding: 18px 0; }
  .focus-grid > * { border-inline-start: 0; padding: 21px 12px; }
  .focus-grid > p { text-align: center; }
  .section { padding: 78px 0; }
  .section h2, .contact h2 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .about-grid { gap: 38px; }
  .about-content .lead { font-size: 1.15rem; }
  .identity-row { grid-template-columns: 1fr; }
  .identity-row > div { min-height: 76px; padding: 18px 48px 18px 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .identity-row span { top: 22px; }
  .purpose-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .purpose-card { min-height: 310px; padding: 35px 28px; }
  .purpose-card h3 { margin-top: 55px; }
  .purpose-mission { border-radius: 24px 24px 0 0; }
  .purpose-vision { border-radius: 0 0 24px 24px; }
  .programs-head { margin-bottom: 42px; }
  .program-card { grid-template-columns: 38px 1fr; padding: 25px 0; }
  .program-card:hover { padding-inline: 10px; }
  .program-number { padding-top: 6px; }
  .card-arrow { display: none; }
  .program-card h3 { font-size: 1.16rem; }
  .activity-layout { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 440px 270px; }
  .activity-copy, .activity-photo-one, .activity-photo-two { grid-column: 1; }
  .activity-photo-one { grid-row: 2; min-height: 440px; border-radius: 100px 18px 18px 18px; }
  .activity-photo-two { grid-row: 3; min-height: 270px; }
  .quote-wrap blockquote { font-size: 1.75rem; }
  .people-grid { grid-template-columns: 1fr; }
  .person, .main-person { grid-column: 1; min-height: 150px; }
  .partner-logos { grid-template-columns: 1fr; }
  .partner-logos div { min-height: 125px; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .partner-logos div:last-child { border-bottom: 0; }
  .contact-grid { gap: 45px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 20px; border-radius: 18px 4px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-main nav { grid-column: 1; grid-row: auto; }
  .footer-main nav ul { grid-template-columns: 1fr 1fr; }
  .content-area { padding-top: 125px; }
  .content-shell, .content-shell.wide { width: min(100% - 30px, 1180px); }
  .article-card { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
