/* =============================================
   ZONAVAG — noticias (listado y noticia, pintadas en el servidor)
   ============================================= */
.news-page { padding-block: 20px 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.news-page__head h1 { font-size: 30px; letter-spacing: -0.02em; text-wrap: balance; }
.news-page__head p { margin-top: 8px; color: var(--muted); max-width: 62ch; }
.news-page__cats { margin: 20px 0 24px; }
.news-empty { padding: 32px 0; color: var(--muted); }

.news-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.news-card__link { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.news-card__link:hover { color: var(--text); }
.news-card__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--border); }
.news-card__img--empty { background: linear-gradient(135deg, #e9ecf5, #f7f7f8); }
.news-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.news-card__meta { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.news-card__title { font-size: 17px; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.news-card__summary { font-size: 14px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__date { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 14px; }

.news-article { max-width: 720px; margin-inline: auto; }
.news-article__kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.news-article h1 { margin-top: 8px; font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 768px) { .news-article h1 { font-size: 40px; } .news-page__head h1 { font-size: 38px; } }
.news-article__summary { margin-top: 12px; font-size: 19px; line-height: 1.5; color: #3d3d44; }
.news-article__meta { margin-top: 12px; font-size: 14px; color: var(--muted); }
.news-article__hero { margin: 22px calc(-1 * var(--gutter)) 0; }
@media (min-width: 760px) { .news-article__hero { margin-inline: 0; } .news-article__hero img { border-radius: var(--radius); } }
.news-article__hero img { display: block; width: 100%; height: auto; max-width: 100%; }
.news-article figcaption { padding: 8px var(--gutter) 0; font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .news-article figcaption { padding-inline: 0; } }
.news-article__body { margin-top: 24px; font-size: 18px; line-height: 1.7; color: #26262b; }
.news-article__body > * + * { margin-top: 1em; }
.news-article__body h2 { margin-top: 1.6em; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.news-article__body h3 { margin-top: 1.4em; font-size: 20px; line-height: 1.35; }
.news-article__body ul, .news-article__body ol { padding-left: 1.3em; }
.news-article__body li + li { margin-top: 0.4em; }
.news-article__body blockquote { padding: 4px 0 4px 16px; border-left: 3px solid var(--accent); color: #3d3d44; font-style: italic; }
.news-article__body figure { margin: 1.4em 0; }
.news-article__body img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.news-article__body a { text-decoration: underline; text-underline-offset: 3px; }
.news-article__engine { display: grid; gap: 4px; margin-top: 32px; padding: 16px; background: var(--accent-soft); border-radius: var(--radius); font-size: 15px; }
.news-article__engine span { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.news-article__engine a { font-weight: 600; }
.news-related { margin-top: 48px; }
.news-related h2 { font-size: 22px; margin-bottom: 16px; }

.nl-box { max-width: 720px; margin: 40px auto 0; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.nl-box h2 { font-size: 20px; text-wrap: balance; }
.nl-box > p { margin: 6px 0 14px; color: var(--muted); font-size: 15px; }
