/* ============================================================
   EL DATO PIURA — Estilos principales
   Diseño editorial profesional (estilo Gestión.pe)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --red:        #C8102E;
    --red-dk:     #a10d25;
    --red-lt:     #e0122e;
    --navy:       #1a2236;
    --navy-lt:    #243047;
    --gold:       #e9a800;

    --bg:         #ffffff;
    --bg-white:   #ffffff;
    --bg-light:   #f5f5f5;

    --text:       #1c1c1c;
    --text-md:    #555555;
    --text-lt:    #888888;
    --border:     #e0dbd3;
    --border-lt:  #ece9e3;

    --success: #1a7a4a;
    --error:   #c0392b;
    --info:    #1a6fa0;
    --warning: #c87f00;

    --font-title: 'PT Serif', Georgia, 'Times New Roman', serif;
    --font-body:  'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1220px;
    --sidebar:   300px;
    --radius:    4px;
    --radius-md: 6px;
    --radius-lg: 10px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
    --shadow:    0 3px 12px rgba(0,0,0,.09);
    --shadow-md: 0 6px 20px rgba(0,0,0,.12);

    --t: .2s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:16px; scroll-behavior:smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
}
input, textarea, select, [contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-title);
    line-height: 1.2;
    color: var(--navy);
    font-weight: 700;
}
p { margin-bottom: 1rem; }
a { color: var(--red); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--red-dk); }
img { max-width:100%; height:auto; display:block; }
ul, ol { list-style:none; }
button { cursor:pointer; background:none; border:none; font-family:inherit; }
input, select, textarea { font-family:inherit; border:none; outline:none; }
::selection { background:var(--red); color:#fff; }

/* ── Contenedor ─────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

/* ══════════════════════════════════════════════════════════════
   BARRA HOY — estilo TodayTopic de La República
══════════════════════════════════════════════════════════════ */
.today-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-lt);
    font-family: var(--font-body);
    font-size: .8rem;
}
.today-bar-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    height: 34px;
}
.today-label {
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}
.today-topics {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 8px;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    align-items: center;
    flex: 1;
}
.today-topics::-webkit-scrollbar { display: none; }
.today-topic-item {
    flex-shrink: 0;
    white-space: nowrap;
}
.today-topic-item a {
    display: block;
    padding: 0 12px;
    color: var(--text-md);
    text-decoration: none;
    font-size: .76rem;
    border-right: 1px solid var(--border-lt);
    line-height: 34px;
    transition: color var(--t);
}
.today-topic-item a:hover { color: var(--red); }
@media (max-width: 768px) {
    .today-bar { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   TICKER BREAKING NEWS
══════════════════════════════════════════════════════════════ */
.breaking-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    display: flex;
    height: 36px;
    overflow: hidden;
    position: relative;
    z-index: 200;
}
.breaking-label {
    background: var(--red);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 0 3px 3px 0;
    margin: 5px 0;
}
.breaking-label i { color: #fff; }
.breaking-ticker-wrap { flex:1; overflow:hidden; display:flex; align-items:center; }
.breaking-ticker {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker 60s linear infinite;
}
.breaking-ticker:hover { animation-play-state: paused; }
.ticker-item { font-size:.8rem; padding:0 24px; border-right:1px solid var(--border-lt); }
.ticker-item a { color:var(--text-md); }
.ticker-item a:hover { text-decoration:underline; color:var(--red); }
@keyframes ticker { from { transform:translateX(0) } to { transform:translateX(-50%) } }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.main-header {
    background: var(--bg-white);
    border-bottom: 3px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

/* Barra superior */
.header-top {
    background: var(--navy);
    padding: 5px 0;
    font-size: .75rem;
    color: rgba(255,255,255,.7);
}
.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.header-top-left { display:flex; align-items:center; gap:20px; }
.header-date, .header-weather { display:flex; align-items:center; gap:5px; color:rgba(255,255,255,.65); }
.header-weather i { color:var(--gold); }
.header-top-right { display:flex; align-items:center; gap:16px; }
.header-social { display:flex; gap:10px; }
.header-social a {
    width:22px; height:22px;
    display:flex; align-items:center; justify-content:center;
    color:rgba(255,255,255,.6); font-size:.75rem; border-radius:50%;
    transition: color var(--t);
}
.header-social a:hover { color:#fff; }
.header-auth { display:flex; align-items:center; gap:12px; border-left:1px solid rgba(255,255,255,.15); padding-left:12px; }
.hdr-link { color:rgba(255,255,255,.7); font-size:.75rem; display:flex; align-items:center; gap:4px; }
.hdr-link:hover { color:#fff; }

/* Área de marca — Barra roja estilo La República */
.header-brand { background:var(--red); padding:13px 0; }
.header-brand-inner { display:flex; align-items:center; gap:16px; position:relative; }
.site-logo { text-decoration:none; flex-shrink:0; display:flex; flex-direction:column; align-items:center; text-align:center; }
.logo-text {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 800;
    font-style: italic;
    color: #fff;
    line-height: 1;
    letter-spacing: -.02em;
}
.logo-text span { color: rgba(255,255,255,.88); }
.logo-tagline { font-size:.62rem; color:rgba(255,255,255,.9); text-transform:uppercase; letter-spacing:.1em; margin-top:4px; text-shadow:0 1px 2px rgba(0,0,0,.25); }
.site-logo .logo-img {
    height:56px; width:auto; max-width:280px; object-fit:contain; display:block; margin:0 auto;
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 2px rgba(255,255,255,.9));
}
.header-brand-right { display:flex; align-items:center; gap:12px; margin-left:auto; }

.header-search {
    display: flex;
    align-items: center;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    overflow: hidden;
    transition: border-color var(--t);
}
.header-search:focus-within { border-color:rgba(255,255,255,.7); }
.header-search input {
    background: none; border:none; padding:6px 14px; font-size:.85rem; width:180px;
    color:#fff; -webkit-user-select:text; user-select:text;
}
.header-search input::placeholder { color:rgba(255,255,255,.55); }
.header-search button { padding:6px 12px; color:rgba(255,255,255,.7); transition:color var(--t); }
.header-search button:hover { color:#fff; }

.btn-subscribe {
    background: var(--gold);
    color: var(--navy);
    padding: 7px 16px;
    border-radius: 18px;
    font-size: .82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background var(--t);
    white-space: nowrap;
}
.btn-subscribe:hover { background:#d4920a; color:var(--navy); }
.btn-subscribe i { color:var(--navy); font-size:.78rem; }
.mobile-menu-toggle { display:none; font-size:1.25rem; color:#fff; padding:6px; order:-1; }

/* Navegación — fondo gris claro estilo La República */
.main-nav { background:var(--bg-light); border-top:1px solid var(--border-lt); border-bottom:2px solid var(--border); }
.nav-list {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
}
.nav-list::-webkit-scrollbar { display:none; }
.nav-link {
    display: block;
    padding: 9px 13px;
    font-size: .75rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    transition: all var(--t);
    border-bottom: 3px solid transparent;
}
.nav-link:hover, .nav-link.active {
    color: var(--red);
    border-bottom-color: var(--red);
    background: none;
}

/* ══════════════════════════════════════════════════════════════
   HERO — Split editorial (Gestión.pe style)
   Izquierda: noticia principal + 2 secundarias
   Derecha:   ÚLTIMAS NOTICIAS lista compacta
══════════════════════════════════════════════════════════════ */
.hero-section {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 18px 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 22px;
    align-items: start;
    padding-bottom: 18px;
}

/* Noticia principal — layout periódico: texto izq + imagen der */
.hero-main-card {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 22px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-lt);
    text-decoration: none;
    color: inherit;
}

.hero-main-img-link {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    order: 2;
}
.hero-main-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}
.hero-main-img-wrap img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.hero-main-card:hover .hero-main-img-wrap img { transform:scale(1.025); }

.hero-premium-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--gold);
    color: #1a1a1a;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hero-main-body {
    padding: 4px 0 0;
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-main-cat {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--red);
    border-bottom: 2px solid var(--red);
    padding-bottom: 1px;
    margin-bottom: 9px;
    text-decoration: none;
}
.hero-main-cat:hover { color:var(--red-dk); }

.hero-main-title {
    font-family: var(--font-title);
    font-size: clamp(1.3rem, 2.4vw, 1.95rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 10px;
}
.hero-main-title a { color:inherit; text-decoration:none; }
.hero-main-title a:hover { color:var(--red); }

.hero-main-excerpt {
    font-size: .92rem;
    color: var(--text-md);
    line-height: 1.62;
    margin-bottom: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-main-meta {
    display: flex;
    gap: 16px;
    font-size: .73rem;
    color: var(--text-lt);
    flex-wrap: wrap;
}
.hero-main-meta i { color:var(--red); margin-right:3px; }

/* Sub-featured: 2 artículos debajo del principal */
.hero-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 14px;
}

.hero-sub-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    align-items: start;
    text-decoration: none;
    color: inherit;
    border-top: 1px solid var(--border-lt);
    padding-top: 12px;
}

.hero-sub-img-link {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    flex-shrink: 0;
}
.hero-sub-img-link img {
    width: 90px;
    height: 68px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.hero-sub-card:hover .hero-sub-img-link img { transform:scale(1.05); }

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

.hero-sub-cat {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--red);
    text-decoration: none;
    margin-bottom: 4px;
}
.hero-sub-cat:hover { color:var(--red-dk); }

.hero-sub-title {
    font-family: var(--font-title);
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-sub-title a { color:inherit; text-decoration:none; }
.hero-sub-title a:hover { color:var(--red); }
.hero-sub-meta { font-size:.67rem; color:var(--text-lt); }

/* ÚLTIMAS NOTICIAS (derecha) */
.hero-latest {
    border-left: 1px solid var(--border);
    padding-left: 20px;
}

.latest-header {
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--navy);
    padding-bottom: 9px;
    border-bottom: 3px solid var(--red);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.latest-header i { color:var(--red); }

.latest-list { display:flex; flex-direction:column; }

/* Ítem texto-solo con hora (estilo Gestión.pe) */
.latest-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-lt);
    text-decoration: none;
    color: inherit;
    transition: opacity var(--t);
}
.latest-item:last-child { border-bottom:none; }
.latest-item:hover { opacity:.82; }
/* La lista es texto-solo: el HTML trae miniaturas pero este diseño no las usa */
.latest-item .latest-img-wrap { display:none; }

.latest-time {
    font-size: .64rem;
    font-weight: 800;
    color: var(--red);
    font-family: var(--font-body);
    letter-spacing: .04em;
    line-height: 1;
}

.latest-cat {
    font-size: .59rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-lt);
}

.latest-title {
    font-family: var(--font-title);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 1px;
}
.latest-item:hover .latest-title { color: var(--red); }

.latest-meta { display: none; }

/* ══════════════════════════════════════════════════════════════
   BARRA DE ADS
══════════════════════════════════════════════════════════════ */
.ads-bar { padding: 12px 0 0; }
.adsense-slot {
    background: var(--bg-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    color: var(--text-lt);
    text-align: center;
    gap: 6px;
}
.adsense-slot i { color:var(--text-lt); }
.adsense-home-top { min-height: 80px; margin-bottom: 0; }
.adsense-sidebar  { min-height: 250px; border-radius:var(--radius-md); }

/* ══════════════════════════════════════════════════════════════
   LAYOUT PRINCIPAL: MAIN + SIDEBAR
══════════════════════════════════════════════════════════════ */
.content-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar);
    gap: 28px;
    padding: 24px 0 40px;
    align-items: start;
}

