*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #fdfdfd; color: #111; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; font-size: 0.875rem; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.05em; }
.btn-primary { background: #e60000; color: #fff; }
.btn-primary:hover { background: #111; }
.btn-black { background: #111; color: #fff; }
.btn-black:hover { background: #333; }
.btn-outline { background: transparent; border: 1px solid #ddd; color: #333; }
.btn-outline:hover { background: #f4f4f5; }
.btn-outline-light { background: transparent; border: 1px solid #666; color: #ccc; }
.btn-outline-light:hover { background: #333; color: #fff; }
.btn-purple { background: #7c3aed; color: #fff; }
.btn-purple:hover { background: #6d28d9; }
.btn-yellow { background: #d97706; color: #fff; }
.btn-yellow:hover { background: #b45309; }
.btn-sm { padding: 0.375rem 1rem; font-size: 0.75rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }

/* Info Bar (FUNDADO / EDICIÓN DIGITAL / ISSN) */
.info-bar { border-bottom: 1px solid #e5e7eb; padding: 0.35rem 0; font-size: 0.68rem; color: #888; background: #fff; }
.info-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.info-bar-item { text-transform: uppercase; letter-spacing: 0.1em; }
.info-bar-badge { background: #e60000; color: #fff; padding: 0.15rem 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.62rem; }

/* Top Bar */
.top-bar { background: #000; color: #fff; padding: 0.5rem 0; font-size: 0.75rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.top-bar-right { display: flex; gap: 1rem; align-items: center; }
.top-bar-right a { color: #ccc; transition: color 0.2s; }
.top-bar-right a:hover { color: #fff; }
.top-bar-date { color: #999; }

/* Branding */
.branding { text-align: center; padding: 1.5rem 1rem; border-bottom: 1px solid #eee; }
.branding a { display: inline-block; }
.site-title { font-family: 'Helvetica', sans-serif; font-size: clamp(2.8rem, 8vw, 5rem); font-weight: 700; color: #0e7fa5; text-shadow: 2px 2px 4px rgba(0,0,0,0.18), 0 1px 0 rgba(0,0,0,0.10); letter-spacing: 0.01em; line-height: 1.1; }
.site-subtitle { display: block; font-size: 0.875rem; color: #888; text-transform: uppercase; letter-spacing: 0.15em; margin-top: 0.25rem; font-family: 'Inter', sans-serif; }

/* Navigation */
.main-nav { border-bottom: 0px solid #eee; background-color: #A11D06; position: sticky; top: 0; z-index: 50; }
.nav-links { display: flex; justify-content: center; }
.nav-links a { flex: 1; text-align: center; padding: 0.75rem 0.5rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #ffffff; transition: background 0.2s; border-right: 0px solid #eee; }
.nav-links a:last-child { border-right: none; }
.nav-links a:hover { background: rgba(0,0,0,0.25); color: #fff; }
.nav-links a.active, .nav-links a.nav-portada.active { background: rgba(0,0,0,0.35); color: #fff; }
.nav-links a.nav-portada { font-weight: 900; color: #fff; border-right: 1px solid rgba(255,255,255,0.25); }

/* ── Banda Última Hora ── */
.breaking-ticker { background: #111; overflow: hidden; border-top: 2px solid #e60000; }
.breaking-ticker-inner { display: flex; align-items: stretch; }
.breaking-label { background: #e60000; color: #fff; padding: 0.55rem 1rem; font-size: 0.65rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 0.35rem; }
.breaking-track-wrap { flex: 1; overflow: hidden; position: relative; padding: 0.55rem 0; }
.breaking-track { display: flex; gap: 0; width: max-content; animation: tickerScroll 45s linear infinite; }
.breaking-track:hover { animation-play-state: paused; }
.breaking-item { color: #ddd; font-size: 0.78rem; white-space: nowrap; padding: 0 1.5rem; transition: color 0.2s; position: relative; }
.breaking-item::after { content: '◆'; color: #555; margin-left: 1.5rem; font-size: 0.5rem; vertical-align: middle; }
.breaking-item:last-child::after { display: none; }
.breaking-item:hover { color: #e60000; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.sub-nav { background: #fafafa; border-bottom: 1px solid #eee; padding: 0.5rem 0; }
.sub-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.sub-nav-links a { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #666; transition: color 0.2s; }
.sub-nav-links a:hover { color: #e60000; }

/* Hero Grid */
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; margin-bottom: 3rem; }
.hero-main { grid-row: 1 / 3; position: relative; overflow: hidden; min-height: 400px; }
.hero-side { position: relative; overflow: hidden; min-height: 200px; }
.hero-main img, .hero-side img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.hero-main:hover img, .hero-side:hover img { transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%); }
.hero-content { position: absolute; bottom: 0; left: 0; padding: 1.5rem; color: #fff; width: 100%; }
.hero-badge { display: inline-block; padding: 0.25rem 0.625rem; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.badge-red { background: #e60000; }
.badge-blue { background: #1e3a8a; }
.hero-title { font-family: 'Helvetica', sans-serif; font-weight: 900; line-height: 1.15; margin-bottom: 0.5rem; }
.hero-main .hero-title { font-size: 2rem; }
.hero-side .hero-title { font-size: 1.1rem; }
.hero-bajada { color: #ccc; font-size: 0.875rem; }

/* News List */
.section-title { border-top: 4px solid #e60000; padding-top: 0.5rem; margin-bottom: 1.5rem; }
.section-title h2 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.section-title-black { border-top-color: #000; }
.news-list { list-style: none; }
.news-item { display: flex; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid #eee; }
.news-item:last-child { border-bottom: none; }
.news-item-img { width: 33%; flex-shrink: 0; overflow: hidden; aspect-ratio: 16/9; }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-item:hover .news-item-img img { transform: scale(1.05); }
.news-item-body { flex: 1; }
.news-item-section { color: #e60000; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; display: block; }
.news-item-title { font-family: 'Helvetica', sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.25; margin-bottom: 0.5rem; transition: color 0.2s; }
.news-item:hover .news-item-title { color: #e60000; }
.news-item-excerpt { font-size: 0.875rem; color: #666; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item-date { font-size: 0.75rem; color: #999; }

/* Layout */
.content-layout { display: flex; gap: 2rem; }
.content-main { flex: 1; min-width: 0; }
.content-sidebar { width: 320px; flex-shrink: 0; }

/* Sidebar */
.sidebar-section { margin-bottom: 2rem; }
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.sidebar-list a { font-size: 0.875rem; color: #555; transition: color 0.2s; display: block; }
.sidebar-list a:hover { color: #e60000; }
.newsletter-box { background: #f9f9f9; padding: 1.5rem; border: 1px solid #eee; text-align: center; }
.newsletter-box p { font-size: 0.875rem; color: #666; margin-bottom: 1rem; }
.newsletter-box input[type="email"] { width: 100%; padding: 0.625rem; border: 1px solid #ddd; margin-bottom: 0.75rem; font-size: 0.875rem; outline: none; }
.newsletter-box input:focus { border-color: #e60000; }

/* Article Page */
.article-breadcrumb { font-size: 0.7rem; color: #999; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.article-breadcrumb a { color: #999; }
.article-breadcrumb a:hover { color: #e60000; }
.article-breadcrumb .current { color: #e60000; font-weight: 700; }
.article-title { font-family: 'Helvetica', sans-serif; font-size: 2.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
.article-bajada { font-family: 'Helvetica', sans-serif; font-size: 1.2rem; color: #555; font-style: italic; border-left: 4px solid #e60000; padding-left: 1rem; margin-bottom: 1.5rem; line-height: 1.6; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.75rem; color: #999; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid #eee; }
.article-share { margin-left: auto; display: flex; gap: 0.5rem; }
.article-share a { width: 5.8rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.75rem; font-weight: 700; }
.share-fb { background: #1877f2; }
.share-tw { background: #0ea5e9; }
.article-image { margin-bottom: 2rem; }
.article-image img { width: 100%; max-height: 500px; object-fit: cover; }
.article-content { font-size: 1.05rem; line-height: 1.8; color: #333; margin-bottom: 2rem; }
.article-content h1, .article-content h2, .article-content h3 { font-family: 'Helvetica', sans-serif; font-weight: 700; margin: 1.5em 0 0.5em; }
.article-content h1 { font-size: 2em; }
.article-content h2 { font-size: 1.5em; }
.article-content h3 { font-size: 1.17em; }
.article-content p { margin: 0.75em 0; }
.article-content ul, .article-content ol { padding-left: 1.5em; margin: 0.75em 0; }
.article-content blockquote { border-left: 3px solid #e60000; padding-left: 1em; color: #555; font-style: italic; margin: 1em 0; }
.article-content a { color: #0066cc; text-decoration: underline; }
.article-content img { max-width: 100%; height: auto; margin: 1em 0; }
.article-content strong { font-weight: 700; }

/* Related news sidebar */
.related-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.related-item img { width: 80px; height: 60px; object-fit: cover; flex-shrink: 0; }
.related-item-title { font-size: 0.85rem; font-weight: 600; line-height: 1.3; transition: color 0.2s; }
.related-item:hover .related-item-title { color: #e60000; }
.related-item-date { font-size: 0.65rem; color: #999; margin-top: 0.25rem; }
.numbered-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.numbered-item-num { font-family: 'Helvetica', sans-serif; font-size: 1.5rem; font-weight: 900; color: #ddd; line-height: 1; }
.numbered-item-title { font-size: 0.85rem; font-weight: 500; line-height: 1.3; transition: color 0.2s; }
.numbered-item:hover .numbered-item-title { color: #e60000; }

/* Empty State */
.empty-state { text-align: center; padding: 5rem 2rem; border: 1px dashed #ddd; margin-bottom: 3rem; }
.empty-state h2 { font-size: 1.25rem; color: #999; margin-bottom: 0.5rem; }
.empty-state p { color: #999; font-size: 0.875rem; }
.empty-state a { color: #e60000; text-decoration: underline; }

/* Footer */
.site-footer { background: #000; color: #fff; padding: 4rem 0; margin-top: 3rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.footer-brand { font-family: 'Helvetica', sans-serif; font-size: 1.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-links a { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #888; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.8rem; color: #666; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #111; color: #fff; border-top: 4px solid #e60000; z-index: 100; }
.cookie-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 0; flex-wrap: wrap; }
.cookie-text { flex: 1; }
.cookie-text strong { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; }
.cookie-text p { font-size: 0.75rem; color: #ccc; margin: 0; }
.cookie-text a { color: #e60000; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: #555; margin-bottom: 0.25rem; }
.form-control { width: 100%; padding: 0.625rem; border: 1px solid #ddd; font-size: 0.875rem; font-family: inherit; outline: none; }
.form-control:focus { border-color: #e60000; box-shadow: 0 0 0 1px #e60000; }
textarea.form-control { resize: vertical; }
.contact-info-item { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; }
.contact-info-item strong { display: block; font-size: 0.875rem; color: #333; }
.contact-info-item span { font-size: 0.875rem; color: #666; }
.info-box { background: #fff; border: 1px solid #eee; padding: 1.5rem; margin-bottom: 1.5rem; }
.info-box h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding-bottom: 0.75rem; border-bottom: 1px solid #eee; margin-bottom: 1rem; }
.cta-box { background: #000; color: #fff; padding: 1.5rem; }
.cta-box h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.cta-box p { font-size: 0.875rem; color: #ccc; margin-bottom: 1rem; }
.cta-box a { color: #e60000; font-weight: 700; }

/* Policy pages */
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-content h1 { font-family: 'Helvetica', sans-serif; font-size: 2rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; padding-bottom: 1rem; margin-bottom: 2rem; border-bottom: 4px solid #e60000; }
.policy-content h2 { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2rem; margin-bottom: 0.75rem; }
.policy-content p { font-size: 0.95rem; color: #555; line-height: 1.7; margin-bottom: 0.75rem; }
.policy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content li { font-size: 0.95rem; color: #555; line-height: 1.7; margin-bottom: 0.5rem; }
.policy-content a { color: #e60000; }

/* Alert / Messages */
.alert { padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.875rem; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ════════════════════════════════════════════════
   DISEÑO EDITORIAL PREMIUM
   ════════════════════════════════════════════════ */

/* Label de sección tipo "— NACIONAL" */
.ed-section-label { display:flex; align-items:center; gap:.5rem; font-size:.65rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:#991b1b; margin-bottom:.75rem; }
.ed-section-dash { display:inline-block; width:1.5rem; height:2px; background:currentColor; flex-shrink:0; }

/* Divider */
.ed-divider { border:none; border-top:1px solid #e5e5e5; margin:2.5rem 0; }

/* ── HERO ── */
.ed-hero { display:grid; grid-template-columns:2fr 1fr; gap:2.5rem; margin-bottom:2.5rem; align-items:start; }
.ed-hero-main {}
.ed-hero-img-wrap { display:block; position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; margin-bottom:1rem; background:#111; }
.ed-hero-img-wrap img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s; }
.ed-hero-img-wrap:hover img { transform:scale(1.03); }
.ed-img-caption { display:block; font-size:.65rem; color:#888; padding:.3rem 0 0; font-style:italic; }
.ed-hero-title-link { text-decoration:none; color:inherit; display:block; }
.ed-hero-title { font-family:'Helvetica',sans-serif; font-size:2.4rem; font-weight:900; line-height:1.1; color:#111; margin-bottom:.875rem; transition:color .2s; }
.ed-hero-title-link:hover .ed-hero-title { color:#991b1b; }
.ed-hero-bajada { font-size:1rem; color:#555; font-style:italic; line-height:1.65; margin-bottom:.875rem; }
.ed-hero-meta { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; font-size:.75rem; color:#888; }
.ed-meta-sep { color:#ccc; }

/* ── ASIDE: MÁS NOTICIAS ── */
.ed-hero-aside { border-left:1px solid #e5e5e5; padding-left:2rem; }
.ed-aside-header { display:flex; align-items:center; gap:.75rem; margin-bottom:1.25rem; }
.ed-aside-line { width:1.5rem; height:2px; background:#111; flex-shrink:0; }
.ed-aside-label { font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:#111; }
.ed-aside-item { display:block; padding:.9rem 0; border-bottom:1px solid #f0f0f0; text-decoration:none; color:inherit; }
.ed-aside-item:first-of-type { border-top:1px solid #f0f0f0; }
.ed-aside-item:last-child { border-bottom:none; }
.ed-aside-item:hover .ed-aside-title { color:#991b1b; }
.ed-tag-pill { display:inline-block; padding:.15rem .5rem; font-size:.58rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:#fff; margin-bottom:.4rem; border-radius:2px; }
.ed-aside-title { font-family:'Helvetica',sans-serif; font-size:.95rem; font-weight:700; line-height:1.3; color:#111; margin-bottom:.3rem; transition:color .2s; }
.ed-aside-excerpt { font-size:.75rem; color:#666; line-height:1.45; margin-bottom:.3rem; }
.ed-aside-meta { font-size:.68rem; color:#aaa; display:flex; gap:.4rem; }

/* ── OPINIÓN ── */
.opinion-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1px solid #e5e5e5; }
.opinion-card { padding:1.5rem; border-right:1px solid #e5e5e5; text-decoration:none; color:inherit; display:flex; flex-direction:column; gap:.5rem; transition:background .2s; }
.opinion-card:last-child { border-right:none; }
.opinion-card:hover { background:#fafafa; }
.opinion-avatar { width:2.75rem; height:2.75rem; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.875rem; font-weight:700; color:#fff; flex-shrink:0; margin-bottom:.25rem; }
.opinion-author { font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:#888; }
.opinion-title { font-family:'Playfair Display',serif; font-size:1rem; font-weight:700; line-height:1.3; color:#111; transition:color .2s; }
.opinion-card:hover .opinion-title { color:#991b1b; }
.opinion-excerpt { border-left:3px solid #d97706; padding-left:.75rem; font-size:.8rem; color:#666; font-style:italic; line-height:1.5; margin:0; }

/* ── LO MÁS LEÍDO + NEWSLETTER ── */
.ed-bottom-grid { display:grid; grid-template-columns:1fr 380px; gap:2.5rem; align-items:start; margin-bottom:2.5rem; }
.ed-leido-item { display:flex; align-items:center; gap:.875rem; padding:.75rem 0; border-bottom:1px solid #f0f0f0; text-decoration:none; color:inherit; }
.ed-leido-item:last-child { border-bottom:none; }
.ed-leido-item:hover .ed-leido-title { color:#991b1b; }
.ed-leido-num { font-family:'Playfair Display',serif; font-size:1.75rem; font-weight:900; color:#ddd; min-width:2rem; text-align:center; line-height:1; flex-shrink:0; }
.ed-leido-thumb { width:70px; height:52px; flex-shrink:0; overflow:hidden; background:#f0f0f0; }
.ed-leido-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.ed-leido-body { flex:1; min-width:0; }
.ed-leido-title { font-size:.875rem; font-weight:600; line-height:1.35; color:#111; transition:color .2s; display:block; }
.ed-leido-meta { font-size:.68rem; color:#aaa; margin-top:.2rem; display:flex; gap:.4rem; }

/* Newsletter dark */
.ed-newsletter-box { background:#1a1a1a; color:#fff; padding:1.75rem; }
.ed-newsletter-title { font-family:'Helvetica',sans-serif; font-size:1.4rem; font-weight:900; margin-bottom:.5rem; }
.ed-newsletter-sub { font-size:.8rem; color:#bbb; font-style:italic; line-height:1.55; margin-bottom:1.25rem; }
.ed-newsletter-input { width:100%; padding:.625rem .75rem; background:#2a2a2a; border:1px solid #444; color:#fff; font-size:.875rem; outline:none; margin-bottom:.75rem; font-family:inherit; }
.ed-newsletter-input::placeholder { color:#888; }
.ed-newsletter-input:focus { border-color:#c0392b; }
.ed-newsletter-btn { width:100%; padding:.7rem; background:#c0392b; color:#fff; border:none; font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; cursor:pointer; font-family:inherit; transition:background .2s; }
.ed-newsletter-btn:hover { background:#e60000; }

/* ── FOOTER EDITORIAL ── */
.ed-footer { background:#111; color:#ddd; padding:3rem 0 0; margin-top:3rem; }
.ed-footer-inner { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2rem; padding-bottom:2.5rem; border-bottom:1px solid #2a2a2a; }
.ed-footer-logo { font-family:'Helvetica',sans-serif; font-size:1.6rem; font-weight:900; color:#0EA5A0; text-decoration:none; display:block; margin-bottom:.75rem; }
.ed-footer-tagline { font-size:.8rem; color:#888; line-height:1.6; margin-bottom:1rem; }
.ed-footer-social { display:flex; gap:.6rem; flex-wrap:wrap; }
.ed-footer-social a { width:2rem; height:2rem; display:flex; align-items:center; justify-content:center; color:#fff; text-decoration:none; border-radius:4px; transition:opacity .2s, transform .15s; }
.ed-footer-social a:hover { opacity:.8; transform:scale(1.1); }
.ed-footer-col-title { font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:#666; margin-bottom:1rem; border-bottom:1px solid #2a2a2a; padding-bottom:.5rem; }
.ed-footer-links-col ul { list-style:none; display:flex; flex-direction:column; gap:.6rem; }
.ed-footer-links-col a { font-size:.8rem; color:#aaa; text-decoration:none; transition:color .2s; }
.ed-footer-links-col a:hover { color:#0EA5A0; }
.ed-footer-bar { background:#0a0a0a; padding:.875rem 0; font-size:.7rem; color:#555; }
.ed-footer-bar a { color:#666; text-decoration:none; }
.ed-footer-bar a:hover { color:#aaa; }

/* ── Portada: 3 cards con imagen + título abajo ── */
.portada-layout { display:flex; gap:1.5rem; align-items:flex-start; margin-bottom:2.5rem; }
.portada-main   { flex:1; min-width:0; }
.portada-cards  { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }

.portada-card { display:flex; flex-direction:column; text-decoration:none; color:inherit; border:1px solid #eee; }
.portada-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.08); }
.portada-card-img { width:100%; aspect-ratio:4/3; overflow:hidden; background:#f0f0f0; flex-shrink:0; }
.portada-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.portada-card:hover .portada-card-img img { transform:scale(1.04); }
.portada-card-body  { padding:.75rem; }
.portada-card-section { font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:#e60000; margin-bottom:.3rem; display:block; }
.portada-card-title { font-family:'Helvetica',sans-serif; font-size:.95rem; font-weight:700; line-height:1.3; color:#111; transition:color .2s; }
.portada-card:hover .portada-card-title { color:#e60000; }

.portada-aside      { width:250px; flex-shrink:0; }
.portada-aside-title { font-family:'Playfair Display',serif; font-size:1.1rem; font-weight:900; border-bottom:3px solid #e60000; padding-bottom:.4rem; margin-bottom:.75rem; }
.titulares-list     { list-style:none; }
.titulares-list li  { padding:.45rem 0; border-bottom:1px solid #f0f0f0; }
.titulares-list li:last-child { border-bottom:none; }
.titulares-list a   { font-size:.8rem; color:#1a56db; line-height:1.35; transition:color .2s; display:block; }
.titulares-list a:hover { color:#e60000; text-decoration:underline; }

/* ── Sección: lista compacta con miniatura ── */
.sec-list { display:flex; flex-direction:column; gap:0; }
.sec-item { display:flex; gap:.875rem; padding:.9rem 0; border-bottom:1px solid #f0f0f0; text-decoration:none; color:inherit; align-items:flex-start; }
.sec-item:first-child { border-top:1px solid #f0f0f0; }
.sec-item:hover { background:#fafafa; }
.sec-item-img { width:110px; height:75px; flex-shrink:0; overflow:hidden; background:#f0f0f0; }
.sec-item-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.sec-item:hover .sec-item-img img { transform:scale(1.05); }
.sec-item-body { flex:1; min-width:0; display:flex; flex-direction:column; gap:.15rem; }
.sec-item-title { font-family:'Playfair Display',serif; font-size:.95rem; font-weight:700; line-height:1.3; color:#111; transition:color .2s; }
.sec-item:hover .sec-item-title { color:#e60000; }
.sec-item-excerpt { font-size:.775rem; color:#666; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ── Hero dual: 2 destacadas lado a lado ── */
.hero-dual { display:grid; grid-template-columns:1fr 1fr; gap:3px; margin-bottom:2.5rem; }
.hero-card { position:relative; overflow:hidden; display:block; min-height:340px; background:#111; }
.hero-card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .7s; }
.hero-card:hover img { transform:scale(1.05); }
.hero-card-overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 100%); }
.hero-card-content { position:absolute; bottom:0; left:0; padding:1.5rem; width:100%; color:#fff; }
.hero-card-title { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:900; line-height:1.2; margin-bottom:.5rem; text-shadow:0 2px 8px rgba(0,0,0,.9); }
.hero-card:hover .hero-card-title { color:#f87171; }
.hero-card-excerpt { font-size:.8rem; color:#e5e5e5; text-shadow:0 1px 5px rgba(0,0,0,.9); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ── Cards 4 columnas (secciones) ── */
.news-card-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; margin-bottom:3rem; }
.news-card-4 { display:flex; flex-direction:column; background:#fff; border:1px solid #f0f0f0; overflow:hidden; transition:box-shadow .2s,transform .2s; text-decoration:none; color:inherit; }
.news-card-4:hover { box-shadow:0 6px 20px rgba(0,0,0,.1); transform:translateY(-2px); }
.news-card-4-img { width:100%; aspect-ratio:3/2; overflow:hidden; flex-shrink:0; background:#f4f4f5; }
.news-card-4-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.news-card-4:hover .news-card-4-img img { transform:scale(1.06); }
.news-card-4-body { padding:.875rem; flex:1; display:flex; flex-direction:column; gap:.25rem; }
.news-card-4-title { font-family:'Playfair Display',serif; font-size:1rem; font-weight:700; line-height:1.3; color:#111; transition:color .2s; }
.news-card-4:hover .news-card-4-title { color:#e60000; }
.news-card-4-excerpt { font-size:.8rem; color:#555; line-height:1.55; flex:1; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; margin-top:.25rem; }

/* ── Sidebar: más leídas ── */
.mas-leidas-item { display:flex; align-items:flex-start; gap:.5rem; padding:.6rem 0; border-bottom:1px solid #f0f0f0; color:inherit; text-decoration:none; }
.mas-leidas-item:last-child { border-bottom:none; }
.mas-leidas-item:hover .mas-leidas-title { color:#e60000; }
.mas-leidas-num { font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:900; color:#e60000; line-height:1; min-width:1.4rem; }
.mas-leidas-body { display:flex; flex-direction:column; gap:.3rem; flex:1; min-width:0; }
.mas-leidas-img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.mas-leidas-title { font-size:.8rem; font-weight:600; line-height:1.35; color:#222; transition:color .2s; }

/* ── Search bar ── */
.search-bar-wrap { background:#f4f4f5; border-top:1px solid #e5e5e5; border-bottom:1px solid #e5e5e5; padding:0.6rem 0; }
.search-bar-form { display:flex; align-items:center; gap:0.5rem; max-width:680px; margin:0 auto; }
.search-bar-input { flex:1; padding:0.5rem 0.875rem; border:1px solid #ddd; font-size:0.875rem; font-family:inherit; outline:none; border-radius:2px; }
.search-bar-input:focus { border-color:#e60000; box-shadow:0 0 0 2px rgba(230,0,0,.08); }
.search-bar-btn { padding:0.5rem 1rem; background:#e60000; color:#fff; border:none; font-size:0.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; cursor:pointer; border-radius:2px; white-space:nowrap; }
.search-bar-btn:hover { background:#111; }
.search-bar-clear { font-size:0.8rem; color:#888; white-space:nowrap; transition:color .2s; }
.search-bar-clear:hover { color:#e60000; }

/* ── Hero: solo (1 item, sin lado en blanco) ── */
.hero-grid-solo { display:block; margin-bottom:3rem; }
.hero-grid-solo .hero-main { min-height:480px; }

/* ── Hero: dos (1 principal + 1 lateral) ── */
.hero-grid-two { display:grid; grid-template-columns:2fr 1fr; grid-template-rows:1fr; gap:2px; margin-bottom:3rem; }
.hero-grid-two .hero-main { min-height:400px; }
.hero-grid-two .hero-side { min-height:400px; }

/* ── News card grid (secciones + búsqueda) ── */
.news-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-bottom:3rem; }
.news-card { display:flex; flex-direction:column; border:1px solid #eee; overflow:hidden; transition:box-shadow .2s,transform .2s; text-decoration:none; color:inherit; }
.news-card:hover { box-shadow:0 6px 24px rgba(0,0,0,.1); transform:translateY(-2px); }
.news-card-img { width:100%; aspect-ratio:16/9; overflow:hidden; flex-shrink:0; background:#f0f0f0; }
.news-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.news-card:hover .news-card-img img { transform:scale(1.06); }
.news-card-body { padding:1rem; flex:1; display:flex; flex-direction:column; }
.news-card-title { font-family:'Playfair Display',serif; font-size:1.05rem; font-weight:700; line-height:1.3; margin-bottom:0.5rem; transition:color .2s; }
.news-card:hover .news-card-title { color:#e60000; }
.news-card-excerpt { font-size:0.8rem; color:#666; line-height:1.5; flex:1; margin-bottom:0.5rem; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* ── Responsive */
@media (max-width: 1100px) {
    .news-card-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .ed-footer-inner  { grid-template-columns: 1.5fr 1fr 1fr; }
    .ed-footer-inner > .ed-footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .news-card-grid   { grid-template-columns: repeat(2, 1fr); }
    .news-card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .portada-cards    { grid-template-columns: repeat(2, 1fr); }
    .portada-aside    { width: 200px; }
    .ed-hero          { grid-template-columns: 1fr; }
    .ed-hero-aside    { border-left: none; border-top: 1px solid #e5e5e5; padding-left: 0; padding-top: 1.5rem; }
    .ed-bottom-grid   { grid-template-columns: 1fr; }
    .ed-newsletter-col { order: -1; }
    .ed-footer-inner  { grid-template-columns: 1fr 1fr; }
    .ed-footer-inner > .ed-footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .hero-grid      { grid-template-columns: 1fr; grid-template-rows: auto; }
    .hero-grid-two  { grid-template-columns: 1fr; }
    .hero-dual      { grid-template-columns: 1fr; }
    .hero-main      { min-height: 250px; }
    .hero-card      { min-height: 260px; }
    .content-layout { flex-direction: column; }
    .content-sidebar { width: 100%; }
    .contact-grid   { grid-template-columns: 1fr; }
    .site-title     { font-size: 2.25rem; }
    .article-title  { font-size: 1.75rem; }
    .top-bar-date, .top-bar-label { display: none; }
    .nav-links      { overflow-x: auto; justify-content: flex-start; }
    .sub-nav        { display: none; }
    .cookie-inner   { flex-direction: column; }
    .search-bar-form { flex-wrap: wrap; }
    .news-card-grid   { grid-template-columns: 1fr; }
    .news-card-grid-4 { grid-template-columns: 1fr 1fr; }
    .portada-layout { flex-direction: column; }
    .portada-aside  { width: 100%; }
    .portada-cards  { grid-template-columns: 1fr; }
    .ed-hero-title  { font-size: 1.75rem; }
    .opinion-grid   { grid-template-columns: 1fr; }
    .opinion-card   { border-right: none; border-bottom: 1px solid #e5e5e5; }
    .opinion-card:last-child { border-bottom: none; }
    .ed-footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .news-card-grid-4 { grid-template-columns: 1fr; }
    .ed-hero-title    { font-size: 1.5rem; }
    .ed-leido-num     { font-size: 1.25rem; min-width: 1.5rem; }
}

/* === Ajuste limpio de menú principal EPN === */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    height: 3px;
    margin: 5px 0;
    background: #fff;
    border-radius: 3px;
}
.main-nav .nav-links {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
}
.main-nav .nav-links a {
    flex: 0 1 auto;
    min-width: 120px;
    padding: 0.85rem 1rem;
    white-space: normal;
    line-height: 1.25;
}
.sub-nav {
    display: block;
}
.sub-nav-links {
    row-gap: 0.6rem;
}

@media (max-width: 992px) {
    .nav-container {
        justify-content: flex-end;
        padding: 0.25rem 1rem;
    }
    .nav-toggle {
        display: block;
    }
    .main-nav .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-top: 0.25rem;
    }
    .main-nav .nav-links.is-open {
        display: flex;
    }
    .main-nav .nav-links a {
        width: 100%;
        min-width: 0;
        text-align: left;
        padding: 0.85rem 1rem;
        border-top: 1px solid rgba(255,255,255,0.18);
    }
    .sub-nav {
        display: none;
        padding: 0;
    }
    .sub-nav.is-open {
        display: block;
    }
    .sub-nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }
    .sub-nav-links a {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
        background: #fafafa;
    }
}

@media (max-width: 520px) {
    .site-title {
        font-size: 2.2rem !important;
        letter-spacing: 0.02em;
    }
    .site-subtitle {
        font-size: 0.75rem;
    }
    .top-bar-inner {
        gap: 0.4rem;
    }
}


/* === Submenú contraído: se abre solamente con hamburguesa === */
.nav-container {
    gap: 0.75rem;
}
.nav-toggle {
    display: block;
    flex: 0 0 auto;
}
.sub-nav {
    display: none !important;
    padding: 0;
}
.sub-nav.is-open {
    display: block !important;
}
.sub-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 0.35rem 0;
}
.sub-nav-links a {
    display: block;
    padding: 0.65rem 1rem;
    border-radius: 4px;
}
.sub-nav-links a:hover {
    background: #f1f1f1;
}

@media (min-width: 993px) {
    .nav-container {
        justify-content: center;
    }
    .nav-toggle {
        margin-left: 0;
    }
    .main-nav .nav-links {
        width: auto;
        flex: 1 1 auto;
    }
}

@media (max-width: 992px) {
    .nav-container {
        flex-wrap: wrap;
    }
    .nav-toggle {
        margin-left: auto;
    }
    .main-nav .nav-links {
        order: 2;
    }
    .sub-nav-links {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }
    .sub-nav-links a {
        border-radius: 0;
        border-bottom: 1px solid #eee;
    }
}


/* === FIX FINAL: submenú oculto en escritorio y móvil hasta tocar hamburguesa === */
.sub-nav:not(.is-open) {
    display: none !important;
}
.sub-nav.is-open {
    display: block !important;
}
@media (min-width: 993px) {
    .sub-nav:not(.is-open) {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        border: 0 !important;
    }
    .sub-nav.is-open {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* Fix: reproducir videos directamente en la tarjeta */
.video-card video.video-inline-player{
    width:100%;
    height:260px;
    object-fit:contain;
    display:block;
    background:#000;
}
.video-play-link::after{display:none!important;content:none!important;}
.video-modal{display:none!important;}
@media(max-width:640px){
    .video-card video.video-inline-player{height:auto;max-height:70vh;}
}
/* Videos públicos: cards responsive y play dentro de cada card */
.videos-page{
    padding:2rem 1rem;
}

.video-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:24px;
    align-items:start;
}

.video-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.video-frame{
    width:100%;
    background:#000;
    aspect-ratio:16 / 9;
    display:flex;
    align-items:center;
    justify-content:center;
}

.video-card video.video-inline-player{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    background:#000;
}

.video-card-body{
    padding:14px 16px 16px;
}

.video-card-body h3{
    margin:0 0 8px;
    font-size:1.05rem;
    line-height:1.25;
}

.video-card-body p{
    margin:0 0 10px;
    color:#555;
    line-height:1.45;
}

.video-card-body small{
    color:#777;
}

.empty-message{
    color:#777;
}

.video-play-link::after{display:none!important;content:none!important;}
.video-modal{display:none!important;}

@media (max-width:640px){
    .videos-page{
        padding:1.2rem .8rem;
    }
    .video-grid{
        grid-template-columns:1fr;
        gap:18px;
    }
    .video-frame{
        aspect-ratio:16 / 9;
    }
}

/* Compartir videos e imágenes */
.share-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}
.share-btn{
    border:0;
    background:#b01808;
    color:#fff!important;
    padding:7px 10px;
    border-radius:6px;
    font-size:.82rem;
    font-weight:700;
    text-decoration:none!important;
    cursor:pointer;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.share-btn:hover{
    opacity:.9;
}
.share-target:target{
    outline:3px solid #b01808;
    outline-offset:4px;
}
.imagenes-page{
    padding:2rem 1rem;
}
.imagen-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:24px;
    align-items:start;
}
.imagen-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}
.imagen-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}
.imagen-card-body{
    padding:14px 16px 16px;
}
.imagen-card-body h3{
    margin:0 0 8px;
    font-size:1.05rem;
    line-height:1.25;
}
.imagen-card-body p{
    margin:0 0 10px;
    color:#555;
    line-height:1.45;
}
@media(max-width:640px){
    .share-buttons{gap:6px;}
    .share-btn{font-size:.78rem;padding:7px 8px;}
    .imagen-grid{grid-template-columns:1fr;gap:18px;}
    .imagen-card img{height:auto;max-height:none;}
}


