/* Noticias de Adra KMCERO: archivo (grid de tarjetas) + single (imagen 100%).
   Reutiliza el lenguaje de diseño de la web (contenedor, tipografía, promo). */

/* ============================ ARCHIVO /noticias/ ============================ */

body.akc-home .akc-row-noticiaspage {
	padding-top: 92px;
	padding-bottom: 80px;
	overflow: hidden;
}

body.akc-home .akc-noticiaspage__col > .uncol > .uncoltable > .uncell > .uncont {
	width: var(--akc-container, 1304px);
	max-width: calc(100% - (var(--akc-gutter, 24px) * 2));
	margin: 0 auto !important;
}

/* Tamaño/peso/interlineado/color desde el Heading nativo de WPBakery
   (fontsize-45 / fontheight-48 / weight 800 / color-0E3262). Aquí solo el margen. */
body.akc-home .akc-noticiaspage__title h1 {
	margin: 0 !important;
}

body.akc-home .akc-noticiaspage__title {
	margin-bottom: 0 !important;
}

/* ---------- Grid de tarjetas ---------- */

body.akc-home .akc-noticias__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 30px;
	align-items: stretch;
	margin-top: 46px !important;
}

body.akc-home .akc-noticia-card {
	display: flex;
	background: #fff;
	border: 5px solid var(--akc-celeste, #d2efff);
	border-radius: 18px;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}

body.akc-home .akc-noticia-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(14, 50, 98, .12);
}

body.akc-home .akc-noticia-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	color: inherit;
	text-decoration: none;
}

body.akc-home .akc-noticia-card__media {
	margin: -5px -5px 0;
	width: calc(100% + 10px);
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 13px 13px 0 0;
	flex: none;
}

body.akc-home .akc-noticia-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

body.akc-home .akc-noticia-card__media--vacia {
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .5), transparent 60%),
		linear-gradient(135deg, var(--akc-celeste, #d2efff), var(--akc-borde, #41c0f0));
}

body.akc-home .akc-noticia-card:hover .akc-noticia-card__media img {
	transform: scale(1.05);
}

body.akc-home .akc-noticia-card__body {
	padding: 24px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

body.akc-home .akc-noticia-card__meta {
	font-size: 14px !important;
	line-height: 1.2 !important;
	font-weight: 700 !important;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--akc-borde, #41c0f0) !important;
}

body.akc-home .akc-noticia-card__title {
	font-size: 23px !important;
	line-height: 29px !important;
	font-weight: 800 !important;
	color: var(--akc-titular) !important;
	margin: 0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.akc-home .akc-noticia-card__excerpt {
	font-size: 16px !important;
	line-height: 24px !important;
	font-weight: 400 !important;
	color: var(--akc-texto-alt, #394a58) !important;
	margin: 0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.akc-home .akc-noticia-card__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--akc-titular) !important;
}

body.akc-home .akc-noticia-card__more img {
	transition: transform .25s ease;
}

body.akc-home .akc-noticia-card:hover .akc-noticia-card__more img {
	transform: translateX(5px);
}

body.akc-home .akc-noticias__vacio {
	font-size: 20px;
	color: var(--akc-texto-alt, #394a58);
	padding: 40px 0;
}

/* ============================ SINGLE de noticia ============================ */

body.akc-home .akc-noticia-single {
	width: var(--akc-container, 1304px);
	max-width: calc(100% - (var(--akc-gutter, 24px) * 2));
	margin: 0 auto;
	padding-top: 48px;
}

body.akc-home .akc-noticia__cabecera {
	max-width: 1000px;
	margin-bottom: 34px;
}

body.akc-home .akc-noticia__meta {
	display: block;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--akc-borde, #41c0f0) !important;
	margin-bottom: 16px;
}

body.akc-home .akc-noticia__titulo {
	font-size: 45px !important;
	line-height: 52px !important;
	font-weight: 800 !important;
	color: var(--akc-titular) !important;
	letter-spacing: 0 !important;
	margin: 0 !important;
}

/* Imagen destacada al 100% del contenedor */

body.akc-home .akc-noticia__hero {
	width: 100%;
	height: clamp(280px, 38vw, 560px);
	border-radius: 15px;
	overflow: hidden;
	margin-bottom: 44px;
}

body.akc-home .akc-noticia__hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Cuerpo del artículo */

body.akc-home .akc-noticia__cuerpo {
	max-width: 900px;
}

body.akc-home .akc-noticia__cuerpo p {
	font-size: 20px !important;
	line-height: 30px !important;
	font-weight: 400 !important;
	color: var(--akc-texto) !important;
	margin: 0 0 24px !important;
}

body.akc-home .akc-noticia__cuerpo p:last-child {
	margin-bottom: 0 !important;
}

body.akc-home .akc-noticia__cuerpo strong {
	font-weight: 700;
	color: var(--akc-titular);
}

body.akc-home .akc-noticia__cuerpo a {
	color: var(--akc-borde, #41c0f0);
	text-decoration: underline;
}

body.akc-home .akc-noticia__cuerpo h2,
body.akc-home .akc-noticia__cuerpo h3 {
	font-weight: 800 !important;
	color: var(--akc-titular) !important;
	line-height: 1.15 !important;
	margin: 34px 0 16px !important;
}

body.akc-home .akc-noticia__cuerpo h2 { font-size: 32px !important; }
body.akc-home .akc-noticia__cuerpo h3 { font-size: 25px !important; }

body.akc-home .akc-noticia__cuerpo img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

body.akc-home .akc-noticia__cuerpo ul,
body.akc-home .akc-noticia__cuerpo ol {
	margin: 0 0 24px;
	padding-left: 24px;
}

body.akc-home .akc-noticia__cuerpo li {
	font-size: 20px !important;
	line-height: 30px !important;
	color: var(--akc-texto) !important;
	margin-bottom: 8px;
}

/* Galería del artículo */

body.akc-home .akc-noticia__galeria {
	margin-top: 44px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

body.akc-home .akc-noticia__galeria-item {
	aspect-ratio: 4 / 3;
	border-radius: 15px;
	overflow: hidden;
	background: var(--akc-celeste, #d2efff);
}

body.akc-home .akc-noticia__galeria-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Volver a noticias */

body.akc-home .akc-noticia__volver {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 48px;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--akc-titular) !important;
	text-decoration: none;
}

body.akc-home .akc-noticia__volver:hover {
	color: var(--akc-borde, #41c0f0) !important;
}

body.akc-home .akc-noticia-single .akc-promo {
	margin-top: 80px;
}

/* ============================ Responsive ============================ */

@media (max-width: 1100px) {
	body.akc-home .akc-noticias__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 24px;
	}

	body.akc-home .akc-noticiaspage__title h1,
	body.akc-home .akc-noticia__titulo {
		font-size: 38px !important;
		line-height: 44px !important;
	}

	body.akc-home .akc-noticia__galeria {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 680px) {
	body.akc-home .akc-row-noticiaspage {
		padding-top: 40px;
		padding-bottom: 50px;
	}

	body.akc-home .akc-noticias__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	body.akc-home .akc-noticia-single {
		padding-top: 40px;
	}

	body.akc-home .akc-noticiaspage__title h1,
	body.akc-home .akc-noticia__titulo {
		font-size: 30px !important;
		line-height: 36px !important;
	}

	body.akc-home .akc-noticia__cuerpo p,
	body.akc-home .akc-noticia__cuerpo li {
		font-size: 18px !important;
		line-height: 27px !important;
	}

	body.akc-home .akc-noticia__galeria {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
}
