.history-intro {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 720px;
}

.reunion-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.rt-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  display: block;
}

.rt-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.rt-photo {
  height: 72px;
  background: linear-gradient(135deg, var(--color-brown-600), var(--accent-forest));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 22px;
  position: relative;
  overflow: hidden;
}

.rt-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rt-photo-fallback {
  position: relative;
  z-index: 1;
}

/* Hide the camera-icon fallback whenever a real photo image is present */
.rt-photo:has(img) .rt-photo-fallback {
  display: none;
}

.rt-card.highlight .rt-photo {
  background: linear-gradient(135deg, var(--accent-primary), var(--color-forest-900));
  height: 88px;
  color: rgba(255, 255, 255, 0.7);
}

.rt-info {
  padding: 8px 10px;
  border-top: 2px solid var(--accent-primary);
}

.rt-year {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--surface-mid);
}

.rt-location {
  font-size: 10.5px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1px;
}

/* ── Overview – Reunions Across the Years ── */
.overview-reunions-text {
  font-size: 16px;
  line-height: 1.2;
  color: var(--text-secondary);
  margin-bottom: 18px;
  max-width: 720px;
  position: relative;
}

.ho-gallery {
  margin-bottom: 36px;
}

.ho-gallery-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ho-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

/* Match the year-box thumbnail dimensions */
.ho-grid .gallery-thumb img {
  aspect-ratio: auto;
  height: 72px;
}

.ho-grid .gallery-thumb--doc {
  height: 72px;
}

@media (max-width: 720px) {
  .ho-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-cta-block {
  background: var(--surface-border);
  border-radius: 6px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.photo-cta-block p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
}

.tribute-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 680px;
}

@media (max-width: 720px) {
  .reunion-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}
