/* Testimonials Block - Frontend Styles */

.ft-testimonials {
	padding: 3rem 0;
	border-radius: 12px;
	max-width: 100%;
}

.ft-testimonials--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	color: #999;
	font-style: italic;
	text-align: center;
}

/* Quote section */
.ft-testimonials__content {
	margin-bottom: 2.5rem;
	position: relative;

	span {
		display: block;
		position: absolute;
		font-size: 4rem;
		line-height: 0.9;
		height: 22px;
		width: 22px;

		&:first-child {
			top: 0;
			left: -2.5rem;
		}

		&:last-child {
			bottom: 0;
			right: -3rem;
			transform: rotate(180deg);
		}
	}
}

.ft-testimonials__text {
	font-size: 1.125rem;
	line-height: 1.6;
	color: #2d3748;
	font-style: italic;
	margin-bottom: 1.5rem;
}

.ft-testimonials__text p:last-child {
	margin-bottom: 0;
}

/* Author section */
.ft-testimonials__author {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	justify-content: flex-end;
}

.ft-testimonials__avatar {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: #e0e0e0;
}

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

.ft-testimonials__author-info {
	flex: 1;
	max-width: 240px;
}

.ft-testimonials__author-name {
	font-weight: 600;
	font-size: 1.05rem;
	color: #1a202c;
	margin-bottom: 0.25rem;
}

.ft-testimonials__author-meta {
	font-size: 0.9rem;
	color: #718096;
	margin-top: 0.25rem;
}

.ft-testimonials__position {
	font-weight: 500;
}

.ft-testimonials__company {
	color: #4a5568;
}

/* Rating stars */
.ft-testimonials__rating {
	display: flex;
	gap: 0.25rem;
	margin-top: 0.5rem;
}

.ft-testimonials__star {
	font-size: 1.1rem;
	color: #cbd5e0;
	transition: color 0.2s ease;
}

.ft-testimonials__star--filled {
	color: #f6ad55;
}

/* Responsive */
@media (max-width: 640px) {
	.ft-testimonials {
		padding: 2rem 1.5rem;
	}

	.ft-testimonials__text {
		font-size: 1rem;
	}

	.ft-testimonials__quote-mark {
		font-size: 3rem;
	}

	.ft-testimonials__author {
		flex-direction: column;
		text-align: center;
	}

	.ft-testimonials__avatar {
		width: 56px;
		height: 56px;
	}
}
