html:has(body.shared-content-page),
body.shared-content-page {
  min-height: 100%;
}

body.shared-content-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 0 !important;
}

/* The public header is fixed. These values reserve its complete height plus
   readable breathing room independently of which Tailwind utilities happen to
   be included in the static stylesheet. */
body.shared-content-page .shared-content-main {
  flex: 1 0 auto;
  padding-top: clamp(9rem, 12vw, 11rem) !important;
  padding-bottom: clamp(4rem, 8vw, 6rem) !important;
}

.shared-site-footer {
  flex: 0 0 auto;
  border-top: 1px solid #181c26;
  background: #303646;
  color: #d1d5db;
}

.shared-site-footer__rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 3rem;
}

.shared-site-footer__brand {
  display: grid;
  gap: 1rem;
}

.shared-site-footer__logo {
  width: auto;
  height: 2rem;
  filter: invert(1);
}

.shared-site-footer__copy {
  display: grid;
  gap: .25rem;
  margin: 0;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.5;
}

.shared-site-footer__copy p {
  margin: 0;
}

.shared-site-footer__copy p:last-child {
  color: #9ca3af;
}

.shared-site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.shared-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.shared-site-footer a {
  color: inherit;
  font-size: .875rem;
  text-decoration: none;
  transition: color .15s ease;
}

.shared-site-footer a:hover,
.shared-site-footer a:focus-visible {
  color: #fff;
}

.shared-site-footer__contact {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border: 1px solid rgb(6 161 146 / .2);
  border-radius: 999px;
  background: rgb(6 161 146 / .1);
  color: #fff !important;
  font-weight: 700;
}

.shared-site-footer__contact:hover,
.shared-site-footer__contact:focus-visible {
  background: #06a192;
  color: #012c3c !important;
}

@media (max-width: 767px) {
  body.shared-content-page .shared-content-main {
    padding-top: 8.5rem !important;
  }

  .shared-site-footer__rail {
    align-items: center;
    flex-direction: column;
    padding-block: 2.5rem;
    text-align: center;
  }

  .shared-site-footer__brand,
  .shared-site-footer__actions {
    justify-items: center;
    justify-content: center;
  }
}
