/*
Theme Name: Eternal Hope
Author: Eternal Hope International
Description: A considered, accessible, community-centered theme for Eternal Hope International.
Version: 1.0.0
Text Domain: eternal-hope
Requires at least: 6.4
Requires PHP: 8.0
*/

@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/google-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/google-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-family: "Google Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --hero-title-size: 60px;
  --section-title-size: 48px;
  --paragraph-size: 18px;
  --cta-size: 16px;
  --hero-title-line-height: 72px;
  --section-title-line-height: 56px;
  --paragraph-line-height: 28px;
  --cta-line-height: 24px;
  --mint: #60D096;
  --purple: #120937;
  --black: #000000;
  --lime: #96BF47;
  --text: #E7ECFB;
  --ink: var(--purple);
  --muted: var(--purple);
  --primary: var(--purple);
  --primary-hover: var(--black);
  --paper: #FFFFFF;
  --wash: var(--black);
  --line: #12093726;
  --content: 1200px;
  --radius: 12px;
  --space: clamp(64px,8vw,116px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-family);
  font-size: var(--paragraph-size);
  font-weight: 400;
  line-height: 1.5555555556;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
summary {
  touch-action: manipulation;
}

button {
  font: inherit;
}

a:hover {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -.045em;
}

h1 {
  font-size: var(--hero-title-size);
  line-height: var(--hero-title-line-height);
}

h2 {
  font-size: var(--section-title-size);
  line-height: var(--section-title-line-height);
}

h3 {
  font-size: 23px;
  line-height: 32px;
  letter-spacing: -.025em;
}

p {
  color: var(--muted);
  font-size: var(--paragraph-size);
  line-height: var(--paragraph-line-height);
}

.container {
  width: min(var(--content),calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding-block: var(--space);
}

.lead {
  font-size: 18px;
  line-height: var(--paragraph-line-height);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--lime);
  border-radius: 6px;
  background: var(--lime);
  color: var(--purple);
  font-weight: 550;
  font-size: var(--cta-size);
  line-height: var(--cta-line-height);
  transition: background .18s ease,box-shadow .18s ease;
}

.button:hover {
  color: var(--purple);
  background: var(--lime);
  box-shadow: 0 3px 9px #12093726;
}

.button-small {
  min-height: 44px;
  gap: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: var(--cta-size);
  line-height: var(--cta-line-height);
  font-weight: 600;
  color: var(--primary);
  padding: 12px 24px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--black);
  color: var(--text);
  padding: 12px 20px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 30;
}

.header-inner {
  width: 100%;
  padding-inline: 32px;
  min-height: 86px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 112px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  letter-spacing: -.04em;
  line-height: 1.2;
  font-weight: 600;
  flex-shrink: 0;
}

.brand-symbol {
  width: 40px;
  height: 40px;
  color: var(--mint);
}

.brand-symbol svg {
  width: 100%;
}

.brand-sub {
  display: block;
  font-size: 9px;
  letter-spacing: .23em;
  font-weight: 500;
  margin-top: 5px;
}

.primary-nav,
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav {
  flex: 1;
  min-width: 0;
}

.primary-nav .button {
  margin-left: auto;
  border-radius: 999px;
  gap: 12px;
}

.primary-nav>a:not(.button),
.primary-nav li a {
  color: #5f6368;
  font-size: 16px;
  line-height: var(--cta-line-height);
  white-space: nowrap;
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color .18s ease;
}

.primary-nav>a:not(.button):hover,
.primary-nav li a:hover,
.primary-nav>a:not(.button):focus-visible,
.primary-nav li a:focus-visible {
  color: var(--purple);
}

.menu-toggle {
  display: none;
}

.mission-strip {
  border-block: 1px solid var(--line);
  background: var(--wash);
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  font-size: 13px;
  color: var(--muted);
}

.strip-inner>span:first-child {
  color: var(--ink);
  font-weight: 600;
}

.section-intro {
  max-width: 600px;
  margin-bottom: 44px;
}

.section-intro>p:last-child {
  max-width: 510px;
  font-size: var(--paragraph-size);
  margin-top: 21px;
}

.centered {
  margin-inline: auto;
  text-align: center;
  max-width: 690px;
}

.centered>p:last-child {
  margin-inline: auto;
  max-width: 560px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-copy>p {
  margin-top: 20px;
}

.about-copy .text-link {
  margin-top: 16px;
}

.about-art {
  background: var(--wash);
  min-height: 450px;
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.art-footer {
  font-size: 12px;
  color: var(--text);
}

.seed-art {
  display: grid;
  grid-template-columns: repeat(2,100px);
  gap: 8px;
  transform: rotate(-10deg);
  padding: 40px;
}

.seed-art span {
  display: block;
  width: 100px;
  height: 100px;
  background: var(--mint);
  border-radius: 100px 0 100px 0;
}

.seed-art span:nth-child(2) {
  transform: rotate(90deg);
  background: var(--mint);
}

.seed-art span:nth-child(3) {
  transform: rotate(90deg);
  background: var(--purple);
}

.seed-art span:nth-child(4) {
  background: var(--lime);
}

.involvement {
  border-top: 0;
}

.final-cta {
  background: var(--wash);
  border-radius: var(--radius);
  padding: 65px 32px;
  text-align: center;
  margin-bottom: 90px;
}

.final-cta h2 {
  margin-bottom: 30px;
}

.final-cta>p:last-child {
  margin-top: 19px;
  font-size: var(--paragraph-size);
}

.site-footer {
  background: #F8F9FA;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 55px;
}

.footer-main p {
  margin-top: 19px;
  font-size: var(--paragraph-size);
}

.footer-main h2 {
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.footer-main>div>a:not(.brand),
.footer-menu a {
  display: block;
  font-size: 13px;
  min-height: 34px;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 26px;
  padding: 23px 0;
  font-size: 11px;
  color: var(--muted);
}

.footer-bottom>span {
  margin-right: auto;
}

.content-main {
  min-height: 60vh;
}

.editorial {
  max-width: 780px;
  margin-inline: auto;
}

.editorial h1 {
  margin-bottom: 36px;
}

.editorial-image {
  border-radius: var(--radius);
  margin-bottom: 36px;
}

.entry-content>* {
  margin-block: 24px;
}

.entry-content h2 {
  font-size: var(--section-title-size);
}

.entry-content h3 {
  font-size: 25px;
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
}

.entry-content .alignwide {
  max-width: 1000px;
}

.entry-content blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 24px;
}

.admin-bar .site-header {
  top: 32px;
}

/* Main content uses neutral text; header and footer retain their own palette. */

#main {
  --ink: #202124;
  --muted: #202124;
  --primary: #202124;
  color: var(--ink);
}

#main h1,
#main h2,
#main h3 {
  letter-spacing: -0.5px;
}

.privacy-policy .editorial>h1 {
  font-size: 48px;
  line-height: 56px;
}

.privacy-policy .entry-content h2,
.privacy-policy .entry-content h3 {
  font-size: 28px;
  line-height: 36px;
}

.button {
  background: #4A3369;
  border-color: #4A3369;
  transition: background-color .2s,border-color .2s,box-shadow .2s,color .2s;
}

.button:hover {
  background: #402B5B;
  border-color: #402B5B;
  box-shadow: 0 1px 2px #3c40434d,0 1px 3px 1px #3c404326;
}

.button,
.button:hover,
#main .button {
  color: #FFFFFF;
  font-weight: 650;
}

#main .hero-secondary-button {
  color: #202124;
  font-weight: 550;
}

.brand-logo {
  display: block;
  width: auto;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.site-footer .brand-logo {
  height: 112px;
}

.site-footer {
  border-top: 0;
  padding-top: 0;
  font-size: 16px;
  line-height: 24px;
}

.site-footer>.container {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
}

.footer-main {
  grid-template-columns: minmax(0,1.5fr) repeat(4,minmax(0,1fr));
  gap: 40px;
  padding-top: 55px;
}

.footer-main h2 {
  color: #202124;
  font-size: 16px;
  line-height: 24px;
}

.footer-main p {
  font-size: 16px;
  line-height: 24px;
}

.footer-main .footer-email {
  margin-top: 20px;
  overflow-wrap: anywhere;
}

.footer-social {
  color: #202124;
  font-size: 16px;
  line-height: 24px;
}

.footer-social h2 {
  margin-bottom: 4px;
}

.footer-social ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: -12px;
  border-radius: 50%;
  color: #5f6368;
  transition: background-color .2s,color .2s;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: #1209370a;
  color: var(--purple);
}

.footer-social svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer-main>div>a:not(.brand),
.footer-menu a,
.footer-legal a {
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
  transition: color .18s ease;
}

.footer-main>div>a:not(.brand):hover,
.footer-main>div>a:not(.brand):focus-visible,
.footer-menu a:hover,
.footer-menu a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--purple);
}

.footer-bottom {
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
  align-items: center;
  align-content: center;
}

.footer-top {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  min-height: 71px;
  color: #1A73E8;
}

.footer-irs-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  vertical-align: middle;
  color: #000000;
  transition: color .18s ease;
}

.footer-irs-link svg {
  display: block;
  flex-shrink: 0;
}

.footer-irs-link:hover,
.footer-irs-link:focus-visible {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5f6368;
}

@media (max-width:1023px) {
  .footer-main {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 32px;
  }

  .footer-main>div:first-child {
    grid-column: 1/-1;
  }
}

@media (max-width:700px) {
  .site-header .brand-logo {
    height: 56px;
  }
}

@media (max-width:1100px) {
  .primary-nav,
  .primary-nav ul {
    gap: 24px;
  }

  .about-section {
    gap: 50px;
  }

  .header-inner {
    padding-inline: 24px;
    gap: 64px;
  }
}

@media (max-width:959px) {
  .header-inner {
    min-height: 76px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 5px;
    min-height: 44px;
    padding: 8px 14px;
    font-size: 16px;
    line-height: var(--cta-line-height);
    color: var(--ink);
  }

  .primary-nav {
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0 0 22px;
    gap: 5px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .primary-nav>a:not(.button),
  .primary-nav li a {
    padding: 8px 0;
  }

  .primary-nav .button {
    align-self: start;
    margin-top: 10px;
    margin-left: 0;
  }

  .strip-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
  }

  .strip-inner>span:first-child {
    flex-basis: 100%;
    text-align: center;
  }

  .about-art {
    min-height: 400px;
    padding: 23px;
  }

  .about-section {
    gap: 35px;
  }

  .seed-art {
    grid-template-columns: repeat(2,80px);
    padding: 20px;
  }

  .seed-art span {
    width: 80px;
    height: 80px;
  }
}

