/* ============================================================================
   Photo gallery — «Информация → Галерея»
   ============================================================================

   The grid, the tiles and the lightbox come from locations.css — the same
   component as the gallery on a stop page. This file only adds the caption
   under each tile and the city heading link. New selectors only; nothing from
   style.css is redefined (checked by tools/fidelity_check.py).
   ========================================================================== */

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gallery-item__caption {
  font-size: 0.9375rem;
  line-height: 1.4;
}

.gallery-item__caption a,
.gallery-city__link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.35s ease;
}

.gallery-item__caption a:hover,
.gallery-item__caption a:focus-visible,
.gallery-city__link:hover,
.gallery-city__link:focus-visible {
  color: #ed1a20;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item__caption a,
  .gallery-city__link {
    transition: none;
  }
}
