.visit-gallery { padding: 24px 28px 0; }
.visit-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.visit-photo { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--mist); }
.visit-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.visit-photo:hover img { transform: scale(1.035); }
.visit-photo span { position: absolute; bottom: 8px; right: 8px; padding: 5px 9px; border-radius: 6px; background: #102a3ee6; color: white; font-size: 11px; font-weight: 700; }
.visit-photo:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.visit-gallery:last-child { padding-bottom: 28px; }
.visit-photo-dialog { width: min(1100px, 94vw); max-height: 92vh; padding: 16px; border: 0; border-radius: 16px; background: #102a3e; color: white; }
.visit-photo-dialog::backdrop { background: #081925dc; }
.visit-photo-dialog img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.visit-photo-dialog p { margin: 12px 0 0; text-align: center; font-size: 14px; }
.visit-photo-close { display: block; margin: 0 0 12px auto; padding: 9px 16px; border: 1px solid #ffffff70; border-radius: 8px; background: white; color: #102a3e; cursor: pointer; font: inherit; font-weight: 700; }
html:has(.visit-photo-dialog[open]) { overflow: hidden; }
@media (max-width: 600px) { .visit-gallery { padding: 20px 20px 0; } .visit-photo-grid { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .visit-photo img { transition: none; } }
