/* Album gallery: a continuously moving horizontal photo strip. */
.photos-gallery { padding: 8px 0 105px; overflow: hidden; }
.photos-gallery__head { align-items: end; }
.photos-gallery__controls { display: flex; gap: 10px; }
.photos-gallery__controls button {
  width: 48px; height: 48px; border: 1px solid #ffffff80; border-radius: 50%;
  color: #fff; background: #111; cursor: pointer; font-size: 24px;
}
.photos-gallery__controls button:hover, .photos-gallery__controls button:focus-visible {
  background: #f5f5f3; color: #111;
}
.photos-gallery__grid {
  display: flex; gap: 12px; columns: initial; overflow-x: auto; overflow-y: hidden;
  padding: 0 max(32px,calc((100vw - 1480px)/2)) 8px;
  scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y;
}
.photos-gallery__grid::-webkit-scrollbar { display: none; }
.photos-gallery__grid button {
  flex: 0 0 clamp(190px, 22vw, 330px); width: auto; height: clamp(280px, 32vw, 480px);
  margin: 0; padding: 0; border: 0; border-radius: 12px; overflow: hidden;
  background: #151515; cursor: zoom-in;
}
.photos-gallery__grid img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.photos-category[aria-pressed="true"] img { outline: 2px solid #ffe43d; outline-offset: 4px; }
.photos-category[aria-pressed="true"] span { color: #ffe43d; }
@media (max-width: 620px) {
  .photos-gallery { padding: 0 0 80px; }
  .photos-gallery__head { align-items: end; margin-bottom: 22px; }
  .photos-gallery__head h2 { font-size: clamp(27px, 8vw, 42px); }
  .photos-gallery__controls { gap: 7px; }
  .photos-gallery__controls button { width: 37px; height: 37px; font-size: 20px; }
  .photos-gallery__grid { gap: 8px; padding: 0 17px 8px; }
  .photos-gallery__grid button { flex-basis: 43vw; height: 64vw; max-height: 330px; }
}
