/* ==========================================================================
   INGEFULLER — PÁGINA DE ARTÍCULO
   --------------------------------------------------------------------------
   Capa de artículo. Se carga SIEMPRE después de:
     1. css/components1.css   (header + footer compartidos)
     2. css/pages/blog.css    (design system de la sección: tokens --if-*)

   Reglas de convivencia (ver docs/prompt-diseno-articulo-premium.md):
     · Esta hoja NO redefine ningún token --if-* ni pisa selectores de blog.css.
     · Los tokens propios del artículo van con prefijo --art-*.
     · Las clases nuevas van con prefijo .art-, .prose, .callout, .toc…
     · Los pocos selectores que coinciden en especificidad con blog.css
       (.prose h2 vs .blog-page h2) ganan por orden de carga, a propósito:
       la prosa necesita un ritmo vertical distinto al de los titulares de
       sección del landing.

   Índice:
     1. Tokens del artículo
     2. Barra de progreso de lectura
     3. Hero editorial
     4. Tarjeta "Lo esencial"
     5. Layout de dos columnas (índice + cuerpo)
     6. Índice lateral (TOC) y compartir
     7. Prosa
     8. Callouts
     9. Tablas
    10. Chips normativos
    11. Recurso descargable, autoría, fuentes, siguientes pasos
    12. CTA pegajoso móvil
    13. Responsive
    14. Modo oscuro
    15. Accesibilidad, preferencias e impresión
   ========================================================================== */


/* ==========================================================================
   1. TOKENS DEL ARTÍCULO
   ========================================================================== */

:root {
  /* Medida de lectura. 68ch es el punto donde la línea sigue siendo cómoda
     en 16–18px sin dejar el índice lateral demasiado apretado. */
  --art-measure: 68ch;
  --art-rail: 264px;
  --art-gap: clamp(2rem, 1rem + 3vw, 4.5rem);

  /* Tipografía de lectura larga: un escalón por encima del cuerpo del sitio. */
  --art-body-size: clamp(1.0625rem, 1rem + 0.22vw, 1.1875rem);
  --art-body-lh: 1.78;

  /* Roles de color de los callouts. Cada uno se deriva de un token --if-*
     ya validado en contraste; aquí solo se les da nombre semántico. */
  --art-nota-ink: var(--if-water);
  --art-nota-soft: var(--if-water-soft);
  --art-alerta-ink: var(--if-brand-ink);
  --art-alerta-soft: var(--if-brand-soft);
  --art-ejemplo-ink: var(--if-power);
  --art-ejemplo-soft: var(--if-power-soft);
  --art-clave-ink: var(--if-norm);
  --art-clave-soft: var(--if-norm-soft);

  /* Superficie ligeramente distinta a --if-surface para las piezas que deben
     "flotar" sobre el cuerpo del texto (índice, cajas, tablas). */
  --art-raise: var(--if-n-25);
  --art-hairline: var(--if-border);
}


/* ==========================================================================
   2. BARRA DE PROGRESO DE LECTURA
   --------------------------------------------------------------------------
   Mide el avance dentro del CUERPO del artículo, no de la página: el footer
   y los CTAs finales no son lectura y falsean la percepción de "cuánto falta".
   Sin JS la barra simplemente se queda en 0 y no estorba.
   ========================================================================== */

.reading-progress {
  position: fixed;
  top: var(--if-header-h);
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 9998;
  pointer-events: none;
}

.reading-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--if-brand) 0%, #ff5a66 100%);
  box-shadow: 0 0 12px rgba(255, 0, 18, 0.45);
  transition: width 90ms linear;
}


/* ==========================================================================
   3. HERO EDITORIAL
   ========================================================================== */

.art-hero {
  position: relative;
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(2rem, 1.2rem + 3vw, 3.5rem);
  overflow: hidden;
}

/* Halo de marca muy tenue detrás del titular. Decorativo: no aporta
   información y desaparece en impresión y en alto contraste. */
.art-hero::before {
  content: '';
  position: absolute;
  inset: -30% 40% auto -10%;
  height: 520px;
  background: radial-gradient(circle at 30% 40%, rgba(255, 0, 18, 0.09), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.art-hero > * { position: relative; z-index: 1; }

.art-hero__head {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: var(--if-s-5);
}

.art-hero__title {
  font-size: var(--if-t-4xl);
  line-height: 1.04;
  /* Se corta antes que el contenedor: un titular de display pierde impacto
     cuando la línea se estira más allá de ~24 caracteres. */
  max-width: 24ch;
}

.art-hero__deck {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--if-text-muted);
  max-width: 62ch;
  font-weight: 400;
}

.art-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--if-s-3) var(--if-s-5);
  padding-top: var(--if-s-2);
  border-top: 1px solid var(--art-hairline);
  margin-top: var(--if-s-2);
  font-size: var(--if-t-sm);
  color: var(--if-text-subtle);
}

.art-hero__author {
  display: inline-flex;
  align-items: center;
  gap: var(--if-s-3);
}

