/* @codelabs/blog 0.2.0 styles, copied by tools/blog/sync_blog.mjs: do not edit */
/*
 * Los colores de títulos y enlaces van explícitos: las webs suelen tener resets
 * globales (h1,h2{color:var(--ink)}) que, si no, pintarían de oscuro el texto del hero.
 *
 * @codelabs/blog v2: estilos del estándar de blog del portfolio (2026-11-13).
 * CSS plano, sin Tailwind: Tailwind v4 no escanea node_modules, así que unas
 * clases utilitarias dentro del paquete no llegarían al CSS del producto.
 * Cada producto fija SOLO las variables --clb-* (marca, ancho = el del footer,
 * altura de su cabecera fija). Todo lo demás es igual en todos los blogs.
 */

.clb-root {
  --clb-accent: #2f5bff;
  --clb-accent-ink: #1e46e0;
  --clb-accent-soft: #eef2ff;
  --clb-accent-2: #7c3aed;
  --clb-ink: #0c0f14;
  --clb-muted: #525a67;
  --clb-bg: #ffffff;
  --clb-surface: #f4f6f9;
  --clb-line: #e2e6ec;
  --clb-radius: 14px;
  --clb-maxw: 1280px;
  --clb-gutter: clamp(16px, 4vw, 48px);
  --clb-sticky-top: 96px;
  --clb-font-heading: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --clb-font-body: inherit;
  --clb-toc-w: 13.5rem;
  --clb-side-w: 18.5rem;
  --clb-gap: clamp(1.75rem, 2.6vw, 2.5rem);
  color: var(--clb-ink);
  background: var(--clb-bg);
  font-family: var(--clb-font-body);
}

:is(.dark, [data-theme="dark"]) .clb-root {
  --clb-accent: #7b97ff;
  --clb-accent-ink: #a8bbff;
  --clb-accent-soft: rgba(123, 151, 255, 0.16);
  --clb-ink: #eef1f6;
  --clb-muted: #a3acba;
  --clb-bg: #0b0d12;
  --clb-surface: #151922;
  --clb-line: #262c38;
}

.clb-root *,
.clb-root *::before,
.clb-root *::after {
  box-sizing: border-box;
}

.clb-container {
  width: 100%;
  max-width: var(--clb-maxw);
  margin-inline: auto;
  padding-inline: var(--clb-gutter);
}

.clb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.clb-root :focus-visible {
  outline: 3px solid var(--clb-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Títulos de bloque: Plus Jakarta Sans 800, 48 px en escritorio (igual que home y precios). */
.clb-h2 {
  margin: 0;
  color: var(--clb-ink);
  font-family: var(--clb-font-heading);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* ---------- Pastillas (tags) ---------- */
.clb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clb-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--clb-accent-soft);
  color: var(--clb-accent-ink);
  /* Sin el atajo font: con --clb-font-body: inherit la declaración entera sería inválida. */
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.clb-pill:hover {
  border-color: var(--clb-accent);
}
.clb-pill--button {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 14px;
  background: var(--clb-surface);
  color: var(--clb-ink);
  border-color: var(--clb-line);
}
.clb-pill--button[aria-pressed="true"] {
  background: var(--clb-ink);
  border-color: var(--clb-ink);
  color: var(--clb-bg);
}
.clb-pill__n {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.72;
}
.clb-pill--on-image {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(6px);
}
.clb-pill--on-image:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

/* ---------- Hero a sangre (landing y artículo) ---------- */
.clb-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  min-height: clamp(440px, 62vh, 640px);
  background: #10131a;
  color: #fff;
}
.clb-hero--landing {
  min-height: clamp(380px, 52vh, 560px);
}
.clb-hero--plain {
  background: radial-gradient(120% 140% at 0% 100%, var(--clb-accent) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 0%, var(--clb-accent-2) 0%, transparent 50%), #10131a;
}
/* La foto ENTERA cubre el hero (nunca un trozo con degradado a blanco). */
.clb-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/*
 * Velo oscuro para el contraste AA del texto blanco con CUALQUIER foto (también una muy clara):
 * en escritorio más denso a la izquierda, donde va el texto, y la derecha de la foto queda viva;
 * en móvil el texto ocupa todo el ancho, así que el velo es uniforme.
 */
.clb-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.62) 0%, rgba(8, 10, 14, 0.55) 40%, rgba(8, 10, 14, 0.8) 100%);
}
@media (min-width: 900px) {
  .clb-hero__scrim {
    background: linear-gradient(90deg, rgba(8, 10, 14, 0.7) 0%, rgba(8, 10, 14, 0.58) 55%, rgba(8, 10, 14, 0.28) 85%, rgba(8, 10, 14, 0.12) 100%),
      linear-gradient(180deg, rgba(8, 10, 14, 0.45) 0%, rgba(8, 10, 14, 0.18) 30%, rgba(8, 10, 14, 0.18) 60%, rgba(8, 10, 14, 0.6) 100%);
  }
}
.clb-hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding-block: 20px clamp(32px, 5vw, 64px);
}
.clb-hero--landing .clb-hero__inner {
  justify-content: flex-end;
}
.clb-hero__content {
  max-width: 54rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.clb-hero__title {
  margin: 0;
  color: #fff;
  font-family: var(--clb-font-heading);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.clb-hero__meta {
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 600;
}
.clb-hero__desc {
  margin: 16px 0 0;
  max-width: 44rem;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.clb-hero__author {
  margin: 14px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}
.clb-hero__author strong {
  color: #fff;
}

.clb-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.clb-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.6;
}
.clb-crumbs a:not(.clb-pill) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.clb-crumbs a:not(.clb-pill):hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Buscador y tags de la landing ---------- */
.clb-search {
  position: relative;
  margin-top: 28px;
  max-width: 40rem;
}
.clb-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clb-muted);
  pointer-events: none;
}
.clb-search__input {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px 14px 50px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: #fff;
  color: #0c0f14;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.45);
}
.clb-search__input::placeholder {
  color: #5b6472;
}
.clb-landing__body {
  padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 96px);
}
.clb-tags {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.clb-tags__h {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clb-muted);
}
.clb-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clb-landing__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.clb-landing__status {
  margin: 0;
  color: var(--clb-muted);
  font-weight: 600;
}
.clb-empty {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 32px;
  border: 1px dashed var(--clb-line);
  border-radius: var(--clb-radius);
}

