.contenedor.principal{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    height: 85%;
    width: 88%;
}

.contenedor.detalle-hecho{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secundario);
    z-index: 1001;
    height: 80%;
    width: 70%;
    border-radius: 3rem;
    box-shadow: 0.18rem 0.22rem rgb(0,0,0,0.1);
}

.contenedor.titulo-cerrar{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

}

.contenedor.titulo-cerrar h1{
    min-width: 50%;
    width: auto;
    font-weight: 800;
    font-size: 2rem;
    color:var(--color-texto-negrita);
    border-bottom: 1px solid var(--color-principal);
}

.boton-cerrar-modal-hecho:hover{
    transform: scale(1.1,1.1);
}

.boton-cerrar-modal-hecho{
    height: auto;
    width:auto;
    margin: 0;
    background-color: var(--color-secundario);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.boton-cerrar-modal-hecho img{
    width: 1.3rem;
    height: 1.3rem;
}

.contenedor.cuerpo-detalle-hecho{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    height: 80%;
    max-height: 23rem;
    align-items: center;
    background-color: var(--color-secundario);

}

.contenedor.descripcion-datos-solicitudes{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.contenedor.datos-solicitudes{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height:auto;
    gap: 1rem;
}

.contenedor.fechas{
    display: flex;
    flex-direction: column;
}



/* esto es de la imagen, video, carrousel */

.contenedor.imagen-video-fechas{
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    justify-content: space-between;
    align-items: center;

}

.carrousel {
    display: flex;                  /* pone slides en fila */
    overflow-x: auto;               /* permite scroll horizontal */
    scroll-snap-type: x mandatory;  /* “engancha” cada slide */
    scroll-behavior: smooth;        /* desplazamiento suave */
    -webkit-overflow-scrolling: touch; /* mejora en iOS */
    gap: 0;
    /* opcional: ocultar scrollbar visual */
    scrollbar-width: none;          /* firefox */
    width: 100%;
    height: 100%;

}
.carrousel::-webkit-scrollbar {
    display: none;                  /* chrome/safari */
}

.slide-imagen {
    flex: 0 0 100%;              /* cada slide = 100% del ancho del carrousel */
    scroll-snap-align: start;    /* se alinea al inicio cuando termina el desplazamiento */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.slide-video {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
    padding-top: 56.25%;
}

.multimedia-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0.4rem;
}

.multimedia-imagen {
    width: 100%;        /* CAMBIO: Prioridad al ancho */
    height: 100%;       /* AGREGADO: Para llenar el contenedor verticalmente tambien */
    object-fit: cover;
    border: none;
    display: block;
}


.descripcion{
    font-size: 1.1rem;
    font-weight: 650;
}

/* flechitas */
.controles {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.controles img{
    width: auto;
    height: 2rem;
    transition: 0.5s;
}

.controles img:hover{
    transform: scale(1.1,1.1);
}

.contenedor.controles-solicitud{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
    gap: 0.5rem;
    text-align: center;
}

.contenedor.controles-solicitud button{
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.contenedor.controles-solicitud img{
    max-width: 2rem;
    max-height: 2rem;
}

.contenedor.ver-mapa{
    display: flex;
    justify-content: flex-end;
}


.contenedor.ver-mapa img{
    max-height: 1.5rem;
    max-width: 1.5rem;
    animation: subirYCaer 1.5s alternate-reverse ;
    animation-iteration-count: 2;
}

.contenedor.ver-mapa img{
    max-height: 1.5rem;
    max-width: 1.5rem;
    animation: subirYCaer 1.5s alternate-reverse ;
    animation-iteration-count: 2;
}

.contenedor.ver-mapa button{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
}

@keyframes subirYCaer {
    from {
        transform: translateY(-7px);
    }
    to {
        transform: translateY(0px);
    }

}

.boton.terciario.solicitud img{
    max-height: 1.3rem;
    max-width: 1.3rem;
}

.infoDescriptiva p {
    font-size: 0.9em;
}

.contenedor.compartir-eliminar{
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.boton-solicitar-eliminacion{
    color: var(--color-acento);
    cursor: pointer;
}

.boton-solicitar-eliminacion:hover{
    color: var(--color-principal);
    transform: scale(1.01,1.01);
}

#compartirboton{
    background-color: var(--color-secundario);
    border: none;
    box-shadow: 0 0;
    cursor: pointer;
}

#compartirboton:hover{
    transform: scale(1.05,1.05);
}
#compartirboton img{
    height: 90%;
    width: 90%;
}