    .section-consejos {
      background: #faf9f7;
      border-radius: 0rem;
      text-align: center;
      color: #333;
      position: relative;
      overflow: hidden;

    }


    .section-consejos::before {
      content: "";
      position: absolute;
      width: 200%;
      height: 100%;
      top: -50%;
      left: -50%;
      background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4), transparent 70%);
      transform: rotate(25deg);
    }



    /* ---------- Contenedor y centrado---------- */
    .text-center {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #6452c0;

    }

    .justify-center {
      justify-content: center;
    }

    .button-container {
      margin: 20px 0;
    }

    .image-container {
      margin-top: 20px;
      width: 100%;
      max-width: 559px;
    }

    /* ---------- Contenedor principal de consejos ---------- */
    .consejos-container {

      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* ---------- Contenedor del menú de pestañas (nuevo look) ---------- */
    .consejos-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.8);
      border: none;
      font-size: 20px;
      padding: 6px 10px;
      border-radius: 50%;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      transition: background 0.3s, color 0.3s;
      z-index: 20;
    }

    .consejos-arrow:hover {
      background: #f38ba4;
      color: #fff;
    }

    .consejos-arrow-left {
      left: 5px;
    }

    .consejos-arrow-right {
      right: 5px;
    }



    .consejos-menu-container {
      position: relative;
      width: 100%;
      max-width: 1000px;
      margin: 30px 0;
      padding: 12px;
      padding-left: 15px;
      padding-right: 15px;
      background: linear-gradient(135deg, #6452c0 0%, #36d2b5 100%);
      border-radius: 999px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);

    }

    /* ---------- Pestañas con scroll horizontal  ---------- */
    .consejos-tabs {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
      gap: 8px;
      padding: 8px 6px;
      justify-content: flex-start;
      scroll-snap-type: x proximity;
      -webkit-overflow-scrolling: touch;
      scroll-padding-inline: 20px;
    }

    /* Pulgar de scroll estilizado */
    .consejos-tabs::-webkit-scrollbar {
      display: none;
    }

    .consejos-tabs::-webkit-scrollbar-track {
      background: transparent;
    }

    .consejos-tabs::-webkit-scrollbar-thumb {
      background: #e9b23e;
      border-radius: 20px;
      border: 2px solid rgba(255, 255, 255, 0.12);
    }

    /* ---------- Estilo de cada pestaña (botón) ---------- */
    .consejos-tab {
      scroll-snap-align: center;
      flex: 0 0 auto;
      padding: 10px 18px;
      border-radius: 999px;
      border: 1px solid rgba(46, 125, 50, 0.15);
      background: transparent;
      color: #f1eaff;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.3s ease;
      white-space: nowrap;
      box-shadow: 0 4px 10px rgba(46, 125, 50, 0.08);
      position: relative;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* Efecto de luz que recorre el botón al hacer hover - MÁS SUAVE */
    .consejos-tab::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -100%;
      width: 200%;
      height: 200%;
      background: linear-gradient(to bottom right,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.5) 40%,
          rgba(255, 255, 255, 0) 100%);
      transform: rotate(30deg);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .consejos-tab:hover::before {
      animation: light-sweep 1.2s ease-out forwards;
    }

    @keyframes light-sweep {
      0% {
        opacity: 0;
        transform: rotate(30deg) translateX(-30%) translateY(-30%);
      }

      30% {
        opacity: 0.6;
      }

      100% {
        opacity: 0;
        transform: rotate(30deg) translateX(100%) translateY(100%);
      }
    }

    /* Hover - Efecto mejorado */
    .consejos-tab:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 28px rgba(46, 125, 50, 0.15);
      background: #f38ba4;
      color: #fff;
      border-color: transparent;
    }

    /* Estado activo - Verde sólido */
    .consejos-tab-active {
      background: #f38ba4;
      color: #ffffff;
      box-shadow: 0 16px 36px rgba(46, 125, 50, 0.16);
      transform: translateY(-6px);
      border-color: transparent;
    }

    /* Hover cuando ya está activo (sutil) */
    .consejos-tab-active:hover {
      transform: translateY(-7px) scale(1.01);
      background: #be7ac5;
    }

    /* Focus accesible (teclado) */
    .consejos-tab:focus {
      outline: 3px solid rgba(46, 125, 50, 0.2);
      outline-offset: 3px;
    }

    .consejos-tab .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ffff;
      margin-right: 10px;
      box-shadow: 0 2px 6px rgba(46, 125, 50, 0.15);
      flex-shrink: 0;
      transition: background 0.3s ease;
    }

    .consejos-tab:hover .dot,
    .consejos-tab-active .dot {
      background: #ffffff;
    }

    /* Responsive para móviles: más compactas */
    @media (max-width: 768px) {
      .consejos-tabs {
        justify-content: flex-start;
        gap: 10px;
        padding: 8px 6px;
      }

      .consejos-tab {
        padding: 9px 14px;
        font-size: 13px;
        min-height: 40px;
      }
    }

    /* Evitar que la imagen cambie por mi estilos aquí */
    .v2-tab-style {
      width: 100%;
      height: auto;
      display: block;
    }

    /* ---------- BLOQUE: subtítulo / concepto / tarjetas  ---------- */

    /* Contenedor del bloque debajo del menú */
    .consejos-content-below {
      width: 100%;
      max-width: 1000px;
      margin: 18px 0 40px;
      padding: 8px 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* Subtítulo (más pequeño que el H2 principal) */
    .consejos-subtitle {
      font-size: 20px;
      font-weight: 700;
      margin: 6px 0 8px;
      color: #36d2b5;
      line-height: 1.2;
      max-width: 900px;
    }

    /* Concepto (tamaño similar al párrafo bajo el título de consejos) */
    .consejos-concept {
      font-size: 15px;
      color: #4b5a57;
      margin: 0 0 18px;
      max-width: 820px;
    }

    /* Contenedor de tarjetas: fila única en desktop, wrap en móvil */
    .consejos-cards {
      width: 100%;
      display: flex;
      gap: 18px;
      justify-content: center;
      align-items: stretch;
      flex-wrap: nowrap;
    }

    /* Cada tarjeta */
    .consejo-card {
      background: #be7ac5;
      border-radius: 20px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 6);
      overflow: hidden;
      width: 100%;
      max-width: 380px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      transition: transform 0.18s ease, box-shadow 0.18s ease;
      cursor: pointer;
      text-align: left;
      padding: 0;
      margin: 0;
    }

    /* Imagen de cada tarjeta: más alta para mostrar más contenido, cover para llenar sin mostrar bordes */
    .consejo-card-img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      display: block;
    }

    /* Hover / focus en tarjeta: eleva e intensifica */
    .consejo-card:hover,
    .consejo-card:focus {
      transform: translateY(-6px) scale(1.01);
      box-shadow: 0 20px 44px rgba(138, 79, 255, 0.12);
      outline: none;
    }

    /* Pequeña mejora en foco accesible */
    .consejo-card:focus {
      box-shadow: 0 20px 44px rgba(138, 79, 255, 0.16);
      border: 2px solid rgba(138, 79, 255, 0.06);
    }

    /* Responsive: en pantallas pequeñas que no alcanzan 900px, permitir que se haga wrap (vertical) */
    @media (max-width: 900px) {
      .consejos-cards {
        flex-wrap: wrap;
        gap: 14px;
      }

      .consejo-card {
        max-width: calc(50% - 7px);
      }
    }

    /* En pantallas muy pequeñas (móvil), una tarjeta por fila */
    @media (max-width: 520px) {
      .consejo-card {
        max-width: 100%;
      }

      .consejos-subtitle {
        font-size: 18px;
      }

      .consejos-concept {
        font-size: 14px;
      }
    }

    /* nuevos estilos */
    .publication-card {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 0;
    }

    /* contenedor de las imágenes (relativo para posicionar slides) */
    .consejo-card-carousel {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      background: linear-gradient(180deg, rgba(244, 250, 247, 1), rgba(238, 251, 248, 1));
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
    }

    /* imágenes dentro del carousel: mostrar enteras sin recortar */
    .carousel-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
      opacity: 0;
      transform: translateY(0);
      transition: opacity 450ms ease, transform 450ms ease;
      background: transparent;
    }

    /* imagen visible */
    .carousel-slide.active {
      opacity: 1;
    }

    /* si la imagen tiene fondo blanco y se ve "pega", centrado vertical */
    .carousel-slide img {
      display: block;
      margin: 0 auto;
      max-height: 100%;
      width: auto;
    }

    /* --- Botón ojito / ver (flotante) --- */
    .carousel-action.view-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 30;
      width: 54px;
      height: 54px;
      padding: 6px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(31, 133, 111, 0.10);
      box-shadow: 0 10px 26px rgba(31, 133, 111, 0.08), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
      cursor: pointer;
      transition: transform .16s cubic-bezier(.2, .9, .3, 1), box-shadow .16s ease;
      -webkit-backdrop-filter: blur(4px);
      backdrop-filter: blur(4px);
    }

    .carousel-action.view-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(31, 133, 111, 0.22);
    }

    .carousel-action.view-btn:focus {
      outline: 3px solid rgba(46, 125, 50, 0.18);
      outline-offset: 2px;
    }

    /* --- Título: que acepte longitudes variables, 2 líneas con ellipsis --- */
    .consejo-card-title {
      font-size: 16px;
      margin: 6px 0 8px;
      color: #1f856f;
      font-weight: 800;
      line-height: 1.2;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      word-break: break-word;
      font-family: 'Inter', sans-serif;
    }

    /* controles */
    .carousel-controls {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      pointer-events: none;
    }

    .carousel-btn {
      pointer-events: all;
      background: #f38ba4;
      color: #fff;
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      cursor: pointer;
      margin: 0 8px;
      box-shadow: 0 6px 18px rgba(31, 133, 111, 0.18);
      transition: transform 0.12s ease;
    }

    .carousel-btn:active {
      transform: scale(.96);
    }

    .carousel-btn:focus {
      outline: 3px solid rgba(46, 125, 50, 0.18);
      outline-offset: 3px;
    }

    /* puntos */
    .carousel-dots {
      position: absolute;
      left: 12px;
      bottom: 10px;
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .carousel-dots button {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(46, 125, 50, 0.08);
      transition: transform .12s ease, background .12s ease;
    }

    .carousel-dots button[aria-pressed="true"] {
      background: #f38ba4;
      transform: scale(1.12);
    }

    /* cuerpo (título + texto) */
    .consejo-card-body {
      padding: 12px 16px 18px;
      min-height: 86px;
    }

    .consejo-card-title {
      font-size: 16px;
      margin: 6px 0 8px;
      color: #fff;
      font-weight: 800;
      text-align: justify;
    }

    .consejo-card-text {
      font-size: 14px;
      color: #4b5a57;
      margin: 0;
      line-height: 1.35;
    }

    .consejo-card[aria-label] .consejo-card-title {
      /* no hay cambio; usa title="" en HTML para tooltip */
    }

    @media (max-width: 900px) {
      .consejo-card-body {
        min-height: 72px;
      }

      .consejo-card-title {
        font-size: 15px;
        -webkit-line-clamp: 2;
      }
    }

    @media (max-width: 520px) {
      .carousel-action.view-btn {
        width: 36px;
        height: 36px;
        top: 8px;
        right: 8px;
      }
    }

    @media (max-width: 520px) {
      .carousel-controls {
        display: none;
      }

      .carousel-dots {
        left: 8px;
        bottom: 8px;
      }
    }

    /* estilos para el gif del botón */
    .view-gif {
      display: block;
      width: 36px;
      height: 36px;
      object-fit: contain;
    }


    /* GIF dentro del botón: pequeño, centrado y con contraste interno */
    .carousel-action.view-btn .view-gif {
      width: 34px;
      height: 34px;
      object-fit: contain;
      display: block;
      border-radius: 999px;
      /* opcional: leve sombra interna para que el gif destaque */
      filter: drop-shadow(0 2px 3px rgba(16, 60, 40, 0.06));
    }

    /* hover / focus: elevar y resonar */
    .carousel-action.view-btn:hover,
    .carousel-action.view-btn:focus {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 16px 40px rgba(31, 133, 111, 0.12), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
      outline: none;
    }

    /* foco accesible (teclado) */
    .carousel-action.view-btn:focus {
      box-shadow: 0 0 0 4px rgba(31, 133, 111, 0.12), 0 16px 40px rgba(31, 133, 111, 0.12);
    }

    /* pequeño pulso leve para llamar la atención (no intrusivo) */
    @keyframes eyePulse {
      0% {
        transform: scale(1);
        opacity: 1;
      }

      60% {
        transform: scale(1.06);
        opacity: .98;
      }

      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    .carousel-action.view-btn.pulse {
      animation: eyePulse 2.6s infinite ease-in-out;
    }

    /* si necesitas que el boton sea más discreto en mobile */
    @media (max-width: 520px) {
      .carousel-action.view-btn {
        top: 8px;
        right: 8px;
        width: 46px;
        height: 46px;
        padding: 4px;
      }

      .carousel-action.view-btn .view-gif {
        width: 30px;
        height: 30px;
      }
    }

    /* pulso sutil alrededor del botón (opcional) */
    .carousel-action.view-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 12;
      background: rgba(31, 133, 111, 0.0);
      border: none;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform .12s ease, box-shadow .12s ease;
      padding: 2px;
    }

    .carousel-action.view-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(31, 133, 111, 0.12);
    }

    .carousel-action.view-btn:focus {
      outline: 3px solid rgba(46, 125, 50, 0.18);
      outline-offset: 2px;
    }

    /* Modal (lightbox) styles (pegar también si no lo tienes) */
    .pub-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9999;
      align-items: center;
      justify-content: center;
    }

    .pub-modal[aria-hidden="false"] {
      display: flex;
    }

    .pub-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(3, 15, 10, 0.45);
      backdrop-filter: blur(2px);
    }

    .pub-modal-panel {
      position: relative;
      width: min(920px, 96%);
      max-height: 90vh;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(2, 14, 10, 0.25);
      z-index: 2;
    }

    .pub-modal-inner {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 18px;
    }

    .modal-image-wrap {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      max-height: 70vh;
      overflow: hidden;
      background: #f8f9f8;
    }

    .modal-image-wrap img {
      max-width: 100%;
      max-height: 70vh;
      object-fit: contain;
      transition: transform .24s ease;
      cursor: zoom-in;
    }

    .modal-prev,
    .modal-next {
      background: #1f856f;
      color: white;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      border: none;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(31, 133, 111, 0.18);
    }

    .pub-modal-close {
      position: absolute;
      top: 10px;
      right: 10px;
      background: transparent;
      border: none;
      font-size: 20px;
      cursor: pointer;
    }

    .pub-modal-footer {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 18px;
      border-top: 1px solid #eee;
    }

    #pubModalTitle {
      margin: 0;
      color: #1f856f;
      font-weight: 700;
    }

    .modal-image-wrap.zoomed img {
      transform: scale(1.9);
      cursor: zoom-out;
    }

    /* ajustes responsive */
    @media(max-width:720px) {

      .modal-prev,
      .modal-next {
        width: 36px;
        height: 36px;
      }

      .pub-modal-panel {
        width: 98%;
        margin: 8px;
      }
    }

    .consejo-card-text {
      display: none !important;
    }
