/* Override turquoise background and body to match homepage palette */
body { background-color: #f2fbfd; color: #282d40; }

.bg-turquoise { background-color: #f2fbfd; color: #282d40; }
.bg-turquoise h1, .bg-turquoise h2, .bg-turquoise h3,
.bg-turquoise h4, .bg-turquoise h5, .bg-turquoise h6 { color: #0b3479; }
.bg-turquoise a { color: inherit; }

/* Product detail pages — fix elements styled for the old dark bg */
body h1, body h2, body h3, body h4, body h5, body h6 { color: #0b3479; }
body button { color: #282d40; }

/* Footer container */
.footer {
  position: relative;
  padding: 5rem 0 0;
  background-color: #f2fbfd;
  z-index: 5;
  font-family: "Catamaran", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55556;
  color: #282d40;
}

/* Utilities used in footer */
.text--bold { font-weight: 700; }
.link--primary { font-weight: 600; }

.link {
  position: relative;
  transition: all .3s cubic-bezier(.455,.03,.515,.955);
}
.link:hover { text-decoration: none; }

/* List reset for footer socials */
.footer__socials {
  list-style: none;
  list-style-position: inside;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}
.footer__socials li,
.footer__socials .list__item { display: inline-block; }
.footer__socials li:not(:last-child) { margin-right: 2.77778rem; }

/* Contact section */
.footer__contact {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5.55556rem;
}
.footer__contact address {
  white-space: nowrap;
  line-height: 1.44444;
}
.footer__contact span {
  font-weight: 700;
  display: inline-block;
  margin-bottom: .55556rem;
}

/* Copyright section */
.footer__copyright {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.footer__copyright a {
  display: flex;
  align-items: center;
  color: #282d40;
  text-decoration: none;
}
.footer__copyright a:first-child svg {
  position: relative;
  top: -.44444rem;
  width: 1.38889rem;
  height: auto;
}
.footer__copyright a:last-child svg {
  width: 5.05556rem;
  height: auto;
}
.footer__copyright span {
  display: inline-block;
  margin: 0 .27778rem;
}
.footer__copyright #svgLogoMinimalist { fill: #0b3479; }
.footer__copyright #svgLogoDS        { fill: #282d40; }

/* Links / socials section */
.footer__links {
  display: flex;
  justify-content: space-between;
  margin-top: 2.22222rem;
  padding: 2.77778rem 0;
  border-top: 1px solid rgba(40,45,64,.2);
  font-size: .88889rem;
  line-height: 1.5;
}
.footer__links p {
  max-width: 37.77778rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .footer__contact {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .footer__contact > * {
    width: 50%;
    padding: 1rem;
    margin: 0;
  }

  .footer__links {
    flex-direction: column-reverse;
    text-align: center;
  }
  .footer__links p {
    max-width: none;
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .footer { padding-top: 6.42857rem; }

  .footer__contact { display: block; }
  .footer__contact > * { width: 100%; }

  .footer__copyright {
    flex-direction: column;
  }
  .footer__copyright a {
    justify-content: center;
    margin: .5em 0;
  }

  .footer__links { margin-top: 2.14286rem; }

  .footer__socials {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .footer__socials li { margin: .5rem 0 !important; }
}
