/* Bloque "Siguiente caso" para páginas que no usan caso-destacado.css (Labtesa, HM).
   Copia de las reglas .cd-next* de caso-destacado.css: si se cambian allá, actualizar acá. */
.cd-next { display: block; position: relative; border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; color: inherit; text-decoration: none; }
.cd-next .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.cd-next .wrap > div { min-width: 0; }
.cd-next-k { color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cd-next-name { display: block; margin-top: 12px; color: #fff; font-size: clamp(34px, 3.8vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; overflow-wrap: anywhere; }
.cd-next-name i { display: inline-block; margin-left: .25em; vertical-align: baseline; font-style: normal; font-weight: 400; color: var(--dim); transition: transform .4s, color .4s; }
.cd-nw { white-space: nowrap; }
.cd-next-list { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 28px; margin: 26px 0 0; padding: 0; list-style: none; }
.cd-next-list li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15.5px; font-weight: 600; }
.cd-next-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(0,202,167,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300caa7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.cd-next-list li.is-more { color: var(--dim); font-weight: 500; }
.cd-next-list li.is-more::before { background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaaaaa' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 11px no-repeat; }
.cd-next-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; color: #00caa7; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.cd-next-cta i { font-style: normal; transition: transform .35s; }
.cd-next-img { aspect-ratio: 1300 / 731; border-radius: 18px; overflow: hidden; background: var(--bg-card); }
.cd-next-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (min-width: 981px) {
  .cd-next:hover .cd-next-name i { color: #fff; transform: translateX(10px); }
  .cd-next:hover .cd-next-img img { transform: scale(1.04); }
  .cd-next:hover .cd-next-cta i { transform: translateX(6px); }
}
@media (max-width: 980px) { .cd-next .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; } }
@media (max-width: 560px) { .cd-next-list { grid-template-columns: 1fr; } }

/* Teléfonos muy angostos: el nombre del siguiente caso (nowrap + flecha) no debe pasarse de la columna */
@media (max-width: 380px) { .cd-next-name { font-size: 29px; } }
