.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.custom-video {
    display: block;
    width: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background: url('<?= base_url('assets/images/profesionales/play_button.png') ?>')  no-repeat center;*/
    background: url(../../assets/images/profesionales/play_button.png) no-repeat center;
    background-size: contain;
    width: 100px;
    height: 100px;
    cursor: pointer;
    display: none; /* Hide initially */
}

.video-container.paused .play-button {
    display: block;
}

.custom-button {
    background-color: transparent; /* Sin fondo */
    border: none; /* Sin borde */
    padding: 0; /* Sin relleno */
    text-align: center; /* Centra el texto */
    transition: transform 0.2s; /* Animación para el hover */
}

.custom-button:hover {
    transform: scale(1.05); /* Efecto de hover para que se vea más grande */
}

.tooltip-text {
    position: absolute;
    bottom: 120%; /* Mostrar encima del botón */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0; /* Empezar invisible */
    transition: opacity 0.3s;
    z-index: 1000;
}

.custom-button:hover .tooltip-text {
    opacity: 1;
} 


 /*Contenedor con altura fija de 367px*/
.fixed-height-container_banner {
    width: 100%;
    max-width: 100%;
    height: 400px; /* Altura fija*/ 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black; /* Opcional: color de fondo para cualquier espacio sobrante */
}

.fixed-height-container_banner video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que el video cubra el contenedor */
}

/* Ajuste de imagen dentro del contenedor */
.fixed-height-container_banner img {
    width: 100%;  /* Escala el ancho de forma responsiva */
    height: 100%; /* Ocupa toda la altura del contenedor */
    object-fit: cover; /* Recorta la imagen si es necesario para llenar el contenedor */
} 

.image-container {
    position: relative;
    width: 100%; /* O un ancho fijo si es necesario */
    height: 400px; /* Ajusta según tus necesidades */
    overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
}

.image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción y recorta si es necesario */
    transform: translate(-50%, -50%); /* Centra la imagen */
}



.fixed-height-container {
    position: relative;
}

.mute-button {
    position: absolute;
    bottom: 10px;
    right: 30px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    border: none;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mute-button i {
    font-size: 16px;
}


.image-container {
    position: relative;
    width: 100%; /* O un ancho fijo si es necesario */
    height: 400px; /* Ajusta según tus necesidades */
    overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
}

.image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción y recorta si es necesario */
    transform: translate(-50%, -50%); /* Centra la imagen */
}



.fixed-height-container {
    position: relative;
}

.mute-button {
    position: absolute;
    bottom: 10px;
    right: 30px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    border: none;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mute-button i {
    font-size: 16px;
}
/*
.clamp-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;

    max-width: 100%;
    word-break: break-word;

    
    text-align: justify !important;
}

.expand-text {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    white-space: normal !important;

    text-align: justify !important;
}*/
.resumen-text {
    text-align: justify;
  }
  .toggle-resumen {
    color: #007bff;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
  }
  