/* ---------- Tarjetas ---------- */
/*
 * Rejilla equilibrada (Jose, 2026-11-09): nunca una fila coja. Columnas por el ancho del
 * CONTENEDOR (1 / 2 desde 600 px / 3 desde 1160 px) y destacadas marcadas con
 * data-clb-f3 / data-clb-f2 (featureMarks): con N tarjetas, las primeras N % 3 (o N % 2)
 * llenan la primera fila. Como no depende del ancho, el HTML del servidor no salta.
 */
.clb-grid-host {
  container: clb-grid / inline-size;
}
.clb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
@container clb-grid (min-width: 600px) {
  .clb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container clb-grid (min-width: 600px) and (max-width: 1159.98px) {
  .clb-grid > li[data-clb-f2] {
    grid-column: 1 / -1;
  }
  .clb-grid > li[data-clb-f2] .clb-card {
    flex-direction: row;
  }
  .clb-grid > li[data-clb-f2] .clb-card__media {
    flex: 0 0 56%;
    align-self: flex-start;
  }
  .clb-grid > li[data-clb-f2] .clb-card__body {
    align-self: center;
    padding: clamp(20px, 3.4cqi, 40px);
  }
  .clb-grid > li[data-clb-f2] .clb-card__title {
    font-size: clamp(22px, 3.2cqi, 30px);
  }
}
@container clb-grid (min-width: 1160px) {
  .clb-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .clb-grid > li {
    grid-column: span 2;
  }
  .clb-grid > li[data-clb-f3="half"] {
    grid-column: span 3;
  }
  .clb-grid > li[data-clb-f3="half"] .clb-card__title {
    font-size: clamp(22px, 1.9vw, 27px);
  }
  .clb-grid > li[data-clb-f3="full"] {
    grid-column: 1 / -1;
  }
  .clb-grid > li[data-clb-f3="full"] .clb-card {
    flex-direction: row;
  }
  .clb-grid > li[data-clb-f3="full"] .clb-card__media {
    flex: 0 0 58%;
    align-self: flex-start;
  }
  .clb-grid > li[data-clb-f3="full"] .clb-card__body {
    align-self: center;
    gap: 14px;
    padding: clamp(28px, 3vw, 52px);
  }
  .clb-grid > li[data-clb-f3="full"] .clb-card__title {
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1.1;
  }
  .clb-grid > li[data-clb-f3="full"] .clb-card__desc {
    font-size: 18px;
  }
}
.clb-grid > li,
.clb-side__list > li {
  display: flex;
}
.clb-grid > li[hidden],
.clb-side__list > li[hidden] {
  display: none;
}
.clb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--clb-line);
  border-radius: var(--clb-radius);
  background: var(--clb-bg);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.clb-card:hover {
  border-color: color-mix(in srgb, var(--clb-accent) 40%, var(--clb-line));
  box-shadow: 0 1px 2px rgba(12, 15, 20, 0.04), 0 16px 36px -16px rgba(12, 15, 20, 0.22);
  transform: translateY(-2px);
}
.clb-card:focus-within {
  border-color: var(--clb-accent);
}
.clb-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--clb-surface);
}
.clb-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.clb-card:hover .clb-card__media img {
  transform: scale(1.03);
}
.clb-card__placeholder {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--clb-accent) 0%, var(--clb-accent-2) 100%);
  color: #fff;
  font-family: var(--clb-font-heading);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.clb-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
}
.clb-card__title {
  margin: 0;
  color: var(--clb-ink);
  font-family: var(--clb-font-heading);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.clb-card__link {
  color: inherit;
  text-decoration: none;
}
/* Toda la tarjeta es clicable sin anidar enlaces: el ::after del título la cubre. */
.clb-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.clb-card__link:focus-visible {
  outline: none;
}
.clb-card__link:focus-visible::after {
  outline: 3px solid var(--clb-accent);
  outline-offset: -3px;
  border-radius: var(--clb-radius);
}
.clb-card__desc {
  margin: 0;
  color: var(--clb-muted);
  font-size: 15.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clb-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: auto 0 0;
  padding-top: 2px;
  color: var(--clb-muted);
  font-size: 13.5px;
  font-weight: 600;
}
.clb-card--side .clb-card__body {
  gap: 8px;
  padding: 14px 16px 16px;
}
.clb-card--side .clb-card__title {
  font-size: 16.5px;
}

/* ---------- Artículo: tres columnas sin huecos ---------- */
.clb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "tocm" "main" "side";
  gap: 28px;
  padding-block: clamp(28px, 4vw, 56px);
}
.clb-toc-mobile {
  grid-area: tocm;
}
.clb-main {
  grid-area: main;
  min-width: 0;
}
.clb-toc {
  grid-area: toc;
  display: none;
}
.clb-side {
  grid-area: side;
  display: grid;
  gap: 28px;
  align-content: start;
  min-width: 0;
}

