@import url('/vendor/photoswipe/photoswipe.css');

.photo-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.photo-section-header {
  max-width: 44rem;
}

.photo-kicker {
  margin: 0 0 0.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.75;
}

.photo-section-copy p,
.photo-card-body p,
.photo-detail p {
  text-align: left;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.photo-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.photo-card-image,
.photo-stage-link {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  overflow: hidden;
}

.photo-card-image img,
.photo-stage-image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 180ms ease;
}

.photo-card-image:hover img,
.photo-stage-link:hover .photo-stage-image {
  transform: scale(1.02);
}

.photo-card-body h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.photo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  color: #8c8c8c;
  font-size: 0.92rem;
}

.photo-caption {
  margin: 0;
  color: #c8c8c8;
  font-size: 0.98rem;
  line-height: 1.5;
}

.photo-detail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.photo-stage {
  margin-top: 0.25rem;
}

.photo-caption-detail {
  margin-top: -0.25rem;
}

.photo-backlink {
  margin-top: 1rem;
}

@media (max-width: 540px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
