﻿/*
Theme Name: HPS Foundation
Theme URI: https://example.org/
Author: HPS
Description: A polished WordPress theme for a foundation website with programs, team members, partners, and donors.
Version: 1.1.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: hps
*/
:root {
  --ink: #062a49;
  --muted: #526b7d;
  --paper: #f4f9fc;
  --surface: #fff;
  --line: #d8e5ed;
  --brand: #147eaf;
  --cyan: #16add3;
  --brand-dark: #07365d;
  --accent: #c99a2e;
  --green-soft: #e2f7fc;
  --blue-soft: #e4f2fa;
  --shadow: 0 18px 45px rgba(6, 42, 73, 0.1);
  --radius: 8px;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--accent);
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.text-center {
  text-align: center;
  flex: 1;
}
.wrap,
.header-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 249, 252, 0.94);
  border-bottom: 1px solid rgba(216, 229, 237, 0.86);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius);
  font-weight: 800;
}
.site-title {
  display: block;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
}
.site-description {
  display: block;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu a {
  color: var(--green-soft);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-menu a:hover {
  color: var(--brand);
}
.site-navigation,
.header-buttons {
  display: flex;
  align-items: center;
}
.site-navigation {
  gap: 22px;
}

.header-buttons {
  gap: 9px;
}
.header-button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.header-donate-button,
.header-button:hover {
  color: #fff;
  background: var(--brand);
}
.header-donate-button:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent);
}
.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover,
.wp-block-button__link:hover {
  color: #fff;
  background: var(--brand-dark);
}
.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}
.button.secondary:hover {
  color: var(--brand-dark);
  background: var(--green-soft);
}
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 72px 0 40px;
  background:
    linear-gradient(110deg, rgba(6, 42, 73, 0.9), rgba(20, 126, 177, 0.78)),
    url("assets/img/hero-pattern.svg") center/cover no-repeat;
  color: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 48px;
}
.eyebrow {
  margin: 0 0 14px;
  color: #72d9ed;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1,
.page-title {
  margin: 0;
  font-size: clamp(2rem, 7vw, 2.5rem);
  line-height: 1.2;
  max-width: 960px;
  letter-spacing: 0;
}
.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.impact-panel {
  display: grid;
  gap: 12px;
}
.impact-stat {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}
.impact-stat strong {
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}
.impact-stat span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}
.section {
  padding: clamp(40px, 8vw, 55px) 0;
}
.section.light {
  background: var(--surface);
}
.section.alt {
  background: var(--ink);
}
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-header h2,
.entry-content h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.02;
}
.section-header p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}
.home-about {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(96px, 12vw, 144px);
  color: var(--ink);
  background: var(--surface);
  border-top: 6px solid #1467a1;
}
.home-about::before {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(90px, 14vw, 210px);
  height: 14px;
  background: var(--cyan);
  content: "";
}
.home-about::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(46px, 6vw, 76px);
  background: var(--ink);
  clip-path: polygon(0 62%, 30% 62%, 38% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}
.home-about-grid {
  display: grid;
  grid-template-columns: 15px minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 25px;
}
.home-about-marker {
  display: flex;
  min-height: 230px;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}
.home-about-marker i {
  width: 1px;
  flex: 1;
  background: var(--line);
}
.home-about-description h2 {
  max-width: 650px;
  margin: 12px 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 3rem);
  line-height: 0.98;
}
.home-about .eyebrow {
  margin-bottom: 0px;
  color: var(--cyan);
}
.home-about-description {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.05rem;
}

