/**
 * demos/noticias/css/style.css
 * Estilos Editoriales Profesionales para "El Faro Digital"
 * Desarrollado por AER Multinet
 */

:root {
    --news-primary: #dc2626;      /* Rojo editorial de urgencia */
    --news-primary-dark: #991b1b;
    --news-dark: #0f172a;         /* Azul noche / negro tipográfico */
    --news-dark-soft: #1e293b;
    --news-text: #334155;
    --news-muted: #64748b;
    --news-border: #e2e8f0;
    --news-surface: #f8fafc;
    --news-white: #ffffff;
    
    --font-heading: 'Merriweather', 'Source Serif 4', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Source Serif 4', Georgia, serif;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    
    --container-max: 1240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.news-body {
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: var(--news-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.news-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ============================================================
   BARRA SUPERIOR AER MULTINET (DEMO CONTROL BAR)
============================================================ */
.aer-demo-topbar {
    background: #0b1329;
    color: #e2e8f0;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.aer-demo-topbar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.aer-demo-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aer-demo-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: aerPulse 2s infinite;
}

@keyframes aerPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.aer-demo-sep {
    color: #475569;
}

.aer-demo-label {
    color: #94a3b8;
}

.aer-demo-topbar-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.aer-demo-btn {
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.aer-demo-btn-back {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.aer-demo-btn-back:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.aer-demo-btn-quote {
    background: #0284c7;
    color: #ffffff;
    border: 1px solid #0284c7;
}

.aer-demo-btn-quote:hover {
    background: #0369a1;
}

/* ============================================================
   TOP UTILITY BAR (FECHA, CLIMA, FINANZAS, EN VIVO)
============================================================ */
.news-top-utility {
    background: #f1f5f9;
    border-bottom: 1px solid var(--news-border);
    font-size: 0.78rem;
    color: var(--news-muted);
}

.news-utility-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 1.25rem;
    gap: 1rem;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.utility-sep {
    color: #cbd5e1;
}

.utility-finance {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.fin-item {
    color: var(--news-dark);
}

.fin-up {
    color: #059669;
    font-weight: 700;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.utility-live-link {
    font-weight: 600;
    color: var(--news-dark-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.utility-live-link:hover {
    color: var(--news-primary);
}

.live-tv-pulse {
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-weight: 700;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: liveBlink 1.2s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* ============================================================
   CABECERA PRINCIPAL (LOGOTIPO EDITORIAL)
============================================================ */
.news-main-header {
    background: #ffffff;
    border-bottom: 1px solid var(--news-border);
    padding: 1.5rem 0;
}

.news-header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
}

.header-edition {
    display: flex;
    flex-direction: column;
}

.edition-badge {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--news-primary);
    text-transform: uppercase;
}

.edition-sub {
    font-size: 0.78rem;
    color: var(--news-muted);
    font-style: italic;
    font-family: var(--font-serif);
}

.header-logo-wrap {
    text-align: center;
}

.news-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--news-dark);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--news-muted);
    text-transform: uppercase;
    margin-top: 0.4rem;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

.btn-search-trigger {
    background: transparent;
    border: 1px solid var(--news-border);
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    color: var(--news-dark);
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
}

.btn-search-trigger:hover {
    background: var(--news-surface);
    border-color: #cbd5e1;
}

.btn-news-subscribe {
    background: var(--news-dark);
    color: #ffffff;
    border: none;
    padding: 0.45rem 0.95rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s ease;
}

.btn-news-subscribe:hover {
    background: var(--news-primary);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--news-border);
    padding: 0.45rem 0.75rem;
    border-radius: 4px;
    font-size: 1.1rem;
    color: var(--news-dark);
    cursor: pointer;
}

/* ============================================================
   BARRA DE NAVEGACIÓN
============================================================ */
.news-navbar {
    background: #ffffff;
    border-bottom: 2px solid var(--news-dark);
    position: relative;
    z-index: 100;
}

.news-nav-container {
    display: flex;
    align-items: center;
}

.news-nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    width: 100%;
    flex-wrap: wrap;
}

.nav-item .nav-link {
    display: block;
    padding: 0.75rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--news-dark-soft);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 3px solid transparent;
    transition: all 0.15s ease;
}

.nav-item .nav-link:hover {
    color: var(--news-primary);
    background: #fef2f2;
}

.nav-item.active .nav-link {
    color: var(--news-primary);
    border-bottom-color: var(--news-primary);
}

.nav-item.nav-live .nav-link {
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.live-dot-nav {
    width: 7px;
    height: 7px;
    background: #dc2626;
    border-radius: 50%;
    animation: liveBlink 1.2s infinite;
}

/* ============================================================
   CINTA DE ÚLTIMO MOMENTO (BREAKING NEWS)
============================================================ */
.news-breaking-bar {
    background: #fef2f2;
    border-bottom: 1px solid #fecaca;
    overflow: hidden;
}

.breaking-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.45rem 1.25rem;
}

.breaking-badge {
    background: var(--news-primary);
    color: #ffffff;
    padding: 0.25rem 0.65rem;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.breaking-blink {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    animation: liveBlink 1s infinite;
}

.breaking-slider {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.breaking-track {
    display: inline-block;
    animation: marqueeTicker 35s linear infinite;
}

.breaking-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.breaking-item {
    display: inline-block;
    margin-right: 2.5rem;
    font-size: 0.82rem;
    color: var(--news-dark);
}

.breaking-item:hover {
    color: var(--news-primary);
    text-decoration: underline;
}

.breaking-cat {
    color: var(--news-primary);
    font-weight: 700;
    margin-right: 0.35rem;
}

/* ============================================================
   PORTADA: GRILLA EDITORIAL PRINCIPAL
============================================================ */
.news-frontpage-section {
    padding: 1.75rem 0 2.5rem;
}

.frontpage-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Noticia Principal (Lead Story) */
.lead-story-card {
    background: #ffffff;
    border-bottom: 2px solid var(--news-border);
    padding-bottom: 1.75rem;
    margin-bottom: 2rem;
}

.lead-image-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
    background: #0f172a;
}

.lead-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lead-story-card:hover .lead-image-wrap img {
    transform: scale(1.02);
}

.lead-category-pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--news-primary);
    color: #ffffff;
    padding: 0.25rem 0.65rem;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lead-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--news-dark);
    margin-bottom: 0.75rem;
}

.lead-story-card:hover .lead-title {
    color: var(--news-primary);
}

.lead-excerpt {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 0.85rem;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--news-muted);
}

