/* REF: UI-005 - Portada del blog Vapeteca - 05/10/2026
 * Implementa "Vapeteca – Artículo ideal" (PDF de diseño, escritorio + móvil).
 * Estilos de los patrones patterns/vapeteca-*.php. Solo clases propias vs-vt-*;
 * el marcado lo genera el núcleo de WordPress (Query Loop, Buscar, Botones…).
 *
 * Valores del diseño:
 *   rojo       #FF3232 (rojo de marca: textos, botones y hover; pedido 06/10/2026)
 *   oscuro     #1A1A1A cabecera · #111111 promo
 *   grises     #F4F4F4 caja "Empieza aquí" · #ECECEC fondo de imagen
 *   tipografía Nunito en todo, como el resto del sitio (titulares 800; pedido 06/10/2026)
 *   ancho      1160px de contenido · radio 10px en imágenes y cajas
 */

.vs-vt-page {
  --vt-red: #ff3232;          /* rojo de marca, único en toda la Vapeteca */
  --vt-ink: #111111;
  --vt-text: #3d3d3d;
  --vt-muted: #6b6b6b;
  --vt-line: #e4e4e4;
  --vt-soft: #f4f4f4;
  --vt-img: #ececec;
  --vt-dark: #1a1a1a;
  --vt-radius: 10px;
  --vt-head: "Nunito", sans-serif;
  --vt-body: "Nunito", sans-serif;
  overflow-x: clip;
}

/* --- base: neutraliza estilos de Porto dentro de las secciones --------------- */
.vs-vt,
.vs-vt * {
  box-sizing: border-box;
}
.vs-vt {
  font-family: var(--vt-body);
  color: var(--vt-text);
  font-size: 15px;
  line-height: 1.55;
}
.vs-vt :where(h1, h2, h3, p) {
  margin: 0;
  letter-spacing: normal;
  text-transform: none;
}
.vs-vt a {
  color: inherit;
  text-decoration: none;
}
.vs-vt a:focus-visible,
.vs-vt input:focus-visible,
.vs-vt select:focus-visible,
.vs-vt button:focus-visible {
  outline: 2px solid var(--vt-red);
  outline-offset: 2px;
}
.vs-vt-wrap {
  max-width: 1192px;
  margin-inline: auto;
  padding-inline: 16px;
}
/* En temas clásicos WordPress envuelve el contenido de cada Grupo en
 * .wp-block-group__inner-container; sin esto, flex y grid se aplicarían al
 * grupo y no a sus bloques. */
.vs-vt .wp-block-group__inner-container {
  display: contents;
}
/* Bandas a sangre aunque el contenedor de Porto tenga ancho limitado. */
.vs-vt-hero,
.vs-vt-filtros,
.vs-vt-aviso {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.vs-vt-sec {
  margin-block: 0 56px;
}

/* Porto deja margen y título encima del contenido de la página. */
.vs-vt-page #main .page-content > .vs-vt-hero:first-child {
  margin-top: 0;
}
.vs-vt-page .page-top {
  display: none;
}
.vs-vt-page #main > .container,
.vs-vt-page #content {
  padding-top: 0;
}