@media (max-width:700px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    padding-inline: 20px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-symbol {
    width: 33px;
    height: 33px;
  }

  .strip-inner {
    font-size: 11px;
    gap: 12px 20px;
  }

  .section-intro {
    margin-bottom: 32px;
  }

  .section-intro>p:last-child {
    font-size: var(--paragraph-size);
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-art {
    min-height: 340px;
  }

  .about-copy {
    max-width: 540px;
  }

  .final-cta {
    padding: 48px 22px;
    margin-bottom: 60px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-main>div:first-child {
    grid-column: 1/-1;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 14px 25px;
  }

  .footer-bottom>span {
    flex-basis: 100%;
    margin: 0;
  }

  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width:420px) {
  .card-top {
    margin-bottom: 20px;
  }

  .brand-sub {
    font-size: 8px;
  }

  .menu-toggle {
    padding: 8px 10px;
  }

  .strip-inner {
    gap: 12px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Light page surface with contrasting feature bands. */

.mission-strip,
.about-art,
.final-cta {
  --ink: var(--text);
  --muted: var(--text);
  --primary: var(--text);
  --line: #E7ECFB33;
  color: var(--ink);
  color-scheme: dark;
}

.mission-strip :focus-visible,
.about-art :focus-visible,
.final-cta :focus-visible {
  outline-color: var(--mint);
}

/* Reference spacing: 36/60/80/120px on desktop, 36/48/60/92px below 1024px. */

.home,
.inner-page {
  --spacer-4: 36px;
  --spacer-5: 60px;
  --spacer-6: 80px;
  --spacer-7: 120px;
}

@media (max-width:1023px) {
  .home,
  .inner-page {
    --spacer-5: 48px;
    --spacer-6: 60px;
    --spacer-7: 92px;
  }
}

/* Reference layout: four columns on phones, twelve at 600px and above. */

.hero.container,
#work.container,
.site-footer .container {
  --layout-columns: 4;
  --layout-gutter: 28px;
  width: calc(100% - 56px);
  max-width: 1296px;
}

#work {
  color: var(--ink);
  padding-inline: 0;
  padding-block: calc(var(--spacer-5) * 2) var(--spacer-6);
}

#work .section-intro {
  max-width: 100%;
  margin-bottom: calc(var(--spacer-4) + var(--spacer-5));
}

.program-rows {
  display: grid;
  grid-template-columns: repeat(var(--layout-columns),minmax(5px,1fr));
  column-gap: var(--layout-gutter);
  row-gap: calc(var(--spacer-4) + var(--spacer-5));
}

.program-row {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: repeat(4,minmax(5px,1fr));
  align-items: center;
  column-gap: 0;
  row-gap: 36px;
  min-width: 0;
}

.program-copy {
  width: 100%;
  min-width: 0;
  grid-column: 1/-1;
  grid-row: 2;
}

.program-copy h3 {
  font-size: 28px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -.035em;
  color: var(--ink);
}

.program-copy>p {
  margin-top: 20px;
  font-size: var(--paragraph-size);
  line-height: 28px;
  color: var(--ink);
}

.program-visual {
  grid-column: 1/-1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  background: #eff1f2;
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
}

.program-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.3;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.program-row:has(#program-education) .program-photo {
  object-position: 50% 25%;
}

.program-details {
  margin-top: 22px;
}

.program-details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #4A3369;
  color: #FFFFFF;
  font-size: var(--cta-size);
  line-height: var(--cta-line-height);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s,box-shadow .2s,color .2s;
}

.program-details summary::-webkit-details-marker {
  display: none;
}

.program-details summary:hover {
  background: #402B5B;
  color: #FFFFFF;
  box-shadow: 0 1px 2px #3c40434d,0 1px 3px 1px #3c404326;
}

.program-details[open] summary {
  margin-bottom: 16px;
}

.program-details p {
  font-size: var(--paragraph-size);
  line-height: var(--paragraph-line-height);
  color: var(--ink);
}

.program-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
}

.program-illustration svg {
  position: relative;
  width: 46%;
  height: 46%;
  color: var(--purple);
  z-index: 1;
}

.illustration-orbit {
  position: absolute;
  inset: 13%;
  background: var(--mint);
  border-radius: 50% 50% 18% 50%;
  transform: rotate(-12deg);
}

.illustration-dot {
  position: absolute;
  width: 23%;
  height: 23%;
  border-radius: 50%;
  background: var(--lime);
  right: 7%;
  top: 7%;
}

.program-row:nth-child(3) .illustration-orbit {
  background: var(--lime);
  border-radius: 30% 50% 50% 50%;
  transform: rotate(15deg);
}

.program-row:nth-child(3) .illustration-dot {
  background: var(--mint);
  top: auto;
  bottom: 10%;
  right: 10%;
}

.program-row:nth-child(4) .illustration-orbit {
  border-radius: 22%;
  transform: rotate(-8deg);
}

.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;
}

@media (max-width:700px) {
  .program-visual {
    padding: 24px;
  }
}

@media (min-width:600px) {
  .hero.container,
  #work.container,
  .site-footer .container {
    --layout-columns: 12;
    --layout-gutter: 40px;
    width: calc(100% - 80px);
  }

  .program-row {
    grid-column: 2/span 10;
    grid-template-columns: repeat(10,minmax(5px,1fr));
  }

  .program-copy h3 {
    font-size: 40px;
    line-height: 48px;
  }
}

@media (min-width:1024px) {
  .hero.container,
  #work.container,
  .site-footer .container {
    --layout-gutter: 48px;
    width: calc(100% - 144px);
  }

  .program-row {
    column-gap: var(--layout-gutter);
    row-gap: 0;
  }

  .program-copy {
    grid-column: 1/span 5;
    grid-row: 1;
  }

  .program-copy h3 {
    font-size: 48px;
    line-height: 56px;
  }

  .program-visual {
    grid-column: 6/span 5;
    grid-row: 1;
    max-width: 502px;
  }

  .program-row:nth-child(even) .program-copy {
    grid-column: 6/span 5;
  }

  .program-row:nth-child(even) .program-visual {
    grid-column: 1/span 5;
  }
}

@media (min-width:1440px) {
  .hero.container,
  #work.container {
    --layout-gutter: 64px;
  }
}

.mission-strip a,
.about-art a,
.final-cta a {
  color: var(--text);
}

/* Centered introduction above a single full-width photograph. */

.hero,
.approach {
  --content: 1280px;
}

.hero {
  display: block;
  padding-block: var(--spacer-6) 0;
}

.hero-image {
  width: 100%;
  aspect-ratio: 2560/1441;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--purple);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

#work .section-intro h2 {
  font-size: var(--section-title-size);
}

.hero-intro {
  max-width: 1200px;
  margin: 0 auto calc(8px + var(--spacer-5));
  text-align: center;
  color: var(--ink);
}

.hero-intro h1 {
  font-size: var(--hero-title-size);
  line-height: var(--hero-title-line-height);
  letter-spacing: -.04em;
  font-weight: 400;
}

.hero-intro>p {
  max-width: 800px;
  margin: 26px auto 0;
  font-size: var(--paragraph-size);
  line-height: var(--paragraph-line-height);
  color: var(--ink);
}

.hero-intro-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-intro-actions .button {
  border-radius: 999px;
  min-height: 52px;
}

.hero-intro-actions .hero-secondary-button {
  background: var(--paper);
  border-color: #5f6368;
  color: var(--purple);
  box-shadow: none;
  transition: background-color .2s,box-shadow .2s,color .2s;
}

.hero-intro-actions .hero-secondary-button:hover {
  background: #1209370a;
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: none;
  text-decoration: none;
}

.hero-intro-actions .hero-secondary-button:focus-visible {
  background: #1209371f;
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: 0 0 0 2px var(--purple);
  outline: 2px solid transparent;
  outline-offset: 1px;
  text-decoration: none;
  transition: none;
}

.hero-intro-actions .hero-secondary-button:active {
  background: #1209371a;
  border-color: var(--purple);
  color: var(--purple);
  text-decoration: none;
  transition: none;
}

@media (max-width:700px) {
  .hero-intro>p {
    font-size: var(--paragraph-size);
    margin-top: 22px;
  }

  .hero-intro-actions {
    margin-top: 26px;
  }
}

@media (max-width:420px) {
  .hero-intro h1 {
    font-size: var(--hero-title-size);
  }
}

/* Selectable approach panels share the hero photograph's wider container. */

.approach {
  color: var(--ink);
  padding: var(--spacer-5) 0 var(--spacer-6);
}

.approach .section-intro {
  max-width: 100%;
  margin-bottom: var(--spacer-4);
}

.approach .section-intro>p {
  max-width: 620px;
}

.approach-tabs {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  box-shadow: inset 0 -3px 0 #F1F3F4;
  margin-bottom: 0;
}

.approach-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 20px 24px;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-size: var(--cta-size);
  line-height: var(--cta-line-height);
  font-weight: 500;
  text-align: center;
  transition: color .18s ease,border-color .18s ease;
}

.approach-tab:hover {
  color: var(--ink);
}

.approach-tab:focus-visible {
  outline-offset: -6px;
}

.approach-tab[aria-selected="true"] {
  background: #1A73E814;
  border-radius: 12px 12px 0 0;
  border-bottom-color: #1A73E8;
  color: #1A73E8;
}

.approach-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  gap: 64px;
  align-items: start;
  margin-top: var(--spacer-5);
}

.approach-panel[hidden] {
  display: none;
}

.approach-copy h3 {
  font-size: var(--section-title-size);
  line-height: var(--section-title-line-height);
  letter-spacing: -.035em;
  color: var(--ink);
}

.approach-copy p {
  margin-top: 20px;
  font-size: var(--paragraph-size);
  line-height: var(--paragraph-line-height);
  color: var(--ink);
}

.approach-media {
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  background: var(--black);
}

.approach-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#approach-panel-support .approach-media img {
  object-position: 50% 20%;
}

@media (max-width:959px) {
  .approach-panel {
    gap: 30px;
  }

  .approach-tab {
    padding-inline: 12px;
  }
}

@media (max-width:700px) {
  .approach-tabs {
    grid-template-columns: repeat(4,minmax(140px,1fr));
    overflow-x: auto;
  }

  .approach-tab {
    padding: 16px 20px;
  }

  .approach-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .approach-media {
    border-radius: 18px;
  }
}

@media (max-width:1023px) {
  :root {
    --hero-title-size: 48px;
    --hero-title-line-height: 56px;
    --section-title-size: 40px;
    --section-title-line-height: 48px;
  }
}

@media (max-width:599px) {
  :root {
    --hero-title-size: 36px;
    --hero-title-line-height: 44px;
    --section-title-size: 28px;
    --section-title-line-height: 36px;
  }
}

/* Two giving cards follow the reference's photo-led, 24px rounded layout. */

.involvement .container,
.partners,
.collaboration {
  width: calc(100% - 56px);
  max-width: 1296px;
}

.involvement {
  padding-block: var(--spacer-5) var(--spacer-6);
}

.involvement .section-intro {
  max-width: 100%;
  margin-bottom: calc(var(--spacer-4) + var(--spacer-5));
}

.involvement .section-intro>p {
  max-width: 720px;
}

.giving-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}

.giving-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color .18s ease;
}

.giving-card:hover,
.giving-card:focus-within {
  border-color: #12093759;
}

.giving-card-media {
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: #eff1f2;
}

.giving-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.giving-card:first-child .giving-card-media img {
  object-position: 50% center;
}

.giving-card:last-child .giving-card-media img {
  object-position: 50% 58%;
}

.giving-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 24px 32px;
}

.giving-card h3 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  color: var(--ink);
}

.giving-card-content>p {
  margin-top: 16px;
  color: var(--ink);
}

.giving-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

#main .giving-card-actions .button {
  border-radius: 999px;
  gap: 12px;
  background: #1A73E8;
  border-color: #1A73E8;
  color: #FFFFFF;
}

#main .giving-card-actions .button:hover {
  background: #185ABC;
  border-color: #185ABC;
}

.giving-more {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 64px;
  margin-top: 24px;
  padding: 40px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color .18s ease;
}

.giving-more:hover,
.giving-more:focus-within {
  border-color: #12093759;
}

.giving-more-copy {
  min-width: 0;
  max-width: 560px;
}

.giving-more h3 {
  font-size: var(--section-title-size);
  line-height: var(--section-title-line-height);
  letter-spacing: -.5px;
}

.giving-more p {
  margin-top: 24px;
}

.giving-more-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

#main .giving-more .button {
  max-width: 100%;
  margin-top: 28px;
  border-radius: 999px;
  background: #1A73E8;
  border-color: #1A73E8;
  color: #FFFFFF;
  text-align: center;
}

#main .giving-more-actions .button {
  margin-top: 0;
}

#main .giving-more .button:hover {
  background: #185ABC;
  border-color: #185ABC;
}

