.hc-memories{max-width:1120px;margin:64px auto;padding:48px 24px;background:#f5f0e6;border-top:1px solid #d7c7a8;border-bottom:1px solid #d7c7a8;color:#243b32;box-sizing:border-box}.hc-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.hc-eyebrow{font:600 11px/1.6 system-ui;letter-spacing:2.5px;color:#876434;margin:0 0 14px}.hc-memories h2{font:400 clamp(32px,4vw,48px)/1.12 Georgia,serif;margin:0 0 16px;color:#243b32}.hc-intro{font:16px/1.7 system-ui;max-width:580px;margin:0}.hc-controls{display:flex;align-items:center;gap:13px;white-space:nowrap}.hc-controls button,.hc-close{border:1px solid #bca77d;background:#fffdf8;color:#243b32;border-radius:50%;width:46px;height:46px;font-size:22px;cursor:pointer}.hc-controls button:disabled{opacity:.35;cursor:default}.hc-count{font:13px system-ui;font-variant-numeric:tabular-nums;min-width:40px;text-align:center}.hc-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#bca77d transparent;padding:4px 0 20px;overscroll-behavior-x:contain}.hc-slide{flex:0 0 auto;width:auto;margin:0;scroll-snap-align:start;max-width:100%}.hc-photo{display:block;height:330px;aspect-ratio:var(--photo-ratio,3/4);overflow:hidden;border-radius:12px;background:#e8e1d2;max-width:100%}.hc-photo img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}.hc-slide figcaption{padding:15px 2px 0;font:14px/1.6 system-ui}.hc-slide figcaption strong{display:block;font:400 22px/1.3 Georgia,serif;margin-bottom:5px}.hc-slide figcaption span{font-size:11px;color:#6e705f}.hc-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:14px;font:13px/1.6 system-ui}.hc-bottom p{margin:0;color:#6e705f}.hc-bottom a{color:#243b32;text-underline-offset:5px}.hc-dialog{border:0;border-radius:14px;padding:16px;background:#102a24;color:#fff;width:min(1040px,94vw);max-width:94vw;max-height:94dvh;box-sizing:border-box}.hc-dialog::backdrop{background:#000d}.hc-dialog:not([open]){display:none}.hc-dialog img{display:block;width:100%;height:72dvh;object-fit:contain;margin-top:12px}.hc-dialog p{font:14px/1.5 system-ui}.hc-close{display:block;margin-left:auto;border-radius:8px;width:auto;padding:0 18px;font-size:15px}.hc-memories :focus-visible{outline:3px solid #a9874f;outline-offset:4px}
/* Preserve each photograph's framing instead of cutting portraits into landscape thumbnails. */
.g-photos{display:block;columns:3;column-gap:20px}.g-photos figure{break-inside:avoid;margin:0 0 24px;display:inline-block;width:100%;vertical-align:top}.g-photo img{height:auto;width:100%;object-fit:contain}.g-photo:hover img{transform:none}.g-photos figcaption{padding:11px 3px;font-size:12px}.g-photo{border-radius:12px}.g-card.g-populated{padding:30px}.g-wrap .hc-memories{margin:30px 0 50px}.g-lightbox img{object-fit:contain}
@media(max-width:650px){.hc-memories{padding:32px 18px;margin:40px 0}.hc-heading{display:block}.hc-controls{margin-top:20px;justify-content:flex-end}.hc-photo{height:min(320px,75vw)}.hc-bottom{display:block}.hc-bottom a{display:inline-block;margin-top:12px}.hc-track{gap:14px}.hc-dialog img{height:65dvh}.g-photos{columns:2;column-gap:12px}.g-card.g-populated{padding:18px}.g-photo img{height:auto}.g-photos figure{margin-bottom:16px}}


/* Keep the image and its caption together in reading order on every screen. */
.g-populated .g-photos {
  display: grid;
  columns: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.g-populated .g-photos figure { display: block; margin: 0; }
.g-populated .g-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
}
.g-populated .g-photo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
.g-populated .g-photo:hover img { transform: none; }
.g-populated .g-photo, .hc-slide .hc-photo {
  background: #efe9df;
  box-shadow: 0 2px 8px rgb(44 37 24 / 12%);
}
.g-populated .g-photo img, .hc-slide .hc-photo img {
  filter: brightness(1.025) contrast(1.015) saturate(1.04);
}
@media (max-width: 650px) {
  .g-populated .g-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 480px) {
  .g-populated .g-photos { grid-template-columns: minmax(0, 1fr); }
}
