.city-hero.has-media-slideshow::before{content:none;animation:none}
.hero-media{position:absolute;inset:0;z-index:0;overflow:hidden;background:#0b2339}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 650ms ease;pointer-events:none}
.hero-slide.is-current{opacity:1}
.hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,26,45,.86) 0%,rgba(7,26,45,.65) 43%,rgba(7,26,45,.16) 100%);pointer-events:none}
.hero-media-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;margin-left:auto;letter-spacing:0}
.media-control{min-height:44px;min-width:44px;padding:10px 13px;gap:10px;font-size:12px;line-height:1.35;cursor:pointer;white-space:nowrap}
.media-control .media-icon{width:15px;height:15px;flex-basis:15px}
.media-icon-back{rotate:180deg}
.media-control:disabled{cursor:default;opacity:.7;transform:none;box-shadow:none}
.media-counter{display:inline-flex;align-items:center;justify-content:center;min-width:55px;font:600 12px/1.4 Consolas,monospace;white-space:nowrap;letter-spacing:0}
.hero-media-controls .media-control{background:#102b42b8;border-color:#d1dfeb70;color:#f5f9ff;box-shadow:none}
.hero-media-controls .media-control:hover:not(:disabled){background:#214e6fe6;color:#fff}
.hero-media-controls .media-control:focus-visible{outline:2px solid #fff;outline-offset:3px}
.hero-media-controls .media-counter{color:#eff7fc}
.city-hero.has-media-slideshow .photo-caption{gap:16px}
.city-hero.has-media-slideshow .photo-caption>span{flex-shrink:0}
.city-hero.has-media-slideshow .photo-caption>span:nth-child(2){font-size:10px;letter-spacing:0}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.gallery-tile{display:flex;flex-direction:column;min-width:0;padding:0;border:0;border-radius:10px;background:transparent;color:var(--text,#183247);font:600 14px/1.5 var(--font,"Segoe UI",sans-serif);text-align:left;cursor:pointer}
.gallery-thumb{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:1px solid #88a6bd;border-radius:10px;background:#102b42;transition:filter 180ms ease,box-shadow 180ms ease}
.gallery-tile:hover .gallery-thumb{filter:brightness(1.07);box-shadow:0 5px 16px #18324720}
.gallery-tile:focus-visible{outline:3px solid #286596;outline-offset:5px}
.gallery-tile-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;width:100%;padding:11px 1px 0}
.gallery-tile-number{flex-shrink:0;color:#4c6477;font:600 12px/1.7 Consolas,monospace}
.gallery-dialog{width:min(1500px,calc(100vw - 48px));height:min(940px,calc(100dvh - 48px));max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #88a6bd;border-radius:15px;background:#e8f0f6;color:#183247;box-shadow:0 22px 80px #071a2d66;overflow:hidden}
.gallery-dialog[open]{display:flex;flex-direction:column}
.gallery-dialog::backdrop{background:rgba(7,26,45,.84)}
.gallery-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-shrink:0;padding:12px 20px;background:#e8f0f6}
.gallery-dialog-header h3{min-width:0;margin:0;font:600 18px/1.45 var(--font,"Segoe UI",sans-serif)}
.gallery-dialog-close{flex-shrink:0}
.gallery-dialog-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;background:#102b42;overflow:hidden}
.gallery-dialog-image{display:block;max-width:100%;width:100%;height:100%;min-height:0;object-fit:contain;opacity:1;transition:opacity 120ms ease}
.gallery-dialog-image.is-loading{opacity:.2}
.gallery-dialog-image[hidden],.gallery-load-status[hidden]{display:none}
.gallery-load-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;padding:24px;color:#f5f9ff;font:400 15px/1.65 var(--font,"Segoe UI",sans-serif);text-align:center;pointer-events:none}
.gallery-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:12px 20px;background:#e8f0f6}
.gallery-dialog-footer .media-counter{color:#183247}
@media(max-width:1200px){.gallery-grid{gap:20px}.city-hero.has-media-slideshow .photo-caption>span:nth-child(2){display:none}}
@media(max-width:1000px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.city-hero.has-media-slideshow .photo-caption{flex-wrap:wrap;gap:10px 18px}.city-hero.has-media-slideshow .photo-caption>span:nth-child(2){display:block;margin-left:auto}.hero-media-controls{flex-basis:100%;justify-content:flex-end}.city-hero.has-media-slideshow .hero-copy{padding-bottom:150px}}
@media(max-width:560px){.gallery-grid{grid-template-columns:minmax(0,1fr);gap:22px}}
@media(max-width:480px){.hero-media-controls{justify-content:space-between;gap:4px}.hero-media-controls .media-control{padding:10px;min-width:44px;font-size:11px}.hero-media-controls .media-counter{min-width:44px;font-size:11px}.city-hero.has-media-slideshow .photo-caption>span:nth-child(2){max-width:155px;font-size:9px;text-align:right;line-height:1.5}.gallery-tile{font-size:13px}.gallery-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:11px}.gallery-dialog-header{gap:12px;padding:10px 12px}.gallery-dialog-header h3{font-size:14px}.gallery-dialog-close{font-size:12px;padding:10px}.gallery-dialog-footer{gap:10px;padding:10px 12px}.gallery-dialog-footer .media-control-label{display:none}.gallery-dialog-footer .media-control{width:44px;padding:10px}.gallery-load-status{font-size:13px}}
@media(prefers-reduced-motion:reduce){.hero-slide,.gallery-thumb,.gallery-dialog-image{transition:none}}
