.peach-center-text-component {
  position: relative;
  width: 100%;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.peach-center-text--full-width {
  width: 100%;
  max-width: 100%;
}

.peach-center-text--centered {
  width: min(100%, var(--site-max-width, 1400px));
  max-width: var(--site-max-width, 1400px);
  margin-inline: auto;
}

.peach-center-text-shell {
  position: relative;
  display: flex;
  flex-direction: column;
}

.peach-center-text-shell--background {
  min-height: clamp(22rem, 44vw, 38rem);
  justify-content: center;
}

.peach-center-text-media {
  position: relative;
  background-color: color-mix(in srgb, var(--primary-color) 82%, transparent);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.peach-center-text-shell--background > .peach-center-text-media {
  position: absolute;
  inset: 0;
}

.peach-center-text-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary-color) 28%, transparent), color-mix(in srgb, var(--primary-color) 58%, transparent)),
    radial-gradient(circle at center, transparent, color-mix(in srgb, var(--primary-color) 32%, transparent));
}

.peach-center-text--parallax .peach-center-text-shell--background > .peach-center-text-media {
  background-attachment: fixed;
}

.peach-center-text-media--stacked {
  width: 100%;
  min-height: clamp(14rem, 32vw, 24rem);
  order: 1;
}

.peach-center-text--reverse .peach-center-text-media--stacked {
  order: 3;
}

.peach-center-text-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
  justify-items: center;
  align-content: center;
  width: min(100%, 72.8rem);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.peach-title-block {
  display: flex;
  flex-direction: column;
}

.peach-title-block .peach-center-text-title {
  order: -2;
}

.peach-title-block .peach-center-text-eyebrow {
  order: -1;
}

.peach-center-text-shell--stacked .peach-center-text-body {
  order: 2;
}

.peach-center-text-shell--background .peach-center-text-body {
  min-height: inherit;
}

.peach-center-text--minimal .peach-center-text-body,
.peach-center-text-minimal-body {
  width: min(100%, 78.4rem);
  background: color-mix(in srgb, var(--primary-color) 88%, transparent);
  backdrop-filter: blur(10px);
}

.peach-center-text-media--minimal {
  position: absolute;
  inset: 0;
}

.peach-center-text-eyebrow {
  margin: 0 0 0.85rem;
  color: var(--muted-text-color);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.peach-center-text-title {
  margin: 0;
  color: var(--text-color);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.peach-center-text-separator {
  width: 8rem;
  height: 2px;
  margin: 1.5rem auto;
  background: linear-gradient(90deg, transparent, var(--button-color), transparent);
}

.peach-center-text-description {
  width: 100%;
  max-width: 58.8rem;
  color: var(--muted-text-color);
  line-height: 1.8;
}

.peach-center-text-btn {
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .peach-center-text-shell--background {
    min-height: clamp(19rem, 78vw, 30rem);
  }

  .peach-center-text-media--stacked {
    min-height: clamp(12rem, 44vw, 18rem);
  }
}

@media (max-width: 640px) {
  .peach-center-text-component {
    border-radius: var(--radius-lg);
  }

  .peach-center-text-shell--background {
    min-height: clamp(17rem, 92vw, 24rem);
  }

  .peach-center-text-body {
    padding: 3.25rem 1rem;
  }
}
