/*
 Theme Name:  Hello Elementor Child
 Theme URI: https://fr.wordpress.org/themes/hello-elementor/
 Author: SLWD
 Author URI: https://www.slwd.fr
 Template: hello-elementor
 Description: Thème enfant du site Tritten Traktoren
 Version: 1.0
 */


@import url('https://fonts.cdnfonts.com/css/satoshi');



h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Satoshi';
}

p {
    font-family: 'Satoshi';
}

a {
    font-family: 'Satoshi';
    text-decoration: none;
    color: black;
}


/* Base Layout */
.container-header,
.navbar {
    width: 1200px;
    height: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

}

header {
    background-color: #FF5008;
}

body {
    margin: auto;
}

.logo_header img {
    width: 150px;
    /* Adjust based on your actual logo size */
    height: auto;
}

/* Navbar Menu */
nav {
    width: 100%;
    margin: 0 auto;
    position: sticky;
    top: 0px;

    ul {
        list-style-type: none;
        display: contents;
    }

    ul li {
        float: left;
        text-align: center;
        position: relative;
        gap: 50px;
    }

    ul::after {
        content: "";
        display: table;
        clear: both;
    }

    a {
        font-size: 14px;
        display: block;
        text-decoration: none;
        font-weight: 400;
        text-transform: uppercase;
        color: black;
        padding: 5px 0px;
        transition: all .2s ease-in-out;
    }

    .collapse a:hover {
        color: black;
        transform: scale(1.05);
        font-weight: 400;
    }

    .collapse .current-menu-item>a {
        color: black;
    }
}


.deroulant li {
    list-style: none;
}

.sub-menu {
    display: none;
    box-shadow: 0px 1px 2px #CCC;
    background-color: white;
    position: absolute;
    width: max-content;
    z-index: 1000;
    padding-left: 0;

    li {
        float: none;
        width: 100%;
        text-align: left;
    }

    a {
        font-size: 13px;
        font-weight: 500;
        padding: 10px;
        border-bottom: none;
        transition: 0.3s;
        transition: none !important;
    }

    a:hover,
    .current-menu-item>a {
        border-bottom: none !important;
        background-color: RGBa(200, 200, 200, 0.1);
        color: #FDA503;
        transform: none !important;
    }

}

ul li:hover .sub-menu {
    display: block;
}

.deroulant>a::after {
    content: "\f078";
    /* Unicode for Font Awesome chevron-down */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    margin-left: 5px;
}

/* Hamburger menu styles for mobile view */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    /* Adjust size as needed */
    background: none;
    border: none;
}

/* Collapsible Menu for Mobile */
.collapse {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.collapse.show {
    display: block;
}

* Styles de base */ .hamburger {
    display: none;
    /* Le bouton hamburger est caché par défaut et s'affichera sur les mobiles */
    cursor: pointer;
    font-size: 30px;
    /* Taille du bouton hamburger */
}

#menu-toggle {
    display: none;
    /* La checkbox est cachée */
}




/* SECTION MACHINES & SERVICES */

.container-archive .container-service,
.container-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.machine-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.service-row,
.tools-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.machine-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

.machines-thumbnail {
    height: 450px;
}

.machines-thumbnail img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 6px 6px 0 !important;
}

.machine-details {
    margin-top: auto;
}

