/* ==========================================================================
   DISEÑOS DE CONTENIDO
   ==========================================================================

   Antes cada template emitia su propio bloque <style> con el contenido_id
   interpolado en cada selector. Una home con 20 tarjetas del diseño 7 mandaba
   20 bloques de ~100 lineas de CSS practicamente identico dentro del HTML.

   Aca el CSS es estatico y cachea. Lo unico que varia por contenido viaja como
   custom property en el atributo style del elemento raiz:

       <div class="dsn dsn7" style="--dsn-overlay: #003366">

   Variables que consume cada diseño (todas opcionales, todas con fallback):

       --dsn-accent    color de acento: barras, botones, iconos, numeros
       --dsn-bg        color de fondo de la caja
       --dsn-bg-image  imagen de fondo, ya en formato url(...)
       --dsn-overlay   color del velo sobre la imagen (diseño 7)

   ========================================================================== */

:root {
  --dsn-radio: 14px;
}

/* Caja base compartida por todos los diseños */
.dsn {
  position: relative;
  height: 100%;
}

/* Utilidad: recorte de texto a N lineas */
.dsn-clamp-2,
.dsn-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dsn-clamp-2 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.dsn-clamp-3 {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}


/* ==========================================================================
   CONTENEDOR DE SECCION
   ========================================================================== */

.contenedor-seccion {
  position: relative;
  background-color: var(--dsn-bg, transparent);
  background-image: var(--dsn-bg-image, none);
  background-size: cover;
  background-position: center;
  padding: 48px 0;
}

/* Fondo dinamico: se mantiene fijo al hacer scroll */
.contenedor-seccion.dinamica {
  background-attachment: fixed;
}

@media (max-width: 768px) {

  /* background-attachment: fixed no funciona en la mayoria de los moviles y
     ademas rompe la altura del fondo en iOS. */
  .contenedor-seccion.dinamica {
    background-attachment: scroll;
  }
}

.contenedor-seccion .descripcion-seccion {
  margin-bottom: 18px;
}


/* ==========================================================================
   DISEÑO 1 y 2 — Texto con imagen lateral
   ========================================================================== */

.design-one,
.design-two {
  background-color: var(--dsn-bg, transparent);
  border-radius: var(--dsn-radio);
  padding: 20px;
}

.design-one .imagen-lateral img,
.design-two .imagen-lateral img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.design-one .archivo,
.design-two .archivo,
.design-four .archivo {
  margin: 14px 0;
  text-align: center;
}


/* ==========================================================================
   DISEÑO 3 — Imagen arriba, texto abajo
   ========================================================================== */

.design-three {
  background-color: var(--dsn-bg, transparent);
}

