/**
 * Noticias — artículos recientes en portada.
 */

.es-noticias-section {
	padding: 72px 0 88px;
	background: #fff;
	font-family: "Urbanist", sans-serif;
	color: #2A2E65;
	overflow: hidden;
}

.es-noticias-card img {
	max-width: 100%;
	height: auto;
}

.es-noticias-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}

.es-noticias-badge {
	display: inline-block;
	padding: 7px 20px;
	margin-bottom: 18px;
	border: 1px solid #2A2E65;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #2A2E65 !important;
	background: transparent;
}

.es-noticias-title {
	margin: 0;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
	color: #2A2E65;
	letter-spacing: -0.02em;
}

.es-noticias-title span {
	display: block;
}

/* Grid principal */
.es-noticias-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
}

@media (min-width: 992px) {
	.es-noticias-grid {
		grid-template-columns: minmax(0, 42%) minmax(0, 58%);
		gap: 48px 56px;
		align-items: center;
	}
}

/* Lista izquierda */
.es-noticias-list {
	display: flex;
	flex-direction: column;
}

.es-noticias-list-item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 26px 0;
	border-bottom: 1px solid #e6eaef;
}

.es-noticias-list-item:first-child {
	padding-top: 0;
}

.es-noticias-list-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.es-noticias-list-thumb {
	flex-shrink: 0;
	display: block;
	width: 112px;
	height: 132px;
	border-radius: 14px;
	overflow: hidden;
	background: #eef1f5;
}

.es-noticias-list-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.es-noticias-list-body {
	flex: 1;
	min-width: 0;
	padding-top: 2px;
}

.es-noticias-list-title {
	margin: 10px 0 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.35;
}

.es-noticias-list-title a {
	color: #2A2E65;
	text-decoration: none;
	transition: color 0.2s ease;
}

.es-noticias-list-title a:hover {
	color: #2A2E65;
}

/* Meta compartida */
.es-noticias-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	font-size: 13px;
	line-height: 1.4;
}

.es-noticias-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #5c6b7a;
	text-decoration: none;
}

.es-noticias-meta-item i {
	color: #E62020;
	font-size: 14px;
}

.es-noticias-meta-item time {
	color: inherit;
}

a.es-noticias-meta-item:hover {
	color: #2A2E65;
}

/* Destacado derecho */
.es-noticias-featured {
	position: relative;
	min-height: 360px;
}

@media (min-width: 992px) {
	.es-noticias-featured {
		min-height: 430px;
		padding-right: 12px;
	}
}

.es-noticias-featured-media {
	position: relative;
	width: 100%;
	max-width: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: #eef1f5;
}

@media (min-width: 992px) {
	.es-noticias-featured-media {
		width: 72%;
		min-height: 430px;
	}
}

.es-noticias-featured-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	object-position: center;
}

@media (min-width: 992px) {
	.es-noticias-featured-media img {
		min-height: 430px;
	}
}

.es-noticias-featured-card {
	position: relative;
	margin-top: -48px;
	margin-left: auto;
	width: calc(100% - 24px);
	max-width: 420px;
	padding: 28px 28px 30px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 22px 50px rgba(28, 45, 63, 0.12);
	z-index: 2;
}

@media (min-width: 992px) {
	.es-noticias-featured-card {
		position: absolute;
		right: 0;
		top: 50%;
		margin-top: 0;
		transform: translateY(-50%);
		width: min(54%, 420px);
		padding: 34px 36px 36px;
	}
}

.es-noticias-featured-title {
	margin: 14px 0 26px;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 800;
	line-height: 1.3;
	color: #2A2E65;
}

.es-noticias-featured-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.es-noticias-featured-title a:hover {
	color: #2A2E65;
}

/* Botón Leer más */
.es-noticias-read-more {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: #2A2E65;
	transition: opacity 0.2s ease;
}

.es-noticias-read-more:hover {
	opacity: 0.85;
}

.es-noticias-read-more-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #2A2E65;
	color: #fff;
	font-size: 30px;
	flex-shrink: 0;
	padding-left: 8px;
    padding-top: 2px;
}

.es-noticias-read-more-text {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2A2E65;
}

@media (max-width: 991px) {
	.es-noticias-section {
		padding: 56px 0 64px;
	}

	.es-noticias-header {
		margin-bottom: 32px;
	}

	.es-noticias-grid {
		gap: 32px;
	}

	.es-noticias-featured {
		order: -1;
	}

	.es-noticias-list {
		order: 1;
	}
}

@media (max-width: 575px) {
	.es-noticias-list-item {
		gap: 14px;
		padding: 22px 0;
	}

	.es-noticias-list-thumb {
		width: 96px;
		height: 112px;
	}

	.es-noticias-featured-card {
		width: calc(100% - 12px);
		padding: 24px 22px 26px;
	}
}