.home-about-description p:last-child {
  margin-bottom: 0;
}
.home-about-description a {
  color: var(--cyan);
}
.home-about-image {
  position: relative;
  z-index: 1;
  grid-column: 2 / -1;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.home-about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.grid {
  display: grid;
  gap: 22px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(6, 42, 73, 0.06);
}
.card-media {
  display: block;
  aspect-ratio: 16/10;
  background: var(--green-soft);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.card-body {
  padding: 22px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  line-height: 1.2;
}
.card p {
  margin: 0 0 16px;
  color: var(--muted);
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background-color: var(--brand-dark);
  color: var(--green-soft);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}
.profile-card {
  position: relative;
  border: 0;
  border-top: 5px solid var(--cyan);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(6, 42, 73, 0.12);
}
.profile-card::before {
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 0;
  width: 34%;
  height: 5px;
  background: var(--accent);
  content: "";
}
.profile-card .card-media {
  margin: 14px 14px 0;
  overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: 6px;
  background: var(--blue-soft);
}
.profile-card .card-body {
  padding: 24px 26px 28px;
}
.profile-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.5rem;
}
.profile-role {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  color: var(--brand);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}
.team-member-content {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.team-member-content > :first-child {
  margin-top: 0;
}
.team-member-content > :last-child {
  margin-bottom: 0;
}
.home-team {
  background: var(--blue-soft);
}
.home-team .section-header {
  margin-bottom: clamp(30px, 5vw, 55px);
}
.home-team .grid.team-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 8vw, 40px);
}
.home-team .profile-card {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(320px, 57%);
  align-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin: 0px auto;
}
.home-team .profile-card::before {
  display: none;
}
.home-team .profile-card .card-media {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  aspect-ratio: 1.3 / 1;
  border: 0;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(6, 42, 73, 0.12);
}
.home-team .profile-card .card-body {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  margin-left: -88px;
  padding: clamp(23px, 4vw, 25px);
  border: 1px solid #bfd0db;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(6, 42, 73, 0.08);
}
.home-team .profile-card h3 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}
.home-team .profile-role {
  margin-bottom: 16px;
  color: var(--brand);
  line-height: 1.35;
}
.home-team .team-member-content {
  padding-top: 18px;
  line-height: 1.65;
}
.team-member-job-title {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--accent);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
}
.organization-section {
  overflow: hidden;
}
.partners-section {
  background: var(--surface);
}
.donors-section {
  background: #14619d !important;
}
#home-donors-title{
    color:#fff;
}
.logo-carousel {
  position: relative;
}
.logo-carousel-viewport {
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.logo-carousel-viewport::-webkit-scrollbar {
  display: none;
}
.logo-carousel-viewport:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}
.logo-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 5);
  gap: 14px;
}
.logo-tile {
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(6, 42, 73, 0.06);
  scroll-snap-align: start;
  text-align: center;
  font-weight: 900;
  text-decoration: none;
}
.logo-tile:hover {
  border-color: var(--cyan);
  box-shadow: 0 12px 28px rgba(6, 42, 73, 0.11);
}
.logo-tile img {
  width: auto;
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}
.logo-tile-title {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.3;
}
.logo-tile-empty {
  color: var(--muted);
}
.logo-carousel-controls {
  display: none;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}