.art-hero__avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--if-r-full);
  display: grid;
  place-items: center;
  background: var(--if-n-900);
  color: var(--if-n-0);
  font-family: var(--if-font-display);
  font-size: var(--if-t-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.art-hero__author-name {
  display: block;
  color: var(--if-text);
  font-weight: 600;
  font-size: var(--if-t-base);
}
.art-hero__author-role { display: block; font-size: var(--if-t-xs); }

.art-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.art-hero__stat svg { width: 15px; height: 15px; flex: none; opacity: 0.8; }
.art-hero__stat strong { color: var(--if-text); font-weight: 600; }

/* --- Figura del hero ----------------------------------------------------- */
.art-hero__figure {
  margin: clamp(1.75rem, 1rem + 3vw, 3rem) 0 0;
}

.art-hero__frame {
  position: relative;
  border-radius: var(--if-r-2xl);
  overflow: hidden;
  border: 1px solid var(--art-hairline);
  background: var(--if-bg-sunken);
  box-shadow: var(--if-sh-xl);
  /* 2:1 en vez de 21:9: se acerca al encuadre nativo de las fotos de cuarto
     técnico y recorta menos el equipo, que es lo que hay que ver. */
  aspect-ratio: 2 / 1;
}

.art-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-hero__caption {
  margin-top: var(--if-s-3);
  font-size: var(--if-t-xs);
  color: var(--if-text-subtle);
  line-height: 1.5;
  max-width: 70ch;
}


/* ==========================================================================
   4. TARJETA "LO ESENCIAL"
   --------------------------------------------------------------------------
   Respuesta corta antes del artículo largo. Cumple dos funciones: le da al
   lector con prisa una salida honesta, y le da a los motores generativos un
   bloque autocontenido y citable.
   ========================================================================== */

.tldr {
  border: 1px solid var(--art-hairline);
  border-radius: var(--if-r-xl);
  background: var(--art-raise);
  padding: clamp(1.25rem, 1rem + 1.4vw, 2rem);
  box-shadow: var(--if-sh-sm);
  position: relative;
  overflow: hidden;
}

.tldr::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--if-brand) 0%, rgba(255, 0, 18, 0.2) 100%);
}

.tldr__head {
  display: flex;
  align-items: center;
  gap: var(--if-s-3);
  margin-bottom: var(--if-s-4);
}

.tldr__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--if-r-md);
  display: grid;
  place-items: center;
  background: var(--if-brand-soft);
  color: var(--if-brand-ink);
}
.tldr__icon svg { width: 18px; height: 18px; }

.tldr__title {
  font-size: var(--if-t-lg);
  font-weight: 800;
}
.tldr__hint {
  display: block;
  font-family: var(--if-font-sans);
  font-size: var(--if-t-xs);
  font-weight: 500;
  letter-spacing: var(--if-track-wide);
  text-transform: uppercase;
  color: var(--if-text-subtle);
  margin-bottom: 2px;
}

.tldr__list {
  display: grid;
  gap: var(--if-s-3);
}

.tldr__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--if-s-3);
  align-items: start;
  font-size: var(--if-t-base);
  line-height: var(--if-lh-normal);
  color: var(--if-text-muted);
}

.tldr__item strong { color: var(--if-text); font-weight: 650; }

.tldr__check {
  margin-top: 3px;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: var(--if-r-full);
  display: grid;
  place-items: center;
  background: var(--if-brand-soft);
  color: var(--if-brand-ink);
}
.tldr__check svg { width: 11px; height: 11px; }


/* --- Checklist de autodiagnóstico -----------------------------------------
   Variante "por marcar" del mismo patrón de .tldr__item: en vez de un check
   ya resuelto (afirmación verdadera), es una casilla vacía para que el
   lector la recorra mentalmente sobre su propio conjunto. Introducida en el
   artículo #3 para la sección "Autodiagnóstico rápido"; reutilizable por
   cualquier artículo siguiente que necesite el mismo patrón. */
.checklist {
  display: grid;
  gap: var(--if-s-3);
  margin: var(--if-s-5) 0;
  padding: 0;
  list-style: none;
}

.checklist__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--if-s-3);
  align-items: start;
  font-size: var(--if-t-base);
  line-height: var(--if-lh-normal);
  color: var(--if-text);
}

.checklist__box {
  margin-top: 2px;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: var(--if-r-sm);
  border: 2px solid var(--if-border-strong, var(--if-norm));
  background: var(--if-bg);
}

/* --- Línea de tiempo de responsabilidad -----------------------------------
   Introducida en el artículo #4 ("¿Quién es responsable...?"): sustituye la
   infografía externa que pedía el research (Fase 6) por un componente vivo,
   accesible y que hereda tema claro/oscuro sin producción gráfica aparte.
   Reutiliza los cuatro roles de color ya definidos para los callouts
   (--art-nota-ink, --art-alerta-ink, --art-ejemplo-ink, --art-clave-ink) en
   vez de inventar una paleta nueva. Desktop: fila con línea conectora fina
   entre nodos. Móvil (<720px): columna con línea vertical, mismo patrón que
   un timeline vertical clásico. */
.timeline {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.timeline__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--if-s-5);
  position: relative;
  list-style: none;
  padding: 0;
}

.timeline__list::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--art-hairline);
  z-index: 0;
}

.timeline__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--if-s-2);
}

.timeline__node {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--if-r-full);
  display: grid;
  place-items: center;
  background: var(--tl-soft, var(--art-clave-soft));
  color: var(--tl-ink, var(--art-clave-ink));
  border: 3px solid var(--if-bg);
  box-shadow: 0 0 0 1px var(--art-hairline);
  font-family: var(--if-font-display);
  font-weight: 800;
  font-size: var(--if-t-sm);
}

