.locale-gallery-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 10px}
.locale-gallery-group{min-width:0;padding:12px;border:1px solid var(--line,#bfa77c);border-radius:14px;background:#081c30cc;box-shadow:0 8px 24px #0003}
.locale-gallery-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.locale-gallery-group h3{margin:0;color:#f3d69a;font-size:1.1rem;line-height:1.2}
.locale-gallery-start{display:inline-flex;align-items:center;gap:6px;color:var(--muted,#c4d6e0);font-size:.8rem;line-height:1.2;white-space:nowrap}
.locale-gallery-start span{color:#eac580;font-size:.95rem}
.locale-gallery{display:grid;grid-template-columns:1fr;gap:0;margin:0}
.locale-gallery figure,.locale-gallery figure:first-child{margin:0;grid-row:auto;min-width:0}
.locale-gallery figure:nth-child(n+2){display:none}
.locale-gallery .gallery-thumb{display:block;width:100%;padding:0;border:1px solid var(--line,#bfa77c);border-radius:10px;overflow:hidden;background:#081c30;cursor:zoom-in;box-shadow:0 6px 20px #0004}
.locale-gallery .gallery-thumb:focus-visible,.locale-viewer button:focus-visible{outline:3px solid #eac580;outline-offset:3px}
.locale-gallery .gallery-thumb img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:0;filter:brightness(1.04) contrast(1.03) saturate(1.04);transition:transform .2s ease}
.locale-gallery .gallery-thumb:hover img{transform:scale(1.035)}
.locale-gallery .gallery-thumb[data-kind="locale"] img{object-position:center}
.locale-gallery .gallery-thumb[data-kind="locale"]:first-child img{object-position:center 46%}
.locale-gallery figcaption{padding:8px 2px 0;color:var(--muted,#c4d6e0);font-size:.9rem;line-height:1.35}
.locale-gallery-note{font-size:.9rem;color:var(--muted,#c4d6e0);margin:4px 0 25px}
.locale-viewer{position:fixed;inset:0;max-width:min(96vw,1200px);max-height:96dvh;width:100%;padding:0;border:1px solid #bfa77c;border-radius:12px;background:#081c30;color:#fff;box-shadow:0 24px 80px #000b}
.locale-viewer::backdrop{background:#010b16df}
.locale-viewer-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px;height:min(94dvh,900px);box-sizing:border-box}
.locale-viewer-close{grid-column:3;grid-row:1}
.locale-viewer img{grid-column:2;grid-row:2;display:block;max-width:100%;max-height:calc(min(94dvh,900px) - 100px);margin:auto;object-fit:contain}
.locale-viewer-prev{grid-column:1;grid-row:2}.locale-viewer-next{grid-column:3;grid-row:2}
.locale-viewer button{border:1px solid #bfa77c;border-radius:999px;background:#0d314b;color:#fff;min-width:42px;min-height:42px;cursor:pointer;font-size:1.45rem}
.locale-viewer-meta{grid-column:1/-1;grid-row:3;text-align:center;line-height:1.4;font-size:.95rem}
@media(max-width:750px){.locale-gallery-groups{grid-template-columns:1fr;gap:14px}.locale-gallery-group-head{align-items:flex-end}.locale-viewer-inner{padding:8px;gap:3px}.locale-viewer button{min-width:36px;min-height:36px}.locale-viewer img{max-height:calc(94dvh - 95px)}}
@media(max-width:380px){.locale-gallery-group-head{display:block}.locale-gallery-start{margin-top:5px}}
@media(prefers-reduced-motion:reduce){.locale-gallery .gallery-thumb img{transition:none}}
