.history-gallery .section-heading {
  align-items: flex-start;
  gap: 40px;
}

.history-gallery .history-intro {
  max-width: 520px;
  padding-top: 3px;
}

.history-gallery .history-intro p {
  font-size: 16px;
  line-height: 1.75;
}

.history-intro .text-link {
  margin-top: 24px;
  font-size: 14px;
}

.history-album {
  columns: 3;
  column-gap: 24px;
}

.history-memory {
  display: inline-block;
  width: 100%;
  margin: 0 0 26px;
  break-inside: avoid;
  vertical-align: top;
}

.history-memory .gallery-item {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  border-radius: 3px;
}

.history-memory .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.history-memory .gallery-item:hover img {
  transform: scale(1.025);
}

.history-memory figcaption {
  display: flex;
  gap: 12px;
  padding-top: 11px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.history-memory figcaption span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 10px;
  padding-top: 2px;
  letter-spacing: .08em;
}

.history-hint {
  border-top: 1px solid #142b2925;
  padding-top: 20px;
  margin-top: 3px;
  font-size: 12px;
}

@media (max-width: 700px) {
  .history-gallery .section-heading { gap: 24px; margin-bottom: 30px; }
  .history-gallery .history-intro p { font-size: 15px; }
  .history-album { columns: 2; column-gap: 14px; }
  .history-memory { margin-bottom: 20px; }
  .history-memory figcaption { gap: 7px; font-size: 11px; padding-top: 9px; }
  .history-memory figcaption span { font-size: 9px; padding-top: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .history-memory .gallery-item img { transition: none; }
  .history-memory .gallery-item:hover img { transform: none; }
}
