@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  html { overflow-x: hidden; overscroll-behavior-x: none; }
  @supports (overflow: clip) {
    html, body { overflow-x: clip; overscroll-behavior-x: none; }
  }
}
@media (max-width: 700px) {
  footer#site-footer .pf-directory .pf-brand > .pf-social {
    display: grid; grid-template-columns: repeat(4, 44px); gap: 0;
    width: 176px; max-width: 100%; min-width: 0; margin: 0;
  }
}
@media (max-width: 480px) {
  footer#site-footer .pf-directory .pf-brand {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas: "brand apply" "socials socials"; row-gap: 2px;
  }
  footer#site-footer .pf-directory .pf-brand > .pf-social { justify-self: start; }
}
@media (max-width: 600px) {
  main .profile { grid-template-columns: minmax(0, 1fr); }
  main .profile > *, main .portrait .photo-grid > * { min-width: 0; }
  main .portrait .photo-grid { grid-template-columns: minmax(0, 1fr); }
  main .profile, main .pedigree { touch-action: pan-y pinch-zoom; }
}