.giving-collage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 6/5;
  margin-inline: auto;
}

.giving-collage::before {
  content: "";
  position: absolute;
  inset: 9% 8%;
  border-radius: 50%;
  background: #F1F6FE;
  z-index: -1;
}

.giving-collage-photo {
  position: absolute;
  overflow: hidden;
  border: 6px solid #FFFFFF;
  border-radius: 20px;
  background: #F1F3F4;
  box-shadow: 0 8px 24px #20212416;
}

.giving-collage-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.giving-collage-main {
  left: 26.5%;
  top: 6%;
  width: 47%;
  height: 86%;
  z-index: 1;
}

.giving-collage-left {
  left: 4%;
  top: 43%;
  width: 44%;
  height: 46%;
  transform: rotate(-9deg);
  z-index: 2;
}

.giving-collage-right {
  right: 4%;
  top: 22%;
  width: 44%;
  height: 46%;
  transform: rotate(9deg);
  z-index: 3;
}

@media (max-width:1023px) {
  .giving-more {
    gap: 40px;
  }
}

@media (max-width:959px) {
  .giving-more {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .giving-more-copy {
    max-width: 680px;
  }

  .giving-collage {
    max-width: 520px;
  }
}

@media (max-width:599px) {
  .giving-more {
    padding: 24px;
  }

  .giving-collage-photo {
    border-width: 4px;
    border-radius: 16px;
  }
}

/* Partners and the invitation span the same ten inner columns as each program row. */

@media (min-width:600px) {
  .involvement .container {
    width: calc(100% - 80px);
  }

  .partners,
  .collaboration {
    width: calc((min(1296px,100% - 80px) * 5 - 40px) / 6);
  }
}

@media (min-width:1024px) {
  .involvement .container {
    width: calc(100% - 144px);
  }

  .partners,
  .collaboration {
    width: calc((min(1296px,100% - 144px) * 5 - 48px) / 6);
  }
}

@media (min-width:1440px) {
  .partners,
  .collaboration {
    width: calc((min(1296px,100% - 144px) * 5 - 64px) / 6);
  }
}

@media (max-width:700px) {
  .giving-grid {
    grid-template-columns: 1fr;
  }

  .giving-card-content {
    padding: 24px;
  }

  .giving-card h3 {
    font-size: 24px;
    line-height: 32px;
  }
}

.partners {
  padding-block: var(--spacer-5) var(--spacer-6);
}

.partners .section-intro {
  max-width: 100%;
  margin-bottom: var(--spacer-5);
}

.partners .section-intro>p {
  max-width: 760px;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 16px 12px;
  border-radius: 16px;
  text-align: center;
  color: #5f6368;
  transition: background-color .18s ease,color .18s ease;
}

.partner-logo:hover,
.partner-logo:focus-visible {
  background: #F8F9FA;
  color: #120937;
}

.partner-logo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 110px;
}

.partner-logo-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%,210px);
  max-height: 100px;
  object-fit: contain;
}

.partner-name {
  font-size: 16px;
  line-height: 24px;
}

@media (min-width:600px) and (max-width:959px) {
  .partner-logos {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:599px) {
  .partner-logos {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .partner-logo {
    max-width: 280px;
    margin-inline: auto;
  }
}

.collaboration {
  --ink: #202124;
  --muted: #202124;
  text-align: center;
  background: #E7F0FE;
  color: var(--ink);
  border: 1px solid #E7F0FE;
  border-radius: 24px;
  padding: 64px 40px;
  margin-top: var(--spacer-5);
  margin-bottom: var(--spacer-7);
}

.collaboration p {
  max-width: 760px;
  margin: 20px auto 28px;
}

.collaboration .button {
  border-radius: 999px;
  gap: 12px;
}

.collaboration-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.collaboration-actions .button {
  max-width: 100%;
}

@media (max-width:700px) {
  .collaboration {
    padding: 40px 24px;
  }
}

/* The header recedes on downward scrolling and returns on upward scrolling. */

.projects-hero {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  align-items: center;
  gap: 96px;
  padding-block: var(--spacer-6) 0;
}

.projects-hero-copy p {
  max-width: 650px;
  margin-top: 24px;
}

.projects-hero-collage {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(0,1fr);
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.projects-hero-collage-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #F1F3F4;
}

.projects-hero-collage-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-hero-collage-main {
  grid-column: 1;
  grid-row: 1/span 2;
  aspect-ratio: 1;
}

.projects-hero-collage-main img {
  object-position: 50% 35%;
}

.projects-hero-collage-left {
  grid-column: 2;
  grid-row: 1;
}

.projects-hero-collage-right {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width:959px) {
  .projects-hero-collage {
    max-width: 520px;
  }
}

@media (max-width:599px) {
  .projects-hero-collage {
    gap: 12px;
  }

  .projects-hero-collage-photo {
    border-radius: 18px;
  }
}

.stage-completed {
  color: #287344;
  background: #EAF3EC;
}

.stage-ongoing {
  color: #185ABC;
  background: #E7F0FE;
}

.stage-upcoming {
  color: #74521C;
  background: #FFF3DF;
}

.project-list-section {
  padding-top: calc(var(--spacer-5) * 2);
  padding-bottom: var(--spacer-6);
}

.project-list-section .section-intro {
  max-width: 100%;
  margin-bottom: 32px;
}

.project-list-section .section-intro>p {
  max-width: 760px;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.project-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #DADCE0;
  border-radius: 999px;
  background: #FFFFFF;
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: background .18s ease,border-color .18s ease,color .18s ease;
}

.project-filters button:hover {
  background: #F1F3F4;
  color: #202124;
}

.project-filters button[aria-pressed="true"] {
  background: #E7F0FE;
  border-color: #1A73E8;
  color: #185ABC;
}

.project-filter-count {
  min-width: 20px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 36px 24px;
  margin-top: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #DADCE0;
  border-radius: 24px;
  background: #FFFFFF;
  transition: border-color .18s ease;
}

.project-card:hover,
.project-card:focus-within {
  border-color: #12093759;
}

.project-card[hidden] {
  display: none;
}

.project-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #F1F3F4;
}

.project-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 28px 32px 32px;
}

.project-stage {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
}

.project-stage>span {
  font-weight: 400;
}

.project-card h3 {
  margin-top: 20px;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.25px;
}

.project-card-content>p {
  margin-top: 16px;
}

.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
  padding-bottom: 28px;
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
}

.project-card .button {
  margin-top: auto;
  border-radius: 999px;
}

.project-records {
  padding-block: var(--spacer-5) var(--spacer-6);
}

.project-record-intro {
  min-width: 0;
  text-align: center;
}

.project-record-intro h2 {
  max-width: 1100px;
  margin-inline: auto;
}

.project-record-intro p {
  max-width: 800px;
  margin: 24px auto 0;
}

.project-record-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  column-gap: 32px;
  margin: calc(var(--spacer-4) + var(--spacer-5)) 0 0;
  padding: 0;
  list-style: none;
}

.project-record-steps li {
  min-width: 0;
}

.project-record-steps li+li {
  padding-left: 32px;
  border-left: 1px solid #F1F3F4;
}

.project-record-number {
  display: block;
  margin-bottom: 20px;
  color: #4A3369;
  font-size: 48px;
  line-height: 56px;
  font-weight: 400;
  letter-spacing: -.5px;
}

.project-record-steps h3 {
  min-height: 72px;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.25px;
}

.project-record-steps p {
  margin-top: 16px;
}

@media (min-width:960px) and (max-width:1199px) {
  .project-record-steps {
    column-gap: 24px;
  }

  .project-record-steps li+li {
    padding-left: 24px;
  }

  .project-record-steps h3 {
    min-height: 108px;
  }
}

@media (max-width:959px) {
  .project-record-steps {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .project-record-steps li+li {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid #F1F3F4;
  }

  .project-record-steps h3 {
    min-height: 0;
  }
}

@media (max-width:599px) {
  .project-record-number {
    font-size: 40px;
    line-height: 48px;
  }
}

.inner-page.projects-page>.collaboration {
  margin-top: var(--spacer-5);
}

.project-detail-hero {
  padding-top: var(--spacer-6);
}

.project-detail-heading {
  text-align: center;
}

.project-detail-heading h1 {
  max-width: 1100px;
  margin-inline: auto;
}

.project-collage {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 24px;
  height: 560px;
  margin-top: var(--spacer-5);
}

.project-collage figure {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #F1F3F4;
}

.project-collage figure:first-child {
  grid-row: 1/span 2;
}

.project-collage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-record {
  padding-top: var(--spacer-5);
}

.project-summary {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 32px;
  margin-block: 40px 0;
  padding: 28px 32px;
  background: #F8F9FA;
  border-radius: 24px;
}

.project-facts>div {
  min-width: 0;
}

.project-facts dt {
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.project-facts dd {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 28px;
  color: #202124;
}

.project-mobile-contents {
  display: none;
  margin-top: 32px;
  border-block: 1px solid #F1F3F4;
}

.project-mobile-contents summary {
  padding-block: 16px;
  min-height: 56px;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.project-mobile-contents nav {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 24px;
  padding-bottom: 16px;
}

.project-mobile-contents a {
  min-height: 48px;
  padding-block: 12px;
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.project-mobile-contents a:hover {
  color: #120937;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-snapshot {
  padding-block: calc(var(--spacer-5) * 2) var(--spacer-6);
}

.project-snapshot .section-intro {
  max-width: 100%;
  margin-bottom: calc(var(--spacer-4) + var(--spacer-5));
}

.project-snapshot .section-intro>p {
  max-width: 800px;
}

.project-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
}

.project-snapshot-grid>div {
  min-width: 0;
  padding: 32px;
  background: #F1F3F4;
  border: 1px solid #DADCE0;
  border-radius: 12px;
}

#main .project-snapshot-value {
  margin-bottom: 24px;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -.5px;
  color: #1A73E8;
}

.project-detail-body {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(320px,1fr);
  gap: 80px;
  padding-block: var(--spacer-5) var(--spacer-6);
}

.project-related {
  padding-block: var(--spacer-5) var(--spacer-6);
}

.project-related .section-intro {
  max-width: 100%;
  margin-bottom: var(--spacer-5);
}

.project-related .section-intro>p {
  max-width: 760px;
}

.project-related .project-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: 0;
}

@media (min-width:701px) and (max-width:1023px) {
  .project-related .project-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:700px) {
  .project-related .project-grid {
    grid-template-columns: 1fr;
  }
}

.project-narrative {
  --project-topic-gap: calc((var(--spacer-6) + var(--spacer-5)) * .75);
  min-width: 0;
}

.project-narrative>section+section {
  margin-top: var(--project-topic-gap);
}

.project-topic-images {
  display: flex;
  flex-direction: column;
  gap: calc(var(--project-topic-gap) / 2);
  margin-top: calc(var(--project-topic-gap) / 2);
}

.project-topic-images figure {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #F1F3F4;
}

.project-topic-images img {
  display: block;
  width: 100%;
  height: auto;
}

.project-narrative>section>p {
  margin-top: 24px;
}

.project-work-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.project-work-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid #F1F3F4;
}

.project-work-list li>span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: #E7F0FE;
  color: #185ABC;
  font-size: 16px;
  line-height: 24px;
}

.project-work-list p {
  padding-top: 4px;
}

.project-updates {
  margin-top: 32px;
}

.project-updates article {
  position: relative;
  padding: 0 0 32px 28px;
  border-left: 2px solid #DADCE0;
}

.project-updates article:last-child {
  padding-bottom: 0;
}

.project-updates article::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1A73E8;
}

#main .project-update-date {
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.project-updates h3 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.25px;
}

.project-updates article>p:last-child {
  margin-top: 12px;
}

