/* ==========================================================
   MBT Testimonial 2.0 - Frontend Styles
   Same procedural structure as v1 but modern fresh design
   ========================================================== */

/* ── Base Container ──────────────────────────────────────── */
.mbt-container {
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

/* ── Single Card ─────────────────────────────────────────── */
.mbt-content {
	position: relative;
	background: #ffffff;
	border: 1px solid #e8eaf0;
	border-radius: 16px;
	padding: 30px 26px 22px;
	text-align: left;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-sizing: border-box;
	height: 100%;
}
.mbt-content:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(99, 102, 241, 0.14);
}
.mbt-content.mbt-is-featured {
	border-color: #6366f1;
	background: linear-gradient(145deg, #fff 0%, #f5f3ff 100%);
}

/* ── Featured Badge ──────────────────────────────────────── */
.mbt-featured-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	background: #6366f1;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 20px;
}

/* ── Video ───────────────────────────────────────────────── */
.mbt-video-wrap {
	margin-bottom: 16px;
	border-radius: 10px;
	overflow: hidden;
}
.mbt-video-thumb {
	position: relative;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}
.mbt-video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.2s ease;
	display: block;
}
.mbt-video-thumb:hover img {
	opacity: 0.75;
}
.mbt-play-btn {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.mbt-play-btn svg {
	width: 54px;
	height: 54px;
	color: #6366f1;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.mbt-video-thumb iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ── Stars ───────────────────────────────────────────────── */
.mbt-stars {
	display: flex;
	gap: 2px;
	margin-bottom: 10px;
}
.mbt-star-filled {
	color: #f59e0b;
	font-size: 18px;
}
.mbt-star-empty {
	color: #d1d5db;
	font-size: 18px;
}

/* ── Quote Mark ──────────────────────────────────────────── */
.mbt-quote-mark {
	font-size: 52px;
	line-height: 1;
	color: #6366f1;
	opacity: 0.18;
	font-family: Georgia, serif;
	margin-bottom: -10px;
}

/* ── Description ─────────────────────────────────────────── */
.mbt-content-description {
	font-size: 15px;
	line-height: 1.75;
	color: #374151;
	margin-bottom: 18px;
}
.mbt-content-description p:last-child {
	margin-bottom: 0;
}

/* ── Author Row ──────────────────────────────────────────── */
.mbt-author-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid #f0f0f5;
}
.mbt-author-img {
	flex-shrink: 0;
}
.mbt-author-img img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 2px solid #ede9fe;
}
.mbt-avatar-placeholder {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #6366f1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mbt-avatar-placeholder span {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}
.mbt-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
a.mbt-author-name,
span.mbt-author-name {
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	text-decoration: none;
	display: block;
}
a.mbt-author-name:hover {
	color: #6366f1;
}
.mbt-author-destination {
	font-size: 13px;
	color: #6b7280;
	display: block;
}
.mbt-company-name {
	font-size: 12px;
	color: #6366f1;
	font-weight: 600;
	display: block;
}
.mbt-testi-date {
	font-size: 12px;
	color: #9ca3af;
	display: block;
}

/* ── GRID Layout ─────────────────────────────────────────── */
.mbt-grid {
	display: grid;
	gap: 22px;
}
.mbt-cols-1 { grid-template-columns: 1fr; }
.mbt-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mbt-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mbt-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ── SLIDER Layout ───────────────────────────────────────── */
.mbt-slider-wrap {
	position: relative;
	padding-bottom: 50px;
}
.mbt-slider-wrap .owl-carousel .owl-stage {
	display: flex;
}
.mbt-slider-wrap .owl-carousel .owl-item {
	display: flex;
}
.mbt-slider-wrap .owl-carousel .mbt-content {
	height: 100%;
}
.mbt-slider-wrap .owl-dots {
	margin-top: 20px;
	text-align: center;
}
.mbt-slider-wrap .owl-dot span {
	background: #c7d2fe !important;
	width: 8px !important;
	height: 8px !important;
	transition: all 0.2s ease;
}
.mbt-slider-wrap .owl-dot.active span {
	background: #6366f1 !important;
	width: 22px !important;
	border-radius: 4px !important;
}

/* Custom Nav Buttons */
.mbt-owl-nav {
	position: absolute;
	bottom: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.mbt-owl-prev,
.mbt-owl-next {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 16px;
	color: #6366f1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: all 0.2s ease;
	line-height: 1;
}
.mbt-owl-prev:hover,
.mbt-owl-next:hover {
	background: #6366f1;
	color: #fff;
	border-color: #6366f1;
}

/* ── No results ──────────────────────────────────────────── */
.mbt-no-testimonials {
	color: #9ca3af;
	font-style: italic;
	padding: 20px 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media ( max-width: 1024px ) {
	.mbt-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.mbt-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media ( max-width: 600px ) {
	.mbt-cols-2,
	.mbt-cols-3,
	.mbt-cols-4 { grid-template-columns: 1fr; }
	.mbt-content { padding: 20px 16px 16px; }
}