/* --- titulares comunes -------------------------------------------------------- */
.vs-vt .vs-vt-h2 {
  font-family: var(--vt-head);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.2;
  color: var(--vt-ink);
}
.vs-vt .vs-vt-eyebrow {
  font-family: var(--vt-head);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vt-red);
  margin-bottom: 6px;
}
.vs-vt .vs-vt-eyebrow--dark {
  color: var(--vt-red);
}
.vs-vt .vs-vt-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--vt-ink);
}
.vs-vt .vs-vt-head__sub {
  font-size: 13px;
  color: var(--vt-muted);
  margin-top: 4px;
}
.vs-vt .vs-vt-head__ver a {
  font-family: var(--vt-head);
  font-weight: 700;
  font-size: 12px;
  color: var(--vt-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* --- cabecera ---------------------------------------------------------------------- */
.vs-vt-hero {
  background: var(--vt-dark);
  color: #ffffff;
  padding-block: 56px 48px;
}
.vs-vt .vs-vt-hero__title {
  text-transform: uppercase; /* "VAPETECA" (pedido 07/10/2026) */
  font-family: var(--vt-head);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  color: #ffffff;
  margin: 4px 0 12px;
}
.vs-vt .vs-vt-hero__sub {
  font-size: 18px;
  color: #e6e6e6;
  max-width: 640px;
  margin-bottom: 24px;
}
.vs-vt-buscar {
  max-width: 480px;
  margin: 0;
}
.vs-vt-buscar .wp-block-search__inside-wrapper {
  position: relative;
  display: flex;
  border: 0;
  padding: 0;
  background: #ffffff;
  border-radius: 6px;
}
.vs-vt-buscar .wp-block-search__input {
  flex: 1;
  height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px 0 46px;
  font-family: var(--vt-body);
  font-size: 15px;
  color: var(--vt-ink);
  background: transparent;
  box-shadow: none;
}
.vs-vt-buscar .wp-block-search__input::placeholder {
  color: #767676;
}
/* La lupa del diseño va a la izquierda; sigue siendo el botón de enviar. */
.vs-vt-buscar .wp-block-search__button {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--vt-ink);
  display: grid;
  place-items: center;
}
.vs-vt-buscar .wp-block-search__button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- filtros ----------------------------------------------------------------------- */
.vs-vt-filtros {
  border-bottom: 1px solid var(--vt-line);
  padding-block: 16px;
  margin-bottom: 32px;
}
.vs-vt-filtros__row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.vs-vt .vs-vt-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
}
.vs-vt .vs-vt-chips .wp-block-button {
  margin: 0;
}
.vs-vt .vs-vt-chips .wp-block-button__link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  background: #ffffff;
  color: var(--vt-ink);
  font-family: var(--vt-body);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
}
.vs-vt .vs-vt-chips .wp-block-button__link:hover {
  border-color: var(--vt-red);
  color: var(--vt-red);
}
.vs-vt .vs-vt-chips .is-active .wp-block-button__link:hover {
  background: var(--vt-red);
  border-color: var(--vt-red);
  color: #ffffff;
}
.vs-vt .vs-vt-chips .is-active .wp-block-button__link {
  background: var(--vt-ink);
  border-color: var(--vt-ink);
  color: #ffffff;
}
.vs-vt .vs-vt-marcas {
  font-size: 12px;
  color: var(--vt-muted);
  padding-left: 16px;
  border-left: 1px solid var(--vt-line);
  white-space: nowrap;
}
.vs-vt .vs-vt-marcas a:hover,
.vs-vt .vs-vt-head__ver a:hover {
  color: var(--vt-red);
  text-decoration-thickness: 2px;
}
.vs-vt .vs-vt-marcas a {
  color: var(--vt-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 6px;
}

/* --- listas de entradas (Query Loop) --------------------------------------------- */
.vs-vt .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vs-vt .wp-block-post-template > li {
  margin: 0;
  padding: 0;
}
.vs-vt .vs-vt-card__img {
  margin: 0 0 12px;
  border-radius: var(--vt-radius);
  overflow: hidden;
  background: var(--vt-img);
}
.vs-vt .vs-vt-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
/* Sin zoom: escalar recortaría los bordes del banner. */
.vs-vt li:hover .vs-vt-card__img img {
  opacity: 0.88;
}
.vs-vt .vs-vt-card__title {
  font-family: var(--vt-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--vt-ink);
  margin-bottom: 6px;
}
.vs-vt .vs-vt-card__title a:hover {
  color: var(--vt-red);
}
.vs-vt .vs-vt-card__resumen {
  font-size: 13px;
  line-height: 1.5;
  color: var(--vt-text);
  margin-bottom: 8px;
}
.vs-vt .vs-vt-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--vt-muted);
}
.vs-vt .vs-vt-meta__min {
  font-size: 12px;
  color: var(--vt-muted);
}
.vs-vt .vs-vt-meta .vs-vt-meta__min::after {
  content: " ·";
}
.vs-vt .vs-vt-card__leer {
  font-weight: 800;
  color: var(--vt-ink);
}
.vs-vt .vs-vt-card__leer:hover {
  color: var(--vt-red);
}

