/* Shared, dependency-free editorial mosaics and native media dialog. */
.editorial-gallery{--gallery-gap:4px;--gallery-focus-x:50%;--gallery-focus-y:50%;margin-block:28px;min-width:0;color:var(--ink,#142332);container-type:inline-size}
.gallery-heading{margin-bottom:20px}.gallery-heading h2{font:400 clamp(27px,4vw,40px)/1.2 Georgia,serif}.gallery-heading p{max-width:65ch;margin-top:10px}
.editorial-mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(180px,17vw,230px);gap:var(--gallery-gap);min-width:0}
.editorial-mosaic .mosaic-item{position:relative;min-width:0;margin:0;overflow:hidden;background:#122b42;isolation:isolate}
.editorial-mosaic .mosaic-item:first-child{grid-column:span 2;grid-row:span 2}
.editorial-mosaic[data-layout=grid] .mosaic-item{grid-column:auto;grid-row:auto}
.mosaic-open{position:relative;display:block;width:100%;height:100%;min-height:100%;color:#fff!important;overflow:hidden;text-decoration:none!important;background:#122b42}
.mosaic-open:focus-visible{outline:3px solid #8be1e2;outline-offset:-5px;z-index:2}
.editorial-mosaic .mosaic-open img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:var(--gallery-focus-x) var(--gallery-focus-y);transition:transform .4s ease}
.mosaic-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(12px,2vw,26px);background:linear-gradient(180deg,transparent 5%,#07162430 32%,#071624e8 100%);color:white;pointer-events:none}
.mosaic-category,.mosaic-indicator{font:600 10px/1.5 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.mosaic-overlay h3,.mosaic-overlay h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:8px 0 10px;font:400 clamp(20px,2.2vw,32px)/1.13 Georgia,serif;color:#fff;text-wrap:balance}
.mosaic-overlay p{display:none;margin:0 0 12px;font:13px/1.5 Arial,sans-serif;max-width:50ch}
.mosaic-item.is-large .mosaic-overlay p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mosaic-credit{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font:11px/1.4 Arial,sans-serif;color:#e1e7e1;margin-bottom:6px}
.mosaic-indicator{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#d6f7f8}.mosaic-indicator>span{font-size:19px;line-height:1}
.mosaic-disclosure{align-self:flex-start;max-width:100%;background:#fff;color:#122b42;padding:4px 8px;margin-bottom:8px;white-space:normal}
.mosaic-video-placeholder{display:grid;place-content:center;height:100%;min-height:180px;font:60px Georgia,serif;background:radial-gradient(ellipse at top right,#34627f,#122b42)}
.mosaic-unavailable{display:block;padding:20px;color:#fff;font:13px Arial,sans-serif}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.mosaic-open:hover img{transform:scale(1.035)}}
.editorial-mosaic[data-layout=featured]{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:140px}.editorial-mosaic[data-layout=featured] .mosaic-item:first-child{grid-column:1/-1;grid-row:span 3}
.editorial-mosaic[data-layout=justified]{display:flex;flex-wrap:wrap;align-items:stretch}.editorial-mosaic[data-layout=justified] .mosaic-item{flex:1 1 220px;height:240px;min-width:0}
.gallery-gap-2{--gallery-gap:2px}.gallery-gap-4{--gallery-gap:4px}.gallery-gap-6{--gallery-gap:6px}.gallery-gap-8{--gallery-gap:8px}.gallery-gap-12{--gallery-gap:12px}.gallery-gap-16{--gallery-gap:16px}
.media-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#09141f;color:#fff;overflow:auto;overscroll-behavior:contain}
.media-viewer::backdrop{background:#000d}.media-viewer[open]{display:flex;flex-direction:column}.media-viewer[hidden]{display:none!important}
.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px max(16px,env(safe-area-inset-right));gap:16px;flex-shrink:0;border-bottom:1px solid #ffffff25;font:13px/1.4 Arial,sans-serif}
.media-viewer button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px 16px;font:14px/1.4 Arial,sans-serif;color:#fff;background:transparent;border:1px solid #ffffff65;border-radius:4px;cursor:pointer}
.media-viewer button:hover{background:#ffffff1c}.media-viewer button:focus-visible{outline:3px solid #8be1e2;outline-offset:3px}
.viewer-controls{display:flex;gap:8px}.viewer-stage{display:flex;align-items:center;justify-content:center;flex:0 0 auto;height:clamp(180px,60dvh,760px);min-height:180px;position:relative;padding:12px;touch-action:pan-y pinch-zoom}
.media-viewer .viewer-stage img{width:auto;max-width:100%;max-height:100%;height:auto;object-fit:contain;display:block;margin:auto}
.viewer-stage iframe{display:block;width:min(100%,1200px);height:100%;max-height:100%;aspect-ratio:16/9;border:0}
.viewer-video-prompt{max-width:550px;text-align:center;padding:24px}.viewer-video-prompt p{font:14px/1.7 Arial,sans-serif;margin-bottom:18px}
.viewer-caption{width:min(100%,1100px);margin:auto;padding:12px 24px 20px;flex-shrink:0}.viewer-caption h2{font:400 clamp(22px,3vw,32px)/1.2 Georgia,serif;margin:0 0 10px}.viewer-caption p{font:14px/1.6 Arial,sans-serif;max-width:85ch;margin:5px 0;white-space:pre-line;overflow-wrap:anywhere}.viewer-caption .viewer-credit,.viewer-caption .viewer-location{font-size:12px;color:#bed2e1}
.viewer-thumbnails{display:flex;gap:6px;max-width:100%;overflow-x:auto;flex-shrink:0;padding:8px 24px 16px;margin:0;list-style:none}.viewer-thumbnails button{padding:2px;width:72px;height:54px;flex-shrink:0;opacity:.65}.viewer-thumbnails button[aria-current=true]{border:2px solid #8be1e2;opacity:1}.viewer-thumbnails img{display:block;width:100%;height:100%;object-fit:cover}.viewer-error{max-width:65ch;padding:24px;font:16px/1.7 Arial,sans-serif;color:#fff}
.media-viewer [hidden]{display:none!important}
@media(min-width:1450px){.editorial-mosaic{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:999px){.editorial-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:639px){.editorial-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:185px}.mosaic-overlay{padding:14px}.mosaic-overlay h2,.mosaic-overlay h3{font-size:22px;line-height:1.16}.editorial-mosaic .mosaic-item:first-child{grid-row:span 1}.mosaic-item.is-large .mosaic-overlay p{display:none}.editorial-mosaic[data-layout=featured] .mosaic-item:first-child{grid-row:span 2}.editorial-mosaic[data-layout=justified] .mosaic-item{flex-basis:140px;height:220px}.viewer-toolbar{padding:8px 12px;gap:8px}.viewer-toolbar button{padding:8px 10px;font-size:12px}.viewer-caption{padding:8px 16px 16px}.viewer-thumbnails{padding-inline:16px}}
@media(max-height:480px){.viewer-stage{height:70dvh;min-height:140px}.viewer-caption p{font-size:13px}.viewer-thumbnails{padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){.editorial-gallery *,.media-viewer *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@container(max-width:599px){.editorial-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:185px}.mosaic-overlay{padding:14px}.mosaic-overlay h2,.mosaic-overlay h3{font-size:22px;line-height:1.16}.mosaic-item.is-large .mosaic-overlay p{display:none}}
@container(min-width:600px) and (max-width:899px){.editorial-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container(min-width:900px) and (max-width:1199px){.editorial-mosaic{grid-template-columns:repeat(4,minmax(0,1fr))}}
@container(min-width:1200px){.editorial-mosaic{grid-template-columns:repeat(5,minmax(0,1fr))}}
.gallery-focus-x-0{--gallery-focus-x:0%}
.gallery-focus-x-5{--gallery-focus-x:5%}
.gallery-focus-x-10{--gallery-focus-x:10%}
.gallery-focus-x-15{--gallery-focus-x:15%}
.gallery-focus-x-20{--gallery-focus-x:20%}
.gallery-focus-x-25{--gallery-focus-x:25%}
.gallery-focus-x-30{--gallery-focus-x:30%}
.gallery-focus-x-35{--gallery-focus-x:35%}
.gallery-focus-x-40{--gallery-focus-x:40%}
.gallery-focus-x-45{--gallery-focus-x:45%}
.gallery-focus-x-50{--gallery-focus-x:50%}
.gallery-focus-x-55{--gallery-focus-x:55%}
.gallery-focus-x-60{--gallery-focus-x:60%}
.gallery-focus-x-65{--gallery-focus-x:65%}
.gallery-focus-x-70{--gallery-focus-x:70%}
.gallery-focus-x-75{--gallery-focus-x:75%}
.gallery-focus-x-80{--gallery-focus-x:80%}
.gallery-focus-x-85{--gallery-focus-x:85%}
.gallery-focus-x-90{--gallery-focus-x:90%}
.gallery-focus-x-95{--gallery-focus-x:95%}
.gallery-focus-x-100{--gallery-focus-x:100%}
.gallery-focus-y-0{--gallery-focus-y:0%}
.gallery-focus-y-5{--gallery-focus-y:5%}
.gallery-focus-y-10{--gallery-focus-y:10%}
.gallery-focus-y-15{--gallery-focus-y:15%}
.gallery-focus-y-20{--gallery-focus-y:20%}
.gallery-focus-y-25{--gallery-focus-y:25%}
.gallery-focus-y-30{--gallery-focus-y:30%}
.gallery-focus-y-35{--gallery-focus-y:35%}
.gallery-focus-y-40{--gallery-focus-y:40%}
.gallery-focus-y-45{--gallery-focus-y:45%}
.gallery-focus-y-50{--gallery-focus-y:50%}
.gallery-focus-y-55{--gallery-focus-y:55%}
.gallery-focus-y-60{--gallery-focus-y:60%}
.gallery-focus-y-65{--gallery-focus-y:65%}
.gallery-focus-y-70{--gallery-focus-y:70%}
.gallery-focus-y-75{--gallery-focus-y:75%}
.gallery-focus-y-80{--gallery-focus-y:80%}
.gallery-focus-y-85{--gallery-focus-y:85%}
.gallery-focus-y-90{--gallery-focus-y:90%}
.gallery-focus-y-95{--gallery-focus-y:95%}
.gallery-focus-y-100{--gallery-focus-y:100%}
.mosaic-original{font:12px/1.4 Arial,sans-serif;color:#c9edf0;margin-bottom:6px}
.editorial-mosaic[data-layout=featured] .mosaic-item:not(:first-child) .mosaic-overlay h3{font-size:18px;-webkit-line-clamp:2}
.editorial-mosaic[data-layout=featured] .mosaic-item:not(:first-child) .mosaic-category,.editorial-mosaic[data-layout=featured] .mosaic-item:not(:first-child) .mosaic-credit{display:none}
.editorial-mosaic[data-layout=justified] .mosaic-overlay h3{font-size:20px;-webkit-line-clamp:2}
.editorial-mosaic[data-layout=justified] .mosaic-category,.editorial-mosaic[data-layout=justified] .mosaic-credit{display:none}
@container(max-width:599px){.editorial-mosaic[data-layout=featured]{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-mosaic[data-layout=featured] .mosaic-item:first-child{grid-row:span 2}.editorial-mosaic[data-layout=justified] .mosaic-item{flex-basis:140px;height:220px}.editorial-mosaic[data-layout=justified] .mosaic-overlay h3{font-size:18px}}

.editorial-mosaic[data-layout=justified] .is-tight .mosaic-overlay{padding:8px}
.editorial-mosaic[data-layout=justified] .is-tight .mosaic-overlay h3{font-size:16px;-webkit-line-clamp:1;margin:0}
.editorial-mosaic[data-layout=justified] .is-tight .mosaic-indicator{display:none}

.mosaic-story-link{pointer-events:auto;align-self:flex-start;font:600 12px/1.5 Arial,sans-serif;padding:10px 0 0;color:white;text-decoration:underline;text-underline-offset:4px}.mosaic-story-link:hover{color:#8be1e2}.viewer-story{display:inline-flex;min-height:44px;align-items:center;color:#8be1e2;text-decoration:underline;text-underline-offset:4px;font:600 14px Arial,sans-serif}
.carousel-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.carousel-controls[hidden]{display:none}.carousel-controls>div{display:flex;gap:6px}.carousel-controls button{min-width:44px;min-height:44px;border:1px solid var(--line);background:white;color:var(--ink);padding:8px 14px;cursor:pointer;font:12px Arial,sans-serif}.carousel-controls button:hover{background:var(--surface,#edf4f8)}
.mosaic-carousel .editorial-gallery{margin:0}.mosaic-carousel.is-enhanced [data-gallery-grid]{display:block;position:relative;overflow:hidden;touch-action:pan-y pinch-zoom;isolation:isolate}.mosaic-carousel.is-enhanced .mosaic-item{position:absolute;left:0;margin:0;grid-area:auto!important;will-change:transform}.mosaic-carousel.is-enhanced .mosaic-overlay h3{font-size:clamp(22px,2.2vw,32px)}.mosaic-carousel.is-enhanced .mosaic-item img{user-select:none;-webkit-user-drag:none}
@media(max-width:500px){.carousel-controls{align-items:flex-start;flex-direction:column}.carousel-controls>div{width:100%;justify-content:space-between}}

.viewer-caption .viewer-disclosure{font-size:12px;color:#8be1e2}
@supports(overflow:clip){.mosaic-carousel.is-enhanced [data-gallery-grid]{overflow:clip}}
