    /* Estilos del carrusel */
    .cntCarrusel {
        display: flex;
        align-items: center;
        /* Agregamos transición para los botones */
        transition: opacity 0.3s ease;
        width: 80%;
        margin: 0 auto;
    }

    .cntCarrusel:hover .prev-btn,
    .cntCarrusel:hover .next-btn {
        opacity: 1;
    }

    .carousel {
        width: 100%; /* Anchura del carrusel */
        position: relative;
        overflow: hidden; /* Asegura que el contenido no se desborde */
    }

    .carousel-content {
        display: flex;
        transition: transform 0.5s ease-in-out; /* Transición suave para el desplazamiento (0.5 segundos) */
    }

    .carousel .cardHist {
        padding: 10px 30px;
        background-color: #f0f0f0;
        opacity: 0;
        transition: opacity 0.5s ease-in-out; /* Transición suave para mostrar/ocultar (0.5 segundos) */
        width: 100%;
        border-radius: 7px;
        display: flex;
        align-items: center;
    }

    .cardHist .contCard {
          width: 250px;
          height: 150px;        
          margin-right: 20px;
    }

    .carousel .cardHist img, .modalConsta img  {
          width: 100%;
          height: 100%;
          background-color: #f0f0f0;
          border-radius: 5px;
          flex-shrink: 0; /* Evita que la imagen reduzca su tamaño */
    }

    @media (max-width: 850px) {
        .cardHist .contCard{
            width: 150px;
            height: 150px;        
        }
        
    }

    .carousel .cardHist .titulo {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 10px;
    }

    .carousel .cardHist .parrafo {
        font-size: 16px;
        text-align: justify;
        margin-bottom: 15px;
    }


    .cardHist .active {
        opacity: 1;
    }

    /* Botones de navegación */
    .prev-btn,
    .next-btn {
        background-color: rgba(0, 112, 184, 0.1);
        color: #fff;
        padding: 10px 5px;
        border: none;
        border-radius: 7px;
        cursor: pointer;
        opacity: 0;
        height: 100%;
        /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);*/
    }

    .prev-btn {
        border-radius: 7px 0 0 7px;
        /*
        border-left: 1px #ccc solid;
        border-top: 1px #ccc solid;
        border-bottom: 1px #ccc solid;
        */
    }
    .next-btn {
        border-radius: 0 7px 7px 0;
        /*
        border-right: 1px #ccc solid;
        border-top: 1px #ccc solid;
        border-bottom: 1px #ccc solid;
        */
    }
    .texto {
        font-size: 44px;
    }
    .sbrIzd{text-shadow: 1px 0px 3px black;}
    .sbrDrc{text-shadow: -1px 0px 3px black;}

    /* Estilos del modal */
    .modalConsta {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        justify-content: center;
        align-items: center;
    }

    .modal-content {
        background-color: #f5f5f5;
        padding: 20px;
        border-radius: 7px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
    }

    .close-btn {
        background-color: rgba(255, 51, 51, 0.5);
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 7px;
        cursor: pointer;
        margin-top: 10px;
        font-weight: bolder;
    }
    .parrOculto{
        display: none;
    }
    .cntImgFlex {
        display: flex
    }
    .cntFichaModal {
        background: #fcfcfc; 
        padding: 20px; 
        border-radius: 7px;
        align-items: center;
        text-align: right;
    }
    .expand-btn{
        margin-top: 10px;
        border: 1px #333 solid;
        border-radius: 5px;
    }
    .tltHisEx{
        margin-bottom: 20px; 
        border-bottom: 1px transparent solid;
    }
    .separaTit{
        border-bottom: 1px rgba(100, 100, 100,0.2) solid;
    }
    /* ///////////// Historias de Exito ////////////// */

    .dark-mode .carousel .cardHist {
        padding: 10px 30px;
        background-color: #111;
        opacity: 0;
        transition: opacity 0.5s ease-in-out; /* Transición suave para mostrar/ocultar (0.5 segundos) */
        width: 100%;
        border: 1px #ccc solid;
        border-radius: 7px;
        display: flex;
        align-items: center;
    }

    .dark-mode .prev-btn,
    .dark-mode .next-btn {
        background-color: rgba(0, 112, 184, 0.5);
        box-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    }
    .dark-mode .expand-btn{
        border: 1px #ccc solid;
        background-color: #111;
        color: #ccc;
    }
    .dark-mode .modal-content{
        background-color: #111;
    }
    .dark-mode .cntFichaModal{
        background: #333;
    }
