/* Shared footer, contact links and legal row.
 * One definition per selector and condition. Edit the owning rule; do not append override blocks. */

.footer-brand {
  line-height: 0;
  text-decoration: none;
  display: inline-block;
}

.footer-title {
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: .35rem 0 1.1rem;
  font-size: .78rem;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: .65rem;
}

.footer-links a {
  color: #ffffff8c;
  overflow-wrap: anywhere;
  font-size: .9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  gap: .7rem;
  display: grid;
}

.footer-contact i {
  color: #fff;
  margin-right: .4rem;
}

.footer-bottom {
  color: #ffffffb8;
  border-top: 1px solid #ffffff1f;
  padding-top: 1.5rem;
  font-size: .8rem;
}

.site-footer {
  color: #fff;
  background: var(--ntc-charcoal);
  padding: 5rem 0 0;
  position: relative;
}

.site-footer::before {
  background: rgba(255,255,255,.14);
  content: "";
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.footer-main {
  padding-bottom: 4.5rem;
}

.footer-logo {
  object-fit: contain;
  width: auto;
  max-width: 100%;
  height: 3rem;
}

.footer-intro {
  color: #ffffff94;
  max-width: 22rem;
  margin: 1.4rem 0 1.2rem;
  line-height: 1.75;
}

.site-footer .footer-title {
  color: #fff;
  letter-spacing: .1em;
  margin: 0 0 1.35rem;
  font-size: .73rem;
}

.site-footer .footer-links {
  margin: 0;
}

.site-footer .footer-links li {
  margin-bottom: .7rem;
}

.site-footer .footer-links a {
  color: #ffffff94;
  font-size: .86rem;
  text-decoration: none;
  display: inline-flex;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus {
  color: #fff;
  transform: translateX(3px);
}

.site-footer .footer-contact {
  gap: .8rem;
  margin: 0;
  font-style: normal;
  display: grid;
}

.footer-contact-link {
  color: #ffffffb8;
  align-items: flex-start;
  gap: .7rem;
  font-size: .82rem;
  line-height: 1.5;
  text-decoration: none;
  display: flex;
}

.footer-contact-link>i {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-radius: var(--ntc-radius-surface);
  flex: 0 0 2rem;
  justify-content: center;
  align-items: center;
  height: 2rem;
  margin: 0;
  display: flex;
}

.footer-contact-link span {
  flex-direction: column;
  display: flex;
}

.footer-contact-link small {
  color: #ffffffb8;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 700;
}

.footer-contact-link:hover,
.footer-contact-link:focus {
  color: #fff;
}

.site-footer .footer-bottom {
  color: #ffffffb8;
  border-top: 1px solid #ffffff17;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0 1.6rem;
  font-size: .75rem;
  display: flex;
}

.footer-legal {
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  display: flex;
}

.footer-legal a {
  color: #ffffffb8;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus {
  color: #fff;
}

.site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: var(--ntc-radius-detail);
}

@media (max-width:1199.98px) {
  .site-footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
}

@media (max-width:767.98px) {

  .footer-bottom,
.site-footer .row>div {
    text-align: left;
  }
}

@media (max-width:575.98px) {

  .footer-contact {
    gap: .85rem;
  }

  .footer-bottom {
    gap: .5rem !important;
  }

  .site-footer .row>div {
    text-align: left;
  }

  .site-footer {
    padding-top: 3.5rem;
    padding-top: 3.5rem !important;
  }

  .footer-main {
    padding-bottom: 3rem;
  }

  .site-footer .footer-bottom {
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
  }

  /* Match the mobile container padding so the Bootstrap row stays within the viewport. */

  .site-footer .footer-main {
    --bs-gutter-x: 2rem;
  }
}
