/* Customer Reviews Grid */

.wmar-review-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	width: 100%;
	margin: 2rem auto;
}

.wmar-review-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5rem;
	background-color: #ede6d0;
	border-radius: 10px;
	color: #222222;
	box-shadow: 0 2px 8px rgba(34, 34, 34, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wmar-review-card:hover,
.wmar-review-card:focus-within {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(34, 34, 34, 0.18);
}

.wmar-review-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.wmar-review-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.wmar-review-meta {
	min-width: 0;
}

.wmar-reviewer-name {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	font-weight: 700;
	color: #222222;
}

.wmar-reviewer-details {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #222222;
}

.wmar-meta-separator {
	margin: 0 0.35rem;
}

.wmar-stars {
	display: flex;
	gap: 0.15rem;
	margin-bottom: 0.75rem;
	font-size: 1.1rem;
	line-height: 1;
}

.wmar-star-filled {
	color: #bb822b;
}

.wmar-star-empty {
	color: rgba(34, 34, 34, 0.25);
}

.wmar-review-title {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	color: #222222;
}

.wmar-review-body {
	flex: 1;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #222222;
}

.wmar-review-body p {
	margin: 0 0 0.75rem;
}

.wmar-review-body p:last-child {
	margin-bottom: 0;
}

.wmar-review-source {
	margin: 1rem 0 0;
	font-size: 0.85rem;
}

.wmar-review-source a,
.wmar-review-card a {
	color: #2f7285;
	text-decoration: underline;
}

.wmar-review-source a:hover,
.wmar-review-source a:focus,
.wmar-review-card a:hover,
.wmar-review-card a:focus {
	color: #222222;
}

.wmar-no-reviews {
	margin: 2rem 0;
	padding: 1.5rem;
	text-align: center;
	font-size: 1rem;
	color: #222222;
	background-color: #ede6d0;
	border-radius: 10px;
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
	.wmar-review-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
	.wmar-review-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.wmar-review-card {
		transition: none;
	}

	.wmar-review-card:hover,
	.wmar-review-card:focus-within {
		transform: none;
	}
}