.logo-carousel.has-overflow .logo-carousel-controls {
  display: flex;
}
.logo-carousel-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.logo-carousel-button:hover:not(:disabled) {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.logo-carousel-button:disabled {
  opacity: 0.38;
  cursor: default;
}
@media (max-width: 900px) {
  .logo-carousel-track {
    grid-auto-columns: calc((100% - 28px) / 3);
  }
}
@media (max-width: 560px) {
  .logo-carousel-track {
    grid-auto-columns: calc((100% - 14px) / 2);
  }
  .logo-tile {
    min-height: 112px;
    padding: 16px;
  }
}
.page-hero {
  padding: 60px 0 60px;
  color: #fff;
  background: linear-gradient(120deg, var(--ink), var(--brand-dark));
}
.page-hero p {
  max-width: 560px;
  color: #ddd;
}
.archive-layout,
.content-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}
.entry-shell {
  padding: 48px 0 80px;
}
.program-single-hero {
  position: relative;
  padding: clamp(70px, 10vw, 124px) 0 clamp(82px, 11vw, 132px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--ink), var(--brand-dark));
  border-bottom: 7px solid var(--accent);
}
.program-single-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(110px, 22vw, 320px);
  height: 18px;
  background: var(--cyan);
  content: "";
}
.program-single-hero-inner {
  max-width: 980px;
}
.program-single-hero .page-title {
  max-width: 900px;
  margin-bottom: 28px;
  color: #fff;
}
.program-single-hero .eyebrow {
  color: var(--cyan);
}
.program-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}
.program-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.program-meta-item i {
  color: var(--accent);
}
.program-meta-item a {
  color: #fff;
  font-weight: 700;
}
.program-single-main {
  padding: 0 0 clamp(70px, 10vw, 120px);
  background: var(--paper);
}
.program-single-image {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: -62px auto clamp(42px, 7vw, 72px);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  border: 8px solid var(--surface);
  border-radius: var(--radius);
  background: var(--blue-soft);
  box-shadow: var(--shadow);
}
.program-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-single-content {
  width: min(100%, 800px);
  margin: 0 auto;
  color: var(--ink);
  font-size: 1.08rem;
}
.program-single-content > :first-child {
  margin-top: 0;
}
.program-single-content > :last-child {
  margin-bottom: 0;
}
.program-single-content h2,
.program-single-content h3 {
  margin-top: 2em;
  line-height: 1.15;
}
.program-single-content img {
  border-radius: var(--radius);
}
.entry-content {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content > *:last-child {
  margin-bottom: 0;
}
.entry-content > img:first-child {
  margin: -10px 0 28px;
  border-radius: var(--radius);
}
.meta-panel {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.meta-panel h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}
.meta-panel ul {
  margin: 0;
  padding-left: 18px;
}
.category-count-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}
.category-count-list li {
  margin: 0;
}
.category-count-list a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px;
  border-left: 3px solid transparent;
  color: var(--ink);
  text-decoration: none;
}
.category-count-list a:hover,
.category-count-list .is-current a {
  border-left-color: var(--accent);
  background: var(--blue-soft);
  color: var(--brand-dark);
}
.category-count-name {
  min-width: 0;
  font-weight: 700;
}
.category-count-number {
  min-width: 30px;
  height: 30px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
}
.program-category-sidebar {
  position: sticky;
  top: 104px;
}
.term-description > :first-child {
  margin-top: 0;
}
.term-description > :last-child {
  margin-bottom: 0;
}
.meta-list {
  display: grid;
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.meta-list span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.donor-list {
  columns: 3 220px;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.donor-list li {
  break-inside: avoid;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-left: 4px solid var(--accent);
  background: #fff;
}
.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.site-footer p {
  margin: 0.25rem 0 0;
}
.footer-menu {
  flex-wrap: wrap;
  gap: 16px;
}
.footer-menu a,
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.pagination {
  margin-top: 34px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}
.page-numbers.current {
  color: #fff;
  background: var(--brand);
}
@media (max-width: 900px) {
  .header-inner,
  .section-header,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .primary-menu {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .hero-grid,
  .archive-layout,
  .content-sidebar {
    grid-template-columns: 1fr;
  }
  .program-category-sidebar {
    position: static;
  }
  .home-about-grid {
    grid-template-columns: 15px minmax(0, 1fr);
  }
  .home-about-description {
    grid-column: 2;
    padding-top: 0;
  }
  .grid.three,
  .grid.four,
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .home-team .grid.team-grid {
    gap: 48px;
  }
  .home-team .profile-card {
    display: block;
  }
  .home-team .profile-card .card-media {
    aspect-ratio: 4 / 3;
  }
  .home-team .profile-card .card-body {
    width: auto;
    min-height: 0;
    margin: -38px 8px 0;
    padding: 20px 15px;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .header-inner {
    padding: 14px 0;
  }
  .hero {
    min-height: auto;
    padding-top: 56px;
  }
  .home-about-grid {
    grid-template-columns: 1fr;
  }
  .home-about-marker {
    min-height: 0;
    align-items: center;
    flex-direction: row;
  }
  .home-about-marker i {
    width: auto;
    height: 1px;
    flex: 1;
  }
  .home-about-description {
    grid-column: 1;
  }
  .home-about-image {
    grid-column: 1;
    aspect-ratio: 6 / 3;
  }
  .grid.three,
  .grid.four,
  .logo-grid {
    grid-template-columns: 1fr;
  }
  .hero h1,
  .page-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
  }
}

/* Customizer-powered header and footer */
.top-header {
  background: rgba(244, 249, 252, 0.96);
  color: var(--ink);
  font-size: 0.82rem;
}
.top-header-inner {
  width: min(calc(100% - 20px), var(--max));
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}
.header-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}
.header-contact i {
  color: #72d9ed;
  font-size: 0.78rem;
}
.header-contact a:hover {
  color: #fff;
}
.header-logo {
  width: auto;
  max-width: 220px;
  height: 90px;
  object-fit: contain;
}
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-link {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.social-link:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.site-footer {
  padding: 52px 0;
  border-top: 1px solid var(--blue-soft);
}
.footer-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.footer-logo-link {
  display: block;
}
.footer-logo {
  width: auto;
  max-width: min(260px, 70vw);
  height: 76px;
  object-fit: contain;
}
.footer-site-name {
  color: #fff;
  font-size: 1.3rem;
}
.footer-social-links {
  justify-content: center;
}
.footer-social-links .social-link {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}
.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}
@media (max-width: 700px) {
  .top-header-inner {
    align-items: flex-start;
    gap: 8px;
    padding: 9px 0;
  }
  .header-contact {
    gap: 4px 16px;
  }
  .header-logo {
    max-width: 180px;
    height: 46px;
  }
  .header-button{
      gap:4px;
      padding: 8px 7px;
  }
  .social-link{
      width:20px;
  }
}
/* Sticky main navigation and responsive dropdown */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid var(--blue-soft);
  backdrop-filter: blur(16px);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  font-size: 1.15rem;
}
.menu-toggle:hover {
  color: #fff;
  background: var(--brand);
}
.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 900px) {
  .header-inner {
    position: relative;
    min-height: 68px;
    align-items: center;
    flex-direction: row;
    padding: 8px 0;
  }
  .menu-toggle {
    display: inline-flex;
    flex: 0 0 44px;
  }
  .js .site-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 16px 16px;
    border: 1px solid var(--line);
    border-top: 0;
    background: var(--surface);
    box-shadow: 0 18px 30px rgba(6, 42, 73, 0.14);
  }
  .js .site-navigation.is-open {
    display: block;
  }
  .site-navigation {
    display: block;
  }
  .primary-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .primary-menu li {
    width: 100%;
  }
  .primary-menu a {
    display: block;
    padding: 11px 4px;
    border-bottom: 1px solid var(--line);
  }
  .primary-menu li:last-child a {
    border-bottom: 0;
  }
 
  .header-button {
    width: 100%;
  }
}
@media (max-width: 440px) {
  .header-buttons {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 560px) {
  .program-single-hero {
    padding-top: 58px;
  }
  .program-single-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .program-single-image {
    margin-top: -42px;
    aspect-ratio: 4 / 3;
    border-width: 5px;
  }
  .program-single-content {
    font-size: 1rem;
  }
}
.error-404 {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(64px, 10vw, 120px) 0;
  overflow: hidden;
  background: var(--paper);
  border-top: 6px solid var(--accent);
}
.error-404-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 8vw, 112px);
}
.error-404-code {
  color: var(--blue-soft);
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  line-height: 0.75;
}
.error-404-content {
  max-width: 650px;
  padding-left: clamp(22px, 4vw, 50px);
  border-left: 5px solid var(--cyan);
}
.error-404-content h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
}
.error-404-content > p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
}
.error-404 .search-form {
  display: flex;
  max-width: 580px;
  gap: 10px;
  margin-top: 28px;
}
.error-404 .search-field {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.error-404-actions .button {
  gap: 9px;
}
.site-navigation.is-open .primary-menu a{
 color:var(--ink);   
}
@media (max-width: 760px) {
  .error-404-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .error-404-code {
    font-size: clamp(7rem, 40vw, 11rem);
  }
  .error-404-content {
    padding-left: 22px;
  }
}
@media (max-width: 480px) {
  .error-404 .search-form {
    align-items: stretch;
    flex-direction: column;
  }
  .error-404 .search-submit {
    width: 100%;
  }
}
/* Blog archives and articles */
.blog-archive-hero {
  position: relative;
  padding: clamp(70px, 10vw, 120px) 0 clamp(58px, 8vw, 92px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--ink), var(--brand-dark));
  border-bottom: 7px solid var(--accent);
}
.blog-archive-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(100px, 18vw, 260px);
  height: 16px;
  background: var(--cyan);
  content: "";
}
.blog-archive-hero .page-title {
  max-width: 880px;
  color: #fff;
}
.blog-archive-hero .eyebrow {
  color: var(--cyan);
}
.blog-archive-hero > .wrap > p:last-child,
.archive-description {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}
.archive-description > :last-child {
  margin-bottom: 0;
}
.blog-archive-section {
  background: var(--paper);
}
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}
.blog-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(6, 42, 73, 0.07);
}
.blog-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--blue-soft);
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.025);
}
.blog-card-body {
  padding: 24px 24px 28px;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.blog-card-meta a {
  color: var(--brand);
  text-decoration: none;
}
.blog-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.18;
}
.blog-card h2 a {
  color: var(--ink);
  text-decoration: none;
}
.blog-card h2 a:hover {
  color: var(--brand);
}
.blog-card-body > p {
  margin: 0 0 20px;
  color: var(--muted);
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}
.blog-card-link i {
  font-size: 0.85rem;
  transition: transform 180ms ease;
}
.blog-card-link:hover i {
  transform: translateX(4px);
}
.post-category-sidebar {
  position: sticky;
  top: 104px;
}
.post-single-header {
  padding: clamp(72px, 10vw, 126px) 0 clamp(68px, 9vw, 106px);
  background: linear-gradient(120deg, var(--ink), var(--brand-dark));
  border-bottom: 1px solid var(--line);
}
.post-single-header-inner {
  max-width: 980px;
}
.post-single-header .page-title {
  max-width: 940px;
  margin: 18px 0 26px;
  color: #fff;
  font-size: clamp(2rem, 7vw, 2.5rem);
  line-height: 0.98;
}
.post-single-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.post-single-categories a {
  padding: 5px 9px;
  border-left: 3px solid var(--accent);
  color: var(--brand-dark);
  background: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.post-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  color: var(--paper);
}
.post-single-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.post-single-meta i {
  color: var(--accent);
}
.post-single-main {
  padding: 0 0 clamp(70px, 10vw, 120px);
  background: var(--paper);
}
.post-single-image {
  max-width: 1100px;
  margin: 0 auto clamp(44px, 7vw, 76px);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--blue-soft);
  box-shadow: var(--shadow);
}
.post-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-single-content {
  width: min(100%, 800px);
  margin: 0 auto;
  color: var(--ink);
  font-size: 1.08rem;
}
.post-single-content > :first-child {
  margin-top: 0;
}
.post-single-content > :last-child {
  margin-bottom: 0;
}
.post-single-content h2,
.post-single-content h3 {
  margin-top: 2em;
  line-height: 1.15;
}
.post-single-content blockquote {
  margin: 2em 0;
  padding: 8px 0 8px 24px;
  border-left: 5px solid var(--accent);
  color: var(--brand-dark);
  font-size: 1.2rem;
}
.post-single-content img {
  border-radius: var(--radius);
}
@media (max-width: 900px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-category-grid {
    grid-template-columns: 1fr;
  }
  .post-category-sidebar {
    position: static;
  }
}
@media (max-width: 600px) {
  .contact-information h2,
  .contact-form-panel h2 {
    margin: 0 0 20px !important;
    font-size: 1.5rem !important;
  }
  .blog-archive-grid {
    grid-template-columns: 1fr;
  }
  .post-single-header .page-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .post-single-image {
    aspect-ratio: 4 / 3;
  }
  .post-single-content {
    font-size: 1rem;
  }
}

