/* ---- Car card carousels (append to assets/css/main.css) ---- */

/* Same box for every slide so cards don't jump in height.
   Use "contain" instead of "cover" if your PNGs are car cut-outs that must not be cropped. */
.car-carousel .carousel-item img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

/* Arrows stay visible on white/light car photos */
.car-carousel .carousel-control-prev-icon,
.car-carousel .carousel-control-next-icon {
	background-color: rgba(0, 0, 0, 0.45);
	background-size: 50% 50%;
	border-radius: 50%;
	width: 36px;
	height: 36px;
}

.car-carousel .carousel-indicators {
	margin-bottom: 0.5rem;
}

/* Theme's list styles can leak into the dots; reset them */
.car-carousel .carousel-indicators li {
	padding-left: 0;
}
