/* Consultas medio (staging only). Ported verbatim from the Tekunva × El Universal reference
   (design/eluniversal/assets/tekunva.css), plus the Consultas pieces of the approved mockup.
   Class names are kept so the reference markup ports 1:1. Rules sit in the components layer:
   ahead of Tailwind utilities (as in the reference, where the CDN utilities load after this sheet)
   and after the preflight. The order statement mirrors Tailwind 4 so load order cannot change it. */
@layer theme, base, components, utilities;
@layer components {
/* Tekunva × El Universal — ronda 3
   Header/footer: Consultas (components/vue/header|footer/ElUniversal.vue), sin cambios desde la ronda 2.
   Áreas de contenido: eluniversal.com.mx en vivo (nota /techbit/…, portada de sección /techbit/), medidas a 1440 y 390 px.
   Widgets Tekunva: mismo lenguaje (reglas finas, azul de sección, bandas grises, esquinas rectas). Ver tokens.md. */

:root {
  --eu-ink: #000;
  --eu-title: #202a3f; /* h1 de la nota (live: rgb 32,42,63) */
  --eu-blue: #005383; /* categoría, títulos de sección (live) */
  --eu-author: #0068a2; /* nombre del autor (live) */
  --eu-link: #0b63c4; /* live #4198fc = 2.9:1 → oscurecido para AA (5.6:1) */
  --eu-gray: #666; /* fecha y hora (live) 5.7:1 */
  --eu-muted: #525252; /* [Publicidad] (live) */
  --eu-band: #ecf0f1; /* pie de foto y cajas (live) */
  --eu-rule: #d0d0d0; /* borde del header (live) */
  --eu-rule-soft: #e5e7eb;
  --eu-more: #036093; /* "MÁS INFORMACIÓN" (live) */
  --eu-red: #dd0011; /* "Lo último" (live) */
  --tk-track: #e3e7ea;
  --tk-good: #1b7f3b;
  --tk-bad: #b42318;
  --tk-sponsor-bg: #fbf7ee;
  --tk-sponsor-rule: #e3d6b8;
  --tk-sponsor-ink: #5f4b1f;
  --body-font:
    Baufra, "Helvetica Neue", Helvetica, Arial, sans-serif; /* live: Baufra sin @font-face → cae a Helvetica/Arial */
  --ui-font: "Work Sans", system-ui, -apple-system, sans-serif;
}

/* ---------- Base (global.css de Consultas, sin los tamaños forzados de h1–h3) ---------- */
body {
  font-family: var(--ui-font);
}
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
/* El pie portado conserva el h3 de 24 px que Consultas fuerza con h3:not(.custom-title) */
footer h3 {
  font-size: 24px !important;
}
html {
  scroll-padding-top: 120px;
}
@media (min-width: 992px) {
  html {
    scroll-padding-top: 144px;
  }
}
.has-subnav {
  scroll-padding-top: 170px;
}
@media (min-width: 992px) {
  .has-subnav {
    scroll-padding-top: 196px;
  }
}
main h1,
main h2,
main h3,
main h4 {
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 2px solid #005588;
  outline-offset: 2px;
  border-radius: 2px;
}
.on-dark :focus-visible,
footer :focus-visible,
.sf-hero :focus-visible,
.sf-videos :focus-visible {
  outline-color: #fff;
}
[hidden] {
  display: none !important;
}
.tnum {
  font-variant-numeric: tabular-nums;
}
.nowrap {
  white-space: nowrap;
}
.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;
}
.clamp-2,
.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clamp-2 {
  -webkit-line-clamp: 2;
}
.clamp-3 {
  -webkit-line-clamp: 3;
}
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] > summary .chev {
  transform: rotate(180deg);
}
/* Área táctil mínima de 44 px sin cambiar el tamaño visual */
.hit {
  position: relative;
}
.hit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}
@media (max-width: 354px) {
  .eu-logo-sm {
    width: 150px !important;
  }
}
img {
  max-width: 100%;
}
.img-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--eu-band);
}
.ratio-53 {
  aspect-ratio: 5 / 3;
}
.ratio-43 {
  aspect-ratio: 4 / 3;
}
.ratio-169 {
  aspect-ratio: 16 / 9;
}
.ratio-11 {
  aspect-ratio: 1 / 1;
}

/* ---------- Barra del mockup (no es parte del sitio) ---------- */
.mockbar {
  background: repeating-linear-gradient(
    -45deg,
    #111827 0 14px,
    #161f33 14px 28px
  );
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mockbar__in {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.mockbar p {
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mockbar p b {
  color: #f5b11a;
}
.mockbar nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mockbar nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #334155;
  border-radius: 4px;
  color: #cbd5e1;
  font-size: 12px;
  text-decoration: none;
}
.mockbar nav a[aria-current="page"] {
  background: #f5b11a;
  border-color: #f5b11a;
  color: #111827;
  font-weight: 700;
}
.mockbar :focus-visible {
  outline: 2px solid #f5b11a;
}
@media (max-width: 639px) {
  .mockbar nav {
    margin-left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .mockbar nav a {
    justify-content: center;
    padding: 0 4px;
    font-size: 11px;
  }
}

/* ---------- Wordmark de sección (tokens.md §8) ---------- */
.tk-wm {
  font-family: var(--ui-font);
  font-weight: 700;
  color: #003d5f;
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.tk-wm::after {
  content: "";
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin-left: 0.06em;
  background: #0064b4;
  border-radius: 0.025em;
}
.tk-wm--xs {
  font-size: 20px;
  letter-spacing: -0.012em;
}
.tk-wm--xs::after {
  width: 0.23em;
  height: 0.23em;
  margin-left: 0.07em;
}
.tk-wm--sf {
  font-size: 30px;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .tk-wm--sf {
    font-size: 48px;
    letter-spacing: -0.03em;
  }
  .tk-wm--sf::after {
    width: 0.17em;
    height: 0.17em;
  }
}

/* ---------- Publicidad (GAM, como en vivo: caja gris + "[Publicidad]") ---------- */
.eu-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto;
  background: #eef1f3;
  color: var(--eu-muted);
  font-size: 12px;
  line-height: 18px;
  padding-bottom: 8px;
  max-width: 100%;
}
.eu-ad::after {
  content: "[Publicidad]";
}
.eu-ad--lb {
  width: 320px;
  height: 100px;
}
@media (min-width: 768px) {
  .eu-ad--lb {
    width: 728px;
    height: 90px;
  }
}
.eu-ad--bb {
  width: 300px;
  height: 250px;
}
@media (min-width: 1024px) {
  .eu-ad--bb {
    width: 970px;
    height: 250px;
  }
}
.eu-ad--box {
  width: 300px;
  height: 250px;
}
.eu-ad--sky {
  width: 300px;
  height: 600px;
}
.eu-ad-wrap {
  padding: 16px 0;
}
.eu-ad-wrap--top {
  padding: 16px 16px 0;
}

/* ---------- Contenedor editorial ---------- */
.eu-wrap {
  max-width: 1132px;
  margin: 0 auto;
  padding: 0 16px;
}
.eu-kicker {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--eu-blue);
  text-transform: uppercase;
}
a.eu-kicker:hover {
  text-decoration: underline;
}
.eu-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  color: var(--eu-gray);
}
.eu-time svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.eu-link {
  color: var(--eu-link);
}
.eu-link:hover {
  text-decoration: underline;
}

/* Encabezado de módulo: "MÁS INFORMACIÓN ————" (live: 24/700 #036093 + regla) */
.eu-more-h {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--eu-more);
  text-transform: uppercase;
}
.eu-more-h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--eu-more);
  margin-bottom: 5px;
}
@media (min-width: 768px) {
  .eu-more-h {
    font-size: 24px;
    line-height: 28px;
  }
}
.eu-more-h a:hover {
  text-decoration: underline;
}
.eu-more-h .more {
  order: 2;
  flex: none;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  text-transform: none;
  color: var(--eu-more);
  padding-left: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: -12px;
}

/* ---------- Nota (pages de artículo: .story__header, .story-image, .sc__author, .sc__font-paragraph) ---------- */
.nota-head {
  margin: 30px auto 20px;
}
@media (min-width: 768px) {
  .nota-head {
    margin-top: 50px;
  }
}
.nota-h1 {
  font-family: var(--ui-font);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--eu-title);
  margin: 0 0 20px;
}
@media (min-width: 768px) {
  .nota-h1 {
    font-size: 42px;
    line-height: 46px;
    margin-bottom: 12px;
  }
}
.nota-sum {
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: -0.26px;
  color: #000;
}
@media (min-width: 768px) {
  .nota-sum {
    font-size: 22px;
    line-height: 26px;
  }
}
.nota-lead {
  margin: 0 auto 8px;
  max-width: 1100px;
}
@media (min-width: 1132px) {
  .nota-lead {
    padding: 0;
  }
}
@media (max-width: 767px) {
  .nota-lead {
    padding: 0;
  }
}
.nota-lead img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  background: var(--eu-band);
}
.eu-caption {
  background: var(--eu-band);
  color: #000;
  font-size: 14px;
  line-height: 21px;
  padding: 8px 16px;
}
@media (min-width: 768px) {
  .eu-caption {
    padding: 10px;
  }
}
.nota-grid {
  padding-top: 8px;
}
.nota-share {
  display: none;
}
.nota-body {
  max-width: 680px;
  margin: 0 auto;
  min-width: 0;
}
.nota-aside {
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .nota-grid {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 24px 300px;
    border-top: 1px solid #f0f0f0;
  }
  .nota-share {
    display: block;
    grid-column: 1;
  }
  .nota-body {
    grid-column: 2;
    max-width: 620px;
    margin: 0;
    padding-top: 20px;
  }
  .nota-aside {
    grid-column: 4;
    margin-top: 0;
    padding: 20px 0 0 20px;
    border-left: 1px solid #f0f0f0;
    box-sizing: content-box;
    width: 280px;
  }
}
@media (min-width: 1132px) {
  .nota-grid {
    grid-template-columns: 100px 620px 60px 320px;
  }
  .nota-aside {
    width: 300px;
  }
}
.nota-share__in {
  position: sticky;
  top: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 88px;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
  border: 0;
  cursor: pointer;
}
.share-btn svg {
  width: 16px;
  height: 16px;
}
.share-btn--fb {
  background: #3b5998;
}
.share-btn--x {
  background: #000;
}
.share-btn--wa {
  background: #1f9e4f;
}
.share-btn--ms {
  background: #0078ff;
}
.share-btn.share-btn--cp,
.share-btn.share-btn--sv {
  background: #0b6e99;
}
.share-row--mobile {
  margin: 16px 0 4px;
}
@media (min-width: 1024px) {
  .share-row--mobile {
    display: none;
  }
}
.share-row--end {
  justify-content: center;
  margin: 24px 0 8px;
}

/* sc__author: categoría | fecha | hora + autores */
.nota-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--eu-gray);
  padding: 4px 0;
}
.nota-meta .sep {
  color: #767676;
}
.nota-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 12px 0 16px;
  border-bottom: 1px solid #e5e5e5;
}
.author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 55px;
}
.author > span {
  display: flex;
  flex-direction: column;
}
.author:hover .author__name,
.author:hover .author__perfil {
  text-decoration: underline;
}
.author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--eu-band);
}
.author__name {
  display: inline-block;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: var(--eu-author);
}

.author__role {
  font-size: 13px;
  line-height: 18px;
  color: #333;
}
.author__perfil {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #333;
}

.nota-disclosure {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 19px;
  color: #4b5563;
  padding: 12px 0 0;
}
.nota-disclosure svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 1px;
}
.nota-disclosure a {
  color: var(--eu-link);
  text-decoration: underline;
}

/* Cuerpo: p.sc__font-paragraph 18/26, h2.sc__header 27 px */
.prose-eu {
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 26px;
  color: #000;
  padding-top: 20px;
}
.prose-eu > p,
.prose-eu .p {
  margin: 0 0 20px;
}
.prose-eu h2 {
  font-family: var(--ui-font);
  font-size: 27px;
  line-height: 31px;
  font-weight: 700;
  color: #000;
  margin: 36px 0 12px;
}
.prose-eu h3 {
  font-family: var(--ui-font);
  font-size: 21px;
  line-height: 26px;
  font-weight: 700;
  color: #000;
  margin: 28px 0 10px;
}
.prose-eu > p a:not([class]),
.prose-eu > ul.bul a:not([class]),
.tk-rank > p a:not([class]) {
  color: var(--eu-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose-eu strong,
.prose-eu b {
  font-weight: 700;
}
.prose-eu ul.bul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 20px;
}
.prose-eu ul.bul li {
  margin-bottom: 6px;
}
.leer-tambien {
  font-family: var(--body-font);
}
.leer-tambien a {
  font-weight: 700;
  color: var(--eu-link);
}
.leer-tambien a:hover {
  text-decoration: underline;
}
.ui {
  font-family: var(--ui-font);
}
/* Figura dentro del cuerpo (story-image) */
.fig-eu {
  margin: 8px 0 20px;
}
.fig-eu img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  background: var(--eu-band);
}
.fig-eu figcaption {
  font-family: var(--ui-font);
  background: var(--eu-band);
  font-size: 14px;
  line-height: 21px;
  padding: 8px 10px;
}
/* Tarjeta embebida "Te recomendamos" (si__body) */
.embed-eu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px solid var(--eu-more);
  border-bottom: 1px solid var(--eu-more);
  padding: 10px 0;
  margin: 8px 0 24px;
  font-family: var(--ui-font);
}
@media (min-width: 560px) {
  .embed-eu {
    grid-template-columns: 210px 1fr;
    gap: 16px;
  }
}
.embed-eu img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
}
.embed-eu__k {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eu-blue);
  margin-bottom: 4px;
}
.embed-eu__t {
  font-size: 21px;
  line-height: 26px;
  font-weight: 700;
  color: #555;
}
.embed-eu a:hover .embed-eu__t {
  color: #000;
  text-decoration: underline;
}

/* Temas relacionados (sc-tags) */
.tags-eu {
  padding: 20px 0 8px;
}
.tags-eu__h {
  font-size: 12px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #6b6b6b; /* live #aeaeae = 2.2:1 */
  margin: 10px 0 12px;
}
.tags-eu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 12px;
}
.tags-eu a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 15px;
  border-radius: 3px;
  font-size: 13px;
  letter-spacing: 0.92px;
  color: #3a405b;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}
.tags-eu a:hover {
  color: var(--eu-blue);
}

/* Aside: "LO MÁS LEÍDO", listas y anuncio fijo */
.aside-h {
  background: var(--eu-blue);
  color: #fff;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 10px;
  margin: 0 0 16px;
}
.aside-list li + li {
  border-top: 1px solid #e5e5e5;
  margin-top: 14px;
  padding-top: 14px;
}
.aside-list a {
  display: block;
}
.aside-list img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}
.aside-list .t {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  color: #212121;
}
.aside-list a:hover .t {
  text-decoration: underline;
}
@media (max-width: 1023px) {
  .nota-aside .aside-list {
    display: grid;
    gap: 16px;
  }
  .nota-aside .aside-list li + li {
    border: 0;
    margin: 0;
    padding: 0;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .nota-aside .aside-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.opinion-h {
  font-size: 28px;
  line-height: 32px;
  font-weight: 300;
  letter-spacing: -1.5px;
  padding-top: 10px;
  border-top: 4px solid var(--eu-blue);
  margin: 32px 0 6px;
}
.opinion-list li {
  border-bottom: 1px solid #d9d9d9;
}
.opinion-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 12px;
  padding: 12px 0;
  align-items: start;
}
.opinion-list .a {
  font-size: 16px;
  line-height: 20px;
  color: #c4000f; /* live #dd0011 (4.9:1) — ligeramente más oscuro para texto de 16 px */
}
.opinion-list .t {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: #000;
  margin-top: 6px;
}
.opinion-list a:hover .t {
  text-decoration: underline;
}
.opinion-list img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

/* "MÁS INFORMACIÓN": grid de 2 columnas (imagen 280×170 + categoría + título) */
.more-grid {
  display: grid;
  gap: 20px 20px;
}
@media (min-width: 768px) {
  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.more-item a {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d9d9d9;
}
.more-item img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
}
.more-item .k {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--eu-blue);
}
.more-item .t {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.25px;
  color: #000;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .more-item .t {
    font-size: 20px;
    line-height: 24px;
  }
}
.more-item a:hover .t {
  text-decoration: underline;
}

/* Miga inferior y aviso (Disclaimer.astro / Breadcrumb.astro de Consultas) */
.eu-disclaimer {
  background: #f3f4f6;
  padding: 8px 16px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  margin-top: 40px;
}
.eu-disclaimer svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: text-top;
  margin-right: 4px;
}
.eu-crumb {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 8px 0;
}
.eu-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
  font-size: 14px;
  line-height: 20px;
  padding: 4px 0;
}
.eu-crumb a {
  color: #4b5563;
}
.eu-crumb a:hover {
  color: #005588;
}
.eu-crumb [aria-current] {
  color: #374151;
  font-weight: 500;
}
.eu-crumb .sl {
  color: #6b7280;
}