.project-outcomes {
  margin-top: 32px;
}

.project-outcomes article {
  padding-top: 28px;
  border-top: 1px solid #F1F3F4;
}

.project-outcomes article+article {
  margin-top: 28px;
}

.project-outcomes h3 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.25px;
}

.project-outcomes article>p {
  margin-top: 12px;
}

.project-measures {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 0;
  padding-left: 22px;
  font-size: 18px;
  line-height: 28px;
}

.project-sidebar {
  --ink: #FFFFFF;
  --muted: #FFFFFF;
  --primary: #FFFFFF;
  min-width: 0;
  color: #FFFFFF;
}

.project-sidebar-inner {
  position: sticky;
  top: 110px;
  padding: 20px;
  background: #1A73E8;
  border-radius: 24px;
}

.project-sidebar h2,
.project-budget h3 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.25px;
}

.project-sidebar nav {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 4px 12px;
  margin-top: 8px;
}

.project-sidebar nav a {
  padding-block: 2px;
  min-height: 28px;
  font-size: 16px;
  line-height: 24px;
  color: #E7ECFB;
  text-align: left;
}

.project-sidebar nav a:nth-child(even) {
  text-align: right;
}

.project-sidebar nav a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-budget {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #FFFFFF40;
}

.project-budget p {
  margin-top: 4px;
}

.project-budget-totals {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin: 8px 0 0;
}

.project-budget-totals>div {
  min-width: 0;
}

.project-budget-totals>div+div {
  text-align: right;
}

.project-budget-totals dt {
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
}

.project-budget-totals dd {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 36px;
  color: #FFFFFF;
  white-space: nowrap;
}

.project-budget-totals-row {
  grid-template-columns: 1fr;
}

.project-budget-totals-row>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-budget-totals-row dd {
  margin: 0;
  text-align: right;
}

.project-cost-breakdown {
  margin: 8px 0 0;
}

.project-cost-breakdown>div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-block: 4px;
  border-top: 1px solid #FFFFFF40;
  font-size: 16px;
  line-height: 24px;
}

.project-cost-breakdown dd {
  margin: 0;
  white-space: nowrap;
}

.project-record-updated {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #FFFFFF40;
}

.project-record-updated h3 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.25px;
}

.project-record-updated p {
  margin-top: 4px;
  text-align: left;
}

#main .project-sidebar .button {
  width: 100%;
  max-width: 100%;
  margin-top: 16px;
  border-radius: 999px;
  background: #FFBA5B;
  border-color: #FFBA5B;
  color: #000000;
  text-align: center;
}

#main .project-sidebar .button:hover {
  background: #F3AA46;
  border-color: #F3AA46;
  color: #000000;
}

.project-sidebar :focus-visible {
  outline-color: #FFFFFF;
}

@media (max-width:1023px) {
  .projects-hero {
    gap: 48px;
  }

  .project-detail-body {
    gap: 40px;
  }

  .project-facts {
    gap: 24px;
    padding: 24px;
  }

  .project-collage {
    height: 440px;
  }

  .project-card-content {
    padding: 24px;
  }

  .project-snapshot-grid>div {
    padding: 24px;
  }
}

@media (max-width:959px) {
  .projects-hero,
  .project-detail-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-hero-copy {
    max-width: 720px;
  }

  .project-mobile-contents {
    display: block;
  }

  .project-sidebar-inner {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .project-sidebar h2,
  .project-sidebar nav,
  #main .project-sidebar .button {
    display: none;
  }

  .project-sidebar .project-budget {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .project-facts {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:700px) {
  .project-grid,
  .project-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .project-filters {
    gap: 8px;
  }

  .project-filters button {
    padding: 12px 16px;
  }

  .project-mobile-contents nav {
    grid-template-columns: 1fr;
  }

  .project-work-list li {
    gap: 16px;
  }

  .project-collage {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: auto auto;
    gap: 16px;
    height: auto;
  }

  .project-collage figure:first-child {
    grid-column: 1/-1;
    grid-row: 1;
    aspect-ratio: 3/2;
  }

  .project-collage figure:not(:first-child) {
    aspect-ratio: 4/3;
  }

  .project-collage figure {
    border-radius: 20px;
  }
}

@media (max-width:380px) {
  .project-facts {
    grid-template-columns: 1fr;
  }
}

@media (min-width:701px) and (max-width:959px) {
  #main .project-snapshot-value {
    font-size: 40px;
    line-height: 48px;
    white-space: nowrap;
  }
}

/* The three giving paths use the same labels in the overview and detailed sections. */

.ways-hero {
  padding-top: var(--spacer-6);
}

.ways-hero-intro {
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
}

.ways-hero-intro>p {
  max-width: 800px;
  margin: 24px auto 0;
}

.ways-choices {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  margin-top: var(--spacer-5);
}

.ways-choice[href="#donate-once"],
#donate-once {
  --way-bg: #EFF5E3;
  --way-text: #202124;
}

.ways-choice[href="#give-monthly"],
#give-monthly {
  --way-bg: #FFF4E3;
  --way-text: #202124;
}

.ways-choice[href="#celebrate-and-give"],
#celebrate-and-give {
  --way-bg: #EEF0F5;
  --way-text: #202124;
}

.ways-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 28px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: #F0EFEB;
  color: #202124;
  transition: background-color .2s,border-color .2s,box-shadow .2s;
}

.ways-choice svg {
  color: #202124;
  margin-bottom: 24px;
}

.ways-choice-title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #1A73E8;
}

.ways-choice-detail {
  margin-top: 8px;
  font-size: 18px;
  line-height: 28px;
  color: #202124;
}

.ways-choice:hover,
.ways-choice:focus-visible {
  background: var(--way-bg);
  color: #202124;
  box-shadow: 0 2px 8px #2021240A;
}

.ways-section {
  margin-top: calc(var(--spacer-6) + var(--spacer-5));
}

.ways-path {
  display: grid;
  grid-template-columns: minmax(260px,1fr) minmax(0,2.5fr);
  align-items: start;
  gap: 64px;
}

.ways-details-intro+.ways-path {
  margin-top: var(--spacer-5);
}

.ways-path-intro {
  --ink: var(--way-text);
  --muted: var(--way-text);
  position: sticky;
  top: 110px;
  min-width: 0;
  padding: 28px;
  border-radius: 24px;
  background: var(--way-bg);
  color: var(--way-text);
}

.ways-path-intro h2 {
  color: var(--way-text);
}

.ways-path-intro>p {
  margin-top: 24px;
}

.ways-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
  min-width: 0;
}

.ways-option {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #F1F3F4;
  border-radius: 24px;
  background: #F8F9FA;
}

.ways-option figure {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #F1F3F4;
}

.ways-option img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ways-option-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 28px;
}

.ways-page h3 {
  font-size: 28px;
  line-height: 36px;
}

.ways-option-copy>p {
  margin-block: 16px 28px;
}

.ways-page .button {
  border-radius: 999px;
}

.ways-option .button {
  margin-top: auto;
  max-width: 100%;
  text-align: center;
}

:is(#donate-once,#celebrate-and-give) .ways-options {
  grid-template-columns: 1fr;
}

:is(#donate-once,#celebrate-and-give) .ways-option {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  min-height: 320px;
}

:is(#donate-once,#celebrate-and-give) .ways-option figure {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: auto;
  min-height: 280px;
}

:is(#donate-once,#celebrate-and-give) .ways-option-copy {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
}

:is(#donate-once,#celebrate-and-give) .ways-option .button {
  margin-top: 0;
}

@media (min-width:600px) {
  :is(#donate-once,#celebrate-and-give) .ways-option img {
    position: absolute;
    inset: 0;
  }
}

#main.ways-page .button {
  background: #1A73E8;
  border-color: #1A73E8;
  color: #FFFFFF;
}

#main.ways-page .button:hover {
  background: #185ABC;
  border-color: #185ABC;
  color: #FFFFFF;
}

.ways-occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ways-occasions li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #F1ECF7;
  color: #4A3369;
  font-size: 16px;
  line-height: 24px;
}

#celebrate-and-give .ways-occasions li {
  background: #FFFFFFB3;
  color: #151E33;
}

.ways-page .section-intro {
  max-width: 1100px;
  margin-bottom: var(--spacer-5);
}

.ways-page .ways-details-intro .section-intro {
  margin-bottom: 0;
}

.ways-details-intro .section-intro>p {
  max-width: 760px;
}

.ways-question-list {
  max-width: 900px;
  margin-inline: auto;
}

.ways-partnership {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  align-items: center;
  gap: 48px;
  padding: 40px;
  border: 1px solid #E8EAED;
  border-radius: 24px;
  background: #F8F9FA;
}

.ways-partnership>h2,
.ways-partnership-copy {
  min-width: 0;
}

.ways-partnership-copy>ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.ways-partnership-copy li {
  padding: 8px 12px;
  border-radius: 8px;
  background: #EFF5E3;
  color: #202124;
  font-size: 16px;
  line-height: 24px;
}

.ways-partnership .button {
  max-width: 100%;
  text-align: center;
}

@media (max-width:959px) {
  .ways-partnership {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 32px;
  }
}

@media (max-width:599px) {
  .ways-partnership {
    padding: 32px 24px;
  }
}

.ways-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: calc(var(--spacer-6) + var(--spacer-5));
  margin-bottom: var(--spacer-7);
  padding: 40px;
  border-radius: 24px;
  background: #E7F0FE;
}

.ways-contact h2 {
  font-size: 28px;
  line-height: 36px;
}

.ways-contact p {
  max-width: 650px;
  margin-top: 16px;
}

.ways-contact .button {
  flex-shrink: 0;
  text-align: center;
}

@media (max-width:1023px) {
  .ways-choices {
    gap: 16px;
  }

  .ways-path {
    gap: 40px;
  }

  .ways-option-copy {
    padding: 24px;
  }
}

@media (max-width:959px) {
  .ways-path {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ways-path-intro {
    position: static;
    max-width: 800px;
  }

  .ways-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (max-width:599px) {
  .ways-choices {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ways-choice {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr);
    align-items: start;
    gap: 8px 16px;
    padding: 20px;
  }

  .ways-choice svg {
    grid-row: 1/span 2;
    margin: 4px 0 0;
  }

  .ways-choice-title,
  .ways-choice-detail {
    grid-column: 2;
  }

  .ways-choice-detail {
    margin-top: 0;
  }

  .ways-options {
    grid-template-columns: 1fr;
  }

  .ways-contact {
    padding: 32px 24px;
  }
}

@media (max-width:599px) {
  :is(#donate-once,#celebrate-and-give) .ways-option {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  :is(#donate-once,#celebrate-and-give) .ways-option figure {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 16/9;
    min-height: 0;
    height: auto;
  }

  :is(#donate-once,#celebrate-and-give) .ways-option-copy {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Supply donations: a welcoming overview and a simple delivery conversation. */

.supply-hero {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  align-items: center;
  gap: 72px;
  padding-top: var(--spacer-6);
}

.supply-hero-copy {
  min-width: 0;
}

.supply-hero-copy>p {
  max-width: 650px;
  margin-top: 24px;
}

.supply-hero-copy>.button {
  margin-top: 28px;
}

.supply-hero-art {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.supply-hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.supply-section {
  margin-top: calc(var(--spacer-6) + var(--spacer-5));
}

.supply-hero+.supply-catalog {
  margin-top: calc(var(--spacer-5) * 2);
}

.supplies-page .section-intro {
  max-width: 1100px;
  margin-bottom: var(--spacer-5);
}

.supplies-page .section-intro>p {
  max-width: 800px;
}

.supply-category-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 24px;
}

.supply-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: span 2;
  min-width: 0;
  padding: 32px;
  border: 1px solid #F1F3F4;
  border-radius: 24px;
  background: #F8F9FA;
  transition: background-color .2s,border-color .2s;
}

.supply-category:nth-child(n+4) {
  grid-column: span 3;
}

.supply-category.is-selected {
  background: #F1F6FE;
  border-color: #A8C7FA;
}

.supply-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #E7F0FE;
  color: #1A73E8;
}

.supplies-page h3 {
  font-size: 28px;
  line-height: 36px;
}

.supply-category>p {
  margin-top: 16px;
}

.supply-category ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  line-height: 28px;
}

.supply-category li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.supply-category li+li {
  margin-top: 8px;
}

.supply-category li::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: 12px;
  border-radius: 50%;
  background: #5f6368;
}

