/* Site footer: brand, three grouped link columns, and a bottom bar with
   the copyright and "Your privacy choices". Loaded after style.css,
   responsive.css and dark-style.css, so it replaces their footer rules. */

.site-footer.footer-area {
  padding-top: 56px;
  border-top: 1px solid #efece4;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.site-footer .logo {
  display: inline-block;
  margin-bottom: 12px;
}
.site-footer .logo img {
  width: 190px;
  height: auto;
}
.theme-light .site-footer .logo.white-logo,
.site-footer .logo.white-logo {
  display: none;
}
.theme-dark .site-footer .logo.white-logo {
  display: inline-block;
}
.theme-dark .site-footer .logo.black-logo {
  display: none;
}

.site-footer__tagline {
  max-width: 340px;
  margin: 0 0 16px;
  color: #6b6b84;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__social {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-color: #6b6b84;
  color: #ffffff;
  font-size: 19px;
}
.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  background-color: #ff5d22;
  color: #ffffff;
}

.site-footer__col h3 {
  margin: 4px 0 14px;
  font-size: 16px;
  color: #221638;
}
.site-footer__col ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-footer__col li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}
.site-footer__col li:last-child {
  margin-bottom: 0;
}
.site-footer__col a {
  color: #6b6b84;
  font-weight: 600;
}
.site-footer__col a:hover,
.site-footer__col a:focus-visible {
  color: #ff5d22;
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid #efece4;
  font-size: 14px;
  color: #6b6b84;
}
.site-footer__copy {
  margin: 0;
  font-size: 14px;
}
.site-footer__copy strong {
  color: #221638;
}
.site-footer__privacy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b6b84;
  font-weight: 600;
}
.site-footer__privacy:hover,
.site-footer__privacy:focus-visible {
  color: #ff5d22;
}

/* The old layout's decorative world map is no longer used. */
.site-footer .footer-map {
  display: none;
}

/* Dark theme */
.theme-dark .site-footer.footer-area {
  border-top-color: #222222;
}
.theme-dark .site-footer__col h3,
.theme-dark .site-footer__copy strong {
  color: #ffffff;
}
.theme-dark .site-footer__tagline,
.theme-dark .site-footer__col a,
.theme-dark .site-footer__bar,
.theme-dark .site-footer__privacy {
  color: #bbbbbb;
}
.theme-dark .site-footer__col a:hover,
.theme-dark .site-footer__privacy:hover {
  color: #ff5d22;
}
.theme-dark .site-footer__bar {
  border-top-color: #222222;
}
.theme-dark .site-footer__social a {
  background-color: #222222;
}

/* Tablet: brand on its own row, the three columns below it. */
@media (max-width: 991px) {
  .site-footer.footer-area {
    padding-top: 44px;
  }
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
  .site-footer__tagline {
    max-width: none;
  }
}

/* Phone: two columns of links, the bar stacked and centred. */
@media (max-width: 575px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__bar {
    flex-direction: column;
    text-align: center;
    margin-top: 32px;
  }
}