/* ---------- Widgets Tekunva dentro de la nota ---------- */
.tk-label {
  font-family: var(--ui-font);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eu-blue);
}
.tk-fresh {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ui-font);
  font-size: 12px;
  line-height: 16px;
  color: #4b5563;
  white-space: nowrap;
}
.tk-fresh svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.tk-fresh--stale {
  color: #8a4b00;
  font-style: italic;
}
/* Respuesta rápida */
.tk-answer {
  background: var(--eu-band);
  border-left: 4px solid var(--eu-blue);
  padding: 16px 18px 18px;
  margin: 0 0 24px;
}
.tk-answer p {
  margin: 6px 0 0;
}
.tk-answer a {
  color: var(--eu-link);
  font-weight: 700;
  text-decoration: underline;
}
/* Socio destacado (patrocinado, fuera del ranking) */
.tk-partner {
  font-family: var(--ui-font);
  background: var(--tk-sponsor-bg);
  border: 1px solid var(--tk-sponsor-rule);
  padding: 14px 16px 12px;
  margin: 0 0 28px;
}
.tk-partner__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 10px;
}
.tk-sp-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tk-sponsor-ink);
}
.tk-sp-label .pill {
  background: var(--tk-sponsor-ink);
  color: #fff;
  padding: 1px 6px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}
.tk-partner__why {
  font-size: 12px;
  color: var(--tk-sponsor-ink);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.tk-partner__body {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.tk-partner__body img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  display: block;
}
.tk-partner__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #3f3f3f;
}
.tk-partner__name {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 2px 0 4px;
}
.tk-partner__msg {
  font-size: 14px;
  line-height: 20px;
  color: #3f3f3f;
}
.tk-partner__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 12px;
  margin-top: 6px;
  font-size: 14px;
  color: #333;
}
.tk-partner__price b {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.tk-partner__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--tk-sponsor-rule);
  font-size: 12px;
  line-height: 16px;
  color: var(--tk-sponsor-ink);
}
.tk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 16px;
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--eu-blue);
  border-radius: 3px;
  white-space: nowrap;
}
.tk-cta:hover {
  background: #003d5f;
}
.tk-cta--ghost {
  background: #fff;
  color: var(--eu-blue);
  border: 1px solid var(--eu-blue);
}
.tk-cta--ghost:hover {
  background: #f1f6fa;
}
.tk-cta--sponsor {
  background: var(--tk-sponsor-ink);
}
.tk-cta--sponsor:hover {
  background: #463712;
}
.tk-textlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--eu-link);
}
.tk-textlink:hover {
  text-decoration: underline;
}
/* Nuestras elecciones */
.tk-picks {
  font-family: var(--ui-font);
  border-top: 1px solid #000;
  margin: 0 0 28px;
}
.tk-picks li {
  border-bottom: 1px solid #d9d9d9;
}
.tk-picks a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding: 12px 0;
  align-items: center;
}
.tk-picks .u {
  grid-column: 1 / -1;
}
.tk-picks .n {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  color: #000;
}
.tk-picks .d {
  font-size: 15px;
  line-height: 20px;
  font-weight: 300;
  color: #222;
  margin-top: 2px;
}
.tk-picks .s {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 13px;
  color: var(--eu-gray);
  text-align: right;
}
.tk-picks .s b {
  font-size: 22px;
  line-height: 24px;
  color: var(--eu-blue);
}
.tk-picks a:hover .n {
  text-decoration: underline;
}
@media (min-width: 560px) {
  .tk-picks a {
    grid-template-columns: 150px minmax(0, 1fr) auto;
  }
  .tk-picks .u {
    grid-column: auto;
  }
}
/* Ítem de ranking */
.tk-rank {
  border-top: 4px solid var(--eu-blue);
  margin-top: 40px;
  padding-top: 4px;
}
.prose-eu .tk-rank h2,
.prose-eu .tk-rank h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0 14px;
}
.tk-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--eu-blue);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  margin-top: -3px;
}
.tk-rank__why {
  font-family: var(--ui-font);
  font-size: 16px;
  line-height: 22px;
  margin: 0 0 14px;
}
.tk-rank__why b {
  color: var(--eu-blue);
}
.tk-scorebox {
  font-family: var(--ui-font);
  display: grid;
  gap: 14px 24px;
  border: 1px solid #d9d9d9;
  padding: 14px 16px;
  margin: 0 0 16px;
}
@media (min-width: 560px) {
  .tk-scorebox {
    grid-template-columns: 132px minmax(0, 1fr);
  }
}
.tk-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}
.tk-score b {
  grid-row: 1 / span 2;
}
@media (min-width: 560px) {
  .tk-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    border-right: 1px solid #e5e5e5;
    padding-right: 16px;
  }
}
.tk-score b {
  font-size: 44px;
  line-height: 44px;
  font-weight: 700;
  color: var(--eu-blue);
  letter-spacing: -1px;
}
.tk-score span {
  font-size: 13px;
  line-height: 17px;
  color: #444;
}
.tk-score small {
  font-size: 12px;
  color: var(--eu-gray);
}
.tk-bars {
  display: grid;
  gap: 6px;
}
.tk-bar {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(56px, 9fr) 30px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  color: #333;
}
.tk-bar__t {
  height: 8px;
  background: var(--tk-track);
  position: relative;
}
.tk-bar__t i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--eu-blue);
}
.tk-bar b {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #111;
}
.tk-weight {
  color: var(--eu-gray);
  font-size: 11px;
}
.tk-fit {
  font-family: var(--ui-font);
  display: grid;
  gap: 10px 20px;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 21px;
}
@media (min-width: 560px) {
  .tk-fit {
    grid-template-columns: 1fr 1fr;
  }
}
.tk-fit .h {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tk-fit li {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.tk-fit svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
}
.tk-fit .ok .h,
.tk-fit .ok svg {
  color: var(--tk-good);
}
.tk-fit .no .h,
.tk-fit .no svg {
  color: var(--tk-bad);
}
.tk-specs {
  font-family: var(--ui-font);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d9d9d9;
  margin: 0 0 16px;
}
@media (min-width: 560px) {
  .tk-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tk-specs div {
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid #e5e5e5;
}
.tk-specs dt {
  font-size: 12px;
  line-height: 16px;
  color: #555;
}
.tk-specs dd {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: #111;
}
.tk-tested {
  font-family: var(--ui-font);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13px;
  line-height: 18px;
  color: #4b5563;
  margin: -4px 0 16px;
}
.tk-tested span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tk-tested svg {
  width: 14px;
  height: 14px;
}
.tk-proscons {
  font-family: var(--ui-font);
  display: grid;
  gap: 12px 24px;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 21px;
}
@media (min-width: 560px) {
  .tk-proscons {
    grid-template-columns: 1fr 1fr;
  }
}
.tk-proscons .h {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.tk-proscons li {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.tk-proscons li::before {
  content: "+";
  flex: none;
  width: 16px;
  font-weight: 700;
  color: var(--tk-good);
}
.tk-proscons .cons li::before {
  content: "−";
  color: var(--tk-bad);
}
/* Caja de precios multitienda (discreta) */
.tk-prices {
  font-family: var(--ui-font);
  border: 1px solid #d9d9d9;
  margin: 4px 0 20px;
  font-size: 14px;
}
.tk-prices__h {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2px 12px;
  padding: 8px 12px;
  background: #f7f8f9;
  border-bottom: 1px solid #d9d9d9;
}
.tk-prices__h p {
  font-weight: 600;
  color: #222;
}
.tk-store {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 8px 12px;
  min-height: 56px;
  border-bottom: 1px solid #eceff1;
}
.tk-store:last-child {
  border-bottom: 0;
}
.tk-store__logo {
  display: flex;
  align-items: center;
  height: 28px;
}
.tk-store__logo img {
  max-height: 20px;
  max-width: 88px;
  width: auto;
  height: auto;
  display: block;
}
.tk-store__logo img.l-ml {
  max-height: 26px;
}
.tk-store__logo img.l-pal,
.tk-store__logo img.l-liv {
  max-height: 22px;
}
.tk-store__mid {
  min-width: 0;
}
.tk-store__price {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  font-variant-numeric: tabular-nums;
}
.tk-store__cond {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: #4b5563;
}
.tk-store__go {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  min-width: 44px;
  font-weight: 600;
  color: var(--eu-link);
  white-space: nowrap;
}
.tk-store__go:hover {
  text-decoration: underline;
}
.tk-store--best .tk-store__price::after {
  content: "Mejor precio";
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tk-good);
  vertical-align: 2px;
}
.tk-prices__f {
  padding: 8px 12px;
  border-top: 1px solid #d9d9d9;
  font-size: 12px;
  color: #4b5563;
}
.tk-prices__f a {
  color: var(--eu-link);
  text-decoration: underline;
}
@media (max-width: 479px) {
  .tk-store {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 2px 8px;
  }
  .tk-store__logo img {
    max-width: 74px;
  }
  .tk-store--best .tk-store__price::after {
    display: block;
    margin: 0;
  }
}
/* Línea de precio #2–#5 */
.tk-priceline {
  font-family: var(--ui-font);
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  margin: 4px 0 20px;
  font-size: 14px;
}
.tk-priceline > summary,
.tk-priceline > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 12px;
  min-height: 48px;
  padding: 4px 0;
}
.tk-priceline img {
  height: 16px;
  width: auto;
  max-width: 80px;
  display: inline-block;
  vertical-align: -3px;
}
.tk-priceline img.l-ml {
  height: 22px;
  vertical-align: -6px;
}
.tk-priceline b {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.tk-priceline .more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--eu-link);
  font-weight: 600;
}
.tk-priceline .more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.15s;
}
.tk-priceline[open] > summary .more svg {
  transform: rotate(180deg);
}
.tk-priceline .tk-prices {
  margin: 0 0 10px;
}
/* Tabla comparativa (≥ 640) y tarjetas (< 640) */
.tk-cmp-wrap {
  font-family: var(--ui-font);
  margin: 8px 0 12px;
}
.tk-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d9d9d9;
  background:
    linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left center /
      32px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right center /
      32px 100% no-repeat local,
    radial-gradient(
        farthest-side at 100% 50%,
        rgba(0, 0, 0, 0.18),
        rgba(0, 0, 0, 0)
      )
      right center / 14px 100% no-repeat scroll;
}
.tk-t {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 18px;
}
.tk-t th,
.tk-t td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
  background: #fff;
}
.tk-t thead th {
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 0;
  vertical-align: bottom;
}
.tk-t .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tk-t tbody th {
  font-weight: 700;
  color: #111;
}
.tk-t .stick {
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 1px 0 0 #e5e7eb;
}
.tk-t thead .stick {
  z-index: 3;
  box-shadow: 1px 0 0 #374151;
}
.tk-t .sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #4b5563;
}
.tk-t .rk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-right: 8px;
  background: var(--eu-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.tk-t tbody.tk-pinned th,
.tk-t tbody.tk-pinned td {
  background: var(--tk-sponsor-bg);
  border-bottom: 2px solid var(--tk-sponsor-rule);
}
.tk-t tbody.tk-pinned .tk-sp-label {
  display: flex;
  margin-bottom: 4px;
}
.tk-t .na {
  color: #6b7280;
  font-style: italic;
}
.tk-hint {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
  color: #4b5563;
  padding: 4px 0 0;
}
.tk-cards {
  display: none;
}
@media (max-width: 639px) {
  .tk-cmp-wrap--cards .tk-scroll,
  .tk-cmp-wrap--cards .tk-hint {
    display: none;
  }
  .tk-cmp-wrap--cards .tk-cards {
    display: grid;
    gap: 12px;
  }
}
.tk-card {
  border: 1px solid #d9d9d9;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 19px;
}
.tk-card--sp {
  background: var(--tk-sponsor-bg);
  border-color: var(--tk-sponsor-rule);
}
.tk-card__h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.tk-card__h h3,
.prose-eu .tk-card__h h3,
.tk-card__h h4 {
  margin: 0;
  font-family: var(--ui-font);
  font-size: 17px;
  line-height: 21px;
  font-weight: 700;
  color: #111;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
}
.tk-card__sc {
  flex: none;
  text-align: right;
  font-size: 12px;
  color: var(--eu-gray);
}
.tk-card__sc b {
  display: block;
  font-size: 22px;
  line-height: 24px;
  color: var(--eu-blue);
}
.tk-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: 10px;
}
.tk-card dt {
  font-size: 12px;
  color: #555;
}
.tk-card dd {
  font-weight: 600;
  color: #111;
  font-variant-numeric: tabular-nums;
}
.tk-card__price {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: center;
}
.tk-card__price b {
  font-size: 16px;
}
.tk-card details {
  margin-top: 6px;
}
.tk-card details summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--eu-link);
  font-weight: 600;
}
.tk-card details summary svg {
  width: 18px;
  height: 18px;
}
.tk-card details dl {
  margin-top: 0;
  padding-bottom: 4px;
}
/* Metodología con pesos */
.tk-method {
  font-family: var(--ui-font);
  border: 1px solid #d9d9d9;
  border-top: 4px solid var(--eu-blue);
  padding: 16px;
  margin: 8px 0 24px;
  font-size: 15px;
  line-height: 21px;
}
.tk-method h2,
.prose-eu .tk-method h2 {
  font-size: 22px;
  line-height: 26px;
  margin: 4px 0 8px;
}
.tk-weights {
  display: flex;
  height: 14px;
  margin: 12px 0 10px;
}
.tk-weights i {
  display: block;
  height: 100%;
  border-right: 2px solid #fff;
}
.tk-weights i:last-child {
  border-right: 0;
}
.tk-wlist {
  display: grid;
  gap: 6px 20px;
  font-size: 14px;
}
@media (min-width: 560px) {
  .tk-wlist {
    grid-template-columns: 1fr 1fr;
  }
}
.tk-wlist li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
}
.tk-wlist .sw {
  width: 12px;
  height: 12px;
  display: inline-block;
}
.tk-wlist b {
  font-variant-numeric: tabular-nums;
}
.tk-wlist small {
  grid-column: 2 / -1;
  color: #4b5563;
  font-size: 13px;
  line-height: 18px;
}
.tk-method__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5e5e5;
  font-size: 13px;
  color: #333;
}
/* FAQ, fuentes y autores dentro de la nota */
.tk-faq {
  font-family: var(--ui-font);
  border-top: 1px solid #000;
  margin: 0 0 28px;
}
.tk-faq details {
  border-bottom: 1px solid #d9d9d9;
}
.tk-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 0;
  font-size: 17px;
  line-height: 23px;
  font-weight: 600;
  color: #111;
}
.tk-faq summary:hover {
  color: var(--eu-blue);
}
.tk-faq .chev {
  width: 20px;
  height: 20px;
  flex: none;
  color: #444;
  transition: transform 0.15s;
}
.tk-faq .a {
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 25px;
  padding: 0 0 16px;
  color: #111;
}
.tk-sources {
  font-family: var(--ui-font);
  background: #f7f8f9;
  border: 1px solid #e5e7eb;
  padding: 14px 16px;
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 20px;
}
.tk-sources li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
}
.tk-sources svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--eu-blue);
}
.tk-sources a {
  color: var(--eu-link);
  font-weight: 500;
}
.tk-sources a:hover {
  text-decoration: underline;
}
.tk-sources small {
  display: block;
  color: #4b5563;
  font-size: 12px;
}
/* Cupón (bajo, discreto, etiquetado) */
.tk-coupon {
  font-family: var(--ui-font);
  border: 1px dashed #9ca3af;
  background: #fafafa;
  padding: 14px 16px;
  margin: 8px 0 24px;
  font-size: 14px;
  line-height: 20px;
}
.tk-coupon__t {
  font-weight: 700;
  font-size: 17px;
  line-height: 22px;
  margin: 6px 0 2px;
}
.tk-coupon__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 8px;
}
.tk-coupon code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border: 1px dashed #6b7280;
  background: #fff;
  color: #111;
}
.tk-copy {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--eu-link);
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
}
.tk-copy:hover {
  text-decoration: underline;
}
.tk-verified {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: 12px;
  color: #374151;
}
.tk-verified svg {
  width: 14px;
  height: 14px;
  color: var(--tk-good);
}
.tk-authors {
  font-family: var(--ui-font);
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
}
@media (min-width: 560px) {
  .tk-authors {
    grid-template-columns: 1fr 1fr;
  }
}
.tk-authors li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}
.tk-authors img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.tk-authors a {
  color: var(--eu-author);
  font-weight: 700;
}
.tk-authors a:hover {
  text-decoration: underline;
}

