.facebook-photo-section {
  background: #f7f1e4;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.facebook-photo-section .section-heading { max-width: 780px; }
.history-gallery-intro { max-width: 660px; }
.history-year { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.history-year-heading { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(19, 61, 53, .2); padding-bottom: .7rem; }
.history-year-heading h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3rem); color: #143d34; }
.history-year-heading span { color: #646b60; font-size: .88rem; }
.history-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.5vw, 1.4rem); }
.history-photo-card { min-width: 0; margin: 0; background: #fffdf7; border-radius: 5px; overflow: hidden; box-shadow: 0 15px 35px rgba(26, 45, 34, .1); }
.history-photo-card a { display: block; overflow: hidden; position: relative; }
.history-photo-card a::after { content: 'View full photo ↗'; position: absolute; right: .7rem; bottom: .7rem; padding: .45rem .7rem; border-radius: 2px; background: rgba(11, 38, 32, .84); color: white; font: 700 .7rem/1.2 sans-serif; letter-spacing: .02em; }
.history-photo-card a:focus-visible, .archive-grid .history-photo:focus-visible { outline: 4px solid #b9892f; outline-offset: -4px; }
.history-photo-card img { display: block; width: 100%; height: clamp(250px, 27vw, 390px); object-fit: cover; transition: transform .45s ease; }
.history-photo-card a:hover img { transform: scale(1.045); }
.history-photo-card figcaption { padding: 1rem 1rem 1.15rem; color: #143d34; font-size: .92rem; line-height: 1.35; font-weight: 700; }
.archive-grid .history-photo { display: block; }
.archive-grid .history-photo img { display: block; }
.history-lightbox { width: min(96vw, 1300px); max-width: none; max-height: 96vh; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; color: #fff; background: #102920; box-shadow: 0 35px 100px rgba(0,0,0,.55); }
.history-lightbox::backdrop { background: rgba(2, 13, 11, .88); backdrop-filter: blur(7px); }
.history-lightbox-inner { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: min(94vh, 980px); }
.history-lightbox-stage { min-height: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; background: #071711; }
.history-lightbox-stage img { display: block; min-width: 0; max-width: 100%; max-height: calc(min(94vh, 980px) - 145px); margin: auto; object-fit: contain; }
.history-lightbox button { border: 0; cursor: pointer; color: white; background: transparent; }
.history-lightbox button:hover { background: rgba(255,255,255,.12); }
.history-lightbox button:focus-visible { outline: 3px solid #e5bf70; outline-offset: -3px; }
.history-lightbox-nav { height: 100%; min-height: 80px; font-size: 2.4rem; }
.history-lightbox-caption { display: flex; align-items: center; gap: 1rem; min-height: 105px; padding: 1rem 1.35rem; }
.history-lightbox-caption div { flex: 1; min-width: 0; }
.history-lightbox-caption strong { display: block; font-size: 1rem; }
.history-lightbox-caption p { margin: .3rem 0 0; max-height: 3.2em; overflow: auto; color: #e1e9df; font-size: .82rem; line-height: 1.45; white-space: pre-line; }
.history-lightbox-caption a { flex: none; color: #f0ce8b; font-size: .8rem; font-weight: 700; }
.history-lightbox-caption a[hidden] { display: none; }
.history-lightbox-close { align-self: start; padding: .45rem .7rem; font-size: 1.7rem; line-height: 1; }
@media (max-width: 850px) { .history-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 550px) {
  .history-photo-grid { gap: .65rem; }
  .history-photo-card img { height: clamp(210px, 55vw, 320px); }
  .history-photo-card figcaption { padding: .65rem; font-size: .8rem; }
  .history-photo-card a::after { font-size: .64rem; }
  .history-lightbox { width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; }
  .history-lightbox-inner { height: 100dvh; }
  .history-lightbox-stage { grid-template-columns: 42px minmax(0, 1fr) 42px; }
  .history-lightbox-stage img { max-height: calc(100dvh - 140px); }
  .history-lightbox-nav { font-size: 1.8rem; }
  .history-lightbox-caption { padding: .75rem; min-height: 125px; gap: .6rem; }
  .history-lightbox-caption a { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) { .history-photo-card img { transition: none; } }
