/* Album components, scoped to avoid changes to existing page layouts. */
.r119-album-list .r119-album-cover{display:block;overflow:hidden;border-radius:10px;background:var(--hc-p-e9eff6,#e9eff6);color:var(--hc-p-173d64,#173d64);aspect-ratio:16/10}.r119-album-list .r119-album-cover img{width:100%;height:100%;object-fit:cover;display:block}.r119-album-cover span{display:grid;place-items:center;height:100%;padding:1rem}.r119-photo-count{font-weight:700;color:var(--hc-p-375675,#375675);font-size:.9rem}.r119-home-album{display:block;min-width:0;overflow:hidden;border-radius:10px;background:var(--hc-p-eef4fa,#eef4fa);color:var(--hc-p-123b60,#123b60);text-decoration:none}.r119-home-album img{display:block}.r119-home-album span{display:block;padding:.5rem .65rem;font-size:.78rem;line-height:1.4}.r119-home-album:hover span{text-decoration:underline}
.r119-album{margin:1.5rem 0;min-width:0}.r119-album h2{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.r119-album h2 span{font-size:.8rem;font-weight:600;color:var(--hc-p-4b6077,#4b6077)}.r119-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px}.r119-photo-grid figure{margin:0;min-width:0;border-radius:10px;overflow:hidden;background:var(--hc-p-f3f6f9,#f3f6f9);border:1px solid var(--hc-p-dce5ee,#dce5ee)}.r119-photo-grid a{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--hc-p-e8eef5,#e8eef5)}.r119-photo-grid img{width:100%;height:100%;object-fit:cover;display:block}.r119-photo-grid figcaption{padding:.6rem .75rem;font-size:.9rem;color:var(--hc-p-263f58,#263f58);overflow-wrap:anywhere}.r119-photo-grid a:focus-visible,.r119-dialog button:focus-visible,.r119-admin button:focus-visible{outline:3px solid #e5a600;outline-offset:-3px}
.r119-dialog{box-sizing:border-box;width:min(96vw,1100px);max-width:96vw;max-height:96vh;padding:16px;background:var(--hc-p-10273c,#10273c);color:white;border:0;border-radius:14px;overflow:auto}.r119-dialog::backdrop{background:rgba(0,0,0,.85)}.r119-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.r119-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px}.r119-stage img{width:100%;height:70vh;max-height:70vh;object-fit:contain;display:block}.r119-dialog button{font-size:1.6rem;width:44px;height:44px;border:1px solid var(--hc-p-a8bbcc,#a8bbcc);background:var(--hc-p-213e58,#213e58);color:white;border-radius:8px;cursor:pointer}.r119-dialog button:disabled{opacity:.45;cursor:default}.r119-dialog p{margin:.6rem 0 0;overflow-wrap:anywhere}.r119-dialog [data-r119-caption-out]{color:white}
.r119-admin{margin:1.25rem 0;padding:16px;border:1px solid var(--hc-p-dce4ed,#dce4ed);border-radius:12px;min-width:0}.r119-admin-row{display:grid;grid-template-columns:116px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid var(--hc-p-e1e7ee,#e1e7ee);padding:12px;border-radius:10px;margin:.65rem 0;background:#fff;min-width:0}.r119-admin-row[draggable=true]{cursor:grab}.r119-thumb img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:8px}.r119-photo-fields{min-width:0}.r119-move{display:flex;gap:5px;flex-wrap:wrap}.r119-admin-row.r119-dragging{opacity:.5}.r119-admin-row .field{margin-bottom:8px}.r119-admin-row .check{margin:4px 0}
@media(max-width:600px){.r119-stage{grid-template-columns:36px minmax(0,1fr) 36px;gap:4px}.r119-stage button{width:36px}.r119-stage img{height:60vh}.r119-admin-row{grid-template-columns:76px minmax(0,1fr);gap:9px}.r119-move{grid-column:2}.r119-admin{padding:10px}}

/* V1.7.26: four albums and one video. Cover height = original height × 1.30. */
.gallery.hc1726-gallery{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;align-items:stretch}
.gallery.hc1726-gallery>.hc1726-media-card{display:flex;flex-direction:column;min-width:0;grid-column:auto;border:1px solid var(--hc-p-dce7f2,#dce7f2);border-radius:12px;background:#fff;transition:box-shadow .25s ease,border-color .25s ease;overflow:hidden}
.gallery.hc1726-gallery .hc1726-media-cover{position:relative;aspect-ratio:27/13;overflow:hidden;background:linear-gradient(135deg,var(--hc-p-082b50,#082b50),var(--hc-p-2067a2,#2067a2));isolation:isolate}
.gallery.hc1726-gallery .hc1726-media-cover img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;transition:transform .35s ease}
.gallery.hc1726-gallery .hc1726-media-card:hover{border-color:var(--hc-p-8ba8c6,#8ba8c6);box-shadow:0 6px 18px var(--hc-p-082b50-1a,#082b501a)}
.gallery.hc1726-gallery .hc1726-media-card:hover img{transform:scale(1.045)}
.hc1726-media-caption{padding:10px 11px 12px;display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.hc1726-media-caption strong{font-size:.91rem;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hc1726-gallery .hc1726-media-caption span{padding:0;font-size:.76rem;color:var(--hc-p-546b83,#546b83);line-height:1.35;margin-top:auto}
.gallery.hc1726-gallery>.hc1726-video-card{grid-column:5}
.hc1726-video-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,var(--hc-p-071d3f-66,#071d3f66),transparent 40%,var(--hc-p-071d3f-55,#071d3f55));pointer-events:none;z-index:0}
.hc1726-gallery .hc1726-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #ffffffc0;border-radius:50%;background:var(--hc-p-082b50-b8,#082b50b8);color:#fff;z-index:1;transition:background .25s ease,transform .25s ease}
.hc1726-video-play svg{width:23px;height:23px;stroke:none;margin-left:2px}
.hc1726-video-card:hover .hc1726-video-play{background:var(--hc-p-075aa7,#075aa7);transform:translate(-50%,-50%) scale(1.08)}
.hc1726-gallery .hc1726-video-label{position:absolute;top:8px;left:8px;max-width:calc(100% - 16px);padding:4px 7px;background:var(--hc-p-082b50-e8,#082b50e8);color:#fff;border-radius:5px;letter-spacing:.045em;font-size:.62rem;font-weight:700;z-index:1;line-height:1.2}
@media(max-width:600px){.gallery.hc1726-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gallery.hc1726-gallery>.hc1726-video-card{grid-column:1/-1}.gallery.hc1726-gallery .hc1726-video-cover{aspect-ratio:45/13}}
@media(prefers-reduced-motion:reduce){.gallery.hc1726-gallery .hc1726-media-card,.gallery.hc1726-gallery .hc1726-media-cover img,.hc1726-gallery .hc1726-video-play{transition:none}}

/* V1.7.27: separate archive headings while keeping four photos + one video. */
.hc1727-media-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;align-items:stretch}
.hc1727-photo-group,.hc1727-video-group{display:grid;grid-template-rows:40px 1fr;min-width:0}
.hc1727-photo-group{grid-column:span 4}.hc1727-video-group{grid-column:span 1}
.hc1727-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 2px 8px;min-width:0}
.hc1727-gallery-heading h3{margin:0;color:var(--hc-p-082b50,#082b50);font-size:1.04rem;font-weight:700;line-height:1.25}
.hc1727-gallery-heading .text-link{font-size:.83rem;white-space:nowrap;line-height:1.3;padding:3px 0;flex-shrink:0;gap:4px}
.hc1727-gallery-heading .text-link svg{width:14px;height:14px;flex-shrink:0}
.hc1727-media-groups .gallery.hc1727-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.hc1727-media-groups .gallery.hc1727-video-grid{grid-template-columns:minmax(0,1fr)}
.hc1727-media-groups .gallery.hc1726-gallery>.hc1726-media-card{grid-column:auto;display:flex}
.hc1727-gallery-empty{grid-column:1/-1;align-self:start;color:var(--hc-p-546b83,#546b83);margin:0;padding:14px;background:var(--hc-p-f3f6fa,#f3f6fa);border-radius:10px}
@media(max-width:900px){.hc1727-media-groups{grid-template-columns:minmax(0,1fr);gap:20px}.hc1727-photo-group,.hc1727-video-group{grid-column:1/-1;grid-template-rows:auto 1fr}.hc1727-video-group .hc1727-gallery-heading{flex-direction:row;align-items:center;justify-content:space-between}.hc1727-media-groups .gallery.hc1727-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hc1727-media-groups .gallery.hc1727-video-grid .hc1726-video-cover{aspect-ratio:45/13}}
@media(max-width:400px){.hc1727-gallery-heading h3{font-size:.94rem}.hc1727-gallery-heading .text-link{font-size:.75rem}.hc1727-gallery-heading{gap:6px}}

/* V1.7.29: aligned compact archive links. */
@media(min-width:901px) and (max-width:1150px){.hc1727-gallery-heading h3{font-size:.82rem;white-space:nowrap}.hc1727-gallery-heading .text-link{font-size:.73rem;gap:3px}.hc1727-gallery-heading{gap:4px}.hc1727-gallery-heading .text-link svg{width:12px;height:12px}}