/* ---------- Portada de sección (live: /techbit/) ---------- */
.sf-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px 16px;
  border-bottom: 4px solid var(--eu-blue);
  padding: 22px 0 8px;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .sf-title {
    padding-top: 30px;
  }
}
.sf-title p {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4b5563;
  padding-bottom: 6px;
}
.sf-verticals {
  position: relative;
  border-bottom: 1px solid #e5e5e5;
}
.sf-verticals ul {
  display: flex;
  gap: 4px 22px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-right: 32px;
}
.sf-verticals ul::-webkit-scrollbar {
  display: none;
}
@media (max-width: 1099px) {
  .sf-verticals ul {
    -webkit-mask-image: linear-gradient(
      to right,
      #000 calc(100% - 32px),
      transparent
    );
    mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
  }
}
@media (min-width: 1100px) {
  .sf-verticals ul {
    flex-wrap: wrap;
    padding-right: 0;
    column-gap: 20px;
  }
}
.sf-verticals a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--eu-blue);
  white-space: nowrap;
}
.sf-verticals a:hover {
  text-decoration: underline;
}
/* Nota divisoria con título sobre la foto (cards-story-divider) */
.sf-hero {
  position: relative;
  display: block;
  margin: 20px 0 24px;
  color: #fff;
  background: #1a1a1a;
  overflow: hidden;
}
.sf-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 297;
  object-fit: cover;
  opacity: 0.92;
}
@media (min-width: 768px) {
  .sf-hero img {
    aspect-ratio: 1100 / 407;
  }
}
.sf-hero__txt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 16px 16px 18px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.5) 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
}
@media (min-width: 768px) {
  .sf-hero__txt {
    justify-content: center;
    padding: 24px 100px;
    background: rgba(0, 0, 0, 0.5);
  }
}
.sf-hero__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sf-hero__t {
  font-size: 28px;
  line-height: 31px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
  .sf-hero__t {
    font-size: 44px;
    line-height: 48px;
  }
}
@media (min-width: 1100px) {
  .sf-hero__t {
    font-size: 52px;
    line-height: 56px;
  }
}
.sf-hero__s {
  display: none;
  font-size: 18px;
  line-height: 22px;
  font-weight: 300;
  max-width: 640px;
  margin-top: 14px;
}
@media (min-width: 768px) {
  .sf-hero__s {
    display: block;
  }
}
.sf-hero__m {
  font-size: 13px;
  margin-top: 10px;
  opacity: 0.95;
}
.sf-hero:hover .sf-hero__t {
  text-decoration: underline;
}
/* Fila de apertura: principal 530 | secundarias 235 | Lo último 300 */
.sf-open {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .sf-open {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    column-gap: 16px;
  }
  .sf-open .sf-last,
  .sf-open .sf-list {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .sf-open {
    grid-template-columns: minmax(0, 530fr) minmax(0, 235fr) 300px;
    column-gap: 16px;
  }
  .sf-open .sf-last {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .sf-open .sf-list {
    grid-column: 1 / 3;
  }
  .sf-open--c .sf-last {
    grid-row: 1;
  }
}
@media (min-width: 1100px) {
  .sf-open {
    column-gap: 20px;
  }
}
.story-lead a,
.story-sec a {
  display: block;
}
.story-lead img {
  width: 100%;
  aspect-ratio: 530 / 326;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}
.story-lead .t {
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #000;
}
@media (min-width: 768px) {
  .story-lead .t {
    font-size: 36px;
    line-height: 40px;
  }
}
@media (min-width: 1100px) {
  .story-lead .t {
    font-size: 40px;
    line-height: 44px;
  }
}
.story-lead .s {
  font-size: 20px;
  line-height: 24px;
  font-weight: 300;
  color: #000;
  margin-top: 8px;
}
.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 16px;
  color: var(--eu-gray);
}
.story-meta .by {
  color: #333;
  font-weight: 500;
}
.story-k {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--eu-blue);
  margin-bottom: 4px;
}
.story-lead a:hover .t,
.story-sec a:hover .t,
.story-row a:hover .t,
.story-card a:hover .t {
  text-decoration: underline;
}
.story-secs {
  display: grid;
  gap: 20px;
  align-content: start;
}
.story-sec img {
  width: 100%;
  aspect-ratio: 235 / 170;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}
