/**
 * Latest Reviews Carousel Block Styles
 *
 * @package woodmart-child
 */

/* Container */
.wdc-latest-reviews-carousel {
	margin-bottom: 30px;
}

/* Review item adjustments */
.wdc-latest-reviews-carousel .testimonial-inner {
	padding: 30px 20px;
	background-color: var(--bgcolor-white);
	border-radius: var(--wd-brd-radius);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease;
}

.wdc-latest-reviews-carousel .testimonial-inner:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Avatar */
.wdc-latest-reviews-carousel .testimonial-avatar {
	margin-bottom: 15px;
}

.wdc-latest-reviews-carousel .testimonial-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

/* Rating */
.wdc-latest-reviews-carousel .testimonial-rating {
	margin-bottom: 15px;
}

/* Content */
.wdc-latest-reviews-carousel .testimonial-content p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--wd-text-color);
	margin-bottom: 15px;
}

/* Footer */
.wdc-latest-reviews-carousel .testimonial-content footer {
	font-weight: 600;
	color: var(--wd-title-color);
}

.wdc-latest-reviews-carousel .testimonial-content footer span {
	display: block;
	font-weight: 400;
	font-size: 13px;
	color: var(--wd-text-color);
	margin-top: 3px;
}

.wdc-latest-reviews-carousel .testimonial-content footer a {
	color: var(--wd-primary-color);
	text-decoration: none;
}

.wdc-latest-reviews-carousel .testimonial-content footer a:hover {
	text-decoration: underline;
}

/* Review date */
.wdc-latest-reviews-carousel .wdc-review-date {
	font-size: 12px;
	opacity: 0.7;
}

/* No reviews message */
.wdc-no-reviews {
	text-align: center;
	padding: 40px 20px;
	color: var(--wd-text-color);
	font-style: italic;
}

/* Dark scheme adjustments */
.wdc-latest-reviews-carousel.color-scheme-light .testimonial-inner {
	background-color: rgba(255, 255, 255, 0.05);
}

.wdc-latest-reviews-carousel.color-scheme-light .testimonial-content p,
.wdc-latest-reviews-carousel.color-scheme-light .testimonial-content footer span {
	color: rgba(255, 255, 255, 0.8);
}

.wdc-latest-reviews-carousel.color-scheme-light .testimonial-content footer {
	color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
	.wdc-latest-reviews-carousel .testimonial-inner {
		padding: 25px 15px;
	}

	.wdc-latest-reviews-carousel .testimonial-avatar img {
		width: 60px;
		height: 60px;
	}

	.wdc-latest-reviews-carousel .testimonial-content p {
		font-size: 14px;
	}
}
