
/* Version 25: footer correction and compact social presence. */
.footer__grid--v5 {
  grid-template-columns: minmax(300px, 1.45fr) minmax(130px, .52fr) minmax(190px, .68fr) minmax(320px, .95fr);
  gap: 48px;
}

.footer__social-column {
  min-width: 0;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer__social a.footer__social-link {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(223,169,70,.38);
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  color: #fff;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.footer__social a.footer__social-link:hover,
.footer__social a.footer__social-link:focus-visible {
  color: var(--navy-deep);
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.footer__social-icon-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: inherit;
  background: transparent;
}

.footer__social-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.footer__social-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.footer__social-note {
  max-width: 230px;
  margin-top: 18px !important;
}

.footer__contact-column {
  min-width: 0;
}

.footer__contact-list li,
.footer__contact-list a,
.footer__contact-list span {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .footer__grid--v5 {
    grid-template-columns: minmax(260px, 1.25fr) minmax(120px, .48fr) minmax(170px, .62fr) minmax(280px, .9fr);
    gap: 30px;
  }
}

@media (max-width: 820px) {
  .footer__grid--v5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .footer__brand,
  .footer__contact-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer__grid--v5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .footer__brand,
  .footer__contact-column {
    grid-column: 1 / -1;
  }

  .footer__social a.footer__social-link {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .footer__social-icon {
    width: 16px;
    height: 16px;
  }
}