.machines-item {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    margin-bottom: 32px;
    background-color: #FFF;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

.machines-item h2 {
    color: #000;
    font-size: 32px;
    font-family: 'Satoshi';
    font-weight: 800;
    text-transform: uppercase;
}

.machine-item img {
    height: 250px !important;
    width: 100%;
    object-fit: cover;
    border-radius: 6px 6px 0 0 !important;
}

.machines-content {
    color: rgba(0, 0, 0, 0.5);
    font-size: 15px;
    font-family: 'Satoshi';
    font-weight: 400;
}

.images-godets {
    display: flex;
    align-items: center;
}

.godets-images img {
    border: 1px solid rgba(0, 0, 0, 0.10) !important;
    border-radius: 3px !important;
    margin-right: 12px;
    padding: 16px;
    height: 80px;
}

.godets-images {
    margin-bottom: 16px;
}

.godets-disponibles {
    font-size: 13px;
    font-family: 'Satoshi';
    font-weight: 700;
}

.other-images {
    border: 1px solid rgba(0, 0, 0, 0.10) !important;
    border-radius: 3px;
    text-align: center;
    height: 80px;
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nbr-images {
    font-size: 18px;
    font-family: 'Satoshi';
    font-weight: 900;
    margin: 0;
}

.others {
    font-size: 11px;
    font-family: 'Satoshi';
    font-weight: 400;
    margin: 0;
}

.service-item {
    /* Ajustez la largeur selon vos besoins */
    margin-bottom: 20px;
    /* Espace entre les colonnes */
    box-sizing: border-box;
}

.tools-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

.machine-item h2,
.service-item h2,
.tools-item h2 {
    color: #000;
    font-family: 'Satoshi';
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 0 15px;
}

.tools-item h2 {
    margin-top: 0;
}

.tools-item img {
    height: 300px !important;
    width: 100%;
    object-fit: cover;
    border-radius: 6px 6px 0 0 !important;
}

.machine-attribut {
    display: flex;
    flex-direction: row;
    gap: 8px;
    color: #000;
    font-family: 'Satoshi';
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.attributs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
    margin: 0 15px;
}

.machines-infos {
    padding: 0 15px;
}

.machines-price {
    display: flex;
    flex-direction: row;
    gap: 3px;
    align-items: baseline;
}

.machines-item .attributs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.attributs .machine-attribut img {
    height: 16px !important;
    width: auto;
}

.separate-price {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid rgb(0, 0, 0, 0.1);
    ;
}

.machine-content,
.service-content,
.tools-content {
    color: rgba(0, 0, 0, 0.50);
    font-family: 'Satoshi';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.tools-item .tools-content {
    padding: 0 15px;
}

.tools-price {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: baseline;
}

.machine-price {
    margin-top: auto;
}

.price-amount {
    color: #FF5008;
    font-family: 'Satoshi';
    font-size: 32px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

.price-text {
    color: #000;
    font-family: 'Satoshi';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}



.book-button {
    background-color: #FF5008;
    display: flex;
    gap: 8px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
}

.book-button-machines {
    background-color: #FF5008;
    display: flex;
    gap: 8px;
    border-radius: 2px;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
}

.book-now-link {
    margin-top: auto;
}

.book-button-tools {
    background-color: #FF5008;
    display: flex;
    gap: 8px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    margin: 0 15px 15px 15px;
}

.text-button {
    color: #FFF;
    text-align: center;
    font-family: Satoshi;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    /* 171.429% */
    text-transform: uppercase;
    margin: 0;
}


/******* FORMULAIRE *****/


.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-col {
    flex: 1;
    min-width: 45%;
}

textarea {
    height: 100px;
    /* ou 80px, ou ce que tu veux */
}

.wpcf7 input[type="submit"].btn-orange {
    background-color: #FF5008;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"].btn-orange:hover {
    background-color: #9c2f04;
}


/**** BLOG ARCHIVE ****/

.titre-archives {
    width: 1140px;
    margin: 40px auto;

    h1 {
        text-align: center;
    }
}

.grid-archive {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    width: 1140px;
    margin: 0 auto 50px auto;
}

.card {
    background-color: #FFF;
    border-radius: 5px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
    padding-bottom: 15px;

}

.card-body h3 {
    font-size: 20px;
    font-family: 'Satoshi';
    font-weight: 600;
    padding: 0 15px;
}

.card-body a {
    color: #FF5008;
}

.card-body p {
    font-size: 14px;
    font-family: 'Satoshi';
    font-weight: 400;
    padding: 0 15px;
}

.card-img {
    height: 220px;
    width: 100% !important;
    object-fit: cover;
}

.card-link {
    background-color: #FF5008;
    border: 1px solid #FF5008;
    border-radius: 5px;
    color: #000 !important;
    margin: 0 15px 15px 15px;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 500;
    transition: 0.3s;
}

.card-link:hover {
    background-color: #FFF;
}


/******** PAGE POST SINGLE *********/



.content,
.navigation-projects {
    background-color: rgba(0, 0, 0, 0.02);

}

.content-sidebar-wrapper {
    width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

.post-bg {
    padding: 50px 0 150px 0;
    background-color: rgb(255, 80, 8, 0.2);

}

.title-blog {
    width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;

    h1 {
        font-size: 38px;
        font-weight: 700;
        flex: 0 0 60%;

    }

    .post-thumbnail {
        flex: 0 0 40%;
    }

    img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }
}


.entry-content-post {
    flex-basis: 70%;
    padding-right: 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: -80px;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Satoshi';

    li {
        font-size: 15px;
        font-family: 'Satoshi';
        font-weight: 400;
    }

}

.sidebar {
    flex-basis: 30%;
    padding: 20px 20px 20px 40px;
}

.recent-articles,
.social-buttons {
    margin-bottom: 40px;

    h2 {
        font-size: 20px;
        font-weight: 700;
    }
}

.social-buttons-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 30px;
}

.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.recent-post-thumbnail {
    flex: 0 0 25%;
}

.recent-post-thumbnail img {
    margin-right: 10px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.recent-post-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.article-title {
    flex: 0 0 75%;
}

.button-post {
    color: #FF5008;
    font-size: 10px;
    font-weight: 300;
}

.social-buttons {
    display: flex;
    flex-direction: column;
}

.social-button {
    display: inline-block;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
}






.navigation-projects {
    padding: 30px 0;
}

.navigation-projects-container {
    width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.navigation-project-item {
    width: 48%;
    padding: 50px;
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nav-prev img,
.nav-next img {
    height: 200px !important;
    width: 100%;
    object-fit: cover;
}

.nav-title {
    font-size: 18px;
    margin-top: 10px;
}

.nav-label {
    font-size: 14px;
    color: #FF5008;
    margin-top: 5px;
}


/********* SINGLE MACHINE *************/

.single-moto .container-moto {
    width: 1140px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.back-link {
    color: #0F09A1;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.moto-header h1 {
    font-size: 38px;
    font-family: 'Montserrat';
    font-weight: 600;
    color: #0F09A1;
}

.moto-header .price {
    font-size: 24px;
    color: #0F09A1;
    font-weight: 500;
    font-family: 'Montserrat';
}

.img-description {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.moto-layout {
    flex: 0 0 48%;
    max-width: 48%;
    gap: 2rem;
}

.moto-attributs-container {
    flex: 0 0 48%;
    max-width: 48%;
    background-color: rgb(224, 224, 224, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
    padding: 20px;
}

.moto-attributs-wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.moto-attribut {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
}

.texte-attribut {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
}

.moto-gallery {
    flex: 1 1 60%;
}

.moto-gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.sub-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.sub-image img {
    height: 150px;
    object-fit: cover;
}

.moto-infos {
    flex: 1 1 35%;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.moto-description,
.moto-contact,
.motos-similaires {
    margin-top: 3rem;
}

.moto-description h2,
.moto-contact h2,
.motos-similaires h2 {
    font-size: 28px;
    font-family: 'Montserrat';
    font-weight: 500;
    color: #1C1C1C;
}

.description-txt {
    border: 1px solid rgb(224, 224, 224, 0.3);
    border-radius: 8px;
    color: #1C1C1C;
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 16px;
    padding: 20px;
}

.moto-contact {
    background-color: rgb(224, 224, 224, 0.3);
    padding: 20px;

    p {
        color: #1C1C1C;
        font-family: 'Montserrat';
        font-weight: 300;
        font-size: 16px;
    }
}



.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    margin-right: 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn.primary {
    background: #0F09A1;
    color: #fff;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 16px;
}

.btn.secondary {
    background: white;
    color: #0F09A1;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 16px;
}

.cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 30%;
    text-align: center;
}


/******** FOOTER ********/


footer {
    background-color: #FF50081A;

    .footer-columns {
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: row;
        padding: 30px 0;
        gap: 40px;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
        width: calc(25%);

        .reseaux {
            display: flex;
            gap: 20px;
        }
    }

    h3 {
        color: #000;
        font-size: 18px;
        font-weight: bold;
        font-family: 'Satoshi';
    }

    ul {
        list-style: none;
        padding: 0;
        line-height: 25px;
        margin: 0;
    }

    p {
        color: #fff;
        font-size: 15px;
        font-weight: 400;
        font-family: 'Satoshi';
    }

    a {
        color: #000;
        font-size: 15px;
        font-weight: 500;
        transition: 0.3s;
        font-family: 'Satoshi';
    }

    a:hover {
        color: #FF5008;
        cursor: pointer;
    }

    .fa-brands {
        color: #FF5008;
        transition: 0.3s;
    }

    .fa-brands:hover {
        color: #000;
    }

    .fa-solid {
        color: #FF5008
    }

    .logo-footer {
        width: 120px;
        height: auto;
    }

    .horaires {
        margin-top: 10px;
    }

    .follow {
        margin-top: 0;
    }
}


.bas-footer {
    background-color: #FF5008;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgb(255, 255, 255, 0.2);

    div {
        margin: 0 30px;
    }

    p,
    a {
        margin: 0;
        color: #fff;
        text-align: center;
        padding: 10px 0;
        font-size: 12px;
        font-weight: 400;
        font-family: 'Satoshi'
    }

    .infos-legales {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

}




/***************************************/
/***************************************/
/********** RESPONSIVE MOBILE **********/
/****************************************/
/****************************************/


@media (max-width: 768px) {

    h1 {
        font-size: 32px;
        line-height: 35px;
    }

    h2 {
        font-size: 28px;
        line-height: 35px;
    }

    h3 {
        font-size: 22px;
    }

    p,
    li,
    ul,
    a {
        font-size: 14px;
    }

    /** HEADER **/

    .container-header {
        justify-content: flex-start;
    }

    .logo_header {
        padding-left: 5px;
    }

    .hamburger {
        display: block;
        /* Le bouton hamburger s'affiche sur les mobiles */
        position: absolute;
        font-size: 30px;
        right: 20px;
        /* Positionnement à droite */
        top: 10px;
        /* Positionnement en haut */
        z-index: 2;
        /* S'assure que le hamburger est cliquable */
    }

    .navbar {
        padding: 0;
        width: auto;
        z-index: 10 !important;
    }

    .navbar-collapse.collapse {
        max-height: 0;
        /* Menu caché initialement */
        overflow: hidden;
        opacity: 0;
        transform: translateY(-20px);
        /* Menu légèrement décalé vers le haut */
        transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
        /* Transition fluide pour l'apparition */
        position: absolute;
        width: 100%;
        background-color: #fff;
        z-index: 1;

    }



    #menu-toggle:checked~.navbar-collapse.collapse {
        display: block;
        /* Affiche le menu lorsque la checkbox est cochée */
    }

    .navbar-collapse.collapse.show {
        transform: translateY(0);
        opacity: 1;
        max-height: none;
        top: 50px;
    }

    .navbar-collapse.collapse .nav_menu li {
        display: block;
        /* Affiche les éléments du menu en bloc pour une disposition verticale */
        text-align: left;

        /* Centre le texte des éléments du menu */
        a {
            padding-left: 10px;
        }

        a:hover {
            transform: none;
        }

    }


    .nav_menu ul {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: transform 0.5s ease-in-out, max-height 0.5s ease-in-out;
        /* Transition fluide pour l'apparition */
    }

    .nav_menu ul.open {
        transform: translateY(0);
        opacity: 1;
        max-height: none;
    }


    .nav_menu {
        list-style: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-bottom: 0;
        gap: 0;
        align-items: flex-start;
        padding: 0;
        margin-top: 0;

    }

    .nav_menu li {
        margin: 0;
        padding: 5px 0;
        border-top: 1px solid black;
        width: 100%;
    }

    header .container {
        width: 100%;
        height: auto;
        margin-top: 5px;
    }

    .thumbnail-home {
        display: none;
    }

    .nav_menu>li {
        position: relative;
        /* S'assurer que chaque élément de menu est en position relative */
    }

    .nav_menu>li ul {
        position: relative;
        /* Changer de absolute à relative */
        display: none;
        /* Masquer les sous-menus par défaut */
        width: 100%;
        /* S'assurer que le sous-menu occupe toute la largeur disponible */
        overflow: hidden;
        height: 0;
        /* Par défaut, le sous-menu est caché */
    }

    .nav_menu>li:hover ul,
    .nav_menu>li:focus-within ul {
        display: block;
        /* Afficher les sous-menus au survol ou au focus */
        overflow: hidden;
        /* Cacher tout débordement */
    }

    .nav_menu>li ul li {
        width: 100%;
        /* S'assurer que chaque élément du sous-menu prend toute la largeur */
        border-top: 1px solid black;
        /* Ajouter une bordure pour séparer les éléments */
    }

    .nav_menu>li ul li a {
        display: block;
        padding-left: 20px !important;
    }

    .hamburger+.navbar-collapse {
        position: relative;
        z-index: 1;
    }

    .nav_menu>li ul.open {
        height: auto;
        /* Le sous-menu prend sa hauteur naturelle */
    }

    /**** PAGES ****/

    .machine-item,
    .tools-item,
    .service-item,
    .machines-thumbnail {
        width: 100%;
    }

    .machine-row {
        grid-template-columns: repeat(1, 1fr);
    }

    .machines-item {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .machines-item .attributs {
        grid-template-columns: repeat(2, 1fr);
        margin: 0;
    }

    .attributs {
        flex-wrap: wrap;
    }

    .machine-attribut {
        margin-bottom: 0;
        font-size: 10px;
    }

    .machine-details {
        margin-top: 10px;
    }

    .machines-content {
        font-size: 14px;
    }

    .images-godets {
        flex-wrap: wrap;
    }

    .godets-images img {
        margin-bottom: 4px;
        margin-right: 4px;
    }

    .book-machines-link {
        width: 70%;
    }

    .machines-infos {
        height: auto;
    }

    .machines-item h2 {
        font-size: 20px;
    }

    .machines-thumbnail {
        height: 250px !important;
    }

    .machines-thumbnail img {
        border-radius: 0 0 6px 6px !important;
    }

    .book-machines-link {
        width: 100%;
    }

    .tools-row {
        grid-template-columns: repeat(1, 1fr);
    }

    .tools-item img {
        height: 250px !important;
    }

    /**** BLOG ARCHIVE ****/

    .grid-archive {
        width: auto;
        grid-template-columns: repeat(1, 1fr);
        margin: 0 10px;
    }

    .titre-archives {
        margin: 0 10px;
        width: auto;

        p {
            width: 100%;
        }

        h1 {
            font-size: 32px;
        }
    }

    .card-img {
        height: 220px;
    }

    .card-title {
        line-height: 20px;

        a {
            font-size: 18px !important;
        }
    }

    /**** POST UNIQUE ***/

    .post-bg {
        width: auto;
        padding: 50px 0 100px 0;

        .title-blog {
            width: auto;
            margin: 0 10px;
            display: flex;
            flex-direction: column;
        }

        h1 {
            margin: 0;
            font-size: 24px;
        }

        .post-thumbnail {
            text-align: center;

            img {
                width: 90%;
                text-align: center;
                margin: 15px 0;
            }
        }
    }

    .sidebar {
        display: none;
    }

    .content-sidebar-wrapper {
        width: auto;
        margin: 0 10px;
        display: block;
    }

    .entry-content-post {
        padding: 10px;
    }

    .navigation-projects-container {
        width: auto;
        margin: 0 10px;
    }

    .navigation-project-item {
        width: 50%;
        padding: 0;
    }

    .nav-prev img {
        width: 100%;
        height: auto;
    }

    .nav-title {
        font-size: 15px !important;
    }

    .nav-label {
        font-size: 10px;
    }

    /**************** FOOTER **************/


    footer {
        padding-top: 0;
    }

    footer .footer-columns {
        width: auto;
        margin: 0 auto;
        display: flex;
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
    }

    footer .footer-column {
        width: auto;
        margin: 0 10px;
        align-items: center;
    }

    .reseaux {
        display: flex;
        flex-wrap: wrap;
        margin: 0 20px;
        justify-content: center;
        gap: 30px !important;
    }

    .bas-footer {
        display: flex;
        flex-direction: column-reverse;
    }

    .infos-legales {
        gap: 15px !important;
    }

    .bas-footer p {
        padding-top: 0;
    }




}