.elementor-521 .elementor-element.elementor-element-2c27dca4 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-521 .elementor-element.elementor-element-2c27dca4{padding:50px 0px 10px 0px;}.elementor-521 .elementor-element.elementor-element-502640a7 > .elementor-element-populated{padding:0px 0px 0px 25px;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );}.elementor-521 .elementor-element.elementor-element-6c4c86af{text-align:left;}.elementor-521 .elementor-element.elementor-element-6c4c86af .elementor-heading-title{color:#bfbfbf;font-size:15px;font-weight:300;text-transform:uppercase;}.elementor-521 .elementor-element.elementor-element-4f312c5{text-align:left;}.elementor-521 .elementor-element.elementor-element-4f312c5 .elementor-heading-title{color:var( --e-global-color-text );font-size:45px;font-weight:600;}.elementor-521 .elementor-element.elementor-element-438c230{text-align:center;}.elementor-521 .elementor-element.elementor-element-438c230 .elementor-heading-title{color:var( --e-global-color-a0622a3 );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}@media(max-width:1024px){.elementor-521 .elementor-element.elementor-element-2c27dca4{padding:100px 25px 100px 25px;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-521 .elementor-element.elementor-element-438c230 .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );}}@media(max-width:480px){.elementor-521 .elementor-element.elementor-element-2c27dca4{padding:50px 20px 50px 20px;}.elementor-521 .elementor-element.elementor-element-502640a7 > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-521 .elementor-element.elementor-element-4f312c5 .elementor-heading-title{font-size:35px;}.elementor-521 .elementor-element.elementor-element-438c230 .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );}}/* Start custom CSS for shortcode, class: .elementor-element-b03e7d6 *//* CSS pour personnaliser le rendu du shortcode des marques */
.brands-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si l'espace est insuffisant */
}

.brand {
    border: 1px solid #ccc;
    margin: 10px;
    padding: 10px;
    width: calc(33.33% - 20px); /* Répartit les éléments sur 3 colonnes avec marge */
    box-sizing: border-box; /* Comprend les marges dans la largeur */
    text-align: center;
}

.brand-name {
    font-weight: bold;
    margin: 5px 0;
}
.brand-name  a {
    color: #0083C8;
}
/*.brand-logo img {
    max-width: 100px;
    max-height: 100px;
    margin: 5px auto;
    display: block;
}*/

.brand-short-description,
.brand-long-description {
    margin: 5px 0;
}

/* Media query pour gérer la mise en page sur des écrans plus petits */
@media screen and (max-width: 768px) {
    .brands-list {
        flex-direction: row; /* Affiche les marques en ligne sur les écrans plus petits */
    }

    .brand {
        width: calc(50% - 20px); /* Occupe la moitié de la largeur disponible sur les écrans plus petits */
    }
     .brand-short-description {
        display: none; /* Cache la div avec la classe brand-short-description en mode mobile */
    }
}


/* Configuration de la grille pour .brand-details */
.brand-details {
    display: grid;
    grid-template-columns: 1fr; /* Une seule colonne prenant toute la largeur */
    grid-template-rows: auto auto auto auto; /* Quatre lignes pour chaque élément: titre, logo, description, et lien */
    gap: 20px; /* Espacement entre les lignes */
}



/* Styliser le logo */
.brand-logo img {
    width: 130px; 
    height: auto;
}

/* Styliser la description */

.brand-long-description p {
    text-align: justify;
    max-width: 800px; 
}

/* Styliser le lien vers les produits */
.brand-details .brand-products-link a {
    color: #0083C8;
    text-decoration: none; 
    font-weight: bold; 
    padding: 10px 20px; 
    border: 1px solid #0083C8; 
    border-radius: 5px; 
    transition: background-color 0.3s ease; 
}

.brand-details .brand-products-link a:hover {
    background-color: #0083C8;
    color: #ffffff;
}

.brand-details h2
{
    color: #0083C8;
}/* End custom CSS */