.timeline__stage:nth-child(1) .timeline__node { --tl-ink: var(--art-nota-ink);    --tl-soft: var(--art-nota-soft); }
.timeline__stage:nth-child(2) .timeline__node { --tl-ink: var(--art-alerta-ink);  --tl-soft: var(--art-alerta-soft); }
.timeline__stage:nth-child(3) .timeline__node { --tl-ink: var(--art-ejemplo-ink); --tl-soft: var(--art-ejemplo-soft); }
.timeline__stage:nth-child(4) .timeline__node { --tl-ink: var(--art-clave-ink);   --tl-soft: var(--art-clave-soft); }

.timeline__phase {
  margin-top: var(--if-s-2);
  font-family: var(--if-font-sans);
  font-size: var(--if-t-xs);
  font-weight: 700;
  letter-spacing: var(--if-track-wide);
  text-transform: uppercase;
  color: var(--if-text-subtle);
}

.timeline__actor {
  font-size: var(--if-t-md);
  font-weight: 700;
  color: var(--if-text);
  line-height: 1.3;
}

.timeline__detail {
  font-size: var(--if-t-sm);
  line-height: var(--if-lh-normal);
  color: var(--if-text-muted);
}

@media (max-width: 720px) {
  .timeline__list {
    grid-template-columns: 1fr;
    gap: var(--if-s-6);
    padding-left: 22px;
  }
  .timeline__list::before {
    top: 0;
    bottom: 0;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .timeline__stage { padding-left: var(--if-s-5); margin-left: -22px; }
  .timeline__node { width: 26px; height: 26px; font-size: var(--if-t-xs); }
}

/* ==========================================================================
   5. LAYOUT DE DOS COLUMNAS
   --------------------------------------------------------------------------
   Una sola columna hasta 1100px. El índice lateral solo aparece cuando hay
   espacio real para él; por debajo de ese ancho vive como <details> encima
   del cuerpo, sin robarle la primera pantalla al artículo.
   ========================================================================== */

.art-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--art-gap);
  align-items: start;
}

.art-main {
  min-width: 0;
  max-width: var(--art-measure);
}

/* Por defecto (móvil y tablet) manda el índice colapsable; el riel lateral
   no existe. Se invierten los dos a partir de 1100px, que es donde caben
   las dos columnas sin comprimir la medida de lectura. */
.art-rail { display: none; }

@media (min-width: 1100px) {
  .art-layout {
    grid-template-columns: var(--art-rail) minmax(0, 1fr);
  }
  .art-rail {
    position: sticky;
    top: calc(var(--if-header-clear) + var(--if-s-6));
    max-height: calc(100vh - var(--if-header-clear) - var(--if-s-10));
    display: flex;
    flex-direction: column;
    gap: var(--if-s-5);
    overflow: hidden;
  }
  .toc-mobile { display: none; }
}


/* ==========================================================================
   6. ÍNDICE LATERAL (TOC) Y COMPARTIR
   ========================================================================== */

.toc { min-height: 0; display: flex; flex-direction: column; }

.toc__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--if-s-3);
  padding-bottom: var(--if-s-3);
  border-bottom: 1px solid var(--art-hairline);
  margin-bottom: var(--if-s-3);
}

.toc__title {
  font-family: var(--if-font-sans);
  font-size: var(--if-t-xs);
  font-weight: 700;
  letter-spacing: var(--if-track-wide);
  text-transform: uppercase;
  color: var(--if-text-subtle);
}

.toc__count {
  font-size: var(--if-t-xs);
  font-variant-numeric: tabular-nums;
  color: var(--if-text-subtle);
}
.toc__count strong { color: var(--if-brand-ink); font-weight: 700; }

.toc__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 2px;
}

.toc__link {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--if-s-2);
  align-items: start;
  padding: 0.5rem 0.625rem 0.5rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  font-size: var(--if-t-sm);
  line-height: 1.4;
  color: var(--if-text-subtle);
  border-radius: 0 var(--if-r-sm) var(--if-r-sm) 0;
  transition: color var(--if-dur-fast) var(--if-ease),
              border-color var(--if-dur-fast) var(--if-ease),
              background-color var(--if-dur-fast) var(--if-ease);
}

.toc__num {
  font-variant-numeric: tabular-nums;
  font-size: var(--if-t-xs);
  font-weight: 700;
  opacity: 0.6;
  padding-top: 1px;
}

.toc__link:hover {
  color: var(--if-text);
  background: var(--if-surface-hover);
  border-left-color: var(--if-border-strong);
}

.toc__link[aria-current='true'] {
  color: var(--if-text);
  font-weight: 600;
  border-left-color: var(--if-brand);
  background: var(--if-brand-soft);
}
.toc__link[aria-current='true'] .toc__num { opacity: 1; color: var(--if-brand-ink); }

/* --- Versión móvil: <details> ------------------------------------------- */
.toc-mobile {
  /* Es hermano de .prose, así que su separación no la da el ritmo vertical
     de la prosa: se declara aquí. */
  margin-bottom: var(--if-s-8);
  border: 1px solid var(--art-hairline);
  border-radius: var(--if-r-lg);
  background: var(--art-raise);
  overflow: hidden;
}

.toc-mobile > summary {
  cursor: pointer;
  list-style: none;
  padding: var(--if-s-4) var(--if-s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--if-s-3);
  font-size: var(--if-t-base);
  font-weight: 600;
  color: var(--if-text);
}
.toc-mobile > summary::-webkit-details-marker { display: none; }

.toc-mobile > summary svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--if-text-subtle);
  transition: transform var(--if-dur) var(--if-ease);
}
.toc-mobile[open] > summary svg { transform: rotate(180deg); }

.toc-mobile .toc__list {
  padding: 0 var(--if-s-4) var(--if-s-4);
  max-height: 52vh;
}

