.gallery-heading { padding-block: 48px 52px; }
.back-link { text-decoration: underline; text-underline-offset: 5px; }
.gallery-heading h1 { margin-top: 32px; }
.gallery-heading p { max-width: 580px; margin-bottom: 0; }
.motion-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 48px; align-items: center; }
.motion-photo { display: block; cursor: zoom-in; }
.motion-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.motion-photo:focus-visible, .back-link:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.gallery-bottom { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding-block: 64px; }
@media (max-width: 640px) {
  .gallery-heading { padding-block: 28px 36px; }
  .motion-gallery { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

