/* Shared by every page: footer social icons and touch-target sizing. */

.footer-socials {
  margin-top: .6rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

/* 18px icon inside a 36px hit area. The padding is cancelled by an equal
   negative margin, so the footer layout does not move. */
.footer-socials .footer-social-link {
  box-sizing: content-box;
  width: 1.15rem;
  height: 1.15rem;
  margin: -.55rem;
  padding: .55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .72;
}

/* Touch screens get a 44px hit area; the gap grows so neighbours do not overlap. */
@media (pointer: coarse) {
  .footer-socials { gap: 1.75rem; }
  .footer-socials .footer-social-link { margin: -.85rem; padding: .85rem; }
}

.footer-social-link img {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--crimson, #C1121F);
  outline-offset: 4px;
}

/* Text-only action links reach the 44px touch target on phones and tablets. */
@media (max-width: 900px), (pointer: coarse) {
  .text-link,
  .text-action,
  .access-action,
  .publication-action,
  .interface-action,
  .technical-download,
  .report-return {
    min-height: 44px;
    align-items: center;
  }
}
