/* Shared footer based on the MF footer reference. */
body.page .site-footer-unified {
  position: relative;
  isolation: isolate;
  min-height: 26.5rem;
  padding: clamp(2.75rem, 4vw, 4rem) 1.5rem 1.25rem;
  border: 0;
  color: #d8dce4;
  background: radial-gradient(ellipse at 50% 42%, #0c2844, #081a2f 76%);
  font-family: Arial, Helvetica, sans-serif;
}

body.page .site-footer-unified::before,
.site-footer-unified .footer-ribbons,
.site-footer-unified .market-footer__rule {
  display: none;
  content: none;
}

body.page .site-footer-unified > .footer-grid {
  display: grid;
  width: min(100%, 72.5rem);
  max-width: 72.5rem;
  min-height: 18rem;
  grid-template-columns: minmax(8rem, 0.85fr) minmax(18rem, 1.4fr) minmax(7rem, 0.7fr) minmax(8rem, 0.8fr);
  gap: 2.5rem;
  margin: 0 auto;
  padding: 0;
}

.site-footer-unified .footer-brand-column,
.site-footer-unified .footer-column {
  min-width: 0;
  padding: 0;
  border: 0;
}

.site-footer-unified .footer-brand-column {
  align-self: start;
}

.site-footer-unified .brand-logo-footer {
  display: block;
  width: auto;
  height: 6rem;
  max-height: none;
  object-fit: contain;
  transform: none;
}

.site-footer-unified .footer-column h2 {
  margin: 0 0 0.8rem;
  color: #f5f6f8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.site-footer-unified .footer-column address,
.site-footer-unified .footer-column p,
.site-footer-unified .footer-contact-link {
  margin: 0;
  color: #d8dce4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
}

.site-footer-unified .footer-address-link {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: flex-start;
  gap: 0.75rem;
  color: #d8dce4;
  text-decoration: none;
}

.site-footer-unified .footer-address-link img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
}

.site-footer-unified .footer-contact-links {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer-unified .footer-contact-link {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 1.75rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  text-decoration: none;
}

.site-footer-unified .footer-contact-link:hover,
.site-footer-unified .footer-contact-link:focus-visible {
  text-decoration: none;
}

.site-footer-unified .footer-contact-link span {
  overflow-wrap: anywhere;
}

.site-footer-unified .footer-contact-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  color: #d8dce4;
}

.site-footer-unified .footer-links {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-unified .icon-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  height: 2rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  color: #d8dce4;
  font-size: 1rem;
  text-decoration: none;
}

.site-footer-unified .icon-link img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
}

.site-footer-unified .footer-pending {
  display: block;
  max-width: 100%;
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
}

.site-footer-unified .footer-pending a {
  display: inline;
  padding: 0;
  border: 0;
  color: #d8dce4;
  text-decoration: none;
}

.site-footer-unified .footer-bottom {
  display: flex;
  width: min(100%, 72.5rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0 auto;
  padding: 1rem 0 0;
  border-top: 1px solid rgb(216 220 228 / 22%);
  color: #d8dce4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
}

.site-footer-unified .footer-bottom p,
.site-footer-unified .footer-credit p {
  margin: 0;
  font-size: inherit;
}

.site-footer-unified .footer-copyright {
  color: #8fa2b7;
}

.site-footer-unified .footer-credit {
  position: static;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-footer-unified .footer-credit a {
  color: inherit;
  text-decoration: none;
}

.site-footer-unified .footer-credit a:hover,
.site-footer-unified .footer-credit a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer-unified .footer-heart {
  font-size: 1.25em;
  vertical-align: -0.08em;
}

@media (max-width: 70rem) {
  body.page .site-footer-unified > .footer-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 2rem 3rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 40rem) {
  body.page .site-footer-unified {
    padding: 3rem 1.25rem 1.5rem;
  }

  body.page .site-footer-unified > .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-bottom: 1.5rem;
  }

  .site-footer-unified .footer-brand-column {
    justify-content: flex-start;
  }

  .site-footer-unified .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
