/* ═══════════════════════════════════════════════════════════════
   IVÁN DANIEL — MAIN CSS
   Dark news theme · ivandaniel.com
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg:           #0d0d0d;
  --bg2:          #141414;
  --bg3:          #1a1a1a;
  --surface:      #1e1e1e;
  --surface2:     #252525;
  --border:       rgba(255,255,255,0.07);
  --border2:      rgba(255,255,255,0.12);
  --text:         #f0ede8;
  --text2:        #b0aca6;
  --text3:        #787470;
  --red:          #e8333c;
  --red-dim:      rgba(232,51,60,0.15);
  --red-dark:     #b02830;
  --blue:         #2a7ae2;
  --gold:         #d4a017;

  --font-display: 'Barlow Condensed', 'Impact', sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;
  --font-serif:   'Source Serif 4', Georgia, serif;

  --container:    1280px;
  --gap:          20px;
  --radius:       4px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CONTAINER ── */
.container,
.top-bar__container,
.header__container,
.hero-section__container,
.main-news__container,
.content-sidebar-wrap__container,
.bottom-categories__container,
.footer-social__container,
.footer-widgets__container,
.footer-bottom__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════════════════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════════════════════ */
.top-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}

.top-bar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar__follow {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}

.top-bar__socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icon {
  color: var(--text3);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.social-icon:hover { color: var(--text); }

/* LOGO */
.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-logo {
  font-size: clamp(22px, 3vw, 32px);
}

.site-logo__first,
.footer-logo__first { color: var(--text); }

.site-logo__second,
.footer-logo__second {
  color: var(--red);
  margin-left: 4px;
}

.site-logo__star,
.footer-logo__star {
  color: var(--blue);
  font-size: 0.6em;
  margin: 0 2px;
  position: relative;
  top: -4px;
}

.site-logo__com,
.footer-logo__com {
  color: var(--text3);
  font-size: 0.45em;
  font-weight: 400;
}

/* TOP BAR RIGHT */
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 2px;
  transition: background 0.2s;
  border: 1px solid transparent;
}
.live-badge:hover { background: var(--red-dark); }

.live-badge__dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.top-bar__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text3);
}

.top-bar__separator { opacity: 0.3; }

/* ══════════════════════════════════════════════════════════════
   SITE HEADER / NAV
   ══════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header__container {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  color: var(--text2);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.main-nav { flex: 1; }

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }

.nav-link {
  display: block;
  padding: 14px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-link:hover { color: var(--text); }

.nav-link--active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.btn-search,
.btn-notify {
  padding: 8px;
  color: var(--text2);
  transition: color 0.15s;
  position: relative;
}
.btn-search:hover, .btn-notify:hover { color: var(--text); }

.notify-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  border: 1px solid var(--bg2);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg2);
  border-bottom: 2px solid var(--red);
  z-index: 300;
  padding: 16px 20px;
  animation: slideDown 0.2s ease;
}

.mobile-menu.open { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-menu a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.mobile-nav-menu a:hover { color: var(--red); }

/* ══════════════════════════════════════════════════════════════
   BREAKING NEWS TICKER
   ══════════════════════════════════════════════════════════════ */
.breaking-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  height: 38px;
  overflow: hidden;
}

.breaking-bar__label {
  flex-shrink: 0;
  background: var(--red);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-width: 130px;
}

.breaking-bar__time {
  flex-shrink: 0;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 0 12px;
  border-right: 1px solid var(--border);
}

.breaking-bar__ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.breaking-bar__ticker {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}

.ticker__item {
  display: inline-block;
  font-size: 13px;
  color: var(--text2);
  padding: 0 40px;
}

.ticker__item::before {
  content: '•';
  color: var(--red);
  margin-right: 12px;
}

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

.breaking-bar__arrow {
  flex-shrink: 0;
  padding: 0 12px;
  color: var(--text3);
  font-size: 20px;
  height: 100%;
  border-left: 1px solid var(--border);
  transition: color 0.15s;
}
.breaking-bar__arrow:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-section__container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  min-height: 520px;
}

/* Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-slide--active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
}

.hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,13,13,0.98) 0%,
    rgba(13,13,13,0.5)  50%,
    rgba(13,13,13,0.15) 100%
  );
}

.hero-slide__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 32px 24px;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.hero-slide__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.hero-slide__title a { color: var(--text); transition: color 0.2s; }
.hero-slide__title a:hover { color: var(--red); }

.hero-slide__excerpt {
  font-size: 14px;
  color: rgba(240,237,232,0.75);
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 600px;
}

.hero-slide__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-slide__time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text3);
}

.hero-slide__cat-link a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.hero-slide__cta {
  display: inline-block;
  border: 1px solid var(--red);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 20px;
  transition: background 0.2s, color 0.2s;
}
.hero-slide__cta:hover { background: var(--red); }

/* Controles del slider */
.hero-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-controls__btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  border-radius: 2px;
}
.hero-controls__btn:hover { background: var(--red); border-color: var(--red); }

.hero-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  transition: background 0.2s, width 0.2s;
}
.hero-dot--active {
  background: var(--red);
  width: 20px;
}

/* Sidebar de últimas noticias */
.hero-sidebar {
  border-left: 1px solid var(--border);
  background: var(--bg2);
  display: flex;
  flex-direction: column;
}

.hero-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.hero-sidebar__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
}

.hero-sidebar__ver-todas {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--red);
  transition: opacity 0.2s;
}
.hero-sidebar__ver-todas:hover { opacity: 0.7; }

.latest-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  flex: 1;
}
.latest-item:hover { background: var(--bg3); }
.latest-item:last-child { border-bottom: none; }

.latest-item__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.latest-item__time {
  font-size: 10px;
  color: var(--text3);
  font-family: var(--font-display);
  font-weight: 600;
}

.latest-item__body {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.latest-item__title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}

.latest-item__title a { color: var(--text); transition: color 0.2s; }
.latest-item__title a:hover { color: var(--red); }

.latest-item__thumb { flex-shrink: 0; }
.latest-item__img {
  width: 70px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.section-header__bar {
  width: 4px;
  height: 18px;
  background: var(--red);
  flex-shrink: 0;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.section-header__link {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--red);
  transition: opacity 0.2s;
}
.section-header__link:hover { opacity: 0.7; }

/* ══════════════════════════════════════════════════════════════
   CAT BADGES
   ══════════════════════════════════════════════════════════════ */
.cat-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  background: var(--red);
  color: white;
  transition: opacity 0.2s;
}
.cat-badge:hover { opacity: 0.85; }

/* Variantes por categoría */
.cat-badge--cuba      { background: var(--blue); }
.cat-badge--politica  { background: #7c3aed; }
.cat-badge--economia  { background: var(--gold); color: #111; }
.cat-badge--sociedad  { background: #059669; }
.cat-badge--cultura   { background: #db7706; }
.cat-badge--deportes  { background: #2563eb; }
.cat-badge--mundo     { background: #6b7280; }
.cat-badge--opinion   { background: transparent; border: 1px solid var(--red); color: var(--red); }

/* Versión más pequeña de latest */
.latest-item__cat { font-size: 9px; padding: 1px 6px; }

/* ══════════════════════════════════════════════════════════════
   NOTICIAS PRINCIPALES (GRID 4 COL)
   ══════════════════════════════════════════════════════════════ */
.main-news {
  background: var(--bg2);
  border-bottom: 2px solid var(--border);
  padding: 24px 0;
}

.main-news__container {
  position: relative;
}

.main-news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.card-main {
  background: var(--bg2);
  transition: background 0.2s;
}
.card-main:hover { background: var(--bg3); }

.card-main__thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-main__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-main:hover .card-main__img { transform: scale(1.03); }

.card-main__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.card-main__bookmark {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(13,13,13,0.7);
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  opacity: 0;
}
.card-main:hover .card-main__bookmark { opacity: 1; }
.card-main__bookmark:hover { color: var(--gold); }

.card-main__body { padding: 14px; }

.card-main__time {
  display: block;
  font-size: 11px;
  color: var(--text3);
  margin-bottom: 6px;
}

.card-main__title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.card-main__title a { color: var(--text); transition: color 0.2s; }
.card-main__title a:hover { color: var(--red); }

.main-news__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.carousel-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border2);
  color: var(--text2);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  border-radius: 2px;
}
.carousel-btn:hover { background: var(--red); border-color: var(--red); color: white; }

/* ══════════════════════════════════════════════════════════════
   CONTENT + SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.content-sidebar-wrap {
  background: var(--bg);
  padding: 28px 0;
}

.content-sidebar-wrap__container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
}

/* ── CARD LIST ── */
.card-list {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.card-list:last-child { border-bottom: none; }
.card-list:hover { background: transparent; }

.card-list__body { flex: 1; }

.card-list__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.card-list__time {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  font-family: var(--font-display);
}

.card-list__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.card-list__title a { color: var(--text); transition: color 0.2s; }
.card-list__title a:hover { color: var(--red); }

.card-list__img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.card-list:hover .card-list__img { opacity: 0.8; }

/* ── CARD FEATURED ── */
.card-featured {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16/7;
  margin-bottom: 1px;
}

.card-featured__link {
  display: block;
  width: 100%;
  height: 100%;
}

.card-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-featured:hover .card-featured__img { transform: scale(1.03); }

.card-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.3) 60%, transparent 100%);
}

.card-featured__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-featured__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  transition: color 0.2s;
}
.card-featured:hover .card-featured__title { color: var(--red); }

.card-featured__excerpt {
  font-size: 13px;
  color: rgba(240,237,232,0.7);
  max-width: 500px;
}

.card-featured__time {
  font-size: 11px;
  color: var(--text3);
}

/* CAT SECTION GRID */
.cat-section { margin-bottom: 32px; }

.cat-section__grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 0;
  border: 1px solid var(--border);
}