.story-sec .t {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.25px;
  color: #000;
}
.story-sec .s {
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  margin-top: 6px;
}
@media (max-width: 767px) {
  .story-secs {
    border-top: 4px solid var(--eu-blue);
    padding-top: 14px;
  }
  .story-sec a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42%;
    gap: 12px;
  }
  .story-sec img {
    grid-column: 2;
    grid-row: 1 / span 3;
    aspect-ratio: 4 / 3;
    margin: 0;
  }
  .story-sec .t {
    font-size: 18px;
    line-height: 22px;
  }
  .story-sec .s {
    display: none;
  }
}
/* Lo último */
.sf-last__h {
  background: var(--eu-red);
  color: #fff;
  font-size: 28px;
  line-height: 32px;
  font-weight: 300;
  letter-spacing: -1px;
  padding: 12px 12px;
}
.sf-last li {
  border-bottom: 1px solid #d9d9d9;
}
.sf-last > ul a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  padding: 12px 0 12px 6px;
}
.sf-last .eu-time {
  padding-top: 5px;
}
.sf-last .t {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.25px;
  color: #000;
}
.sf-last .k {
  display: block;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eu-blue);
  margin-bottom: 3px;
}
.sf-last > ul a:hover .t {
  text-decoration: underline;
}
.sf-last__more {
  display: flex;
  justify-content: flex-end;
}
/* Lista con miniatura (cards-story-opener-two-c) */
.sf-list {
  display: grid;
  gap: 18px 24px;
  align-content: start;
}
@media (min-width: 768px) {
  .sf-list {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.story-row a {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 12px;
}
@media (min-width: 1024px) {
  .story-row a {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}
@media (min-width: 1280px) {
  .story-row a {
    grid-template-columns: 170px minmax(0, 1fr);
  }
}
.story-row img {
  width: 100%;
  aspect-ratio: 200 / 123;
  object-fit: cover;
  display: block;
}
.story-row .t {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.25px;
  color: #000;
}
@media (min-width: 768px) {
  .story-row .t {
    font-size: 20px;
    line-height: 24px;
  }
}
.story-row .s {
  display: none;
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  margin-top: 6px;
}
@media (min-width: 1280px) {
  .story-row .s {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
@media (min-width: 1024px) {
  .story-row .t {
    font-size: 18px;
    line-height: 22px;
  }
}
/* Bloques de sección con título y regla (h2) */
.sf-block {
  margin-top: 40px;
}
.sf-h {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 4px solid var(--eu-blue);
  margin-bottom: 18px;
}
.sf-h h2 {
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  color: var(--eu-blue);
  padding-bottom: 4px;
}
@media (min-width: 768px) {
  .sf-h h2 {
    font-size: 30px;
    line-height: 36px;
  }
}
.sf-h a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--eu-blue);
  white-space: nowrap;
}
.sf-h a:hover {
  text-decoration: underline;
}
.sf-h--thin {
  border-bottom-width: 1px;
}
.sf-h--thin h2 {
  font-size: 22px;
  line-height: 28px;
}
/* Tarjetas de 4 columnas */
.sf-cards {
  display: grid;
  gap: 22px 20px;
}
@media (min-width: 560px) {
  .sf-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .sf-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.story-card a {
  display: block;
}
.story-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}
.story-card .t {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.25px;
  color: #000;
}
.story-card .s {
  font-size: 15px;
  line-height: 19px;
  font-weight: 300;
  margin-top: 6px;
}
.fmt {
  display: inline-block;
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 6px;
  margin-right: 6px;
  color: #fff;
  background: var(--eu-blue);
  vertical-align: 1px;
}
.fmt--guide {
  background: #1d4e2c;
}
@media (max-width: 559px) {
  .sf-cards--rows .story-card a {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 12px;
  }
  .sf-cards--rows .story-card img {
    margin: 0;
    aspect-ratio: 4 / 3;
  }
  .sf-cards--rows .story-card .s {
    display: none;
  }
}
/* Fila B: lista + anuncio */
.sf-b {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d9d9d9;
}
@media (min-width: 1024px) {
  .sf-b {
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 20px;
  }
}
/* Lo más leído numerado */
.sf-rank li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #d9d9d9;
}
.sf-rank .n {
  font-size: 34px;
  line-height: 34px;
  font-weight: 700;
  color: var(--eu-blue);
  font-variant-numeric: tabular-nums;
}
.sf-rank .t {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: #000;
}
.sf-rank a:hover .t {
  text-decoration: underline;
}
.sf-rank .m {
  font-size: 13px;
  color: var(--eu-gray);
  margin-top: 4px;
}
/* Videos (banda oscura) */
.sf-videos {
  background: #111;
  color: #fff;
  margin-top: 44px;
  padding: 20px 0 26px;
}
.sf-videos .sf-h {
  border-color: #fff;
}
.sf-videos .sf-h h2,
.sf-videos .sf-h a {
  color: #fff;
}
.video-card a {
  display: block;
}
.video-card .im {
  position: relative;
}
.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.video-card .play {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px 4px 6px;
}
.video-card .play svg {
  width: 16px;
  height: 16px;
}
.video-card .t {
  font-size: 17px;
  line-height: 21px;
  font-weight: 600;
  margin-top: 8px;
}
.video-card a:hover .t {
  text-decoration: underline;
}
/* Explicadores y análisis */
.sf-duo {
  display: grid;
  gap: 32px 24px;
}
@media (min-width: 1024px) {
  .sf-duo {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}
.expl-list {
  display: grid;
  gap: 0 24px;
}
@media (min-width: 640px) {
  .expl-list {
    grid-template-columns: 1fr 1fr;
  }
}
.expl-list li {
  border-bottom: 1px solid #d9d9d9;
}
.expl-list a {
  display: block;
  padding: 12px 0;
}
.expl-list .q {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: #000;
}
.expl-list .m {
  font-size: 13px;
  color: var(--eu-gray);
  margin-top: 4px;
}
.expl-list a:hover .q {
  text-decoration: underline;
}
/* Módulos comerciales de portada (discretos) */
.sf-pb {
  margin-top: 40px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 16px;
  display: grid;
  gap: 12px 24px;
  align-items: center;
}
@media (min-width: 768px) {
  .sf-pb {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.sf-pb__lab {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 6px;
}
.sp-label {
  font-size: 11px;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sf-pb h2 {
  font-size: 19px;
  line-height: 24px;
  font-weight: 700;
}
.sf-pb h2 a:hover {
  text-decoration: underline;
}
.sf-pb p {
  font-size: 14px;
  line-height: 20px;
  color: #4b5563;
  margin-top: 4px;
}
.sf-offers {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  font-size: 14px;
  line-height: 20px;
  color: #4b5563;
  border-top: 1px solid #e5e5e5;
  padding-top: 10px;
}
.sf-offers b {
  color: #111;
}
.sf-offers a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--eu-link);
  font-weight: 600;
}
.sf-tools {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .sf-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tool-card a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid #d9d9d9;
  height: 100%;
}
.tool-card a:hover {
  border-color: var(--eu-blue);
}
.tool-card .ic {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f0f6;
  color: var(--eu-blue);
}
.tool-card .ic svg {
  width: 22px;
  height: 22px;
}
.tool-card .t {
  font-size: 17px;
  line-height: 21px;
  font-weight: 700;
  color: #000;
}
.tool-card .s {
  font-size: 14px;
  line-height: 19px;
  color: #4b5563;
  margin-top: 4px;
}
.sf-about {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid #d9d9d9;
  display: grid;
  gap: 16px 32px;
  font-size: 15px;
  line-height: 22px;
  color: #333;
}
@media (min-width: 1024px) {
  .sf-about {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}
.sf-about h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}
.sf-about ul {
  display: grid;
  gap: 0 20px;
}
@media (min-width: 640px) {
  .sf-about ul {
    grid-template-columns: 1fr 1fr;
  }
}
.sf-about li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid #e5e5e5;
  color: var(--eu-link);
  font-weight: 600;
}
.sf-about li a:hover {
  text-decoration: underline;
}

/* ---------- Página de producto (inspirada en RTINGS, lenguaje EU) ---------- */
.pd-crumb {
  font-size: 13px;
  line-height: 18px;
  color: var(--eu-gray);
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  align-items: center;
  margin: 24px 0 0;
}
.pd-crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--eu-blue);
  font-weight: 500;
}
.pd-crumb a:hover {
  text-decoration: underline;
}
.pd-top {
  display: grid;
  gap: 24px 32px;
  margin-top: 16px;
}
@media (min-width: 1024px) {
  .pd-top {
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  }
}
.pd-gal__main {
  position: relative;
  background: var(--eu-band);
}
.pd-gal__main img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pd-gal__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.pd-gal__thumbs button {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  background: var(--eu-band);
  cursor: pointer;
  min-height: 44px;
}
.pd-gal__thumbs button[aria-pressed="true"] {
  border-color: var(--eu-blue);
}
.pd-gal__thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pd-sum {
  font-family: var(--ui-font);
}
.pd-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #d9d9d9;
}
.pd-score__n {
  width: 84px;
  height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--eu-blue);
  color: #fff;
}
.pd-score__n b {
  font-size: 36px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -1px;
}
.pd-score__n span {
  font-size: 12px;
  opacity: 0.9;
}
.pd-score h2 {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}
.pd-score p {
  font-size: 14px;
  line-height: 20px;
  color: #333;
  margin-top: 2px;
}
.pd-uses {
  margin-top: 14px;
}
.pd-uses h3 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eu-blue);
  margin-bottom: 8px;
}
.pd-uses .tk-bar {
  grid-template-columns: minmax(120px, 42%) minmax(0, 1fr) 32px;
  font-size: 14px;
  padding: 2px 0;
}
.pd-uses .tk-bar__t {
  height: 10px;
}
.pd-uses .tk-bar.low .tk-bar__t i {
  background: #8b98a5;
}
.pd-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin-top: 14px;
  border-top: 1px solid #d9d9d9;
}
.pd-facts div {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.pd-facts dt {
  font-size: 12px;
  color: #555;
}
.pd-facts dd {
  font-size: 15px;
  font-weight: 600;
  color: #111;
}
.pd-buy {
  margin-top: 16px;
  padding: 14px 16px;
  background: #f7f8f9;
  border: 1px solid #e5e7eb;
}
.pd-buy__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.pd-buy__p {
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pd-buy__p small {
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
}
.pd-buy img {
  height: 18px;
  width: auto;
}
.pd-buy__note {
  font-size: 13px;
  line-height: 19px;
  color: #333;
  margin-top: 6px;
}
.pd-buy__note b {
  color: var(--tk-good);
}
.pd-buy__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
}
/* Navegación fija dentro de la página */
.pd-subnav {
  position: sticky;
  top: 103px;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #d0d0d0;
  margin-top: 28px;
}
@media (min-width: 992px) {
  .pd-subnav {
    top: 128px;
  }
}
.pd-subnav ul {
  display: flex;
  gap: 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 1132px) {
  .pd-subnav ul {
    padding: 0;
  }
}
.pd-subnav ul::-webkit-scrollbar {
  display: none;
}
@media (max-width: 1099px) {
  .pd-subnav ul {
    -webkit-mask-image: linear-gradient(
      to right,
      #000 calc(100% - 28px),
      transparent
    );
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    padding-right: 28px;
  }
}
.pd-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.pd-subnav a:hover {
  color: var(--eu-blue);
}
.pd-subnav a[aria-current="true"] {
  color: var(--eu-blue);
  border-bottom-color: var(--eu-blue);
}
.pd-sec {
  padding-top: 36px;
}
.pd-h2 {
  font-size: 27px;
  line-height: 31px;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
}
.pd-lede {
  font-size: 15px;
  line-height: 21px;
  color: #4b5563;
  margin-bottom: 16px;
}
.pd-lede a {
  color: var(--eu-link);
  font-weight: 600;
}
.pd-lede a:hover {
  text-decoration: underline;
}
.pd-verdict {
  display: grid;
  gap: 20px 40px;
}
@media (min-width: 1024px) {
  .pd-verdict {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}
.pd-verdict .prose-eu {
  padding-top: 0;
}
.pd-ranks li {
  border-bottom: 1px solid #d9d9d9;
}
.pd-ranks a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  min-height: 44px;
}
.pd-ranks .r {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: var(--eu-blue);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.pd-ranks .t {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: #111;
}
.pd-ranks .m {
  font-size: 12px;
  color: var(--eu-gray);
}
.pd-ranks a:hover .t {
  text-decoration: underline;
}
/* Resultados de pruebas */
.tr-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px;
  color: #333;
  margin-bottom: 16px;
}
.tr-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tr-legend .sw {
  width: 22px;
  height: 8px;
  background: var(--eu-blue);
}
.tr-legend .avg {
  width: 2px;
  height: 14px;
  background: #111;
}
.tr-legend .best {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--tk-good);
}
.tr-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 1024px) {
  .tr-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.tr-card {
  border: 1px solid #d9d9d9;
  border-top: 3px solid var(--eu-blue);
}
.tr-card__h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid #e5e7eb;
}
.tr-card__h b {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  background: var(--eu-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.tr-card__h h3 {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
}
.tr-card__h a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  color: var(--eu-link);
  white-space: nowrap;
}
.tr-card__h a:hover {
  text-decoration: underline;
}
.tr-rows {
  padding: 4px 14px 10px;
}
.tr-row {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.tr-row:last-child {
  border-bottom: 0;
}
.tr-row__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  line-height: 19px;
}
.tr-row__top span {
  color: #222;
}
.tr-row__top b {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tr-row__bar {
  position: relative;
  height: 8px;
  background: var(--tk-track);
  margin: 8px 0 6px;
}
.tr-row__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--eu-blue);
}
.tr-row__bar .avg {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 14px;
  background: #111;
}
.tr-row__bar .best {
  position: absolute;
  top: -9px;
  width: 0;
  height: 0;
  margin-left: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--tk-good);
}
.tr-row__cmp {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-size: 12px;
  line-height: 16px;
  color: #4b5563;
}
.tr-row--txt .tr-row__top b {
  font-size: 15px;
}
/* Especificaciones */
.spec-grid {
  display: grid;
  gap: 16px 32px;
}
@media (min-width: 768px) {
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.spec-grid h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eu-blue);
  border-bottom: 1px solid #000;
  padding-bottom: 6px;
}
.spec-grid table {
  width: 100%;
  font-size: 14px;
  line-height: 19px;
  border-collapse: collapse;
}
.spec-grid th,
.spec-grid td {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}
.spec-grid th {
  font-weight: 400;
  color: #444;
  width: 46%;
  padding-right: 12px;
}
.spec-grid td {
  font-weight: 600;
  color: #111;
}
/* Precios en tiendas (lista responsive) */
.stores {
  border: 1px solid #d9d9d9;
  font-size: 14px;
}
.stores__h {
  display: none;
}
@media (min-width: 768px) {
  .stores__h {
    display: grid;
    grid-template-columns: 150px 150px minmax(0, 1fr) 200px 150px;
    gap: 12px;
    padding: 10px 14px;
    background: #1f2937;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
  }
  .stores__h .num {
    text-align: right;
  }
}
.store {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  grid-template-areas:
    "logo price go"
    "logo cond go"
    "logo fresh go";
  gap: 2px 12px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #e5e7eb;
  min-height: 64px;
}
.store:first-of-type {
  border-top: 0;
}
.store__logo {
  grid-area: logo;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.store__logo img {
  max-height: 22px;
  max-width: 92px;
  width: auto;
  height: auto;
}
.store__logo img.l-ml {
  max-height: 28px;
}
.store__logo span {
  font-size: 12px;
  color: #4b5563;
}
.store__price {
  grid-area: price;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.store__price .best {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tk-good);
  margin-left: 0;
}
.store__cond {
  grid-area: cond;
  font-size: 13px;
  line-height: 18px;
  color: #333;
}
.store__fresh {
  grid-area: fresh;
}
.store__go {
  grid-area: go;
}
@media (min-width: 768px) {
  .store {
    grid-template-columns: 150px 150px minmax(0, 1fr) 200px 150px;
    grid-template-areas: "logo price cond fresh go";
    gap: 12px;
  }
  .store__price {
    text-align: right;
  }
  .store__go {
    justify-self: end;
  }
}
.store--stale {
  background: #fafafa;
}
.store--stale .store__price {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}
.stores__f {
  font-size: 12px;
  line-height: 18px;
  color: #4b5563;
  padding: 10px 14px;
  border-top: 1px solid #d9d9d9;
  background: #f7f8f9;
}
/* Historial de precio */
.ph-card {
  border: 1px solid #d9d9d9;
  padding: 16px;
}
.ph-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
}
.ph-top p {
  font-size: 13px;
  line-height: 18px;
  color: #4b5563;
}
.seg {
  display: inline-flex;
  border: 1px solid var(--eu-blue);
}
.seg button {
  min-height: 44px;
  min-width: 64px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--eu-blue);
  background: #fff;
  border: 0;
  border-right: 1px solid var(--eu-blue);
  cursor: pointer;
}
.seg button:last-child {
  border-right: 0;
}
.seg button[aria-pressed="true"] {
  background: var(--eu-blue);
  color: #fff;
}
.ph-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #e5e7eb;
  border: 1px solid #e5e7eb;
  margin: 14px 0;
}
@media (min-width: 768px) {
  .ph-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.ph-stats div {
  background: #fff;
  padding: 10px 12px;
}
.ph-stats dt {
  font-size: 12px;
  line-height: 16px;
  color: #4b5563;
}
.ph-stats dd {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #111;
}
.ph-stats dd small {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: #4b5563;
}
.ph-stats .today dd {
  color: var(--eu-blue);
}
.ph-stats .min dd {
  color: var(--tk-good);
}
.ph-chart {
  position: relative;
  touch-action: pan-y;
}
.ph-chart svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.ph-chart:focus-visible {
  outline-offset: 4px;
}
.ph-tip {
  position: absolute;
  top: 0;
  pointer-events: none;
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  padding: 6px 8px;
  white-space: nowrap;
  transform: translateX(-50%);
  z-index: 2;
}
.ph-tip b {
  display: block;
  font-size: 15px;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
}
.ph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 12px;
  color: #333;
  margin-top: 10px;
}
.ph-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ph-legend i {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 2px solid var(--eu-blue);
}
.ph-legend i.med {
  border-top: 2px dashed #6b7280;
}
.ph-legend i.min {
  border-top: 2px dotted var(--tk-good);
}
.ph-verdict {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--eu-band);
  border-left: 4px solid var(--eu-blue);
  font-size: 15px;
  line-height: 21px;
}
.ph-verdict b {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eu-blue);
  margin-bottom: 2px;
}
.ph-data summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--eu-link);
  font-weight: 600;
  font-size: 14px;
}
.ph-data summary svg {
  width: 18px;
  height: 18px;
}
.ph-data table {
  width: 100%;
  max-width: 560px;
  font-size: 13px;
  border-collapse: collapse;
  margin-bottom: 8px;
}
.ph-data th,
.ph-data td {
  padding: 6px 8px;
  border-bottom: 1px solid #e5e7eb;
  text-align: right;
}
.ph-data th:first-child,
.ph-data td:first-child {
  text-align: left;
}
/* Alternativas */
.alt-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .alt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .alt-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.alt-card {
  border: 1px solid #d9d9d9;
  display: flex;
  flex-direction: column;
}
.alt-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
}
.alt-card__b {
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.alt-card__h {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.alt-card__h h3 {
  font-size: 17px;
  line-height: 21px;
  font-weight: 700;
  min-width: 0;
}
.alt-card__h span {
  flex: none;
  background: var(--eu-blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 2px 7px;
}
.alt-card__k {
  font-size: 13px;
  line-height: 18px;
  color: #333;
}
.alt-card ul {
  font-size: 13px;
  line-height: 18px;
  display: grid;
  gap: 4px;
}
.alt-card li {
  display: flex;
  gap: 6px;
}
.alt-card li .up {
  color: var(--tk-good);
  font-weight: 700;
}
.alt-card li .dn {
  color: var(--tk-bad);
  font-weight: 700;
}
.alt-card__p {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
}
.alt-card__p b {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.alt-card__p img {
  display: inline-block;
  height: 14px;
  width: auto;
  aspect-ratio: auto;
  vertical-align: -2px;
}
.alt-card__p img.l-ml {
  height: 20px;
  vertical-align: -5px;
}

/* ---------- Hub patrocinado ---------- */
.pb-lock {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 6px 12px;
  margin-top: 14px;
  font-size: 13px;
  color: #4b5563;
}
.pb-lock b {
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pb-lock svg {
  width: 18px;
  height: 18px;
}
.pb-lock a {
  color: var(--eu-link);
  text-decoration: underline;
}
.hub-layout {
  max-width: 820px;
}
.vpn-tool {
  font-family: var(--ui-font);
}
.vpn-filters {
  border: 1px solid #d9d9d9;
  background: #f7f8f9;
  padding: 12px 14px;
  display: grid;
  gap: 10px 24px;
  font-size: 14px;
}
@media (min-width: 768px) {
  .vpn-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
  }
  .vpn-filters .span-all {
    grid-column: 1 / -1;
  }
}
.vpn-filters fieldset {
  min-width: 0;
}
.vpn-filters legend,
.vpn-filters .lab {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 4px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  position: relative;
  display: inline-flex;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #9ca3af;
  background: #fff;
  font-weight: 500;
  color: #222;
}
.chip input:checked + span {
  background: var(--eu-blue);
  border-color: var(--eu-blue);
  color: #fff;
}
.chip input:focus-visible + span {
  outline: 2px solid #005588;
  outline-offset: 2px;
}
.chip svg {
  width: 14px;
  height: 14px;
  display: none;
}
.chip input:checked + span svg {
  display: inline;
}
.vpn-filters select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #9ca3af;
  background: #fff;
  padding: 0 10px;
  font-size: 14px;
  color: #111;
}
.vpn-filters .check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
}
.vpn-filters .check input {
  width: 18px;
  height: 18px;
}
.vpn-reset {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--eu-link);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.vpn-reset:hover {
  text-decoration: underline;
}
.vpn-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 16px;
  font-size: 13px;
  color: #333;
  padding: 10px 0 8px;
}
.vpn-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 12px;
  color: #333;
}
.vpn-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.yn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
}
.yn--y {
  background: #e3f2e7;
  color: var(--tk-good);
}
.yn--n {
  background: #fbe7e5;
  color: var(--tk-bad);
}
.yn svg {
  width: 13px;
  height: 13px;
}
.vpn-scroll {
  max-height: 72vh;
  overflow: auto;
  border: 1px solid #d9d9d9;
}
@media (max-width: 767px) {
  .vpn-scroll {
    display: none;
  }
}
.vpn-t {
  min-width: 1280px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 18px;
}
.vpn-t th,
.vpn-t td {
  padding: 10px 10px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  vertical-align: middle;
  text-align: left;
}
.vpn-t thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  line-height: 15px;
  font-weight: 600;
  vertical-align: bottom;
  border-bottom: 0;
  padding: 0;
}
.vpn-t thead th > span,
.vpn-t thead th > button {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  color: inherit;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
}
.vpn-t thead th > button {
  cursor: pointer;
}
.vpn-t thead th > button:hover {
  background: #374151;
}
.vpn-t thead th.num > button,
.vpn-t thead th.num > span {
  justify-content: flex-end;
  text-align: right;
}
.vpn-t thead th.c > span {
  justify-content: center;
  text-align: center;
}
.vpn-t .sort-ic {
  width: 12px;
  height: 12px;
  flex: none;
  opacity: 0.55;
}
.vpn-t th[aria-sort] .sort-ic {
  opacity: 1;
}
.vpn-t th[aria-sort="descending"] .sort-ic {
  transform: rotate(180deg);
}
.vpn-t .stick {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 190px;
  box-shadow: 1px 0 0 #d1d5db;
}
.vpn-t thead .stick {
  z-index: 4;
  box-shadow: 1px 0 0 #374151;
}
.vpn-t .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.vpn-t .c {
  text-align: center;
}
.vpn-t .nm {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #111;
}
.vpn-t .sub,
.vpn-card .sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #4b5563;
  white-space: nowrap;
}
.vpn-t .score {
  display: inline-block;
  min-width: 38px;
  padding: 2px 6px;
  background: var(--eu-blue);
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.vpn-t tbody.tk-pinned th,
.vpn-t tbody.tk-pinned td {
  background: var(--tk-sponsor-bg);
  border-bottom: 2px solid var(--tk-sponsor-rule);
}
.vpn-t tbody.tk-pinned .tk-sp-label {
  display: flex;
  margin-bottom: 6px;
}
.vpn-t .go {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--eu-link);
  white-space: nowrap;
}
.vpn-t .go:hover {
  text-decoration: underline;
}
.vpn-t .go--sp {
  color: var(--tk-sponsor-ink);
}
.vpn-mono,
.vpn-card .vpn-mono {
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8edf2;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
}
.vpn-mono svg {
  width: 26px;
  height: 26px;
}
.vpn-cards {
  display: none;
}
@media (max-width: 767px) {
  .vpn-cards {
    display: grid;
    gap: 12px;
  }
}
.vpn-card {
  border: 1px solid #d9d9d9;
  padding: 12px 14px 4px;
  font-size: 14px;
  line-height: 19px;
}
.vpn-card--sp {
  background: var(--tk-sponsor-bg);
  border-color: var(--tk-sponsor-rule);
}
.vpn-card__h {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}
.vpn-card__h h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  min-width: 0;
}
.vpn-card__h .sc {
  text-align: right;
  font-size: 12px;
  color: var(--eu-gray);
}
.vpn-card__h .sc b {
  display: block;
  font-size: 22px;
  line-height: 24px;
  color: var(--eu-blue);
}
.vpn-card__stream {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 10px 0 2px;
  font-size: 13px;
}
.vpn-card__stream span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vpn-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: 10px;
}
.vpn-card dt {
  font-size: 12px;
  color: #555;
}
.vpn-card dd {
  font-weight: 600;
  color: #111;
  font-variant-numeric: tabular-nums;
}
.vpn-card details summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--eu-link);
  font-weight: 600;
}
.vpn-card details summary svg {
  width: 18px;
  height: 18px;
}
.vpn-card details dl {
  margin: 0 0 8px;
}
.vpn-card__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  border-top: 1px solid #e5e7eb;
  margin-top: 10px;
}
.vpn-empty {
  border: 1px solid #d9d9d9;
  padding: 16px;
  font-size: 15px;
  text-align: center;
}
.vpn-note {
  font-size: 12px;
  line-height: 18px;
  color: #4b5563;
  margin-top: 8px;
}
.vpn-note a {
  color: var(--eu-link);
  text-decoration: underline;
}
.rank-rest {
  font-family: var(--ui-font);
  border-top: 1px solid #000;
  margin: 24px 0 8px;
}
.rank-rest li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #d9d9d9;
  font-size: 15px;
  line-height: 20px;
}
.rank-rest .tk-badge {
  width: 32px;
  height: 32px;
  font-size: 16px;
  margin: 0;
}
.rank-rest b {
  color: var(--eu-blue);
  font-size: 18px;
}
.sp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tk-sponsor-ink);
  background: var(--tk-sponsor-bg);
  border: 1px solid var(--tk-sponsor-rule);
  padding: 0 6px;
  vertical-align: 3px;
  margin-left: 6px;
  white-space: nowrap;
}

.prose-eu .tk-rank h3 {
  font-size: 24px;
  line-height: 28px;
  margin: 12px 0 12px;
}
.tk-rank--sp {
  border-top-color: var(--tk-sponsor-ink);
}
.tk-spnote {
  font-family: var(--ui-font);
  font-size: 13px;
  line-height: 18px;
  color: var(--tk-sponsor-ink);
  background: var(--tk-sponsor-bg);
  border: 1px solid var(--tk-sponsor-rule);
  padding: 8px 10px;
  margin: 0 0 14px;
}

.tk-rank > p {
  margin: 0 0 16px;
}
/* El pie portado usa font-light; Consultas no carga el peso 300 y se ve en 400 */
footer .font-light {
  font-weight: 400;
}
@media (max-width: 639px) {
  .mockbar .long {
    display: none;
  }
}

.sf-rank a {
  display: block;
}
@media (max-width: 559px) {
  .sf-videos .sf-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .video-card .t {
    font-size: 15px;
    line-height: 19px;
  }
}

/* Contenedores con scroll propio: bloque contenedor de los .sr-only absolutos (si no, escapan y ensanchan la página) */
.tk-scroll,
.vpn-scroll {
  position: relative;
}
.prose-eu .story-card .t,
.prose-eu .video-card .t {
  font-size: 18px;
  line-height: 22px;
  margin: 0;
}
.prose-eu .sf-cards {
  margin: 0 0 28px;
}

