/* Editorial layout scoped to the public news page. */
.news-header { padding-bottom: 52px; }
.news-eyebrow { display: block; color: var(--mint); font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.news-header h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.1; letter-spacing: -.5px; }
.news-intro { color: var(--text-muted); max-width: 520px; margin-top: 18px; font-size: 1rem; line-height: 1.8; }
.news-header .breadcrumb i { font-size: .6rem; }
.news-section { padding: 48px 0 80px; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; align-items: start; }
.news-feed { display: grid; gap: 36px; min-width: 0; }
.news-story { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; scroll-margin-top: 92px; }
.news-story--latest { border-top: 3px solid var(--accent); }
.news-story-header { padding: 32px 36px 28px; }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 20px; color: var(--text-muted); font-size: .76rem; }
.news-meta time { display: inline-flex; align-items: center; gap: 7px; }
.news-latest { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.news-latest > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.news-story h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.25; letter-spacing: 0; text-wrap: balance; overflow-wrap: anywhere; }
.news-story--latest h2 { font-size: clamp(1.9rem, 3.1vw, 2.65rem); }
.news-summary { color: #ceddd4; margin-top: 18px; font-size: 1.05rem; line-height: 1.8; overflow-wrap: anywhere; }
.news-byline { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--text-muted); font-size: .75rem; }
.news-byline i { color: var(--mint); }
.news-image { display: flex; justify-content: center; margin: 0 36px; background: #061a12; border-radius: 8px; overflow: hidden; }
.news-image img { display: block; width: auto; max-width: 100%; height: auto; max-height: 300px; object-fit: contain; }
.news-copy { padding: 30px 36px 34px; color: #d7e3dc; font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.news-copy p { max-width: 68ch; margin-bottom: 1.2em; }
.news-copy p:last-child { margin-bottom: 0; }
.news-story-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--card-border); padding: 14px 36px; color: var(--text-muted); font-size: .72rem; }
.news-story-footer > span, .news-story-footer a { display: inline-flex; align-items: center; gap: 8px; }
.news-story-footer a { color: var(--mint); min-height: 44px; }
.news-story-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-sidebar { min-width: 0; }
.news-index { padding: 26px 24px 10px; background: var(--primary-light); border: 1px solid var(--card-border); border-radius: 14px; }
.news-index h2 { font-size: 1.4rem; line-height: 1.3; color: var(--white); }
.news-index ol { list-style: none; margin-top: 20px; }
.news-index li + li { border-top: 1px solid var(--card-border); }
.news-index a { display: grid; grid-template-columns: 24px minmax(0, 1fr) 12px; gap: 10px; padding: 18px 0; align-items: start; }
.news-index-number { font-family: 'Oswald', sans-serif; font-size: 1rem; color: var(--accent); }
.news-index-text > span { display: block; color: var(--text); font-size: .87rem; line-height: 1.5; overflow-wrap: anywhere; }
.news-index-text time { display: block; color: var(--text-muted); font-size: .7rem; margin-top: 7px; }
.news-index a > i { color: var(--text-muted); font-size: .65rem; padding-top: 6px; }
.news-index a:hover .news-index-text > span { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.news-community { margin-top: 24px; padding: 28px 24px; border-left: 2px solid var(--accent); }
.news-community > i { font-size: 1.5rem; color: var(--mint); margin-bottom: 16px; }
.news-community h3 { font-size: 1.3rem; line-height: 1.4; color: var(--white); }
.news-community p { font-size: .85rem; line-height: 1.8; color: var(--text-muted); margin: 12px 0 20px; }
.news-empty { padding: 56px 24px; border: 1px solid var(--card-border); border-radius: 16px; background: var(--card-bg); text-align: center; }
.news-empty-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 24px; background: rgba(166, 239, 197, .08); border-radius: 50%; color: var(--mint); font-size: 1.8rem; }
.news-empty h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--white); }
.news-empty p { max-width: 450px; margin: 16px auto 28px; color: var(--text-muted); line-height: 1.8; }
#noticias-topo { scroll-margin-top: 68px; }
@media (max-width: 1000px) {
    .news-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 24px; }
    .news-story-header, .news-copy { padding: 26px; }
    .news-story-footer { padding: 12px 26px; }
    .news-index { padding-inline: 18px; }
}
@media (max-width: 768px) {
    .news-header { padding-bottom: 32px; }
    .news-header .page-header-inner { gap: 22px; }
    .news-layout { grid-template-columns: minmax(0, 1fr); }
    .news-sidebar { order: -1; }
    .news-index { padding: 20px; }
    .news-index ol { display: flex; gap: 12px; overflow-x: auto; margin-top: 16px; padding: 4px 4px 12px; scroll-snap-type: x proximity; }
    .news-index li { flex: 0 0 240px; scroll-snap-align: start; border: 1px solid var(--card-border); border-radius: 8px; }
    .news-index li + li { border-top: 1px solid var(--card-border); }
    .news-index a { padding: 14px; height: 100%; }
    .news-index-text > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .news-community { display: none; }
    .news-section { padding: 28px 0 48px; }
    .news-feed { gap: 24px; }
    .news-story { scroll-margin-top: 80px; }
    .news-image { margin-inline: 26px; }
    .news-image img { max-height: 220px; }
}
@media (max-width: 480px) {
    .news-story-header { padding: 24px 20px; }
    .news-meta { gap: 10px; flex-direction: column; align-items: flex-start; }
    .news-summary { font-size: .95rem; }
    .news-copy { padding: 24px 20px; font-size: .95rem; line-height: 1.85; }
    .news-image { margin-inline: 20px; }
    .news-story-footer { padding: 12px 20px; }
    .news-empty { padding: 36px 20px; }
}
