.tour-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(145px, 100%), 1fr));
    gap: .85rem;
    list-style: none;
    padding: 0;
}
.tour-gallery figure { margin: 0; }
.tour-gallery-grid a { display: block; }
.tour-gallery-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.tour-gallery-grid figcaption { margin-top: .35rem; color: var(--ink-2); font-size: .9rem; overflow-wrap: anywhere; }
.tour-gallery-dialog { margin: auto; padding: 1rem; width: min(94vw, 68rem); max-height: 94dvh; overflow: auto; border: 0; border-radius: 14px; background: #111827; color: white; }
.tour-gallery-dialog::backdrop { background: rgb(0 0 0 / 78%); }
.tour-gallery-toolbar, .tour-gallery-controls { display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.tour-gallery-dialog button { background: transparent; border: 1px solid #9ca3af; color: white; cursor: pointer; border-radius: 8px; min-height: 44px; padding: .4rem .8rem; font: inherit; }
.tour-gallery-dialog img { display: block; width: 100%; height: auto; max-height: 66dvh; object-fit: contain; margin: .6rem 0; }
.tour-gallery-dialog figcaption { margin-bottom: .6rem; overflow-wrap: anywhere; }
