/* =========================================================
   Plantilla de artículo del blog · articulo-a / -b / -c.html (js/articulo.js)
   1. Base: cabecera, meta, compartir, portada, barra de lectura
   2. Tipografía del contenido (lo que en WordPress sale de the_content)
   3. Bloques: notas, listas con ícono, checklist, preguntas, cita, tarjeta láser, índice plegable
   4. Variantes A · B · C
   5. Sigue leyendo
   6. Responsive
   ========================================================= */
.art-pag { --art-linea: rgba(31, 26, 21, .1); --dorado: #F0C38A; --art-oscuro: #221912; }
.art-pag main { overflow-x: clip; }

/* ---------- 1. Base ---------- */
.bg-cat { display: block; font-size: 13px; font-weight: 600; color: var(--acento-hondo); }
.art-volver { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; font-size: 14px; font-weight: 500; color: var(--texto-60); transition: color .2s var(--curva-hover); }
.art-volver:hover { color: var(--texto); }
.art-volver .lucide { width: 17px; height: 17px; }
.art-h1 { margin-top: 14px; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance; }
.art-cab__pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14.5px; color: var(--texto-60); }
.art-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.art-meta .lucide { width: 17px; height: 17px; }
.art-compartir { display: flex; align-items: center; gap: 6px; }
.art-compartir a, .art-compartir button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--crema); color: var(--texto); transition: background-color .2s var(--curva-hover), color .2s var(--curva-hover); }
.art-compartir a:hover, .art-compartir button:hover { background: var(--acento); color: var(--blanco); }
.art-compartir .lucide { width: 19px; height: 19px; }
.art-portada { overflow: hidden; border-radius: 22px; background: var(--crema-2); }
.art-portada img { width: 100%; height: 100%; object-fit: cover; }

.art-progreso { position: fixed; left: 0; right: 0; top: var(--art-nav, 64px); z-index: 49; height: 3px; pointer-events: none; }
.art-progreso::before { content: ""; position: absolute; inset: 0; background: var(--acento); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.art-toast { position: fixed; left: 50%; bottom: 32px; z-index: 300; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--r-pildora); background: var(--texto); color: var(--blanco); font-size: 14.5px; font-weight: 500; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s var(--curva), transform .25s var(--curva); }
.art-toast .lucide { width: 18px; height: 18px; color: var(--dorado); }
.art-toast--ver { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 2. Tipografía del contenido ---------- */
.art-cuerpo { min-width: 0; max-width: 720px; font-size: 18px; line-height: 1.75; color: rgba(31, 26, 21, .84); }
.art-cuerpo > * + * { margin-top: 1.15em; }
.art-cuerpo strong { font-weight: 600; color: var(--texto); }
.art-cuerpo a:not(.boton) { color: var(--acento-hondo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art-cuerpo h2 { margin-top: 72px; font-family: var(--serif); font-size: clamp(1.6rem, 2.3vw, 2rem); font-weight: 500; line-height: 1.18; letter-spacing: -0.03em; color: var(--texto); text-wrap: balance; scroll-margin-top: calc(var(--art-nav, 64px) + 24px); }
.art-cuerpo h3 { margin-top: 48px; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--texto); }
.art-cuerpo h2 + *, .art-cuerpo h3 + * { margin-top: 18px; }
.art-lead p { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.45rem); line-height: 1.5; letter-spacing: -0.02em; color: var(--texto); }

/* ---------- 3. Bloques ---------- */
.art-nota { display: flex; align-items: flex-start; gap: 16px; margin: 32px 0 !important; padding: 22px 26px; border-radius: 18px; background: var(--crema); font-size: 16.5px; line-height: 1.65; }
.art-nota > .lucide { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--blanco); color: var(--acento-hondo); }
.art-nota p { padding-top: 7px; }
.art-iconos { display: grid; gap: 10px; padding: 0; list-style: none; }
.art-iconos li { display: flex; align-items: flex-start; gap: 14px; }
.art-iconos li > .lucide { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--crema); color: var(--acento-hondo); }
.art-iconos li { line-height: 1.6; padding-top: 0; }
.art-iconos li:not(:has(p)) { align-items: center; }
.art-iconos li p { padding-top: 5px; }
.art-check { display: grid; gap: 4px; padding: 6px 0; list-style: none; border-top: 1px solid var(--art-linea); }
.art-check li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--art-linea); line-height: 1.6; }
.art-check li > .lucide { flex: none; width: 28px; height: 28px; margin-top: 1px; padding: 5px; border-radius: 50%; background: var(--acento); color: var(--blanco); stroke-width: 2.2; }
.art-preguntas { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: preg; }
.art-preguntas li { position: relative; padding: 14px 18px 14px 56px; border-radius: 14px; background: var(--crema); line-height: 1.55; counter-increment: preg; }
.art-preguntas li::before { content: counter(preg); position: absolute; left: 16px; top: 13px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blanco); color: var(--acento-hondo); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.art-cita { margin: 44px 0 !important; padding: 4px 0 4px 28px; border-left: 3px solid var(--acento); }
.art-cita p { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.35; letter-spacing: -0.025em; color: var(--texto); }

