/* DP Testimonial — split layout + glass overlay (Elementor widget) */

.elementor-widget-dp-testimonial .dp-testimonial {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.elementor-widget-dp-testimonial .dp-testimonial__swiper {
	width: 100%;
	overflow: hidden;
}

.elementor-widget-dp-testimonial .dp-testimonial__swiper .swiper-wrapper {
	align-items: stretch;
}

.elementor-widget-dp-testimonial .dp-testimonial__swiper .swiper-slide {
	height: auto;
	box-sizing: border-box;
}

.elementor-widget-dp-testimonial .dp-testimonial__slide {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	min-height: 520px;
}

.elementor-widget-dp-testimonial .dp-testimonial__col--quote {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	box-sizing: border-box;
	background-color: #0a0a0a;
	padding: 48px;
}

/* Leave space for prev/next controls over the left column */
.elementor-widget-dp-testimonial .dp-testimonial:has( .dp-testimonial__arrows ) .dp-testimonial__col--quote {
	padding-bottom: 120px;
}

.elementor-widget-dp-testimonial .dp-testimonial__thoughts {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1.125rem, 2.2vw, 1.75rem);
	line-height: 1.65;
	margin: 0;
}

.elementor-widget-dp-testimonial .dp-testimonial__thoughts > *:first-child {
	margin-top: 0;
}

.elementor-widget-dp-testimonial .dp-testimonial__thoughts > *:last-child {
	margin-bottom: 0;
}

.elementor-widget-dp-testimonial .dp-testimonial__quote-meta {
	margin-top: auto;
	flex-shrink: 0;
	padding-top: 32px;
}

.elementor-widget-dp-testimonial .dp-testimonial__quote-name {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.125rem;
	line-height: 1.35;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.95);
	margin: 0 0 6px;
}

.elementor-widget-dp-testimonial .dp-testimonial__quote-company {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 0.875rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

.elementor-widget-dp-testimonial .dp-testimonial__quote-meta .dp-testimonial__quote-company:first-child {
	margin-top: 0;
}

.elementor-widget-dp-testimonial .dp-testimonial__quote-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin-top: 12px;
}

.elementor-widget-dp-testimonial .dp-testimonial__quote-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #ffffff;
	background-color: transparent;
	border: 0 solid transparent;
	border-radius: 0;
	padding: 0;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.elementor-widget-dp-testimonial .dp-testimonial__quote-link-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 1;
}

.elementor-widget-dp-testimonial .dp-testimonial__quote-link-icon--svg svg {
	display: block;
	width: 100%;
	height: 100%;
}

.elementor-widget-dp-testimonial .dp-testimonial__col--media {
	position: relative;
	min-height: 280px;
	overflow: hidden;
}

.elementor-widget-dp-testimonial .dp-testimonial__media-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.elementor-widget-dp-testimonial .dp-testimonial__media-bg--placeholder {
	background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.elementor-widget-dp-testimonial .dp-testimonial__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.elementor-widget-dp-testimonial .dp-testimonial__overlay-inner {
	max-width: 100%;
}

.elementor-widget-dp-testimonial .dp-testimonial__overlay-top {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.elementor-widget-dp-testimonial .dp-testimonial__name {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 400;
	line-height: 1.25;
	color: #fff;
	margin: 0;
	flex: 1;
	min-width: 0;
}

.elementor-widget-dp-testimonial .dp-testimonial__stars {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	font-size: 20px;
	line-height: 1;
	color: #fff;
}

.elementor-widget-dp-testimonial .dp-testimonial__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
}

.elementor-widget-dp-testimonial .dp-testimonial__star--half {
	position: relative;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}

/* Full “empty” star behind; filled left half clipped on top (z-index). */
.elementor-widget-dp-testimonial .dp-testimonial__star-half-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	pointer-events: none;
}

.elementor-widget-dp-testimonial .dp-testimonial__star-half-bg svg {
	display: block;
	width: 1em;
	height: 1em;
	margin: 0;
}

.elementor-widget-dp-testimonial .dp-testimonial__star-half-inner {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width: 50%;
	height: 100%;
	overflow: hidden;
}

/*
 * SVG must stay full star size (1em); flex was shrinking it inside the 50% clip.
 */
.elementor-widget-dp-testimonial .dp-testimonial__star-half-inner svg {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 1em;
	height: 1em;
	margin: 0;
	max-width: none;
}

.elementor-widget-dp-testimonial .dp-testimonial__company,
.elementor-widget-dp-testimonial .dp-testimonial__profession {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	margin: 0;
}

.elementor-widget-dp-testimonial .dp-testimonial__profession {
	margin-top: 4px;
}

.elementor-widget-dp-testimonial .dp-testimonial__arrows {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	padding: 0 40px 40px;
	box-sizing: border-box;
	pointer-events: none;
	z-index: 5;
}

.elementor-widget-dp-testimonial .dp-testimonial__nav-btn {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid currentColor;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.elementor-widget-dp-testimonial .dp-testimonial__nav-btn:hover,
.elementor-widget-dp-testimonial .dp-testimonial__nav-btn:focus-visible {
	background-color: rgba(255, 255, 255, 0.08);
}

.elementor-widget-dp-testimonial .dp-testimonial__nav-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 2px;
}

.elementor-widget-dp-testimonial .dp-testimonial__empty {
	padding: 24px;
	text-align: center;
	color: #666;
	font-family: system-ui, sans-serif;
}

@media (max-width: 767px) {
	.elementor-widget-dp-testimonial .dp-testimonial__slide {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.elementor-widget-dp-testimonial .dp-testimonial__col--quote {
		order: 1;
		min-height: 240px;
	}

	.elementor-widget-dp-testimonial .dp-testimonial__col--media {
		order: 2;
		min-height: 360px;
	}

	.elementor-widget-dp-testimonial .dp-testimonial__arrows {
		width: 100%;
		justify-content: flex-end;
		padding: 16px 24px 24px;
	}
}
