/* Keep the About hero's Wix overlays behind the announcement. */
#PAGES_CONTAINER:has(> .about-support) > #SITE_PAGES {
  isolation: isolate;
}

#PAGES_CONTAINER:has(> .about-support) > .support-banner {
  position: relative;
  z-index: 1;
}

.site-registration a {
  color: #155592;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.site-registration a:hover,
.legal-content a:hover {
  text-decoration-thickness: 2px;
}

.site-registration a:focus-visible,
.legal-content a:focus-visible {
  outline: 2px solid #155592;
  outline-offset: 3px;
}

.site-registration .site-registration-legal {
  margin-top: 6px;
  font: inherit;
}

.legal-content {
  box-sizing: border-box;
  width: min(100% - 32px, 840px);
  margin-inline: auto;
  padding-block: 36px 44px;
  color: #24364b;
  font: normal 16px/1.55 montserrat, system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.legal-content h1,
.legal-content h2,
.legal-content p {
  margin: 0 0 14px;
  font-family: inherit;
}

.legal-content h1,
.legal-content h2 {
  color: #1766b1;
  font-weight: 700;
  line-height: 1.15;
}

.legal-content h1 {
  font-size: clamp(29px, 5vw, 46px);
}

.legal-content h2 {
  margin-top: 24px;
  font-size: clamp(22px, 3.5vw, 29px);
}

.legal-content a {
  color: #155592;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.legal-facts {
  margin-block: 18px 22px;
  border-top: 1px solid #d5e0ec;
}

.legal-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 8px 18px;
  padding: 9px 0;
  border-bottom: 1px solid #d5e0ec;
}

.legal-facts dt {
  font-weight: 700;
}

.legal-facts dd {
  margin: 0;
}

.legal-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
}

.legal-documents a {
  font-weight: 700;
}

.legal-certificate {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: clamp(320px, 75vh, 720px);
  border: 1px solid #d5e0ec;
  background: #edf5fd;
}

@media (max-width: 520px) {
  .legal-content {
    padding-block: 26px 32px;
  }

  .legal-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}