.design-three .imagen-contenido img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Variante con borde: la imagen debe quedar recortada por el radio */
.design-three.dsn-borde,
.design-four.dsn-borde,
.design-five.dsn-borde {
  border: 2px solid var(--dsn-accent, var(--color-acento, #4f46e5));
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
}

.design-three.dsn-borde .descripcion,
.design-four.dsn-borde .descripcion {
  padding: 10px;
}


/* ==========================================================================
   DISEÑO 4 — Tarjeta clicable completa
   ========================================================================== */

.design-four {
  background-color: var(--dsn-bg, transparent);
  padding: 0;
}

.design-four .dsn4-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.design-four .dsn4-link:hover {
  text-decoration: none;
}

.design-four .imagen-contenido img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ==========================================================================
   DISEÑO 5 — Caja con imagen de fondo
   ========================================================================== */

.design-five .dsn5-inner {
  background-color: var(--dsn-bg, transparent);
  background-image: var(--dsn-bg-image, none);
  background-size: cover;
  background-position: center;
  padding: 1rem;
}

.design-five .dsn5-panel {
  background: rgba(255, 255, 255, .9);
  padding: 16px;
  border-radius: 8px;
}

.design-five img {
  max-width: 100%;
  height: auto;
}


/* ==========================================================================
   DISEÑO 6 — Boton que abre modal
   ========================================================================== */

.design-six {
  background-color: var(--dsn-bg, transparent);
  border-radius: var(--dsn-radio);
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.design-six.dsn-borde {
  border: 2px solid var(--dsn-accent, var(--color-acento, #4f46e5));
  border-radius: 20px;
}

.design-six .dsn6-trigger {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.design-six .dsn6-trigger h2 {
  margin: 0;
}

.dsn6-modal .modal-content {
  background-color: #2f5b95;
  color: #fff;
}

.dsn6-modal .modal-header {
  border: 0;
}

.dsn6-modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.dsn6-modal .imagen-contenido img {
  max-width: 100%;
  height: auto;
  margin-top: 12px;
}


/* ==========================================================================
   DISEÑO 7 — Hero con Overlay
   ========================================================================== */

.dsn7 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  border-radius: var(--dsn-radio);
  overflow: hidden;
  background: #1a1a2e;
  transition: box-shadow .4s ease;
}

.dsn7:hover {
  box-shadow: 0 28px 72px rgba(0, 0, 0, .28);
}

.dsn7-bg {
  position: absolute;
  inset: 0;
  background-image: var(--dsn-bg-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform .65s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}

.dsn7:hover .dsn7-bg {
  transform: scale(1.07);
}

.dsn7-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      var(--dsn-overlay, rgba(0, 0, 0, .58)) 0%,
      rgba(0, 0, 0, .22) 55%,
      rgba(0, 0, 0, .04) 100%);
  transition: opacity .4s ease;
}

.dsn7:hover .dsn7-overlay {
  opacity: .9;
}

.dsn7-body {
  position: relative;
  padding: 0 28px 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dsn7-title {
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.22;
  margin: 0;
  letter-spacing: -.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.dsn7-desc {
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
  margin: 0;
}

.dsn7-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .48);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 30px;
  text-decoration: none;
  transition: background .22s ease, border-color .22s ease, gap .22s ease;
  margin-top: 4px;
}

.dsn7-cta:hover {
  background: rgba(255, 255, 255, .28);
  border-color: rgba(255, 255, 255, .82);
  color: #fff;
  text-decoration: none;
  gap: 12px;
}

@media (max-width: 576px) {
  .dsn7 {
    min-height: 300px;
  }

  .dsn7-body {
    padding: 0 20px 24px;
  }
}


/* ==========================================================================
   DISEÑO 8 — Split Media
   ========================================================================== */

.dsn8 {
  display: flex;
  min-height: 280px;
  overflow: hidden;
  background: #fff;
}

.dsn8.dsn-borde {
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: var(--dsn-radio);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .09);
}

.dsn8-img {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  background: #e9ecef;
  min-height: 220px;
}

.dsn8-img-inner {
  position: absolute;
  inset: 0;
  background-image: var(--dsn-bg-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform .55s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}

.dsn8:hover .dsn8-img-inner {
  transform: scale(1.06);
}

.dsn8-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  gap: 12px;
  min-width: 0;
}

.dsn8-accent {
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  margin-bottom: 2px;
}

.dsn8-title {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-texto, #1f2a37);
  margin: 0;
  letter-spacing: -.01em;
}

.dsn8-desc {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--color-texto-suave, #555);
  margin: 0;
}

.dsn8-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.dsn8-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
  text-decoration: none;
  font-weight: 600;
  transition: opacity .2s ease;
}

.dsn8-dl:hover {
  opacity: .75;
  text-decoration: none;
}

.dsn8-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 30px;
  text-decoration: none;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: opacity .22s ease, gap .22s ease;
}

.dsn8-cta:hover {
  opacity: .85;
  color: #fff;
  text-decoration: none;
  gap: 10px;
}

@media (max-width: 640px) {
  .dsn8 {
    flex-direction: column;
  }

  .dsn8-img {
    flex: 0 0 210px;
    min-height: 210px;
  }

  .dsn8-body {
    padding: 24px 20px;
  }
}


/* ==========================================================================
   DISEÑO 9 — Card Blog / Noticia
   ========================================================================== */

.dsn9 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
  transition: box-shadow .3s ease, transform .3s ease;
}

