/* sloepverhuur-plas: drijven door vier beelden van de plas (React Bits Pro infinite-gallery). */
.msm-sloepverhuur-plas {
  --pl-p: var(--m-primary, #8c3b22);
  --pl-bg: var(--m-bg, #e7eff4);
  --pl-ink: var(--m-ink, #132b3c);
  --pl-sf: var(--m-surface, #f9fcfd);
  --pl-mu: var(--m-muted, #51697a);
  --pl-ln: var(--m-line, #cbd9e2);
  --pl-r: var(--m-radius, 12px);
  background: var(--pl-bg);
  color: var(--pl-ink);
  font-family: var(--m-font-body, "Mulish", "Segoe UI", system-ui, sans-serif);
  scroll-margin-top: 112px;
}
.msm-sloepverhuur-plas *, .msm-sloepverhuur-plas *::before, .msm-sloepverhuur-plas *::after { box-sizing: border-box; }
.msm-sloepverhuur-plas [hidden] { display: none !important; }
.msm-sloepverhuur-plas :focus-visible { outline: 2px solid var(--pl-p); outline-offset: 3px; }
.msm-sloepverhuur-plas .pl-wrap { max-width: 72rem; margin: 0 auto; padding: clamp(64px, 9vw, 112px) clamp(16px, 4vw, 32px); }
.msm-sloepverhuur-plas .pl-head { max-width: 44rem; margin-bottom: clamp(24px, 4vw, 36px); }
.msm-sloepverhuur-plas .pl-kicker { margin: 0 0 14px; display: inline-flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pl-p); }
.msm-sloepverhuur-plas .pl-kicker::after { content: ""; width: 48px; height: 6px; background: linear-gradient(var(--pl-p), var(--pl-p)) top / 100% 1px no-repeat, linear-gradient(var(--pl-p), var(--pl-p)) bottom / 100% 2px no-repeat; }
.msm-sloepverhuur-plas .pl-title { margin: 0; font-family: var(--m-font-display, "DM Serif Display", Georgia, serif); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.01em; }
.msm-sloepverhuur-plas .pl-lead { margin: 14px 0 0; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--pl-mu); }

.msm-sloepverhuur-plas .pl-field { position: relative; overflow: hidden; height: 70vh; max-height: 640px; min-height: 360px; border: 1px solid var(--pl-ln); border-radius: var(--pl-r); background: var(--pl-bg); touch-action: pan-y; cursor: grab; outline: none; }
.msm-sloepverhuur-plas .pl-field:focus-visible { box-shadow: 0 0 0 2px var(--pl-p); }
.msm-sloepverhuur-plas .pl-field.is-armed { touch-action: none; cursor: grabbing; box-shadow: 0 0 0 2px color-mix(in srgb, var(--pl-p) 55%, transparent); }
.msm-sloepverhuur-plas .pl-hint { position: absolute; left: 50%; bottom: 16px; z-index: 2; margin: 0; padding: 8px 14px; translate: -50% 0; border: 1px solid var(--pl-ln); border-radius: 999px; background: color-mix(in srgb, var(--pl-sf) 92%, transparent); font-size: 13px; font-weight: 700; white-space: nowrap; pointer-events: none; transition: opacity 0.3s; }
.msm-sloepverhuur-plas .pl-field.is-armed .pl-hint { opacity: 0; }

.msm-sloepverhuur-plas .pl-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.msm-sloepverhuur-plas .pl-item { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0; border: 0; background: none; color: var(--pl-ink); font: inherit; text-align: left; cursor: zoom-in; border-radius: var(--pl-r); }
.msm-sloepverhuur-plas .pl-item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--pl-r); background: color-mix(in srgb, var(--pl-mu) 12%, var(--pl-bg)); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.msm-sloepverhuur-plas .pl-item:hover img { transform: scale(1.02); }
.msm-sloepverhuur-plas .pl-cap { font-size: 14px; line-height: 1.45; color: var(--pl-mu); }
.msm-sloepverhuur-plas.is-live .pl-item { flex-direction: row; align-items: center; gap: 12px; min-height: 64px; }
.msm-sloepverhuur-plas.is-live .pl-item img { width: 64px; flex: none; border-radius: 8px; }
.msm-sloepverhuur-plas .pl-foot { margin: 20px 0 0; }
.msm-sloepverhuur-plas .pl-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--pl-p); text-decoration: none; }
.msm-sloepverhuur-plas .pl-link svg, .msm-sloepverhuur-plas .pl-close svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.msm-sloepverhuur-plas .pl-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.msm-sloepverhuur-plas .pl-dialog { width: min(92vw, 760px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--pl-r); background: var(--pl-sf); color: var(--pl-ink); overflow: hidden; }
.msm-sloepverhuur-plas .pl-dialog::backdrop { background: color-mix(in srgb, var(--pl-ink) 70%, transparent); }
.msm-sloepverhuur-plas .pl-dialog figure { margin: 0; }
.msm-sloepverhuur-plas .pl-dialog img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: var(--pl-bg); }
.msm-sloepverhuur-plas .pl-dialog figcaption { padding: 14px 64px 16px 18px; font-size: 15px; line-height: 1.5; }
.msm-sloepverhuur-plas .pl-close { position: absolute; right: 8px; bottom: 6px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--pl-ln); border-radius: 8px; background: var(--pl-sf); color: var(--pl-ink); cursor: pointer; }

@media (max-width: 767px) {
  .msm-sloepverhuur-plas .pl-field { height: 60vh; min-height: 320px; }
  .msm-sloepverhuur-plas .pl-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -16px; margin-right: -16px; padding: 0 16px 8px; scroll-padding: 0 16px; }
  .msm-sloepverhuur-plas .pl-list > li { scroll-snap-align: start; }
  .msm-sloepverhuur-plas.is-live .pl-list { grid-auto-columns: min(70%, 260px); }
}
@media (prefers-reduced-motion: reduce) {
  .msm-sloepverhuur-plas * { transition: none !important; }
}