/* Logotipos de tiendas: alto fijo, ancho por proporción, nunca deformados */
img.logo {
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.tk-store__logo img.logo { height: 20px; max-height: none; max-width: 88px; }
.tk-store__logo img.logo.l-ml { height: 26px; }
.tk-store__logo img.logo.l-pal, .tk-store__logo img.logo.l-liv { height: 22px; }
.store__logo img.logo { height: 22px; max-height: none; max-width: 92px; }
.store__logo img.logo.l-ml { height: 28px; }
.tk-priceline img.logo, .tk-card__price img.logo { display: inline-block; height: 16px; max-width: 80px; vertical-align: -3px; }
.tk-priceline img.logo.l-ml, .tk-card__price img.logo.l-ml { height: 22px; vertical-align: -6px; }
.alt-card__p img.logo { display: inline-block; height: 14px; max-width: 80px; vertical-align: -2px; }
.alt-card__p img.logo.l-ml { height: 20px; vertical-align: -5px; }
.pd-buy img.logo { display: inline-block; height: 18px; }
@media (max-width: 479px) {
  .tk-store__logo img.logo { max-width: 72px; }
}
@media (max-width: 767px) {
  .store {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    grid-template-areas:
      "logo price go"
      "logo cond cond"
      "logo fresh fresh";
  }
  .store__logo img.logo { max-width: 84px; }
  .store__go.tk-cta { padding: 0 12px; }
}
.tk-sources li {
  padding: 0;
}
.tk-sources li + li {
  margin-top: 2px;
}
.tk-sources svg {
  margin-top: 14px;
}
.tk-sources a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.tk-sources small {
  margin: -8px 0 6px;
}

/* --hdr = alto del header sticky (lo fija app.js); los valores de respaldo son los de Consultas */
html {
  scroll-padding-top: calc(var(--hdr, 103px) + 16px);
}
html.has-subnav {
  scroll-padding-top: calc(var(--hdr, 103px) + 64px);
}
.pd-subnav {
  top: var(--hdr, 103px);
}
.nota-share__in {
  top: calc(var(--hdr, 128px) + 20px);
}
@media (max-width: 399px) {
  .tk-store .tk-fresh {
    white-space: normal;
  }
}
/* Títulos largos sin punto de corte nunca empujan su columna */
main .t,
main .n,
main .q,
main .tk-partner__name {
  overflow-wrap: anywhere;
}
.more-item a > span,
.story-row a > span,
.story-card a > span {
  min-width: 0;
}
@media (max-width: 767px) {
  .ph-stats div:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 559px) {
  .tk-bar .tk-weight {
    display: none;
  }
}
@media (min-width: 768px) {
  .nota-body .sf-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .sf-hero img {
    aspect-ratio: 16 / 9;
  }
  .sf-hero__txt {
    padding: 24px 48px;
  }
  .sf-hero__t {
    font-size: 36px;
    line-height: 40px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .pd-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ===================== Consultas (mockup consultas.css) ===================== */
/* Consultas: piezas nuevas con el lenguaje de El Universal (filetes finos, azul de sección, banda #ecf0f1, esquinas rectas) */
.cq-h1 {
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: var(--eu-blue);
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .cq-h1 {
    font-size: 48px;
  }
}

/* Indicadores */
.cq-ind {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--eu-band);
  padding: 0 12px;
  margin-top: 12px;
  min-height: 44px;
  font-size: 14px;
}
.cq-ind__h {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eu-blue);
}
.cq-ind ul {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  font-variant-numeric: tabular-nums;
}
.cq-ind ul::-webkit-scrollbar {
  display: none;
}
.cq-ind li {
  flex: none;
}
.cq-ind .k {
  color: var(--eu-gray);
  margin-right: 6px;
}
.cq-ind b {
  font-weight: 600;
  color: #111;
}
.cq-ind i {
  font-style: normal;
  font-size: 12px;
  margin-left: 5px;
}
.cq-ind .up {
  color: var(--tk-good);
}
.cq-ind .dn {
  color: var(--tk-bad);
}
.cq-ind .tk-textlink {
  flex: none;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .cq-ind__h,
  .cq-ind .tk-textlink {
    display: none;
  }
}
.sf-verticals a[aria-current="true"] {
  color: var(--eu-blue);
  font-weight: 700;
}

/* Herramienta dentro de la nota de portada */
.cq-calc {
  display: grid;
  gap: 14px 28px;
  align-items: center;
  background: var(--eu-band);
  border-left: 4px solid var(--eu-blue);
  padding: 16px 18px;
  margin-top: 16px;
}
@media (min-width: 768px) {
  .cq-calc {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }
}
.cq-calc .tk-label {
  margin: 0 0 6px;
}
.cq-calc label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}
.cq-calc__in {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #9ca3af;
  height: 48px;
  padding: 0 12px;
  max-width: 300px;
}
.cq-calc__in span {
  font-size: 22px;
  font-weight: 600;
  color: var(--eu-gray);
  margin-right: 4px;
}
.cq-calc__in input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 24px;
  font-weight: 700;
  color: var(--eu-title);
  font-variant-numeric: tabular-nums;
}
.cq-calc__in:focus-within {
  outline: 2px solid #005588;
  outline-offset: 2px;
}
.cq-calc__r span,
.cq-calc__r small {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}
.cq-calc__r small {
  font-size: 12px;
  color: var(--eu-gray);
}
.cq-calc__r b {
  display: block;
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  color: var(--eu-blue);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Directorios en portada */
.cq-dirs {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 992px) {
  .cq-dirs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.cq-dirs a {
  display: block;
  border-top: 4px solid var(--eu-blue);
  background: var(--eu-band);
  padding: 14px;
}
.cq-dirs a:hover .t {
  text-decoration: underline;
}
.cq-dirs b {
  display: block;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  color: var(--eu-blue);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cq-dirs .t {
  display: block;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  color: #111;
  margin-top: 6px;
}
.cq-dirs .s {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--eu-gray);
  margin-top: 6px;
}

/* Agenda */
.cq-agenda {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cq-agenda li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--eu-rule-soft);
  align-items: center;
}
.cq-agenda .d {
  background: var(--eu-blue);
  color: #fff;
  text-align: center;
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0 7px;
}
.cq-agenda .d b {
  display: block;
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0;
}
.cq-agenda a {
  display: block;
}
.cq-agenda .t {
  display: block;
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: #111;
}
.cq-agenda a:hover .t {
  text-decoration: underline;
}
.cq-agenda .m {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--eu-gray);
  margin-top: 2px;
}

/* Simulador del ranking */
.cq-sim {
  background: var(--eu-band);
  border-left: 4px solid var(--eu-blue);
  padding: 16px 18px;
  margin: 28px 0;
  font-family: var(--ui-font);
}
.cq-sim .tk-label {
  margin: 0 0 10px;
}
.cq-sim__g {
  display: grid;
  gap: 16px 28px;
}
@media (min-width: 640px) {
  .cq-sim__g {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.cq-sim label,
.cq-sim .lab {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  margin-bottom: 8px;
}
.cq-sim label b {
  font-size: 24px;
  line-height: 26px;
  color: var(--eu-title);
  font-variant-numeric: tabular-nums;
}
.cq-sim input[type="range"] {
  width: 100%;
  height: 28px;
  accent-color: #005383;
}
.cq-seg {
  display: flex;
}
.cq-seg button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #9ca3af;
  border-left-width: 0;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.cq-seg button:first-child {
  border-left-width: 1px;
}
.cq-seg button[aria-pressed="true"] {
  background: var(--eu-blue);
  border-color: var(--eu-blue);
  color: #fff;
}
.cq-sim__r {
  margin: 14px 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid #cfd6d9;
  font-size: 16px !important;
  line-height: 22px !important;
}
.vpn-t td,
.vpn-t th {
  font-variant-numeric: tabular-nums;
}
.vpn-t .pay {
  font-weight: 700;
  color: var(--eu-title);
  font-size: 16px;
}

/* Directorio */
.cq-find {
  display: grid;
  gap: 12px 16px;
  background: var(--eu-band);
  padding: 16px;
  margin-top: 16px;
}
@media (min-width: 768px) {
  .cq-find {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}
.cq-find label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eu-blue);
  margin-bottom: 6px;
}
.cq-find input,
.cq-find select {
  width: 100%;
  height: 48px;
  border: 1px solid #9ca3af;
  border-radius: 0;
  background: #fff;
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
  color: #111;
}
.cq-dgrid {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}
@media (min-width: 992px) {
  .cq-dgrid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }
}
.cq-cnt {
  font-size: 14px;
  color: var(--eu-gray);
}
.cq-cards {
  display: grid;
  gap: 0 28px;
}
@media (min-width: 640px) {
  .cq-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cq-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--eu-rule-soft);
}
.cq-card h3 {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  color: #111;
  margin: 4px 0 6px;
}
.cq-card h3 a:hover {
  text-decoration: underline;
}
.cq-card p {
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  color: #333;
  margin: 0;
}
.cq-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 12px 0 0;
  background: var(--eu-band);
  padding: 10px 12px;
}
.cq-card dt {
  font-size: 12px;
  line-height: 16px;
  color: var(--eu-gray);
}
.cq-card dd {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #111;
}
.cq-card dd.ok {
  color: var(--tk-good);
}
.cq-card .eu-time {
  margin-top: 10px;
}
.cq-empty {
  grid-column: 1 / -1;
  background: var(--eu-band);
  padding: 20px;
  font-size: 16px;
}

/* La referencia cambia la tabla por tarjetas en móvil; aquí la tabla se desplaza en horizontal */
@media (max-width: 767px) { .vpn-scroll { display: block !important; } }

}

/* ===================== Consultas: piezas propias del port (ronda 4) ===================== */
@layer components {
  /* Text-only teasers: Consultas has no photo for the item (sample rankings, tools) */
  .story-card--text,
  .story-row--text {
    border-top: 1px solid #d9d9d9;
    padding-top: 10px;
  }
  .sf-cards--rows .story-card--text a,
  .story-row--text a {
    display: block;
  }
  .sf-cards--rows .story-card--text .s {
    display: block;
  }
  .cq-calc {
    margin-bottom: 24px;
  }
  .cq-ind a {
    color: inherit;
  }
  .cq-ind a:hover .k {
    text-decoration: underline;
  }
  .cq-ind__na {
    font-weight: 400 !important;
    color: var(--eu-gray) !important;
  }
  .cq-note {
    font-size: 12px;
    line-height: 16px;
    color: var(--eu-gray);
    margin-top: 8px;
  }
  /* CMS story bodies arrive without the reference classes (ul.bul, fig-eu) */
  .prose-eu ul:not([class]),
  .prose-eu ol:not([class]) {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 20px;
  }
  .prose-eu ol:not([class]) {
    list-style: decimal;
  }
  .prose-eu ul:not([class]) li,
  .prose-eu ol:not([class]) li {
    margin-bottom: 6px;
  }
  .prose-eu li a:not([class]),
  .prose-eu td a:not([class]),
  .prose-eu blockquote a:not([class]) {
    color: var(--eu-link);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .prose-eu h4 {
    font-family: var(--ui-font);
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    margin: 24px 0 8px;
  }
  .prose-eu blockquote {
    border-left: 4px solid var(--eu-blue);
    background: var(--eu-band);
    padding: 12px 16px;
    margin: 0 0 20px;
  }
  .prose-eu img {
    display: block;
    width: 100%;
    height: auto;
    margin: 8px 0 20px;
  }
  .prose-eu table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-family: var(--ui-font);
    font-size: 15px;
    line-height: 21px;
    margin: 0 0 24px;
  }
  .prose-eu th,
  .prose-eu td {
    border-bottom: 1px solid var(--eu-rule-soft);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
  }
  .prose-eu thead th,
  .prose-eu tr:first-child th {
    background: var(--eu-band);
    font-weight: 700;
  }
  /* Tool inside a story body: bordered block (the working Vue island keeps its own styles) */
  .cq-tool {
    font-family: var(--ui-font);
    font-size: 16px;
    line-height: 24px;
    border: 1px solid var(--eu-rule);
    border-top: 4px solid var(--eu-blue);
    padding: 16px;
    margin: 8px 0 28px;
  }
  /* The tool keeps the styles it has on its own page: undo the story-body rules inside it */
  .prose-eu .cq-tool > :not(.tk-label, h2),
  .prose-eu .cq-tool > :not(.tk-label, h2) * {
    font-family: revert-layer;
    font-size: revert-layer;
    line-height: revert-layer;
    font-weight: revert-layer;
    color: revert-layer;
    margin: revert-layer;
    padding: revert-layer;
    list-style: revert-layer;
    display: revert-layer;
    width: revert-layer;
    border: revert-layer;
    background: revert-layer;
    text-decoration: revert-layer;
  }
  .story-sec--text {
    border-top: 1px solid #d9d9d9;
    padding-top: 10px;
  }
  .story-sec--text a {
    display: block !important;
  }
  .cq-tool > .tk-label {
    margin: 0 0 4px;
  }
  .cq-tool > h2 {
    margin: 0 0 14px !important;
  }
  .cq-eval {
    display: inline-block;
    font-family: var(--ui-font);
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tk-sponsor-ink);
    background: var(--tk-sponsor-bg);
    border: 1px solid var(--tk-sponsor-rule);
    padding: 1px 6px;
  }
}

/* Existing tool pages inside the medio shell: title block styled as the reference .nota-head.
   Unlayered on purpose, so it wins over the Tailwind utilities those pages carry. */
.medio-shell main > .container > .text-center:first-of-type,
.medio-shell main > div > .container > .text-center:first-of-type {
  text-align: left;
  margin: 0 0 20px;
}
.medio-shell main h1.custom-title {
  font-family: var(--ui-font);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--eu-title);
  margin: 0 0 20px;
  text-align: left;
}
.medio-shell main > .container > .text-center:first-of-type > h2.custom-title,
.medio-shell main > .container > .text-center:first-of-type > p,
.medio-shell main > div > .container > .text-center:first-of-type > h2.custom-title,
.medio-shell main > div > .container > .text-center:first-of-type > p {
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: -0.26px;
  color: #000;
  max-width: none;
  margin-left: 0;
  text-align: left;
}
@media (min-width: 768px) {
  .medio-shell main > .container > .text-center:first-of-type,
  .medio-shell main > div > .container > .text-center:first-of-type {
    margin-top: 18px;
  }
  .medio-shell main h1.custom-title {
    font-size: 42px;
    line-height: 46px;
    margin-bottom: 12px;
  }
  .medio-shell main > .container > .text-center:first-of-type > h2.custom-title,
  .medio-shell main > .container > .text-center:first-of-type > p,
  .medio-shell main > div > .container > .text-center:first-of-type > h2.custom-title,
  .medio-shell main > div > .container > .text-center:first-of-type > p {
    font-size: 22px;
    line-height: 26px;
  }
}

/* The reference footer forces font-light to 400 (Consultas never loaded 300). Here Work Sans 300 is
   loaded for the summaries and the utility layer would win, so this rule stays outside the layers. */
footer .font-light {
  font-weight: 400;
}

/* >>> generated: scripts/medio/tools.src.css */
/* ===================== Tool interiors on staging (round 5) =====================
   Source for the generated block at the end of public/assets/medio/medio.css
   (scripts/medio/build-css.mjs expands `S ` to the staging scope). Unlayered on purpose:
   the existing Vue tools style themselves with Tailwind utilities, which sit in a layer,
   so these rules restyle every tool at once without touching their markup or logic.
   Language: straight corners, thin rules, #ecf0f1 bands, 4px blue rules (tokens.md §9). */

/* Corners and depth: square everything; keep round only for dots, avatars and icon discs */
:is(.medio-shell main, .medio-page .cq-tool) [class*="rounded"] { border-radius: 0; }
:is(.medio-shell main, .medio-page .cq-tool) [class*="rounded-full"]:not([class*="px-"]) { border-radius: 9999px; }
:is(.medio-shell main, .medio-page .cq-tool) [class*="shadow"], :is(.medio-shell main, .medio-page .cq-tool) [class*="ring-"] { box-shadow: none !important; }
:is(.medio-shell main, .medio-page .cq-tool) [class*="drop-shadow"] { filter: none; }
:is(.medio-shell main, .medio-page .cq-tool) [class*="bg-gradient"]:not([class*="via-"]) { background-image: none; background-color: var(--eu-band); }
:is(.medio-shell main, .medio-page .cq-tool) [class*="bg-gradient"]:not([class*="via-"]):is([class*="text-white"], [class*="from-slate-6"], [class*="from-slate-7"], [class*="from-gray-7"]) { background-color: var(--eu-blue); }

