/*
 * Sliders: the scrolling and snapping Elementor has no setting for. Sizes,
 * colours and corners stay on the elements.
 */

/* Sunday Comics: one picture at a time, flat horizontal slide. */
[data-cr~="comics"] {
	overflow-x: auto !important;
	overflow-y: hidden !important;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	cursor: grab;
	user-select: none;
}
[data-cr~="comics"]::-webkit-scrollbar {
	display: none;
}
[data-cr~="comics"].is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}
[data-cr~="comics"] > * {
	flex: 0 0 100% !important;
	scroll-snap-align: start;
}
[data-cr~="comics"] img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	-webkit-user-drag: none;
}

/* Testimonials: three across; a swipe row with the next card peeking when they no longer fit. */
[data-cr~="testi-track"] {
	overflow-x: auto !important;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-right: clamp(20px, 5vw, 48px) !important;
	margin-right: calc(-1 * clamp(20px, 5vw, 48px)) !important;
}
[data-cr~="testi-track"]::-webkit-scrollbar {
	display: none;
}
[data-cr~="testi-track"] > * {
	flex: 0 0 max(min(300px, calc(100% - 64px)), calc((100% - 48px) / 3)) !important;
	scroll-snap-align: start;
}
[data-cr~="testi-dots"] {
	display: none !important;
	gap: 10px;
	justify-content: center;
}
[data-cr~="testi"].is-overflow [data-cr~="testi-dots"] {
	display: flex !important;
}
/* The theme styles every bare button; the dots override it outright. */
[data-cr~="testi-dots"] > button {
	flex: none;
	width: 10px !important;
	height: 10px !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
	background: rgba(0, 0, 0, .25) !important;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
}
[data-cr~="testi-dots"] > button.is-active {
	background: #000 !important;
}

/* On a dark section the dots are light. */
[data-cr~="dots-light"] > button {
	background: rgba(255, 255, 255, .3) !important;
}
[data-cr~="dots-light"] > button.is-active {
	background: #83FBD7 !important;
}