.art-cta { display: flex; align-items: stretch; overflow: hidden; margin: 48px 0 !important; border-radius: 20px; background: var(--crema); }
.art-cta__foto { flex: 0 0 210px; overflow: hidden; }
.art-cta__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.art-cta__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px 32px; }
.art-cta__tit { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; color: var(--texto); }
.art-cta__tit em { font-style: normal; color: var(--acento-hondo); }
.art-cta__p { font-size: 15.5px; line-height: 1.55; color: var(--texto-60); }
.art-cta__p b { color: var(--texto); font-weight: 600; }
.art-cta .boton { height: 46px; margin-top: 10px; }

/* Índice plegable (A en todas las pantallas; B en móvil) */
.art-indice-m { margin: 40px 0 !important; border-radius: 18px; background: var(--crema); }
.art-indice-m summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px; font-size: 16px; font-weight: 600; color: var(--texto); cursor: pointer; list-style: none; }
.art-indice-m summary::-webkit-details-marker { display: none; }
.art-indice-m summary .lucide { width: 20px; height: 20px; color: var(--acento-hondo); }
.art-indice-m summary .art-chev { margin-left: auto; color: var(--texto); transition: transform .3s var(--curva); }
.art-indice-m[open] summary .art-chev { transform: rotate(180deg); }
.art-indice-m nav { padding: 0 22px 18px; }
.art-indice-m ol, .art-indice ol, .art-panel ol { padding: 0; list-style: none; counter-reset: ind; }
.art-indice-m li { counter-increment: ind; border-top: 1px solid var(--art-linea); }
.art-indice-m a { display: flex; gap: 12px; padding: 12px 0; font-size: 15.5px; line-height: 1.45; color: var(--texto-60); text-decoration: none !important; transition: color .2s var(--curva-hover); }
.art-indice-m a::before { content: counter(ind); flex: none; width: 18px; font-weight: 600; color: var(--acento-hondo); font-variant-numeric: tabular-nums; }
.art-indice-m a:hover, .art-indice-m a[aria-current] { color: var(--texto); }

/* ---------- 4A · Columna centrada ---------- */
.art--a .art-cab { max-width: 900px; padding-top: 56px; text-align: center; }
.art--a .art-cab .art-h1 { margin-inline: auto; max-width: 24ch; }
.art--a .art-cab__pie { justify-content: center; }
.art--a .art-portada { max-width: 1040px; margin: 48px auto 0; aspect-ratio: 16 / 8; }
.art--a .art-cuerpo { margin: 64px auto 0; }

/* ---------- 4B · Índice lateral pegajoso ---------- */
.art--b .art-cab { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; padding-top: 48px; }
.art--b .art-portada { aspect-ratio: 5 / 4; }
.art-b__grid { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 64px; margin-top: 72px; }
.art--b .art-indice-m, .art--b .art-cta--movil { display: none; }
.art-lado__in { position: sticky; top: calc(var(--art-nav, 64px) + 24px); display: grid; gap: 14px; }
.art-indice { position: relative; padding: 22px 22px 18px; border-radius: 20px; background: var(--crema); }
.art-indice__t { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.art-indice__t .lucide { width: 19px; height: 19px; color: var(--acento-hondo); }
.art-indice__barra { display: block; height: 3px; margin: 14px 0 6px; border-radius: 3px; background: rgba(31, 26, 21, .08); overflow: hidden; }
.art-indice__barra::before { content: ""; display: block; height: 100%; background: var(--acento); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.art-indice li a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--texto-60); transition: color .2s var(--curva-hover), border-color .2s var(--curva-hover); }
.art-indice li a:hover { color: var(--texto); }
.art-indice li a[aria-current] { border-left-color: var(--acento); color: var(--texto); font-weight: 500; }
.art-indice ol { margin-left: -2px; }
.art-restante { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--art-linea); font-size: 13px; color: var(--texto-60); font-variant-numeric: tabular-nums; }
.art-restante .lucide { width: 16px; height: 16px; }
.art-cta--lado { display: block; margin: 0 !important; }
.art-cta--lado .art-cta__foto { display: block; aspect-ratio: 16 / 10; }
.art-cta--lado .art-cta__txt { padding: 20px 22px 22px; }
.art-cta--lado .art-cta__tit { font-size: 20px; }
.art-cta--lado .art-cta__p { font-size: 14px; }
.art-cta--lado .boton { width: 100%; }
.art--b .art-progreso { display: none; }
/* Pantallas bajas: la tarjeta lateral pierde la foto para que índice + tarjeta quepan sin cortarse */
@media (max-height: 1000px) and (min-width: 901px) { .art-cta--lado .art-cta__foto { display: none; } }