/* destacado */
.vs-vt-destacados__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.vs-vt .vs-vt-principal .vs-vt-card__img {
  margin-bottom: 18px;
}
.vs-vt .vs-vt-card__title--xl {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}
.vs-vt .vs-vt-principal .vs-vt-card__resumen {
  font-size: 15px;
  max-width: 560px;
}
.vs-vt .vs-vt-laterales .wp-block-post-template {
  display: grid;
  gap: 20px;
}
.vs-vt .vs-vt-laterales li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.vs-vt .vs-vt-laterales .vs-vt-card__img {
  margin: 0;
}
.vs-vt .vs-vt-laterales .vs-vt-card__title {
  font-size: 15px;
  margin-bottom: 4px;
}

/* empieza aquí */
.vs-vt-empieza__box {
  background: var(--vt-soft);
  border-radius: 14px;
  padding: 32px;
}
.vs-vt .vs-vt-empieza__box .vs-vt-head__sub {
  margin-bottom: 20px;
}
.vs-vt .vs-vt-numerada .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: vt-num;
}
.vs-vt .vs-vt-numerada li {
  counter-increment: vt-num;
  background: #ffffff;
  border-radius: var(--vt-radius);
  padding: 20px;
}
.vs-vt .vs-vt-numerada li::before {
  content: counter(vt-num, decimal-leading-zero);
  display: block;
  font-family: var(--vt-head);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: var(--vt-red);
  margin-bottom: 14px;
}
.vs-vt .vs-vt-numerada .vs-vt-card__resumen {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* secciones por categoría */
.vs-vt .vs-vt-grid3 .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* promo */
.vs-vt-promo__box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--vt-ink);
  color: #ffffff;
  border-radius: 14px;
  padding: 32px 40px;
}
.vs-vt .vs-vt-promo__title {
  font-family: var(--vt-head);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 10px;
}
.vs-vt .vs-vt-promo__cond {
  font-size: 13px;
  color: #d6d6d6;
  margin-bottom: 18px;
}
.vs-vt .vs-vt-promo__img {
  margin: 0;
  border-radius: var(--vt-radius);
  overflow: hidden;
  background: #2a2a2a;
}
.vs-vt .vs-vt-promo__img a {
  display: block;
}
.vs-vt .vs-vt-promo__img img {
  display: block;
  width: 100%;
  height: auto;
}
.vs-vt .vs-vt-btn-rojo .wp-block-button__link {
  display: inline-block;
  background: var(--vt-red);
  color: #ffffff;
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  font-family: var(--vt-head);
  font-weight: 700;
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
}
.vs-vt .vs-vt-btn-rojo .wp-block-button__link {
  border: 2px solid var(--vt-red);
}
.vs-vt .vs-vt-btn-rojo .wp-block-button__link:hover {
  background: transparent;
  color: var(--vt-red);
}

