/* =========================================================
 * Bloque por Categoría
 * ========================================================= */
.ncb { width: 100%; }

.ncb__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 20px;
	border-bottom: 1px solid #e6e6e6;
	padding-bottom: 10px;
}

.ncb__title {
	position: relative;
	margin: 0;
	padding-left: 14px;
	color: inherit;
	line-height: 1.2;
}

.ncb__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	bottom: 2px;
	width: 5px;
	border-radius: 2px;
	background-color: #d6263a;
}

.ncb__viewall {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #d6263a;
	text-decoration: none;
}

.ncb__viewall:hover { opacity: 0.8; }

/* --- Layout 1 grande + lista --- */
.ncb__split {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 28px;
}

.ncb__big-img, .ncb__card-img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: #eee;
	margin-bottom: 12px;
}

.ncb__big-img img, .ncb__card-img img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.4s ease;
}
.ncb__big-img:hover img, .ncb__card-img:hover img { transform: scale(1.05); }

.ncb__cat {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #d6263a;
}
.ncb__cat--over {
	position: absolute;
	left: 0; bottom: 0;
	background-color: #d6263a;
	color: #fff;
	padding: 6px 10px;
}

.ncb__big-title {
	margin: 6px 0 10px;
	line-height: 1.25;
}
.ncb__big-title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}
.ncb__big-title a:hover { color: #d6263a; }

.ncb__excerpt {
	margin: 0;
	line-height: 1.6;
	color: inherit;
}

.ncb__list { display: flex; flex-direction: column; gap: 16px; }

.ncb__li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.ncb__li:last-child { border-bottom: none; padding-bottom: 0; }

.ncb__li-thumb { flex: 0 0 auto; display: block; width: 84px; height: 64px; overflow: hidden; background: #eee; }
.ncb__li-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ncb__li-body { flex: 1; min-width: 0; }

.ncb__item-title {
	margin: 4px 0 0;
	line-height: 1.3;
}
.ncb__item-title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}
.ncb__item-title a:hover { color: #d6263a; }

/* --- Layout cuadrícula --- */
.ncb__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncb__card { display: flex; flex-direction: column; }
.ncb__card .ncb__cat { margin-bottom: 4px; }
.ncb__card .ncb__item-title { margin: 0 0 6px; }

.ncb__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	color: inherit;
}
.ncb__sep { opacity: 0.5; }

@media ( max-width: 991px ) {
	.ncb__split { grid-template-columns: 1fr; }
	.ncb__grid { grid-template-columns: repeat(2, 1fr); }
}
@media ( max-width: 600px ) {
	.ncb__grid { grid-template-columns: 1fr; }
}

.ncb-empty { padding: 20px; text-align: center; border: 1px dashed #c4c4c4; border-radius: 8px; color: #777; }
