.site-footer {
  box-sizing: border-box;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  color: #d5d5d5;
  background: #172942;
  font-family: "Teva Sans", Arial, sans-serif;
}

.site-footer__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 0 20px 28px;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: inherit;
}

.site-footer p,
.site-footer ul {
  margin: 0;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
}

.site-footer__upper,
.site-footer__branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.site-footer__upper {
  gap: 28px;
}

.site-footer__logo {
  max-width: 263px;
  border-radius: 0 0 20px 20px;
  background: var(--color-brand-white);
  padding: 20px;
}

.site-footer__logo .microsite-logo-media,
.site-footer__logo .microsite-logo-media > div,
.site-footer__logo picture {
  display: block;
}

.site-footer__logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

p.site-footer__tagline {
  color: #80a1bf;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
  margin-top: 26px;
}

.site-footer__navigation {
  width: 100%;
}

.site-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.site-footer__menu-group {
  text-align: center;
}

.site-footer__parent-link {
  color: #2dc4b3;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.52px;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer__submenu {
  display: none;
}

.site-footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer__lower {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
  font-size: 14px;
  line-height: normal;
  text-align: center;
}

.site-footer__legal-links {
  order: 1;
}

.site-footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  list-style: none;
}

.site-footer__legal-item + .site-footer__legal-item::before {
  margin-inline: 8px;
  content: '·';
}

.site-footer__legal-link,
.site-footer__legal-link:visited {
  color: #d5d5d5;
  text-decoration: none;
}

.site-footer__legal-link:hover,
.site-footer__legal-link:focus-visible {
  color: #2dc4b3;
  text-decoration: underline;
}

.site-footer__legal-copy,
.site-footer__legal-copy p {
  display: flex;
  flex-direction: column;
  order: 2;
  max-width: 335px;
  font-size: 14px;
}

@media (min-width: 1280px) {
  .site-footer__inner {
    gap: 36px;
    min-height: 269px;
    padding: 0 80px 40px;
  }

  .site-footer__upper {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    min-height: 98px;
  }

  .site-footer__branding {
    align-items: flex-start;
    justify-content: flex-end;
    width: 400px;
  }

  p.site-footer__tagline {
    width: 400px;
    text-align: left;
  }

  .site-footer__navigation {
    width: auto;
    padding-top: 52px;
  }

  .site-footer__menu {
    display: grid;
    grid-template-columns: 220px 180px 180px;
    gap: 32px 40px;
    align-items: start;
  }

  .site-footer__menu-group {
    text-align: left;
  }

  .site-footer .site-footer__submenu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
  }

  .site-footer__child-link,
  .site-footer__child-link:visited {
    color: #85a6c2;
    font-size: 14px;
    line-height: normal;
    white-space: nowrap;
  }

  .site-footer__parent-link:hover,
  .site-footer__parent-link:focus-visible,
  .site-footer__child-link:hover,
  .site-footer__child-link:focus-visible {
    text-decoration: underline;
  }

  .site-footer__lower {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
  }

  .site-footer__legal-links {
    justify-content: flex-end;
    order: 2;
  }

  .site-footer__legal-list {
    flex-wrap: nowrap;
    justify-content: flex-end;
    white-space: nowrap;
  }

  .site-footer__legal-copy {
    align-items: flex-start;
    order: 1;
    max-width: none;
    white-space: nowrap;
  }
}
