/* A quiet gallery rail: native momentum scrolling, card snapping and a next-card peek. */
.events-carousel { max-width: 1240px; width: 100%; min-width: 0; margin-inline: auto; }
.event-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 4px 16px; }
.event-navigation[hidden], .event-pagination[hidden] { display: none; }
.swipe-hint { display: flex; align-items: center; gap: 10px; margin: 0; color: #755d44; font: 500 12px/1.5 var(--sans); letter-spacing: .06em; }
.swipe-hint > span:first-child { font-size: 25px; color: #997340; }
.touch-hint { display: none; }
.event-arrows { display: flex; gap: 9px; }
.event-arrows button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #af8e5d70; border-radius: 50%; background: linear-gradient(140deg,#fff9ec,#e9d8bc); color: #654735; font: 24px/1 var(--sans); cursor: pointer; box-shadow: 0 3px 10px #7350370c; transition: background .2s, opacity .2s; }
.event-arrows button:hover { background: #f5e7cf; }
.event-arrows button[aria-disabled="true"] { opacity: .32; cursor: default; }
.events-carousel .event-track { position: relative; display: flex; flex-wrap: nowrap; gap: 24px; width: 100%; max-width: none; margin: 0; padding: 8px 4px 28px; box-sizing: border-box; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.event-track::-webkit-scrollbar { display: none; }
.events-carousel .event-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.events-carousel .event-card:hover, .events-carousel .event-card:focus-visible { transform: none; }
.events-carousel .event-card:focus-visible { outline: 2px solid var(--event-accent); outline-offset: 2px; }
.event-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 0; }
.event-dots { display: flex; justify-content: center; gap: 1px; }
.event-dots button { position: relative; width: 28px; height: 44px; background: transparent; border: 0; padding: 0; cursor: pointer; }
.event-dots button::after { position: absolute; content: ''; width: 6px; height: 6px; border-radius: 6px; background: #b3a18a; left: 50%; top: 50%; transform: translate(-50%,-50%); transition: width .25s ease, background .25s ease; }
.event-dots button[aria-current="true"]::after { width: 22px; background: #775344; }
.event-position { margin: 0; color: #735c47; font: 500 11px/1.5 var(--sans); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.event-arrows button:focus-visible, .event-dots button:focus-visible { outline: 2px solid #775344; outline-offset: 2px; }
.events-carousel .single-event { justify-content: center; }
.events-carousel .single-event .event-card { flex-basis: min(420px,100%); }
/* Full compositions, with no cropping, filters or zoom applied to supplied pictures. */
.story-photo-chapter .chapter-scene { display: flex; align-items: center; justify-content: center; padding: 16px; background: #f4f0e7; min-height: 0; }
.story-photo-chapter .chapter-scene img { display: block; width: 100%; height: auto; max-height: 510px; min-height: 0; aspect-ratio: auto; object-fit: contain; animation: none; transform: none; filter: none; border-radius: 5px; }
.chapter-number { display: block; margin-bottom: 28px; color: #c7b280; font: 500 10px/1.5 var(--sans); letter-spacing: .22em; }
.story-photo-chapter .chapter-copy h3 { margin-bottom: 18px; }
.story-photo-chapter .chapter-copy p { font-size: 15px; }
@media (max-width: 1050px) {
 .events-carousel .event-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 700px) {
 .celebrations { padding-inline: 18px; }
 .celebrations > .section-heading { margin-bottom: 24px; }
 .events-carousel .event-track { gap: 14px; padding-bottom: 22px; }
 .events-carousel .event-card { flex-basis: calc(100% - 28px); }
 .touch-hint { display: inline; }
 .desktop-hint { display: none; }
 .event-pagination { flex-direction: column; gap: 0; }
 .event-art-panel { height: 176px; }
 .event-navigation { padding-bottom: 9px; }
 .story-photo-chapter .chapter-scene { padding: 12px; min-height: 0; }
 .story-photo-chapter .chapter-scene img { max-height: 520px; min-height: 0; object-fit: contain; }
 .chapter-number { margin-bottom: 18px; }
 .story-photo-chapter .chapter-copy p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
 .event-track { scroll-behavior: auto; }
 .event-dots button::after, .event-arrows button { transition: none; }
}
