/* ═══════════════════════════════════════════════════════════════
   Houngnibo – Testimonial Card widget
   ═══════════════════════════════════════════════════════════════ */

.elementor-widget-hgb-testimonial-card {
	height: 100%;
	display: flex;
}

.elementor-widget-hgb-testimonial-card > .elementor-widget-container {
	height: 100%;
	width: 100%;
	display: flex;
}

.hgb-testi {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-color: #ffffff;
	border: 1px solid #d3c4b9;
	border-radius: 8px;
	padding: 32px 28px;
	box-shadow: 0 4px 16px rgba(50, 29, 8, .04);
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hgb-testi:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(50, 29, 8, .08);
	border-color: #c4b2a3;
}

/* ---- Stars (if enabled) ---- */
.hgb-testi__stars {
	color: #825500;
	font-size: .875rem;
	letter-spacing: .1em;
	margin-bottom: 1rem;
}

/* ---- Quote ---- */
.hgb-testi__quote {
	font-family: 'Montserrat', sans-serif;
	font-size: 13.5px;
	font-style: italic;
	color: #4f453d;
	line-height: 1.7;
	margin: 0 0 1.75rem;
	flex: 1 1 auto;
}

/* ---- Author ---- */
.hgb-testi__author {
	display: flex;
	align-items: center;
	gap: .875rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(211, 196, 185, .5);
	margin-top: auto;
}

.hgb-testi__avatar {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 50%;
	background-color: #ffddb2;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

.hgb-testi__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hgb-testi__initials {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #321d08;
	text-transform: uppercase;
	line-height: 1;
}

.hgb-testi__info {
	display: flex;
	flex-direction: column;
}

.hgb-testi__name {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #321d08;
	line-height: 1.3;
}

.hgb-testi__context {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 11.5px;
	color: #81756c;
	margin-top: .25rem;
	line-height: 1.4;
}

@media (max-width: 767px) {
	.hgb-testi {
		padding: 20px 18px !important;
	}
	.hgb-testi__quote {
		font-size: 13px !important;
		margin-bottom: 1.25rem !important;
	}
}

/* ═══════════════════════════════════════════════════════════════
   3-Column Responsive Grid for Testimonials Section
   ═══════════════════════════════════════════════════════════════ */
.hgb-testimonials-grid {
	width: 100% !important;
	max-width: 100% !important;
}

.hgb-testimonials-grid.e-con-boxed,
.elementor-element-01a310f.e-con-boxed {
	display: block !important;
}

.hgb-testimonials-grid:not(.e-con-boxed),
.hgb-testimonials-grid > .e-con-inner,
.elementor-element-01a310f:not(.e-con-boxed),
.elementor-element-01a310f > .e-con-inner {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 32px !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: 1240px !important;
	margin: 0 auto !important;
}

.hgb-testimonials-grid .elementor-widget-hgb-testimonial-card,
.elementor-element-01a310f .elementor-widget-hgb-testimonial-card {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	flex: 1 1 100% !important;
}

@media (max-width: 1024px) {
	.hgb-testimonials-grid:not(.e-con-boxed),
	.hgb-testimonials-grid > .e-con-inner,
	.elementor-element-01a310f:not(.e-con-boxed),
	.elementor-element-01a310f > .e-con-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 24px !important;
	}
}

@media (max-width: 767px) {
	.hgb-testimonials-grid:not(.e-con-boxed),
	.hgb-testimonials-grid > .e-con-inner,
	.elementor-element-01a310f:not(.e-con-boxed),
	.elementor-element-01a310f > .e-con-inner {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}
}
