/* PortCrowds real-photo components (site/photos.py).
   Built on style.css tokens; photo-* classes only. */

.photo-hero {
  margin: 0 0 18px;
}

.photo-hero img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius, 14px);
  border: 1px solid var(--border, #d8e2ea);
}

.photo-credit {
  margin: 6px 2px 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-faint, #6b7d8c);
}

.photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.photo-card {
  margin: 0;
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border, #d8e2ea);
}

.photo-card figcaption {
  margin-top: 6px;
}

.photo-card .photo-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink, #15202b);
}
