/* =============================== ACTUALIDAD – SAN NICOLÁS TV ================================ */
.actualidad-section {
	margin-top: 24px;
}

/* GRID */
.actualidad-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-top: 16px;
}

/* CARD */
.actualidad-card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.actualidad-card a {
	text-decoration: none;
	color: var(--dark);
	display: block;
}

/* IMAGEN */
.actualidad-thumb {
	position: relative;
}

.actualidad-thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

/* BADGE */
.badge {
	position: absolute;
	bottom: 8px;
	left: 8px;
	font-size: 0.65rem;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
}

/* BODY */
.actualidad-body {
	padding: 10px 12px 12px;
}

.actualidad-body h3 {
	font-size: 0.9rem;
	line-height: 1.25;
	font-weight: 600;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.actualidad-meta {
	font-size: 0.7rem;
	color: var(--gray);
}

/* TIPOS (sobrios) */
.tipo-video .badge {
	background: #ff0000;
}

.tipo-noticia .badge {
	background: #1f4e79;
}

.tipo-comunicado .badge {
	background: var(--tv-green);
}

/* DESKTOP */
@media (min-width: 768px) {
	.actualidad-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* =============================== ACTUALIDAD – HEADER VISUAL =============================== */
/* Contenedor full width real */
.actualidad-header-image {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	height: 115px;
	/* 👈 ajusta aquí la altura */
	overflow: hidden;
}

/* Imagen */
.actualidad-header-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* llena sin deformar */
	display: block;
}

/* =============================== ACTUALIDAD – SUBTÍTULO =============================== */
.actualidad-header-intro {
	text-align: center;
	margin: 12px 0 20px;
}

.actualidad-subtitle {
	font-size: 0.75rem;
	color: var(--gray);
	font-weight: 400;
}

.tv-actualidad {
	margin-top: 24px;
}

.actualidad-header-image {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	height: 110px;
	overflow: hidden;
}

.actualidad-header-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.actualidad-container {
	padding: 16px;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.actualidad-subtitle {
	font-size: 0.8rem;
	color: var(--gray);
	margin: 12px 0 20px;
}

.actualidad-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.actualidad-card {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	text-align: left;
}

.actualidad-card img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.actualidad-card-body {
	padding: 8px 10px;
}

.actualidad-source {
	font-size: 0.65rem;
	font-weight: 600;
	color: var(--primary);
	text-transform: uppercase;
}

.actualidad-card h3 {
	font-size: 0.75rem;
	line-height: 1.2;
	margin-top: 4px;
}

@media (min-width: 768px) {
	.actualidad-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* DESKTOP */
@media (min-width: 1024px) {
	.actualidad-header-image {
		height: 150px;
	}
}