/* lo más leído + boletín */
.vs-vt-leido__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.vs-vt .vs-vt-leido__lista .vs-vt-h2 {
  margin-bottom: 12px;
}
.vs-vt .vs-vt-ranking .wp-block-post-template {
  counter-reset: vt-rank;
}
.vs-vt .vs-vt-ranking li {
  counter-increment: vt-rank;
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding-block: 14px;
  border-bottom: 1px solid var(--vt-line);
}
.vs-vt .vs-vt-ranking li::before {
  content: counter(vt-rank);
  min-width: 14px;
  font-family: var(--vt-head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: #b5b5b5;
}
.vs-vt .vs-vt-ranking .vs-vt-card__title {
  font-size: 15px;
  margin: 0;
}
.vs-vt-boletin {
  border: 1px solid var(--vt-line);
  border-radius: 14px;
  padding: 24px;
}
.vs-vt .vs-vt-boletin__title {
  font-family: var(--vt-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--vt-ink);
  margin-bottom: 8px;
}
.vs-vt .vs-vt-boletin__sub {
  font-size: 13px;
  color: var(--vt-text);
  margin-bottom: 16px;
}
.vs-vt .vs-vt-boletin__form .mc4wp-form-fields p input[type="submit"] {
  position: static;
}
.vs-vt .vs-vt-boletin__form p {
  margin: 0 0 10px;
}
.vs-vt .vs-vt-boletin__label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--vt-ink);
  margin-bottom: 6px;
}
.vs-vt .vs-vt-boletin__form input[type="email"] {
  width: 100%;
  height: 44px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 0 12px;
  font-family: var(--vt-body);
  font-size: 14px;
  color: var(--vt-ink);
  background: #ffffff;
  box-shadow: none;
}
.vs-vt .vs-vt-boletin__form input[type="submit"] {
  /* el CSS global del boletín del pie lo pone absoluto dentro del campo */
  position: static;
  top: auto;
  right: auto;
  min-height: 0;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--vt-ink);
  color: #ffffff;
  font-family: var(--vt-head);
  font-weight: 700;
  font-size: 14px;
  text-transform: none;
  cursor: pointer;
}
.vs-vt .vs-vt-boletin__form input[type="submit"]:hover {
  background: var(--vt-red);
}
.vs-vt .vs-vt-boletin__legal {
  font-size: 11px;
  color: var(--vt-muted);
}

