/* Our homes strip and photo viewer (26 Sep 2026). Generated by build_homes_gallery.py; edit the script, not this file. */
.homes { position: relative; }
.homes-cta { text-align: center; margin: 26px 0 0; }
.homes-strip { list-style: none; margin: 0; padding: 4px 2px 18px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
.homes-strip::-webkit-scrollbar { display: none; }
.home-card { flex: 0 0 280px; scroll-snap-align: start; }
.home-card a { display: block; background: #fff; border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; }
.home-card a:hover, .home-card a:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.home-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.home-card-text { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; font-size: 16px; color: var(--muted); }
.home-card-text strong { color: var(--ink); font-weight: 600; }
.home-card-count { font-size: 14px; margin-top: 4px; color: var(--navy); font-weight: 600; }
.homes-arrow { position: absolute; top: calc(50% - 50px); z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.homes-prev { left: -8px; }
.homes-next { right: -8px; }
@media (max-width: 700px) { .home-card { flex-basis: 78vw; } .homes-arrow { display: none; } }

.viewer { border: 0; padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; background: rgba(12,14,20,.96); color: #fff; }
.viewer::backdrop { background: rgba(12,14,20,.96); }
.viewer-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.viewer-track::-webkit-scrollbar { display: none; }
.viewer-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 64px 12px 72px; margin: 0; }
.viewer-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; }
.viewer-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; font-size: 16px; pointer-events: none; }
.viewer-top > * { pointer-events: auto; }
.viewer-close { width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.viewer-close:hover, .viewer-close:focus-visible { background: rgba(255,255,255,.28); }
.viewer-count { margin-left: 14px; color: rgba(255,255,255,.6); }
.viewer-bottom strong { color: #fff; font-weight: 600; }
.viewer-bottom { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 20px 22px; text-align: center; font-size: 15px; color: rgba(255,255,255,.8); pointer-events: none; }
.viewer-nav { position: absolute; top: calc(50% - 26px); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.viewer-nav:hover, .viewer-nav:focus-visible { background: rgba(255,255,255,.28); }
.viewer-prev { left: 16px; }
.viewer-next { right: 16px; }
@media (max-width: 700px) { .viewer-nav { display: none; } .viewer-slide { padding: 60px 0 64px; } .viewer-slide img { border-radius: 0; } }
html.viewer-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .homes-strip, .viewer-track { scroll-behavior: auto; } .home-card a { transition: none; } }
