/* GoMonte landing — small overrides on top of Tailwind CDN. */
:root { --gomonte-pink: #d4145a; }

/* Sticky header offset for in-page anchors */
html { scroll-padding-top: 72px; }

/* ── Photo carousel on listing cards ────────────────────────────────
   Same arrow + dot pattern as /searchresults large cards. Wired up
   by landing.js. Touch-swipe enabled on mobile. */
.photo-wrap { overflow: hidden; }
.photo-wrap .carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, 0.88);
  color: #111827; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.15s, background 0.15s;
  z-index: 2; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 0; line-height: 1;
}
.gm-card:hover .photo-wrap .carousel-arrow { opacity: 1; }
.photo-wrap .carousel-arrow:hover { background: #fff; }
.photo-wrap .carousel-arrow.prev { left: 8px; }
.photo-wrap .carousel-arrow.next { right: 8px; }
.photo-wrap .carousel-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 4px; z-index: 2;
  pointer-events: none;
}
.photo-wrap .carousel-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: background 0.15s;
}
.photo-wrap .carousel-dots span.on { background: #fff; }

/* On touch devices, arrows are awkward — keep them visible since hover
   doesn't fire. Slightly larger tap target. */
@media (max-width: 768px) {
  .photo-wrap .carousel-arrow { opacity: 0.85; width: 32px; height: 32px; }
}