/* --- Compartir ----------------------------------------------------------- */
.share {
  display: flex;
  align-items: center;
  gap: var(--if-s-2);
  flex-wrap: wrap;
  padding-top: var(--if-s-4);
  border-top: 1px solid var(--art-hairline);
}

.share__label {
  font-size: var(--if-t-xs);
  font-weight: 700;
  letter-spacing: var(--if-track-wide);
  text-transform: uppercase;
  color: var(--if-text-subtle);
  width: 100%;
}

.share__btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--if-r-md);
  border: 1px solid var(--art-hairline);
  background: var(--if-surface);
  color: var(--if-text-muted);
  cursor: pointer;
  transition: color var(--if-dur-fast) var(--if-ease),
              border-color var(--if-dur-fast) var(--if-ease),
              transform var(--if-dur-fast) var(--if-ease);
}
.share__btn svg { width: 17px; height: 17px; }
.share__btn:hover {
  color: var(--if-text);
  border-color: var(--if-border-strong);
  transform: translateY(-1px);
}
.share__btn[data-copied='true'] { color: var(--if-brand-ink); border-color: var(--if-brand-ring); }

/* Versión al pie del artículo: mismo componente, más aire por encima. */
.share--inline { margin-top: var(--if-s-10); }


/* ==========================================================================
   7. PROSA
   --------------------------------------------------------------------------
   El ritmo vertical se define con margin-top sobre el elemento siguiente
   (nunca margin-bottom), para que el primer y el último hijo no dejen
   espacios muertos dentro de sus contenedores.
   ========================================================================== */

.prose {
  font-size: var(--art-body-size);
  line-height: var(--art-body-lh);
  color: var(--if-text-muted);
}

/* La separación entre párrafos tiene que superar el interlineado (1.78),
   o el ojo no distingue dónde termina uno y empieza el siguiente. En em
   para que escale con el tamaño de cuerpo fluido.
   Va prefijado con .art-main porque blog.css declara `.blog-page p{margin:0}`,
   que con (0,1,1) le gana a un `.prose > * + *` de (0,1,0). */
.art-main .prose > * + * { margin-top: 2.4em; }

.prose h2 {
  font-size: clamp(1.5rem, 1.15rem + 1.35vw, 2.125rem);
  line-height: 1.16;
  color: var(--if-text);
  margin-top: clamp(2.75rem, 2rem + 2.4vw, 4rem);
  /* El padding superior reserva la banda donde vive el número de sección. */
  padding-top: var(--if-s-10);
  border-top: 1px solid var(--art-hairline);
  scroll-margin-top: calc(var(--if-header-clear) + var(--if-s-8));
  position: relative;
}

/* Numeración discreta de sección: informativa pero no compite con el título. */
.prose h2::before {
  counter-increment: art-section;
  content: counter(art-section, decimal-leading-zero);
  position: absolute;
  top: var(--if-s-4);
  left: 0;
  line-height: 1;
  font-family: var(--if-font-sans);
  font-size: var(--if-t-xs);
  font-weight: 700;
  letter-spacing: var(--if-track-wide);
  color: var(--if-brand-ink);
  opacity: 0.85;
}

.prose h3 {
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem);
  line-height: 1.25;
  color: var(--if-text);
  margin-top: clamp(2rem, 1.5rem + 1.4vw, 2.75rem);
  padding-left: var(--if-s-4);
  border-left: 3px solid var(--if-brand);
  scroll-margin-top: calc(var(--if-header-clear) + var(--if-s-8));
}

.prose h4 {
  font-family: var(--if-font-sans);
  font-size: var(--if-t-md);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--if-text);
  margin-top: var(--if-s-8);
}

.prose p { color: inherit; }

/* Entradilla: el primer párrafo después del H1 se lee un punto más grande. */
.prose .lede {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  line-height: 1.62;
  color: var(--if-text);
}

.prose strong { color: var(--if-text); font-weight: 650; }
.prose em { font-style: italic; }

.prose a {
  color: var(--if-brand-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--if-brand-ring);
  transition: text-decoration-color var(--if-dur-fast) var(--if-ease),
              color var(--if-dur-fast) var(--if-ease);
}
.prose a:hover { text-decoration-color: currentColor; color: var(--if-brand-hover); }

/* Los enlaces que son componentes (tarjeta de fuente, chip normativo) viven
   dentro de .prose pero no se leen como enlace de texto: sin subrayado. */
.prose .source,
.prose .normchip {
  text-decoration: none;
  color: var(--if-text-muted);
}
.prose .source:hover,
.prose .normchip:hover { color: var(--if-text); }

/* --- Listas -------------------------------------------------------------- */
/* blog.css quita list-style a todos los ul/ol de la sección; la prosa las
   reconstruye con marcadores dibujados para controlar color y alineación.
   El `:not([class])` acota el tratamiento a las listas del texto: las de
   componentes (.tldr__list, .faq…) traen su propio marcador y no deben
   heredar la viñeta roja ni la sangría. */
.prose ul:not([class]),
.prose ol:not([class]) {
  display: flex;
  flex-direction: column;
  gap: var(--if-s-3);
  padding-left: 0;
}

.prose ul:not([class]) > li,
.prose ol:not([class]) > li {
  position: relative;
  padding-left: 1.75rem;
}

.prose ul:not([class]) > li::before {
  content: '';
  position: absolute;
  left: 0.375rem;
  top: calc(var(--art-body-lh) * 0.5em - 3px);
  width: 6px;
  height: 6px;
  border-radius: var(--if-r-full);
  background: var(--if-brand);
}

