/* Only loaded by Gallery. Existing photo layout and global styles remain intact. */
.gallery-card .gallery-photo,.gallery-card .gallery-card-copy{display:block}
.gallery-card .gallery-card-copy{padding:16px 17px 17px}
.gallery-card{align-self:start}
.gallery-video-notice{margin:0 0 24px;max-width:850px}
.gallery-video-thumbnail{aspect-ratio:16/9;background:var(--navy);min-height:120px}
.gallery-video-thumbnail img{object-fit:cover}
.gallery-video-play{position:absolute;inset:0;margin:auto;width:60px;height:44px;border-radius:12px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:21px;line-height:1;padding-left:3px;box-shadow:0 2px 14px #0003}
.gallery-video-card:hover .gallery-video-play,.gallery-video-card:focus-visible .gallery-video-play{background:#123e53}
.gallery-video-badge{position:absolute;bottom:10px;right:10px;background:#fff;color:var(--navy);padding:3px 8px;border-radius:3px;font-size:11px;font-weight:650}
.gallery-video-dialog{width:min(1024px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);overflow:auto;box-shadow:0 24px 90px #00152255}
.gallery-video-dialog::backdrop{background:#00151edb}
.gallery-video-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px}
.gallery-video-header h2{font-size:18px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
.gallery-video-close{width:44px;height:44px;flex:0 0 44px;border:1px solid var(--line);border-radius:4px;background:#fff;font-size:28px;line-height:1}
.gallery-video-host{position:relative;aspect-ratio:16/9;min-height:200px;background:#071f2b;width:100%}
.gallery-video-host iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0}
.gallery-video-footer{padding:16px 20px 20px;display:grid;gap:12px}
.gallery-video-footer .text-link{justify-self:start;min-height:44px;display:inline-flex;align-items:center}
.gallery-video-dialog.is-portrait{width:min(440px,calc(100% - 32px))}
.gallery-video-dialog.is-portrait .gallery-video-host{aspect-ratio:9/16}
#gallery-videos-retry{margin-top:18px}
@media(max-width:620px){.gallery-card .gallery-card-copy{padding:13px 14px}.gallery-video-header{padding:10px 12px;gap:10px}.gallery-video-header h2{font-size:16px}.gallery-video-footer{padding:12px 14px 16px}}

.gallery-video-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:26px 28px 28px;background:#f6f7f7;color:var(--navy)}.gallery-video-placeholder>span{font-size:11px;font-weight:700;letter-spacing:.18em;margin-bottom:8px}.gallery-video-placeholder>strong{font-size:22px;line-height:1.35;max-width:78%;letter-spacing:-.02em}
