.philanthropic-page {
  background: #faf6f2;
  color: #1e1e1e;
}

.philanthropic-page .section {
  padding: 74px 0;
}

.philanthropic-page h1,
.philanthropic-page h2,
.philanthropic-page h3 {
  margin-top: 0;
  color: var(--sh-ink);
  font-family: var(--sh-heading-font);
  font-weight: 400;
  letter-spacing: 0;
}

.philanthropic-page .philanthropic-title {
  padding: 118px 0 46px;
  background: #faf6f2;
  text-align: center;
}

.philanthropic-page .philanthropic-title h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.16;
}

.philanthropic-page .philanthropic-summary {
  padding-top: 36px;
}

.philanthropic-page .philanthropic-prose {
  max-width: 1040px;
}

.philanthropic-page .philanthropic-prose h2 {
  margin-bottom: 24px;
  text-align: center;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.2;
}

.philanthropic-page .philanthropic-prose h3 {
  margin: 34px 0 14px;
  color: #702739;
  font-family: var(--sh-body-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.philanthropic-page .philanthropic-prose p {
  margin: 0 0 18px;
  color: #716769;
  font-size: 16px;
  line-height: 1.78;
}

.philanthropic-page .philanthropic-prose p:last-child {
  margin-bottom: 0;
}

.philanthropic-page .philanthropic-actions {
  border-top: 1px solid rgba(113, 103, 105, .18);
  border-bottom: 1px solid rgba(113, 103, 105, .18);
  background: #fff;
}

.philanthropic-page .philanthropic-actions > .container > h2,
.philanthropic-page .philanthropic-ongoing > .container > h2 {
  margin-bottom: 48px;
  text-align: center;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.2;
}

.philanthropic-page .philanthropic-action-list {
  display: grid;
  gap: 68px;
}

.philanthropic-page .philanthropic-action {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 52px;
  align-items: center;
}

.philanthropic-page .philanthropic-action--reverse figure {
  order: 2;
}

.philanthropic-page .philanthropic-action figure {
  margin: 0;
}

.philanthropic-page .philanthropic-action img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border-radius: 5px;
}

.philanthropic-page .philanthropic-action__copy h3 {
  margin-bottom: 18px;
  color: #702739;
  font-family: var(--sh-body-font);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.24;
}

.philanthropic-page .philanthropic-action__copy p {
  margin: 0 0 18px;
  color: #716769;
  font-size: 16px;
  line-height: 1.74;
}

.philanthropic-page .philanthropic-action__copy p:last-child {
  margin-bottom: 0;
}

.philanthropic-page .philanthropic-ongoing {
  padding-bottom: 98px;
}

.philanthropic-page .philanthropic-ongoing__grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
}

.philanthropic-page .philanthropic-ongoing__item {
  min-width: 0;
}

.philanthropic-page .philanthropic-ongoing__item h3 {
  margin-bottom: 14px;
  color: #702739;
  font-family: var(--sh-body-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.32;
}

.philanthropic-page .philanthropic-ongoing__item p {
  margin: 0;
  color: #716769;
  font-size: 16px;
  line-height: 1.72;
}

@media (max-width: 1024px) {
  .philanthropic-page .philanthropic-title {
    padding-top: 94px;
  }

  .philanthropic-page .philanthropic-action {
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .philanthropic-page .section {
    padding: 58px 0;
  }

  .philanthropic-page .philanthropic-title {
    padding: 82px 0 28px;
  }

  .philanthropic-page .philanthropic-action,
  .philanthropic-page .philanthropic-ongoing__grid {
    grid-template-columns: 1fr;
  }

  .philanthropic-page .philanthropic-action--reverse figure {
    order: 0;
  }

  .philanthropic-page .philanthropic-action-list {
    gap: 48px;
  }

  .philanthropic-page .philanthropic-actions > .container > h2,
  .philanthropic-page .philanthropic-ongoing > .container > h2 {
    margin-bottom: 34px;
  }
}

/* Codex pass 0.1.17: page title must be centered like the reference. */
.philanthropic-page .philanthropic-title,
.philanthropic-page .philanthropic-title .container,
.philanthropic-page .philanthropic-title-section,
.philanthropic-page .philanthropic-title-section .container {
  text-align: center !important;
}

.philanthropic-page .philanthropic-title h1,
.philanthropic-page .philanthropic-title-section h1,
.philanthropic-page .philanthropic-title-section h2 {
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}