.prose ol:not([class]) { counter-reset: art-ol; }
.prose ol:not([class]) > li::before {
  counter-increment: art-ol;
  content: counter(art-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--if-brand-ink);
  font-size: 0.9em;
  line-height: inherit;
}

.prose li strong:first-child { color: var(--if-text); }

/* Listas "definición": término en negrita + explicación, muy usadas en los
   bloques de componentes. Se apoyan en la misma lista, sin markup extra. */
.prose li > p { margin-top: var(--if-s-1); }

/* --- Figuras ------------------------------------------------------------- */
.prose figure {
  margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
}

.prose figure img {
  width: 100%;
  border-radius: var(--if-r-lg);
  border: 1px solid var(--art-hairline);
  background: var(--if-bg-sunken);
}

.prose figcaption {
  margin-top: var(--if-s-3);
  font-size: var(--if-t-xs);
  color: var(--if-text-subtle);
  line-height: 1.55;
  padding-left: var(--if-s-3);
  border-left: 2px solid var(--art-hairline);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--art-hairline);
  margin-top: var(--if-s-10);
}

/* --- Ancla de encabezado ------------------------------------------------- */
.h-anchor {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  border: 0;
  background: none;
  padding: 0;
  color: var(--if-text-subtle);
  border-radius: var(--if-r-sm);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-1px);
  transition: opacity var(--if-dur-fast) var(--if-ease), color var(--if-dur-fast) var(--if-ease);
}
.h-anchor svg { width: 15px; height: 15px; }
.prose h2:hover .h-anchor,
.prose h3:hover .h-anchor,
.h-anchor:focus-visible { opacity: 1; }
.h-anchor:hover { color: var(--if-brand-ink); }
.h-anchor[data-copied='true'] { opacity: 1; color: var(--if-brand-ink); }

/* En táctil no hay hover: el ancla se muestra siempre, muy tenue. */
@media (hover: none) {
  .h-anchor { opacity: 0.45; }
}

/* --- Encabezados de componentes dentro de la prosa ------------------------
   El FAQ y el bloque de descarga viven dentro de .prose por semántica (son
   parte del artículo), pero sus h3 son títulos de componente, no de sección:
   no deben heredar el acento lateral ni el ritmo vertical de .prose h3. */
.prose .faq h3,
.prose .resource__title {
  margin-top: 0;
  padding-left: 0;
  border-left: 0;
}

.prose .resource__title { margin-top: var(--if-s-4); }

/* Título de cierre fuera de la prosa ("Siguientes pasos"): mismo peso visual
   que un h2 de sección, pero sin regla superior ni numeración. */
.art-outro-title {
  font-size: var(--if-t-2xl);
  margin-top: var(--if-s-12);
}


/* ==========================================================================
   8. CALLOUTS
   --------------------------------------------------------------------------
   Cuatro roles con la misma anatomía. El color entra por --cl-ink/--cl-soft,
   así que añadir una variante nueva es una línea, no un bloque.
   ========================================================================== */

.callout {
  --cl-ink: var(--art-clave-ink);
  --cl-soft: var(--art-clave-soft);

  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--if-s-4);
  align-items: start;
  margin-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  padding: var(--if-s-5) var(--if-s-5) var(--if-s-5) var(--if-s-5);
  border: 1px solid var(--art-hairline);
  border-left: 3px solid var(--cl-ink);
  border-radius: var(--if-r-md) var(--if-r-lg) var(--if-r-lg) var(--if-r-md);
  background: var(--cl-soft);
  font-size: var(--if-t-md);
  line-height: var(--if-lh-relaxed);
  color: var(--if-text-muted);
}

.callout__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--if-r-md);
  display: grid;
  place-items: center;
  background: var(--if-surface);
  border: 1px solid var(--art-hairline);
  color: var(--cl-ink);
  flex: none;
}
.callout__icon svg { width: 19px; height: 19px; }

.callout__label {
  display: block;
  font-family: var(--if-font-sans);
  font-size: var(--if-t-xs);
  font-weight: 700;
  letter-spacing: var(--if-track-wide);
  text-transform: uppercase;
  color: var(--cl-ink);
  margin-bottom: var(--if-s-2);
}

.callout__body > * + * { margin-top: var(--if-s-3); }
.callout strong { color: var(--if-text); font-weight: 650; }
.callout a { color: var(--cl-ink); }

.callout--nota    { --cl-ink: var(--art-nota-ink);    --cl-soft: var(--art-nota-soft); }
.callout--alerta  { --cl-ink: var(--art-alerta-ink);  --cl-soft: var(--art-alerta-soft); }
.callout--ejemplo { --cl-ink: var(--art-ejemplo-ink); --cl-soft: var(--art-ejemplo-soft); }
.callout--clave   { --cl-ink: var(--art-clave-ink);   --cl-soft: var(--art-clave-soft); }


/* ==========================================================================
   9. TABLAS
   --------------------------------------------------------------------------
   Desktop: tabla real. Móvil (<720px): cada fila se convierte en tarjeta y
   los encabezados se reinyectan desde data-label. Nunca hay que hacer zoom
   ni scroll horizontal en el body.
   ========================================================================== */

.tablewrap {
  margin-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  border: 1px solid var(--art-hairline);
  border-radius: var(--if-r-lg);
  background: var(--if-surface);
  overflow: hidden;
  box-shadow: var(--if-sh-sm);
}

.tablewrap__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.table-if {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--if-t-base);
  line-height: 1.5;
}