/* todos los artículos */
.vs-vt-todos {
  scroll-margin-top: 120px;
}
.vs-vt-todos .vs-vt-head {
  align-items: center;
}
.vs-vt .vs-vt-orden {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--vt-ink);
}
.vs-vt .vs-vt-orden label {
  margin: 0;
  font-weight: 400;
}
.vs-vt .vs-vt-orden select {
  height: 34px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 0 30px 0 10px;
  font-family: var(--vt-body);
  font-size: 13px;
  color: var(--vt-ink);
  background-color: #ffffff;
  background-position: right 8px center;
}
/* Sin JS se usa el botón; con JS el select recarga solo (ver vapeteca.js). */
.vs-vt .vs-vt-orden__ir {
  height: 34px;
  border: 1px solid var(--vt-ink);
  border-radius: 6px;
  background: #ffffff;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--vt-ink);
}
.vs-vt .vs-vt-orden__ir:hover {
  border-color: var(--vt-red);
  color: var(--vt-red);
}
.vs-vt-js .vs-vt-orden__ir {
  display: none;
}
.vs-vt .vs-vt-grid4 .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
}
.vs-vt .vs-vt-grid4 .vs-vt-card__img {
  margin-bottom: 10px;
}
.vs-vt .vs-vt-grid4 .vs-vt-eyebrow {
  font-size: 10px;
  margin-bottom: 4px;
}
.vs-vt .vs-vt-grid4 .vs-vt-card__title {
  font-size: 14px;
}
.vs-vt .vs-vt-mas {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.vs-vt .vs-vt-mas .wp-block-query-pagination-next {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid var(--vt-ink);
  border-radius: 6px;
  font-family: var(--vt-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--vt-ink);
  margin: 0;
}
.vs-vt .vs-vt-mas .wp-block-query-pagination-next:hover {
  background: var(--vt-red);
  border-color: var(--vt-red);
  color: #ffffff;
}
.vs-vt .vs-vt-mas.is-loading .wp-block-query-pagination-next {
  opacity: 0.5;
  pointer-events: none;
}

/* aviso legal */
.vs-vt-aviso {
  margin-top: 8px;
  padding-block: 20px 28px;
}
.vs-vt-aviso .vs-vt-wrap {
  border-top: 1px solid var(--vt-line);
  padding-top: 20px;
  font-size: 12px;
  color: var(--vt-muted);
}

/* --- listados: categorías, marcas y búsqueda (UI-007) ------------------------------- */
/* Franja "Blog Page Header" del Porto Builder (#3209): aquí la sustituye la cabecera de la Vapeteca. */
.vs-vt-page .porto-block:has(.page-top),
.vs-vt-page .porto-block[data-id="3209"] {
  display: none;
}
.vs-vt-listado {
  padding-bottom: 0;
}
.vs-vt .vs-vt-marcas a.is-active {
  color: var(--vt-red);
}
.vs-vt.vs-vt-res .vs-vt-head__sub {
  display: block;
}
.vs-vt .vs-vt-res__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 32px;
}
.vs-vt .vs-vt-res__item {
  margin: 0;
  padding: 0;
}
.vs-vt .vs-vt-res__item .vs-vt-card__img {
  display: block;
  aspect-ratio: 49 / 18;
  margin-bottom: 14px;
}
.vs-vt .vs-vt-res__item .vs-vt-card__title,
.vs-vt .vs-vt-res__item .vs-vt-card__title a {
  font-family: var(--vt-head);
  font-weight: 700;
  color: var(--vt-ink);
}
.vs-vt .vs-vt-res__item .vs-vt-card__title a:hover {
  color: var(--vt-red);
}
.vs-vt .vs-vt-res__item .vs-vt-card__title {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 8px;
}
.vs-vt .vs-vt-res__item .vs-vt-meta {
  margin: 0;
}
.vs-vt .vs-vt-res__leer {
  font-weight: 800;
  color: var(--vt-red);
}
.vs-vt .vs-vt-res__leer:hover {
  color: var(--vt-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vs-vt .vs-vt-res__vacio {
  padding: 40px 0;
  text-align: center;
  font-size: 15px;
}
.vs-vt .vs-vt-res__vacio a {
  color: var(--vt-red);
  font-weight: 700;
  text-decoration: underline;
}
/* paginación */
.vs-vt .vs-vt-paginas {
  margin-top: 36px;
}
.vs-vt .vs-vt-paginas .nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.vs-vt .vs-vt-paginas .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 9px 14px;
  border: 1.5px solid var(--vt-line);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  color: var(--vt-ink);
}
.vs-vt .vs-vt-paginas .page-numbers.current {
  background: var(--vt-ink);
  border-color: var(--vt-ink);
  color: #ffffff;
}
.vs-vt .vs-vt-paginas a.page-numbers:hover {
  border-color: var(--vt-red);
  color: var(--vt-red);
}
.vs-vt .vs-vt-paginas .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
/* publicaciones y comentarios recientes (antes en la barra lateral) */
.vs-vt-extra__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.vs-vt .vs-vt-extra__caja {
  border: 1px solid var(--vt-line);
  border-radius: 14px;
  padding: 24px;
}
.vs-vt .vs-vt-extra__title {
  font-family: var(--vt-head);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  color: var(--vt-ink);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--vt-ink);
}
/* Un CSS global traduce estos widgets con ::before ("Entradas Recientes"); aquí el título ya va en español. */
.vs-vt .vs-vt-extra__title::before,
.vs-vt .vs-vt-extra__title::after {
  content: none;
  display: none;
}
.vs-vt .vs-vt-extra__caja ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vs-vt .vs-vt-extra__caja li {
  margin: 0;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid var(--vt-line);
  position: relative;
  font-size: 14px;
  line-height: 1.45;
}
.vs-vt .vs-vt-extra__caja li:last-child {
  border-bottom: 0;
}
.vs-vt .vs-vt-extra__caja li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 9px;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  background: none;
  font-family: var(--vt-body);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--vt-red);
}
/* Porto anima la flecha de las listas de widgets en hover (navItemArrow) y la monta
   sobre el texto: aquí la flecha queda fija y el hover solo cambia el color del texto. */
.vs-vt .vs-vt-extra__caja li:hover::before {
  animation: none;
  transform: none;
  left: 0;
}
.vs-vt .vs-vt-extra__caja a {
  color: var(--vt-ink);
  font-weight: 700;
}
.vs-vt .vs-vt-extra__caja a:hover {
  color: var(--vt-red);
}