.meta-author {
    font-weight: 700;
    color: var(--news-dark);
}

/* Grilla secundaria (2 columnas bajo la principal) */
.secondary-stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.news-card-sub {
    display: flex;
    flex-direction: column;
}

.card-sub-img {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 0.75rem;
    background: #1e293b;
}

.card-sub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-sub:hover .card-sub-img img {
    transform: scale(1.03);
}

.card-sub-cat {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--news-primary);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.card-sub-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--news-dark);
    margin-bottom: 0.5rem;
}

.news-card-sub:hover .card-sub-title {
    color: var(--news-primary);
}

.card-sub-excerpt {
    font-family: var(--font-serif);
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    flex: 1;
}

/* ============================================================
   SIDEBAR EDITORIAL
============================================================ */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--news-border);
    border-radius: 6px;
    padding: 1.25rem;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--news-dark);
    padding-bottom: 0.65rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--news-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ranking "Lo Más Leído" */
.popular-ranked-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.rank-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #cbd5e1;
    line-height: 1;
    min-width: 24px;
}

.popular-item:hover .rank-number {
    color: var(--news-primary);
}

.rank-content h4 {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--news-dark);
    margin-bottom: 0.2rem;
}

.popular-item:hover h4 {
    color: var(--news-primary);
}

.rank-cat {
    font-size: 0.7rem;
    color: var(--news-muted);
}

/* Widget TV en Vivo Ilustrativo en Sidebar */
.live-stream-widget {
    background: #0f172a;
    color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
}