/* Contact page */
.contact-hero {
  position: relative;
  padding: clamp(76px, 11vw, 132px) 0 clamp(68px, 9vw, 108px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--ink), var(--brand-dark));
  border-bottom: 7px solid var(--accent);
}
.contact-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(120px, 22vw, 340px);
  height: 18px;
  background: var(--cyan);
  content: "";
}

.contact-hero .page-title {
  max-width: 820px;
  color: #fff;
}
.contact-hero .eyebrow {
  color: var(--cyan);
}
.contact-hero-description {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}
.contact-hero-description > :last-child {
  margin-bottom: 0;
}
.contact-main {
  background: var(--paper);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(42px, 8vw, 100px);
}
.contact-information h2,
.contact-form-panel h2 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.05;
}
.contact-detail-list {
  display: grid;
  gap: 8px;
}
.contact-detail {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--brand);
}
.contact-detail strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: uppercase;
}
.contact-detail a,
.contact-detail p {
  display: block;
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
  text-decoration: none;
}
.contact-detail a:hover {
  color: var(--brand);
}
.contact-social {
  margin-top: 34px;
}
.contact-social h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}
.contact-social-links .social-link {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-dark);
}
.contact-social-links .social-link:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.contact-form-panel {
  padding: clamp(20px, 5vw, 25px);
  border-top: 5px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-form-panel label {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.contact-form-panel
  input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-panel textarea,
.contact-form-panel select {
  width: 100%;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.contact-form-panel textarea {
  height: 130px;
  resize: vertical;
}
.contact-form-panel input:focus,
.contact-form-panel textarea:focus,
.contact-form-panel select:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(20, 126, 175, 0.14);
}
.contact-map {
  min-height: 440px;
  background: var(--blue-soft);
  border-top: 1px solid var(--line);
}
.contact-map iframe {
  width: 100%;
  height: 480px;
  display: block;
  border: 0;
}
@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .contact-detail {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .contact-detail > i {
    width: 40px;
    height: 40px;
  }
  .contact-form-panel {
    padding: 24px 20px;
  }
  .contact-map,
  .contact-map iframe {
    min-height: 360px;
    height: 360px;
  }
}
/* About page */
.about-hero {
  position: relative;
  padding: clamp(82px, 11vw, 140px) 0 clamp(64px, 9vw, 104px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(22, 173, 211, 0.26),
      transparent 30%
    ),
    linear-gradient(135deg, #062a49 0%, #07365d 58%, #0f5d75 100%);
  border-bottom: 7px solid var(--accent);
}
.about-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 24%,
    #000 78%,
    transparent
  );
  content: "";
  opacity: 0.42;
}
.about-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(170px, 30vw, 440px);
  height: 18px;
  background: var(--cyan);
  content: "";
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}
.about-hero-copy {
  max-width: 820px;
}
.about-hero .page-title {
  max-width: 780px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 3rem);
  line-height: 0.94;
}
.about-hero-copy h2 {
  font-size: 1.5rem;
  font-weight: 500;
}
.about-hero-copy p {
  font-size: 1rem;
}
.about-hero .eyebrow {
  color: var(--cyan);
}
.about-intro {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}
.about-intro > :last-child {
  margin-bottom: 0;
}
.about-hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}
.about-stat {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.11);
}
.about-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
}
.about-stat span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.about-direction {
  background: var(--surface);
}
.about-direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.about-direction-grid .eyebrow {
  font-size: 1.5rem;
}
.about-direction article {
  position: relative;
  padding: clamp(20px, 6vw, 30px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.about-direction article::after {
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 180px;
  height: 180px;
  border: 28px solid var(--blue-soft);
  border-radius: 50%;
  content: "";
}
.about-direction article:last-child {
  background: var(--blue-soft);
}
.about-direction article:last-child::after {
  border-color: rgba(20, 126, 175, 0.15);
}
.about-section-number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(20, 126, 175, 0.14);
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1;
}
.about-direction .eyebrow {
  margin-bottom: 26px;
}
.about-direction article > div {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(0.8rem, 2vw, 1rem);
}
.about-direction article > div p:last-child {
  margin-bottom: 0;
}
.about-what {
  background: var(--paper);
}
.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.about-focus-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(6, 42, 73, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.about-focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(6, 42, 73, 0.12);
}
.about-focus-card > span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}
.about-focus-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}
.about-focus-card p {
  margin: 0;
  color: var(--muted);
}
.about-process {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(201, 154, 46, 0.16) 0 1px, transparent 1px),
    var(--brand-dark);
  background-size: 78px 100%;
}
.about-process-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(42px, 9vw, 120px);
}
.about-process h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1;
}
.about-process .eyebrow {
  color: var(--cyan);
}
.about-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: about-process;
}
.about-process-list li {
  position: relative;
  min-height: 70px;
  padding: 0 0 28px 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.84);
  counter-increment: about-process;
}
.about-process-list li + li {
  padding-top: 28px;
}
.about-process-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
  content: counter(about-process, decimal-leading-zero);
}
.about-process-list li + li::before {
  top: 28px;
}
.about-principles {
  background: var(--surface);
}
.about-principles-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-principles-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.about-principles-list i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--brand);
}
.about-values {
  background: var(--ink);
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.about-values .section-header h2{
    color: var(--blue-soft);
}
.about-values-grid article {
  padding: 15px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(6, 42, 73, 0.06);
}
.about-values-grid h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}
.about-values-grid p {
  margin: 0;
  color: var(--muted);
}
.about-team {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.about-team::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
}
.about-team-feature {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
}
.about-team-feature.has-founder-quote {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: stretch;
}
.about-team .profile-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  box-shadow: 0 24px 55px rgba(6, 42, 73, 0.1);
}
.about-team .profile-card::before {
  display: none;
}
.about-team .profile-card .card-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.about-team .profile-card .card-body {
  flex: 1;
  padding: clamp(26px, 4vw, 42px);
  border: 0;
  background: transparent;
  box-shadow: none;
}
.about-team .profile-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}
.about-team .profile-role {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 7px 11px;
  border: 0;
  background: var(--green-soft);
  line-height: 1.35;
}
.about-team .team-member-content {
  padding-top: 20px;
  line-height: 1.75;
}
.about-founder-quote {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 32px 0 32px -1px;
  padding: clamp(36px, 5vw, 64px);
  border: 0;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 55px rgba(6, 42, 73, 0.16);
}
.about-founder-quote::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
  content: "";
}
.about-founder-quote-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.about-founder-quote-label i {
  font-size: 1rem;
}
.about-founder-quote blockquote {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.6;
}
.about-founder-quote blockquote p {
  margin: 0;
}
.about-founder-quote figcaption {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.about-founder-quote figcaption strong {
  font-size: 1.05rem;
}
.about-founder-quote figcaption span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}
.about-organizations {
  overflow: hidden;
  background: var(--ink);
}
.about-organizations .section-header h2{
  color: var(--blue-soft);  
}
.about-donors {
  background: #fff;
}
.about-logo-carousel .logo-carousel-viewport {
  padding-top: 8px;
}
.about-logo-carousel .logo-tile {
  min-height: 164px;
  grid-template-rows: minmax(84px, 1fr) auto;
  gap: 14px;
  color: var(--ink);
}
.about-logo-carousel .logo-tile img {
  max-height: 82px;
}
.about-logo-carousel .logo-carousel-controls {
  margin-top: 16px;
}
@media (max-width: 980px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
  }
  .about-hero-panel {
    max-width: 620px;
  }
}
@media (max-width: 900px) {
  .about-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-process-layout {
    grid-template-columns: 1fr;
  }
  .about-team-feature.has-founder-quote {
    grid-template-columns: 1fr;
  }
  .about-founder-quote {
    min-height: 0;
    margin: 0 24px;
  }
}
@media (max-width: 680px) {
  .about-direction-grid,
  .about-principles-list,
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-direction article {
    min-height: 0;
  }
  .about-hero-panel {
    grid-template-columns: 1fr 1fr;
  }
  .about-founder-quote {
    margin: 0;
  }
  .about-direction article > div {
    font-size: 1rem;
  }
  .about-hero-copy h2 {
    line-height: 1.2;
  }
}
@media (max-width: 520px) {
  .about-card-grid {
    grid-template-columns: 1fr;
  }
  .about-stat {
    min-height: 108px;
    padding: 18px;
  }
}