/* Índice plegado arriba (móvil y tableta). */
.clb-toc-mobile {
  border: 1px solid var(--clb-line);
  border-radius: var(--clb-radius);
  background: var(--clb-surface);
}
.clb-toc-mobile > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  min-height: 52px;
  padding: 12px 44px 12px 16px;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}
.clb-toc-mobile > summary::-webkit-details-marker {
  display: none;
}
.clb-toc-mobile > summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.clb-toc-mobile[open] > summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.clb-toc-mobile__current {
  flex-basis: 100%;
  overflow: hidden;
  color: var(--clb-accent-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.clb-toc-mobile .clb-toc__list {
  padding: 0 12px 12px 14px;
}

.clb-toc__title {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clb-muted);
}
.clb-toc__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--clb-line);
}
.clb-toc__list a {
  display: block;
  margin-left: -2px;
  padding: 7px 0 7px 14px;
  border-left: 2px solid transparent;
  color: var(--clb-muted);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.clb-toc__sub a {
  padding-left: 26px;
  font-size: 13.5px;
}
.clb-toc__list a:hover {
  color: var(--clb-ink);
}
.clb-toc__list a[aria-current="location"] {
  border-left-color: var(--clb-accent);
  color: var(--clb-accent-ink);
  font-weight: 800;
}

/* Dos columnas (tableta horizontal): texto | índice fijo; las tarjetas bajan a una rejilla. */
@media (min-width: 900px) {
  .clb-layout {
    grid-template-columns: minmax(0, 1fr) var(--clb-toc-w);
    grid-template-areas: "main toc" "side side";
    column-gap: var(--clb-gap);
    align-items: start;
  }
  .clb-layout--no-toc {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "main" "side";
  }
  .clb-toc-mobile {
    display: none;
  }
  .clb-toc {
    display: block;
    position: sticky;
    top: var(--clb-sticky-top);
    max-height: calc(100vh - var(--clb-sticky-top) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* «Más de <tag>» y «Más del blog» lado a lado bajo el texto. */
  .clb-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--clb-gap);
  }
}

/* Tres columnas: texto | índice | tarjetas, pegadas con el mismo hueco (sin blanco sobrante). */
@media (min-width: 1200px) {
  .clb-layout {
    grid-template-columns: minmax(0, 1fr) var(--clb-toc-w) var(--clb-side-w);
    grid-template-areas: "main toc side";
  }
  .clb-layout--no-toc {
    grid-template-columns: minmax(0, 1fr) var(--clb-side-w);
    grid-template-areas: "main side";
  }
  .clb-side {
    grid-template-columns: minmax(0, 1fr);
  }
}

.clb-side__block {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}
.clb-side__h {
  margin: 0;
  color: var(--clb-ink);
  font-family: var(--clb-font-heading);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.clb-side__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Vídeos verticales 9:16 */
.clb-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clb-video {
  margin: 0;
}
.clb-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--clb-radius);
  background: #000;
}
.clb-video figcaption {
  margin-top: 6px;
  color: var(--clb-muted);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Cuerpo del artículo ---------- */
.clb-prose {
  font-size: 18px;
  line-height: 1.72;
  color: var(--clb-ink);
  overflow-wrap: break-word;
}
.clb-prose > :first-child {
  margin-top: 0;
}
.clb-prose :is(p, ul, ol, blockquote, figure, table, pre) {
  margin: 0 0 1.15em;
}
.clb-prose :is(h2, h3) {
  color: var(--clb-ink);
  font-family: var(--clb-font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--clb-sticky-top) + 8px);
}
.clb-prose h2 {
  margin: 2em 0 0.6em;
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.15;
}
.clb-prose h3 {
  margin: 1.6em 0 0.5em;
  font-size: clamp(20px, 1.6vw, 23px);
  line-height: 1.25;
}
.clb-prose :is(h2, h3):focus {
  outline: none;
}
.clb-prose a {
  color: var(--clb-accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.clb-prose :is(ul, ol) {
  padding-left: 1.3em;
}
.clb-prose li + li {
  margin-top: 0.35em;
}
.clb-prose blockquote {
  padding: 0.4em 0 0.4em 1.1em;
  border-left: 4px solid var(--clb-accent);
  color: var(--clb-muted);
  font-size: 1.05em;
}
.clb-prose figure img,
.clb-prose > p > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--clb-radius);
  background: var(--clb-surface);
}
/* Gráficos y diagramas DENTRO del texto, a proporción controlada (nunca como hero). */
.clb-prose figure.clb-graphic img {
  width: auto;
  max-width: 100%;
  max-height: 28rem;
  margin-inline: auto;
  object-fit: contain;
  background: transparent;
}
.clb-prose figcaption {
  margin-top: 8px;
  color: var(--clb-muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.clb-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 16px;
}
.clb-prose :is(th, td) {
  padding: 10px 12px;
  border-bottom: 1px solid var(--clb-line);
  text-align: left;
  vertical-align: top;
}
.clb-prose pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: var(--clb-radius);
  background: var(--clb-surface);
  font-size: 15px;
}