.live-widget-screen {
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-screen-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc2626;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.live-screen-clock {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-family: monospace;
    font-size: 0.75rem;
    background: rgba(0,0,0,0.6);
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
}

.live-screen-placeholder {
    text-align: center;
    color: #94a3b8;
}

.btn-play-stream {
    width: 48px;
    height: 48px;
    background: rgba(220, 38, 38, 0.9);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    transition: transform 0.2s ease;
}

.btn-play-stream:hover {
    transform: scale(1.1);
}

.live-widget-body {
    padding: 1rem;
}

.live-widget-show {
    font-size: 0.92rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.live-widget-sub {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

/* Espacio publicitario sidebar */
.ad-box-sidebar {
    text-align: center;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid var(--news-border);
}

.ad-box-sidebar img {
    width: 100%;
    height: auto;
}

/* ============================================================
   BANNER PUBLICITARIO CENTRAL (LEADERBOARD)
============================================================ */
.news-leaderboard-banner {
    padding: 1rem 0;
    background: #ffffff;
    text-align: center;
}

.ad-leaderboard-wrap {
    max-width: 970px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--news-border);
}

/* ============================================================
   SECCIÓN DE CATEGORÍAS EN GRILLA (POLÍTICA, ECONOMÍA, TECH)
============================================================ */
.news-category-section {
    padding: 2rem 0;
    border-top: 1px solid var(--news-border);
}

.section-editorial-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--news-dark);
    padding-bottom: 0.5rem;
}

.section-editorial-header h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--news-dark);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-view-all {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--news-primary);
}

.section-view-all:hover {
    text-decoration: underline;
}

.three-cols-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ============================================================
   MÓDULO DE TRANSMISIÓN ILUSTRATIVO (TV Y RADIO EN VIVO)
============================================================ */
.news-streaming-block {
    background: #090e1a;
    color: #ffffff;
    padding: 3rem 0;
    margin: 2.5rem 0;
}

.streaming-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: center;
}

.tv-player-card {
    background: #111827;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1f2937;
}

.tv-screen-box {
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-badge-live {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #dc2626;
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tv-screen-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.85);
    color: #f8fafc;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.radio-player-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 1.75rem;
}

.radio-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #065f46;
    color: #34d399;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.radio-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin: 1.25rem 0;
}

.eq-bar {
    width: 6px;
    background: #0284c7;
    border-radius: 2px;
    animation: eqBounce 1s infinite alternate ease-in-out;
}

.eq-bar:nth-child(2) { animation-delay: 0.2s; height: 75%; }
.eq-bar:nth-child(3) { animation-delay: 0.4s; height: 40%; }
.eq-bar:nth-child(4) { animation-delay: 0.1s; height: 90%; }
.eq-bar:nth-child(5) { animation-delay: 0.5s; height: 60%; }
.eq-bar:nth-child(6) { animation-delay: 0.3s; height: 85%; }
.eq-bar:nth-child(7) { animation-delay: 0.6s; height: 45%; }
.eq-bar:nth-child(8) { animation-delay: 0.25s; height: 95%; }

@keyframes eqBounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

.radio-player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-radio-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0284c7;
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-radio-toggle:hover {
    background: #0369a1;
}

/* ============================================================
   PÁGINA INDIVIDUAL DE NOTICIA (ARTICLE VIEW)
============================================================ */
.article-page-wrap {
    padding: 2rem 0 3.5rem;
}

.article-header-box {
    max-width: 860px;
    margin: 0 auto 1.75rem;
}

.article-category-label {
    display: inline-block;
    color: var(--news-primary);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.article-main-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--news-dark);
    margin-bottom: 1rem;
}

.article-lead-paragraph {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 1.5rem;
}

.article-author-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--news-border);
    border-bottom: 1px solid var(--news-border);
    font-size: 0.85rem;
}

.author-avatar-dummy {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--news-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-meta-info strong {
    color: var(--news-dark);
    display: block;
}

.author-meta-info span {
    color: var(--news-muted);
}

.article-share-strip {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
}

.btn-share {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: var(--news-surface);
    border: 1px solid var(--news-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--news-dark);
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-share:hover {
    background: var(--news-primary);
    color: #fff;
}

.article-featured-image {
    max-width: 960px;
    margin: 0 auto 1.75rem;
}

.article-featured-image img {
    width: 100%;
    border-radius: 6px;
}

.article-image-caption {
    font-size: 0.78rem;
    color: var(--news-muted);
    font-style: italic;
    margin-top: 0.4rem;
    padding-left: 0.25rem;
}

.article-body-content {
    max-width: 780px;
    margin: 0 auto 3rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1e293b;
}

.article-body-content p {
    margin-bottom: 1.5rem;
}

.article-body-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--news-dark);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.article-body-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.75rem;
    border-left: 4px solid var(--news-primary);
    background: #fef2f2;
    font-style: italic;
    font-size: 1.2rem;
    color: #7f1d1d;
    line-height: 1.6;
}

