/* JOBS */

.job {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;

    --job-padding: 2rem;
}
.job:first-child{
    margin-top: 0;
}
.job > .title{
    flex: 1 1 0;
    background-color: var(--red);
    padding: var(--job-padding);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.job > .title h2{
    font-size: 25px;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}
.job > .title a{
    text-align: center;
    width: 50%;
}
.job > .content{
    flex: 1 1 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}
.job > .content .offer{
    flex: 1 1 0;
    padding: var(--job-padding);
}
.job > .content .offer p{
    margin-top: 1rem;
}
.job > .content .offer ul{
    list-style: inside;
}
.job > .content .offer ul li::marker {
    color: var(--red);
}
.job > .content .infos{
    flex: 1 1 0;
    padding: var(--job-padding);
}
.job > .content .infos .title{
    font-weight: bold;
    margin-bottom: var(--job-padding);
}
.job > .content .infos .location{
    background: url("../../images/icons/location.svg") no-repeat;
    background-position: 0 2px;
    padding-left: 1.5rem;
    margin-bottom: var(--job-padding);
}
.job > .content .email{
    background: url("../../images/icons/email.svg") no-repeat;
    background-position: 0 4px;
    padding-left: 1.5rem;
}
.job > .content .email a{
    color: var(--red);
}
@media only screen and (min-width : 768px) {
    .job {
        flex-direction: row;
    }
    .job > .title{
        max-width: 30%;
    }
    .job > .title a{
        width: 100%;
    }
}
@media only screen and (min-width : 1280px) {
    .job > .title a{
        width: 50%;
    }
    .job > .content{
        flex-direction: row;
    }
    .job > .content .infos{
        max-width: 30%;
    }
}