/* ---------- CTA final y «sigue leyendo» ---------- */
.clb-article__end {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  padding-block: clamp(8px, 2vw, 24px) clamp(48px, 6vw, 96px);
}
.clb-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(var(--clb-radius) * 1.6);
  background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--clb-accent-2) 85%, #000) 0%, transparent 60%),
    linear-gradient(135deg, var(--clb-accent-ink) 0%, color-mix(in srgb, var(--clb-accent-ink) 55%, #05070c) 100%);
  color: #fff;
}
.clb-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -40%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
}
.clb-cta__inner {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 46rem;
  padding: clamp(28px, 5vw, 64px);
}
.clb-cta__title {
  margin: 0;
  color: #fff;
  font-family: var(--clb-font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.clb-cta__text {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.clb-cta__btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--clb-accent-ink);
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s;
}
.clb-cta__btn:hover {
  transform: translateY(-1px);
}
.clb-cta__btn:focus-visible {
  outline-color: #fff;
}
.clb-continue {
  display: grid;
  gap: 24px;
}

/* ---------- Selector de idioma del artículo ---------- */
.clb-lang ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clb-lang a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--clb-muted);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.clb-lang a[aria-current="page"] {
  background: var(--clb-accent-soft);
  color: var(--clb-accent-ink);
}

@media (prefers-reduced-motion: reduce) {
  .clb-root *,
  .clb-root *::before,
  .clb-root *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .clb-card:hover,
  .clb-card:hover .clb-card__media img,
  .clb-cta__btn:hover {
    transform: none;
  }
}
