/* KeepItDirect builder-owned polish (Nov 28 2026, Gary Foster site review). Loaded after the master CSS.
   1) Photo slideshow: only the current slide and its two neighbours are displayed, so the browser's native lazy loading
      fetches the other slides only when they are about to be shown (js/kid-polish.js marks the neighbours .is-near).
   2) Slideshow dots keep their small look but get a 24x24 CSS px tap target (WCAG 2.5.8).
   3) Phone hero: a 960px-wide hero file on phones (<= 640px), the full-size file above that. */
.slideshow-frame .slide:not(.is-current):not(.is-near) { display: none; }

.slideshow-dots { gap: 0; }
.slideshow-dots .slideshow-dot,
.slideshow-dots .slideshow-dot.is-current {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border-radius: 0;
}
.slideshow-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin: -0.25rem 0 0 -0.25rem;
  border-radius: 999px;
  background: var(--line);
  transition: width 0.2s ease, margin 0.2s ease, background 0.2s ease;
}
.slideshow-dot:hover::after { background: var(--rose-soft); }
.slideshow-dot.is-current::after {
  width: 1.15rem;
  margin-left: -0.575rem;
  background: var(--rose);
}
@media (prefers-reduced-motion: reduce) { .slideshow-dot::after { transition: none; } }
