/* Additions shared by the three existing, independently viewable pages. */
.symbol-icon { display:inline-block; width:20px; height:20px; flex-shrink:0; vertical-align:middle; }
.gallery-arrow .symbol-icon, .dialog-close .symbol-icon, .catering-photo .symbol-icon { display:block; margin:auto; }
.nav { gap:20px; }
.nav a { white-space:nowrap; }
.events { background:var(--paper); border-bottom:1px solid var(--line); }
.events-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.event-card { padding:32px; border:1px solid var(--line); background:var(--white); border-radius:14px; display:flex; flex-direction:column; align-items:flex-start; }
.event-card .eyebrow { color:var(--accent); font-size:9px; }
.event-card h3 { font:40px/1.15 Georgia,serif; margin:20px 0; letter-spacing:-1px; }
.event-card>p:not(.eyebrow) { font-size:14px; color:var(--muted); max-width:480px; margin-bottom:24px; }
.event-card .text-link { margin-top:auto; }
.events-note { font-size:12px; color:var(--muted); margin-top:24px; }
.events-note a { text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.museum-categories { display:flex; flex-wrap:wrap; gap:10px; margin:40px 0; }
.museum-categories a { display:block; padding:12px 18px; border:1px solid #b9bdac; border-radius:6px; background:var(--paper); font-size:13px; line-height:1.5; }
.museum-categories a:hover { background:var(--ink); border-color:var(--ink); color:var(--paper); }
.museum-category { border-top:1px solid #c6c8b8; padding-top:32px; margin-top:40px; scroll-margin-top:28px; }
.museum-category .category-title { font-size:clamp(30px,3.5vw,44px); margin-bottom:24px; }
.museum-category .museum-collection-heading h2 { font-size:clamp(26px,3vw,38px); }
.collection-pending { font-size:14px; color:#465044; padding:24px; background:#f5f1e7; border-radius:10px; }
.category-photo { margin:0; max-width:850px; padding:10px; border-radius:14px; background:var(--white); }
.category-photo img { display:block; position:static; width:100%; height:auto; max-height:500px; object-fit:contain; border-radius:9px; opacity:1; }
.category-photo figcaption { padding:12px 5px 4px; color:#465044; font-size:13px; }
.category-back { display:inline-block; font-size:12px; padding:12px 0; margin-top:16px; text-decoration:underline; text-underline-offset:4px; }
@media (min-width:801px) and (max-width:1400px) {
  .header { flex-wrap:wrap; height:auto; min-height:108px; gap:12px 24px; padding-top:14px; padding-bottom:14px; }
  .header .nav { order:3; width:100%; justify-content:space-between; gap:12px; }
}
@media (max-width:800px) {
  .nav { gap:4px; }
  .nav a { white-space:normal; }
  .event-card { padding:24px; }
}
@media (max-width:550px) {
  .events-grid { grid-template-columns:1fr; gap:16px; }
  .events .section-label { flex-wrap:wrap; gap:10px; }
  .events .section-heading h2 { max-width:none; }
  .event-card h3 { font-size:34px; }
  .museum-categories { gap:8px; margin:28px 0; }
  .museum-categories a { padding:10px 12px; font-size:12px; }
  .museum-category { margin-top:28px; padding-top:24px; }
  .collection-pending { padding:20px; }
}

.events-page .events { background:transparent; border-bottom:0; padding-top:45px; }
.events-page #events-title { font-size:clamp(38px,4.5vw,64px); line-height:1.1; }
.events-page #events-title em { color:var(--accent); }
@media(max-width:550px) { .events-page .events { padding-top:30px; } }

.museum-category[hidden] { display:none!important; }
.museum-categories [aria-selected="true"] { background:var(--ink); border-color:var(--ink); color:var(--paper); }
.catering-gallery { margin-top:56px; padding-top:36px; border-top:1px solid var(--line); }
.catering-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.catering-photo { position:relative; display:block; width:100%; padding:0; border:0; border-radius:12px; overflow:hidden; background:#e8e2d6; }
.catering-photo img { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:contain; }
.catering-photo>span { position:absolute; right:14px; bottom:14px; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--paper); color:var(--ink); font-size:20px; }
.catering-photo:hover>span { background:var(--ink); color:var(--paper); }
.event-group-links { display:flex; flex-wrap:wrap; gap:16px; margin:32px 0; }
.event-group-links .button { min-width:180px; }
@media(max-width:550px) {
  .event-group-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .event-group-links .button { min-width:0; width:100%; padding:14px 12px; gap:8px; font-size:12px; }
  .event-group-links .button > span { flex-shrink:0; }
}
.event-group { margin-top:48px; padding-top:36px; border-top:1px solid var(--line); scroll-margin-top:28px; }
.event-group-intro { max-width:760px; margin-bottom:30px; }
.event-group-intro .eyebrow { font-size:10px; color:var(--accent); }
.event-group-intro h2 { margin:16px 0 20px; }
.event-group-intro>p:not(.eyebrow) { font-size:14px; color:var(--muted); }
.event-group-intro .text-link { margin-top:16px; }

/* Original museum photographs retain their complete framing. */
.museum-photo-main, .museum-archive-photo { display:block; width:100%; padding:0; border:0; background:#e8e2d6; cursor:zoom-in; }
.museum-photo-main>img { display:block; width:100%; height:auto; aspect-ratio:auto; }
.museum-family-archive { margin-top:24px; padding-top:22px; border-top:1px solid var(--line); }
.museum-family-archive h4 { margin:0 0 16px; font:24px/1.25 Georgia,serif; color:var(--ink); }
.museum-family-photos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.museum-family-photos figure { margin:0; min-width:0; }
.museum-archive-photo { overflow:hidden; border-radius:6px; }
.museum-archive-photo>img { display:block; width:100%; height:auto; aspect-ratio:auto; }
.museum-family-photos figcaption { margin-top:8px; font-size:11px; line-height:1.5; color:var(--muted); }
@media(max-width:550px) { .museum-family-photos { grid-template-columns:1fr; } }

/* Each card follows its own content height instead of stretching to its neighbour. */
.museum-cars { display:block; columns:2; column-gap:28px; }
.museum-car { display:inline-block; width:100%; margin-bottom:28px; break-inside:avoid; vertical-align:top; }
.museum-car>img { display:block; width:100%; height:auto; aspect-ratio:auto; }
@media(max-width:800px) {
  .museum-cars { columns:1; }
  .museum-car { margin-bottom:24px; }
}
@media(max-width:800px) { .catering-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }
@media(max-width:550px) { .catering-gallery { margin-top:36px; padding-top:28px; } .catering-photo-grid { grid-template-columns:1fr; } }
