/* ==========================================================================
   ÁREA LEGAL — El riesgo que no ven (template-parts/al-riesgo.php)
   Extraído de area_legal.html (#riesgo). Prefijo "riesgo-" (clases únicas;
   no usa .riesgo-item de problem.css, así que no colisiona).
   ========================================================================== */

#riesgo {
	background: var(--navy2);
}

.riesgo-label {
	width: 60px;
	height: 2px;
	background: var(--gold);
	margin-bottom: 1.6rem;
}

.riesgo-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
	font-weight: 600;
	color: var(--gold);
	line-height: 1.15;
	margin-bottom: 1.4rem;
}

.riesgo-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}

.riesgo-subtitle {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(1.7rem, 3.2vw, 2.6rem);
	font-weight: 500;
	color: var(--white);
	line-height: 1.2;
	margin-bottom: 1.8rem;
}

.riesgo-parrafo {
	font-size: 0.92rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.62);
	line-height: 1.9;
	margin-bottom: 1.4rem;
	max-width: 540px;
}

.riesgo-frase {
	font-size: 1rem;
	font-weight: 600;
	font-style: italic;
	color: var(--gold);
	line-height: 1.6;
	margin-top: 1.6rem;
}

.riesgo-img {
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid rgba(198, 170, 71, 0.2);
	aspect-ratio: 4 / 3;
}

.riesgo-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s;
}

.riesgo-img:hover img {
	transform: scale(1.04);
}

@media (max-width: 900px) {
	.riesgo-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.riesgo-parrafo {
		max-width: none;
	}

	.riesgo-img {
		aspect-ratio: 16 / 10;
	}
}
