body {
    overflow-x: hidden;
}

.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wp-block-columns {
    gap: 4rem !important;
}

@media screen and (max-width: 768px) {
    .wp-block-columns {
        gap: 1rem !important;
    }
}

p a,
li a {
    color: var(--color-primary);
}

p a:hover,
li a:hover {
    color: var(--color-primary) !important;
}


/*FORM*/

form label,
form input,
form textarea {
    width: 100%;
}

form input,
form textarea {
    padding: 10px;
}

form label {
    margin-bottom: 1rem;
}

.wpcf7-spinner {
    display: none;
}

body.page-template-default main,
body.page-template-archive main,
body.category main,
body.error404 main {
    padding-top: 220px !important;
}

body.page-template-default.home main {
    padding-top: 0 !important;
}

.custom-card-home {
    max-width: 1320px;
    margin: auto;
    position: relative;
    top: -100px;
    border-top-left-radius: 25px !important;
    border-top-right-radius: 25px !important;
}

.custom-card-home img {
    width: 70px !important;
    height: 70px !important;
}

.custom-card-home .wp-block-tlm-theme-section .container-fluid {
    display: grid;
}

.shadow-classic {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.img-with-cube-corner {
    position: relative;
}

.happy-client img {
    width: 50px !important;
    height: 50px !important;
    border: solid 3px var(--color-light);
    margin-left: -15px;
}

.bg-custom-blue {
    background-color: #213b8f0e !important;
}

.bubble-pink-one,
.bubble-pink-one-right,
.bubble-pink-two,
.bubble-pink-three {
    position: relative;
}

.bubble-pink-one::before,
.bubble-pink-one-right::before,
.bubble-pink-two::before,
.bubble-pink-two::after,
.bubble-pink-three::before,
.bubble-pink-three::after {
    display: block;
    content: "";
    position: absolute;
    background: linear-gradient(to top, transparent 0%, var(--color-pink) 100%);
    border-radius: 100px;
    filter: blur(150px);
    z-index: -1;
}

.bubble-pink-one::before {
    width: 200px;
    height: 200px;
    top: 20%;
    left: -10%;
}

.bubble-pink-one-right::before {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -10%;
}

.bubble-pink-two::before {
    width: 200px;
    height: 300px;
    top: 60%;
    left: 10%;
}

.bubble-pink-two::after {
    width: 200px;
    height: 300px;
    top: 30%;
    right: 10%;
}

.bubble-pink-three::before {
    width: 300px;
    height: 200px;
    top: 60%;
    left: -30%;
}

.bubble-pink-three::after {
    width: 200px;
    height: 300px;
    top: 30%;
    right: -15%;
}

@media screen and (max-width: 1731px) {

    .bubble-pink-three::after,
    .bubble-pink-two::after,
    .bubble-pink-one-right::before {
        right: 0;
    }

    .bubble-pink-three::before {
        left: -15%;
    }
}

@media screen and (max-width: 1360px) {

    .bubble-pink-three::after,
    .bubble-pink-two::after,
    .bubble-pink-one-right::before {
        top: 65%;
        right: 5%;
    }

    .bubble-pink-three::before {
        left: -15%;
    }
}

.numbers-expertises {
    position: absolute;
    right: 40px;
    bottom: 40px;
    opacity: 0.5;
}

.page-template-default main::before,
.page-template-archive main::before,
body.category main::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 260px;
    top: 0;
    left: 0;
    background-color: var(--color-primary);
}

.banner-page {
    position: relative;
    overflow: hidden;
}

.banner-page .container-xxl::before,
.banner-page .container-xxl::after {
    content: url('/wp-content/uploads/2025/03/round-footer.png');
    width: 100px;
    height: auto;
    position: absolute;
}

.banner-page .container-xxl::before {
    top: 120px;
    left: -1%;
    transform: rotate(-90deg);
}

.banner-page .container-xxl::after {
    bottom: 0;
    right: 5%;
    transform: rotate(180deg);
}

.banner-page a {
    color: var(--color-secondary) !important;
}

.banner-page .btn-1,
.banner-page .btn-1:hover {
    color: var(--color-primary) !important;
}

.banner-page a:hover {
    color: var(--color-light) !important;
}

.tred-logo img {
    height: auto !important;
}

.bd-primary {
    border: solid 1px var(--color-primary) !important;
}

.date-card {
    position: relative;
}

.date-card .wp-block-tlm-theme-icon {
    position: absolute;
    top: -40px;
    right: 50px;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 15px;
    width: 60px !important;
    height: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px var(--color-primary);
}

.date-card .wp-block-tlm-theme-icon img {
    object-fit: contain;
}

.date-card.left::after {
    content: "";
    position: absolute;
    top: 80%;
    border-bottom: solid 2px var(--color-primary);
    right: -120px;
    width: 120px;
}

.date-card.primary a {
    color: var(--color-secondary) !important;
}

.date-card.primary a:hover {
    color: var(--color-light) !important;
}

