.apple-center-text-component {
  width: min(100%, var(--site-max-width, 1180px));
  max-width: var(--site-max-width, 1180px);
  margin: 0 auto;
  padding: var(--stitch-section-space, 72px) 0 0;
  overflow: visible;
  background: transparent;
  color: var(--text-color);
  box-sizing: border-box;
}

.apple-center-text-component.apple-center-text--full-width,
.apple-center-text-component.full-width,
.apple-center-text-component.fullWidth {
  width: 100%;
  max-width: 100%;
}

.apple-center-text-component.centered {
  width: min(100%, var(--site-max-width, 1180px));
  max-width: var(--site-max-width, 1180px);
}

.apple-center-text-component.apple-center-text--shadow {
  box-shadow: 0 18px 40px var(--theme-shadow-color);
}

.apple-center-text-hero {
  width: 100%;
  max-height: 430px;
  margin-bottom: clamp(26px, 4vw, 44px);
  overflow: hidden;
  border-radius: var(--section-radius, 16px);
}

.apple-center-text-hero-img {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 430px);
  object-fit: cover;
}

.apple-center-text-body {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

.apple-title-block {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.apple-title-block h3,
.apple-center-text-eyebrow {
  margin: 0 0 12px;
  color: var(--muted-text-color);
  font-size: var(--theme-body-font-size, 16px);
  font-weight: var(--theme-button-font-weight, 700);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apple-title-block h2,
.apple-center-text-title {
  margin: 0;
  max-width: 18ch;
  color: var(--text-color);
  font-size: var(--theme-title-font-size, 48px);
  font-weight: var(--theme-title-font-weight, 700);
  line-height: 0.96;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.apple-center-text-separator {
  display: none;
}

.apple-center-text-description {
  margin: 0 auto;
  max-width: 62ch;
  color: var(--muted-text-color);
  font-size: var(--theme-subtitle-font-size, 20px);
  font-weight: var(--theme-body-font-weight, 400);
  line-height: 1.15;
  letter-spacing: 0;
}

.apple-center-text-description :where(strong, b) {
  color: var(--text-color);
  font-weight: var(--theme-button-font-weight, 700);
}

.apple-center-text-btn,
.apple-center-text-component .afhBtn {
  justify-self: center;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--button-color);
  color: var(--button-text-color, var(--inverse-text-color));
  font-size: var(--theme-button-font-size, 14px);
  font-weight: var(--theme-button-font-weight, 700);
  cursor: pointer;
  box-shadow: 0 14px 26px color-mix(in srgb, var(--button-color) 24%, transparent);
}

.apple-center-text-btn:hover,
.apple-center-text-component .afhBtn:hover {
  background: var(--button-hover-color);
}

.apple-center-text--minimal {
  padding-top: var(--stitch-section-space, 72px);
}

.apple-center-text-minimal-body {
  display: block;
  width: min(100%, 820px);
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line-color);
  border-radius: var(--section-radius, 16px);
  background: var(--surface-color);
  box-shadow: none;
  text-align: center;
}

.apple-center-text-minimal-body .apple-center-text-title {
  max-width: none;
}

.apple-center-text-minimal-body .apple-center-text-description {
  max-width: 58ch;
  margin: 16px auto 0;
  font-size: var(--theme-subtitle-font-size, 20px);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .apple-center-text-body {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, 720px);
  }

  .apple-title-block h2,
  .apple-center-text-title {
    max-width: 17ch;
  }

  .apple-center-text-description {
    font-size: var(--theme-subtitle-font-size, 20px);
  }
}