.supply-category-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.supply-category-action {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1A73E8;
  font-size: 16px;
  line-height: 24px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}

.supply-category-action svg {
  flex-shrink: 0;
}

.supply-category-remove {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  transition: background .2s ease,color .2s ease;
}

.supply-category-remove[hidden] {
  display: none;
}

.supply-category-remove:hover {
  background: #E8EAED;
  color: #202124;
}

.supply-category-action:hover,
.supply-edit:hover {
  color: #185ABC;
}

.supply-catalog-note {
  max-width: 900px;
  margin: 32px auto 0;
  text-align: center;
}

.supply-selection-status {
  min-height: 24px;
  margin-top: 16px;
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.supply-donation {
  margin-bottom: var(--spacer-7);
}

.supply-donation-grid {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr);
  align-items: start;
  gap: 48px;
}

.supply-delivery {
  --ink: #202124;
  --muted: #202124;
  position: sticky;
  top: 110px;
  min-width: 0;
  padding: 40px;
  border-radius: 24px;
  background: var(--lime);
  color: #202124;
}

.supply-delivery h3 {
  color: #202124;
}

.supply-delivery>p {
  margin-top: 16px;
}

.supply-delivery-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #FFFFFF33;
  color: #202124;
}

.supply-delivery-details {
  margin: 32px 0 0;
}

.supply-delivery-details>div+div {
  margin-top: 24px;
}

.supply-delivery-details dt {
  color: #42552C;
  font-size: 16px;
  line-height: 24px;
}

.supply-delivery-details dd {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 28px;
  overflow-wrap: anywhere;
}

.supply-delivery-details address {
  font-style: normal;
}

.supply-delivery-details dd>span {
  display: block;
}

.supply-delivery a:hover {
  color: #120937;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.supply-delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #20212426;
}

.supply-delivery-note>svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  color: #42552C;
}

.supply-form-card {
  --giving-options-inset: 40px;
  min-width: 0;
  padding: var(--giving-options-inset);
  border: 1px solid #DADCE0;
  border-radius: 24px;
  background: #FFFFFF;
}

.supply-form {
  display: grid;
  gap: 24px;
}

.supply-form[hidden],
.supply-thanks[hidden] {
  display: none;
}

.supply-anonymous,
.supply-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.supply-anonymous {
  padding: 20px;
  border-radius: 16px;
  background: #F8F9FA;
}

.supply-anonymous small {
  display: block;
  margin-top: 6px;
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
}

.supplies-page input[type="checkbox"],
.supplies-page input[type="radio"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #1A73E8;
  cursor: pointer;
}

.supply-form-fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.supply-field {
  min-width: 0;
}

.supply-field>label,
.supply-fieldset legend {
  display: block;
  margin-bottom: 10px;
  color: #202124;
  font-size: 16px;
  line-height: 24px;
  font-weight: 550;
}

.supply-field label>span,
.supply-fieldset legend>span {
  color: #5f6368;
  font-weight: 400;
}

.supply-fieldset legend>span {
  display: block;
  margin-top: 4px;
}

.supply-field :is(input,select,textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #DADCE0;
  border-radius: 12px;
  background: #FFFFFF;
  color: #202124;
  font-family: inherit;
  font-size: 18px;
  line-height: 28px;
  transition: border-color .2s;
}

.supply-field textarea {
  resize: vertical;
}

.supply-field :is(input,select,textarea):focus {
  border-color: #1A73E8;
}

.supply-field :is(input,textarea)::placeholder {
  color: #757A80;
}

.supply-field input:disabled {
  background: #F8F9FA;
  color: #5f6368;
}

.supply-field.is-anonymous>label {
  color: #5f6368;
}

.supply-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.supply-frequency-field legend {
  margin-bottom: 0;
  padding: 0;
  color: #5f6368;
  font-weight: 400;
}

.supply-delivery-window {
  padding: 20px;
  border: 1px solid #E8EAED;
  border-radius: 12px;
  background: #F8F9FA;
}

.supply-delivery-window[hidden] {
  display: none;
}

.supply-delivery-window legend {
  padding-inline: 6px;
  margin-bottom: 0;
}

.supply-delivery-window>p {
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.supply-window-fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin-top: 20px;
}

.supply-window-fields select:focus-visible {
  outline: 2px solid #1A73E8;
  outline-offset: 2px;
}

@media (max-width:420px) {
  .supply-window-fields {
    grid-template-columns: 1fr;
  }
}

/* Both donation forms share the same accessible frequency control. */

.giving-frequency-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 4px;
  margin-top: 12px;
  padding: 4px;
  border-radius: 12px;
  background: #F1F3F4;
}

.giving-frequency-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.giving-frequency-options input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.giving-frequency-options label>span {
  display: block;
  padding: 12px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  transition: background-color .18s,color .18s;
}

.giving-frequency-options label:hover>span {
  background: #E8EAED;
}

.giving-frequency-options label:has(input:checked)>span {
  background: #FFFFFF;
  border-color: #D2E3FC;
  color: #185ABC;
  box-shadow: 0 1px 4px #2021240D;
}

.giving-frequency-options label:has(input:focus-visible)>span {
  outline: 2px solid #1A73E8;
  outline-offset: 2px;
}

@media (prefers-reduced-motion:reduce) {
  .giving-frequency-options label>span {
    transition: none;
  }
}

.supply-category-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 4px 20px;
}

.supply-category-options label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding-block: 10px;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.supply-privacy-note {
  margin-top: -12px;
}

.supply-privacy-note summary {
  padding: 8px 0;
  color: #1A73E8;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.supply-privacy-note p {
  margin-top: 8px;
}

.supply-submit {
  width: 100%;
}

.supply-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.supply-action .supply-submit {
  width: auto;
  min-width: 160px;
}

.supply-action:has([data-supply-live-window][hidden]) .supply-submit {
  width: 100%;
}

#main .supply-live-window {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
}

.supply-live-window strong {
  font-weight: 500;
}

.supply-live-window span {
  display: block;
  margin-top: 4px;
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width:599px) {
  .supply-action {
    flex-wrap: wrap;
    gap: 16px;
  }

  .supply-action .supply-submit {
    width: 100%;
  }
}

.supply-submit:disabled {
  opacity: .6;
  cursor: default;
}

#main.supplies-page .button {
  border-radius: 999px;
  background: #1A73E8;
  border-color: #1A73E8;
  color: #FFFFFF;
}

#main.supplies-page .button:hover {
  background: #185ABC;
  border-color: #185ABC;
  color: #FFFFFF;
}

.supplies-page :focus-visible {
  outline-color: #1A73E8;
}

.supply-thanks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  outline: 0;
}

.supply-thanks-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #EFF5E3;
  color: #4B8065;
}

.supply-thanks>p {
  margin-top: 16px;
}

.supply-donation-summary {
  width: 100%;
  margin: 28px 0;
}

.supply-donation-summary>div {
  padding: 16px 0;
  border-bottom: 1px solid #F1F3F4;
}

.supply-donation-summary dt {
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
}

.supply-donation-summary dd {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 28px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.supply-edit {
  min-height: 44px;
  margin-top: 16px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #1A73E8;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

@media (max-width:1023px) {
  .supply-hero {
    gap: 40px;
  }

  .supply-category {
    padding: 24px;
  }

  .supply-category-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .supply-category,
  .supply-category:nth-child(n+4) {
    grid-column: auto;
  }

  .supply-category:last-child {
    grid-column: 1/-1;
  }

  .supply-donation-grid {
    gap: 32px;
  }

  .supply-delivery,
  .supply-form-card {
    --giving-options-inset: 32px;
    padding: var(--giving-options-inset);
  }
}

@media (max-width:959px) {
  .supply-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .supply-hero-copy {
    max-width: 720px;
  }

  .supply-hero-art {
    max-width: 440px;
  }

  .supply-donation-grid {
    grid-template-columns: 1fr;
  }

  .supply-delivery {
    position: static;
  }

  .supply-delivery-details {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
  }

  .supply-delivery-details>div+div {
    margin-top: 0;
  }
}

@media (max-width:599px) {
  .supply-hero-art {
    max-width: 340px;
  }

  .supply-category-grid {
    grid-template-columns: 1fr;
  }

  .supply-category:last-child {
    grid-column: auto;
  }

  .supply-delivery,
  .supply-form-card {
    --giving-options-inset: 24px;
    padding: 28px var(--giving-options-inset);
  }

  .supply-delivery-details {
    grid-template-columns: 1fr;
  }

  .supply-form-fields,
  .supply-category-options {
    grid-template-columns: 1fr;
  }

  .supply-anonymous {
    padding: 16px;
  }

  .supply-category-options {
    gap: 0;
  }
}

/* Child sponsorship: calm profiles and one focused monthly-support flow. */

.sponsor-hero {
  padding-top: var(--spacer-6);
}

.sponsor-hero .hero-intro {
  max-width: 1120px;
}

.sponsor-hero .hero-intro>p {
  max-width: 780px;
}

.sponsor-hero-moment {
  display: grid;
  grid-template-columns: minmax(0,1.75fr) minmax(0,1fr);
  gap: 24px;
  align-items: stretch;
}

.sponsor-hero-photo {
  position: relative;
  min-width: 0;
  min-height: 400px;
  overflow: hidden;
  border-radius: 24px;
  background: #F1F3F4;
}

.sponsor-hero-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.sponsor-hero-support {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px;
  border-radius: 24px;
  background: #FFF4E3;
}

.sponsor-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF99;
  color: #4A3369;
  margin-bottom: 24px;
}

.sponsor-hero-support h2 {
  font-size: 28px;
  line-height: 36px;
}

.sponsor-hero-support>p {
  margin-top: 16px;
}

.sponsor-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 24px;
}

.sponsor-amount strong {
  font-size: 48px;
  line-height: 56px;
  font-weight: 400;
  letter-spacing: -.5px;
  color: #4A3369;
}

.sponsor-amount>span {
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.sponsor-hero-support>.button {
  margin-top: 28px;
}

#main.sponsor-page .button {
  border-radius: 999px;
  background: #1A73E8;
  border-color: #1A73E8;
  color: #FFFFFF;
}

#main.sponsor-page .button:hover {
  background: #185ABC;
  border-color: #185ABC;
}

.sponsor-section {
  margin-top: calc(var(--spacer-6) + var(--spacer-5));
}

.sponsor-hero+.sponsor-children {
  margin-top: calc(var(--spacer-5) * 2);
}

.sponsor-section .section-intro {
  max-width: 100%;
  margin-bottom: var(--spacer-5);
}

.sponsor-section .section-intro>p {
  max-width: 760px;
}

.sponsor-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.sponsor-filters button {
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid #DADCE0;
  border-radius: 999px;
  background: #FFFFFF;
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: background-color .2s,color .2s,border-color .2s;
}

.sponsor-filters button:hover {
  background: #F8F9FA;
  color: #202124;
}

.sponsor-filters button[aria-pressed="true"] {
  border-color: #D2E3FC;
  background: #E7F0FE;
  color: #185ABC;
}

