/* Footer alignment and navigation hover treatment from the design. */
.site-footer .footer-grid {
  align-items: start;
}

.site-footer .footer-grid h3 {
  margin: 0 0 24px;
  font-family: RobotoLocal, Arial, sans-serif;
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 600;
  line-height: 1.2;
}

.site-footer .footer-grid > div:not(.footer-brand) a {
  position: relative;
  width: fit-content;
  margin: 0 0 17px;
  padding-left: 0;
  font-family: GoogleSansFlex, RobotoLocal, Arial, sans-serif;
  font-size: clamp(14px, .82vw, 16px);
  font-weight: 300;
  line-height: 1.35;
  transition: color .3s ease, padding-left .35s cubic-bezier(.76, 0, .24, 1);
}

.site-footer .footer-grid > div:not(.footer-brand) a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--orange);
  transform: translate(-100%, -50%) scaleX(0);
  transform-origin: right center;
  transition: transform .35s cubic-bezier(.76, 0, .24, 1);
}

.site-footer .footer-grid > div:not(.footer-brand) a:hover,
.site-footer .footer-grid > div:not(.footer-brand) a:focus-visible {
  padding-left: 18px;
  color: var(--orange);
  outline: none;
}

.site-footer .footer-grid > div:not(.footer-brand) a:hover::before,
.site-footer .footer-grid > div:not(.footer-brand) a:focus-visible::before {
  transform: translate(-100%, -50%) scaleX(1);
}

.site-footer .footer-subscribe h3 {
  max-width: 380px;
  margin-bottom: 24px;
  font-family: RobotoLocal, Arial, sans-serif;
  font-size: clamp(17px, 1.15vw, 22px);
  font-weight: 600;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .site-footer .footer-grid h3 { margin-bottom: 18px; }
  .site-footer .footer-grid > div:not(.footer-brand) a { margin-bottom: 13px; }
}
