/**
 * Testimonial Slider — standalone styles
 */

.avt-slider-wrap {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	align-self: flex-start;
}

.avt-testimonial-shell {
	position: relative;
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	background: #fff;
	border-radius: var(--avt-card-radius, 24px);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.avt-testimonial-shell__accent {
	height: 4px;
	background: linear-gradient(90deg, #6b33cc 0%, #2680d9 50%, #f59e0b 100%);
}

.avt-testimonial-slider {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.avt-testimonial-slider .swiper-wrapper {
	align-items: flex-start;
}

.avt-testimonial-slider .swiper-slide {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100% !important;
	height: auto !important;
	flex-shrink: 0;
	box-sizing: border-box;
    padding:20px;
}

.avt-testimonial-slide {
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	max-height: none;
	align-self: flex-start;
	padding: 32px 32px 24px;
	box-sizing: border-box;
}

.avt-testimonial-card__quote {
	margin-bottom: 16px;
	opacity: 0.25;
	line-height: 0;
	color: #6b33cc;
}

.avt-testimonial-card__quote .avt-quote-icon {
	display: block;
	color: #6b33cc;
}

.avt-testimonial-card__rating {
	margin-bottom: 0px;
}

.avt-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	line-height: 1;
}

.avt-star {
	display: block;
	flex-shrink: 0;
}

.avt-testimonial-card__text {
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	color: #111827;
	margin: 0 0 10px;
}

.avt-testimonial-card__outcome {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #30a66f;
	margin: 0 0 15px;
}

.avt-testimonial-card__footer {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 10px;
	border-top: 1px solid #f3f4f6;
}

.avt-testimonial-card__avatar {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}

.avt-testimonial-card__name {
	font-size: 14px;
	font-weight: 600;
	color: #111827;
	margin: 0;
}

.avt-testimonial-card__designation {
	font-size: 12px;
	color: #6b7280;
	margin: 2px 0 0;
}

.avt-slider-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0;
	padding: 0px 20px 12px 20px;
}

.avt-slider-pagination {
	position: static !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 6px;
	width: auto !important;
	height: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	transform: none !important;
}

.avt-slider-pagination.swiper-pagination-vertical,
.avt-slider-pagination.swiper-pagination-horizontal {
	flex-direction: row !important;
}

.avt-slider-pagination .swiper-pagination-bullet {
	display: inline-block;
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #d1d5db;
	opacity: 1;
	margin: 0 !important;
	transition: width 0.3s ease, background 0.3s ease;
}

.avt-slider-pagination .swiper-pagination-bullet-active {
	width: 24px;
	background: #6b33cc;
}

.avt-slider-nav {
	display: flex;
	gap: 8px;
}

.avt-slider-nav__btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff !important;
	color: #111827 !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	box-shadow: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.avt-slider-nav__btn::after {
	display: none !important;
}

.avt-slider-nav__btn.swiper-button-prev,
.avt-slider-nav__btn.swiper-button-next {
	position: static;
	top: auto;
	left: auto;
	right: auto;
}

.avt-slider-nav__btn svg {
	display: block;
}

.avt-slider-nav__btn:hover {
	border-color: #d1d5db;
	color: #111827;
	background: #fff;
}

.avt-slider-nav__btn.swiper-button-disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.avt-empty-notice {
	padding: 16px;
	background: #fef3c7;
	border-left: 4px solid #f59e0b;
	color: #92400e;
}

@media (max-width: 768px) {
	.avt-testimonial-slide {
		padding: 24px 20px 20px;
	}

	.avt-slider-controls {
		padding: 14px 20px 22px;
	}
}

/* Prevent theme/Elementor columns from stretching the slider to match sibling height */
.elementor-column .avt-slider-wrap,
.elementor-widget-shortcode .avt-slider-wrap,
.elementor-shortcode .avt-slider-wrap,
.elementor-column .avt-testimonial-shell,
.elementor-widget-shortcode .avt-testimonial-shell,
.elementor-shortcode .avt-testimonial-shell {
	height: auto !important;
	min-height: 0 !important;
	align-self: flex-start;
}