/* AutoStar — "Trusted by Vehicle Owners" testimonials.
   Full-bleed Slick carousel (centre mode) of native Elementor cards. Only the
   things Elementor can't do natively live here: the Slick track/centre-fade, the
   decorative quote marks, and the avatar circle. Colours use the Global Kit vars
   so everything stays in sync with the Kit. */

/* ---------------- Carousel (Slick on the full-width container itself) ------- */
.as-tst-slider.slick-initialized { display: block; }
.as-tst-slider .as-tst-card { width: 100%; }

/* Before Slick inits: show a centred row, no flash of stacked cards. */
.as-tst-slider:not(.slick-initialized) {
	display: flex;
	gap: 24px;
	overflow: hidden;
	justify-content: center;
}
.as-tst-slider:not(.slick-initialized) > .as-tst-card { flex: 0 0 46%; }

.as-tst-slider .slick-track { display: flex; align-items: stretch; }
.as-tst-slider .slick-slide {
	height: auto;
	padding: 14px 14px;         /* gutter + room for the lifted centre card */
	box-sizing: border-box;
	opacity: .4;                /* side cards fade back … */
	transition: opacity .4s ease, transform .4s ease;
}
.as-tst-slider .slick-slide > .as-tst-card { height: 100%; }
.as-tst-slider .slick-center { opacity: 1; }   /* … active card is full strength */

/* ---------------- Card ---------------- */
.as-tst-card {
	position: relative;
	background: var(--e-global-color-ffffff, #fff);
	border: 1px solid var(--e-global-color-border);
	border-radius: 16px;
	padding: 46px 44px 40px;
	text-align: center;
}
.as-tst-slider .slick-center .as-tst-card {
	box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
}

/* Star row. */
.as-tst-stars .elementor-heading-title {
	color: var(--e-global-color-primary);
	letter-spacing: 3px;
	font-size: 15px;
	line-height: 1;
}

/* Tag pills. */
.as-tst-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.as-tst-tag .elementor-heading-title {
	display: inline-block;
	background: #F1F1F4;
	color: #5A5A60;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	line-height: 1;
	padding: 8px 13px;
	border-radius: 20px;
	white-space: nowrap;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 767px) {
	.as-tst-card { padding: 38px 24px 32px; }
	.as-tst-slider .slick-slide { padding: 10px; opacity: 1; }
	.as-tst-slider > .e-con-inner:not(.slick-initialized) > .as-tst-card { flex: 0 0 88%; }
}
