/* Shared Compare navigation, used by the product and reading-page footers. */
.site-footer .footer-shell,
.site-footer .footer-layout {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.6fr) minmax(190px, 0.8fr);
  align-items: start;
  gap: 24px 48px;
}

.site-footer .footer-links,
.site-footer .footer-compare {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-size: 14px;
  font-weight: 450;
}

.site-footer .footer-compare h2 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-footer .footer-links a,
.site-footer .footer-compare a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 4px 0;
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-compare > a {
  opacity: 0.9;
}

.site-footer .footer-compare h2 a {
  min-height: 36px;
}

.site-footer .footer-layout > p,
.site-footer .copyright {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
}

@media (hover: hover) {
  .site-footer .footer-compare a:hover,
  .site-footer .footer-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

@media (max-width: 760px) {
  .site-footer .footer-shell,
  .site-footer .footer-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .site-footer .footer-shell,
  .site-footer .footer-layout {
    gap: 20px 16px;
  }

  .site-footer .footer-links,
  .site-footer .footer-compare {
    font-size: 13px;
  }
}