/* Sección de Comentarios Simulados */
.article-comments-section {
    max-width: 780px;
    margin: 0 auto;
    border-top: 2px solid var(--news-border);
    padding-top: 2rem;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.comment-input-box {
    background: var(--news-surface);
    border: 1px solid var(--news-border);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.comment-textarea {
    width: 100%;
    border: 1px solid var(--news-border);
    border-radius: 4px;
    padding: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    resize: vertical;
    margin-bottom: 0.75rem;
}

.comment-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--news-border);
}

.comment-user-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.comment-text {
    font-size: 0.92rem;
    color: var(--news-text);
    line-height: 1.5;
}

/* ============================================================
   MODAL DE BÚSQUEDA INTERACTIVA
============================================================ */
.news-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 1rem 2rem;
}

.news-search-overlay.active {
    display: flex;
}

.search-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 640px;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--news-border);
}

.btn-close-search {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--news-muted);
}

.search-input-wrap {
    padding: 1rem 1.25rem;
    background: var(--news-surface);
}

.search-input-wrap input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--news-border);
    border-radius: 6px;
    font-family: var(--font-sans);
    outline: none;
}

.search-input-wrap input:focus {
    border-color: var(--news-primary);
}

.search-results-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.search-item-result {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--news-border);
}

.search-item-result a {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--news-dark);
}

.search-item-result a:hover {
    color: var(--news-primary);
}

/* ============================================================
   FRANJA CTA COTIZACIÓN Y FOOTER EDITORIAL
============================================================ */
.news-cta-quote-strip {
    background: #090e1a;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    color: #ffffff;
    padding: 2.75rem 0;
}

.cta-quote-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-quote-text {
    max-width: 680px;
}

.cta-badge {
    display: inline-block;
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.cta-quote-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.cta-quote-text p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.6;
}

.btn-quote-whatsapp {
    background: #25d366;
    color: #ffffff;
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}

.btn-quote-whatsapp:hover {
    background: #1eb956;
}

.cta-secure-note {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.5rem;
    text-align: center;
}

.news-main-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3.5rem 0 2rem;
    font-size: 0.86rem;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #1e293b;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.footer-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-social-links {
    display: flex;
    gap: 0.5rem;
}

.footer-social-links a {
    width: 34px;
    height: 34px;
    background: #1e293b;
    color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.footer-social-links a:hover {
    background: var(--news-primary);
}

.footer-col-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.newsletter-sub {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.newsletter-input-group {
    display: flex;
}

.newsletter-input-group input {
    flex: 1;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 4px 0 0 4px;
    padding: 0.6rem 0.85rem;
    color: #ffffff;
    font-size: 0.82rem;
    outline: none;
}

.btn-nl-submit {
    background: var(--news-primary);
    color: #ffffff;
    border: none;
    padding: 0 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.newsletter-hint {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 0.45rem;
}

.footer-bottom-disclaimer {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.6;
}

.disclaimer-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-credits {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
}

/* ============================================================
   RESPONSIVE DESIGN (TABLETS Y MÓVILES)
============================================================ */
@media (max-width: 1024px) {
    .frontpage-grid {
        grid-template-columns: 1fr;
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
    .streaming-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-header-grid {
        grid-template-columns: 1fr auto;
    }
    .header-edition {
        display: none;
    }
    .brand-title {
        font-size: 2rem;
    }
    .mobile-nav-toggle {
        display: inline-flex;
    }
    .news-navbar {
        display: none;
    }
    .news-navbar.mobile-open {
        display: block;
    }
    .news-nav-list {
        flex-direction: column;
        padding: 0.5rem 0;
    }
    .nav-item .nav-link {
        padding: 0.6rem 1rem;
        border-bottom: 1px solid var(--news-border);
    }
    .secondary-stories-grid,
    .three-cols-grid {
        grid-template-columns: 1fr;
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
    .utility-finance {
        display: none;
    }
    .lead-title {
        font-size: 1.55rem;
    }
    .article-main-title {
        font-size: 1.8rem;
    }
    .cta-quote-flex {
        flex-direction: column;
        text-align: center;
    }
    .footer-credits {
        flex-direction: column;
        text-align: center;
    }
}