.cat-section__grid .card-featured { aspect-ratio: unset; min-height: 280px; margin-bottom: 0; border-radius: 0; }

.cat-section__grid .card-list {
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  padding: 14px;
  margin: 0;
}

.cat-section__list .card-list { padding: 12px 0; }

/* ── EDITORIAL HIGHLIGHT ── */
.editorial-highlight { margin-bottom: 32px; }

.editorial-highlight__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 24px;
}

.editorial-highlight__badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 10px;
}

.editorial-highlight__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.editorial-highlight__title a { color: var(--text); transition: color 0.2s; }
.editorial-highlight__title a:hover { color: var(--gold); }

.editorial-highlight__excerpt {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.editorial-highlight__link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.editorial-highlight__link:hover { opacity: 0.7; }

/* ── SIDEBAR WIDGETS ── */
.sidebar-widget { margin-bottom: 28px; }

.widget-title span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.widget-title {
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: var(--red);
  flex-shrink: 0;
}

/* ── CARD OPINION (SIDEBAR) ── */
.card-opinion {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.card-opinion:last-child { border-bottom: none; }

.card-opinion__quote {
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1;
  color: var(--red);
  opacity: 0.6;
  margin-bottom: 4px;
}

.card-opinion__title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}
.card-opinion__title a { color: var(--text); transition: color 0.2s; }
.card-opinion__title a:hover { color: var(--red); }

.card-opinion__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-opinion__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.card-opinion__byline {
  font-size: 11px;
  color: var(--text3);
}

.card-opinion__byline strong {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* ── FOLLOWS ── */
.sidebar-follows__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.follows-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--acc);
  padding: 12px;
  text-align: center;
  transition: background 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.follows-card:hover { background: var(--bg3); }

.follows-card__count {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.follows-card__net {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text3);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   BOTTOM CATEGORIES
   ══════════════════════════════════════════════════════════════ */
.bottom-categories {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.bottom-categories__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ══════════════════════════════════════════════════════════════
   SINGLE ARTICLE
   ══════════════════════════════════════════════════════════════ */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 20px;
}

.single-layout__container { min-width: 0; }

.breadcrumbs {
  margin-bottom: 20px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--text3);
}

.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: 8px; }
.breadcrumbs a { color: var(--text3); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--red); }

.single-header { margin-bottom: 24px; }

.single-cat { margin-bottom: 14px; display: block; }

.single-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.single-subtitle {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: var(--text2);
  line-height: 1.55;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.single-meta__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.single-meta__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.single-meta__author {
  font-size: 13px;
  font-weight: 500;
}

.single-meta__date {
  font-size: 12px;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 5px;
}

.single-meta__share {
  display: flex;
  gap: 6px;
}

.share-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  transition: all 0.15s;
}
.share-btn:hover { background: var(--red); border-color: var(--red); color: white; }

.single-hero-img { margin-bottom: 28px; }
.single-hero-img__img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius); }
.single-hero-img__caption { font-size: 12px; color: var(--text3); margin-top: 8px; font-style: italic; }

/* CONTENT */
.single-content, .entry-content {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text2);
}

.single-content p,
.entry-content p { margin-bottom: 1.4em; }

.single-content h2,
.entry-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

