/* Thank-you page only. The imported confirmation text and URL stay unchanged. */
body.page-template-thanks {
  color: #12343a;
  background: #f6f4ee;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.page-template-thanks .legacy-breadcrumbs {
  margin: 0;
  padding: 22px 0 0;
  color: #5c7074;
  background: #f6f4ee;
  border: 0;
}
body.page-template-thanks .legacy-breadcrumbs .legacy-container {
  width: min(1200px, calc(100vw - 64px));
  max-width: none;
}
body.page-template-thanks .legacy-breadcrumbs a { color: #087d89; }
body.page-template-thanks .legacy-breadcrumbs a:focus-visible {
  outline: 2px solid #14b8c6;
  outline-offset: 3px;
}

body.page-template-thanks .legacy-thanks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: clamp(40px, 8vw, 140px);
  width: min(1200px, calc(100vw - 64px));
  max-width: none;
  min-height: 580px;
  margin: 0 auto;
  padding: 75px 0 118px;
}
body.page-template-thanks .legacy-thanks article { min-width: 0; }
body.page-template-thanks .legacy-thanks .legacy-entry-content::before {
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 0 30px;
  background: #14b8c6;
  border-radius: 5px;
  content: "";
}
body.page-template-thanks .legacy-thanks .legacy-entry-content h1 {
  max-width: 830px;
  margin: 0 0 30px;
  color: #12343a;
  font-size: clamp(3.3rem, 5.8vw, 6rem);
  font-weight: 690;
  letter-spacing: -.07em;
  line-height: 1.03;
  text-align: left;
  text-transform: none;
  text-wrap: balance;
}
body.page-template-thanks .legacy-thanks .legacy-entry-content p {
  max-width: 600px;
  margin: 0;
  color: #456168;
  font-size: clamp(1.16rem, 1.65vw, 1.4rem);
  font-weight: 420;
  line-height: 1.5;
  text-align: left;
}
body.page-template-thanks .legacy-thanks .legacy-entry-content p span {
  font-size: inherit !important;
}
body.page-template-thanks .legacy-thanks .legacy-entry-content p:not(:first-of-type) {
  display: none;
}
body.page-template-thanks .legacy-thanks::after {
  display: grid;
  width: 280px;
  height: 280px;
  place-items: center;
  color: #087d89;
  background: #e6f4f2;
  border: 1px solid rgba(20, 184, 198, .25);
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(13, 57, 62, .1);
  content: "\2713";
  font-size: 6.5rem;
  font-weight: 300;
  line-height: 1;
}

@media (max-width: 760px) {
  body.page-template-thanks .legacy-thanks {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 50px;
    padding: 70px 0 90px;
  }
  body.page-template-thanks .legacy-thanks::after {
    grid-row: 1;
    width: 108px;
    height: 108px;
    font-size: 3rem;
    box-shadow: 0 12px 32px rgba(13, 57, 62, .08);
  }
}
@media (max-width: 600px) {
  body.page-template-thanks .legacy-breadcrumbs .legacy-container,
  body.page-template-thanks .legacy-thanks {
    width: calc(100vw - 40px);
  }
  body.page-template-thanks .legacy-thanks {
    gap: 42px;
    padding: 62px 0 82px;
  }
  body.page-template-thanks .legacy-thanks .legacy-entry-content h1 {
    margin-bottom: 24px;
    font-size: clamp(2.9rem, 11vw, 4rem);
  }
}
