#jobs-list-container {
    container-name: jobs_list_container;
    container-type: inline-size;
}

.container{
    max-width: 137.0rem;
    padding: 0;
}

#jobs-list .row{
    width: 100%;
    align-items: center;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.161);
    border-radius: 5px;
    padding: 4.2rem;
    margin: 0 0 4.3rem 0;
}

#jobs-list .row div{
    display: flex;
    flex-flow: column;
}

.job-title{
    width: 42%;
}

.job-location{
    width: 21%;
}

.job-type{
    width: 21%;
}

.job-button{
    width: 16%;
}

.job-button .read-job{
    width: max-content;
    margin-left: auto;
    margin-right: 0;
}

.job-button .read-job a{
    padding: 1.6rem 4.6rem;
    font-size: 1.6rem;
    letter-spacing: 0.04rem;
    white-space: nowrap;
}

#jobs-list .row .job-meta-label,
#jobs-list .row .job-meta-text{
    font-family: "Qanelas Bold", sans-serif;
    font-weight: normal;
    letter-spacing: .0rem;
    line-height: 2.4rem;
}

#jobs-list .row .job-meta-label{
    font-size: 1.6rem;
    color: rgb(117, 117, 117);
}

#jobs-list .row .job-meta-text{
    font-size: 2.1rem;
    color: rgb(51, 51, 51);
}

.pagination,
.pagination .search_pages {
    display: flex;
    justify-content: center;
    column-gap: 20px;
}

/* Responsive */
@container jobs_list_container (max-width: 1024px){
    #jobs-list .row .job-title,
    #jobs-list .row .job-button{
        width: 100%;
        text-align: center;
    }

    #jobs-list .row .job-location,
    #jobs-list .row .job-type{
        width: 50%;
        text-align: center;
        margin: 2.0rem 0 2.0rem 0;
    }
}

@container jobs_list_container (max-width: 768px){
    #jobs-list .row .job-title,
    #jobs-list .row .job-button,
    #jobs-list .row .job-location,
    #jobs-list .row .job-type{
        width: 100%;
        text-align: left;
    }

    #jobs-list .row .job-button a{
        width: max-content;
    }
}
@container jobs_list_container (max-width: 550px){
    #jobs-list .row{
        margin-right: auto;
        margin-left: auto;
    }
    
    .pagination{
        flex-wrap: wrap;
    }
}

@container jobs_list_container (max-width: 395px){
    #jobs-list .row{
        padding: 2.0rem;
    }
}