.subpage-hero-frame,
.content-image-frame {
  overflow: hidden;
}

.subpage-hero-frame {
  border-radius: 0 0 2.5rem 0;
}

.subpage-hero-image {
  width: 100%;
  height: clamp(14rem, 23.8vw, 19.6rem) !important;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}

.content-intro .container {
  position: relative;
}

.content-copy {
  max-width: 37rem;
  padding-bottom: 8rem;
}

.content-copy--full {
  max-width: none;
}

.content-copy p {
  margin-bottom: 1.6rem;
  color: var(--ka-green);
  font-size: 1rem;
  line-height: 1.3;
}

.content-page img,
.content-copy img {
  max-width: 100%;
  height: auto;
}

.content-page h1,
.content-page h2,
.content-page h3,
.content-page h4 {
  margin-bottom: 0.35rem;
  color: var(--ka-green);
  font-weight: 700;
}

.content-page h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.content-page h2 {
  font-size: 1.15rem;
  line-height: 1.05;
}

.content-page h3 {
  font-size: 1.02rem;
  line-height: 1.1;
}

.content-page h4 {
  font-size: 0.94rem;
  line-height: 1.1;
}

.content-stats h1,
.content-stats h2 {
  margin-bottom: 2.25rem;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 0.98;
}

.stats-grid {
  display: grid;
  gap: 1.25rem 1.5rem;
}

.stats-grid-three,
.stats-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ka-text);
  font-size: 0.75rem;
  line-height: 1.15;
}

.metric-circle::before {
  content: "";
  width: 4.15rem;
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(38, 33, 30, 0.48);
  border-radius: 50%;
}

.metric-number,
.metric-label {
  display: block;
}

.content-factbox {
  margin-top: 2rem;
  padding: 2rem 2rem 1.4rem;
  border-radius: var(--ka-radius-xl);
  box-shadow: var(--ka-shadow);
  background:
    radial-gradient(circle at 82% 18%, rgba(252, 252, 250, 0.4), transparent 40%),
    linear-gradient(135deg, #faf5f1 0%, #e7d6cb 58%, #dcc4b6 100%);
}

.content-factbox > :last-child {
  margin-bottom: 0;
}

.content-factbox p {
  margin-bottom: 1rem;
  color: var(--ka-text);
  font-size: 1rem;
  line-height: 1.35;
}

.content-factbox h2 {
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
  line-height: 1.05;
}

.metric-note {
  margin-top: 1.4rem;
  color: rgba(31, 36, 31, 0.84);
  font-size: 0.75rem;
}

.content-wave {
  position: absolute;
  left: -4.75rem;
  bottom: -9.6rem;
  width: min(14rem, 24vw);
  display: block;
  z-index: 2;
}

.content-image-frame {
  border-radius: 0 0 2.2rem 0;
}

.content-image {
  width: 100%;
  height: clamp(20rem, 38vw, 31rem);
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991.98px) {
  .content-wave {
    left: 0;
    bottom: -7.2rem;
  }

  .content-copy {
    padding-bottom: 6rem;
  }
}

@media (max-width: 767.98px) {
  .subpage-hero-image,
  .content-image {
    height: 16rem;
  }

  .subpage-hero-frame,
  .content-image-frame {
    border-radius: 0 0 2rem 0;
  }

  .content-stats h1,
  .content-stats h2 {
    margin-bottom: 1.6rem;
  }

  .stats-grid-three {
    grid-template-columns: 1fr;
  }

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

  .content-factbox {
    margin-top: 1.5rem;
  }

  .metric-note {
    margin-top: 1rem;
  }

  .content-wave {
    display: none;
  }

  .content-copy {
    padding-bottom: 0;
  }

}