.single-content blockquote,
.entry-content blockquote {
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--surface);
  font-style: italic;
  color: var(--text);
}

.single-content a,
.entry-content a { color: var(--red); }
.single-content a:hover,
.entry-content a:hover { text-decoration: underline; }

/* TAGS */
.single-tags {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.single-tag {
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text2);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.single-tag:hover { border-color: var(--red); color: var(--red); }

/* RELATED */
.related-posts { margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--border); }

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* Popular items sidebar */
.popular-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.popular-item:last-child { border-bottom: none; }

.popular-item__num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--border2);
  line-height: 1;
  flex-shrink: 0;
}

.popular-item__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}
.popular-item__title a { color: var(--text); transition: color 0.2s; }
.popular-item__title a:hover { color: var(--red); }

.popular-item__time { font-size: 11px; color: var(--text3); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer-social {
  background: var(--bg2);
  padding: 24px 0;
  border-top: 2px solid var(--border);
}

.footer-social__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 14px;
}

.footer-social__grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social__card {
  flex: 1;
  min-width: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  padding: 14px;
  text-align: center;
  transition: background 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-social__card:hover { background: var(--bg3); }

.footer-social__name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.footer-social__count {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
}

.footer-social__followers {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text3);
}

/* Footer widgets */
.footer-widgets {
  background: var(--bg2);
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-widgets__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo { font-size: 28px; margin-bottom: 12px; display: inline-flex; }

.footer-description {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-socials-mini {
  display: flex;
  gap: 12px;
}

.footer-col .widget-title { margin-bottom: 14px; }

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-menu a {
  font-size: 13px;
  color: var(--text3);
  transition: color 0.15s;
}
.footer-menu a:hover { color: var(--red); }

/* Footer bottom */
.footer-bottom {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 14px 0;
}

.footer-bottom__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text3);
}

.footer-lema {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text3);
}

/* ══════════════════════════════════════════════════════════════
   SEARCH OVERLAY
   ══════════════════════════════════════════════════════════════ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}

.search-overlay.open { display: flex; animation: fadeIn 0.2s ease; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.search-overlay__inner {
  width: 100%;
  max-width: 700px;
  padding: 0 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 2px solid var(--red);
}

.search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  padding: 16px 0;
}

.search-overlay__input::placeholder { color: var(--text3); }

.search-overlay__submit {
  color: var(--text3);
  transition: color 0.2s;
}
.search-overlay__submit:hover { color: var(--red); }

.search-overlay__close {
  color: var(--text3);
  font-size: 20px;
  padding: 8px;
  transition: color 0.2s;
}
.search-overlay__close:hover { color: var(--red); }

/* ══════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  z-index: 400;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-section__container { grid-template-columns: 1fr 260px; }
  .main-news__grid { grid-template-columns: repeat(2, 1fr); }
  .content-sidebar-wrap__container { grid-template-columns: 1fr; }
  .content-sidebar { display: none; }
  .footer-widgets__container { grid-template-columns: 1fr 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { display: none; }
  .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .hero-section__container { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .main-news__grid { grid-template-columns: 1fr 1fr; }
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .bottom-categories__container { grid-template-columns: 1fr; }
  .footer-widgets__container { grid-template-columns: 1fr; }
  .footer-social__grid { grid-template-columns: repeat(2, 1fr); }
  .cat-section__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .main-news__grid { grid-template-columns: 1fr; }
  .hero-slide__content { padding: 20px; }
  .hero-controls { bottom: 12px; right: 12px; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .sidebar-follows__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS SPECIFICS
   ══════════════════════════════════════════════════════════════ */
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { text-align: center; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text3); font-style: italic; margin-top: 6px; }

/* Paginación */
.nav-links, .navigation {
  display: flex;
  gap: 8px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border2);
  color: var(--text2);
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: all 0.15s;
  border-radius: 2px;
}
.page-numbers:hover,
.page-numbers.current { background: var(--red); border-color: var(--red); color: white; }

/* Comments */
.comment-list { list-style: none; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment-author img { width: 40px; height: 40px; border-radius: 50%; }

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
  border-radius: var(--radius);
  transition: border-color 0.2s;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--red); }

input[type="submit"],
button[type="submit"] {
  background: var(--red);
  color: white;
  border: none;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: var(--radius);
}
input[type="submit"]:hover,
button[type="submit"]:hover { background: var(--red-dark); }
