/* ============================================================
   PATCH art-body — FONDO CLARO · ALTO CONTRASTE
   Pega esto AL FINAL de site.css (sobreescribe todo lo anterior)
   ============================================================ */

.art-body {
  padding: 2.5rem 2.75rem;
  font-size: 16px;
  line-height: 1.85;
  background: #f5f6fa;
  color: #1a1d2e;
  border-radius: 0 0 var(--r) var(--r);
  position: relative;
}

.art-body::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: #2a6496;
  margin-bottom: 2rem;
  border-radius: 2px;
}

/* ── Párrafos ─────────────────────────────────────────────── */
.art-body p {
  margin-bottom: 1.35rem;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.9;
  color: #1e2235;
  font-weight: 400;
  letter-spacing: .01em;
}

/* Lead (primer párrafo) */
.art-body > p:first-of-type {
  font-size: 19px;
  color: #111625;
  line-height: 1.85;
  font-weight: 400;
  border-left: 3px solid #2a6496;
  padding-left: 1.25rem;
  margin-bottom: 1.75rem;
}

/* ── Encabezados ──────────────────────────────────────────── */
.art-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0d1018;
  margin: 2.5rem 0 .9rem;
  letter-spacing: -.02em;
  line-height: 1.2;
  position: relative;
  padding-bottom: .55rem;
}

.art-body h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: #2a6496;
  border-radius: 2px;
}

.art-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1d2e;
  margin: 2rem 0 .65rem;
}

.art-body h4 {
  font-size: 11px;
  font-weight: 700;
  color: #3a4060;
  margin: 1.5rem 0 .5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ── Strong / em ──────────────────────────────────────────── */
.art-body strong {
  color: #0d1018;
  font-weight: 700;
}

.art-body em {
  color: #2e3448;
  font-style: italic;
}

/* ── Links ────────────────────────────────────────────────── */
.art-body a {
  color: #1a5f96;
  border-bottom: 1px solid rgba(26, 95, 150, .35);
  transition: color .18s, border-color .18s;
}

.art-body a:hover {
  color: #0d3f6b;
  border-color: #1a5f96;
}

/* ── Listas ───────────────────────────────────────────────── */
.art-body ul,
.art-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.35rem;
}

.art-body li {
  margin-bottom: .55rem;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 17.5px;
  line-height: 1.75;
  color: #1e2235;
}

.art-body ul li::marker { color: #2a6496; }
.art-body ol li::marker { color: #2a6496; font-weight: 700; }

/* ── Blockquote ───────────────────────────────────────────── */
.art-body blockquote {
  border-left: 3px solid #2a6496;
  padding: 1.1rem 1.5rem;
  background: #eaeff8;
  border-radius: 0 var(--rs) var(--rs) 0;
  margin: 1.75rem 0;
  font-style: italic;
  color: #2e3550;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  position: relative;
}

.art-body blockquote::before {
  content: '\201C';
  position: absolute;
  top: -.4rem;
  left: 1.1rem;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #2a6496;
  opacity: .2;
  line-height: 1;
}

/* ── Code ─────────────────────────────────────────────────── */
.art-body code {
  background: #e2e7f5;
  padding: .18rem .5rem;
  border-radius: 4px;
  font-size: 13.5px;
  color: #1a5f96;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  box-shadow: none;
}

.art-body pre {
  background: #1a1d26;
  border-radius: var(--rs);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.75rem 0;
}

.art-body pre code {
  background: none;
  color: #7dcca8;
  padding: 0;
  font-size: 13.5px;
}

/* ── Imágenes ─────────────────────────────────────────────── */
.art-body img {
  width: 100%;
  border-radius: var(--rs);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  margin: 1.5rem 0;
}

.art-body figcaption {
  font-size: 12px;
  color: #606880;
  text-align: center;
  margin-top: .5rem;
}

/* ── HR ───────────────────────────────────────────────────── */
.art-body hr {
  border: none;
  height: 1px;
  background: #d0d4e8;
  margin: 2.5rem 0;
}

/* ── Tabla ────────────────────────────────────────────────── */
.art-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 14px;
}

.art-body th {
  background: #e2e7f5;
  padding: .65rem 1rem;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3a4060;
}

.art-body td {
  padding: .65rem 1rem;
  border-bottom: 1px solid #d8dcea;
  color: #2e3448;
  font-family: 'Crimson Pro', serif;
  font-size: 15.5px;
  line-height: 1.6;
}

.art-body tr:hover td {
  background: #eef0f8;
}

/* ── Fuente y compartir ───────────────────────────────────── */
.art-source {
  padding: .85rem 2.75rem;
  border-top: 1px solid #d8dcea;
  background: #f5f6fa;
  font-size: 12px;
  color: #606880;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.art-source a {
  color: #1a5f96;
  border-bottom: 1px solid rgba(26,95,150,.25);
}

.art-source a:hover { color: #0d3f6b; }

.art-share {
  padding: 1.25rem 2.75rem;
  border-top: 1px solid #d8dcea;
  background: #edf0f8;
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #606880;
  border-radius: 0 0 var(--r) var(--r);
}

.share-btn {
  padding: .42rem 1rem;
  border-radius: var(--rs);
  background: #f5f6fa;
  box-shadow: 2px 2px 6px rgba(0,0,0,.1), -1px -1px 4px rgba(255,255,255,.9);
  color: #1e2235;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: all .18s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.share-btn:hover {
  background: #e2e7f5;
  color: #0d1018;
  box-shadow: inset 1px 1px 4px rgba(0,0,0,.1);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .art-body {
    padding: 1.5rem 1.25rem;
  }

  .art-body > p:first-of-type {
    font-size: 17px;
  }

  .art-body p {
    font-size: 16.5px;
  }

  .art-body h2 {
    font-size: 1.35rem;
  }
}