/**
 * Review Components CSS
 *
 * Styles for editorial review template components:
 *   - .hz-star-rating      : CSS-only star rating display (no JS, no external fonts)
 *   - .hz-pros-cons        : Two-column pros/cons lists
 *   - .hz-methodology-box  : "Wie wir testen" section
 *   - .hz-review-verdict   : "Unsere Bewertung" verdict section
 *
 * Phase 4 Plan 01 (SCHM-14, SCHM-15, LEGL-07, LEGL-08).
 *
 * @package HumusZiegel
 * @since   4.0.0
 */

/* =========================================================================
   Star Rating
   ========================================================================= */

.hz-star-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.hz-star-rating__label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
	font-weight: 600;
}

.hz-star-rating__stars {
	--percent: calc(var(--rating) / 5 * 100%);
	display: inline-block;
	font-size: 1.5rem;
	line-height: 1;
	letter-spacing: 0.1em;
	background: linear-gradient(90deg, #c59a53 var(--percent), #d1d5db var(--percent));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hz-star-rating__stars::before {
	content: '\2605\2605\2605\2605\2605';
}

.hz-star-rating__value {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1f2937;
}

/* =========================================================================
   Pros / Cons
   ========================================================================= */

.hz-pros-cons {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.hz-pros-cons {
		grid-template-columns: 1fr 1fr;
	}
}

.hz-pros-cons__heading {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.75rem;
}

.hz-pros-cons__heading--positive {
	color: #16a34a;
}

.hz-pros-cons__heading--negative {
	color: #dc2626;
}

.hz-pros-cons__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hz-pros-cons__list li {
	padding: 0.5rem 0;
	padding-left: 1.75rem;
	position: relative;
	border-bottom: 1px solid #f3f4f6;
}

.hz-pros-cons__list li:last-child {
	border-bottom: none;
}

.hz-pros-cons__list--positive li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	color: #16a34a;
	font-weight: 700;
}

.hz-pros-cons__list--negative li::before {
	content: '\2717';
	position: absolute;
	left: 0;
	color: #dc2626;
	font-weight: 700;
}

/* =========================================================================
   Methodology Box
   ========================================================================= */

.hz-methodology-box {
	background: #faf8f5;
	border: 1px solid #e5e0d8;
	border-radius: 0.5rem;
	padding: 1.5rem;
	margin: 2rem 0;
}

.hz-methodology-box__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #1f2937;
}

.hz-methodology-box__content {
	color: #374151;
	line-height: 1.7;
}

.hz-methodology-box__content p {
	margin-bottom: 0.75rem;
}

.hz-methodology-box__content p:last-child {
	margin-bottom: 0;
}

/* =========================================================================
   Review Verdict
   ========================================================================= */

.hz-review-verdict {
	background: #faf8f5;
	border: 2px solid #c59a53;
	border-radius: 0.75rem;
	padding: 1.5rem 2rem;
	margin: 2rem 0;
	text-align: center;
}

.hz-review-verdict__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #1f2937;
}

.hz-review-verdict__stars {
	display: flex;
	justify-content: center;
}