.container-ensayos{
    width: 100%;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 15px;
    position: relative;
}

.container-ensayos .ensayos{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.layout_contenidos{
    font-family: 'Poppins';
    position: relative;
    gap: 12px;
    padding: 40px 30px 29px 30px;
    color: #444;
    background: #fff;
    box-shadow: 2px 2px 40px 0px rgba(211, 211, 211, 0.50);
    width: 100%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.study-header,
.study-footer
{
    width: 100%;
    gap: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.study-type{
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.study-type span:first-child{
    width: fit-content;
    height: 40px;
    padding: 0 29px;
    border-radius: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins';
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.study-type span:last-child{
    font-family: 'Poppins';
    font-size: 14px;
    font-weight: 600;
}

.study-state{
    width: fit-content;
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 18px;
    border-radius: 0 15px 0 0;
    font-size: 14px;
    color: #fff;
}

[data-estado="reclutamiento"] .study-state,
[data-tipo="ovario"] .study-type span:first-child
{
    background-color: #6BA7BD;
}

[data-estado="start-up"] .study-state,
[data-tipo="endometrio"] .study-type span:first-child
{
    background-color: #F4BE7E;
}

[data-estado="seguimiento"] .study-state,
[data-tipo="cervix"] .study-type span:first-child
{
    background-color: #983251;
}

[data-estado="cerrado"] .study-state,
[data-estado="cerrado"] .study-type span:first-child
{
    background-color: #D3D3D3;
}  

[data-estado="cancelado"] .study-state,
[data-tipo="otros"] .study-type span:first-child,
[data-estado="cancelado"] .study-type span:first-child
{
    background-color: #444;
}


[data-tipo="ovario"] .study-type span:last-child
{
    color: #6BA7BD;
}

[data-tipo="endometrio"] .study-type span:last-child
{
    color: #F4BE7E;
}

[data-tipo="cervix"] .study-type span:last-child
{
    color: #983251;
}

[data-estado="cerrado"] .study-type span:last-child
{
    color: #D3D3D3;
}  

[data-estado="cancelado"] .study-type span:last-child,
[data-tipo="otros"] .study-type span:last-child
{
    color: #444;
}

.study-title{
    width: 100%;
    color: #444;
    font-family: 'Poppins';
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.study-authors{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.study-authors span{
   color: #444;
   font-family: 'Poppins';
   font-size: 16px;
   font-style: normal;
   font-weight: 500;
   line-height: 20px;
}
 
.study-description{
   color: #444;
   font-family: 'Poppins';
   font-size: 16px;
   font-style: normal;
   font-weight: 400;
   line-height: 20px;
}

.study-recruitment{
    width: 100%;
    color: #444;
    font-family: 'Poppins';
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

.container-study-buttons{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-study-buttons a,
.container-study-buttons a:hover,
.container-study-buttons a:focus{
    width: fit-content;
    font-family: 'Poppins';
    color: #6BA7BD;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}
.container-study-buttons a.verMas{
    font-weight: 400;
}
.container-study-buttons a.verMas:hover{
    text-decoration: underline;
}

@media (min-width: 650px){
    .container-ensayos{
        grid-template-columns: 300px auto;
        grid-gap: 35px;
    }

    .layout_contenidos{
        width: 100%;
    }

}

@media (min-width: 770px){
    .container-ensayos{
        grid-template-columns: auto 1fr;
        grid-gap: 35px;
    }

    .layout_contenidos{
        width: 385px;
    }

}


@media (min-width: 992px){
    .container-ensayos{
        padding: 0 128px;
        grid-template-columns: 347px 1fr;
        grid-gap: 55px;
    }

    .layout_contenidos{
        width: 385px;
    }

    /* .container-ensayos .filters-container{
        position: sticky;
        top: 0;
    } */

}