/* Network Aggregator: válido sin JNews; sin colores de texto fijos para seguir al tema. */
.nagg-block { margin: 0 0 2rem; }
.nagg-block .jeg_block_heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; }
.nagg-block .jeg_block_title { margin: 0; }
.nagg-block .jeg_block_title a { color: inherit; text-decoration: none; }

.nagg-item { margin: 0; min-width: 0; }
.nagg-item .jeg_thumb { margin: 0 0 .5rem; }
.nagg-item .jeg_thumb a { display: block; }
.nagg-item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.nagg-item .jeg_post_title { margin: 0 0 .35rem; font-size: 1rem; line-height: 1.3; }
.nagg-item .jeg_post_title a { color: inherit; text-decoration: none; }
.nagg-item .jeg_post_title a:hover { text-decoration: underline; }
.nagg-item .jeg_post_meta { font-size: .8125rem; opacity: .7; }
.nagg-item .jeg_post_excerpt p { margin: .5rem 0 0; }

.nagg-site-tag {
	display: inline-block; margin: 0 0 .35rem; padding: .1rem .5rem;
	font-size: .75rem; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: .03em;
	border: 1px solid currentColor; border-radius: 3px; opacity: .8;
}

/* Últimas: héroe a la izquierda, lista a la derecha. */
.nagg-latest__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
.nagg-latest__grid > .nagg-item--hero:only-child { grid-column: 1 / -1; }
.nagg-item--hero .jeg_post_title { font-size: 1.5rem; }
.nagg-latest__list { display: grid; gap: 1rem; min-width: 0; }
.nagg-latest__list .nagg-item { display: grid; grid-template-columns: 6rem 1fr; gap: .75rem; align-items: start; }
.nagg-latest__list .nagg-item:not(:has(.jeg_thumb)) { grid-template-columns: 1fr; }
.nagg-latest__list .jeg_thumb { margin: 0; }
.nagg-latest__list img { aspect-ratio: 1 / 1; }
.nagg-latest__list .jeg_post_title { font-size: .9375rem; }

/* Por sitio: fila de 4 columnas. */
.nagg-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 2rem; }

@media (max-width: 767px) {
	.nagg-latest__grid { grid-template-columns: 1fr; }
	.nagg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}

/* Sin imagen: caja vacía con la misma proporción para que las tarjetas igualen altura. */
.nagg-thumb--empty a { display: block; aspect-ratio: 16 / 10; background: currentColor; opacity: .08; }
