/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.sibling-item a {
    background-color: var( --e-global-color-a4b4b27 );
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 040px 40px 40px 40px;
    padding: 15px;
    margin: 0 0px;
}

.sibling-item:nth-child(3n+1) a {
    background-color: var( --e-global-color-a4b4b27 );
}

.sibling-item:nth-child(3n+2) a {
    background-color: var( --e-global-color-primary );
}

.sibling-item:nth-child(3n+3) a {
    background-color: var( --e-global-color-secondary )
}

.sibling-item a:hover {
    border-radius: 00px 40px 40px 40px !important;
}

a.elementor-post__read-more {
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    fill: #FFFFFF;
    color: #FFFFFF!important;
    background-color: var( --e-global-color-5aefaf9 );
    border-radius: 040px 40px 40px 40px;
    padding: 5px 15px;
}

li::marker {
    color: #1CB298; /* couleur de la puce seulement */
    width:8px
}

.cats-soeurs {
   /* margin: 60px auto; */
    margin: 30px auto;
}

.sibling-item {
    display: inline-block;
    margin: 5px;
    margin: 5px 0px;
}


.cats-soeurs--slider .cats-soeurs__track [class*="sibling-item"] {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0;
    border-radius: 999px;
    font-size: .95rem;
    line-height: 1;
}
.cats-soeurs--slider .sibling-item.current a {
    font-weight: 600;
    text-decoration: underline;
}

.gform_heading {
    display: none;
}

.contactForm input, .contactForm textarea, .contactForm select {
    border: 2px solid #284A9A!important;
    box-shadow: 0 4px 4px rgba(0,0,0,0.1)!important;
    border-radius: 10px!important;
}

.contactForm input.button {
    border:0!important;
    background-color:#D12274!important;
}

.contactForm input.button:hover {
    border:0!important;
    background-color:#284A9A!important;
}

.autocompleteCPul {
    font-size: 18px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(238, 238, 238);
    padding: 10px;
    max-width: 360px;
}

.autocompleteCP {
    list-style: none;
    font-size: 16px;
    background: #fff;
    color: #284A9A;
    cursor: pointer;
}

/* Mobile : slider horizontal */
@media (max-width: 767px) {

    .cats-soeurs {
        /* margin: 60px auto; */
        margin: 20px auto;
    }

    .cats-soeurs--slider {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: .5rem;
    }
    .cats-soeurs--slider .cats-soeurs__track {
        display: inline-flex;
        gap: .5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding: 1rem; /* confort visuel */
        padding: .25rem 0;
    }
    .cats-soeurs--slider .cats-soeurs__track [class*="sibling-item"] {
        flex: 0 0 auto;
        scroll-snap-align: center;
    }
    .cats-soeurs--slider .cats-soeurs__prev,
    .cats-soeurs--slider .cats-soeurs__next {
        appearance: none;
        border: 0;
        background: #eee;
        width: 2rem; height: 2rem;
        border-radius: 999px;
        font-size: 1.5rem;
        line-height: 2rem;
        text-align: center;
        cursor: pointer;
        padding: 0;
        font-weight: 600;
    }
}

.taxos-collab {
    width: 100%;
    display: flex;
}

.taxo-collab {
    background: #fff;
    color: #000000;
    border-radius: 8px;
    margin: 0 10px 10px;
    padding: 5px 15px;
}

.taxo-collab.term-rehabilitation {
    background: #CCE6E3;
}

.taxo-collab.term-entretien {
    background: #F9E1EC;
}

.taxo-collab.term-maintenance {
    background: #CED9F3;
}


/* Desktop : liste classique (pas de slider) */
@media (min-width: 768px) {

        .cats-soeurs--slider {
        display: block;
    }
    .cats-soeurs--slider .cats-soeurs__track {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem .75rem;
        overflow: visible;      /* pas de scroll horizontal */
        justify-content: center;
    }
    .cats-soeurs--slider .cats-soeurs__prev,
    .cats-soeurs--slider .cats-soeurs__next {
        display: none;          /* pas de flèches sur desktop */
    }
}


@media (max-width: 767px) {
    .taxos-collab {
        flex-direction:column;
    }
    .sibling-item a {
        font-size: 13px;
    }
}

    .hide-1500 {
        display: none;
    }

@media (max-width: 1500px) {
    .show-1500 {
        display: none;

    }

    .hide-1500 {
        display: block;

    }
}