/* Título de sección — estilo La República (NOMBRE | VER MÁS) */
.section-title {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .05em;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--red);
    margin-bottom: 20px;
}
.section-title i { color:var(--red); margin-right:7px; }
.section-title::after { display:none; }
/* "VER MÁS" — separador por border-left (igual a La República) */
.section-pipe { display:none; } /* ya no se usa */
.section-more {
    font-size:.68rem;
    font-weight:700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-left: auto;
    text-decoration: none;
    transition: color var(--t);
    border-left: 2px solid var(--red);
    padding-left: 10px;
    margin-left: 10px;
}
.section-more:hover { color:var(--red-dk); border-left-color:var(--red-dk); }

/* ══════════════════════════════════════════════════════════════
   NEWS GRID — 3 columnas (estilo La República)
══════════════════════════════════════════════════════════════ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-lt);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t), transform var(--t);
    display: flex;
    flex-direction: column;
}
.news-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }

.news-card-image {
    display: block;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.news-card-image img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.news-card:hover .news-card-image img { transform:scale(1.04); }

.news-card-category {
    position: absolute;
    top: 8px; left: 8px;
    background: var(--red);
    color: #fff;
    font-size: .6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 2px 8px;
    border-radius: 2px;
    z-index: 2;
}

.news-card-body {
    padding: 13px 15px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card-title {
    font-family: var(--font-title);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.news-card-title a { color:inherit; }
.news-card-title a:hover { color:var(--red); }

.news-card-excerpt {
    font-size: .8rem;
    color: var(--text-md);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .7rem;
    color: var(--text-lt);
    border-top: 1px solid var(--border-lt);
    padding-top: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}
.news-card-meta i { color:var(--red); margin-right:2px; }
.news-card-views { margin-left:auto; }

/* Lista de noticias (categoría, búsqueda, tags) */
.news-list { display:flex; flex-direction:column; gap:12px; }
.news-list-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-lt);
    transition: box-shadow var(--t);
}
.news-list-item:hover { box-shadow:var(--shadow-sm); }
.news-list-img { width:100%; height:84px; object-fit:cover; }
.news-list-body { padding:10px 14px 10px 0; display:flex; flex-direction:column; justify-content:center; }
.news-list-cat { font-size:.62rem; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--red); display:block; margin-bottom:3px; }
.news-list-title { font-family:var(--font-title); font-size:.88rem; font-weight:700; line-height:1.3; color:var(--navy); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-list-title a { color:inherit; }
.news-list-title a:hover { color:var(--red); }
.news-list-meta { font-size:.68rem; color:var(--text-lt); margin-top:5px; }

/* ══════════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════════ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 110px;
}

.widget {
    background: var(--bg-white);
    border: 1px solid var(--border-lt);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.widget-title {
    background: var(--navy);
    color: #fff;
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.widget-title i { color:var(--gold); font-size:.75rem; }
.widget-body { padding:12px 14px; }

/* Widget: Más leídas */
.popular-list { display:flex; flex-direction:column; }
.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-lt);
    transition: background var(--t);
}
.popular-item:last-child { border-bottom:none; }
.popular-item:hover { background:var(--bg-light); }
.popular-num {
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: var(--red);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.popular-item:nth-child(1) .popular-num { background:var(--gold); color:var(--navy); }
.popular-item:nth-child(2) .popular-num { background:#9aa5b4; }
.popular-item:nth-child(3) .popular-num { background:#c57d3a; }
.popular-title { font-family:var(--font-title); font-size:.83rem; font-weight:600; line-height:1.3; color:var(--navy); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.popular-title a { color:inherit; }
.popular-title a:hover { color:var(--red); }
.popular-title .fa-crown { color:var(--gold); font-size:.65rem; margin-left:3px; }

/* Widget: Suscripción CTA */
.widget-sub-cta { border:2px solid var(--red); }
.widget-sub-cta .widget-title { background:var(--red); }
.widget-sub-body { padding:14px; }
.widget-sub-body p { font-size:.82rem; color:var(--text-md); margin-bottom:10px; }
.sub-benefits { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
.sub-benefits li { display:flex; align-items:center; gap:7px; font-size:.8rem; color:var(--text); }
.sub-benefits li i { color:var(--red); font-size:.7rem; }
.sub-price {
    font-size:.85rem;
    color: var(--text-md);
    margin-bottom: 12px;
    padding: 8px 10px;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-align: center;
}
.sub-price strong { color:var(--red); font-size:1.2rem; font-family:var(--font-title); }
.sub-price span { font-size:.75rem; color:var(--text-lt); }
.btn-sub-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px;
    background: var(--red);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .85rem;
    transition: background var(--t);
    text-decoration: none;
}
.btn-sub-cta:hover { background:var(--red-dk); color:#fff; }
.btn-sub-cta i { color:var(--gold); }

/* Widget social */
.widget-social { display:flex; flex-direction:column; gap:7px; padding:12px 14px; }
.social-btn {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 12px; border-radius: var(--radius);
    font-size: .8rem; font-weight: 700; color: #fff;
    transition: opacity var(--t);
}
.social-btn:hover { opacity:.88; color:#fff; }
.social-facebook { background:#1877f2; }
.social-instagram { background:linear-gradient(45deg,#405de6,#5851db,#833ab4,#c13584,#e1306c,#fd1d1d); }
.social-twitter   { background:#000; }
.social-youtube   { background:#ff0000; }

/* ══════════════════════════════════════════════════════════════
   PAGINACIÓN
══════════════════════════════════════════════════════════════ */
.pagination { display:flex; justify-content:center; align-items:center; gap:5px; margin-top:24px; }
.page-link {
    width:34px; height:34px;
    display:flex; align-items:center; justify-content:center;
    border:1.5px solid var(--border);
    border-radius:var(--radius);
    font-size:.83rem; font-weight:600;
    color:var(--text-md);
    background:var(--bg-white);
    transition:all var(--t);
}
.page-link:hover, .page-link.active { background:var(--red); border-color:var(--red); color:#fff; }

/* ══════════════════════════════════════════════════════════════
   BOTONES GENERALES
══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: .55rem 1.2rem;
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--t);
    white-space: nowrap;
    line-height: 1.4;
}
.btn:hover { transform:translateY(-1px); box-shadow:var(--shadow); }
.btn-primary { background:var(--red); color:#fff; border-color:var(--red); }
.btn-primary:hover { background:var(--red-dk); color:#fff; }
.btn-outline { background:transparent; color:var(--red); border-color:var(--red); }
.btn-outline:hover { background:var(--red); color:#fff; }
.btn-dark { background:var(--navy); color:#fff; }
.btn-dark:hover { background:#111; color:#fff; }
.btn-sm { padding:.3rem .8rem; font-size:.78rem; }
.btn-lg { padding:.8rem 1.8rem; font-size:.95rem; }
.btn-block { display:flex; width:100%; }

/* ══════════════════════════════════════════════════════════════
   ALERTAS
══════════════════════════════════════════════════════════════ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    font-size: .88rem;
    font-weight: 500;
}
.alert-success { background:#e8f5ee; color:#1a5c38; border-left:4px solid var(--success); }
.alert-error   { background:#fde8e7; color:#8b1a14; border-left:4px solid var(--error); }
.alert-info    { background:#e7f1fa; color:#0c4a72; border-left:4px solid var(--info); }
.alert-warning { background:#fef8e7; color:#7a5000; border-left:4px solid var(--warning); }

/* ══════════════════════════════════════════════════════════════
   NOTICIA INDIVIDUAL
══════════════════════════════════════════════════════════════ */
.article-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar);
    gap: 28px;
    padding: 24px 0 40px;
    align-items: start;
}

.news-single, .article-container {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-lt);
    overflow: hidden;
}

/* Breadcrumb */
.breadcrumb {
    display: flex; align-items:center; gap:6px; flex-wrap:wrap;
    font-size:.76rem; color:var(--text-lt);
    padding:12px 20px 0;
}
.breadcrumb a { color:var(--red); }
.breadcrumb span { color:var(--text-lt); }

/* Cabecera del artículo */
.news-header { padding:20px 20px 0; }
.news-category-label {
    display: inline-flex; align-items:center;
    font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em;
    color: var(--red); border-bottom:2px solid var(--red); padding-bottom:2px;
    margin-bottom:12px;
}
.news-title {
    font-family: var(--font-title);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom:12px;
}
.news-excerpt {
    font-size:1rem; color:var(--text-md); line-height:1.6;
    font-style:italic; border-left:4px solid var(--red);
    padding-left:14px; margin-bottom:14px;
}
.news-meta {
    display:flex; flex-wrap:wrap; gap:14px;
    font-size:.75rem; color:var(--text-md);
    padding:12px 0; margin-bottom:0;
    border-top:1px solid var(--border-lt);
    border-bottom:1px solid var(--border-lt);
}
.news-meta i { color:var(--red); margin-right:3px; }
.news-author { font-weight:600; color:var(--navy); }

/* Imagen destacada */
.news-featured-image img { width:100%; max-height:460px; object-fit:cover; }

/* Botones de compartir */
.share-buttons {
    display:flex; align-items:center; gap:8px; flex-wrap:wrap;
    padding:10px 20px; background:var(--bg-light);
    border-bottom:1px solid var(--border-lt);
}
.share-buttons span { font-size:.7rem; font-weight:800; color:var(--text-lt); text-transform:uppercase; letter-spacing:.07em; }
.share-btn {
    display:inline-flex; align-items:center; gap:5px;
    padding:5px 12px; border-radius:16px;
    font-size:.75rem; font-weight:700; color:#fff;
    transition:opacity var(--t);
}
.share-btn:hover { opacity:.85; color:#fff; }
.share-facebook, .share-fb { background:#1877f2; }
.share-twitter,  .share-tw { background:#000; }
.share-whatsapp, .share-wa { background:#25d366; }
.share-email     { background:#607d8b; }

/* Cuerpo del artículo */
.news-content {
    padding:20px;
    font-size:1rem; line-height:1.82; color:var(--text);
    -webkit-user-select:none; user-select:none;
}
.news-content p { margin-bottom:1.35em; }
.news-content h2, .news-content h3 { margin:1.8em 0 .7em; color:var(--navy); }
.news-content blockquote {
    border-left:4px solid var(--red); padding:10px 18px;
    margin:1.5em 0; background:var(--bg-light);
    font-style:italic; color:var(--text-md);
    border-radius:0 var(--radius) var(--radius) 0;
}
.news-content img { border-radius:var(--radius-md); margin:1em 0; }
.news-content a { color:var(--red); text-decoration:underline; text-underline-offset:2px; }
.news-content ul, .news-content ol { list-style:disc; padding-left:1.5em; margin-bottom:1.35em; }
.news-content ol { list-style:decimal; }
.news-content li { margin-bottom:.4em; }

/* Paywall */
.paywall-preview { position:relative; max-height:280px; overflow:hidden; }
.paywall-fade { position:absolute; bottom:0; left:0; right:0; height:150px; background:linear-gradient(transparent, #fff); pointer-events:none; }
.paywall {
    background:linear-gradient(135deg, var(--navy), #0d1b3e);
    border-radius:var(--radius-md);
    padding:28px 24px; text-align:center; color:#fff;
    margin:0 20px 20px;
}
.paywall .paywall-icon { font-size:2.5rem; color:var(--gold); margin-bottom:12px; }
.paywall h3 { color:#fff; font-size:1.3rem; margin-bottom:8px; }
.paywall p { color:rgba(255,255,255,.8); font-size:.88rem; }
.paywall .paywall-price { font-size:.9rem; color:rgba(255,255,255,.65); margin:10px 0 8px; }
.paywall .paywall-price strong { color:var(--gold); font-size:1.15rem; }
.paywall .paywall-benefits { text-align:left; display:inline-block; margin:8px 0 18px; }
.paywall .paywall-benefits li { padding:4px 0; color:rgba(255,255,255,.8); display:flex; align-items:center; gap:8px; font-size:.85rem; }
.paywall .paywall-benefits i { color:var(--gold); }
.paywall .paywall-login { font-size:.8rem; color:rgba(255,255,255,.5); margin-top:12px; }
.paywall .paywall-login a { color:var(--gold); }

/* Tags */
.news-tags {
    display:flex; flex-wrap:wrap; gap:7px; align-items:center;
    padding:12px 20px; border-top:1px solid var(--border-lt);
    font-size:.75rem; color:var(--text-lt);
}
.tag, .tag-pill {
    display:inline-block; background:var(--bg-light); border:1px solid var(--border);
    color:var(--text-md); font-size:.73rem; padding:3px 11px; border-radius:16px; transition:all var(--t);
}
.tag:hover, .tag-pill:hover { background:var(--red); border-color:var(--red); color:#fff; }

/* Noticias relacionadas */
.related-news { padding:20px; border-top:2px solid var(--border-lt); }
.related-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.related-grid .news-card-image img { height:130px; }
.share-bottom { border-top:2px solid var(--border-lt); border-bottom:none; }

/* Comentarios */
.comments-section { padding:20px; border-top:2px solid var(--border-lt); }
.comment-form-wrap { background:var(--bg-light); border-radius:var(--radius-md); padding:18px; margin-bottom:20px; border:1px solid var(--border-lt); }
.comment-form-wrap textarea {
    -webkit-user-select:text; user-select:text;
    width:100%; padding:10px 14px; border:1.5px solid var(--border);
    border-radius:var(--radius-md); font-size:.88rem; font-family:var(--font-body);
    resize:vertical; min-height:90px; color:var(--text); background:var(--bg-white);
    transition:border-color var(--t);
}
.comment-form-wrap textarea:focus { border-color:var(--red); outline:none; }
.comments-list { display:flex; flex-direction:column; gap:12px; margin-top:16px; }
.comment-item { display:flex; gap:10px; padding:12px; background:var(--bg-light); border-radius:var(--radius-md); }
.comment-avatar { flex-shrink:0; width:36px; height:36px; background:var(--red); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.82rem; }
.comment-author { font-weight:700; font-size:.82rem; color:var(--navy); }
.comment-date   { font-size:.7rem; color:var(--text-lt); margin-left:7px; }
.comment-text   { font-size:.85rem; color:var(--text); margin-top:4px; line-height:1.5; }

.login-to-comment { background:var(--bg-light); border-radius:var(--radius-md); padding:18px; margin-bottom:20px; text-align:center; border:1px solid var(--border-lt); }
.login-to-comment p { font-size:.88rem; color:var(--text-md); margin:0; }
.login-to-comment a { color:var(--red); font-weight:700; }

/* ══════════════════════════════════════════════════════════════
   CATEGORÍA / BÚSQUEDA / TAGS — cabecera
══════════════════════════════════════════════════════════════ */
.category-header {
    background: linear-gradient(135deg, var(--navy) 0%, #243047 100%);
    padding: 22px 24px;
}
.category-title { font-size:clamp(1.3rem,3vw,1.8rem); color:#fff; font-weight:800; margin-bottom:4px; }
.category-description { color:rgba(255,255,255,.65); font-size:.9rem; }

/* ══════════════════════════════════════════════════════════════
   PLANES DE SUSCRIPCIÓN
══════════════════════════════════════════════════════════════ */
.plans-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px; margin:24px 0; }
.plan-card {
    background:var(--bg-white); border:2px solid var(--border); border-radius:var(--radius-lg);
    padding:24px; text-align:center; transition:all var(--t); position:relative;
}
.plan-card:hover { border-color:var(--red); box-shadow:var(--shadow-md); transform:translateY(-4px); }
.plan-card.featured { border-color:var(--red); background:linear-gradient(135deg, var(--navy), #0d1b3e); color:#fff; }
.plan-card.featured h3 { color:#fff; }
.plan-featured-badge {
    position:absolute; top:-12px; left:50%; transform:translateX(-50%);
    background:var(--gold); color:var(--navy);
    font-size:.65rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em;
    padding:3px 14px; border-radius:16px;
}
.plan-price { font-size:2.4rem; font-weight:800; color:var(--red); line-height:1; margin:12px 0 4px; }
.plan-card.featured .plan-price { color:var(--gold); }
.plan-price sup { font-size:.9rem; vertical-align:super; }
.plan-price-period { font-size:.78rem; color:var(--text-lt); }
.plan-card.featured .plan-price-period { color:rgba(255,255,255,.55); }
.plan-features { display:flex; flex-direction:column; gap:9px; margin:16px 0; text-align:left; }
.plan-features li { display:flex; align-items:center; gap:8px; font-size:.85rem; }
.plan-features li i { color:var(--red); }
.plan-card.featured .plan-features li { color:rgba(255,255,255,.85); }
.plan-card.featured .plan-features li i { color:var(--gold); }

/* Testimonios */
.testimonials-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.testimonial-card { background:var(--bg-white); border:1px solid var(--border-lt); border-radius:var(--radius-lg); padding:20px; position:relative; }
.testimonial-card::before { content:'"'; position:absolute; top:8px; left:16px; font-size:3.5rem; font-family:Georgia; color:var(--red); opacity:.12; line-height:1; }
.testimonial-stars { color:var(--gold); margin-bottom:8px; font-size:.82rem; }
.testimonial-text { font-size:.88rem; line-height:1.6; color:var(--text-md); font-style:italic; margin-bottom:14px; }
.testimonial-author { display:flex; align-items:center; gap:9px; }
.testimonial-avatar { width:38px; height:38px; border-radius:50%; background:var(--red); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.82rem; }
.testimonial-name { font-weight:700; font-size:.82rem; color:var(--navy); }
.testimonial-role { font-size:.72rem; color:var(--text-lt); }

/* ══════════════════════════════════════════════════════════════
   FORMULARIOS
══════════════════════════════════════════════════════════════ */
.form-group { margin-bottom:16px; }
.form-label { display:block; font-size:.83rem; font-weight:700; color:var(--text); margin-bottom:5px; }
.form-control {
    width:100%; padding:9px 12px;
    border:1.5px solid var(--border);
    border-radius:var(--radius); font-size:.88rem; color:var(--text);
    background:var(--bg-white); transition:border-color var(--t);
    -webkit-user-select:text; user-select:text;
}
.form-control:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(181,18,27,.1); outline:none; }
.form-text  { font-size:.75rem; color:var(--text-lt); margin-top:4px; }
.form-error { font-size:.75rem; color:var(--error); margin-top:4px; }

/* ══════════════════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════════════════ */
.badge { display:inline-block; padding:2px 9px; border-radius:10px; font-size:.68rem; font-weight:700; }
.badge-success { background:#e8f5ee; color:var(--success); }
.badge-danger  { background:#fde8e7; color:var(--error); }
.badge-warning { background:#fef8e7; color:var(--warning); }
.badge-info    { background:#e7f1fa; color:var(--info); }
.badge-secondary { background:#f0f0f0; color:#666; }
.admin-badge { background:var(--red); color:#fff; padding:2px 8px; border-radius:3px; font-size:.68rem; font-weight:700; }

.premium-badge {
    position: absolute;
    top: 8px; right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gold);
    color: #1a1a1a;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    z-index: 3;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.main-footer { margin-top:48px; }
.footer-upper { background:var(--navy); padding:40px 0 30px; }
.footer-grid { display:grid; grid-template-columns:1.8fr 1fr 1fr 1.3fr; gap:28px; }
.footer-logo { font-family:var(--font-title); font-size:1.6rem; font-weight:800; color:#fff; margin-bottom:12px; line-height:1; }
.footer-logo span { color:var(--red); }
.footer-about p { font-size:.82rem; color:rgba(255,255,255,.55); line-height:1.6; }
.footer-social { display:flex; gap:9px; margin-top:14px; }
.footer-social a {
    width:32px; height:32px; background:rgba(255,255,255,.1);
    color:rgba(255,255,255,.65); border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:.78rem;
    transition:all var(--t);
}
.footer-social a:hover { background:var(--red); color:#fff; }
.footer-col h4 {
    font-family:var(--font-body); font-size:.7rem; font-weight:800;
    text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.45);
    margin-bottom:14px; padding-bottom:8px; border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-col ul { display:flex; flex-direction:column; gap:8px; }
.footer-col ul li a { font-size:.82rem; color:rgba(255,255,255,.6); display:flex; align-items:center; gap:5px; transition:color var(--t); }
.footer-col ul li a:hover { color:#fff; }
.footer-col ul li a i { color:var(--red); font-size:.72rem; }
.footer-benefits { display:flex; flex-direction:column; gap:6px; margin:10px 0; }
.footer-benefits li { display:flex; align-items:center; gap:7px; font-size:.8rem; color:rgba(255,255,255,.6); }
.footer-benefits li i { color:var(--gold); font-size:.68rem; }
.footer-newsletter p { font-size:.82rem; color:rgba(255,255,255,.6); }
.btn-subscribe-footer {
    display:inline-flex; align-items:center; gap:6px;
    background:var(--gold); color:var(--navy);
    padding:9px 18px; border-radius:var(--radius); font-weight:700; font-size:.83rem; margin-top:12px;
    transition:background var(--t);
}
.btn-subscribe-footer:hover { background:#d4920a; color:var(--navy); }
.footer-bottom { background:#0a0e1a; padding:12px 0; }
.footer-bottom .container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.footer-bottom p { font-size:.72rem; color:rgba(255,255,255,.38); }
.footer-bottom a { color:rgba(255,255,255,.55); }
.footer-bottom a:hover { color:#fff; }

/* ══════════════════════════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════════════════════════ */
.scroll-top-btn {
    position:fixed; bottom:22px; right:22px;
    width:40px; height:40px; background:var(--red); color:#fff;
    border-radius:50%; font-size:.85rem;
    display:flex; align-items:center; justify-content:center;
    opacity:0; visibility:hidden; transition:all var(--t);
    box-shadow:var(--shadow-md); z-index:999;
}
.scroll-top-btn.visible { opacity:1; visibility:visible; }
.scroll-top-btn:hover { background:var(--red-dk); transform:translateY(-3px); }

/* ══════════════════════════════════════════════════════════════
   EMPTY STATE / UTILITIES
══════════════════════════════════════════════════════════════ */
.empty-state { text-align:center; padding:48px 24px; color:var(--text-lt); }
.empty-state i { font-size:2.5rem; color:var(--border); margin-bottom:14px; display:block; }
.empty-state p { font-size:.92rem; margin-bottom:14px; }

.text-primary { color:var(--red) !important; }
.text-muted   { color:var(--text-md) !important; }
.text-center  { text-align:center; }
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.d-flex{display:flex}.align-center{align-items:center}.gap-1{gap:.5rem}.gap-2{gap:1rem}.w-100{width:100%}
.news-card-date { font-size:.7rem; color:var(--text-lt); display:flex; align-items:center; gap:3px; }
.news-card-date i { color:var(--red); }
.widget-list { display:flex; flex-direction:column; }
.widget-list-item { display:flex; align-items:flex-start; gap:9px; padding:10px 14px; border-bottom:1px solid var(--border-lt); }
.widget-list-item:last-child { border-bottom:none; }
.widget-list-number { flex-shrink:0; width:22px; height:22px; background:var(--red); color:#fff; font-size:.68rem; font-weight:800; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.widget-list a { font-family:var(--font-title); font-size:.83rem; color:var(--navy); line-height:1.3; }
.widget-list a:hover { color:var(--red); }
.widget-benefits { display:flex; flex-direction:column; gap:6px; margin:10px 0; }
.widget-benefits li { display:flex; align-items:center; gap:7px; font-size:.8rem; }
.widget-benefits li i { font-size:.7rem; }
.widget-price { font-size:.85rem; margin-top:4px; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width:1100px) {
    :root { --sidebar:260px; }
    .hero-grid { grid-template-columns: 1fr 270px; }
    .hero-main-card { grid-template-columns: 1fr 320px; }
    .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-main-card { grid-template-columns: 1fr; }
    .hero-main-img-link { order: 0; }
    .hero-main-body { order: 0; }
    .hero-latest {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 16px;
    }
    .latest-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .news-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
    :root { --sidebar:100%; }
    .header-top { display:none; }
    .header-search { display:none; }
    .mobile-menu-toggle { display:block; }
    .main-nav {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        border-bottom: none;
    }
    .main-nav.open {
        max-height: 600px;
        border-bottom: 2px solid var(--border);
    }
    .nav-list { flex-direction:column; overflow-x:hidden; }
    .container { padding-inline: 16px; }
    .nav-link { border-bottom:1px solid var(--border-lt); color:#333; }
    .content-layout, .article-layout { grid-template-columns:1fr; }
    .sidebar { position:static; }
    /* Logo: vuelve a flujo normal en móvil */
    .site-logo { position:static; transform:none; }
    .hero-main-img-wrap img { height:240px; }
    .hero-sub-grid { grid-template-columns:1fr; }
    .hero-sub-card { grid-template-columns:80px 1fr; }
    .latest-list { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; gap:20px; }
    .related-grid { grid-template-columns:1fr; }
    .plans-grid { grid-template-columns:1fr; }
    .footer-bottom .container { flex-direction:column; text-align:center; gap:6px; }
}
@media (max-width:540px) {
    .news-grid { grid-template-columns:1fr; }
    .hero-main-img-wrap img { height:210px; }
    .plans-grid { grid-template-columns:1fr; }
    .testimonials-grid { grid-template-columns:1fr; }
    .container { padding-inline:14px; }
}

/* ══════════════════════════════════════════════════════════════
   SECCIONES TEMÁTICAS (bloques por categoría en home)
══════════════════════════════════════════════════════════════ */
.cat-sections { background: var(--bg); }

.cat-section {
    border-top: 1px solid var(--border);
    padding: 24px 0 28px;
}
.cat-section:first-child { border-top: none; }

.cat-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--red);
    margin-bottom: 18px;
}

.cat-section-title {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .05em;
    display: flex;
    align-items: center;
    gap: 7px;
}
/* .cat-section-title i — íconos eliminados para seguir estilo La República */
/* Sin pipe — usar border-left en el enlace VER MÁS, igual a La República */
.cat-section-title::after { display:none; }

.cat-section-more {
    font-size: .68rem;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    transition: color var(--t);
    text-transform: uppercase;
    letter-spacing: .07em;
    border-left: 2px solid var(--red);
    padding-left: 10px;
    margin-left: 10px;
}
.cat-section-more:hover { color: var(--red-dk); border-left-color:var(--red-dk); }

/* PLUS: override colores */
.cat-section.is-plus .cat-section-more { color:var(--gold); border-left-color:var(--gold); }
.cat-section.is-plus .cat-section-header { border-bottom-color: var(--gold); }

/* Grid 4 columnas para secciones temáticas */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Card compacta para secciones */
.cat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-lt);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--t), transform var(--t);
    display: flex;
    flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.cat-card-img {
    display: block;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.cat-card-img img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.cat-card:hover .cat-card-img img { transform: scale(1.05); }

.cat-card-label {
    position: absolute;
    top: 8px; left: 8px;
    background: var(--red);
    color: #fff;
    font-size: .58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 2px 7px;
    border-radius: 2px;
    z-index: 2;
}

.cat-card-body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cat-card-title {
    font-family: var(--font-title);
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: 6px;
}
.cat-card-title a { color: inherit; text-decoration: none; }
.cat-card-title a:hover { color: var(--red); }
.cat-card-meta {
    font-size: .67rem;
    color: var(--text-lt);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}
.cat-card-meta i { color: var(--red); margin-right: 2px; }

/* Bloque PLUS especial (fondo diferenciado) */
.cat-section.is-plus {
    background: linear-gradient(180deg, #fdf8f0 0%, var(--bg) 100%);
    border-top: 3px solid var(--gold);
}
.cat-section.is-plus .cat-section-header {
    border-bottom-color: var(--gold);
}
.cat-section.is-plus .cat-section-title { color: #7a5500; }
.cat-section.is-plus .cat-section-title i { color: var(--gold); }
.cat-section.is-plus .cat-section-more { color: var(--gold); }

@media (max-width:1100px) { .cat-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px)  { .cat-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px)  { .cat-grid { grid-template-columns:1fr; } }

/* ══════════════════════════════════════════════════════════════
   GOOGLE ADSENSE — Publicidad
══════════════════════════════════════════════════════════════ */

/* Barra superior (sobre el header) */
.adsense-top-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-lt);
    text-align: center;
    padding: 6px 20px;
    overflow: hidden;
}

/* Wrapper genérico de publicidad (entre secciones) */
.publicidad-wrapper {
    text-align: center;
    padding: 14px 0;
    margin: 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-lt);
    border-bottom: 1px solid var(--border-lt);
}
.publicidad-wrapper + .publicidad-wrapper { border-top: none; }

/* Etiqueta "PUBLICIDAD" */
.ad-label {
    font-family: var(--font-body);
    font-size: .56rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin-bottom: 5px;
    display: block;
}

/* Placeholder (cuando AdSense no está configurado) */
.ad-placeholder-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #f5f5f5;
    border: 1.5px dashed #ccc;
    border-radius: var(--radius-md);
    color: #aaa;
    font-size: .75rem;
    font-family: var(--font-body);
    padding: 18px 30px;
    min-height: 90px;
    box-sizing: border-box;
}
.ad-placeholder-box i { color: #ccc; font-size: 1.4rem; }

/* Asegurar que ins de AdSense no colapsa */
.adsbygoogle { display: block; }

/* Slot sidebar (300×250) */
.adsense-slot-sidebar {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   PRINT — Bloquear impresión
══════════════════════════════════════════════════════════════ */
@media print { body { display:none !important; } }

/* ══════════════════════════════════════════════════════════════
   PROTECCIÓN ANTICOPIA — CSS
   Complementa la protección JavaScript de main.js
══════════════════════════════════════════════════════════════ */

/* 1. Desactivar selección de texto a nivel CSS */
body {
    -webkit-user-select: none;
    -moz-user-select:    none;
    -ms-user-select:     none;
    user-select:         none;
    -webkit-touch-callout: none; /* iOS: evita menú largo en imágenes */
}
/* Permitir selección solo en inputs, textareas y contenido editable */
input, textarea, select, [contenteditable] {
    -webkit-user-select: text;
    -moz-user-select:    text;
    user-select:         text;
}

/* 2. Evitar arrastrar imágenes para guardarlas */
img {
    -webkit-user-drag: none;
    -khtml-user-drag:  none;
    -moz-user-drag:    none;
    -o-user-drag:      none;
    user-drag:         none;
}

/* 2b. Blindaje reforzado del cuerpo de la noticia (escritorio y móvil) */
.news-content,
.news-content *,
.paywall-preview,
.paywall-preview * {
    -webkit-user-select: none !important;
    -moz-user-select:    none !important;
    -ms-user-select:     none !important;
    user-select:         none !important;
    -webkit-touch-callout: none !important; /* iOS: sin menú de pulsación larga */
}
/* Las imágenes del artículo no responden a pulsación larga ni arrastre */
.news-content img,
.paywall-preview img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}
/* Los enlaces dentro del artículo sí deben seguir funcionando */
.news-content a { pointer-events: auto; }

/* 3. Marca de agua permanente — siempre presente en cualquier captura.
   Densa y ligeramente visible: en pantalla casi no molesta, pero en un
   screenshot (sobre todo en móvil) queda claro el "© El Dato Piura". */
body::after {
    content:         '';
    position:        fixed;
    inset:           0;
    pointer-events:  none;
    user-select:     none;
    z-index:         99997;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='170'%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' transform='rotate(-30 150 85)' font-size='15' font-weight='700' fill='rgba(26%2C26%2C46%2C0.075)' font-family='Georgia%2Cserif' letter-spacing='3'%3E%C2%A9 El Dato Piura%3C%2Ftext%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* 3b. Capa INTENSA — se activa por JS al detectar una posible captura.
   Marca de agua más grande, densa y oscura con leyenda de reproducción. */
#wm-guard {
    position:        fixed;
    inset:           0;
    pointer-events:  none;
    user-select:     none;
    z-index:         99998;
    opacity:         0;
    transition:      opacity .12s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='200'%3E%3Ctext x='50%25' y='38%25' dominant-baseline='middle' text-anchor='middle' transform='rotate(-30 170 76)' font-size='19' font-weight='800' fill='rgba(20%2C20%2C36%2C0.34)' font-family='Georgia%2Cserif' letter-spacing='2'%3E%C2%A9 El Dato Piura%3C%2Ftext%3E%3Ctext x='50%25' y='78%25' dominant-baseline='middle' text-anchor='middle' transform='rotate(-30 170 156)' font-size='11' font-weight='700' fill='rgba(181%2C18%2C27%2C0.32)' font-family='Georgia%2Cserif' letter-spacing='4'%3EPROHIBIDA SU REPRODUCCI%C3%93N%3C%2Ftext%3E%3C/svg%3E");
    background-repeat: repeat;
}
#wm-guard.active { opacity: 1; }
@media print { #wm-guard { opacity: 1 !important; } }

/* ══════════════════════════════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
══════════════════════════════════════════════════════════════ */
.whatsapp-float {
    position:        fixed;
    bottom:          88px;      /* sobre el scroll-to-top */
    right:           20px;
    z-index:         9990;
    display:         flex;
    align-items:     center;
    gap:             10px;
    background:      #25D366;
    color:           #fff;
    border-radius:   50px;
    padding:         13px 15px;
    box-shadow:      0 4px 22px rgba(37,211,102,.45);
    text-decoration: none;
    font-family:     var(--font-body);
    font-weight:     600;
    font-size:       .85rem;
    transition:      background .25s, box-shadow .25s, padding .25s, max-width .3s;
    max-width:       52px;      /* colapsado: solo icono */
    overflow:        hidden;
    white-space:     nowrap;
}
.whatsapp-float i {
    font-size:  1.55rem;
    flex-shrink: 0;
    line-height: 1;
}
.whatsapp-float-label {
    opacity:    0;
    max-width:  0;
    overflow:   hidden;
    transition: opacity .25s, max-width .3s;
    font-size:  .82rem;
    line-height: 1.2;
}

/* Expandir al hacer hover */
.whatsapp-float:hover {
    max-width:   280px;
    padding:     13px 22px 13px 18px;
    background:  #1ebe5d;
    box-shadow:  0 6px 30px rgba(37,211,102,.6);
}
.whatsapp-float:hover .whatsapp-float-label {
    opacity:   1;
    max-width: 200px;
}

/* Animación de pulso verde */
.whatsapp-float::before {
    content:       '';
    position:      absolute;
    inset:         0;
    border-radius: 50px;
    background:    #25D366;
    animation:     waPulse 2.2s ease-out infinite;
    z-index:       -1;
}
@keyframes waPulse {
    0%   { transform: scale(1);   opacity: .55; }
    100% { transform: scale(1.65); opacity: 0;  }
}

/* Móvil: siempre colapsado (solo icono circular) */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom:       16px;
        right:        16px;
        border-radius: 50%;
        padding:      14px;
        max-width:    52px;
    }
    .whatsapp-float:hover {
        max-width:   52px;
        padding:     14px;
    }
    .whatsapp-float:hover .whatsapp-float-label { display: none; }
}

/* ── Últimas Noticias — página pública ──────────────────────── */
.latest-news-page { padding: 24px 0 40px; }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--red);
}
.section-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title i { color: var(--red); }
.section-subtitle { color: var(--text-lt); font-size: 0.9rem; margin: 4px 0 0; }

/* Filtro rápido de categorías */
.latest-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.latest-filter-label { font-size: 0.8rem; color: var(--text-lt); }
.latest-filter-btn {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    background: var(--bg-light);
    color: var(--text-md);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.latest-filter-btn:hover,
.latest-filter-btn.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* News grid ampliado (3 columnas) */
.news-grid-latest {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .news-grid-latest { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid-latest { grid-template-columns: 1fr; } }

/* Quick-links sidebar widget */
.quick-links { list-style: none; padding: 0; margin: 0; }
.quick-links li + li { border-top: 1px solid var(--border-lt); }
.quick-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.quick-links li a:hover { color: var(--red); }
.quick-links li a i { width: 16px; color: var(--red); }
}

/* ══════════════════════════════════════════════════════════════
   VIDEO DESTACADO (portada)
══════════════════════════════════════════════════════════════ */
.video-section {
    background: #111827;
    padding: 28px 0;
    margin: 0;
}
.video-section-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: start;
}
.video-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--red);
}
.video-section-header i { color: var(--red); font-size: .9rem; }
.video-embed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #000;
}
.video-embed-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
    border-radius: var(--radius-md);
}
.video-side-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.video-side-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    color: #d1d5db;
    font-size: .82rem;
    font-family: var(--font-body);
    line-height: 1.4;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transition: color .2s;
}
.video-side-item:hover { color: #fff; }
.video-side-item:last-child { border-bottom: none; }
.video-side-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--red);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.video-side-title { flex: 1; }
@media (max-width: 900px) {
    .video-section-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   NOTICIAS DESTACADAS (fallback cuando no hay video)
══════════════════════════════════════════════════════════════ */
.destacadas-hoy {
    background: var(--bg-light);
    padding: 28px 0;
    border-top: 3px solid var(--red);
    border-bottom: 1px solid var(--border-lt);
}
.destacadas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.destacadas-title {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .08em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.destacadas-more {
    font-size: .78rem;
    color: var(--text-lt);
    text-decoration: none;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}
.destacadas-more:hover { color: var(--red); }
.destacadas-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    align-items: start;
}
.destacada-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s, transform .25s;
}
.destacada-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.destacada-img-link {
    position: relative;
    overflow: hidden;
    display: block;
}
.destacada-img-link img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.destacada-card--main .destacada-img-link img { height: 230px; }
.destacada-card:hover .destacada-img-link img { transform: scale(1.05); }
.destacada-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: var(--gold);
    color: #1a1a1a;
    font-size: .63rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}
.destacada-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.destacada-cat {
    font-size: .68rem;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
}
.destacada-title {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-dk);
    margin: 0;
}
.destacada-card--main .destacada-title { font-size: 1.1rem; }
.destacada-title a { color: inherit; text-decoration: none; }
.destacada-title a:hover { color: var(--red); }
.destacada-excerpt {
    font-size: .8rem;
    color: var(--text-lt);
    font-family: var(--font-body);
    line-height: 1.5;
    margin: 0;
}
.destacada-meta {
    display: flex;
    gap: 12px;
    font-size: .7rem;
    color: var(--text-lt);
    font-family: var(--font-body);
    margin-top: auto;
    padding-top: 8px;
}
.destacada-meta i { color: var(--red); margin-right: 3px; }
@media (max-width: 900px) {
    .destacadas-grid { grid-template-columns: 1fr 1fr; }
    .destacada-card--main { grid-column: span 2; }
}
@media (max-width: 600px) {
    .destacadas-grid { grid-template-columns: 1fr; }
    .destacada-card--main { grid-column: auto; }
}

/* ══════════════════════════════════════════════════════════════
   WIDGETS DE NOTICIAS EXTERNAS (Internacionales / Deportes Mundo)
══════════════════════════════════════════════════════════════ */
.widget-extnews .extnews-list { display:flex; flex-direction:column; }
.extnews-item {
    display:block; padding:11px 16px; text-decoration:none;
    border-bottom:1px solid #f0f0f0; transition:background .15s ease;
}
.extnews-item:last-child { border-bottom:none; }
.extnews-item:hover { background:#fafafa; }
.extnews-item .extnews-title {
    display:block; font-size:.84rem; font-weight:600; line-height:1.4;
    color:#1a1a2e; margin-bottom:4px;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.extnews-item:hover .extnews-title { color:#b5121b; }
.extnews-item .extnews-meta { font-size:.7rem; color:#8a94a6; }
.extnews-item .extnews-meta b { color:#5a6474; font-weight:600; }
.extnews-item .extnews-meta i { font-size:.6rem; margin-left:4px; opacity:.6; }

/* Sección Deportes Internacionales (página de categoría) */
.extnews-section { margin-top: 40px; }
.extnews-section-header {
    display:flex; align-items:center; justify-content:space-between;
    gap:12px; flex-wrap:wrap; margin-bottom:18px;
}
.extnews-section-note {
    display:inline-flex; align-items:center; gap:7px;
    font-size:.68rem; font-weight:700; color:#28a745;
    text-transform:uppercase; letter-spacing:.08em;
    background:rgba(40,167,69,.08); border:1px solid rgba(40,167,69,.25);
    padding:5px 12px; border-radius:20px;
}
.live-dot {
    width:8px; height:8px; border-radius:50%; background:#28a745;
    animation:livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
    0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(40,167,69,.5); }
    50%     { opacity:.6; box-shadow:0 0 0 5px rgba(40,167,69,0); }
}
.extnews-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:14px; }
.extnews-card {
    display:flex; flex-direction:column; gap:10px;
    background:#fff; border:1px solid #e8ebf0; border-radius:10px;
    padding:16px 18px; text-decoration:none;
    transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.extnews-card:hover {
    box-shadow:0 8px 22px rgba(26,26,46,.10);
    transform:translateY(-3px);
    border-color:#b5121b;
}
.extnews-card-top { display:flex; align-items:center; gap:8px; min-width:0; }
.extnews-avatar {
    width:26px; height:26px; border-radius:50%; flex-shrink:0;
    background:linear-gradient(135deg, #b5121b, #e94560);
    color:#fff; font-size:.72rem; font-weight:800;
    display:inline-flex; align-items:center; justify-content:center;
}
.extnews-source {
    font-size:.72rem; font-weight:700; color:#5a6474;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.extnews-time {
    margin-left:auto; flex-shrink:0;
    font-size:.68rem; color:#9aa3b2;
}
.extnews-headline {
    font-size:.92rem; font-weight:700; line-height:1.45; color:#1a1a2e;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .15s ease;
}
.extnews-card:hover .extnews-headline { color:#b5121b; }
.extnews-cta {
    margin-top:auto; font-size:.7rem; font-weight:700; color:#b5121b;
    text-transform:uppercase; letter-spacing:.05em;
    display:inline-flex; align-items:center; gap:6px;
    opacity:0; transform:translateX(-4px);
    transition:opacity .18s ease, transform .18s ease;
}
.extnews-card:hover .extnews-cta { opacity:1; transform:translateX(0); }
@media (max-width: 640px) {
    .extnews-grid { grid-template-columns:1fr; }
    .extnews-cta { opacity:1; transform:none; } /* móvil: siempre visible */
}

/* ══════════════════════════════════════════════════════════════
   FRANJA MUNDIAL 2026 (noticias externas automáticas)
══════════════════════════════════════════════════════════════ */
.mundial-band {
    background:linear-gradient(180deg, #f7f8fa 0%, #fff 100%);
    border-top:3px solid var(--gold, #d4af37);
    padding:20px 0 24px;
}
.mundial-band-header {
    display:flex; align-items:center; justify-content:space-between;
    gap:12px; flex-wrap:wrap; margin-bottom:14px;
}
.mundial-band-title {
    display:inline-flex; align-items:center; gap:9px;
    font-family:var(--font-title, Georgia, serif);
    font-size:1.15rem; font-weight:800; color:#1a1a2e;
    letter-spacing:.02em;
}
.mundial-band-title i { color:var(--gold, #d4af37); }
.mundial-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.extnews-avatar--gold { background:linear-gradient(135deg, #b8860b, #d4af37); }
@media (max-width:1000px) { .mundial-grid { grid-template-columns:repeat(2, 1fr); } }
@media (max-width:560px)  { .mundial-grid { grid-template-columns:1fr; } }

/* Variante Perú de la franja de noticias externas */
.peru-band { border-top-color:#b5121b; }
.peru-band-title i { color:#b5121b; }

/* ══════════════════════════════════════════════════════════════
   SECCIÓN DUAL: LATINOAMÉRICA + ECONOMÍA (feeds externos)
══════════════════════════════════════════════════════════════ */
.duo-feeds { padding:26px 0 30px; background:#fff; border-top:1px solid var(--border-lt, #eee); }
.duo-feeds-grid { display:grid; grid-template-columns:1fr 1fr; gap:34px; }
.duo-col-header {
    display:flex; align-items:baseline; justify-content:space-between; gap:10px;
    border-bottom:3px solid #1a1a2e; padding-bottom:8px; margin-bottom:6px;
}
.duo-col-title {
    font-family:var(--font-title, Georgia, serif);
    font-size:1.05rem; font-weight:800; color:#1a1a2e; letter-spacing:.02em;
    display:inline-flex; align-items:center; gap:8px;
}
.duo-col-title i { color:#b5121b; }
.duo-col-title--econ i { color:#0f7b3e; }
.duo-col-src { font-size:.62rem; color:#9aa3b2; text-transform:uppercase; letter-spacing:.08em; }
.duo-list { display:flex; flex-direction:column; }
.duo-item {
    display:flex; align-items:flex-start; gap:12px;
    padding:11px 4px; text-decoration:none;
    border-bottom:1px solid #f0f2f7;
    transition:background .15s ease;
}
.duo-item:last-child { border-bottom:none; }
.duo-item:hover { background:#fafbfd; }
.duo-num {
    flex-shrink:0; width:24px; height:24px; border-radius:6px;
    background:#1a1a2e; color:#fff; font-size:.72rem; font-weight:800;
    display:inline-flex; align-items:center; justify-content:center;
    margin-top:2px;
}
.duo-num--econ { background:#0f7b3e; }
.duo-body { flex:1; min-width:0; }
.duo-headline {
    display:block; font-size:.88rem; font-weight:600; line-height:1.4; color:#1a1a2e;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .15s ease;
}
.duo-item:hover .duo-headline { color:#b5121b; }
.duo-meta { display:block; font-size:.68rem; color:#9aa3b2; margin-top:3px; }
.duo-meta b { color:#5a6474; font-weight:700; }
.duo-ext { flex-shrink:0; font-size:.65rem; color:#c8cfd9; margin-top:6px; }
.duo-item:hover .duo-ext { color:#b5121b; }
@media (max-width:820px) {
    .duo-feeds-grid { grid-template-columns:1fr; gap:26px; }
}
