/* START PAGE JOBS */

div.jobs_color {
    background-color: #151515;
}

div.container_jobs {
    padding: 100px 50px;
}

div.bloc_job {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.job_inside {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1F1F1F;
    margin: 0 0 20px 0;
}

div.job_inside div.image_page_job {
    width: 40%;
    height: 500px;
}

div.job_inside div.image_page_job img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

div.job_inside div.texte_page_job {
    width: 60%;
    height: 500px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}

div.date_jobs {
    width: 100%;
    height: auto;
}

div.date_jobs .recent_jobs_post_date {
    color: #5F5F5F;
    font-weight: 300;
    font-size: 14px;
    text-align: right;
    margin-top: 0px;
}

div.premiere_info_page_job strong.color_pink {
    color: #e60c80;
    font-weight: 800;
}

div.bouton_lire_plus_jobs a {
    position: relative;
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 10px 50px;
    margin: 10px 0 0 0;
    text-align: center;
    font-size: 16px;
    color: #fff;
    z-index: 3; /* Assure que le bouton est au-dessus de tout */
    overflow: hidden; /* Cache la partie de l'effet qui dépasse les bords */
    transition: transform .3s ease-out;
    pointer-events: auto; /* Réactive les interactions sur le bouton */
}

div.bouton_lire_plus_jobs a:hover {
    color: #151515;
}

div.bouton_lire_plus_jobs a::before {
    background: #fff;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .3s ease-out;
    z-index: -1; /* Met l'effet derrière le texte */
}

div.bouton_lire_plus_jobs a:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

div.title_no_job {
    color: #fff;
}

div.texte_no_job {
    color: #fff;
    font-weight: bold;
}

@media only screen and (max-width: 1440px) {
    div.title_page_job h1,
    div.title_no_job h1 {
        font-size: 36px;
    }

    div.bouton_lire_plus_jobs a {
        font-size: 14px;
        padding: 4px 50px;
    }
}

@media only screen and (max-width: 1200px) {
    div.title_page_job h1,
    div.title_no_job h1 {
        font-size: 30px;
    }
}

@media only screen and (max-width: 998px) {
    
}

@media only screen and (max-width: 767px) {
    div.container_jobs {
        width: 95%;
        padding-top: 50px;
    }

    div.job_inside {
        flex-direction: column-reverse;
    }

    div.job_inside div.image_page_job {
        width: 100%;
        height: 350px;
    }

    div.job_inside div.texte_page_job {
        width: 100%;
        /* height: 400px; */
        height: auto;
    }

    div.title_page_job h1,
    div.title_no_job h1 {
        font-size: 26px;
    }

    div.date_jobs .recent_jobs_post_date {
        font-size: 10px;
    }
}

@media only screen and (max-width: 468px) {
    div.title_page_job h1,
    div.title_no_job h1 {
        font-size: 22px;
    }
}

/* END PAGE JOBS */


/************************************** */


/* START PAGE SINGLE-JOBS */

div.bloc_single_job {
    background-color: #1F1F1F;
    padding: 40px;
}

div.single_job_inside_one {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.texte_page_single_job {
    width: 45%;
    height: 500px;
    padding: 20px;
    color: #fff;
}


div.image_page_single_job {
    width: 55%;
    height: 500px;
}

div.image_page_single_job img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

p.recent_single_jobs_post_date {
    color: #5F5F5F;
    font-weight: 300;
    font-size: 14px;
    text-align: right;
    margin-top: 0px;
}

div.premiere_info_page_single_job strong.color_pink {
    color: #e60c80;
    font-weight: 800;
}

div.single_job_inside_two,
div.single_job_inside_three,
div.single_job_inside_four,
div.single_job_inside_five,
div.single_job_inside_six {
    width: 80%;
    margin: auto;
    color: #fff;
}

div.margin_texte_single_job {
    margin: 30px 0;
}

div.single_job_inside_three ul,
div.single_job_inside_four ul {
    margin: 20px 0 0 10px;
}

div.single_job_inside_three p,
div.single_job_inside_four p {
    margin: 0 0 0 40px;
}

div.single_job_inside_five {
    text-align: center;
}

div.single_job_inside_five div.bouton_lire_plus_jobs {
    margin: 40px 0;
}

@media only screen and (max-width: 1440px) {
    div.title_page_single_job h1 {
        font-size: 36px;
    }
}

@media only screen and (max-width: 1200px) {
    div.title_page_single_job h1 {
        font-size: 30px;
    }
}

@media only screen and (max-width: 998px) {
    
}

@media only screen and (max-width: 767px) {
    div.bloc_single_job {
        padding: 20px;
    }

    div.single_job_inside_one {
        flex-direction: column;
    }

    div.texte_page_single_job {
        width: 100%;
        height: auto;
    }

    div.image_page_single_job  {
        width: 100%;
        height: 350px;
    }

    div.title_page_single_job h1 {
        font-size: 26px;
    }

    p.recent_single_jobs_post_date {
        font-size: 10px;
    }

    div.single_job_inside_two,
    div.single_job_inside_three,
    div.single_job_inside_four,
    div.single_job_inside_five,
    div.single_job_inside_six {
    width: 100%;
    }
}

@media only screen and (max-width: 468px) {
    div.title_page_single_job h1 {
        font-size: 22px;
    }
}

/* END PAGE SINGLE-JOBS */