/* Tool block on a tool page: the mockup calculator band (#ecf0f1 + 4px blue rule) */
.medio-shell main .container > div:has(> astro-island):not(.text-center),
.medio-shell main .container > section:has(> astro-island) {
  background: var(--eu-band);
  border: 0;
  border-left: 4px solid var(--eu-blue);
  padding: 16px 18px;
  margin-bottom: 28px;
}
@media (max-width: 639px) {
  .medio-shell main .container > div:has(> astro-island):not(.text-center),
  .medio-shell main .container > section:has(> astro-island) { padding: 12px 10px; margin-left: -16px; margin-right: -16px; border-left-width: 0; border-top: 4px solid var(--eu-blue); }
}
/* Cards: flat white boxes with a thin rule (white on the band, tr-card elsewhere) */
:is(.medio-shell main, .medio-page .cq-tool) .bg-white[class*="shadow"], :is(.medio-shell main, .medio-page .cq-tool) .bg-white[class*="rounded-xl"], :is(.medio-shell main, .medio-page .cq-tool) .bg-white[class*="rounded-2xl"] {
  border: 1px solid #d9d9d9;
}
.medio-shell main .container > div:not(:has(astro-island)).bg-white[class*="rounded-xl"],
.medio-shell main .container > section.bg-white,
.medio-shell main .container > div.bg-white[class*="shadow"]:not(:has(astro-island)) {
  border: 1px solid #d9d9d9;
  border-top: 3px solid var(--eu-blue);
}
:is(.medio-shell main, .medio-page .cq-tool) [class*="border-primary/"] { border-color: #d9d9d9; }
:is(.medio-shell main, .medio-page .cq-tool) .bg-gray-50, :is(.medio-shell main, .medio-page .cq-tool) .bg-neutral-50, :is(.medio-shell main, .medio-page .cq-tool) .bg-neutral-100 { background-color: #f7f8f9; }
:is(.medio-shell main, .medio-page .cq-tool) .bg-gray-100, :is(.medio-shell main, .medio-page .cq-tool) .bg-neutral-200 { background-color: var(--eu-band); }

/* Type scale (tokens.md §9): section 27/31, sub-heads 21/26; small labels stay */
.medio-shell main h2:not(.custom-title) { font-size: 27px !important; line-height: 31px; letter-spacing: -0.2px; }
.medio-shell main h3:not(.custom-title) { font-size: 21px !important; line-height: 26px; }
:is(.medio-shell main, .medio-page .cq-tool) astro-island h2:not(.custom-title) { font-size: 21px !important; line-height: 26px; }
:is(.medio-shell main, .medio-page .cq-tool) astro-island h3:not(.custom-title) { font-size: 18px !important; line-height: 22px; }
:is(.medio-shell main, .medio-page .cq-tool) astro-island h4 { font-size: 16px; line-height: 21px; }
:is(.medio-shell main, .medio-page .cq-tool) .text-gray-400, :is(.medio-shell main, .medio-page .cq-tool) .text-neutral-400 { color: #6b7280; }
:is(.medio-shell main, .medio-page .cq-tool) .text-primary-dark { color: var(--eu-title); }
:is(.medio-shell main, .medio-page .cq-tool) .font-extrabold { font-weight: 700; }

/* Fields: the mockup's .cq-calc__in */
:is(.medio-shell main, .medio-page .cq-tool) :is(input:not([type]), input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="date"], input[type="month"], input[type="time"], input[type="search"], input[type="url"], select, textarea) {
  border-radius: 0;
  border-color: #9ca3af;
  background-color: #fff;
  color: #111;
  min-height: 44px;
}
:is(.medio-shell main, .medio-page .cq-tool) :is(input, select, textarea)[class*="border-primary"] { border-color: #9ca3af; color: var(--eu-title); }
:is(.medio-shell main, .medio-page .cq-tool) :is(input, select, textarea)[class*="border-red"] { border-color: var(--tk-bad); }
:is(.medio-shell main, .medio-page .cq-tool) :is(input, select, textarea, button, a, summary):focus-visible {
  outline: 2px solid #005588;
  outline-offset: 2px;
  box-shadow: none;
}
:is(.medio-shell main, .medio-page .cq-tool) :is(input, select, textarea):focus { box-shadow: none; }
:is(.medio-shell main, .medio-page .cq-tool) .relative > .absolute.text-primary { color: var(--eu-gray); }
:is(.medio-shell main, .medio-page .cq-tool) input[type="checkbox"], :is(.medio-shell main, .medio-page .cq-tool) input[type="radio"], :is(.medio-shell main, .medio-page .cq-tool) input[type="range"] { accent-color: #005383; }
:is(.medio-shell main, .medio-page .cq-tool) label, :is(.medio-shell main, .medio-page .cq-tool) legend { color: #333; }

/* Segmented choices: the mockup's .cq-seg */
:is(.medio-shell main, .medio-page .cq-tool) button[aria-pressed] {
  min-height: 44px;
  border: 1px solid #9ca3af;
  background: #fff;
  color: #333;
  font-weight: 600;
}
:is(.medio-shell main, .medio-page .cq-tool) button[aria-pressed="true"] { background: var(--eu-blue); border-color: var(--eu-blue); color: #fff; }
:is(.medio-shell main, .medio-page .cq-tool) :is(.flex, .grid):has(> button[aria-pressed] + button[aria-pressed]) { gap: 0; }
:is(.medio-shell main, .medio-page .cq-tool) :is(.flex):has(> button[aria-pressed] + button[aria-pressed]) > button[aria-pressed] + button[aria-pressed] { border-left-width: 0; }
:is(.medio-shell main, .medio-page .cq-tool) button[aria-pressed="true"] + button[aria-pressed] { border-left-color: var(--eu-blue); }

/* Buttons and links styled as buttons: the reference .tk-cta */
:is(.medio-shell main, .medio-page .cq-tool) :is(button, a)[class*="bg-primary"]:not([class*="bg-primary/"]):not([aria-pressed]) {
  background-color: var(--eu-blue);
  color: #fff;
  min-height: 44px;
}
:is(.medio-shell main, .medio-page .cq-tool) :is(button, a)[class*="bg-primary"]:not([class*="bg-primary/"]):not([aria-pressed]):hover { background-color: #003d5f; }
:is(.medio-shell main, .medio-page .cq-tool) :is(button, a)[class*="border"][class*="px-"]:not([class*="bg-primary"]):not([aria-pressed]):not([role="tab"]) { min-height: 44px; }

/* Results: the mockup's .cq-calc__r (big blue figure on a 4px rule, no tinted box) */
:is(.medio-shell main, .medio-page .cq-tool) [class*="bg-primary/10"][class*="border-2"],
:is(.medio-shell main, .medio-page .cq-tool) [class*="bg-primary/5"][class*="border-2"] {
  background: #fff;
  border: 0;
  border-left: 4px solid var(--eu-blue);
  color: var(--eu-blue);
  letter-spacing: -0.02em;
}
:is(.medio-shell main, .medio-page .cq-tool) [class*="text-3xl"][class*="bg-primary/10"] { font-size: 36px; line-height: 40px; }
:is(.medio-shell main, .medio-page .cq-tool) .bg-primary\/10:not([class*="border-2"]):not([class*="rounded-full"]) { background-color: #e8f0f6; }

/* Notices: amber/blue/red boxes become ruled bands */
:is(.medio-shell main, .medio-page .cq-tool) :is([class*="bg-amber-50"][class*="border-amber"], [class*="bg-yellow-50"][class*="border-yellow"], [class*="bg-orange-50"][class*="border-orange"]) {
  background: var(--tk-sponsor-bg);
  border: 0;
  border-left: 4px solid #8a4b00;
  color: #3d2a05;
}
:is(.medio-shell main, .medio-page .cq-tool) [class*="bg-blue-50"][class*="border-blue"] { background: var(--eu-band); border: 0; border-left: 4px solid var(--eu-blue); }
:is(.medio-shell main, .medio-page .cq-tool) [class*="bg-red-50"][class*="border-red"]:not(button) { background: #fdf3f2; border: 0; border-left: 4px solid var(--tk-bad); }
:is(.medio-shell main, .medio-page .cq-tool) [class*="bg-green-50"][class*="border-green"]:not(button) { background: #eef7f1; border: 0; border-left: 4px solid var(--tk-good); }
:is(.medio-shell main, .medio-page .cq-tool) aside[aria-label="Aviso sobre el resultado"] { font-size: 14px; line-height: 20px; }

/* Tables: dark head as the reference comparison tables, thin rows, own scroll */
/* Prose tables grow with their rows: the reference's 72vh cap (a comparison table with a sticky head)
   made phones scroll inside the table to reach its last rows */
.medio-page .prose-eu .vpn-scroll { margin-bottom: 24px; max-height: none; }
/* Phones: tighter cells so four-column prose tables fit; wider ones keep their own scroll box */
@media (max-width: 479px) {
  .medio-page .prose-eu .vpn-t :is(th, td) { padding: 6px 7px; font-size: 14px; line-height: 19px; }
}
.medio-page .prose-eu .vpn-t { display: table; min-width: 0; margin: 0; }
.medio-page .prose-eu .vpn-t thead th { color: var(--eu-ink); padding: 8px 10px; }

/* Official-data tables (DataTable.astro). The table fits its column: no horizontal scroll, no fixed
   heights. Position, name and metric always show; .dt-sec cells fold into .dt-more under the name
   until the block is as wide as that table needs (data-fold). Same language as .tk-faq/.rank-rest: black head
   rule, thin row rules, light-blue position tiles (.tool-card .ic), grey bands for caveats. */
.medio-page [data-dataset] [hidden] { display: none !important; }
.dt { position: relative; container-type: inline-size; font-family: var(--ui-font); margin: 8px 0 32px; }
.medio-page .prose-eu .dt > h2 { margin-bottom: 6px; }
.dt-src { font-size: 13px; line-height: 19px; color: #4b5563; margin: 0 0 14px; }
.dt-src > a, .dt-src > span:last-child { white-space: nowrap; }
.dt-src a { color: var(--eu-link); text-decoration: underline; text-underline-offset: 2px; }
.cq-find.dt-find { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 0 0 16px; }
.dt-pick { grid-column: 1 / -1; min-width: 0; border: 0; margin: 0; padding: 0; }
.dt-pick legend { display: block; padding: 0; margin-bottom: 8px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--eu-blue); }
.dt-pick .chips { gap: 8px; }
.cq-find .dt-pick .chip { display: inline-flex; margin: 0; color: #222; font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.dt-pick .chip span { min-width: 44px; justify-content: center; padding: 0 14px; }
.dt-pick .chip input:checked + span { font-weight: 600; }
.dt-count { margin: 0 0 8px; }
.medio-page .prose-eu .dt-panel > h3 { margin: 8px 0 2px; }
.dt-desc { font-size: 14px; line-height: 20px; color: #4b5563; margin: 0 0 10px; }
.medio-page .dt-t { display: table; width: 100%; max-width: 100%; overflow: visible; table-layout: auto; border-collapse: collapse; margin: 0 0 20px; font-family: var(--ui-font); font-size: 15px; line-height: 20px; font-variant-numeric: tabular-nums; }
.medio-page .dt-t th, .medio-page .dt-t td { padding: 10px 8px; border-bottom: 1px solid var(--eu-rule-soft); background: transparent; color: #222; font-weight: 400; text-align: left; vertical-align: top; }
.medio-page .dt-t :is(th, td):first-child { padding-left: 0; }
.medio-page .dt-t :is(th, td):last-child { padding-right: 0; }
.medio-page .dt-t thead th { padding-top: 0; padding-bottom: 0; vertical-align: bottom; border-bottom: 1px solid #000; background: transparent; color: #333; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.dt-t thead th > span, .dt-t thead th > button { display: flex; align-items: flex-end; gap: 4px; width: 100%; min-height: 44px; padding: 8px 0 7px; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; }
.dt-t thead th > button { cursor: pointer; }
.dt-t thead th > button:not(:disabled):hover > span { text-decoration: underline; }
.dt-t thead th.num > span, .dt-t thead th.num > button { justify-content: flex-end; text-align: right; }
.dt-t .sort-ic { width: 12px; height: 12px; flex: none; opacity: 0.5; }
.dt-t button:disabled .sort-ic { display: none; }
.dt-t th[aria-sort] .sort-ic { opacity: 1; }
.dt-t th[aria-sort="descending"] .sort-ic { transform: rotate(180deg); }
.medio-page .dt-t .num { text-align: right; white-space: nowrap; }
.medio-page .dt-t thead th.num { white-space: normal; }
/* Figure columns shrink to their content, so any spare width goes to the name column */
.medio-page .dt-t .num { width: 1%; }
/* break-word (not anywhere) keeps whole words in the name's minimum width, so the automatic table
   layout cannot squeeze the name to one letter per line when the figures take the room */
.dt-t tbody .dt-name { overflow-wrap: break-word; }
/* A word longer than the column (Latinoamericana, EMPRESARIALES on phones) hyphenates in Spanish; only
   words of 12+ letters, and only where the limit is supported, so short names never get split */
@supports (hyphenate-limit-chars: 12 5 5) { .dt-t tbody .dt-n { hyphens: auto; hyphenate-limit-chars: 12 5 5; } }
.medio-page .dt-t .dt-pos { width: 1%; padding-right: 10px; }
.dt-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; margin: -4px 0; padding: 0 4px; background: #e8f0f6; color: var(--eu-blue); font-size: 14px; line-height: 1; font-weight: 700; }
.dt-badge--none { background: none; color: #6b7280; }
.dt-n { font-size: 16px; font-weight: 700; color: #111; }
.dt-sub, .dt-more { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: #4b5563; }
.dt-more b { font-weight: 600; color: #222; }
.dt-more b { overflow-wrap: anywhere; }
.dt-more b.nowrap { white-space: nowrap; }
.medio-page .dt-t td.dt-metric { font-size: 16px; font-weight: 700; color: var(--eu-title); }
.medio-page .dt-t td.dt-sec { font-size: 14px; color: #333; }
/* Secondary columns: folded under the name until the block reaches the width its table needs
   (data-fold = foldWidth() in datasets.ts, one rule per FOLD_STEPS value); no data-fold, always folded. */
.dt .dt-sec { display: none; }
@container (min-width: 520px) { .dt [data-fold="520"] .dt-sec { display: table-cell; } .dt [data-fold="520"] .dt-more { display: none; } }
@container (min-width: 540px) { .dt [data-fold="540"] .dt-sec { display: table-cell; } .dt [data-fold="540"] .dt-more { display: none; } }
@container (min-width: 560px) { .dt [data-fold="560"] .dt-sec { display: table-cell; } .dt [data-fold="560"] .dt-more { display: none; } }
@container (min-width: 580px) { .dt [data-fold="580"] .dt-sec { display: table-cell; } .dt [data-fold="580"] .dt-more { display: none; } }
@container (min-width: 600px) { .dt [data-fold="600"] .dt-sec { display: table-cell; } .dt [data-fold="600"] .dt-more { display: none; } }
@container (min-width: 620px) { .dt [data-fold="620"] .dt-sec { display: table-cell; } .dt [data-fold="620"] .dt-more { display: none; } }
@container (min-width: 640px) { .dt [data-fold="640"] .dt-sec { display: table-cell; } .dt [data-fold="640"] .dt-more { display: none; } }
@container (min-width: 660px) { .dt [data-fold="660"] .dt-sec { display: table-cell; } .dt [data-fold="660"] .dt-more { display: none; } }
@container (min-width: 680px) { .dt [data-fold="680"] .dt-sec { display: table-cell; } .dt [data-fold="680"] .dt-more { display: none; } }
@container (min-width: 700px) { .dt [data-fold="700"] .dt-sec { display: table-cell; } .dt [data-fold="700"] .dt-more { display: none; } }
@container (min-width: 720px) { .dt [data-fold="720"] .dt-sec { display: table-cell; } .dt [data-fold="720"] .dt-more { display: none; } }
@container (min-width: 740px) { .dt [data-fold="740"] .dt-sec { display: table-cell; } .dt [data-fold="740"] .dt-more { display: none; } }
@container (min-width: 760px) { .dt [data-fold="760"] .dt-sec { display: table-cell; } .dt [data-fold="760"] .dt-more { display: none; } }
@container (min-width: 780px) { .dt [data-fold="780"] .dt-sec { display: table-cell; } .dt [data-fold="780"] .dt-more { display: none; } }
@container (min-width: 800px) { .dt [data-fold="800"] .dt-sec { display: table-cell; } .dt [data-fold="800"] .dt-more { display: none; } }
/* Row action of brand rankings (datasets.ts RowAction): the last column from 520 px, a line under the
   name below that; only one copy is ever displayed, so only one is focusable */
.dt .dt-act { display: none; }
@container (min-width: 520px) { .dt .dt-act { display: table-cell; } .dt .dt-act-line { display: none; } }
.medio-page .dt-t .dt-act { width: 1%; padding-left: 16px; white-space: nowrap; text-align: right; }
.dt-cta { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin: -12px 0; color: var(--eu-link); font-size: 14px; line-height: 18px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.dt-cta:hover, .dt-cta:focus-visible { text-decoration: underline; text-underline-offset: 2px; }
.dt-cta::after { content: ""; width: 6px; height: 6px; margin-inline: 4px; flex: none; border-top: 1.25px solid currentColor; border-right: 1.25px solid currentColor; transform: rotate(45deg); }
.dt-sub > .dt-cta { margin: -6px 0 -8px; }
/* Row exception: a short tag in the row line that opens its explanation in place (no footnotes) */
.dt-why { font-size: 13px; line-height: 18px; color: #333; }
.dt-why > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; }
.dt-why > summary::-webkit-details-marker { display: none; }
.dt-why > summary > span { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid #cfd6d9; background: var(--eu-band); color: #333; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.dt-why > summary > span::after { content: "+"; font-weight: 700; color: var(--eu-blue); }
.dt-why[open] > summary > span::after { content: "−"; }
.dt-why > summary:hover > span { border-color: var(--eu-blue); color: var(--eu-blue); }
.dt-why > p { margin: 6px 0 2px; font-weight: 400; overflow-wrap: anywhere; }
.dt-why a, .dt-more-method a { color: var(--eu-link); text-decoration: underline; text-underline-offset: 2px; }
.dt-more-method > summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--eu-blue); cursor: pointer; }
.dt-more-method[open] > summary { margin-bottom: 4px; }
.medio-page .dt-t .dt-apart__h td { padding: 10px 12px; border-left: 4px solid var(--eu-blue); background: var(--eu-band); font-size: 13px; line-height: 19px; }
.dt-apart__h a { color: var(--eu-link); text-decoration: underline; text-underline-offset: 2px; }
.dt-empty { margin: 0 0 20px; padding: 16px; background: var(--eu-band); font-size: 15px; }
.dt-method p { margin: 0 0 8px; }
.medio-page .prose-eu .dt-sources { list-style: disc; margin: 8px 0 0; padding-left: 18px; font-size: 13px; line-height: 19px; }
.medio-page .prose-eu .dt-sources li { margin-bottom: 4px; }
.dt-sources a { color: var(--eu-link); text-decoration: underline; text-underline-offset: 2px; }
.medio-page .dt-cards { grid-template-columns: minmax(0, 1fr); margin: 0 0 20px; padding: 0; list-style: none; }
@container (min-width: 640px) { .medio-page .dt .dt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dt-cards .cq-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dt-cards .dt-wide { grid-column: 1 / -1; }
.medio-page .dt-cards .dt-wide dd { font-weight: 400; }

/* Paid spaces are cards in a separate warm panel, never numbered dataset rows. */
.sponsored { margin: 24px 0; padding: 18px; border: 1px solid #d4cdbd; background: #f7f5ef; font-family: var(--ui-font); color: #333; overflow-wrap: anywhere; }
.medio-page .prose-eu .sponsored__label { margin: 0 0 6px; color: #554a2f; font-size: 12px; line-height: 18px; font-weight: 700; font-variant-caps: all-small-caps; letter-spacing: 0.08em; }
.medio-page .prose-eu .sponsored__disclosure { margin: 0 0 16px; font-size: 13px; line-height: 19px; }
.sponsored__disclosure a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.medio-page .prose-eu .sponsored__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.medio-page .prose-eu .sponsored__card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; margin: 0; padding: 16px; border: 1px solid #ded9cd; background: #fff; }
.sponsored__brand { display: flex; align-items: center; gap: 10px; }
.sponsored__brand img { flex: none; width: 40px; height: 40px; object-fit: contain; }
.medio-page .prose-eu .sponsored__name { margin: 0; font-size: 17px; line-height: 23px; font-weight: 700; }
.medio-page .prose-eu .sponsored__blurb { margin: 10px 0 16px; font-size: 14px; line-height: 21px; }
.sponsored__card .tk-cta { min-height: 44px; margin-top: auto; text-align: center; white-space: normal; }

/* Data hubs (rankings, directories): section-front title, one row per dataset, method aside */
.dt-hub-dek { max-width: 46em; margin: 18px 0 0; font-size: 17px; line-height: 25px; color: #333; }
.dt-hub-grid { margin-top: 28px; }
.dt-hub { border-top: 1px solid #000; }
.sf-h + .dt-hub { border-top: 0; }
.sf-h + .dt-hub > li:first-child .dt-card { padding-top: 6px; }
.dt-hub-aside .tk-method h2 { font-weight: 700; }
.dt-hub > li { border-bottom: 1px solid #d9d9d9; }
.dt-card { position: relative; display: grid; gap: 12px 28px; padding: 18px 0 20px; }
@media (min-width: 768px) { .dt-card { grid-template-columns: minmax(0, 1fr) 236px; align-items: start; } }
.dt-card h3 { margin: 4px 0 6px; font-size: 22px; line-height: 27px; font-weight: 700; color: #000; }
.dt-card h3 a::after { content: ""; position: absolute; inset: 0; }
.dt-card:hover h3 a { text-decoration: underline; }
.dt-card p.s { font-size: 16px; line-height: 22px; color: #333; }
.dt-card dl { display: grid; gap: 6px; margin: 0; padding: 10px 12px; background: var(--eu-band); font-size: 14px; line-height: 19px; }
.dt-card dl div { display: flex; justify-content: space-between; gap: 12px; }
.dt-card dt { color: var(--eu-gray); }
.dt-card dd { margin: 0; font-weight: 600; color: #111; text-align: right; }
.dt-hub-aside .tk-method { margin-top: 0; }
@media (min-width: 992px) { .dt-hub-aside { position: sticky; top: calc(var(--hdr, 0px) + 16px); align-self: start; } }
.dt-hub-aside ul { display: grid; gap: 8px; margin-top: 8px; padding-left: 18px; list-style: disc; font-size: 14px; line-height: 20px; }
:is(.medio-shell main, .medio-page .cq-tool) :is(div, section):has(> table) { overflow-x: auto; position: relative; max-width: 100%; }
:is(.medio-shell main, .medio-page .cq-tool) table { border-collapse: collapse; font-variant-numeric: tabular-nums; }
:is(.medio-shell main, .medio-page .cq-tool) tbody td, :is(.medio-shell main, .medio-page .cq-tool) tbody th { border-bottom: 1px solid #e5e7eb; }

/* Details/accordions inside tools: .tk-faq rows */
:is(.medio-shell main, .medio-page .cq-tool) details:not([class*="bg-"]) { border-width: 0 0 1px; border-color: #d9d9d9; }
:is(.medio-shell main, .medio-page .cq-tool) summary { min-height: 44px; }

/* Feedback question under the tool */
.medio-shell main .container > div.border:has(> div > [class*="text-neutral-700"]):not(:has(astro-island)),
.medio-shell main astro-island > div.border.rounded-xl.p-5 { border: 0; border-top: 1px solid #000; background: transparent; padding-left: 0; padding-right: 0; }

/* Hub pages (calculadoras, contratos, unidades, fechas): section heads and tool cards as the section front */
.medio-shell main .container > section > h2:first-child,
.medio-shell main .container > div > section > h2:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px !important;
  line-height: 32px;
  font-weight: 700;
  color: var(--eu-blue);
  border-bottom: 4px solid var(--eu-blue);
  padding-bottom: 4px;
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  .medio-shell main .container > section > h2:first-child,
  .medio-shell main .container > div > section > h2:first-child { font-size: 30px !important; line-height: 36px; }
}
.medio-shell main .container a.group.block,
.medio-shell main .container a.group.flex {
  border: 1px solid #d9d9d9;
  background: #fff;
  padding: 14px;
}
.medio-shell main .container a.group:hover { border-color: var(--eu-blue); }
.medio-shell main .container a.group :is(h2, h3) { font-size: 17px !important; line-height: 21px; font-weight: 700; color: #000; }
.medio-shell main .container a.group p { font-size: 14px; line-height: 19px; color: #4b5563; }
.medio-shell main .container a.group > div > div[style*="background-color"]:first-child,
.medio-shell main .container a.group > div[style*="background-color"]:first-child { background: #e8f0f6 !important; width: 40px; height: 40px; }
.medio-shell main .container a.group [style*="color:"] { color: var(--eu-blue) !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .medio *, .medio *::before, .medio *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Hub title as the section-front .sf-title (wordmark-less): name left, tagline right, 4px rule */
.medio-hub main > .container > .text-center:first-of-type,
.medio-hub main > div > .container > .text-center:first-of-type {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px 16px;
  border-bottom: 4px solid var(--eu-blue);
  padding: 22px 0 8px;
  margin: 0 0 24px;
}
.medio-hub main h1.custom-title { font-size: 30px; line-height: 1; letter-spacing: -0.02em; color: var(--eu-blue); margin: 0; }
.medio-hub main .text-center:first-of-type > :is(h2, p).custom-title,
.medio-hub main .text-center:first-of-type > p {
  font-size: 13px !important;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4b5563;
  padding-bottom: 6px;
  margin: 0;
}
@media (min-width: 768px) {
  .medio-hub main > .container > .text-center:first-of-type { padding-top: 30px; }
  .medio-hub main h1.custom-title { font-size: 48px; line-height: 1; margin: 0; }
}

/* Inside the band, single-column calculators use the width as the mockup band does:
   form and results side by side (CSS columns keep DOM order and never split a card). */
@media (min-width: 1024px) {
  .medio-shell main .container > div:has(> astro-island) > astro-island > div[class*="max-w-"][class*="mx-auto"][class*="space-y-"] {
    max-width: none;
    columns: 2;
    column-gap: 24px;
    padding: 4px 0;
  }
  .medio-shell main .container > div:has(> astro-island) > astro-island > div[class*="max-w-"][class*="mx-auto"][class*="space-y-"] > * {
    break-inside: avoid;
    margin: 0 0 20px;
  }
}
.cq-prose { max-width: 760px; }

/* Feedback answers: plain ghost buttons */
:is(.medio-shell main, .medio-page .cq-tool) button[class*="bg-green-50"], :is(.medio-shell main, .medio-page .cq-tool) button[class*="bg-red-50"] {
  background: #fff;
  border-color: #9ca3af;
  color: #111;
  min-height: 44px;
}
:is(.medio-shell main, .medio-page .cq-tool) button[class*="bg-green-50"]:hover, :is(.medio-shell main, .medio-page .cq-tool) button[class*="bg-red-50"]:hover { border-color: var(--eu-blue); background: #f1f6fa; }

.cq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }

/* Section fronts: verticals with few stories (no secondaries) and the tool stack beside them */
@media (min-width: 768px) { .sf-open--nosecs > .story-lead { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .sf-open--nosecs > .story-lead { grid-column: 1 / 3; } }
.cq-toolstack { display: grid; gap: 10px; padding-top: 12px; }
.cq-adcol { display: flex; justify-content: center; align-items: flex-start; }

/* Mobile menu with its groups (reference language: labels, 44 px rows, thin rules) */
.cq-mmenu { max-height: calc(100vh - var(--hdr, 103px)); overflow-y: auto; padding: 4px 16px 16px; }
.cq-mmenu .tk-label { margin: 14px 0 2px; }
.cq-mmenu ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.cq-mmenu li a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid #e5e7eb; font-size: 15px; line-height: 19px; font-weight: 500; color: var(--eu-blue); }
.cq-mmenu .cq-mmenu__eu a { color: #111; font-size: 14px; }
.cq-mmenu .cq-mmenu__all { font-weight: 700; }
@media (max-width: 359px) { .cq-mmenu ul { grid-template-columns: 1fr; } }

/* Tap targets (QA.md: 44 px) and AA text on white and on the band */
:is(.medio-shell main, .medio-page .cq-tool) button:not([class*=" h-"]):not([class^="h-"]):not([role="switch"]) { min-height: 44px; }
:is(.medio-shell main, .medio-page .cq-tool) :is(.text-gray-500, .text-neutral-500, .text-neutral-600) { color: var(--eu-gray); }
.cq-ind li a { display: inline-flex; align-items: center; min-height: 44px; }
.cq-calc__in input { height: 100%; }
.cq-sim input[type="range"] { height: 44px; }

/* AA for coloured text inside tools (same hue family, darker step) */
:is(.medio-shell main, .medio-page .cq-tool) :is(.text-red-400, .text-red-500, .text-red-600) { color: var(--tk-bad); }
:is(.medio-shell main, .medio-page .cq-tool) :is(.text-green-500, .text-green-600, .text-emerald-500, .text-emerald-600, .text-\[\#28A745\], .text-\[\#28a745\]) { color: var(--tk-good); }
:is(.medio-shell main, .medio-page .cq-tool) :is(.text-yellow-400, .text-yellow-500, .text-yellow-600, .text-amber-500, .text-amber-600, .text-orange-400, .text-orange-500, .text-orange-600) { color: #8a4b00; }
:is(.medio-shell main, .medio-page .cq-tool) :is(.text-blue-400, .text-blue-500, .text-blue-600, .text-\[\#4A90E2\], .text-\[\#4a90e2\]) { color: var(--eu-link); }
:is(.medio-shell main, .medio-page .cq-tool) :is(.text-teal-500, .text-teal-600, .text-\[\#397461\]) { color: #2f6152; }
:is(.medio-shell main, .medio-page .cq-tool) :is([class*="bg-blue-500"], [class*="bg-blue-600"])[class*="text-white"] { background-color: var(--eu-blue); }
:is(.medio-shell main, .medio-page .cq-tool) :is([class*="bg-green-500"], [class*="bg-green-600"])[class*="text-white"] { background-color: var(--tk-good); }
:is(.medio-shell main, .medio-page .cq-tool) :is([class*="bg-red-500"], [class*="bg-red-600"])[class*="text-white"] { background-color: var(--tk-bad); }
:is(.medio-shell main, .medio-page .cq-tool) :is([class*="bg-orange-500"], [class*="bg-yellow-500"])[class*="text-white"] { background-color: #8a4b00; }
:is(.medio-shell main, .medio-page .cq-tool) .text-gray-300, :is(.medio-shell main, .medio-page .cq-tool) .text-neutral-300 { color: #6b7280; }

/* Tap targets: stand-alone links, icon buttons and sliders */
:is(.medio-shell main, .medio-page .cq-tool) li > a:only-child:not([class*="block"]):not([class*="flex"]), :is(.medio-shell main, .medio-page .cq-tool) a.inline-block[class*="text-sm"] { display: inline-flex; align-items: center; min-height: 44px; }
:is(.medio-shell main, .medio-page .cq-tool) button:is([class*="w-9"], [class*="w-10"])[class*="h-"] { min-width: 44px; min-height: 44px; }
:is(.medio-shell main, .medio-page .cq-tool) input[type="range"] { min-height: 44px; }
:is(.medio-shell main, .medio-page .cq-tool) .flex.justify-center:has(> a.flex.items-center) { flex-wrap: wrap; }
.cq-card dd.ok { color: #176d33; }
@media (max-width: 479px) {
  .cq-tool { padding: 12px 8px; margin-left: -8px; margin-right: -8px; }
}

/* Bar charts with many months (TIIE): scroll inside their own box on phones, as tables do */
:is(.medio-shell main, .medio-page .cq-tool) div.flex.items-end:has(> div.flex-1.flex.flex-col.items-center) { overflow-x: auto; overflow-y: hidden; padding-bottom: 28px; }
:is(.medio-shell main, .medio-page .cq-tool) div.flex.items-end:has(> div.flex-1.flex.flex-col.items-center) > div { min-width: 28px; }

:is(.medio-shell main, .medio-page .cq-tool) a[class*="underline"]:only-child, :is(.medio-shell main, .medio-page .cq-tool) p > a[class*="underline"]:only-child { display: inline-flex; align-items: center; min-height: 44px; }
:is(.medio-shell main, .medio-page .cq-tool) input[type="color"] { min-height: 44px; }
:is(.medio-shell main, .medio-page .cq-tool) button[aria-pressed="true"] :is(.text-gray-400, .text-gray-500, .text-gray-600, .text-neutral-500, .text-neutral-600) { color: #dbe7f0; }
:is(.medio-shell main, .medio-page .cq-tool) [class*="bg-[#4A90E2]"][class*="text-white"], :is(.medio-shell main, .medio-page .cq-tool) [class*="bg-[#4a90e2]"][class*="text-white"] { background-color: #0b63c4; }

/* Tool pages keep only the bottom breadcrumb, as the reference product page does */
.medio-shell main > .container > nav:first-child:has(> a[href="/consultas/precios/"]) { display: none; }

/* Tinted callouts (Hoy No Circula, verificación): the reference .tk-answer band with a 4px blue rule.
   Boxes coloured from data (engomado, inline style) keep their colour. */
:is(.medio-shell main, .medio-page .cq-tool) [class*="border-l-4"][class*="bg-"]:not([style*="background"]) {
  background-color: var(--eu-band);
  border-left-color: var(--eu-blue);
}
:is(.medio-shell main, .medio-page .cq-tool) [class*="border-l-4"]:is([class*="border-yellow"], [class*="border-orange"], [class*="border-gray-6"]) { border-left-color: var(--eu-blue); }
:is(.medio-shell main, .medio-page .cq-tool) [class*="border-l-4"][class*="border-[#28A745]"] { border-left-color: var(--tk-good); }
:is(.medio-shell main, .medio-page .cq-tool) [class*="border-l-4"][class*="border-[#D0021B]"] { border-left-color: var(--tk-bad); }
:is(.medio-shell main, .medio-page .cq-tool) :is([class*="bg-yellow-500/"], [class*="bg-orange-500/"], [class*="bg-sky-900/"], [class*="bg-[#28A74520]"], [class*="bg-[#D0021B20]"], [class*="bg-[#826e5720]"], [class*="bg-[#39746120]"], [class*="bg-[#6f3a4a20]"]):not([style*="background"]) { background-color: var(--eu-band); }
:is(.medio-shell main, .medio-page .cq-tool) [class*="border-2"][class*="border-[#D0021B]"], :is(.medio-shell main, .medio-page .cq-tool) [class*="border"][class*="border-red-2"], :is(.medio-shell main, .medio-page .cq-tool) [class*="border"][class*="border-red-3"] { border-color: #d9d9d9; border-width: 1px; border-top: 3px solid var(--tk-bad); }
:is(.medio-shell main, .medio-page .cq-tool) .text-\[\#D0021B\] { color: var(--tk-bad); }

:is(.medio-shell main, .medio-page .cq-tool) :is(.text-green-500, .text-green-600, .text-green-700, .text-emerald-500, .text-emerald-600, .text-\[\#28A745\], .text-\[\#28a745\]) { color: #176d33; }
:is(.medio-shell main, .medio-page .cq-tool) :is(.text-\[\#826e57\], .text-\[\#826E57\]) { color: #6b5a46; }
:is(.medio-shell main, .medio-page .cq-tool) :is(.text-\[\#488a81\], .text-\[\#488A81\], .text-\[\#397461\]) { color: #2f6152; }
:is(.medio-shell main, .medio-page .cq-tool) :is(.text-\[\#a26477\], .text-\[\#A26477\]) { color: #8a4d61; }
:is(.medio-shell main, .medio-page .cq-tool) button[class*="bg-primary"]:not([class*="bg-primary/"]) :is(.text-gray-400, .text-gray-500, .text-gray-600, .text-neutral-500, .text-neutral-600) { color: #dbe7f0; }
:is(.medio-shell main, .medio-page .cq-tool) :is([class*="bg-[#4A90E2]"], [class*="bg-[#4a90e2]"]) { background-color: #0b63c4; }

/* ===================== Visual finishing pass (2026-11-27) =====================
   One publication across ~450 pages: shared fixes first, then the text-led treatments. */

.cq-upcoming { margin: 0 0 28px; }
.cq-upcoming .tool-card a { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .nota-aside {
    position: sticky;
    top: calc(var(--hdr, 128px) + 20px);
    align-self: start;
    box-sizing: border-box;
    width: auto;
    max-height: calc(100dvh - var(--hdr, 128px) - 40px);
    overflow-y: auto;
    scrollbar-width: none; /* scrolls with the wheel; no second scrollbar next to the page's */
  }
  .nota-aside::-webkit-scrollbar { display: none; }
}

/* Header menus (the link strip under the header is gone; every Consultas link lives here).
   Grouped panels; below 1024 px a panel spans the header width under it, so none leaves the screen. */
.cq-dd a { display: flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; }
.cq-dd a[aria-current="page"], .cq-mmenu a[aria-current="page"] { color: var(--eu-blue); font-weight: 700; }
.cq-dd__h { margin: 6px 16px 2px; font: 700 11px/16px var(--ui-font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--eu-gray); }
.cq-dd { min-width: 260px; }
/* The section row keeps one line from 1024 px: the print-edition badge returns at 1280 px */
@media (max-width: 1279px) { .cq-edicion { display: none; } }
@media (min-width: 640px) {
  .cq-dd--wide:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); column-gap: 8px; min-width: 480px; }
}
@media (max-width: 1023px) {
  .cq-dd-wrap { position: static; }
  .cq-dd { left: 8px; right: 8px; min-width: 0; max-height: calc(100vh - var(--hdr, 103px) - 8px); overflow-y: auto; }
}
/* Mobile menu: one accordion per header menu */
.cq-mmenu__top { margin-top: 8px; }
.cq-acc { border-bottom: 1px solid #e5e7eb; }
.cq-acc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font: 700 16px/20px var(--ui-font); color: #111; cursor: pointer; list-style: none; }
.cq-acc > summary::-webkit-details-marker { display: none; }
.cq-acc > summary .chev { width: 16px; height: 16px; flex: none; color: var(--eu-blue); }
.cq-acc[open] > summary .chev { transform: rotate(180deg); }
.cq-acc[open] { padding-bottom: 12px; }
.cq-acc .tk-label { margin: 6px 0 2px; }
.cq-acc__all { margin: 0; }
.cq-acc__all a { display: flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--eu-blue); }
/* «Respuesta rápida» reads as the blog's tip blockquote (band, 4 px blue rule, body type) with a
   sentence-case lead-in, not as a technical card with an uppercase label */
.medio-page .prose-eu .tk-answer { padding: 16px 20px 18px; }
.medio-page .prose-eu .tk-answer > .tk-label { font-size: 16px; line-height: 22px; letter-spacing: 0; text-transform: none; color: var(--eu-blue); margin: 0; }
.medio-page .prose-eu .tk-answer > p:not(.tk-label) { margin: 6px 0 0; }
.medio-page .prose-eu .tk-answer a { font-weight: 600; }
/* Links inside method boxes and data blocks read as links, as in the body */
.medio-page .prose-eu :is(.tk-method, .dt) a:not([class]) { color: var(--eu-link); text-decoration: underline; text-underline-offset: 2px; }
/* Touch tap targets up to tablet width (qa-mobile.mjs): stand-alone links reach 44 px. The footer and
   the credit line are the shared El Universal markup; only this staging sheet resizes them. */
.medio-page .prose-eu .tk-method p > a:only-child:not([class]) { display: inline-block; padding: 12px 0; }
.story-card a { min-height: 44px; }
.medio-page .tk-sources a { overflow-wrap: anywhere; }
@media (max-width: 1023px) {
  :is(.medio-shell main, .medio-page .cq-tool) a[class*="bg-"]:is(.block, [class*="inline-"], [class*="flex"]):not([class*="bg-white"]):not([class*="bg-gray"]) { min-height: 44px; }
  footer a { display: inline-flex; align-items: center; min-height: 44px; }
  footer ul[class*="space-y"] > li + li { margin-top: 0; }
  footer a[class*="w-5"][class*="h-5"], footer a:has(> img) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  a.inline-flex[href^="https://ciade.ai/"] { min-height: 44px; }
}
/* Footer column heads («SUPLEMENTOS» ran into «VERTICALES» and «REDES SOCIALES»): one size that fits
   the shared footer's columns at every width */
footer h3 { font-size: 18px !important; line-height: 24px; overflow-wrap: anywhere; }
/* Long URLs and hosts set in code never widen the column */
.medio-page .prose-eu :is(code, kbd) { overflow-wrap: anywhere; }
/* Author box without a portrait: the text takes the whole row */
.tk-authors li:not(:has(> img)) { grid-template-columns: minmax(0, 1fr); }
/* Story aside «Lo último»: kicker on its own line, as on the front */
.aside-list .k { display: block; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--eu-blue); margin-bottom: 4px; }
.aside-list .t { display: block; }
/* Front «Lo último»: Consultas lists dates (DD/MM/AAAA), not the reference's HH:MM, so the date
   goes under the title instead of a 62 px column it cannot fit */
.sf-last > ul a { display: block; padding: 12px 0; }
.sf-last > ul .eu-time { margin-top: 6px; padding-top: 0; }

/* Text-led opening. Most new guides have no photo, so the front keeps the reference's divider hero
   as a solid section-blue band (same type, no image slot) and a lead without photo spans the story
   columns, with the secondaries side by side below it, as a newspaper text lead. */
.sf-hero--text { background: var(--eu-blue); }
.sf-hero--text .sf-hero__txt { position: static; background: none; padding: 30px 18px 28px; }
.sf-hero--text .sf-hero__t { text-shadow: none; max-width: 22em; }
.sf-hero--text .sf-hero__s { display: block; font-size: 17px; line-height: 23px; margin-top: 12px; }
.sf-hero--text .sf-hero__m { margin-top: 14px; }
.sf-hero--text:focus-visible { outline-offset: 3px; }
@media (min-width: 768px) {
  .sf-hero--text .sf-hero__txt { padding: 52px 100px 48px; }
  .sf-hero--text .sf-hero__s { font-size: 18px; line-height: 24px; }
}
.story-lead--text a { border-top: 4px solid var(--eu-blue); padding-top: 12px; }
.story-lead--text .t { max-width: 20em; }
.story-lead--text .s { max-width: 36em; }
@media (min-width: 768px) {
  .sf-open--textlead > .story-lead { grid-column: 1 / -1; }
  .sf-open--textlead > .story-secs { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (min-width: 1024px) {
  .sf-open--textlead > .story-lead, .sf-open--textlead > .story-secs { grid-column: 1 / 3; }
  /* «Lo último» spans the three story rows; its extra height goes to the last row, not between them */
  .sf-open--textlead:not(.sf-open--c) { grid-template-rows: auto auto 1fr; }
  .sf-open--textlead:not(.sf-open--c) > .sf-last { grid-row: 1 / span 3; }
  .sf-open--c.sf-open--textlead { grid-template-rows: auto 1fr; }
  .sf-open--c.sf-open--textlead > .sf-last { grid-row: 1 / span 2; }
}
/* Institution logos (logos.ts): fixed 64×36 px box beside the name (wordmarks need the width); initial-letter chip until a file exists */
.dt-ent:has(> .dt-logo) { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; align-items: start; }
/* In tables the name track keeps a real minimum (minmax(0, …) let the cell's minimum fall to the logo alone) */
.dt-t .dt-ent:has(> .dt-logo) { grid-template-columns: 64px minmax(7em, 1fr); }
/* Narrow blocks: a smaller logo beside the name; on the narrowest, the logo sits above it */
@container (max-width: 459px) { .dt-t .dt-ent:has(> .dt-logo) { grid-template-columns: 48px minmax(6em, 1fr); column-gap: 10px; } .dt-t .dt-logo { width: 48px; height: 28px; padding: 2px 4px; } }
@container (max-width: 339px) { .dt-t .dt-ent:has(> .dt-logo) { grid-template-columns: minmax(6em, 1fr); row-gap: 6px; } }
.dt-logo { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 36px; padding: 3px 5px; overflow: hidden; background: #fff; border: 1px solid var(--eu-rule-soft); }
.dt-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dt-logo--initial { border-color: #cfd6d9; border-radius: 0; color: #4b5563; font-family: var(--ui-font); font-size: 13px; line-height: 1; font-weight: 700; }
.dt-t .dt-logo { margin-top: -4px; }
.cq-card .dt-ent .dt-logo { margin-top: 2px; }
/* Row line of official-data tables and cards (datasets.ts `detail` and `link`) */
.dt-line a { color: var(--eu-link); text-decoration: underline; text-underline-offset: 2px; }
/* The row's official link is its own 44 px target (it is not inside a sentence) */
.dt-sub.dt-line a { display: inline-block; max-width: 100%; padding: 12px 0; line-height: 20px; vertical-align: middle; overflow-wrap: anywhere; }

.cq-card p.dt-line { margin: 10px 0 0; font-size: 14px; line-height: 20px; font-weight: 400; color: #4b5563; }
.cq-card p.dt-line a { display: inline-block; max-width: 100%; padding: 12px 0; overflow-wrap: anywhere; }
/* Key figures beside a table (Afore pages): the front calculator's result language,
   band + 4 px blue rule + large blue figure */
.dt-stats { display: grid; gap: 12px 16px; margin: 0 0 20px; }
@media (min-width: 560px) { .dt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dt-stats > div { background: var(--eu-band); border-left: 4px solid var(--eu-blue); padding: 12px 16px 14px; }
.dt-stats dt { font-family: var(--ui-font); font-size: 14px; line-height: 20px; color: #333; }
.dt-stats dd { margin: 0; }
.dt-stats dd:not(.dt-src) { font-family: var(--ui-font); font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -0.02em; color: var(--eu-blue); font-variant-numeric: tabular-nums; }
.dt-stats .dt-src { margin: 4px 0 0; }
.cq-actions .tk-cta { white-space: normal; text-align: center; }
.medio-page .prose-eu .cq-actions { margin: 4px 0 28px; }
/* Several card grids in one block (text-led first, photo cards after) */
.sf-cards + .sf-cards { margin-top: 28px; }

/* Front calculator: the band is the tool, so the inner box loses the story-tool border; the result
   shows a prompt (muted, smaller) until there is a figure */
.cq-calc > .cq-calc__q.cq-tool { border: 0; padding: 0; margin: 0; }
.cq-calc__r b.is-empty { font-size: 22px; line-height: 28px; font-weight: 600; color: var(--eu-gray); letter-spacing: 0; margin: 6px 0 4px; }
/* Source lines under front cards and agenda items: one wrapping line, not a flex row of fragments */
.story-meta.cq-src { display: block; }
.cq-agenda .cq-src a { display: inline; }
.cq-agenda li { align-items: start; }
.cq-agenda .d { margin-top: 2px; }

/* Medio-only heading scale overrides. Production keeps global.css byte-for-byte with master;
   this staging-only sheet restores the approved ported scale over master's !important rules. */
html.medio-page .nota-h1 { font-size: 28px !important; }
html.medio-page .prose-eu h2 { font-size: 27px !important; }
html.medio-page .prose-eu h3 { font-size: 21px !important; }
html.medio-page .sf-hero__t { font-size: 28px !important; }
html.medio-page .story-lead .t { font-size: 28px !important; }
html.medio-page .story-sec .t { font-size: 20px !important; }
html.medio-page .story-row .t { font-size: 18px !important; }
html.medio-page .story-card .t { font-size: 18px !important; }
html.medio-page .sf-last__h { font-size: 28px !important; }
html.medio-page .sf-h h2 { font-size: 26px !important; }
html.medio-page .sf-h--thin h2 { font-size: 22px !important; }
html.medio-page .sf-pb h2 { font-size: 19px !important; }
html.medio-page .sf-about h2 { font-size: 22px !important; }
html.medio-page .tk-method h2 { font-size: 22px !important; }
html.medio-page .prose-eu .tk-rank h3 { font-size: 24px !important; }
html.medio-page .aside-h { font-size: 22px !important; }
html.medio-page .eu-more-h { font-size: 20px !important; }
html.medio-page .cq-card h3 { font-size: 20px !important; }
@media (max-width: 767px) {
  html.medio-page .story-sec .t { font-size: 18px !important; }
}
@media (min-width: 768px) {
  html.medio-page .nota-h1 { font-size: 42px !important; }
  html.medio-page .sf-hero__t { font-size: 44px !important; }
  html.medio-page .story-lead .t { font-size: 36px !important; }
  html.medio-page .story-row .t { font-size: 20px !important; }
  html.medio-page .sf-h h2 { font-size: 30px !important; }
  html.medio-page .sf-h--thin h2 { font-size: 22px !important; }
  html.medio-page .eu-more-h { font-size: 24px !important; }
}
@media (min-width: 1024px) {
  html.medio-page .story-row .t { font-size: 18px !important; }
}
@media (min-width: 1100px) {
  html.medio-page .sf-hero__t { font-size: 52px !important; }
  html.medio-page .story-lead .t { font-size: 40px !important; }
}

/* Long ranking tables: first ten rows, then a «ver todos» button (medio.js adds .dt-clip only when JS runs) */
.dt-clip tbody[data-dataset-body]:not(.dt-apart) > tr[data-dataset-item]:nth-child(n+11) { display: none; }
.dt-clip tbody.dt-apart { display: none; }
.dt-more-btn { display: block; width: 100%; min-height: 48px; margin: 12px 0 0; border: 1px solid var(--eu-blue); background: #fff; color: var(--eu-blue); font-family: var(--ui-font); font-size: 15px; font-weight: 700; cursor: pointer; }
.dt-more-btn:hover, .dt-more-btn:focus-visible { background: var(--eu-blue); color: #fff; }

/* «Más historias» has no ad column: two columns on desktop. */
@media (min-width: 1024px) {
  .sf-open--c {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  }
}

/* Grid children may shrink below their content: a cover that fails to load (width="1400") no longer widens the page. */
.sf-open > *,
.story-secs > *,
.sf-list > *,
.sf-cards > * {
  min-width: 0;
}
@media (max-width: 767.98px) {
  .sf-open {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* <<< generated */

/* Emails and urls written as link text wrap on narrow screens */
.prose-eu a { overflow-wrap: anywhere; }

/* Related links without a picture use the full width; a section header wraps instead of breaking a word */
.more-item a:not(:has(img)) { grid-template-columns: 1fr; }
.more-item a:not(:has(img)) .t { margin-top: 0; }
.sf-h { flex-wrap: wrap; }