.sponsor-child-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px 24px;
}

.sponsor-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #E8EAED;
  border-radius: 24px;
  overflow: hidden;
  background: #FFFFFF;
  transition: border-color .2s,box-shadow .2s;
}

.sponsor-child[hidden] {
  display: none;
}

.sponsor-child:hover,
.sponsor-child:focus-within,
.sponsor-child.is-selected {
  border-color: #A8C7FA;
  box-shadow: 0 3px 12px #2021240A;
}

.sponsor-child-picture {
  aspect-ratio: 9/8;
  overflow: hidden;
  background: #F1F3F4;
}

.sponsor-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sponsor-child-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 32px;
}

.sponsor-child-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  width: 100%;
}

.sponsor-child-heading h3 {
  font-size: 28px;
  line-height: 36px;
}

.sponsor-child-heading>span {
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.sponsor-child-copy>p {
  margin-top: 16px;
}

#main .sponsor-child-interest {
  color: #5f6368;
  margin-top: 8px;
}

.sponsor-child-copy>p:last-of-type {
  margin-bottom: 28px;
}

.sponsor-child-copy>.button {
  margin-top: auto;
  align-self: flex-start;
}

.sponsor-support-grid,
.sponsor-step-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sponsor-support-grid>article {
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid #E8EAED;
}

.sponsor-support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #EFF5E3;
  color: #4B8065;
}

.sponsor-support-grid h3,
.sponsor-step-list h3 {
  font-size: 28px;
  line-height: 36px;
}

.sponsor-support-grid p,
.sponsor-step-list p {
  margin-top: 16px;
}

.sponsor-steps {
  padding: 48px 40px;
  border-radius: 24px;
  background: #F8F9FA;
}

.sponsor-step-number {
  display: block;
  margin-bottom: 20px;
  color: #4A3369;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -.5px;
}

.sponsor-question-list {
  max-width: 900px;
  margin-inline: auto;
}

.sponsor-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: calc(var(--spacer-6) + var(--spacer-5));
  margin-bottom: var(--spacer-7);
  padding: 48px 40px;
  border-radius: 24px;
  background: #E7F0FE;
}

.sponsor-contact>div {
  max-width: 700px;
}

.sponsor-contact p {
  margin-top: 20px;
}

.sponsor-contact>.button {
  flex-shrink: 0;
}

.sponsor-dialog {
  width: min(1060px,calc(100% - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #202124;
  background: #FFFFFF;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sponsor-dialog::backdrop {
  background: #151E3380;
  backdrop-filter: blur(4px);
}

.sponsor-dialog-open {
  overflow: hidden;
}

.sponsor-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 48px;
  max-width: 1060px;
  margin-inline: auto;
  padding: 48px;
}

.sponsor-panel[hidden],
.sponsor-close[hidden],
.sponsor-form[hidden],
.sponsor-review[hidden] {
  display: none;
}

.sponsor-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #F1F3F4;
  color: #5f6368;
  cursor: pointer;
  z-index: 1;
  transition: color .2s,background .2s;
}

.sponsor-close:hover {
  background: #E8EAED;
  color: #202124;
}

.sponsor-dialog>.sponsor-close {
  position: sticky;
  top: 12px;
  margin: 12px 12px -56px auto;
}

.sponsor-profile,
.sponsor-start {
  min-width: 0;
}

.sponsor-profile-picture {
  width: 200px;
  height: 178px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 20px;
}

.sponsor-profile h2 {
  font-size: var(--section-title-size);
  line-height: var(--section-title-line-height);
}

.sponsor-profile>p {
  margin-top: 16px;
}

#main .sponsor-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

#main .sponsor-profile-interest {
  color: #4A3369;
}

.sponsor-start {
  --giving-options-inset: 28px;
  align-self: start;
  padding: var(--giving-options-inset);
  border-radius: 20px;
  background: #F8F9FA;
}

.sponsor-start h3 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.5px;
}

.sponsor-form>.sponsor-amount {
  margin-top: 16px;
}

.sponsor-form>p {
  margin-top: 16px;
}

.sponsor-field {
  margin-top: 24px;
}

.sponsor-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 24px;
}

.sponsor-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #DADCE0;
  border-radius: 8px;
  background: #FFFFFF;
  color: #202124;
  font: inherit;
  font-size: 18px;
  line-height: 28px;
}

.sponsor-field input:hover {
  border-color: #9AA0A6;
}

.sponsor-field input:focus-visible {
  border-color: #1A73E8;
  outline: 2px solid #1A73E8;
  outline-offset: 1px;
}

.sponsor-anonymous {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 12px;
  background: #F1F3F4;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.sponsor-anonymous input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #1A73E8;
}

.sponsor-anonymous small {
  display: block;
  margin-top: 6px;
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
}

.sponsor-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.sponsor-consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #1A73E8;
}

.sponsor-form>.button,
.sponsor-review>.button {
  width: 100%;
  margin-top: 24px;
  cursor: pointer;
}

.sponsor-form>.button:disabled {
  opacity: .5;
  cursor: default;
}

#main .sponsor-next-step {
  color: #5f6368;
}

.sponsor-review {
  outline: 0;
}

.sponsor-review-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #EFF5E3;
  color: #4B8065;
}

.sponsor-review>p {
  margin-top: 16px;
}

.sponsor-review dl {
  margin: 24px 0 0;
}

.sponsor-review dl>div {
  padding: 16px 0;
  border-bottom: 1px solid #E8EAED;
}

.sponsor-review dt {
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.sponsor-review dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 28px;
}

.sponsor-edit {
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #1A73E8;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.sponsor-edit:hover {
  color: #185ABC;
}

@media (max-width:1023px) {
  .sponsor-hero-support {
    padding: 28px;
  }

  .sponsor-hero-moment {
    grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  }

  .sponsor-child-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .sponsor-panel {
    padding: 48px 32px 32px;
    gap: 32px;
  }

  .sponsor-start {
    --giving-options-inset: 24px;
    padding: var(--giving-options-inset);
  }

  .sponsor-contact {
    padding: 40px 32px;
    gap: 32px;
  }

  .sponsor-steps {
    padding: 40px 32px;
  }
}

@media (max-width:959px) {
  .sponsor-hero-moment {
    grid-template-columns: 1fr;
  }

  .sponsor-hero-photo {
    min-height: 0;
    aspect-ratio: 3/2;
  }

  .sponsor-hero-support {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 0 24px;
  }

  .sponsor-heart {
    display: none;
  }

  .sponsor-hero-support h2 {
    grid-column: 1/-1;
  }

  .sponsor-hero-support h2 br {
    display: none;
  }

  .sponsor-hero-support>p {
    grid-column: 1/-1;
  }

  .sponsor-hero-support>.button {
    align-self: end;
  }
}

@media (max-width:767px) {
  .sponsor-support-grid,
  .sponsor-step-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sponsor-panel {
    grid-template-columns: 1fr;
  }

  .sponsor-profile-picture {
    width: 160px;
    height: 142px;
  }

  .sponsor-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .sponsor-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
  }
}

@media (max-width:700px) {
  .sponsor-child-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-child {
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
  }
}

@media (max-width:599px) {
  .sponsor-hero-support {
    display: flex;
    padding: 28px 24px;
  }

  .sponsor-hero-support h2 br {
    display: block;
  }

  .sponsor-hero-support>.button {
    align-self: flex-start;
    margin-top: 24px;
  }

  .sponsor-amount strong {
    font-size: 40px;
    line-height: 48px;
  }

  .sponsor-child-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-filters {
    gap: 8px;
  }

  .sponsor-filters button {
    padding: 12px 16px;
  }

  .sponsor-steps,
  .sponsor-contact {
    padding: 32px 24px;
  }

  .sponsor-panel {
    padding: 56px 24px 24px;
    gap: 28px;
  }

  .sponsor-start {
    --giving-options-inset: 20px;
    padding: 24px var(--giving-options-inset);
  }

  .sponsor-profile-picture {
    margin-bottom: 20px;
  }

  .sponsor-child-copy {
    padding: 24px;
  }

  .sponsor-step-number {
    font-size: 40px;
    line-height: 48px;
  }
}

/* Teacher sponsorship keeps one shared program and one monthly-support path. */

.teacher-hero {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,1fr);
  align-items: center;
  gap: 64px;
  padding-top: var(--spacer-6);
}

.teacher-hero-copy {
  min-width: 0;
  max-width: 660px;
}

.teacher-hero-copy>p {
  margin-top: 24px;
  max-width: 600px;
}

.teacher-hero-copy>.button {
  margin-top: 32px;
}

#main.teacher-page .button {
  border-radius: 999px;
  background: #1A73E8;
  border-color: #1A73E8;
  color: #FFFFFF;
}

#main.teacher-page .button:hover {
  background: #185ABC;
  border-color: #185ABC;
}

.teacher-hero-photo {
  min-width: 0;
  aspect-ratio: 5/4;
  border-radius: 24px;
  overflow: hidden;
  background: #F1F3F4;
}

.teacher-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 65%;
}

.teacher-section {
  margin-top: calc(var(--spacer-6) + var(--spacer-5));
}

.teacher-hero+.teacher-impact {
  margin-top: calc(var(--spacer-5) * 2);
}

.teacher-section>.section-intro {
  max-width: 100%;
  margin-bottom: var(--spacer-5);
}

.teacher-section>.section-intro>p {
  max-width: 760px;
}

.teacher-impact-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px;
}

.teacher-impact-grid article {
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid #E8EAED;
}

.teacher-impact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #EFF5E3;
  color: #4B8065;
}

.teacher-impact-grid article:nth-child(2) .teacher-impact-icon {
  background: #FFF4E3;
  color: #846238;
}

.teacher-impact-grid article:nth-child(3) .teacher-impact-icon {
  background: #E7F0FE;
  color: #185ABC;
}

.teacher-impact-grid h3 {
  min-height: 72px;
  font-size: 28px;
  line-height: 36px;
}

.teacher-impact-grid p {
  margin-top: 16px;
}

.teacher-story {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  align-items: center;
  gap: 64px;
}

.teacher-story>figure {
  min-width: 0;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  background: #F1F3F4;
}

.teacher-story img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-story>div {
  min-width: 0;
}

.teacher-story p {
  margin-top: 20px;
}

.teacher-story-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 550;
  color: #1A73E8;
}

.teacher-story-link:hover {
  color: #185ABC;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.teacher-sponsorship-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: 40px;
  align-items: start;
}

.teacher-plan {
  position: sticky;
  top: 110px;
  min-width: 0;
  padding: 40px;
  border-radius: 24px;
  background: #EFF5E3;
}

.teacher-plan-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #FFFFFF99;
  color: #4B8065;
}

.teacher-plan h3,
.teacher-form-card h3 {
  font-size: 28px;
  line-height: 36px;
}

.teacher-plan>p {
  margin-top: 20px;
}

.teacher-plan ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.teacher-plan li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  line-height: 28px;
}

.teacher-plan li>svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: #4B8065;
}

#main .teacher-plan-note {
  padding-top: 24px;
  border-top: 1px solid #D7E2C9;
  color: #42552C;
}

.teacher-form-card {
  --giving-options-inset: 40px;
  min-width: 0;
  padding: var(--giving-options-inset);
  border: 1px solid #E8EAED;
  border-radius: 24px;
  background: #FFFFFF;
}

.teacher-form>p,
.teacher-review>p {
  margin-top: 16px;
}

.teacher-form>.button,
.teacher-review>.button {
  width: 100%;
  margin-top: 28px;
  cursor: pointer;
}

.teacher-form>.button:disabled {
  opacity: .5;
  cursor: default;
}

#main .teacher-form-note {
  color: #5f6368;
}

