/* ==========================================================================
   Old Hill Masjid - photo strip (2.4, imam's photos on the inner pages)
   A row of real photos from the gallery. Images point at the gallery's 640px
   thumbnails, carry width/height, lazy loading and async decoding. No tint.
   ========================================================================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.photo-strip__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-white, #ffffff);
  border: 1px solid rgba(201, 168, 76, 0.28);
  box-shadow: 0 14px 30px -20px rgba(11, 31, 58, 0.45);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
a.photo-strip__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -18px rgba(11, 31, 58, 0.5);
  border-color: var(--color-secondary, #0D9B8A);
}
a.photo-strip__item:focus-visible { outline: 3px solid var(--color-secondary, #0D9B8A); outline-offset: 2px; }
.photo-strip__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-bg-card, #EEF2F7);
}
.photo-strip__item figcaption,
.photo-strip__cap {
  padding: 0.65rem 0.85rem 0.75rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--color-text-muted, #4A5568);
}
.photo-strip__cap strong { display: block; color: var(--color-primary, #0B1F3A); font-size: 0.95rem; }
.photo-strip__more { text-align: center; margin-top: 1.25rem; }
.photo-strip__more a { color: var(--color-secondary, #0D9B8A); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .photo-strip__item { transition: none; }
  a.photo-strip__item:hover { transform: none; }
}
/* index activity cards that now carry a real photo (the old graphics stay "contain") */
.act-card__img img.is-photo { object-fit: cover; }
/* contact: one photo of the building front */
.visit__photo { margin-top: 1.5rem; max-width: 560px; }
.visit__photo img { aspect-ratio: 3 / 2; }
