/* ============================================
   NOTICIAS AL DÍA — MAIN STYLESHEET
   Portal de Noticias Latinoamericano
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&family=Barlow+Condensed:wght@400;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --red:        #cc0000;
  --red-bright: #e60000;
  --red-dark:   #990000;
  --black:      #0a0a0a;
  --dark:       #111111;
  --dark2:      #181818;
  --dark3:      #222222;
  --dark4:      #2a2a2a;
  --border:     #333333;
  --text:       #e8e8e8;
  --text-muted: #999999;
  --text-dim:   #666666;
  --white:      #ffffff;
  --gold:       #f5a623;

  --font-headline: 'Oswald', 'Arial Narrow', sans-serif;
  --font-condensed:'Barlow Condensed', sans-serif;
  --font-body:     'Source Serif 4', Georgia, serif;

  --max-width: 1280px;
  --header-h:  64px;
  --ticker-h:  38px;
  --radius:    3px;
  --shadow:    0 4px 20px rgba(0,0,0,.6);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.4);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-bright); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utility ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }
.visually-hidden { @extend .sr-only; }

/* ============================================
   BREAKING NEWS TICKER
   ============================================ */
.breaking-ticker {
  background: var(--red);
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 100;
  border-bottom: 2px solid var(--red-dark);
}
.ticker-label {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-headline);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  border-right: 3px solid var(--red-bright);
  position: relative;
  z-index: 2;
}
.ticker-label::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 10px solid var(--black);
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  align-items: center;
  gap: 0;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-condensed);
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  padding: 0 32px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-item::after {
  content: '●';
  font-size: .45rem;
  color: rgba(255,255,255,.5);
  margin-left: 8px;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--dark);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 20px rgba(0,0,0,.8);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}
.site-logo img,
.site-logo .custom-logo,
.custom-logo-link img {
  height: 44px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain;
  display: block;
}
/* WordPress wraps custom logo in <a> — neutralize */
.custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}
.site-logo span {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.site-logo span em {
  color: var(--red);
  font-style: normal;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-family: var(--font-headline);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all .2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .2s;
}
.main-nav a:hover,
.main-nav a.current { color: var(--white); }
.main-nav a:hover::after,
.main-nav a.current::after { transform: scaleX(1); }
.main-nav a.cat-deportes:hover,
.main-nav a.cat-deportes.current { color: #4fc3f7; }
.main-nav a.cat-deportes::after { background: #4fc3f7; }
.main-nav a.cat-politica:hover,
.main-nav a.cat-politica.current { color: var(--gold); }
.main-nav a.cat-politica::after { background: var(--gold); }

/* Social & Search */
.header-actions { display: flex; align-items: center; gap: 12px; }
.social-links { display: flex; gap: 8px; }
.social-links a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--dark3);
  color: var(--text-muted);
  transition: all .2s;
}
.social-links a:hover { background: var(--red); color: var(--white); transform: scale(1.1); }
.social-links svg { width: 15px; height: 15px; fill: currentColor; }

/* Search */
.header-search { position: relative; }
.search-toggle {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark3);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: all .2s;
}
.search-toggle:hover { background: var(--red); color: var(--white); }
.search-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.search-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: none;
  box-shadow: var(--shadow);
}
.search-dropdown.open { display: block; }
.search-dropdown input {
  width: 100%;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: 8px 12px;
  outline: none;
  transition: border-color .2s;
}
.search-dropdown input:focus { border-color: var(--red); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--dark3);
  border-radius: var(--radius);
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: all .3s;
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* AdSense Header */
.ad-header {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  text-align: center;
}
.ad-label {
  font-family: var(--font-condensed);
  font-size: .65rem;
  color: var(--text-dim);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  background: var(--dark);
  padding: 24px 0 32px;
  border-bottom: 3px solid var(--red);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto auto;
  gap: 3px;
}

/* Hero Main */
.hero-main {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark3);
  min-height: 480px;
  cursor: pointer;
  display: block;
}
.hero-main .post-thumb,
.hero-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.hero-main:hover .post-thumb { transform: scale(1.04); }
.hero-main .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.96) 0%,
    rgba(0,0,0,.7) 40%,
    rgba(0,0,0,.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.hero-main .cat-badge {
  align-self: flex-start;
  margin-bottom: 12px;
}
.hero-main .hero-title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
  margin-bottom: 10px;
}
.hero-main .hero-meta {
  font-family: var(--font-condensed);
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  display: flex;
  gap: 12px;
}

/* Hero Secondary */
.hero-secondary {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark3);
  flex: 1;
  min-height: 150px;
  cursor: pointer;
}
.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.hero-card:hover img { transform: scale(1.06); }
.hero-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.hero-card .card-title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