/* ---------- 4C · Portada oscura + barra pegajosa ---------- */
.art-c__banda { padding-top: 28px; }
.art-c__banda .art-volver { margin-bottom: 18px; }
.art-c__hero { position: relative; display: flex; align-items: center; min-height: clamp(460px, 36vw, 520px); overflow: hidden; border-radius: 22px; clip-path: inset(0 round 22px); background: var(--art-oscuro); color: var(--blanco); }
.art-c__hero .art-portada { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; border-radius: 0; background: var(--art-oscuro); }
.art-c__hero .art-portada::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--art-oscuro) 0%, rgba(34, 25, 18, .7) 22%, rgba(34, 25, 18, 0) 60%); }
.art-c__hero .art-cab__txt { position: relative; max-width: 660px; padding: 56px 0 56px 64px; }
.art-c__hero .bg-cat { color: var(--dorado); }
.art-c__hero .art-meta { color: rgba(255, 255, 255, .78); }
.art-c__hero .art-compartir a, .art-c__hero .art-compartir button { background: rgba(255, 255, 255, .12); color: var(--blanco); }
.art-c__hero .art-compartir a:hover, .art-c__hero .art-compartir button:hover { background: var(--blanco); color: var(--texto); }

.art-barra { position: sticky; top: var(--art-nav, 64px); z-index: 40; margin-top: 40px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--art-linea); }
.art-barra__in { position: relative; display: flex; align-items: center; gap: 16px; height: 60px; max-width: 720px; margin-inline: auto; }
.art-barra__btn { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; height: 44px; padding: 0 14px 0 6px; border-radius: 12px; text-align: left; transition: background-color .2s var(--curva-hover); }
.art-barra__btn:hover { background: var(--crema); }
.art-barra__btn > .lucide { flex: none; width: 20px; height: 20px; color: var(--acento-hondo); }
.art-barra__btn .art-chev { margin-left: auto; color: var(--texto); transition: transform .3s var(--curva); }
.art-barra__btn[aria-expanded="true"] .art-chev { transform: rotate(180deg); }
.art-barra__actual { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 500; }
.art-barra .art-compartir a, .art-barra .art-compartir button { width: 38px; height: 38px; }
.art-barra__linea { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.art-barra__linea::before { content: ""; position: absolute; inset: 0; background: var(--acento); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.art-panel { position: absolute; top: calc(100% + 8px); left: 0; width: min(520px, 100%); max-height: min(60vh, 460px); overflow-y: auto; padding: 10px; border-radius: 18px; background: var(--blanco); box-shadow: 0 0 0 1px rgba(31, 26, 21, .06), 0 24px 48px rgba(31, 26, 21, .16); animation: art-entra .25s var(--curva) both; }
.art-panel[hidden] { display: none; }
.art-panel li { counter-increment: ind; }
.art-panel a { display: flex; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 15px; line-height: 1.4; color: var(--texto-60); transition: background-color .15s var(--curva-hover), color .15s var(--curva-hover); }
.art-panel a::before { content: counter(ind); flex: none; width: 18px; font-weight: 600; color: var(--acento-hondo); font-variant-numeric: tabular-nums; }
.art-panel a:hover { background: var(--crema); color: var(--texto); }
.art-panel a[aria-current] { color: var(--texto); font-weight: 500; background: var(--crema); }
@keyframes art-entra { from { opacity: 0; transform: translateY(-6px); } }
.art--c .art-cuerpo { margin: 56px auto 0; }
.art--c .art-cuerpo h2 { scroll-margin-top: calc(var(--art-nav, 64px) + 84px); }
.art--c .art-progreso { display: none; }

/* ---------- 5. Sigue leyendo ---------- */
.art-rel { margin-top: 112px; padding: 88px 0 var(--esp-seccion); background: var(--crema); }
.art-rel__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.art-rel__h { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; }
.art-rel__h em { font-style: normal; color: var(--acento-hondo); }
.art-rel__todos { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--texto); white-space: nowrap; transition: color .2s var(--curva-hover); }
.art-rel__todos:hover { color: var(--acento-hondo); }
.art-rel__todos .lucide { width: 18px; height: 18px; }
.art-rel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.art-rel__t a { display: flex; flex-direction: column; gap: 10px; }
.art-rel__foto { display: block; overflow: hidden; aspect-ratio: 5 / 4; margin-bottom: 8px; border-radius: 16px; background: var(--crema-2); }
.art-rel__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--curva); }
.art-rel__t a:hover .art-rel__foto img { transform: scale(1.04); }
.art-rel__tit { font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s var(--curva-hover); }
.art-rel__t a:hover .art-rel__tit { color: var(--acento-hondo); }
.art-rel__meta { font-size: 13.5px; color: var(--texto-60); }

