/* ============================================================
   Gallery slider — mobile-only responsive pattern
   Shared by venue, park, restaurant, and hotel gallery sections.
   Shown at < 768 px; desktop uses .vd-gallery-grid instead.
   Each component's own CSS file adds:
       @media (max-width: 767px) {
           .its-grid  { display: none; }
           .vd-gallery-slider { display: block; }
       }
   ============================================================ */

/* Hidden on desktop — each component's CSS shows it at ≤ 767px */
@media (min-width: 768px) {
	.vd-gallery-slider { display: none; }
}

.vd-gallery-slider {
	position: relative;
	overflow: hidden;
	background: #111;
	user-select: none;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
}

/* ── Slide track ────────────────────────────────────────── */

.vd-gs-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
	margin: 0;
	padding: 0;
}

.vd-gs-slide {
	flex: 0 0 100%;
	min-width: 100%;
	overflow: hidden;
}

.vd-gs-slide img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	pointer-events: none;
}

/* ── Counter badge ──────────────────────────────────────── */

.vd-gs-counter {
	position: absolute;
	top: 12px;
	right: 14px;
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #fff;
	background: rgba(0, 0, 0, 0.52);
	padding: 4px 10px;
	border-radius: 20px;
	pointer-events: none;
	z-index: 10;
}

/* ── Prev / Next buttons ────────────────────────────────── */

.vd-gs-prev,
.vd-gs-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.38);
	border: none;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	width: 38px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	padding: 0;
	transition: background 0.2s;
	-webkit-tap-highlight-color: transparent;
}

.vd-gs-prev:hover,
.vd-gs-next:hover {
	background: rgba(0, 0, 0, 0.68);
}

.vd-gs-prev { left: 0;  border-radius: 0 3px 3px 0; }
.vd-gs-next { right: 0; border-radius: 3px 0 0 3px; }

/* ── Dot indicators ─────────────────────────────────────── */

.vd-gs-dots {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	max-width: 85%;
	z-index: 10;
}

.vd-gs-dot {
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.40);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
	-webkit-tap-highlight-color: transparent;
}

.vd-gs-dot.active {
	background: #fff;
	transform: scale(1.35);
}

.vd-gs-dot:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.70);
	outline-offset: 2px;
}