/* Category Badge */
.cat-badge {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  background: var(--red);
  color: var(--white);
}
.cat-badge.deportes  { background: #0277bd; }
.cat-badge.politica  { background: #5d4037; }
.cat-badge.virales   { background: #6a1b9a; }
.cat-badge.tendencias{ background: #2e7d32; }

/* ============================================
   MAIN LAYOUT
   ============================================ */
.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 16px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.content-area { min-width: 0; }
.sidebar { min-width: 0; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--border);
  position: relative;
}
.section-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red);
}
.section-title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}
.section-more {
  font-family: var(--font-condensed);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 12px;
  border-radius: var(--radius);
  transition: all .2s;
}
.section-more:hover { background: var(--red); color: var(--white); }

/* ============================================
   NEWS CARD (template-parts/card-news.php)
   ============================================ */
.news-section { margin-bottom: 48px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.news-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.news-grid.grid-list { grid-template-columns: 1fr; }

.news-card {
  background: var(--dark2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.news-card .card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark4);
}
.news-card .card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}
.news-card:hover .card-thumb img { transform: scale(1.06); }
.news-card .card-thumb .cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.news-card .card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-card .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: .72rem;
  color: var(--text-dim);
}
.news-card .card-meta .dot { color: var(--border); }
.news-card .card-title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  transition: color .2s;
  flex: 1;
}
.news-card:hover .card-title { color: var(--white); }
.news-card .card-excerpt {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* List Card Variant */
.news-card.card-list {
  flex-direction: row;
  gap: 0;
}
.news-card.card-list .card-thumb {
  width: 140px;
  flex-shrink: 0;
  aspect-ratio: unset;
  height: 100px;
}
.news-card.card-list .card-body { padding: 12px; }
.news-card.card-list .card-title { font-size: .9rem; }

/* ============================================
   FEATURED ROW (Top Story)
   ============================================ */
.featured-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3px;
  margin-bottom: 48px;
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-main {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--dark3);
}
.featured-main img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
  display: block;
}
.featured-main:hover img { transform: scale(1.04); }
.featured-main .feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.featured-main .feat-title {
  font-family: var(--font-headline);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-top: 10px;
}
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.featured-side-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--dark3);
  min-height: 116px;
}
.featured-side-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
  display: block;
}
.featured-side-item:hover img { transform: scale(1.07); }
.featured-side-item .side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  gap: 5px;
}
.featured-side-item .side-title {
  font-family: var(--font-headline);
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-header { margin-bottom: 28px; }
.single-cats { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.single-title {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}
.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.single-meta span {
  font-family: var(--font-condensed);
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.single-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
.single-meta .author-name { color: var(--red); font-weight: 600; }

.single-featured-img {
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.single-featured-img img { width: 100%; height: auto; }
.single-featured-img figcaption {
  padding: 8px 14px;
  font-size: .75rem;
  color: var(--text-dim);
  background: var(--dark2);
  font-style: italic;
}

/* Article Content */
.article-content {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d0d0d0;
}
.article-content p { margin-bottom: 1.4em; }
.article-content h2 {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 2em 0 .7em;
  padding-bottom: .5em;
  border-bottom: 2px solid var(--red);
}
.article-content h3 {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  color: var(--white);
  margin: 1.8em 0 .6em;
}
.article-content blockquote {
  border-left: 4px solid var(--red);
  padding: 14px 20px;
  background: var(--dark2);
  margin: 1.5em 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}
.article-content ul, .article-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: .5em; }
.article-content a { color: var(--red-bright); text-decoration: underline; }
.article-content img { border-radius: var(--radius); margin: 1.5em auto; }

/* Share Bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
  flex-wrap: wrap;
}
.share-label {
  font-family: var(--font-headline);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--radius);
  font-family: var(--font-condensed);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--white);
  transition: opacity .2s;
}
.share-btn:hover { opacity: .85; color: var(--white); }
.share-btn svg { width: 15px; height: 15px; fill: currentColor; }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #000; }
.share-btn.wa { background: #25d366; }

/* Related Posts */
.related-posts { margin-top: 48px; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar-widget {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 28px;
  overflow: hidden;
}
.widget-title {
  font-family: var(--font-headline);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 12px 16px;
  background: var(--dark3);
  border-bottom: 2px solid var(--red);
}
.widget-body { padding: 16px; }

/* Popular Posts Widget */
.popular-list { display: flex; flex-direction: column; gap: 14px; }
.popular-item { display: flex; gap: 12px; align-items: flex-start; }
.popular-num {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  min-width: 28px;
}
.popular-title {
  font-family: var(--font-condensed);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  transition: color .2s;
}
.popular-title:hover { color: var(--red-bright); }
.popular-date {
  font-size: .72rem;
  color: var(--text-dim);
  margin-top: 3px;
  font-family: var(--font-condensed);
}

/* Category Widget */
.cat-list { display: flex; flex-direction: column; gap: 2px; }
.cat-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-condensed);
  font-size: .88rem;
  color: var(--text-muted);
  transition: color .2s;
}
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item:hover { color: var(--white); }
.cat-count {
  background: var(--dark4);
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-dim);
}

/* Ad Sidebar */
.ad-sidebar { text-align: center; }

/* ============================================
   ARCHIVE / CATEGORY
   ============================================ */
.archive-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--red);
}
.archive-label {
  font-family: var(--font-condensed);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.archive-title {
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
}
.archive-count {
  font-family: var(--font-condensed);
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.archive-grid { margin-bottom: 40px; }

/* Pagination */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-condensed);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
}
.pagination a:hover,
.pagination span.current {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--red);
  margin-top: 60px;
}
.footer-top {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img { height: 50px; margin-bottom: 14px; }
.footer-brand p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all .2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col-title {
  font-family: var(--font-headline);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .85rem;
  color: var(--text-muted);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--red); font-size: 1.1rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: .78rem;
  color: var(--text-dim);
}
.footer-copy a { color: var(--red); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a {
  font-size: .78rem;
  color: var(--text-dim);
  transition: color .2s;
}
.footer-legal a:hover { color: var(--text); }

/* ============================================
   COMMENTS
   ============================================ */
.comments-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 3px solid var(--border);
}
.comments-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.comment-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.comment-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.comment-author {
  font-family: var(--font-condensed);
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.comment-date { font-size: .72rem; color: var(--text-dim); margin-bottom: 10px; }
.comment-text { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* Comment Form */
.comment-form-wrap { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.comment-form-title {
  font-family: var(--font-headline);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--font-condensed); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.form-field input,
.form-field textarea {
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--red); }
.form-field textarea { min-height: 120px; resize: vertical; }
.submit-btn {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-headline);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background .2s;
  cursor: pointer;
}
.submit-btn:hover { background: var(--red-bright); }

/* ============================================
   404 / NO RESULTS
   ============================================ */
.not-found-wrap {
  text-align: center;
  padding: 80px 20px;
}
.not-found-wrap h1 {
  font-family: var(--font-headline);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.not-found-wrap h2 {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  color: var(--white);
  margin: 12px 0 20px;
}
.not-found-wrap p { color: var(--text-muted); margin-bottom: 28px; }

/* ============================================
   MOBILE MENU DRAWER
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 200;
}
.mobile-menu.open { display: flex; }
.mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}
.mobile-drawer {
  position: relative;
  width: 280px;
  height: 100%;
  background: var(--dark);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 24px 0;
  animation: slideIn .3s ease;
}
@keyframes slideIn {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
.mobile-nav-links { padding: 20px 0; }
.mobile-nav-links a {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: all .2s;
}
.mobile-nav-links a:hover { color: var(--white); background: var(--dark2); padding-left: 32px; }
.mobile-nav-links a.cat-deportes:hover { color: #4fc3f7; }
.mobile-nav-links a.cat-politica:hover { color: var(--gold); }
.mobile-social {
  display: flex;
  gap: 10px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.mobile-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark3);
  border-radius: 50%;
  color: var(--text-muted);
}
.mobile-social a:hover { background: var(--red); color: var(--white); }
.mobile-social svg { width: 16px; height: 16px; fill: currentColor; }
.mobile-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark3);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(204,0,0,.4);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--red-bright); transform: translateY(-3px); color: var(--white); }
.back-to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* ============================================
   ADSENSE ADS
   ============================================ */
.ad-wrap {
  text-align: center;
  padding: 12px 0;
  position: relative;
}
.ad-wrap .ad-label {
  font-family: var(--font-condensed);
  font-size: .6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 4px;
}
.ad-in-article {
  margin: 32px 0;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.ad-end-article {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-main { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .hero-secondary { flex-direction: row; }
  .hero-main { grid-row: auto; min-height: 300px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .social-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .hero-secondary { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .share-bar { gap: 8px; }
}

@media (max-width: 480px) {
  .hero-main { min-height: 240px; }
  .hero-main .hero-overlay { padding: 16px; }
  .hero-main .hero-title { font-size: 1.2rem; }
  .ticker-item { font-size: .78rem; padding: 0 20px; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .breaking-ticker, .site-header, .sidebar, .site-footer,
  .share-bar, .ad-wrap, .ad-in-article, .ad-end-article { display: none !important; }
  body { background: #fff; color: #000; }
  .article-content { color: #000; }
}