/* ---------- 6. Responsive ---------- */
@media (max-width: 1180px) {
  .art-b__grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
  .art--b .art-cab { gap: 40px; }
}
@media (max-width: 900px) {
  .art-cuerpo { font-size: 17px; line-height: 1.7; }
  .art-cuerpo h2 { margin-top: 56px; }
  .art-cuerpo h3 { margin-top: 40px; font-size: 20px; }
  .art-volver { margin-bottom: 20px; }
  .art-cab__pie { margin-top: 22px; }
  .art--a .art-cab { padding-top: 32px; text-align: left; }
  .art--a .art-cab .art-h1 { margin-inline: 0; }
  .art--a .art-cab__pie { justify-content: space-between; }
  .art--a .art-portada { margin-top: 28px; aspect-ratio: 4 / 3; border-radius: 18px; }
  .art--a .art-cuerpo, .art--c .art-cuerpo { margin-top: 40px; }

  .art--b .art-cab { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .art--b .art-portada { aspect-ratio: 4 / 3; border-radius: 18px; }
  .art-b__grid { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .art-lado { display: none; }
  .art--b .art-indice-m { display: block; }
  .art--b .art-cta--movil { display: flex; }
  .art--b .art-progreso { display: block; }

  .art-c__banda { padding-top: 16px; }
  .art-c__hero { display: block; min-height: 0; border-radius: 18px; clip-path: inset(0 round 18px); }
  .art-c__hero .art-portada { position: relative; width: 100%; aspect-ratio: 4 / 3; }
  .art-c__hero .art-portada::after { background: linear-gradient(180deg, rgba(34, 25, 18, 0) 45%, var(--art-oscuro) 100%); }
  .art-c__hero .art-cab__txt { max-width: none; margin-top: -48px; padding: 0 20px 26px; }
  .art-barra { margin-top: 24px; }
  .art-barra__in { height: 56px; gap: 8px; }
  .art-barra .art-compartir { display: none; }

  .art-rel { margin-top: 80px; padding-top: 64px; }
  .art-rel__grid { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .art-rel__t + .art-rel__t { border-top: 1px solid var(--art-linea); }
  .art-rel__t a { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; row-gap: 6px; padding: 18px 0; }
  .art-rel__foto { grid-row: 1 / 4; aspect-ratio: 1; margin: 0; border-radius: 12px; }
  .art-rel__tit { font-size: 16.5px; }
}
@media (max-width: 560px) {
  .art-nota { padding: 18px; gap: 12px; font-size: 16px; }
  .art-nota > .lucide { width: 36px; height: 36px; padding: 8px; }
  .art-cta { flex-direction: column; }
  .art-cta__foto { flex: none; aspect-ratio: 16 / 9; }
  .art-cta__txt { padding: 22px 20px; }
  .art-cta__tit { font-size: 21px; }
  .art-rel__cab { display: block; }
  .art-rel__todos { margin-top: 12px; }
  .art-preguntas li { padding-left: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .art-rel__foto img, .art-toast, .art-panel { transition: none; animation: none; }
}

/* =========================================================
   Ronda 2 · cabeceras D y E, compartir en 5 redes, bloque final y toques de verde
   ========================================================= */
.art-pag { --verde-noche: #10302A; }
.art-compartir { flex-wrap: wrap; }
.art-compartir svg { width: 18px; height: 18px; }
.art-barra__resta { display: inline-flex; align-items: center; gap: 7px; flex: none; font-size: 13.5px; color: var(--texto-60); font-variant-numeric: tabular-nums; }
.art-barra__resta .lucide { width: 16px; height: 16px; }
.art--a .art-barra, .art--d .art-barra, .art--e .art-barra { margin-top: 48px; }

/* Verde: íconos de las notas y checks (información, no acción; la acción sigue en mostaza) */
.art-nota > .lucide { color: var(--verde); }
.art-check li > .lucide { background: var(--verde); }
.art-iconos li > .lucide { background: var(--verde-claro); color: var(--verde); }
.art-preguntas li::before { color: var(--verde); }

/* Comparte este artículo (al final del texto) */
.art-fin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 64px !important; padding: 26px 30px; border-radius: 20px; background: var(--verde-noche); }
.art-fin__t { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; color: var(--blanco); }
.art-fin .art-compartir a, .art-fin .art-compartir button { width: 46px; height: 46px; background: rgba(255, 255, 255, .1); color: var(--blanco); }
.art-fin .art-compartir a:hover, .art-fin .art-compartir button:hover { background: var(--dorado); color: var(--verde-noche); }

/* D · Banda verde noche + foto montada sobre su borde */
.art-d__banda { padding: 72px 0 196px; background: var(--verde-noche); color: var(--blanco); }
.art--d .art-cab { max-width: 900px; text-align: center; }
.art--d .art-h1 { margin-inline: auto; max-width: 24ch; }
.art--d .art-cab .bg-cat { color: var(--dorado); }
.art--d .art-cab__pie { justify-content: center; }
.art--d .art-meta { color: rgba(255, 255, 255, .78); }
.art--d .art-cab .art-compartir a, .art--d .art-cab .art-compartir button { background: rgba(255, 255, 255, .1); color: var(--blanco); }
.art--d .art-cab .art-compartir a:hover, .art--d .art-cab .art-compartir button:hover { background: var(--dorado); color: var(--verde-noche); }
.art-d__foto { position: relative; margin-top: -148px; }
.art-d__foto .art-portada { max-width: 1040px; margin-inline: auto; aspect-ratio: 16 / 8; }

/* E · Banda crema: título alineado con la lectura + foto en arco del ancho del texto */
.art-e__banda { padding: 64px 0 0; background: linear-gradient(var(--crema) 0, var(--crema) calc(100% - 180px), var(--blanco) calc(100% - 180px)); }
.art-e__in { max-width: 720px; margin-inline: auto; }
.art--e .art-cab__pie { justify-content: space-between; padding-bottom: 4px; }
.art--e .art-cab .art-compartir a, .art--e .art-cab .art-compartir button { background: var(--blanco); }
.art--e .art-cab .art-compartir a:hover, .art--e .art-cab .art-compartir button:hover { background: var(--acento); }
.art--e .art-cab .bg-cat { display: inline-block; padding: 5px 12px; border-radius: var(--r-pildora); background: var(--verde); color: var(--blanco); font-size: 12.5px; }
.art--e .art-portada { margin-top: 44px; aspect-ratio: 5 / 4; border-radius: 999px 999px 24px 24px; }

.art--a .art-cuerpo, .art--d .art-cuerpo, .art--e .art-cuerpo { margin: 56px auto 0; }
.art--a .art-cuerpo h2, .art--d .art-cuerpo h2, .art--e .art-cuerpo h2 { scroll-margin-top: calc(var(--art-nav, 64px) + 84px); }

@media (max-width: 900px) {
  .art-barra__resta { display: none; }
  .art--a .art-barra, .art--d .art-barra, .art--e .art-barra { margin-top: 28px; }
  .art--a .art-cuerpo, .art--d .art-cuerpo, .art--e .art-cuerpo { margin-top: 36px; }
  .art-d__banda { padding: 36px 0 120px; }
  .art--d .art-cab { text-align: left; }
  .art--d .art-h1 { margin-inline: 0; }
  .art--d .art-cab__pie { justify-content: flex-start; }
  .art-d__foto { margin-top: -96px; }
  .art-d__foto .art-portada { aspect-ratio: 4 / 3; border-radius: 18px; }
  .art-e__banda { padding-top: 32px; background: linear-gradient(var(--crema) 0, var(--crema) calc(100% - 120px), var(--blanco) calc(100% - 120px)); }
  .art--e .art-portada { margin-top: 28px; border-radius: 999px 999px 18px 18px; }
  .art-fin { padding: 22px 20px; }
  .art-fin__t { font-size: 20px; }
}
