/* Essaouira Cooking — Testimonials v23 */
.ec-testimonials-module > .module-inner > .os-heading {
	max-width: 900px;
	margin: 0 auto clamp(12px, 2vw, 24px);
	text-align: center;
}

.ec-testimonials-module > .module-inner > .os-heading .os-title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.1;
}

.ec-testimonials-module > .module-inner > .os-heading .os-separate { display: none; }

.acm-testimonial.style-1.ec-testimonials-v24 {
	--ec-wine: #5b0a55;
	--ec-brown: #754026;
	--ec-cream: #fffaf2;
	--ec-gold: #e3a527;
	--ec-text: #2d252b;
	--ec-muted: #776b72;
	padding: clamp(20px, 4vw, 44px) 0;
}

.acm-testimonial.style-1.ec-testimonials-v24 .container { max-width: 1080px; }
.acm-testimonial.style-1.ec-testimonials-v24 .owl-carousel { position: relative; }

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-item {
	position: relative;
	display: flex;
	min-height: 360px;
	flex-direction: column;
	padding: clamp(28px, 4vw, 48px);
	overflow: hidden;
	border: 1px solid rgba(91, 10, 85, .12);
	border-radius: 30px;
	background: linear-gradient(135deg, #fffaf3 0%, #fff 58%, #fff6ea 100%);
	box-shadow: 0 18px 50px rgba(61, 30, 37, .09);
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-item::after {
	position: absolute;
	right: -80px;
	bottom: -100px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: rgba(91, 10, 85, .035);
	content: "";
	pointer-events: none;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-topline {
	position: relative;
	z-index: 2;
	display: flex;
	min-height: 42px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-right: 100px;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-platform {
	display: flex;
	min-width: 120px;
	height: 38px;
	align-items: center;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-platform a {
	display: inline-flex;
	height: 100%;
	align-items: center;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-platform img {
	display: block;
	width: auto;
	max-width: 150px;
	height: 34px;
	object-fit: contain;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-rating {
	display: inline-flex;
	gap: 3px;
	color: #ddd3c8;
	font: 700 1.05rem/1 Arial, sans-serif;
	white-space: nowrap;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-rating .is-filled { color: var(--ec-gold); }

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-quote {
	position: absolute;
	top: 68px;
	left: clamp(22px, 3vw, 42px);
	color: rgba(91, 10, 85, .09);
	font: 700 88px/1 Georgia, serif;
	pointer-events: none;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-content {
	position: relative;
	z-index: 1;
	width: min(100% - 48px, 820px);
	margin: clamp(28px, 4vw, 42px) auto 22px;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-desc,
.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-desc.h1 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	margin: 0;
	color: var(--ec-text);
	font: italic 500 clamp(1.08rem, 1.7vw, 1.34rem)/1.58 Georgia, "Times New Roman", serif !important;
	white-space: pre-line;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-desc.is-expanded {
	display: block;
	overflow: visible;
	-webkit-line-clamp: initial;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-read-more {
	margin-top: 13px;
	padding: 0 0 3px;
	border: 0;
	border-bottom: 1px solid currentColor;
	background: transparent;
	color: var(--ec-wine);
	font: inherit;
	font-size: .9rem;
	font-weight: 750;
	cursor: pointer;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-read-more[hidden] { display: none; }
.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-read-more:focus-visible { outline: 3px solid rgba(91, 10, 85, .23); outline-offset: 4px; }

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-footer {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 14px;
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid rgba(91, 10, 85, .1);
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-avatar {
	display: flex;
	grid-row: 1 / span 2;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--ec-wine);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-person { display: grid; gap: 2px; min-width: 0; }
.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-author { color: var(--ec-text); font-size: .94rem; font-weight: 750; }
.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-country { color: var(--ec-muted); font-size: .84rem; }
.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-date { grid-column: 3; grid-row: 1; color: var(--ec-muted); font-size: .84rem; white-space: nowrap; }

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-source-link {
	grid-column: 3;
	grid-row: 2;
	color: var(--ec-wine);
	font-size: .84rem;
	font-weight: 750;
	text-decoration: none;
}

.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-source-link:hover { text-decoration: underline; }

.acm-testimonial.style-1.ec-testimonials-v24 .owl-nav {
	position: absolute;
	z-index: 10;
	top: 35px;
	right: 38px;
	display: flex;
	gap: 9px;
	margin: 0;
}

.acm-testimonial.style-1.ec-testimonials-v24 .owl-nav button.owl-prev,
.acm-testimonial.style-1.ec-testimonials-v24 .owl-nav button.owl-next {
	position: static;
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 !important;
	border: 1px solid rgba(91, 10, 85, .16) !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--ec-wine) !important;
	box-shadow: 0 3px 10px rgba(44, 33, 24, .09);
	font: 400 28px/1 Arial, sans-serif;
}

.acm-testimonial.style-1.ec-testimonials-v24 .owl-nav button:hover,
.acm-testimonial.style-1.ec-testimonials-v24 .owl-nav button:focus-visible { background: var(--ec-wine) !important; color: #fff !important; }

.acm-testimonial.style-1.ec-testimonials-v24 .owl-dots {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 18px;
}

.acm-testimonial.style-1.ec-testimonials-v24 .owl-dots .owl-dot span {
	display: block;
	width: 8px;
	height: 8px;
	margin: 0;
	border-radius: 99px;
	background: rgba(91, 10, 85, .22);
	transition: width .2s ease, background .2s ease;
}

.acm-testimonial.style-1.ec-testimonials-v24 .owl-dots .owl-dot.active span { width: 24px; background: var(--ec-wine); }
.acm-testimonial.style-1.ec-testimonials-v24 .owl-item.active .testimonial-item { animation: ecTestimonialIn .4s ease both; }

@keyframes ecTestimonialIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
	.acm-testimonial.style-1.ec-testimonials-v24 { padding: 16px 0 24px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .container { padding-inline: 12px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-item { min-height: 410px; padding: 24px 20px 22px; border-radius: 22px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-topline { align-items: flex-start; padding-right: 88px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-platform { min-width: 0; height: 30px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-platform img { max-width: 104px; height: 28px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-rating { display: none; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-quote { top: 62px; left: 16px; font-size: 62px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-content { width: 100%; margin: 32px 0 20px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-desc,
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-desc.h1 { -webkit-line-clamp: 7; font-size: 1.02rem !important; line-height: 1.55 !important; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-desc.is-expanded { -webkit-line-clamp: initial; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-footer { grid-template-columns: 42px minmax(0, 1fr); gap: 3px 11px; padding-top: 17px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-avatar { width: 40px; height: 40px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-date { grid-column: 2; grid-row: 2; margin-left: 0; }
	.acm-testimonial.style-1.ec-testimonials-v24 .testimonial-source-link { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .owl-nav { top: 25px; right: 28px; }
	.acm-testimonial.style-1.ec-testimonials-v24 .owl-nav button.owl-prev,
	.acm-testimonial.style-1.ec-testimonials-v24 .owl-nav button.owl-next { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	.acm-testimonial.style-1.ec-testimonials-v24 .owl-item.active .testimonial-item { animation: none; }
	.acm-testimonial.style-1.ec-testimonials-v24 .owl-dots .owl-dot span { transition: none; }
}
