/* ===================================================
   EL CANAL DE LA GENTE — styles.css
   Paleta oficial · Manual de Marca ECG
   Primario: #E30613 · Secundario: #1A1A1A · Editorial: #1A237E
   =================================================== */

:root {
  --red: #E30613;          /* Color Primario · Rojo ECG */
  --red-dark: #8A0000;     /* Variante oscura del rojo */
  --red-light: #FF3344;    /* Variante clara del rojo */
  --red-bright: #FF3344;   /* Acentos brillantes */
  --yellow: #FFD600;       /* Color Alerta · Amarillo Breaking News */
  --yellow-dark: #FFD21F;  /* Amarillo secundario · degradados */
  --black: #1A1A1A;        /* Color Secundario · Negro corporativo */
  --black2: #0d0d0d;       /* Variante más oscura para contrastes */
  --navy: #1A237E;         /* Color Editorial · Azul oscuro */
  --navy-dark: #0D1357;    /* Variante más oscura del azul editorial */
  --navy-light: #3949AB;   /* Azul moderno · degradados y botones */
  --gray: #F5F5F5;         /* Color Apoyo · Gris claro */
  --gray2: #E0E0E0;        /* Gris medio */
  --text: #1A1A1A;         /* Texto principal */
  --text-light: #666666;   /* Texto secundario */
  --white: #FFFFFF;        /* Color Neutro */
  --shadow: 0 4px 24px rgba(0,0,0,0.13);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
  --shadow-glow: 0 8px 32px rgba(227, 6, 19, 0.25);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Gradientes inspirados en flyer */
  --grad-flag: linear-gradient(135deg, #1A1A1A 0%, #1A237E 50%, #E30613 100%);
  --grad-hero: linear-gradient(135deg, #1A1A1A 0%, #1A237E 60%, #1A237E 100%);
  --grad-red: linear-gradient(135deg, #E30613 0%, #8A0000 100%);
  --grad-red-yellow: linear-gradient(90deg, #E30613 0%, #FFD600 100%);
  --grad-yellow: linear-gradient(135deg, #FFD600 0%, #FFD21F 100%);
  --grad-navy: linear-gradient(135deg, #1A237E 0%, #0D1357 100%);
  --grad-banner: linear-gradient(120deg, #1A1A1A 0%, #1A237E 35%, #E30613 100%);
  --grad-section: linear-gradient(90deg, #E30613 0%, #FFD600 50%, #E30613 100%);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; font-weight: 400; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =====================================================================
   JERARQUÍA TIPOGRÁFICA OFICIAL · Manual de Marca ECG
   Familia única: Montserrat (400 → 900)
   ===================================================================== */
/* Titulares periodísticos → ExtraBold 800 */
.hero-title, .featured-title, .news-card h3, .news-title,
.section-title-premium, .post-title, h1.entry-title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
}
/* Subtítulos y categorías → Bold 700 */
.section-title, .section-title-premium, .cat-pill, .cat-mini, .cat-pill-mini,
.widget-header, .reels-section .section-title, h2, h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
}
/* Menú principal → SemiBold 600 */
.nav-list li a { font-weight: 600; }
/* Nombres de personas → SemiBold 600 */
.dir-name, .author-name, .byline-name, .comment-author { font-weight: 600; }
/* Información de contacto → Medium 500 */
.contact-info, .footer-contact, .social-handle { font-weight: 500; }
/* Botones y CTA → Bold 700 */
.btn, .btn-red, .btn-white, .cta-pill, .cta-box, .read-more,
button.btn, .admin-access-btn { font-family: 'Montserrat', sans-serif; font-weight: 700; }
/* Cargos, texto general y contenido → Regular 400 (heredado del body) */
.cargo, .role-title, .article-body, .post-content, p { font-weight: 400; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: var(--gray); } ::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

/* ===================== TICKER ===================== */
.ticker-bar {
  display: flex; align-items: center; overflow: hidden;
  height: 36px; background: var(--black); color: white; position: relative; z-index: 200;
}
.ticker-label {
  background: var(--red); color: white; padding: 0 18px;
  font-family: var(--font-title); font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap;
  height: 100%; display: flex; align-items: center; gap: 6px;
  flex-shrink: 0; position: relative; z-index: 2;
}
.ticker-label::after {
  content: ''; position: absolute; right: -10px; top: 0; bottom: 0;
  width: 20px; background: var(--red);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-content {
  display: flex; gap: 0; white-space: nowrap;
  animation: tickerMove 35s linear infinite;
}
.ticker-item {
  display: inline-block; padding: 0 40px;
  font-size: 13px; font-weight: 500; color: #eee;
}
.ticker-item::after { content: '●'; margin-left: 40px; color: var(--yellow); }
@keyframes tickerMove {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ===================== HEADER ===================== */
.site-header {
  background: var(--white); display: flex; align-items: center; gap: 16px;
  padding: 10px 24px; border-bottom: 3px solid var(--red);
  position: sticky; top: 0; z-index: 150; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 76px; width: auto; max-width: 320px; object-fit: contain; transition: transform var(--transition); }
.brand-logo:hover { transform: scale(1.04); }
/* Nombre solo para lectores de pantalla / SEO (el logo ya incluye el texto visible) */
.brand-name-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Lockup horizontal: isologo ECG · divisor · wordmark (EL CANAL DE LA GENTE) */
.brand-lockup { gap: 14px; }
.brand-iso { height: 64px; width: auto; object-fit: contain; transition: transform var(--transition); flex-shrink: 0; }
.brand-lockup:hover .brand-iso { transform: scale(1.04); }
.brand-divider { width: 2px; height: 46px; background: #d9d9d9; border-radius: 2px; flex-shrink: 0; }
.brand-word { height: 52px; width: auto; max-width: 260px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-title); font-size: 18px; font-weight: 900;
  color: var(--red); letter-spacing: 0.5px; line-height: 1.1;
}
.brand-slogan { font-size: 11px; color: var(--text-light); font-style: italic; letter-spacing: 0.5px; }
.search-box { display: flex; align-items: center; background: var(--gray); border-radius: 50px; overflow: hidden; flex: 1; max-width: 340px; margin-left: auto; }
.search-box input { flex: 1; padding: 9px 18px; background: none; border: none; outline: none; font-size: 14px; }
.search-box button { background: var(--red); color: white; padding: 9px 16px; font-size: 15px; transition: background var(--transition); }
.search-box button:hover { background: var(--red-dark); }
.social-icons { display: flex; gap: 8px; align-items: center; }
.social-icons a {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: white; transition: transform var(--transition), opacity 0.2s;
}
.social-icons a:hover { transform: scale(1.15); opacity: 0.9; }
.soc-fb { background: #1877F2; }
.soc-ig { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.soc-tt { background: #010101; }
.soc-yt { background: #FF0000; }
.soc-wa { background: #25D366; }
.admin-access-btn { display:flex;align-items:center;gap:5px;padding:6px 12px;background:rgba(227,6,19,0.08);border:1px solid rgba(227,6,19,0.3);border-radius:6px;color:#E30613;font-size:12px;font-weight:700;text-decoration:none;transition:all .2s;white-space:nowrap;letter-spacing:.3px; }
.admin-access-btn svg { width:13px;height:13px;stroke:#E30613;flex-shrink:0;transition:stroke .2s; }
.admin-access-btn:hover { background:#E30613;color:white;border-color:#E30613; }
.admin-access-btn:hover svg { stroke:white; }
.menu-hamburger { display: none; background: none; font-size: 24px; color: white; padding: 4px 10px; }

/* ===================== NAV ===================== */
.main-nav {
  background: linear-gradient(90deg, var(--red-dark) 0%, var(--red) 100%);
  position: sticky; top: 96px; z-index: 140; box-shadow: 0 3px 12px rgba(227,6,19,0.3);
}
.nav-list { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li { flex-shrink: 0; }
.nav-list li a {
  display: block; padding: 13px 16px; color: rgba(255,255,255,0.9);
  font-family: var(--font-title); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-list li a:hover, .nav-list li a.active { background: rgba(255,255,255,0.15); color: white; }
.live-pill {
  background: white !important; color: var(--red) !important;
  border-radius: 50px; padding: 7px 16px !important;
  font-weight: 900 !important; margin: 4px 8px;
  animation: livePulse 1.8s ease-in-out infinite;
}
.live-pill:hover { background: var(--yellow) !important; color: var(--black) !important; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); } 50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
.cta-pill {
  background: var(--yellow) !important; color: var(--black) !important;
  border-radius: 50px; padding: 7px 16px !important; font-weight: 900 !important;
  margin: 4px 8px;
}
.cta-pill:hover { background: white !important; }

/* ===================== HERO ===================== */
.hero {
  display: grid; grid-template-columns: 1fr 320px; gap: 0;
  min-height: 500px; background: var(--black2); margin-bottom: 0;
}
.hero-main { position: relative; overflow: hidden; }
.hero-slides { position: relative; height: 500px; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity 0.8s ease; cursor: pointer;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.55);
}
.hero-overlay {
  position: relative; z-index: 2; padding: 28px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
}
.cat-pill {
  display: inline-block; padding: 3px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  color: white; letter-spacing: 1px; margin-bottom: 10px; background: var(--red);
}
.hero-overlay h1 {
  font-family: var(--font-title); font-size: 30px; font-weight: 900;
  color: white; line-height: 1.2; margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-overlay p { color: rgba(255,255,255,0.82); font-size: 15px; margin-bottom: 12px; }
.hero-meta { color: rgba(255,255,255,0.6); font-size: 13px; }
.hero-dots { position: absolute; bottom: 16px; right: 16px; display: flex; gap: 6px; z-index: 3; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: background 0.2s; }
.hero-dot.active { background: var(--yellow); width: 22px; border-radius: 4px; }
/* Hero side */
.hero-side { background: var(--black); display: flex; flex-direction: column; }
.hero-side-header {
  background: var(--red); color: white; padding: 14px 18px;
  font-family: var(--font-title); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px;
}
.side-news-list { flex: 1; overflow-y: auto; }
.side-news {
  display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #2a2a2a;
  transition: background var(--transition); cursor: pointer;
}
.side-news:hover { background: #222; }
.side-news img { width: 70px; height: 55px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.side-news-text { flex: 1; }
.cat-mini { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--yellow); letter-spacing: 0.5px; }
.side-news h4 { color: white; font-size: 13px; font-weight: 600; line-height: 1.3; margin-top: 3px; }
.live-badge {
  background: var(--red); color: white; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; cursor: pointer; transition: background var(--transition);
}
.live-badge:hover { background: var(--red-dark); }
.live-dot { width: 10px; height: 10px; background: white; border-radius: 50%; animation: livePulse 1s ease-in-out infinite; }
.live-badge span { color: white; font-weight: 800; font-size: 14px; font-family: var(--font-title); }

/* ===================== SLOGAN BAND ===================== */
.slogan-band {
  background: var(--yellow); color: var(--black);
  padding: 12px 0; overflow: hidden; white-space: nowrap;
}
.slogan-band-inner {
  display: inline-block;
  animation: sloganScroll 20s linear infinite;
  font-family: var(--font-title); font-size: 13px; font-weight: 800;
  letter-spacing: 4px; text-transform: uppercase;
}
@keyframes sloganScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===================== CONTAINER ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===================== SECTION TITLES ===================== */
.section-title {
  font-family: var(--font-title); font-size: 20px; font-weight: 900;
  color: var(--black); padding: 8px 0 8px 16px;
  border-left: 5px solid var(--red); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.section-title.light { color: white; border-left-color: var(--yellow); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-header .ver-mas {
  font-size: 13px; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: 0.5px; transition: color var(--transition);
}
.section-header .ver-mas:hover { color: var(--red-dark); }

/* ===================== NEWS GRID ===================== */
.news-section { padding: 36px 0 0; }
.grid-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.news-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer; border: 1px solid var(--gray2);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--gray); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 14px 16px 16px; }
.card-body h3 {
  font-family: var(--font-title); font-size: 16px; font-weight: 800;
  line-height: 1.3; margin: 8px 0 6px; color: var(--black);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-body p { font-size: 13px; color: var(--text-light); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.card-meta span { font-size: 12px; color: var(--text-light); }
.card-meta .views { margin-left: auto; }

/* FEATURED (big card) */
.grid-featured { grid-template-columns: 1fr 1fr; }
.news-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.news-card.featured .card-img { aspect-ratio: auto; min-height: 260px; }
.news-card.featured .card-body h3 { font-size: 22px; -webkit-line-clamp: 4; }

/* ===================== REELS SECTION ===================== */
.reels-section { background: var(--black2); padding: 36px 0; margin: 36px 0; }
.reels-track { display: flex; gap: 16px; overflow-x: auto; padding: 0 20px 12px; scrollbar-width: thin; scrollbar-color: var(--red) #333; }
.reel-card {
  flex-shrink: 0; width: 180px; border-radius: var(--radius-lg); overflow: hidden;
  background: #222; position: relative; cursor: pointer;
  transition: transform var(--transition);
}
.reel-card:hover { transform: scale(1.04); }
.reel-thumb { width: 180px; height: 320px; object-fit: cover; display: block; }
.reel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 12px;
}
.reel-play {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; margin-bottom: 10px;
  transition: background var(--transition);
}
.reel-card:hover .reel-play { background: var(--red); }
.reel-title { color: white; font-size: 13px; font-weight: 700; line-height: 1.3; }

/* ===================== 2-COL LAYOUT ===================== */
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding: 36px 0; }
.aside-widget {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 24px; border: 1px solid var(--gray2);
}
.widget-header {
  background: var(--black); color: white; padding: 13px 18px;
  font-family: var(--font-title); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; display: flex; gap: 8px; align-items: center;
}
.widget-header.yellow { background: var(--yellow); color: var(--black); }
.widget-header.red { background: var(--red); }
.widget-body { padding: 16px; }
.widget-news { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gray2); cursor: pointer; }
.widget-news:last-child { border: none; }
.widget-news img { width: 60px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.widget-news h5 { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--black); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.widget-news span { font-size: 11px; color: var(--text-light); }

/* Director card */
.director-widget { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.director-widget img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); }
.director-widget h4 { font-family: var(--font-title); font-size: 15px; font-weight: 800; }
.director-widget p { font-size: 13px; color: var(--text-light); }

/* WA Button */
.wa-widget-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: white; padding: 14px; border-radius: 10px;
  font-weight: 800; font-size: 16px; cursor: pointer; transition: background var(--transition);
  text-decoration: none; margin: 0 16px 16px;
}
.wa-widget-btn:hover { background: #128C7E; }

/* ===================== CTA ROW ===================== */
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0; }
.cta-box { border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; }
.cta-box.red { background: linear-gradient(135deg, var(--red-dark), var(--red-light)); color: white; }
.cta-box.yellow { background: linear-gradient(135deg, var(--yellow-dark), var(--yellow)); color: var(--black); }
.cta-box h3 { font-family: var(--font-title); font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.cta-box p { font-size: 15px; margin-bottom: 20px; opacity: 0.9; }
.btn-white { display: inline-block; background: white; color: var(--red); padding: 12px 28px; border-radius: 50px; font-weight: 800; font-size: 14px; transition: transform var(--transition); }
.btn-white:hover { transform: scale(1.04); }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; padding: 12px 16px; border-radius: 50px; border: 2px solid rgba(0,0,0,0.2); font-size: 14px; background: rgba(255,255,255,0.6); }
.newsletter button { background: var(--black); color: white; padding: 12px 20px; border-radius: 50px; font-weight: 800; font-size: 13px; transition: background var(--transition); }
.newsletter button:hover { background: var(--red); color: white; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--black2); color: #aaa; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; padding: 0 20px; max-width: 1200px; margin: 0 auto; }
.footer-logo { width: 70px; margin-bottom: 14px; }
.footer-slogan { font-family: var(--font-title); font-size: 15px; font-weight: 800; color: var(--yellow); margin-bottom: 8px; }
.footer-about { font-size: 13px; line-height: 1.7; }
.footer-grid h4 { color: white; font-family: var(--font-title); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--red); }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul li a { font-size: 13px; color: #aaa; transition: color var(--transition); }
.footer-grid ul li a:hover { color: var(--yellow); }
.footer-contact p { font-size: 13px; margin-bottom: 8px; }
.footer-contact a { color: var(--yellow); }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: white;
}
.footer-bottom {
  text-align: center; padding: 20px; margin-top: 40px;
  border-top: 1px solid #2a2a2a; font-size: 12px; color: #555;
}

/* ===================== WA FLOAT ===================== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px;
  background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5); z-index: 999;
  animation: waBounce 2.5s ease-in-out infinite;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.12); }
@keyframes waBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===================== PAGES: ARTICLE ===================== */
.article-detail { padding: 36px 0 60px; max-width: 820px; }
.crumbs { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.crumbs a { color: var(--red); }
.article-detail h1 { font-family: var(--font-title); font-size: 38px; font-weight: 900; line-height: 1.2; margin: 12px 0 10px; }
.lead { font-size: 19px; color: var(--text-light); font-style: italic; margin-bottom: 18px; }
.article-meta { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--gray2); border-bottom: 1px solid var(--gray2); margin-bottom: 22px; flex-wrap: wrap; }
.article-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.article-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 28px; max-height: 480px; object-fit: cover; }
.article-body { font-size: 17px; line-height: 1.85; color: var(--text); }
.article-body p { margin-bottom: 18px; }
.article-sign { font-style: italic; color: var(--red); font-weight: 600; margin-top: 30px; padding-top: 20px; border-top: 2px dashed var(--gray2); }
.share-bar { display: flex; align-items: center; gap: 12px; padding: 20px 0; flex-wrap: wrap; }
.share-bar a { padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; color: white; }
.share-fb { background: #1877F2; } .share-wa { background: #25D366; } .share-tw { background: #1DA1F2; }

/* ===================== DENUNCIA PAGE ===================== */
.denuncia-page { padding: 50px 0; }
.denuncia-hero { background: linear-gradient(135deg, var(--red-dark), var(--red-light)); color: white; padding: 50px 40px; border-radius: var(--radius-lg); text-align: center; margin-bottom: 40px; }
.denuncia-hero h1 { font-family: var(--font-title); font-size: 36px; font-weight: 900; margin-bottom: 12px; }
.denuncia-hero p { font-size: 17px; opacity: 0.9; }
.denuncia-opciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.den-option {
  border-radius: var(--radius-lg); padding: 30px 20px; text-align: center;
  color: white; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition);
}
.den-option:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.den-option.wa { background: linear-gradient(135deg, #128C7E, #25D366); }
.den-option.form { background: linear-gradient(135deg, #1565C0, #1E88E5); }
.den-option.call { background: linear-gradient(135deg, var(--red-dark), var(--red-light)); }
.den-option .icon { font-size: 40px; margin-bottom: 12px; }
.den-option h3 { font-family: var(--font-title); font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.den-option p { font-size: 14px; opacity: 0.9; }

/* ===================== FORM ===================== */
.form-grande { display: flex; flex-direction: column; gap: 16px; }
.form-grande label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form-grande input, .form-grande textarea, .form-grande select {
  padding: 12px 16px; border: 2px solid var(--gray2); border-radius: 10px;
  font-size: 15px; transition: border-color var(--transition);
  background: var(--white); color: var(--text);
}
.form-grande input:focus, .form-grande textarea:focus { border-color: var(--red); outline: none; }
.form-grande textarea { resize: vertical; min-height: 120px; }
.btn-red {
  background: linear-gradient(135deg, var(--red-dark), var(--red-light));
  color: white; padding: 14px 32px; border-radius: 50px;
  font-family: var(--font-title); font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-block; border: none; cursor: pointer; text-align: center;
}
.btn-red:hover { transform: scale(1.03); box-shadow: 0 6px 24px rgba(227,6,19,0.4); }
.alert-ok { background: #E8F5E9; border-left: 5px solid #2E7D32; color: #1B5E20; padding: 16px 20px; border-radius: 10px; font-weight: 600; }
.alert-error { background: #FFEBEE; border-left: 5px solid var(--red); color: var(--red-dark); padding: 14px 18px; border-radius: 10px; font-weight: 600; }

/* ===================== EN VIVO PAGE ===================== */
.live-embed iframe { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); background: var(--black); }
.envivo-page { padding: 40px 0; }
.envivo-page h1 { font-family: var(--font-title); font-size: 36px; font-weight: 900; margin-bottom: 24px; }

/* ===================== NOSOTROS ===================== */
.nosotros-page { padding: 50px 0; }
.nosotros-page h1 { font-family: var(--font-title); font-size: 38px; font-weight: 900; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 4px solid var(--red); }
.director-card { display: flex; gap: 28px; align-items: flex-start; background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); margin-bottom: 40px; border: 1px solid var(--gray2); }
.director-photo { width: 160px; height: 200px; object-fit: cover; border-radius: var(--radius-lg); flex-shrink: 0; border: 4px solid var(--red); }
.director-info h2 { font-family: var(--font-title); font-size: 28px; font-weight: 900; color: var(--black); margin-bottom: 4px; }
.director-info .role { color: var(--red); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.director-info p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.cert-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gray); padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--black); margin-top: 8px; }

/* ===================== PAUTA PAGE ===================== */
.pauta-page { padding: 50px 0; }
.pauta-hero { background: linear-gradient(135deg, var(--black2), #2D2D2D); color: white; padding: 50px; border-radius: var(--radius-lg); text-align: center; margin-bottom: 40px; }
.pauta-hero h1 { font-family: var(--font-title); font-size: 38px; font-weight: 900; margin-bottom: 12px; }
.pauta-hero p { font-size: 17px; color: #aaa; }
.pauta-stats { display: flex; justify-content: center; gap: 40px; margin-top: 28px; }
.pauta-stat h3 { font-family: var(--font-title); font-size: 36px; font-weight: 900; color: var(--yellow); }
.pauta-stat p { color: #aaa; font-size: 14px; }
.pauta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.pack { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); border: 2px solid var(--gray2); text-align: center; transition: border-color var(--transition), transform var(--transition); }
.pack:hover { border-color: var(--red); transform: translateY(-4px); }
.pack.featured { border-color: var(--red); background: linear-gradient(135deg, #FFF5F5, #FFF); }
.pack h3 { font-family: var(--font-title); font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.pack p { color: var(--text-light); font-size: 14px; margin-bottom: 18px; }
.pack .badge { display: inline-block; background: var(--red); color: white; padding: 3px 12px; border-radius: 50px; font-size: 11px; font-weight: 800; margin-bottom: 12px; }

/* ===================== CONTACTO PAGE ===================== */
.contacto-page { padding: 50px 0; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; margin-top: 30px; }
.contacto-info h3 { font-family: var(--font-title); font-size: 16px; font-weight: 800; color: var(--red); margin: 20px 0 6px; }
.contacto-info h3:first-child { margin-top: 0; }
.contacto-info p { font-size: 15px; }
.contacto-info a { color: var(--red); font-weight: 600; }

/* ===================== MULTIMEDIA ===================== */
.multimedia-page { padding: 40px 0; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.media-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--black); position: relative; cursor: pointer; box-shadow: var(--shadow); }
.media-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: 0.8; transition: opacity var(--transition); }
.media-card:hover img { opacity: 1; }
.media-card-info { padding: 14px; background: var(--black); }
.media-card-info h4 { color: white; font-size: 15px; font-weight: 700; }
.media-card-info span { color: #888; font-size: 12px; }
.media-type-badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: white; padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 800; }

/* ===================== PODCAST PAGE ===================== */
.podcast-list { display: flex; flex-direction: column; gap: 16px; padding: 30px 0; }
.podcast-ep { display: flex; gap: 18px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--gray2); }
.ep-num { width: 50px; height: 50px; background: var(--red); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 18px; font-weight: 900; flex-shrink: 0; }
.ep-info { flex: 1; }
.ep-info h4 { font-family: var(--font-title); font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.ep-info p { font-size: 13px; color: var(--text-light); }
.ep-play { background: var(--red); color: white; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; transition: background var(--transition); }
.ep-play:hover { background: var(--red-dark); }

/* ===================== PAGINATION ===================== */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 30px 0; }
.pagination a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; border: 2px solid var(--gray2); color: var(--text); transition: all var(--transition); }
.pagination a.active, .pagination a:hover { background: var(--red); color: white; border-color: var(--red); }

/* ===================== ADMIN STYLES ===================== */
body.admin-body { display: flex; min-height: 100vh; background: #0F0F0F; font-family: var(--font-body); }
.admin-sidebar {
  width: 240px; background: #1A1A1A; height: 100vh;
  position: fixed; left: 0; top: 0; z-index: 200;
  display: flex; flex-direction: column; overflow-y: auto;
  border-right: 1px solid #2A2A2A;
}
.admin-brand {
  display: flex; align-items: center; gap: 10px; padding: 20px 16px;
  border-bottom: 1px solid #2A2A2A; text-decoration: none;
}
.admin-brand img { width: 42px; height: 42px; }
.admin-brand span { color: white; font-family: var(--font-title); font-size: 13px; font-weight: 800; line-height: 1.2; }
.admin-sidebar nav { display: flex; flex-direction: column; padding: 12px 0; flex: 1; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 10px; padding: 11px 18px;
  color: #999; font-size: 14px; font-weight: 600;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(227,6,19,0.15); color: white; }
.admin-sidebar nav a.active { border-right: 3px solid var(--red); }
.admin-sidebar nav a .nav-icon { font-size: 16px; width: 20px; text-align: center; }
.sidebar-section { padding: 8px 18px 4px; color: #444; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }
.admin-main { margin-left: 240px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar {
  background: #1A1A1A; border-bottom: 1px solid #2A2A2A;
  padding: 0 28px; height: 64px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 100;
}
.admin-topbar h1 { color: white; font-family: var(--font-title); font-size: 20px; font-weight: 800; }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.admin-user-info span { color: white; font-weight: 700; font-size: 14px; display: block; }
.admin-user-info small { color: #888; font-size: 11px; }
.admin-content { padding: 28px; flex: 1; }

/* DASHBOARD STATS */
.dash-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card {
  border-radius: var(--radius-lg); padding: 22px 18px; position: relative; overflow: hidden;
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card.red { background: linear-gradient(135deg, var(--red-dark), var(--red-light)); color: white; }
.stat-card.yellow { background: linear-gradient(135deg, var(--yellow-dark), var(--yellow)); color: var(--black); }
.stat-card.dark { background: linear-gradient(135deg, #2A2A2A, #3A3A3A); color: white; }
.stat-card.green { background: linear-gradient(135deg, #1B5E20, #2E7D32); color: white; }
.stat-card.blue { background: linear-gradient(135deg, #0D47A1, #1565C0); color: white; }
.stat-card h3 { font-family: var(--font-title); font-size: 34px; font-weight: 900; line-height: 1; }
.stat-card p { font-size: 13px; margin-top: 4px; opacity: 0.85; font-weight: 600; }
.stat-card .stat-icon { position: absolute; right: 14px; top: 14px; font-size: 28px; opacity: 0.3; }
.stat-card .trend { font-size: 12px; margin-top: 6px; }

/* ADMIN PANELS */
.admin-panel { background: #1E1E1E; border-radius: var(--radius-lg); border: 1px solid #2A2A2A; overflow: hidden; margin-bottom: 24px; }
.panel-header { padding: 16px 22px; border-bottom: 1px solid #2A2A2A; display: flex; align-items: center; justify-content: space-between; }
.panel-header h3 { color: white; font-family: var(--font-title); font-size: 16px; font-weight: 800; }
.panel-body { padding: 22px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 800; text-transform: uppercase; color: #666; letter-spacing: 0.5px; border-bottom: 1px solid #2A2A2A; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid #1A1A1A; color: #ccc; font-size: 14px; vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255,255,255,0.03); }
.admin-table tr:last-child td { border: none; }
.news-thumb-mini { width: 60px; height: 42px; object-fit: cover; border-radius: 6px; }
.badge-estado { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 800; }
.badge-publicada { background: rgba(46,125,50,0.2); color: #66BB6A; }
.badge-borrador { background: rgba(255,152,0,0.2); color: #FFA726; }
.badge-revision { background: rgba(21,101,192,0.2); color: #42A5F5; }
.badge-nueva { background: rgba(227,6,19,0.2); color: #EF5350; }
.btn-admin { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all var(--transition); border: none; }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); }
.btn-success { background: #2E7D32; color: white; }
.btn-warning { background: #E65100; color: white; }
.btn-secondary { background: #2A2A2A; color: #ccc; }
.btn-secondary:hover { background: #333; color: white; }
.btn-danger { background: transparent; color: #EF5350; border: 1px solid #EF5350; }
.btn-danger:hover { background: #EF5350; color: white; }
.action-btns { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* ADMIN FORM */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form-group { display: flex; flex-direction: column; gap: 6px; }
.admin-form-group.full { grid-column: 1/-1; }
.admin-form-group label { color: #aaa; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-form-group input, .admin-form-group select, .admin-form-group textarea {
  background: #2A2A2A; border: 1px solid #3A3A3A; color: white;
  padding: 10px 14px; border-radius: 8px; font-size: 14px;
  transition: border-color var(--transition);
}
.admin-form-group input:focus, .admin-form-group select:focus, .admin-form-group textarea:focus { border-color: var(--red); outline: none; }
.admin-form-group textarea { resize: vertical; min-height: 150px; }
.admin-form-group select option { background: #2A2A2A; }
.form-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ADMIN SEARCH */
.admin-search { background: #2A2A2A; border: 1px solid #3A3A3A; color: white; padding: 9px 16px; border-radius: 8px; font-size: 14px; width: 280px; }
.admin-search::placeholder { color: #666; }

/* TICKER ADMIN */
.ticker-list { display: flex; flex-direction: column; gap: 10px; }
.ticker-item-admin { display: flex; align-items: center; gap: 12px; background: #2A2A2A; border-radius: 10px; padding: 12px 16px; }
.ticker-item-admin span { flex: 1; color: #ddd; font-size: 14px; }
.ticker-item-admin .priority { background: var(--yellow); color: var(--black); padding: 2px 8px; border-radius: 50px; font-size: 11px; font-weight: 800; }

/* CHART PLACEHOLDER */
.chart-placeholder { height: 200px; background: #2A2A2A; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #555; font-size: 14px; }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; padding: 10px 0; }
.bar { background: var(--red); border-radius: 4px 4px 0 0; flex: 1; transition: height 0.5s ease; opacity: 0.8; }
.bar:hover { opacity: 1; }

/* MEDIA LIBRARY */
.media-library { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.media-thumb { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; position: relative; background: #2A2A2A; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.media-thumb:hover { border-color: var(--red); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); }
.media-thumb:hover .media-thumb-overlay { opacity: 1; }

/* USERS TABLE */
.user-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.role-badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 800; }
.role-superadmin { background: rgba(227,6,19,0.2); color: #EF5350; }
.role-admin { background: rgba(255,152,0,0.2); color: #FFA726; }
.role-editor { background: rgba(21,101,192,0.2); color: #42A5F5; }
.role-periodista { background: rgba(46,125,50,0.2); color: #66BB6A; }
.role-cm { background: rgba(156,39,176,0.2); color: #AB47BC; }

/* AD ZONES */
.ad-zone { border: 2px dashed #3A3A3A; border-radius: 10px; padding: 14px; display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ad-zone-label { font-size: 12px; font-weight: 800; text-transform: uppercase; color: #888; letter-spacing: 0.5px; }
.ad-img-preview { width: 80px; height: 50px; object-fit: cover; border-radius: 6px; background: #2A2A2A; }

/* LOGIN */
body.login-body { background: linear-gradient(135deg, #1A1A1A 0%, #1A1A1A 50%, #1A1A1A 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); }
.login-box { background: #1E1E1E; border-radius: var(--radius-lg); padding: 44px 40px; width: 380px; max-width: calc(100vw - 40px); box-shadow: 0 20px 80px rgba(0,0,0,0.6); border: 1px solid #2A2A2A; text-align: center; }
.login-logo { width: 90px; margin: 0 auto 20px; }
.login-box h1 { color: white; font-family: var(--font-title); font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.login-box p { color: #888; font-size: 14px; margin-bottom: 28px; }
.login-box .form-grande input { background: #2A2A2A; border-color: #3A3A3A; color: white; }
.login-box .form-grande input:focus { border-color: var(--red); }
.login-box .form-grande input::placeholder { color: #666; }
.login-box .btn-red { width: 100%; margin-top: 4px; justify-content: center; }
.login-footer { margin-top: 24px; color: #555; font-size: 12px; }

/* NOTIFICATION TOAST */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: #1E1E1E; color: white; padding: 14px 28px; border-radius: 50px; font-size: 14px; font-weight: 600; border-left: 4px solid var(--red); box-shadow: var(--shadow-lg); z-index: 9999; transition: transform 0.4s ease; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-left-color: #2E7D32; }

/* RICH EDITOR TOOLBAR */
.editor-toolbar { display: flex; gap: 6px; padding: 10px; background: #2A2A2A; border-radius: 8px 8px 0 0; flex-wrap: wrap; }
.editor-btn { background: #3A3A3A; color: #ccc; border: none; padding: 6px 10px; border-radius: 5px; font-size: 13px; cursor: pointer; transition: background var(--transition); }
.editor-btn:hover { background: var(--red); color: white; }
.editor-area { background: #2A2A2A; border: 1px solid #3A3A3A; border-top: none; border-radius: 0 0 8px 8px; color: white; padding: 16px; min-height: 300px; outline: none; font-size: 15px; line-height: 1.7; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: #1E1E1E; border-radius: var(--radius-lg); padding: 32px; width: 500px; max-width: calc(100vw - 40px); border: 1px solid #2A2A2A; transform: scale(0.95); transition: transform var(--transition); }
.modal-overlay.open .modal { transform: scale(1); }
.modal h2 { color: white; font-family: var(--font-title); font-size: 20px; font-weight: 800; margin-bottom: 24px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

/* ===================== TABS ===================== */
.tabs { display: flex; gap: 0; border-bottom: 2px solid #2A2A2A; margin-bottom: 24px; }
.tab { padding: 10px 20px; color: #888; font-size: 14px; font-weight: 700; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color var(--transition), border-color var(--transition); }
.tab.active { color: var(--red); border-bottom-color: var(--red); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .dash-stats { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* ── HEADER MÓVIL ──────────────────────────────────────────────────────
     Mantiene la misma identidad que el escritorio, reorganizada en 3 filas:
       fila 1 → logo (izq) + botón Administrar compacto + hamburguesa
       fila 2 → buscador full-width
       fila 3 → iconos de redes sociales centrados
     ------------------------------------------------------------------- */
  .site-header { padding: 8px 12px; gap: 8px; flex-wrap: wrap; row-gap: 8px; }
  .brand-name { font-size: 14px; }
  .brand-logo { height: 40px; width: auto; max-width: 165px; }
  .brand { order: 1; margin-right: auto; }
  .brand-lockup { gap: 7px; }
  .brand-iso { height: 40px; }
  .brand-divider { height: 26px; }
  .brand-word { height: 27px; max-width: 125px; }

  /* Administrar: compacto para no robar espacio al logo */
  .admin-access-btn { order: 2; padding: 6px 10px; font-size: 11px; gap: 4px; letter-spacing: 0; }
  .admin-access-btn svg { width: 12px; height: 12px; }

  .menu-hamburger { display: block; order: 3; padding: 4px 6px; font-size: 22px; }

  /* Buscador: fila propia, cómodo de tocar */
  .search-box {
    display: flex;
    order: 4;
    flex-basis: 100%;
    max-width: 100%;
    margin: 0;
    height: 42px;
  }
  .search-box input { font-size: 15px; padding: 10px 16px; }
  .search-box button { padding: 10px 18px; }

  /* Redes sociales: visibles también en móvil (antes estaban ocultas) */
  .social-icons {
    display: flex;
    order: 5;
    flex-basis: 100%;
    justify-content: center;
    gap: 10px;
    margin: 0;
  }
  .social-icons a { width: 32px; height: 32px; font-size: 13px; }

  .main-nav { top: 74px; }
  .nav-list { flex-wrap: nowrap; }
  .hero { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .hero-slides { height: 350px; }
  .hero-overlay h1 { font-size: 20px; }
  .grid-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .news-card.featured { grid-column: 1/-1; grid-template-columns: 1fr; }
  .cta-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .denuncia-opciones { grid-template-columns: 1fr; }
  .pauta-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .director-card { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .admin-main { margin-left: 0; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-cards { grid-template-columns: 1fr; }
  .article-detail h1 { font-size: 26px; }
  .pauta-stats { flex-wrap: wrap; gap: 20px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  /* Pantallas angostas: se mantiene la identidad completa, solo más compacta */
  .brand-iso { height: 36px; }
  .brand-divider { height: 22px; }
  .brand-word { height: 23px; max-width: 108px; }
  .brand-logo { height: 36px; max-width: 145px; }
  .admin-access-btn { padding: 6px 9px; font-size: 10.5px; }
  .social-icons { gap: 8px; }
  .social-icons a { width: 30px; height: 30px; font-size: 12px; }
}

/* Teléfonos muy pequeños (≤360px): el wordmark ya no cabe junto al botón,
   se deja solo el isologo ECG para que nada se corte. */
@media (max-width: 360px) {
  .brand-lockup .brand-divider,
  .brand-lockup .brand-word { display: none; }
  .brand-iso { height: 38px; }
  .social-icons a { width: 28px; height: 28px; font-size: 11px; }
}

/* =====================================================
   MEJORAS VISUALES — MARCA · DIRECTOR · TARJETAS
   ===================================================== */

/* ── Director foto real ── */
.director-photo-wrap {
  position: relative; width: 160px; height: 200px; flex-shrink: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 4px solid var(--red); box-shadow: 0 8px 30px rgba(227,6,19,0.3);
}
.director-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.director-photo-wrap .director-fallback {
  width: 100%; height: 100%; background: linear-gradient(160deg,#1A1A1A,#3d0000);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.director-fallback .dir-initials {
  width: 70px; height: 70px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-size: 26px; font-weight: 900; color: white;
}
.director-fallback .dir-name {
  font-family: var(--font-title); font-size: 11px; font-weight: 800;
  color: rgba(255,255,255,0.8); text-align: center; line-height: 1.4; padding: 0 8px;
}

/* Director widget en sidebar */
.director-widget .dir-photo-circle {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--red); box-shadow: 0 4px 20px rgba(227,6,19,0.25);
  margin: 0 auto; flex-shrink: 0;
}
.director-widget .dir-photo-circle img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.director-widget .dir-photo-circle .director-fallback {
  width: 100%; height: 100%; background: linear-gradient(160deg,#1A1A1A,#3d0000);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-size: 28px; font-weight: 900; color: white;
}

/* ── Tarjetas de noticias con marca ── */
.card-img-branded {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1A1A1A 0%, #2d0000 100%);
}
.card-img-branded::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/logo.svg') center/55% no-repeat;
  opacity: 0.08; filter: grayscale(1) brightness(2);
}
.card-img-branded .card-cat-overlay {
  position: absolute; bottom: 8px; left: 8px;
  background: var(--red); color: white; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px;
}
.card-img-branded .card-img-icon {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  height: 100%; width: 100%; font-size: 38px; opacity: .7;
}

/* ── News card category color accents ── */
.card-deportes { background: linear-gradient(135deg,#7b1c00,#b33000); }
.card-ambiente { background: linear-gradient(135deg,#004d30,#006641); }
.card-politica { background: linear-gradient(135deg,#1a0050,#2e0080); }
.card-judicial  { background: linear-gradient(135deg,#1a1a00,#3d3d00); }
.card-salud     { background: linear-gradient(135deg,#004d4d,#006666); }
.card-educacion { background: linear-gradient(135deg,#400040,#660066); }
.card-cultura   { background: linear-gradient(135deg,#002060,#003090); }
.card-nacional  { background: linear-gradient(135deg,#1a0a00,#4d2000); }

/* ── Header: logo combinado prominente (ECG + nombre) ── */
.brand-logo { height: 60px !important; width: auto !important; max-width: 300px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15)); transition: transform .3s; }
.brand-logo:hover { transform: scale(1.04); }

/* ── Breaking news box ── */
.breaking-box {
  background: var(--red); color: white; border-radius: var(--radius);
  padding: 14px 18px; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px;
}
.breaking-label {
  background: white; color: var(--red); font-weight: 900; font-size: 10px;
  padding: 3px 8px; border-radius: 4px; letter-spacing: 1px; white-space: nowrap; margin-top: 2px; flex-shrink: 0;
}
.breaking-text { font-size: 14px; font-weight: 600; line-height: 1.5; }

/* ── Section title premium ── */
.section-title-premium {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-size: 20px; font-weight: 900;
  color: var(--black); margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
}
.section-title-premium::before {
  content: ''; display: block; width: 5px; height: 24px;
  background: var(--red); border-radius: 3px; flex-shrink: 0;
}
.section-title-premium .badge-count {
  margin-left: auto; background: var(--red); color: white;
  font-size: 11px; padding: 2px 8px; border-radius: 20px;
}
/* ── Social share panel (admin) ── */
.social-share-panel { display: flex; flex-direction: column; gap: 10px; }
.social-post-preview {
  background: #2A2A2A; border-radius: 8px; padding: 12px; position: relative;
}
.social-post-preview textarea {
  width: 100%; background: transparent; border: none; color: #ccc;
  font-size: 13px; line-height: 1.6; resize: vertical; min-height: 120px;
  outline: none; font-family: inherit;
}
.btn-facebook { background: #1877F2; color: white; border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; text-decoration: none; justify-content: center; transition: opacity .2s; }
.btn-facebook:hover { opacity: .85; }
.btn-whatsapp-share { background: #25D366; color: white; border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; text-decoration: none; justify-content: center; transition: opacity .2s; }
.btn-whatsapp-share:hover { opacity: .85; }
.btn-copy-post { background: #3A3A3A; color: #ccc; border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; border: 1px solid #4A4A4A; transition: all .2s; }
.btn-copy-post:hover { background: var(--red); color: white; border-color: var(--red); }
