/* =============================================
   Footer
   ============================================= */

.site-footer {
  background:
    radial-gradient(ellipse at bottom right, #01537C 0%, transparent 60%),
    url('../../../../sites/default/files/images/background-pattern.png') center 30% / 100% no-repeat,
    linear-gradient(135deg, #002857 0%, #002857 100%);
  color: var(--sata-white);
  padding: 3rem 0 1.5rem;
  position: relative;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}

body.path-frontpage .site-footer-wrap {
  background: #ECECEE;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 2.5rem;
}

.footer-nav-columns {
  display: flex;
  gap: 2rem;
}

.footer-brand {
  max-width: 341px;
  flex: 0 0 341px;
}

.footer-brand__logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-brand__logos img {
  height: 44px;
  width: auto;
  display: block;
  margin: 0 !important;
}

.footer-brand__logos .footer-brand__divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
}

.footer-brand__tagline {
  font-size: 16px;
  opacity: 0.8;
  color: white;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sata-white);
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer-social__link svg {
  width: 24px;
  height: 24px;
}

.footer-social__link:hover {
  opacity: 0.7;
}

.footer-nav__heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--sata-white);
  font-family: OpenSansMedium, sans-serif !important;
  margin-bottom: 1rem;
}

.footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: OpenSansRegular, sans-serif !important;
}

.footer-nav__list a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--transition), opacity var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
}

.footer-nav__external-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-left: 4px;
  background-color: currentColor;
  -webkit-mask-image: url('../images/external-link.svg');
  mask-image: url('../images/external-link.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.footer-nav__list a:hover {
  color: var(--sata-teal) !important;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  border: none !important;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 991.98px) {
  .site-footer__top {
    flex-direction: column;
  }

  .footer-brand {
    flex: none;
    max-width: 100%;
  }

  .footer-nav-columns {
    flex-wrap: wrap;
    gap: 2rem 3rem;
  }
}

@media (max-width: 300px) {
  .footer-brand__logos {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-brand__logos .footer-brand__divider {
    width: 32px;
    height: 1px;
  }
}