.table-if caption {
  caption-side: top;
  text-align: left;
  padding: var(--if-s-4) var(--if-s-5) 0;
  font-size: var(--if-t-xs);
  color: var(--if-text-subtle);
  letter-spacing: var(--if-track-wide);
  text-transform: uppercase;
  font-weight: 700;
}

.table-if th,
.table-if td {
  padding: var(--if-s-4) var(--if-s-5);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--art-hairline);
}

.table-if thead th {
  background: var(--if-bg-sunken);
  color: var(--if-text);
  font-family: var(--if-font-sans);
  font-size: var(--if-t-xs);
  font-weight: 700;
  letter-spacing: var(--if-track-wide);
  text-transform: uppercase;
  white-space: nowrap;
}

.table-if tbody th {
  color: var(--if-text);
  font-weight: 650;
  font-family: var(--if-font-sans);
}

.table-if tbody tr:last-child th,
.table-if tbody tr:last-child td { border-bottom: 0; }

.table-if tbody tr { transition: background-color var(--if-dur-fast) var(--if-ease); }
.table-if tbody tr:hover { background: var(--if-surface-hover); }

/* Columna de frecuencia: se lee como dato, no como prosa. */
.table-if .cell-freq {
  font-weight: 650;
  color: var(--if-text);
  white-space: nowrap;
}


/* ==========================================================================
   10. CHIPS NORMATIVOS
   ========================================================================== */

.normchips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--if-s-2);
  margin-top: var(--if-s-5);
}

.normchip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.6875rem;
  border-radius: var(--if-r-full);
  border: 1px solid var(--art-hairline);
  background: var(--if-surface);
  font-size: var(--if-t-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--if-text-muted);
  text-decoration: none;
  transition: border-color var(--if-dur-fast) var(--if-ease),
              color var(--if-dur-fast) var(--if-ease);
}
.normchip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: var(--if-r-full);
  background: var(--if-brand);
  flex: none;
}
.normchip:hover { color: var(--if-text); border-color: var(--if-border-strong); }


/* ==========================================================================
   11. RECURSO, AUTORÍA, FUENTES, SIGUIENTES PASOS
   ========================================================================== */

/* --- Bloque de descarga dentro del artículo ------------------------------ */
/* Reutiliza .resource / .resource__foot de blog.css para que la captura de
   correo del CRM ([data-resource] en blog.js) funcione sin JS adicional. */
.art-lead {
  /* .resource de blog.css solo aporta padding y gap: el display flex lo pone
     .card, que aquí no se usa porque el bloque no es una tarjeta de grid. */
  display: flex;
  flex-direction: column;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-radius: var(--if-r-xl);
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  background: var(--if-n-950);
  color: var(--if-n-0);
  border: 1px solid var(--if-n-800);
  position: relative;
  overflow: hidden;
}

.art-lead::before {
  content: '';
  position: absolute;
  inset: auto -20% -60% 40%;
  height: 280px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 0, 18, 0.28), transparent 65%);
  pointer-events: none;
}

.art-lead > * { position: relative; }

.art-lead .resource__type {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}
.art-lead .resource__icon {
  background: rgba(255, 0, 18, 0.16);
  color: #ff8a92;
  border-color: rgba(255, 255, 255, 0.12);
}
.art-lead .resource__title { color: var(--if-n-0); font-size: var(--if-t-xl); }
.art-lead .resource__desc { color: rgba(255, 255, 255, 0.72); }
.art-lead .resource__pages { color: rgba(255, 255, 255, 0.5); }
.art-lead .resource__foot { border-top-color: rgba(255, 255, 255, 0.12); }
.art-lead .field__label { color: rgba(255, 255, 255, 0.78); }
.art-lead .resource__capture { border-top-color: rgba(255, 255, 255, 0.12); }
.art-lead .resource__capture-hint { color: rgba(255, 255, 255, 0.5); }
.art-lead .field__control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.art-lead .field__control::placeholder { color: rgba(255, 255, 255, 0.36); }
.art-lead .resource__done { color: #86efac; }

/* --- Banner secundario del recurso descargable ---------------------------
   Variante horizontal y compacta de .art-lead.resource, para repetir el
   mismo lead magnet en un segundo punto del artículo (p. ej. justo después
   de una tabla larga) sin construir un botón o un componente nuevo: sigue
   usando .resource / .resource__foot para que blog.js lo reconozca igual
   que al bloque principal. Gap introducido por el artículo #2: el #1 no
   necesitaba repetir un mismo recurso dos veces en la misma página. */
.art-lead--banner {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--if-s-4);
  padding: clamp(1.125rem, 1rem + 0.6vw, 1.5rem) clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.art-lead--banner .art-lead__banner-text {
  display: flex;
  flex-direction: column;
  gap: var(--if-s-2);
  min-width: 0;
}

.art-lead--banner .resource__type {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.16);
}

.art-lead__banner-title {
  font-size: var(--if-t-md);
  font-weight: 650;
  color: var(--if-n-0);
  line-height: 1.4;
}

.art-lead--banner .resource__foot {
  flex: none;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 560px) {
  .art-lead--banner { flex-direction: column; align-items: stretch; }
  .art-lead--banner .resource__foot { justify-content: flex-start; }
}


/* --- CTA final (dos botones) -----------------------------------------------
   El botón ghost puede llevar una etiqueta larga (p. ej. el nombre completo
   de un lead magnet): sin este ajuste hereda white-space:nowrap de .btn-if
   en blog.css y desborda el ancho en móvil. Se permite el wrap solo dentro
   de este contenedor puntual, sin tocar la regla .btn-if general. */
