/* Gallery cards follow the full source crop, rather than centering in empty slots. */
.memory-carousel .memory-track{--gallery-height:300px;display:flex;position:relative;gap:14px!important;align-items:flex-start;background:transparent!important;padding-bottom:8px;scroll-snap-type:x mandatory}
.memory-carousel .memory-track>li{flex:0 0 var(--slide-width,240px)!important;width:var(--slide-width,240px)!important;max-width:none!important;margin:0!important;scroll-snap-align:start}
.memory-carousel .memory-track::after{content:"";flex:0 0 var(--gallery-tail,0px)}
.memory-carousel .memory-track .photo,.memory-carousel .memory-track .memory-video{height:var(--gallery-height)!important;width:100%!important;max-height:none!important;background:#e0e8e5!important;border-radius:24px!important;overflow:hidden;position:relative}
.memory-carousel .memory-track img,.memory-carousel .memory-track video{display:block;height:100%!important;width:100%!important;max-height:100%!important;max-width:100%!important;object-fit:contain!important}
.memory-carousel .memory-track .enlarge{right:10px!important;bottom:10px!important}
.photo-location-caption{font:400 11px/1.5 Arial,sans-serif!important;color:#68777a!important;letter-spacing:.025em;margin:7px 0 0!important;text-align:left}
.photo-caption-line{display:block;font:400 11px/1.5 Arial,sans-serif;color:#68777a;letter-spacing:.025em;margin:7px 0 0;text-align:left}
.dark .photo-location-caption,.dark .photo-caption-line{color:#c6d2cf!important}
@media(max-width:700px){.memory-carousel .memory-track{--gallery-height:250px;gap:14px!important}.memory-carousel .memory-track .photo,.memory-carousel .memory-track .memory-video{border-radius:18px!important}}
body[data-chapter="honeymoon"] .has-location-caption{overflow:visible!important;border-radius:0;background:transparent}
body[data-chapter="honeymoon"] .has-location-caption>.enlarge{bottom:30px}
/* Identical expanded photo/video layout on every gallery page. */
.expanded-slideshow .expanded-media{width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center}
.expanded-slideshow .expanded-media img,.expanded-slideshow .expanded-media video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.expanded-slideshow [hidden]{display:none!important}
.carousel-controls .carousel-auto,.carousel-controls .carousel-expand{min-height:42px;touch-action:manipulation}
.expanded-toolbar button,.expanded-controls button{min-height:42px;touch-action:manipulation}
