body.page-topic .page-end .wrap {
  width: min(40rem, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

body.page-topic .page-end h1,
body.page-topic .page-end p {
  max-width: none;
}

body.page-topic .page-end h1 {
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

body.page-topic .topic-lede {
  margin-top: 1.25rem;
}

body.page-topic .page-end p {
  font-size: 1.0625rem;
  line-height: 1.65;
  text-wrap: pretty;
}

@media (min-width: 1200px) {
  body.page-topic .page-end p {
    font-size: 1.125rem;
  }
}

@media (max-width: 899px) {
  body.page-topic .page-end p {
    font-size: 1rem;
    line-height: 1.55;
  }
}

body.page-topic .topic-section {
  margin-top: 1.55rem;
  padding-top: 1.55rem;
  border-top: 1px solid var(--line);
}

body.page-topic .topic-section h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

body.page-topic .topic-section p + p {
  margin-top: 1.1rem;
}

body.page-topic .topic-contact a {
  color: var(--gulf-ink);
  text-underline-offset: 0.16em;
}

body.page-topic .topic-contact a[href^="tel:"] {
  white-space: nowrap;
}

body.page-topic .topic-section .btn {
  border-radius: 0.9rem;
  corner-shape: squircle;
}