.art-final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--if-s-3);
}
.art-final-cta .btn-if {
  white-space: normal;
  text-align: center;
}

@media (max-width: 480px) {
  .art-final-cta .btn-if { flex: 1 1 100%; }
}


/* --- Caja de autoría ----------------------------------------------------- */
.authorbox {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  border: 1px solid var(--art-hairline);
  border-radius: var(--if-r-xl);
  background: var(--art-raise);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: var(--if-s-4);
  align-items: start;
}

.authorbox__avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--if-r-full);
  display: grid;
  place-items: center;
  background: var(--if-n-900);
  color: var(--if-n-0);
  font-family: var(--if-font-display);
  font-weight: 800;
  font-size: var(--if-t-base);
}

.authorbox__name { font-size: var(--if-t-lg); font-weight: 800; }
.authorbox__role {
  font-size: var(--if-t-xs);
  letter-spacing: var(--if-track-wide);
  text-transform: uppercase;
  color: var(--if-brand-ink);
  font-weight: 700;
  margin-top: 2px;
}
.authorbox__text {
  margin-top: var(--if-s-3);
  font-size: var(--if-t-base);
  line-height: var(--if-lh-normal);
  color: var(--if-text-muted);
}
.authorbox__text + .authorbox__text { margin-top: var(--if-s-3); }

/* --- Fuentes oficiales --------------------------------------------------- */
.sources { display: grid; gap: var(--if-s-2); margin-top: var(--if-s-5); }

.source {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  gap: var(--if-s-3);
  align-items: center;
  padding: var(--if-s-4);
  border: 1px solid var(--art-hairline);
  border-radius: var(--if-r-md);
  background: var(--if-surface);
  text-decoration: none;
  transition: border-color var(--if-dur-fast) var(--if-ease),
              background-color var(--if-dur-fast) var(--if-ease);
}
.source:hover { border-color: var(--if-border-strong); background: var(--if-surface-hover); }

.source__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--if-r-sm);
  display: grid;
  place-items: center;
  background: var(--if-bg-sunken);
  color: var(--if-text-muted);
}
.source__icon svg { width: 16px; height: 16px; }

.source__name {
  display: block;
  font-size: var(--if-t-base);
  font-weight: 600;
  color: var(--if-text);
  line-height: 1.35;
}
.source__host {
  display: block;
  font-size: var(--if-t-xs);
  color: var(--if-text-subtle);
  margin-top: 2px;
  font-family: var(--if-font-mono);
}
.source__go { width: 18px; height: 18px; color: var(--if-text-subtle); }

/* --- Siguientes pasos ---------------------------------------------------- */
.nextsteps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--if-s-4);
  margin-top: var(--if-s-6);
}

.nextstep {
  display: flex;
  flex-direction: column;
  gap: var(--if-s-2);
  padding: var(--if-s-5);
  border: 1px solid var(--art-hairline);
  border-radius: var(--if-r-lg);
  background: var(--if-surface);
  text-decoration: none;
  transition: transform var(--if-dur) var(--if-ease),
              box-shadow var(--if-dur) var(--if-ease),
              border-color var(--if-dur) var(--if-ease);
}
.nextstep:hover {
  transform: translateY(-3px);
  box-shadow: var(--if-sh-lg);
  border-color: var(--if-border-strong);
}

.nextstep__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--if-r-md);
  display: grid;
  place-items: center;
  background: var(--if-brand-soft);
  color: var(--if-brand-ink);
}
.nextstep__icon svg { width: 18px; height: 18px; }