.teacher-form[hidden],
.teacher-review[hidden] {
  display: none;
}

.teacher-privacy-note {
  margin-top: 16px;
}

.teacher-privacy-note summary {
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
  cursor: pointer;
  text-underline-offset: 4px;
}

.teacher-privacy-note summary:hover {
  color: #185ABC;
}

.teacher-privacy-note p {
  margin-top: 12px;
}

.teacher-review {
  outline: 0;
}

.teacher-review-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #E7F0FE;
  color: #185ABC;
}

.teacher-review dl {
  margin: 24px 0 0;
}

.teacher-review dl>div {
  padding: 16px 0;
  border-bottom: 1px solid #F1F3F4;
}

.teacher-review dt {
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.teacher-review dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 28px;
}

.teacher-steps>ol {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-steps li {
  min-width: 0;
}

.teacher-step-number {
  display: block;
  margin-bottom: 20px;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -.5px;
  color: #4A3369;
}

.teacher-steps h3 {
  font-size: 28px;
  line-height: 36px;
}

.teacher-steps li>p {
  margin-top: 16px;
}

.teacher-questions {
  margin-bottom: var(--spacer-7);
}

.teacher-question-list {
  max-width: 900px;
  margin-inline: auto;
}

.teacher-contact-note {
  margin-top: 32px;
  text-align: center;
}

.teacher-contact-note>a {
  color: #1A73E8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.teacher-contact-note>a:hover {
  color: #185ABC;
}

/* Compare giving options above the primary action, without losing the form. */

.giving-options-row {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  margin-inline: calc(-1 * var(--giving-options-inset,0px));
  padding: 6px var(--giving-options-inset,0px);
  border-block: 1px solid #E8EAED;
  background: #F4F8FF;
  text-align: center;
}

.giving-options-row>a {
  display: inline-block;
  padding: 10px 0;
  color: #5f6368;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.giving-options-row>a>span:first-child {
  color: #1A73E8;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .2s;
}

.giving-options-row>a:hover>span:first-child {
  color: #185ABC;
  text-decoration: underline;
}

.giving-options-row>a:focus-visible {
  outline: 2px solid #1A73E8;
  outline-offset: 4px;
  border-radius: 4px;
}

#main .giving-options-row+.button {
  margin-top: 24px;
}

.supply-form>.giving-options-row,
.supply-thanks>.giving-options-row {
  margin-top: 0;
}

#main .supply-form>.giving-options-row+.button {
  margin-top: 0;
}

@media (prefers-reduced-motion:reduce) {
  .giving-options-row>a>span:first-child {
    transition: none;
  }
}

@media (max-width:1023px) {
  .teacher-hero,
  .teacher-story {
    gap: 40px;
  }

  .teacher-plan,
  .teacher-form-card {
    --giving-options-inset: 32px;
    padding: var(--giving-options-inset);
  }

  .teacher-sponsorship-grid {
    gap: 32px;
  }
}

@media (max-width:959px) {
  .teacher-hero,
  .teacher-story {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .teacher-hero-copy {
    max-width: 740px;
  }

  .teacher-hero-copy>p {
    max-width: 680px;
  }

  .teacher-hero-photo {
    aspect-ratio: 3/2;
  }

  .teacher-story>figure {
    aspect-ratio: 3/2;
  }

  .teacher-sponsorship-grid {
    grid-template-columns: 1fr;
  }

  .teacher-plan {
    position: static;
  }
}

@media (min-width:960px) and (max-width:1399px) {
  .teacher-steps h3 {
    min-height: 72px;
  }
}

@media (max-width:959px) {
  .teacher-impact-grid,
  .teacher-steps>ol {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .teacher-impact-grid h3 {
    min-height: 0;
  }

  .teacher-steps li+li {
    padding-top: 28px;
    border-top: 1px solid #F1F3F4;
  }
}

@media (max-width:599px) {
  .teacher-plan,
  .teacher-form-card {
    --giving-options-inset: 24px;
    padding: 28px var(--giving-options-inset);
  }

  .teacher-step-number {
    font-size: 40px;
    line-height: 48px;
  }
}

.primary-nav a[aria-current="page"] {
  color: var(--purple);
}

/* Inner pages share the homepage's type, containers, and section spacing. */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 64px;
  align-items: center;
}

.page-hero .hero-intro {
  min-width: 0;
  max-width: none;
  margin: 0;
  text-align: left;
}

.page-hero .hero-intro>p {
  max-width: 560px;
  margin: 24px 0 0;
}

.page-hero .hero-image {
  aspect-ratio: 10/7;
  background: #eff1f2;
}

.page-hero .hero-image img {
  object-position: center;
}

@media (max-width:1023px) {
  .page-hero {
    gap: 40px;
  }
}

@media (max-width:959px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-hero .hero-intro>p {
    max-width: 680px;
  }

  .page-hero .hero-image {
    aspect-ratio: 3/2;
  }
}

.page-layout.container {
  --layout-columns: 4;
  --layout-gutter: 28px;
  width: calc(100% - 56px);
  max-width: 1296px;
}

.page-highlight {
  margin-top: calc(var(--spacer-5) * 2);
  padding: 64px 40px;
  background: #96BF47;
  border-radius: 24px;
}

.help-page .page-highlight {
  background: #FFBA5B;
}

.page-highlight .section-intro {
  max-width: 1100px;
  margin-bottom: 0;
}

.page-highlight .section-intro>p {
  max-width: 800px;
}

/* Match the homepage's 80px + 60px space between section content. */

.work-programs {
  padding-block: calc(var(--spacer-6) + var(--spacer-5)) var(--spacer-6);
}

.work-programs .section-intro {
  max-width: 100%;
  margin-bottom: calc(var(--spacer-4) + var(--spacer-5));
}

.work-programs .section-intro>p {
  max-width: 760px;
}

.help-steps {
  padding-block: calc(var(--spacer-6) + var(--spacer-5)) var(--spacer-6);
}

.help-steps .section-intro {
  max-width: 100%;
  margin-bottom: calc(var(--spacer-4) + var(--spacer-5));
}

.help-steps .section-intro>p {
  max-width: 760px;
}

.help-topics {
  margin-top: 28px;
}

.help-topic {
  border-bottom: 1px solid #F1F3F4;
}

.help-topic summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  list-style: none;
  cursor: pointer;
  border-radius: 12px;
  color: #202124;
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  letter-spacing: -.25px;
  transition: background-color .2s,color .2s;
}

.help-topic summary::-webkit-details-marker {
  display: none;
}

.help-topic summary:hover {
  background: #F8F9FA;
}

.help-topic[open] summary {
  background: #1A73E80A;
  color: #1A73E8;
}

.help-topic-indicator {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #5f6368;
}

.help-topic-indicator::before,
.help-topic-indicator::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.help-topic-indicator::before {
  width: 18px;
  height: 2px;
  top: 9px;
  left: 1px;
}

.help-topic-indicator::after {
  width: 2px;
  height: 18px;
  top: 1px;
  left: 9px;
}

.help-topic[open] .help-topic-indicator::after {
  display: none;
}

.help-topic-content {
  padding: 16px 18px 22px;
}

.help-topic-content p {
  font-size: 18px;
  line-height: 28px;
  color: #202124;
}

.work-program-grid {
  row-gap: 36px;
}

.work-program-card .giving-card-media {
  aspect-ratio: 16/10;
}

.work-program-card .giving-card-media img {
  object-position: center;
}

#work-education .giving-card-media img {
  object-position: 50% 25%;
}

.work-program-points {
  margin: 20px 0 0;
  padding-left: 22px;
  font-size: var(--paragraph-size);
  line-height: var(--paragraph-line-height);
}

.work-program-points li+li {
  margin-top: 8px;
}

.work-program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  margin-top: auto;
  padding-top: 28px;
}

.work-program-actions .button {
  border-radius: 999px;
  background: #1A73E8;
  border-color: #1A73E8;
}

.work-program-actions .button:hover {
  background: #185ABC;
  border-color: #185ABC;
}

.page-connection {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 64px;
  align-items: center;
  margin-top: var(--spacer-5);
  margin-bottom: 0;
  padding: 64px 40px;
  background: #F8F9FA;
  border-radius: 24px;
}

.inner-page>.collaboration {
  margin-top: calc(var(--spacer-6) + var(--spacer-5));
}

.page-connection p {
  margin-top: 20px;
}

.page-connection-image {
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 24px;
  background: #eff1f2;
}

.page-connection-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-connection-collage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  background: transparent;
}

.connection-collage-photo {
  position: absolute;
  overflow: hidden;
  border: 5px solid #FFFFFF;
  border-radius: 20px;
  background: #eff1f2;
  box-shadow: 0 8px 20px #20212414;
}

.connection-collage-main {
  left: 28%;
  top: 6%;
  width: 44%;
  aspect-ratio: 1;
  z-index: 1;
}

.connection-collage-left {
  left: 4%;
  top: 47%;
  width: 44%;
  height: 44%;
  transform: rotate(-8deg);
  z-index: 2;
}

.connection-collage-right {
  right: 4%;
  top: 49%;
  width: 44%;
  height: 44%;
  transform: rotate(8deg);
  z-index: 3;
}

@media (max-width:599px) {
  .connection-collage-photo {
    border-width: 3px;
    border-radius: 14px;
  }
}

@media (min-width:600px) {
  .page-layout.container {
    --layout-columns: 12;
    --layout-gutter: 40px;
    width: calc(100% - 80px);
  }
}

@media (min-width:1024px) {
  .page-layout.container {
    --layout-gutter: 48px;
    width: calc(100% - 144px);
  }
}

@media (min-width:1440px) {
  .page-layout.container {
    --layout-gutter: 64px;
  }
}

.project-content.container {
  width: calc(100% - 56px);
  max-width: 1296px;
}

@media (min-width:600px) {
  .project-content.container {
    width: calc((min(1296px,100% - 80px) * 5 - 40px) / 6);
  }
}

@media (min-width:1024px) {
  .project-content.container {
    width: calc((min(1296px,100% - 144px) * 5 - 48px) / 6);
  }
}

@media (min-width:1440px) {
  .project-content.container {
    width: calc((min(1296px,100% - 144px) * 5 - 64px) / 6);
  }
}

@media (max-width:1023px) {
  .page-connection {
    gap: 36px;
    padding: 48px 32px;
  }
}

@media (max-width:700px) {
  .page-highlight {
    padding: 48px 24px;
  }

  .page-connection {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
  }

  .page-connection-image {
    grid-row: 1;
  }

  .work-program-grid {
    row-gap: 28px;
  }
}

/* About Us pairs an editorial photo collage with published figures and a short story. */

.about-hero {
  padding-top: var(--spacer-6);
}

.about-hero .hero-intro {
  max-width: 1100px;
}

.about-gallery {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);
  gap: 24px;
}

.about-photo {
  height: 440px;
  overflow: hidden;
  border-radius: 24px;
  background: #F1F3F4;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-photo:first-child img {
  object-position: 50% 0;
}

.about-photo:nth-child(2) img {
  object-position: 50% 10%;
}

.about-metrics {
  padding-block: calc(var(--spacer-5) * 2) var(--spacer-6);
}

.about-metrics .section-intro,
.about-purpose .section-intro,
.about-values .section-intro {
  max-width: 1100px;
  margin-bottom: calc(var(--spacer-4) + var(--spacer-5));
}

.about-metrics .section-intro>p,
.about-values .section-intro>p {
  max-width: 800px;
}

.about-metric-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}

.about-metric {
  display: grid;
  grid-template-columns: minmax(0,200px) minmax(0,1fr);
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 36px 32px;
  border: 1px solid #E8EAED;
  border-radius: 24px;
  background: #F8F9FA;
}