.date-card.right::before {
    content: "";
    position: absolute;
    top: 70%;
    height: 200px;
    border-top: solid 2px var(--color-primary);
    border-left: solid 2px var(--color-primary);
    left: -400px;
    width: 400px;
    z-index: -1;
    border-top-left-radius: 5px;
}

.img-exepertises-custom img {
    max-height: 350px;
}

.number-home {
    position: absolute;
    left: 27%;
    width: fit-content !important;
    bottom: 160px;
    z-index: 49;
}

.number-home::after {
    content: "";
    background-image: url(/wp-content/uploads/2025/03/forme-fond-chiffres.webp);
    width: 300px;
    background-size: contain;
    height: 211px;
    border-radius: 200px;
    position: absolute;
    top: -63px;
    left: -64px;
    z-index: -1;
    background-position: center;
    background-repeat: no-repeat;
}

.pl-0 {
    padding-left: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.partenaires a {
    width: 100%;
}

.partenaires img {
    max-width: 200px !important;
    height: 100px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
}

.partenaires .image-block {
    width: 100%;
}

.partenaire-logistique img {
    max-width: 400px;
    width: auto !important;
    aspect-ratio: auto !important;
}

.partenaire-logistique .image-block {
    display: flex;
    justify-content: center;
}

.tlm-miel img {
    max-width: 200px !important;
}

/*RESPONSIVE*/

@media screen and (max-width: 1290px) {
    .numbers-expertises {
        position: initial;
        margin-top: 15px;
    }
}

@media screen and (max-width: 1190px) {

    body.page-template-default main,
    body.page-template-archive main,
    body.error404 main {
        padding-top: 120px !important;
    }
}

@media screen and (max-width: 1110px) {
    .number-home {
        left: 21%;
        bottom: 240px;
    }
}

@media screen and (max-width: 910px) {
    .date-card.right::before {
        top: 94%;
        height: 174px;
        left: -300px;
        width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .bloc-expertise {
        width: 100% !important;
    }

    .bloc-expertise img {
        height: 200px !important;
    }

    .last-blog .btn-block div {
        text-align: start !important;
    }

    .banner-page .container-xxl::before {
        left: -4%;
    }

    .number-home {
        left: 63%;
        bottom: 110px;
    }

    .number-home p.h2 {
        font-size: 38px !important;
        line-height: 48px !important;
    }

    .number-home::after {
        left: -77px;
    }

    .date-card.left::after,
    .date-card.right::before {
        display: none;
    }

    .partenaires .image-block {
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 560px) {
    @media screen and (max-width: 560px) {
        .number-home {
            left: 57%;
        }

        .number-home::after {
            width: 260px;
            height: 181px;
            top: -52px;
            left: -62px;
        }
    }
}

@media screen and (max-width: 450px) {
    @media screen and (max-width: 450px) {
        .number-home {
            left: 35%;
        }

        .number-home::after {
            width: 260px;
            height: 181px;
            top: -52px;
            left: -62px;
        }
    }
}

@media screen and (max-width: 380px) {
    .number-home p.h2 {
        font-size: 24px !important;
        line-height: 34px !important;
    }

    .number-home {
        left: 58%;
    }

    .number-home::after {
        width: 219px;
        height: 155px;
        top: -42px;
        left: -64px;
    }
}


/*V2*/
.card-expertise {
    background-color: #213b8f0e !important;
}

.card-expertise .image-block {
    height: fit-content;
}

.card-expertise .image-block img {
    height: auto !important;
}

.card-expertise .container-fluid {
    display: grid;
    align-content: space-between;
}

.card-expertise .sub-title a {
    color: var(--color-secondary) !important;
}

.card-expertise .sub-title a:hover {
    color: var(--color-tertiary) !important;
}

.banner-block h1 img {
    width: 400px !important;
    height: auto;
}

footer .tred-union img {
    max-width: 80px !important;
}

div[style*="background:#213A8F"] p a,
div[style*="background:#213A8F"] li a {
    color: var(--color-secondary) !important;
}

div[style*="background:#213A8F"] p a:hover,
div[style*="background:#213A8F"] li a:hover {
    color: var(--color-tertiary) !important;
}

.popu-up-join {
    background-color: var(--color-secondary);
    padding: 10px 20px;
    position: fixed;
    left: 20px;
    bottom: 20px;
    border-radius: 100px;
    z-index: 50;
    color: var(--color-primary) !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.popu-up-join:hover {
    background-color: var(--color-primary) !important;
    ;
    color: var(--color-secondary) !important;
}

.logo-emploi {
    width: 110px !important;
    height: 110px !important;
}

.logo-emploi img {
    object-fit: contain !important;
}

.slider-epoque .slick-slide {
    margin: 0 30px;
}

.slider-epoque .slick-list {
    margin: 0 -30px;
}

.banner-block h1 {
    width: 90% !important;
}

.banner-block h1 br {
    display: none;
}

.banner-block h1 em {
    width: 100%;
    display: block;
}

.banner-block h1 em:nth-of-type(2) {
    text-align: center;
}

.banner-block h1 em:last-of-type {
    text-align: right;
}