/* Styles for /history/ only. Uses the site's tokens from /styles.css. */
.history-page{ padding:56px 0 100px; }
.history-head{ max-width:640px; margin-bottom:48px; }
.history-head h1{ font-size:clamp(34px, 5vw, 48px); color:var(--brick); }
.history-intro{ margin-top:14px; color:var(--ink-soft); font-size:17px; }

.timeline{ list-style:none; margin:0; padding:0 0 0 4px; border-left:2px solid var(--gold-soft); }
.event{ display:grid; grid-template-columns:11rem 1fr; gap:24px; padding:0 0 44px 28px; position:relative; }
.event::before{ content:""; position:absolute; left:-9px; top:8px; width:14px; height:14px; border-radius:50%; background:var(--brick); box-shadow:0 0 0 4px var(--stone); }
.event-date{ font-weight:600; color:var(--brick); padding-top:2px; }
.event-body h2{ font-size:24px; margin:0 0 8px; }
.event-body p{ margin:0 0 12px; max-width:62ch; }

.photos{ display:grid; grid-template-columns:repeat(auto-fill, minmax(210px, 1fr)); gap:18px; margin-top:18px; }
.photos figure{ margin:0; }
.photos img{ width:100%; aspect-ratio:4 / 3; object-fit:cover; border-radius:90px 90px 8px 8px; border:1px solid var(--line); background:var(--paper); }
.photos a.zoom{ display:block; cursor:zoom-in; }
.photos figcaption{ font-size:13.5px; color:var(--ink-soft); margin-top:8px; line-height:1.45; }

#lightbox{ border:0; padding:16px; max-width:min(92vw, 960px); background:var(--paper); border-radius:12px; }
#lightbox::backdrop{ background:rgba(34,29,25,.78); }
#lightbox img{ margin:0 auto; max-height:72vh; width:auto; }
#lightbox p{ margin:12px 0 0; color:var(--ink-soft); font-size:14.5px; }
#lightbox button{ margin-top:12px; padding:10px 20px; border:0; border-radius:8px; background:var(--brick); color:#fff; font-size:15px; }
#lightbox button:hover{ background:var(--brick-dark); }

@media (max-width:700px){
  .event{ grid-template-columns:1fr; gap:4px; }
}
