/* footer.php */

.wnb-footer {
  position: relative;
  z-index: 1;
  color: #fff;
}

.wnb-footer__main {
  background: #000;
  padding: clamp(2.75rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
}

.wnb-footer__grid {
  max-width: var(--wnb-max-content);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.wnb-footer__brand img {
  height: auto;
  max-height: 3.25rem;
  width: auto;
  max-width: min(100%, 15rem);
  object-fit: contain;
  filter: invert(1);
}

.wnb-footer__brand-copy {
  margin: 0;
  max-width: 24rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.wnb-footer__heading {
  margin: 0 0 1.25rem;
  font-family: var(--wnb-font-hero);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.wnb-footer__links,
.wnb-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wnb-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.wnb-footer__link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.15s ease;
}

.wnb-footer__link:hover {
  color: #fff;
}

.wnb-footer__link-icon {
  margin-top: 0.125rem;
  display: inline-flex;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.wnb-footer__link-icon svg {
  width: 0.625rem;
  height: 0.625rem;
}

.wnb-footer__link-text {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}

.wnb-footer__link:hover .wnb-footer__link-text {
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.wnb-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wnb-footer__contact li {
  display: flex;
  gap: 0.75rem;
}

.wnb-footer__contact svg {
  margin-top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.wnb-footer__contact a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  text-underline-offset: 4px;
}

.wnb-footer__contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.wnb-footer__contact span {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.wnb-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.wnb-footer__social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.wnb-footer__copy {
  max-width: var(--wnb-max-content);
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 720px) {
  .wnb-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .wnb-footer__grid {
    grid-template-columns: 1fr auto auto;
    column-gap: 4rem;
  }
}
