/**
 * Estilos de los widgets de Dispapeles.
 *
 * El grueso del diseño vive en el theme (assets/css/main.css) porque las
 * clases de sección se conservan (.banner, .categories, .mini_banner...).
 * Aquí sólo se "des-scopean" las reglas que en el sitio antiguo dependían
 * de la clase del body (.about, .directorio, .home) para que los widgets
 * se vean bien en cualquier página de Elementor.
 */

/* Zigzag (antes .about .zigzag) */
.dp-widget-zigzag .zigzag section,
.elementor-widget-dp-zigzag .zigzag section {
	max-width: 1200px;
	gap: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto 40px;
}
.elementor-widget-dp-zigzag .zigzag section:nth-of-type(2n) {
	flex-direction: row-reverse;
}
.elementor-widget-dp-zigzag .zigzag section img {
	width: 50%;
	height: 450px;
	object-fit: contain;
}
.elementor-widget-dp-zigzag .zigzag .txt {
	max-width: 600px;
}
@media only screen and (max-width: 768px) {
	.elementor-widget-dp-zigzag .zigzag section,
	.elementor-widget-dp-zigzag .zigzag section:nth-of-type(2n) {
		flex-direction: column;
	}
	.elementor-widget-dp-zigzag .zigzag section img {
		width: 100%;
		height: auto;
	}
}

/* Directorio (antes .directorio .regional) */
.elementor-widget-dp-directory .regional {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.elementor-widget-dp-directory .regional h4 {
	color: #ff0000;
	font-weight: bold;
	grid-column: 1 / -1;
	margin-bottom: 15px;
}
.elementor-widget-dp-directory .directorioTitle {
	max-width: 1200px;
	margin: 50px auto;
}
@media only screen and (max-width: 768px) {
	.elementor-widget-dp-directory .regional {
		display: flex;
		flex-direction: column;
		padding: 0 20px;
	}
}

/* Valores (antes .about .asies) */
.elementor-widget-dp-values .asies {
	display: flex;
	justify-content: center;
	gap: 30px;
	max-width: 720px;
	margin: 80px auto;
}
.elementor-widget-dp-values .asies .asiestitle {
	display: flex;
	flex-direction: column;
}
.elementor-widget-dp-values .asies ul li {
	background-color: rgba(0, 0, 0, 0.3);
	padding: 20px 40px;
	margin-bottom: 12px;
	position: relative;
}
.elementor-widget-dp-values .asies ul li .square {
	display: block;
	position: absolute;
	top: -4px;
	left: -4px;
	width: 10px;
	height: 10px;
	z-index: -1;
}
.elementor-widget-dp-values .asies ul li h2 {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}
.elementor-widget-dp-values .asies ul li p {
	font-size: 12px;
	font-weight: 300;
	margin: 0;
	color: #fff;
}
@media only screen and (max-width: 768px) {
	.elementor-widget-dp-values .asies {
		flex-direction: column;
		padding: 0 20px;
	}
}

/* Pilares (antes .about.sostenibilidad .pilares) */
.elementor-widget-dp-pilares .pilares {
	max-width: 1200px;
	margin: 80px auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	justify-items: center;
}
.elementor-widget-dp-pilares .pilares h4 {
	color: #ff00009e;
	font-size: 32px;
	font-weight: bold;
	text-align: center;
	grid-column: span 3;
}
.elementor-widget-dp-pilares .pilares article {
	width: 250px;
}
.elementor-widget-dp-pilares .pilares article img {
	width: 250px;
	object-fit: contain;
	display: block;
	margin: 0 auto 30px;
}
@media only screen and (max-width: 768px) {
	.elementor-widget-dp-pilares .pilares,
	.elementor-widget-dp-pilares .pilares h4 {
		grid-template-columns: repeat(1, 1fr);
		grid-column: span 1;
	}
}

/* Pregunta del día (antes .home .questions) */
.elementor-widget-dp-question-of-day .questions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 50px;
	padding: 80px 0;
}
.elementor-widget-dp-question-of-day .questions .title {
	display: flex;
	flex-direction: column;
}
.elementor-widget-dp-question-of-day .questions .title span {
	font-weight: bold;
	color: rgba(255, 0, 0, 0.62);
}
.elementor-widget-dp-question-of-day .questions .title span:nth-of-type(1) {
	font-size: 64px;
	line-height: 96px;
}
.elementor-widget-dp-question-of-day .questions .title span:nth-of-type(2) {
	font-size: 96px;
	line-height: 44px;
	margin-left: 50px;
}
.elementor-widget-dp-question-of-day .questions .txt {
	max-width: 653px;
}
.elementor-widget-dp-question-of-day .questions .txt h5 {
	font-weight: bold;
	color: #000;
	font-size: 40px;
	line-height: 50px;
}
@media only screen and (max-width: 768px) {
	.elementor-widget-dp-question-of-day .questions {
		flex-direction: column;
		padding: 60px 20px;
	}
}

/* Intro (antes .home .intro) */
.elementor-widget-dp-intro .intro .title {
	margin-bottom: 30px;
}
.elementor-widget-dp-intro .intro .title h3 {
	font-weight: 700;
}
.elementor-widget-dp-intro .intro .title h3:nth-of-type(1) {
	font-size: 40px;
	color: rgba(0, 0, 0, 0.35);
	line-height: 40px;
}
.elementor-widget-dp-intro .intro .title h3:nth-of-type(2) {
	font-size: 66px;
	color: rgba(255, 0, 0, 0.62);
	line-height: 66px;
}
.elementor-widget-dp-intro .intro .title h3:nth-of-type(3) {
	color: rgba(0, 0, 0, 0.62);
	font-size: 33px;
	line-height: 33px;
}