.nextstep__title { font-size: var(--if-t-md); font-weight: 700; color: var(--if-text); }
.nextstep__text { font-size: var(--if-t-sm); color: var(--if-text-muted); line-height: var(--if-lh-normal); }
.nextstep__go {
  margin-top: auto;
  padding-top: var(--if-s-2);
  font-size: var(--if-t-sm);
  font-weight: 600;
  color: var(--if-brand-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.nextstep__go svg { width: 14px; height: 14px; transition: transform var(--if-dur) var(--if-ease); }
.nextstep:hover .nextstep__go svg { transform: translateX(3px); }


/* ==========================================================================
   12. CTA PEGAJOSO MÓVIL
   --------------------------------------------------------------------------
   Aparece pasado el 25% del artículo y se puede cerrar. Solo existe por
   debajo de 900px, donde el CTA lateral no cabe.
   ========================================================================== */

.stickycta {
  position: fixed;
  left: var(--if-s-3);
  right: var(--if-s-3);
  bottom: var(--if-s-3);
  z-index: var(--if-z-top);
  display: none;
  align-items: center;
  gap: var(--if-s-3);
  padding: var(--if-s-3) var(--if-s-3) var(--if-s-3) var(--if-s-4);
  border-radius: var(--if-r-lg);
  background: var(--if-n-950);
  color: var(--if-n-0);
  border: 1px solid var(--if-n-800);
  box-shadow: var(--if-sh-xl);
  opacity: 0;
  transform: translateY(120%);
  transition: opacity var(--if-dur) var(--if-ease), transform var(--if-dur) var(--if-ease);
}

.stickycta[data-show='true'] { opacity: 1; transform: translateY(0); }

.stickycta__text {
  flex: 1;
  min-width: 0;
  font-size: var(--if-t-sm);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}
.stickycta__text strong { display: block; color: #fff; font-size: var(--if-t-base); }

.stickycta__btn {
  flex: none;
  padding: 0.625rem 1rem;
  border-radius: var(--if-r-md);
  background: var(--if-brand);
  color: #fff;
  font-size: var(--if-t-sm);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.stickycta__close {
  flex: none;
  width: 28px;
  height: 28px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: var(--if-r-sm);
}
.stickycta__close svg { width: 14px; height: 14px; }
.stickycta__close:hover { color: #fff; }

@media (max-width: 900px) {
  .stickycta { display: flex; }
}


/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .art-hero__frame { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  .art-hero__title { max-width: none; }
  .art-hero__frame { aspect-ratio: 4 / 3; border-radius: var(--if-r-xl); }

  .callout {
    grid-template-columns: 1fr;
    gap: var(--if-s-3);
    padding: var(--if-s-4);
  }
  .callout__icon { width: 34px; height: 34px; }

  .authorbox { grid-template-columns: 1fr; }

  /* --- Tablas como tarjetas ---------------------------------------------- */
  .table-if thead { display: none; }
  .table-if,
  .table-if tbody,
  .table-if tr,
  .table-if th,
  .table-if td { display: block; width: 100%; }

  .table-if tbody tr {
    border-bottom: 1px solid var(--art-hairline);
    padding: var(--if-s-4) var(--if-s-5);
  }
  .table-if tbody tr:last-child { border-bottom: 0; }

  .table-if tbody th {
    padding: 0 0 var(--if-s-2);
    border-bottom: 0;
    font-size: var(--if-t-md);
    color: var(--if-text);
  }

  .table-if tbody td {
    padding: var(--if-s-2) 0 0;
    border-bottom: 0;
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: var(--if-s-3);
    align-items: start;
  }

  /* El encabezado de columna vuelve como etiqueta de la celda. */
  .table-if tbody td::before {
    content: attr(data-label);
    font-size: var(--if-t-xs);
    font-weight: 700;
    letter-spacing: var(--if-track-wide);
    text-transform: uppercase;
    color: var(--if-text-subtle);
    padding-top: 2px;
  }

  .table-if .cell-freq { white-space: normal; }

  /* Con la tabla en display:block, un table-caption se encoge a su ancho
     mínimo y el texto queda en una columna de dos palabras. */
  .table-if caption {
    display: block;
    padding: var(--if-s-4) var(--if-s-5) var(--if-s-1);
  }
}

@media (max-width: 420px) {
  .source { grid-template-columns: 28px minmax(0, 1fr); }
  .source__go { display: none; }
  .stickycta__text { font-size: var(--if-t-xs); }
}


/* ==========================================================================
   14. MODO OSCURO
   --------------------------------------------------------------------------
   Los tres estados del tema, igual que en blog.css. Ningún color de esta
   hoja tiene su única definición dentro de un @media.
   ========================================================================== */

:root[data-theme='dark'] {
  --art-raise: #12171f;
  --art-hairline: #242b38;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --art-raise: #12171f;
    --art-hairline: #242b38;
  }
}

/* Ajustes que no son solo intercambio de token. */
:root[data-theme='dark'] .art-hero::before { opacity: 0.65; }
:root[data-theme='dark'] .art-lead { background: #080b10; border-color: var(--if-border); }
:root[data-theme='dark'] .callout__icon { background: var(--if-bg-sunken); }
:root[data-theme='dark'] .art-hero__avatar,
:root[data-theme='dark'] .authorbox__avatar { background: var(--if-brand-ink); color: #0b0e14; }
:root[data-theme='dark'] .reading-progress__bar { box-shadow: 0 0 14px rgba(255, 90, 102, 0.5); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .art-hero::before { opacity: 0.65; }
  :root:not([data-theme='light']) .art-lead { background: #080b10; border-color: var(--if-border); }
  :root:not([data-theme='light']) .callout__icon { background: var(--if-bg-sunken); }
  :root:not([data-theme='light']) .art-hero__avatar,
  :root:not([data-theme='light']) .authorbox__avatar { background: var(--if-brand-ink); color: #0b0e14; }
  :root:not([data-theme='light']) .reading-progress__bar { box-shadow: 0 0 14px rgba(255, 90, 102, 0.5); }
}


/* ==========================================================================
   15. ACCESIBILIDAD, PREFERENCIAS E IMPRESIÓN
   ========================================================================== */

/* El contador de secciones vive en el contenedor del artículo, no en :root,
   para que reiniciarlo no dependa del orden de otras páginas. */
.art-main { counter-reset: art-section; }

@media (prefers-reduced-motion: reduce) {
  .reading-progress__bar { transition: none; }
  .nextstep:hover,
  .share__btn:hover { transform: none; }
  .stickycta { transition: none; }
}

@media (prefers-contrast: more) {
  .callout { border-width: 1px; border-left-width: 4px; }
  .prose a { text-decoration-color: currentColor; }
}

@media print {
  .reading-progress,
  .art-rail,
  .toc-mobile,
  .share,
  .stickycta,
  .art-lead,
  .h-anchor,
  .nextsteps { display: none !important; }

  .art-hero::before { display: none; }
  .art-layout { display: block; }
  .art-main { max-width: none; }
  .prose { font-size: 11pt; line-height: 1.5; color: #000; }
  .prose h2 { break-after: avoid; }
  .callout,
  .tablewrap { break-inside: avoid; border: 1px solid #999; background: #fff; }

  /* En papel la URL de un enlace es la única forma de seguirlo. */
  .prose a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
    color: #555;
    word-break: break-all;
  }
}