/* --- tablet ------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .vs-vt-destacados__grid,
  .vs-vt-leido__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vs-vt .vs-vt-grid4 .wp-block-post-template {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vs-vt-filtros__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .vs-vt .vs-vt-marcas {
    border-left: 0;
    padding-left: 0;
  }
}

/* --- móvil (páginas 4–7 del diseño) ------------------------------------------------ */
@media (max-width: 767px) {
  .vs-vt-sec {
    margin-bottom: 40px;
  }
  .vs-vt .vs-vt-res__lista,
  .vs-vt-extra__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vs-vt-res .vs-vt-head__ver {
    display: none;
  }
  .vs-vt-hero {
    padding-block: 32px 28px;
  }
  .vs-vt .vs-vt-hero__title {
    font-size: 40px;
  }
  .vs-vt .vs-vt-hero__sub {
    font-size: 16px;
    margin-bottom: 18px;
  }
  .vs-vt-buscar {
    max-width: none;
  }

  /* filtros y tarjetas por categoría: carrusel horizontal */
  .vs-vt-filtros {
    padding-block: 12px;
    margin-bottom: 24px;
  }
  .vs-vt-filtros__row,
  .vs-vt .vs-vt-grid3 .wp-block-post-template {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .vs-vt-filtros__row::-webkit-scrollbar,
  .vs-vt .vs-vt-grid3 .wp-block-post-template::-webkit-scrollbar {
    display: none;
  }
  .vs-vt-filtros__row {
    flex-direction: row;
    align-items: center;
  }
  .vs-vt .vs-vt-chips .wp-block-button__link {
    padding: 10px 18px;
    font-size: 14px;
  }
  .vs-vt .vs-vt-marcas {
    border-left: 1px solid var(--vt-line);
    padding-left: 16px;
  }
  .vs-vt .vs-vt-grid3 .wp-block-post-template {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 16px;
  }
  .vs-vt .vs-vt-grid3 li {
    scroll-snap-align: start;
  }
  .vs-vt .vs-vt-head__sub {
    display: none;
  }
  .vs-vt .vs-vt-h2 {
    font-size: 22px;
  }

  /* destacado: solo la principal, sin resumen */
  .vs-vt .vs-vt-laterales {
    display: none;
  }
  .vs-vt .vs-vt-card__title--xl {
    font-size: 24px;
  }
  .vs-vt .vs-vt-principal .vs-vt-card__resumen,
  .vs-vt .vs-vt-principal .vs-vt-card__leer,
  .vs-vt .vs-vt-principal .vs-vt-meta .vs-vt-meta__min::after {
    display: none;
    content: none;
  }

  /* empieza aquí: número y título en línea */
  .vs-vt-empieza__box {
    padding: 22px 18px;
  }
  .vs-vt .vs-vt-empieza__box .vs-vt-head__sub {
    display: none;
  }
  .vs-vt .vs-vt-empieza__box .vs-vt-h2 {
    margin-bottom: 16px;
  }
  .vs-vt .vs-vt-numerada .wp-block-post-template {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .vs-vt .vs-vt-numerada li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
  }
  .vs-vt .vs-vt-numerada li::before {
    font-size: 22px;
    margin: 0;
  }
  .vs-vt .vs-vt-numerada .vs-vt-card__title {
    margin: 0;
    font-size: 15px;
  }
  .vs-vt .vs-vt-numerada .vs-vt-card__resumen {
    display: none;
  }

  /* lo más leído: top 3 */
  .vs-vt .vs-vt-ranking li:nth-child(n + 4) {
    display: none;
  }

  /* promo: sin imagen, botón a todo el ancho */
  .vs-vt-promo__box {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 20px;
  }
  .vs-vt .vs-vt-promo__img,
  .vs-vt .vs-vt-promo__cond {
    display: none;
  }
  .vs-vt .vs-vt-promo__title {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .vs-vt .vs-vt-btn-rojo,
  .vs-vt .vs-vt-btn-rojo .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

  .vs-vt-todos .vs-vt-head {
    flex-wrap: wrap;
  }
  .vs-vt .vs-vt-grid4 .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vs-vt .vs-vt-card__img img {
    transition: none;
  }
}
