/* ── LAYOUT DEL ARTÍCULO INDIVIDUAL ── */
.articulo-wrap {
  max-width: var(--max-w); margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2.5rem;
  align-items: start;
}

/* ── HEADER DEL ARTÍCULO ── */
.art-header {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem 2.5rem;
  position: relative; overflow: hidden;
}
.art-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.art-header-inner {
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 1;
}

.breadcrumb {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--purple-lt); }
.breadcrumb-sep { color: var(--border); }

.art-header h1 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.5px; margin-bottom: 1rem;
}

.art-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .75rem; margin-top: 1rem;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim);
}
.art-meta-sep { color: var(--border); }

.art-portada {
  max-width: var(--max-w); margin: 0 auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/7;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-family: var(--font-mono); font-size: 12px;
}
.art-portada img { width: 100%; height: 100%; object-fit: cover; }

/* ── CUERPO DEL ARTÍCULO ── */
.art-body {
  background: var(--card);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}

.art-body p  { color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 1.1rem; font-size: 15.5px; }
.art-body h2 { font-size: 19px; font-weight: 700; margin: 2rem 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border-sub); }
.art-body h3 { font-size: 16px; font-weight: 600; margin: 1.5rem 0 .5rem; color: var(--purple-lt); }
.art-body ul, .art-body ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.art-body li { color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: .3rem; font-size: 15px; }
.art-body strong { color: var(--white); font-weight: 600; }
.art-body a { color: var(--purple-lt); }
.art-body a:hover { color: var(--white); text-decoration: underline; }
.art-body img { border-radius: var(--radius-sm); margin: 1.5rem 0; border: 1px solid var(--border); }
.art-body hr { border-color: var(--border-sub); margin: 2rem 0; }

/* ── FUENTE ── */
.art-fuente {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--purple-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text-muted);
  font-family: var(--font-mono);
}
.art-fuente a { color: var(--purple-lt); }

/* ── ASIDE DEL ARTÍCULO ── */
.art-aside { display: flex; flex-direction: column; gap: 1.25rem; }

.art-aside-block {
  background: var(--card);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.art-aside-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: .75rem;
}
.art-aside-block p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.art-aside-block ul { list-style: none; }
.art-aside-block li {
  font-size: 13px; color: var(--text-muted);
  padding: 6px 0; border-bottom: 1px solid var(--border-sub);
  display: flex; align-items: flex-start; gap: .5rem;
}
.art-aside-block li::before { content: '→'; color: var(--purple-lt); flex-shrink: 0; }
.art-aside-block li:last-child { border-bottom: none; }
.art-aside-block a { color: var(--text-muted); }
.art-aside-block a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .articulo-wrap { grid-template-columns: 1fr; }
  .art-aside { display: none; }
  .art-body { padding: 1.5rem 1.25rem; }
}
