.efs-about-hero {
  background: var(--efs-paper);
  border-bottom: 1px solid var(--efs-line);
  padding-bottom: clamp(3.2rem, 6vw, 6rem);
  padding-top: clamp(3rem, 6vw, 5.5rem);
}

.efs-about-hero-grid {
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.efs-about-hero h1 {
  max-width: 800px;
}

.efs-about-hero .efs-lede {
  max-width: 700px;
}

.efs-about-photo-stack {
  position: relative;
}

.efs-about-photo-stack .efs-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.efs-about-note {
  background: #ffffff;
  border: 1px solid var(--efs-line);
  border-left: 5px solid var(--efs-coral);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(68, 55, 45, 0.1);
  margin-top: -2.5rem;
  padding: 1.1rem 1.2rem;
  position: relative;
  width: min(92%, 430px);
}

.efs-about-note p {
  margin: 0;
}

.efs-about-intro-card {
  background: #ffffff;
  border: 1px solid var(--efs-line);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(68, 55, 45, 0.08);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.efs-about-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.efs-about-stat {
  background: var(--efs-paper);
  border: 1px solid var(--efs-line);
  border-radius: 8px;
  padding: 1rem;
}

.efs-about-stat strong {
  color: var(--efs-coral);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
  margin-bottom: 0.25rem;
}

.efs-about-split {
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.efs-about-panel {
  background: #ffffff;
  border: 1px solid var(--efs-line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(68, 55, 45, 0.07);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.efs-about-panel.is-warm {
  background: #fff7ef;
}

.efs-about-panel.is-sage {
  background: #edf5f0;
}

.efs-about-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.efs-about-list li {
  border-top: 1px solid rgba(68, 55, 45, 0.14);
  padding: 0.8rem 0 0.8rem 1.7rem;
  position: relative;
}

.efs-about-list li::before {
  background: var(--efs-teal);
  border-radius: 50%;
  content: "";
  height: 0.55rem;
  left: 0.25rem;
  position: absolute;
  top: 1.18rem;
  width: 0.55rem;
}

.efs-about-values .efs-card {
  height: 100%;
}

.efs-about-values .efs-card h3 {
  color: var(--efs-coral);
}

.efs-about-closing {
  background: var(--efs-coral);
  color: #ffffff;
}

.efs-about-closing h2,
.efs-about-closing p {
  color: #ffffff;
}

.efs-about-closing .wp-block-button__link {
  background: #ffffff;
  color: var(--efs-coral);
}

@media (max-width: 782px) {
  .efs-about-note {
    margin-top: 1rem;
    width: 100%;
  }

  .efs-about-stats {
    grid-template-columns: 1fr;
  }
}

.efs-about-split .wp-block-column {
  align-items: stretch;
  display: flex;
}

.efs-about-split .efs-about-panel {
  height: 100%;
  width: 100%;
}

.efs-about-panel.is-warm,
.efs-about-panel.is-sage {
  background: #fffef9;
}

body.page-id-8 .efs-about-closing {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

body.page-id-8 .wp-site-blocks > footer.wp-block-template-part {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

body.page-id-8 .efs-section:has(.efs-about-split) {
  background: #dcebf0;
}

body.page-id-8 .efs-about-closing {
  background: #ce6f58;
}

/* Match the About page colors inside the block editor canvas as well as the front end. */
.efs-section.efs-sage-band:has(.efs-about-split),
.editor-styles-wrapper .efs-section.efs-sage-band:has(.efs-about-split),
.block-editor-block-list__layout .efs-section.efs-sage-band:has(.efs-about-split) {
  background: #dcebf0 !important;
}

.efs-about-closing,
.editor-styles-wrapper .efs-about-closing,
.block-editor-block-list__layout .efs-about-closing {
  background: #ce6f58 !important;
}

.efs-about-closing h2,
.efs-about-closing p,
.editor-styles-wrapper .efs-about-closing h2,
.editor-styles-wrapper .efs-about-closing p,
.block-editor-block-list__layout .efs-about-closing h2,
.block-editor-block-list__layout .efs-about-closing p {
  color: #ffffff !important;
}