.dsn9.dsn-borde {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
}

.dsn9:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, .15);
  transform: translateY(-5px);
}

.dsn9-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9ecef;
  flex-shrink: 0;
}

.dsn9-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}

.dsn9:hover .dsn9-img {
  transform: scale(1.07);
}

.dsn9-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 2.5rem;
  background: #f0f2f5;
}

.dsn9-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
}

.dsn9-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  gap: 8px;
}

.dsn9-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-texto, #1f2a37);
  margin: 0;
}

.dsn9-desc {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--color-texto-suave, #666);
  margin: 0;
  flex: 1;
}

.dsn9-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.dsn9-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--color-texto-suave, #666);
  text-decoration: none;
  transition: color .2s ease;
}

.dsn9-dl:hover {
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
  text-decoration: none;
}

.dsn9-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
  text-decoration: none;
  letter-spacing: .02em;
  transition: gap .22s ease, opacity .22s ease;
}

.dsn9-cta:hover {
  opacity: .8;
  gap: 9px;
  text-decoration: none;
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
}


/* ==========================================================================
   DISEÑO 10 — Testimonial / Quote
   ========================================================================== */

.dsn10 {
  background: #fff;
  border-radius: var(--dsn-radio);
  padding: 32px 30px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow .3s ease, transform .3s ease;
}

.dsn10:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
  transform: translateY(-3px);
}

/* Variante oscura */
.dsn10.dsn10-dark {
  background: #1f2a37;
}

.dsn10-qmark {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 1;
  color: rgba(79, 70, 229, .07);
  pointer-events: none;
  user-select: none;
}

.dsn10-dark .dsn10-qmark {
  color: rgba(255, 255, 255, .08);
}

.dsn10-stars {
  display: flex;
  gap: 2px;
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
  font-size: 1rem;
}

.dsn10-star-empty {
  color: #ddd;
}

.dsn10-dark .dsn10-star-empty {
  color: rgba(255, 255, 255, .2);
}

.dsn10-text {
  position: relative;
  font-size: .95rem;
  font-style: italic;
  color: var(--color-texto-suave, #444);
  line-height: 1.75;
  margin: 0;
}

.dsn10-dark .dsn10-text {
  color: rgba(255, 255, 255, .88);
}

.dsn10-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .07);
}

.dsn10-dark .dsn10-author {
  border-top-color: rgba(255, 255, 255, .1);
}

.dsn10-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--dsn-accent, var(--color-acento, #4f46e5));
  flex-shrink: 0;
}

.dsn10-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.dsn10-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dsn10-sep {
  width: 28px;
  height: 2.5px;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  border-radius: 2px;
  margin-bottom: 4px;
}

.dsn10-name {
  font-weight: 800;
  font-size: .92rem;
  color: var(--color-texto, #1f2a37);
  margin: 0;
}

.dsn10-dark .dsn10-name {
  color: #fff;
}

.dsn10-role {
  font-size: .78rem;
  color: #888;
  margin: 0;
}

.dsn10-dark .dsn10-role {
  color: rgba(255, 255, 255, .5);
}


/* ==========================================================================
   DISEÑO 11 — Numero / Estadistica
   ========================================================================== */

.dsn11 {
  background: #fff;
  border-radius: 16px;
  padding: 40px 28px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease;
}

.dsn11.dsn-borde {
  background: linear-gradient(145deg, #f8f9ff 0%, #fff 100%);
}

.dsn11:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
  transform: translateY(-4px);
  text-decoration: none;
}

/* Circulos decorativos de fondo */
.dsn11::before,
.dsn11::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  pointer-events: none;
}

.dsn11::before {
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  opacity: .05;
}

.dsn11::after {
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  opacity: .04;
}

.dsn11-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
  position: relative;
}

.dsn11-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.dsn11-accent-top {
  width: 44px;
  height: 4px;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  border-radius: 2px;
  position: relative;
}

.dsn11-number {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
  letter-spacing: -.03em;
  position: relative;
  font-variant-numeric: tabular-nums;
}

