/* ==========================================================================
   ÁREA LEGAL — ¿Cuándo actuar? (template-parts/al-cuando.php)
   Extraído de area_legal.html (#cuando). Prefijos "cuando-" y "pregunta-"
   (clases únicas; no colisionan con ce-cuando.css ni otras páginas).
   ========================================================================== */

#cuando {
	background: var(--navy);
}

.cuando-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 600;
	color: var(--gold);
	line-height: 1.1;
	margin-bottom: 2.5rem;
}

.cuando-accent {
	display: block;
	width: 92px;
	height: 3px;
	background: var(--gold);
	margin-bottom: 3.5rem;
}

.cuando-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: clamp(2.5rem, 6vw, 6rem);
	row-gap: 2.6rem;
}

.pregunta-item {
	position: relative;
	padding: 0 0 2rem 1.5rem;
	border-bottom: 1px solid rgba(198, 170, 71, 0.14);
}

.pregunta-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35rem;
	width: 2px;
	height: 4rem;
	background: var(--gold);
}

/* Sin línea inferior en la última fila (escritorio, 2 columnas) */
.pregunta-item:nth-last-child(-n + 2) {
	border-bottom: none;
	padding-bottom: 0;
}

.pregunta-q {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 500;
	color: var(--white);
	line-height: 1.25;
	margin-bottom: 0.7rem;
}

.pregunta-a {
	font-size: 0.88rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.7;
}

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

	/* En 1 columna, la penúltima recupera su línea; solo la última queda sin ella */
	.pregunta-item:nth-last-child(-n + 2) {
		border-bottom: 1px solid rgba(198, 170, 71, 0.14);
		padding-bottom: 2rem;
	}

	.pregunta-item:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}
}
