/* =========================================================================
   css/noticia2026.css - Ficha de noticia 2026 (noticias.php). Copia de
   agencias/css/paginas/noticia.css (cabecera, cuerpo, botones, fuentes, mas
   noticias) y de .proximos-eventos / .agenda-title de agencias/css/estilos.css
   (columna derecha). Lo comun esta en css/landing2026.css y
   css/certificacion2026.css; el calendario usa los estilos de .eventos26
   (css/eventos2026.css), sin el fondo ni el relleno de aquella seccion.
   ========================================================================= */

/* "NOTICIA" y la fecha (la mitad de tamano), encima de la cabecera */
.landing26-contenido .not26-kicker {
	margin: 0;
	color: #333f4f;
	font-family: var(--fuente-texto);
	font-size: 3rem;
	font-weight: 800;
	line-height: 1.1;
	text-align: left !important;
	text-transform: uppercase;
}

.landing26-contenido .not26-fecha {
	margin: 0 0 24px;
	color: #f4b333;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-align: left !important;
	text-transform: uppercase;
}

/* Video a todo el ancho, encima del titulo */
.not26-video {
	position: relative;
	margin-bottom: 20px;
	padding-top: 56.25%;
}

.not26-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Imagen (42%, 16:9, recortada) y titulo, como dos columnas */
.not26-cabecera {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 18px;
}

.not26-imagen {
	flex: 0 0 42%;
	max-width: 42%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 2px;
	background: #eee;
}

.not26-imagen img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.not26-encabezado {
	flex: 1 1 auto;
	min-width: 0;
	padding-right: 8%;
}

.landing26-contenido .not26-titulo {
	margin: 0;
	padding: 0;
	background: none;
	color: #333f4f;
	font-family: var(--fuente-titulos);
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.25;
	text-align: left !important;
}

.landing26-contenido .not26-subtitulo {
	padding-top: 4px;
	font-size: 1.1rem;
}

.landing26-contenido .not26-pais {
	margin: 10px 0 18px;
	color: #f4b333;
	font-weight: 700;
	text-align: left !important;
}

.not26-pais span {
	color: #666;
	font-weight: 400;
}

/* El HTML de la noticia trae su propio diseno (estilos en linea): solo el tono y el interlineado */
.not26-cuerpo {
	padding-top: 6px;
	color: #444;
	line-height: 1.7;
}

/* Las listas del cuerpo, con el estilo que traiga la noticia (heredado del <ul>), no con la
   vineta cuadrada amarilla y el relleno de css/landing2026.css */
.landing26-contenido .not26-cuerpo ul {
	margin: 0 0 15px;
	padding-left: 40px;
	list-style-type: disc;
}

.landing26-contenido .not26-cuerpo ul li {
	padding: 0;
	list-style-type: inherit;
}

.landing26-contenido .not26-cuerpo ul li::marker {
	color: inherit;
}

.not26-cuerpo img {
	max-width: 100%;
	height: auto;
}

.not26-cuerpo a {
	color: #f4b333;
}

