/* ==========================================================================
   Página de noticias
   ========================================================================== */

.noticias {
	position: relative;
	z-index: 0;
	background: var(--color-blanco);
}

.noticias .wrapper {
	min-height: 659px;
	padding-top: 70px;
	padding-bottom: 70px;
}

.noticias-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.noticias-item {
	width: 33.3333%;
	padding: 15px;
}

/* Tarjeta: todo su rectángulo es el enlace (lo extiende .noticia-enlace) */
.noticia {
	--corte-color: var(--color-blanco);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 20px;
	min-height: 324px;
	padding: 40px;
	overflow: hidden;
	background: var(--fondo-claro);
	transform: scale(1);
	transition: all 0.2s linear;
}

.noticia:hover {
	transform: scale(1.03);
}

.noticia-etiqueta {
	padding-right: 40px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: 10px;
	text-transform: uppercase;
}

.noticia-titulo {
	font-family: var(--fuente-texto);
	font-size: 27px;
	font-weight: 400;
	line-height: 36px;
}

.noticia-enlace {
	color: inherit;
	text-decoration: none;
}

.noticia-enlace::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 10;
}

.noticia-icono {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 22px;
	height: 22px;
	color: var(--color-primario);
}

@media (max-width: 1024px) {
	.noticias .wrapper {
		--maxw: 680px;
	}

	.noticias-item {
		width: 50%;
	}
}

@media (max-width: 767px) {
	.noticias .wrapper {
		--maxw: 500px;
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.noticias-item {
		width: 100%;
	}
}
