/* Family photo albums */
main.album { width: 100%; box-sizing: border-box; }
.album-intro { max-width: 46rem; margin: 0 auto 1.5rem; }
.album-note { text-align: center; margin: 1.5rem auto; max-width: 40rem; }
.album-photo {
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.album-photo .album-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
}
.album-photo img {
  max-width: 100%;
  max-height: 460px;
  width: auto;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
/* Two or more photos side by side share a height so they line up */
.album-photo .album-images.side-by-side img { height: 360px; width: auto; max-width: calc(50% - 0.5rem); object-fit: contain; }
@media (max-width: 600px) { .album-photo .album-images.side-by-side img { height: auto; max-height: 240px; } }
.album-photo figcaption { margin-top: 0.9rem; line-height: 1.5; font-style: normal; }
.album-photo .photo-name { font-weight: 600; font-size: 1.05rem; color: var(--text); }
.album-photo .photo-detail { display: block; color: var(--text-muted); }
.album-photo .photo-credit { display: block; color: var(--text-muted); font-size: 0.9rem; font-style: italic; margin-top: 0.25rem; }
.album-photo .photo-text { display: block; margin-top: 0.5rem; color: var(--text-muted); font-size: 0.95rem; }
.album-section { text-align: center; margin-top: 2.5rem; }