/* Documentos adjuntos */
.not26-descarga,
.not26-descarga:visited {
	display: inline-block;
	margin: 16px 8px 0 0;
	padding: 10px 20px;
	border-radius: 2px;
	background: #333f4f;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

/* Botones: amarillo y azul oscuro, con el hover invertido */
.not26-botones {
	clear: both;
	margin-top: 10px;
}

.not26 .not26-boton {
	display: inline-block;
	margin: 10px 8px 0 0;
	padding: 13px 32px;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s, color .15s;
}

.not26 .not26-boton--amarillo { border: 1px solid #f4b333; background: #f4b333; color: #fff; }
.not26 .not26-boton--azul { border: 1px solid #333f4f; background: #333f4f; color: #fff; }
.not26 .not26-boton--amarillo:hover { background: #fff; color: #f4b333; }
.not26 .not26-boton--azul:hover { background: #fff; color: #333f4f; }

/* ---------- Fuentes ---------- */
.not26-fuentes {
	margin: 34px 0 0;
}

.landing26-contenido .not26-fuentes-titulo {
	margin: 0 0 10px;
	padding: 0;
	background: none;
	color: #333f4f;
	font-family: var(--fuente-titulos);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: .01em;
}

.not26-fuentes ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.not26-fuentes li {
	position: relative;
	margin: 0 0 10px;
	padding: 0 0 0 18px !important;
	line-height: 1.5;
	list-style: none !important;
}

.not26-fuentes li::before {
	content: "";
	position: absolute;
	top: .62em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f4b333;
}

.not26-fuente-medio { color: #555; font-size: .95rem; font-style: italic; }
.not26-fuente-sep { margin: 0 4px; color: #bbb; }

.not26-fuente-enlace,
.not26-fuente-enlace:visited {
	color: #f4b333;
	font-size: .95rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.not26-fuente-enlace:hover { color: #333f4f; }

.not26-fuente-url {
	display: block;
	margin-top: 3px;
	color: #8a8a8a;
	font-size: .8rem;
	word-break: break-all;
}

/* ---------- Mas noticias de actualidad ---------- */
.landing26-contenido .not26-mas-titulo {
	margin: 40px 0 18px;
	padding: 0;
	background: none;
	color: #f4b333;
	font-family: var(--fuente-titulos);
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: 0;
}

.not26-mas-item {
	padding: 14px 0;
	border-top: 1px solid #ececec;
}

.not26-mas-item:last-of-type {
	border-bottom: 1px solid #ececec;
}

.not26-mas-item a,
.not26-mas-item a:visited {
	color: #333f4f;
	font-weight: 700;
	text-decoration: none;
}

.not26-mas-item a:hover { color: #f4b333; }

.not26-flecha {
	margin-right: 6px;
	color: #f4b333;
	font-weight: 800;
}

.landing26-contenido .not26-mas-item p {
	margin: 4px 0 0;
	color: #777;
	font-size: .92rem;
	text-align: left !important;
}

@media (max-width: 767px) {
	.not26-cabecera { flex-direction: column; align-items: stretch; gap: 14px; }
	.not26-imagen { flex-basis: auto; max-width: 100%; }
	.not26-encabezado { padding-right: 0; }
	.landing26-contenido .not26-kicker { font-size: 2.2rem; }
	.landing26-contenido .not26-fecha { font-size: 1.15rem; }
	.not26 .not26-boton { white-space: normal; }
}

/* ---------- Columna derecha: calendario y ultimas noticias ---------- */
/* .eventos26 (estilos del calendario) sin el fondo ni el relleno de aquella seccion,
   sobre el gris de la columna (sigue al de .col26-gris) */
.eventos26.not26-lateral {
	padding: 10px 8% 20px;
	background: #f1f1f3;
}

@media (max-width: 991px) {
	.eventos26.not26-lateral {
		padding: 10px 5% 20px;
		background: #f1f1f3;
	}
}

.not26-agenda-titulo {
	margin: 10px 0 12px;
	color: #333f4f;
	font-family: var(--fuente-titulos);
	font-size: 1.4rem;
	font-weight: 800;
}

.not26-agenda-titulo span {
	font-weight: 400;
}

.not26-ultimas {
	margin-top: 25px;
}

.not26-ultimas-titulo {
	margin-bottom: 6px;
	padding-top: 18px;
	border-top: 1px solid #d5d5d5;
	font-family: var(--fuente-titulos);
	line-height: 1.15;
}

.not26-ultimas-titulo span {
	display: block;
	color: #6b7280;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: .5px;
}

.not26-ultimas-titulo span + span {
	color: #f4b434;
	font-size: 1.35rem;
	font-weight: 800;
}

.not26-ultima {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid #dcdcdc;
	text-decoration: none;
	transition: transform .25s ease;
}

.not26-ultima:last-child {
	border-bottom: 0;
}

/* Hover: se amplia la fila entera */
.not26-ultima:hover,
.not26-ultima:focus-visible {
	z-index: 2;
	transform: scale(1.04);
}

.not26-ultima-imagen {
	flex: 0 0 72px;
	width: 72px;
	height: 48px;
	margin-top: 2px;
	overflow: hidden;
	border-radius: 3px;
	background: #e8e8e8;
}

.not26-ultima-imagen img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.not26-ultima-texto {
	min-width: 0;
}

.not26-ultima-titulo {
	display: block;
	color: #4a5568;
	font-size: .85rem;
	font-weight: 600;
	line-height: 1.3;
}

.not26-ultima-fecha {
	display: block;
	margin-top: 4px;
	color: #f4b434;
	font-size: .72rem;
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.not26-ultima { transition: none; }
	.not26-ultima:hover { transform: none; }
}

/* =========================================================================
   Listado de noticias (noticias.php)
   ========================================================================= */
/* .actualidad26 (tarjetas de css/actualidad2026.css) sin el relleno ni el fondo de la
   seccion, en una rejilla de 2 columnas (col-lg-6 de agencias) */
.actualidad26.notl26-lista {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 30px;
	padding: 0;
	background: none;
}

.actualidad26.notl26-lista .actualidad26-tarjeta {
	height: 210px;
	margin: 0;
	padding: 15px;
	border-radius: 4px;
}

.actualidad26.notl26-lista .actualidad26-contenido {
	padding: 0 0 0 20px;
}

.actualidad26.notl26-lista .actualidad26-tarjeta-titulo {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.actualidad26.notl26-lista .actualidad26-texto {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

@media (max-width: 1199.98px) {
	.actualidad26.notl26-lista { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
	.actualidad26.notl26-lista { padding: 0; background: none; }
	.actualidad26.notl26-lista .actualidad26-tarjeta { height: auto; }
	.actualidad26.notl26-lista .actualidad26-contenido { padding: 15px 0 0; }
}

/* ---------- Paginador ---------- */
.notl26-paginador {
	margin: 35px 0 10px;
}

.notl26-paginador ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.notl26-paginador li {
	margin: 0;
	padding: 0 !important;
	list-style: none !important;
}

.notl26-paginador a,
.notl26-paginador span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid #d5d9e0;
	border-radius: 3px;
	background: #fff;
	color: #333f4f;
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
}

.notl26-paginador a:hover,
.notl26-paginador a:focus-visible {
	border-color: #f4b333;
	color: #dd9d1f;
}

.notl26-paginador .notl26-actual {
	border-color: #f4b333;
	color: #333f4f;
	box-shadow: inset 0 0 0 1px #f4b333;
}

.notl26-paginador .notl26-desactivado {
	color: #c8c8c8;
	border-color: #ececec;
}