#main .about-metric-value {
  margin: 0;
  font-size: 64px;
  line-height: 72px;
  font-weight: 400;
  letter-spacing: -2px;
  font-variant-numeric: lining-nums tabular-nums;
  color: #1A73E8;
}

.about-metric-copy {
  min-width: 0;
}

.about-metric h3 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.25px;
}

.about-metric-copy>p {
  margin-top: 12px;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 96px;
  align-items: start;
  padding-block: var(--spacer-5) var(--spacer-6);
}

.about-story-copy>p {
  margin-top: 24px;
}

.about-story-action {
  justify-content: flex-start;
}

.about-story-moments {
  display: grid;
  gap: 24px;
}

.about-story-moment {
  padding: 28px 32px;
  border-left: 3px solid #1A73E8;
  border-radius: 0 16px 16px 0;
  background: #F8F9FA;
}

.about-story-moment h3,
.about-purpose-card h3,
.about-value h3 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.25px;
}

.about-story-moment p,
.about-purpose-card p,
.about-value p {
  margin-top: 16px;
}

.about-purpose,
.about-values {
  padding-block: var(--spacer-5) var(--spacer-6);
}

.about-purpose-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}

.about-purpose-card {
  padding: 48px 40px;
  border-radius: 24px;
  background: #96BF47;
}

.about-purpose-card:nth-child(2) {
  background: #FFBA5B;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 40px;
}

.about-value {
  border-top: 3px solid #F1F3F4;
  padding-top: 28px;
}

.about-page>.collaboration {
  margin-top: var(--spacer-5);
}

@media (max-width:1199px) {
  .about-metric {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }
}

@media (max-width:1023px) {
  .about-photo {
    height: 360px;
  }

  .about-story {
    gap: 48px;
  }

  .about-purpose-card {
    padding: 40px 32px;
  }

  .about-values-grid {
    gap: 28px;
  }
}

@media (max-width:959px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width:700px) {
  .about-gallery,
  .about-metric-grid,
  .about-purpose-grid {
    grid-template-columns: 1fr;
  }

  .about-metric {
    padding: 28px 24px;
    gap: 16px;
  }

  .about-photo {
    height: auto;
    aspect-ratio: 3/2;
  }

  .about-photo:nth-child(2) {
    aspect-ratio: 4/5;
  }

  .about-story-moment {
    padding: 24px;
  }

  .about-purpose-card {
    padding: 40px 24px;
  }
}

.site-header {
  --header-offset: 0px;
  top: var(--header-offset);
  border-bottom: 0;
  transition: transform .3s ease,box-shadow .3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 2px #3c40434d,0 1px 3px 1px #3c404326;
}

.site-header.is-hidden {
  box-shadow: none;
}

.site-header.is-menu-open {
  z-index: 40;
  transition: box-shadow .3s ease;
}

.header-actions {
  position: absolute;
  inset: 0 0 auto;
  z-index: 31;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 86px;
  padding-inline: 32px;
  background: transparent;
  pointer-events: none;
}

.header-actions>a,
.header-actions>button {
  pointer-events: auto;
}

@media (min-width:1297px) {
  .site-header.is-hidden {
    transform: translateY(calc(-140px - var(--header-offset)));
    transition: transform .4s ease,box-shadow .3s ease;
  }
}

@media (min-width:960px) {
  .header-inner::before,
  .header-inner::after {
    content: '';
    flex-shrink: 0;
  }

  .header-inner::before {
    width: var(--header-brand-width,83px);
  }

  .header-inner::after {
    width: var(--header-donate-width,134px);
  }
}

.header-inner {
  column-gap: 32px;
}

.primary-nav {
  margin-left: 80px;
}

.header-donate {
  margin-left: auto;
  border-radius: 999px;
  flex-shrink: 0;
}

.drawer-heading,
.drawer-donate,
.nav-backdrop {
  display: none;
}

.admin-bar .site-header {
  --header-offset: 32px;
  top: var(--header-offset);
}

@media (max-width:1100px) {
  .header-inner {
    gap: 24px;
  }

  .header-actions {
    gap: 24px;
    padding-inline: 24px;
  }

  .primary-nav {
    margin-left: 40px;
  }
}

@media (min-width:960px) and (max-width:1023px) {
  .primary-nav {
    margin-left: 0;
  }

  .primary-nav,
  .primary-nav ul {
    gap: 20px;
  }
}

@media (min-width:960px) and (max-width:1296px) {
  .site-header,
  .admin-bar .site-header {
    position: relative;
    top: auto;
    box-shadow: none;
  }
}

@media (max-width:959px) {
  .header-inner {
    min-height: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .header-actions,
  .admin-bar .header-actions {
    position: relative;
    inset: auto;
    min-height: 76px;
    gap: 12px;
    background: var(--paper);
  }

  .site-header,
  .admin-bar .site-header {
    position: relative;
    top: auto;
    background: transparent;
    box-shadow: none;
  }

  .site-header.is-scrolled {
    box-shadow: none;
  }

  .site-header.header-enhanced:not(.is-menu-open) {
    pointer-events: none;
  }

  .menu-toggle,
  .drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--purple);
    cursor: pointer;
  }

  .menu-toggle:hover,
  .drawer-close:hover {
    background: #1209370a;
  }

  .header-donate {
    padding: 12px 24px;
  }

  .primary-nav {
    display: flex;
    position: fixed;
    inset: 0 auto 0 0;
    width: min(360px,calc(100% - 32px));
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0 0 24px;
    gap: 0;
    background: var(--paper);
    box-shadow: 2px 0 12px #12093726;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 50;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform .3s ease,visibility 0s .3s;
  }

  .primary-nav.is-open {
    visibility: visible;
    transform: none;
    transition: transform .3s ease,visibility 0s;
  }

  .drawer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
  }

  .drawer-heading .brand-logo {
    height: 64px;
  }

  .primary-nav>a:not(.button),
  .primary-nav li a {
    padding: 16px 24px;
    min-height: 56px;
  }

  .primary-nav>a:not(.button):hover,
  .primary-nav li a:hover {
    background: #12093708;
  }

  .primary-nav ul {
    gap: 0;
  }

  .primary-nav .drawer-donate {
    display: inline-flex;
    align-self: flex-start;
    margin: auto 24px 0;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #00000052;
    z-index: 40;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease,visibility .3s ease;
  }

  .is-menu-open .nav-backdrop {
    visibility: visible;
    opacity: 1;
  }

  html.nav-open {
    overflow: hidden;
  }

  .site-header:not(.header-enhanced) .header-inner {
    flex-wrap: wrap;
  }

  .site-header:not(.header-enhanced) .header-inner {
    padding-top: 0;
  }

  .header-actions:not(.header-enhanced) .menu-toggle {
    display: none;
  }

  .site-header:not(.header-enhanced) .menu-toggle,
  .site-header:not(.header-enhanced) .drawer-heading,
  .site-header:not(.header-enhanced) .drawer-donate {
    display: none;
  }

  .site-header:not(.header-enhanced) .primary-nav {
    position: static;
    width: 100%;
    height: auto;
    order: 3;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }
}

@media (max-width:782px) {
  .admin-bar .site-header {
    --header-offset: 46px;
  }
}

@media (max-width:700px) {
  .header-actions {
    padding-inline: 20px;
  }

  .header-actions .brand-logo {
    height: 56px;
  }
}

/* Preserve the requested slide for the complete desktop header. */

@media (prefers-reduced-motion:reduce) and (min-width:1297px) {
  .site-header {
    transition: transform .3s ease,box-shadow .3s ease !important;
  }

  .site-header.is-hidden {
    transition: transform .4s ease,box-shadow .3s ease !important;
  }
}

/* A shared chevron and text clearance for all single-choice public form selects. */

.day-picker {
  position: relative;
  min-width: 0;
}

.day-picker>select[hidden],
.day-picker-panel[hidden],
.day-picker-error[hidden] {
  display: none !important;
}

.day-picker-trigger {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 48px 12px 14px;
  border: 1px solid #DADCE0;
  border-radius: 8px;
  background: #FFFFFF url('assets/select-chevron.svg') no-repeat right 16px center/20px 20px;
  color: #202124;
  text-align: left;
  font: inherit;
  font-size: 18px;
  line-height: 28px;
  cursor: pointer;
}

.supply-field .day-picker-trigger {
  border-radius: 12px;
  padding-block: 14px;
  padding-left: 16px;
}

.day-picker-trigger:hover {
  border-color: #9AA0A6;
}

.day-picker-trigger:focus-visible {
  outline: 2px solid #1A73E8;
  outline-offset: 2px;
  border-color: #1A73E8;
}

.day-picker-trigger:disabled {
  color: #5f6368;
  background-color: #F8F9FA;
  cursor: default;
}

.day-picker-trigger[aria-invalid="true"] {
  border-color: #A53A30;
}

.day-picker-panel {
  position: fixed;
  z-index: 70;
  width: min(320px,calc(100vw - 32px));
  padding: 16px;
  border: 1px solid #DADCE0;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 8px 28px #20212426;
}

.day-picker-panel .day-picker-heading {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 24px;
  color: #5f6368;
}

.day-picker-grid {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 4px;
}

.day-picker-grid>button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 36px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #202124;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.day-picker-grid>button:first-child {
  grid-column: 3;
}

.day-picker-grid>button:enabled:hover {
  background: #F1F3F4;
}

.day-picker-grid>button:disabled {
  color: #BDC1C6;
  cursor: not-allowed;
}

form .button:disabled {
  opacity: .5;
  cursor: not-allowed !important;
  box-shadow: none;
}

.day-picker-grid>button[aria-pressed="true"] {
  background: #1A73E8;
  color: #FFFFFF;
}

.day-picker-grid>button:focus-visible {
  outline: 2px solid #1A73E8;
  outline-offset: 1px;
}

.day-picker .day-picker-error {
  margin: 8px 0 0;
  color: #A53A30;
  font-size: 16px;
  line-height: 24px;
}

body:not(.wp-admin) select:not([multiple]):not([size]),
body:not(.wp-admin) select:not([multiple])[size="1"] {
  -webkit-appearance: none;
  appearance: none;
  background-image: url('assets/select-chevron.svg');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
  padding-right: 48px;
}

@media (forced-colors:active) {
  body:not(.wp-admin) select:not([multiple]):not([size]),
  body:not(.wp-admin) select:not([multiple])[size="1"] {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
    padding-right: 16px;
  }
}

/* Real profile photographs keep the same frame as the original illustrations. */
.sponsor-profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 360/320;
  object-fit: cover;
}

.sponsor-empty {
  grid-column: 1/-1;
  padding: 32px;
  border-radius: 24px;
  background: #F8F9FA;
  text-align: center;
}

.sponsor-empty h3 {
  font-size: 28px;
  line-height: 36px;
}

.sponsor-empty p {
  margin-top: 16px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Native Photo Credits page; keep the attribution list readable at every width. */
.credit-page {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.credit-page h1 {
  font-size: 48px;
  line-height: 56px;
  font-weight: 400;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}

.credit-page .entry-content > p {
  margin-bottom: 20px;
}

.credit-page .credit-note {
  color: #5f6368;
}

.credit-page .credit-list {
  margin-top: 40px;
}

.credit-page .photo-credit {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid #dadce0;
}

.credit-page .photo-credit > * {
  margin: 0;
}

.credit-page .photo-credit img {
  display: block;
  width: 180px;
  height: 135px;
  object-fit: cover;
  border-radius: 16px;
}

.credit-page .photo-credit h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  margin: 0 0 8px;
}

.credit-page .photo-credit p {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}

.credit-page .photo-credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 599px) {
  .credit-page h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .credit-page .photo-credit {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .credit-page .photo-credit img {
    width: 100%;
    height: 200px;
  }
}
