/* ============================================================
   Cottom Testimonials – Frontend Styles
   ============================================================ */

/* ---- Section Wrapper ---- */
.cottom-testimonials-section {
	width: 100%;
	box-sizing: border-box;
}

/* ---- Section Header ---- */
.cottom-tm-section-header {
	margin-bottom: 40px;
}

.cottom-tm-section-title {
	margin: 0 0 12px;
	padding: 0;
	color: #111111;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
}

.cottom-tm-section-subtitle {
	margin: 0;
	padding: 0;
	color: #666666;
	font-size: 15px;
	line-height: 1.7;
}

/* ---- Grid ---- */
.cottom-tm-grid {
	display: grid;
	grid-template-columns: repeat(var(--cottom-tm-cols-desktop, 3), 1fr);
	gap: 24px;
	width: 100%;
	box-sizing: border-box;
}

/* ---- Card ---- */
.cottom-tm-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #ffffff;
	border-radius: 12px;
	padding: 32px;
	box-sizing: border-box;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative;
	overflow: hidden;
}

.cottom-tm-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

/* ---- Avatar / Image ---- */
.cottom-tm-avatar {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 16px;
	flex-shrink: 0;
}

.cottom-tm-avatar--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f0f0f0;
}

.cottom-tm-avatar--placeholder svg {
	width: 100%;
	height: 100%;
}

/* ---- Stars ---- */
.cottom-tm-stars {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2px;
	margin: 0 0 14px;
	font-size: 18px;
	line-height: 1;
}

.cottom-tm-star {
	display: inline-block;
	line-height: 1;
}

.cottom-tm-star.filled {
	color: #f5a623;
}

.cottom-tm-star.empty {
	color: #dddddd;
}

/* ---- Body / Text ---- */
.cottom-tm-body {
	position: relative;
	width: 100%;
}

.cottom-tm-quote-icon {
	display: block;
	font-size: 56px;
	line-height: 0.6;
	color: #e8e8e8;
	font-family: Georgia, serif;
	margin-bottom: 8px;
	pointer-events: none;
	user-select: none;
}

.cottom-tm-text {
	margin: 0 0 20px;
	padding: 0;
	color: #444444;
	font-size: 14px;
	line-height: 1.8;
}

/* ---- Author Info ---- */
.cottom-tm-author {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-top: auto;
}

.cottom-tm-name {
	display: block;
	color: #111111;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.3;
}

.cottom-tm-role {
	display: block;
	color: #888888;
	font-size: 12px;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

/* =====================================================================
   RESPONSIVE – Tablet (≤ 1024px)
   ===================================================================== */
@media (max-width: 1024px) {
	.cottom-tm-grid {
		grid-template-columns: repeat(var(--cottom-tm-cols-tablet, 2), 1fr);
	}
}

/* =====================================================================
   RESPONSIVE – Mobile (≤ 767px)
   ===================================================================== */
@media (max-width: 767px) {
	.cottom-tm-grid {
		grid-template-columns: repeat(var(--cottom-tm-cols-mobile, 1), 1fr);
	}

	.cottom-tm-section-title {
		font-size: 22px;
	}

	.cottom-tm-card {
		padding: 24px 20px;
	}

	.cottom-tm-text {
		font-size: 13px;
	}

	.cottom-tm-quote-icon {
		font-size: 44px;
	}
}