.dsn11-label {
  font-size: .92rem;
  color: var(--color-texto-suave, #666);
  line-height: 1.5;
  margin: 4px 0 0;
  position: relative;
}

.dsn11-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
  text-decoration: none;
  letter-spacing: .03em;
  position: relative;
  transition: gap .2s ease, opacity .2s ease;
}

.dsn11-cta:hover {
  opacity: .75;
  gap: 9px;
  text-decoration: none;
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
}


/* ==========================================================================
   DISEÑO 12 — Feature con Barra
   ========================================================================== */

.dsn12 {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}

.dsn12:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
  transform: translateY(-3px);
}

.dsn12-bar {
  flex: 0 0 4px;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  transition: flex-basis .25s ease;
}

.dsn12:hover .dsn12-bar {
  flex-basis: 6px;
}

.dsn12-inner {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 22px 20px;
  min-width: 0;
}

.dsn12-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dsn12-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.dsn12-step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}

.dsn12-bullet {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dsn-accent, var(--color-acento, #4f46e5));
  margin-top: 7px;
}

.dsn12-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dsn12-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-texto, #1f2a37);
  margin: 0;
  line-height: 1.3;
}

.dsn12-desc {
  font-size: .875rem;
  color: var(--color-texto-suave, #555);
  line-height: 1.65;
  margin: 0;
}

.dsn12-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.dsn12-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--color-texto-suave, #666);
  text-decoration: none;
  transition: color .2s ease;
}

.dsn12-dl:hover {
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
  text-decoration: none;
}

.dsn12-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
  text-decoration: none;
  letter-spacing: .02em;
  transition: gap .2s ease, opacity .2s ease;
}

.dsn12-cta:hover {
  gap: 9px;
  opacity: .8;
  text-decoration: none;
  color: var(--dsn-accent, var(--color-acento, #4f46e5));
}


/* ==========================================================================
   CARRUSEL horizontal (contenido_tipo 6)
   ========================================================================== */

.carouselsection {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel_inner {
  overflow: hidden;
  flex: 1;
}

.carousel_inner>ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 16px;
  transition: transform .35s ease;
}

.carousel_inner>ul>li {
  flex: 0 0 auto;
}

.caja-control {
  cursor: pointer;
  color: var(--color-acento, #4f46e5);
  flex-shrink: 0;
  user-select: none;
}

.con-espacios {
  padding: 0 12px;
}


/* ==========================================================================
   SLIDER (Slick)
   ========================================================================== */

.slider-description {
  color: var(--color-texto-suave, #666);
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.slider-empty {
  padding: 30px;
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 5px;
  color: #999;
}

.slider-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 5px;
}

.slider-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.slider-link:hover .slider-image {
  transform: scale(1.05);
}


/* ==========================================================================
   BANNER SIMPLE (contenido_tipo 1)
   ========================================================================== */

.slider-simple .content-caption {
  background-color: var(--dsn-bg, transparent);
  padding: 18px 22px;
  border-radius: 8px;
}

.slider-simple .carousel-caption {
  position: absolute;
  inset: 0;
  padding: 0 5%;
}


/* ==========================================================================
   ACORDEON (contenido_tipo 7)
   ========================================================================== */

.acordion-img {
  max-width: 50px;
  margin-right: .5rem;
}

.acordion-header-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1rem 1.25rem;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}


/* ==========================================================================
   ACCESIBILIDAD — respeta la preferencia del sistema
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .dsn7,
  .dsn7-bg,
  .dsn7-overlay,
  .dsn7-cta,
  .dsn8-img-inner,
  .dsn9,
  .dsn9-img,
  .dsn10,
  .dsn11,
  .dsn12,
  .dsn12-bar,
  .slider-image {
    transition: none !important;
  }

  .dsn7:hover .dsn7-bg,
  .dsn8:hover .dsn8-img-inner,
  .dsn9:hover .dsn9-img,
  .dsn9:hover,
  .dsn10:hover,
  .dsn11:hover,
  .dsn12:hover,
  .slider-link:hover .slider-image {
    transform: none;
  }
}