/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.liste_sommaire li {
    margin-bottom: 10px;
}

.encart-info {
    background-color: #F2FBFB;
    border: 1px solid #CFEAEA;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.encart-attention {
    background-color: #FFF6E5;
    border-left: 4px solid #F4C430;
    border-radius: 6px;
    padding: 24px;
    margin: 32px 0;
}

.faq-page-pilier .wp-block-spectra-accordion-child-item {
    margin: 0 !important;
}

/* Base TOC */
/* Look */
.toc{
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 7px;
    background: #fff;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.toc__toggle{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    border: 0;
    padding: 8px 6px;
    cursor: pointer;
}
.toc__chev{
    transition: transform .2s ease;
    display: inline-block;
}
.toc[data-open="1"] .toc__chev{ transform: rotate(180deg); }

.toc__panel{ padding: 4px 6px 10px; }
.toc__list{ margin: 0; padding-left: 18px; }
.toc__item--h3{ margin-left: 12px; list-style: circle; }
.toc__link{ text-decoration: none; }
.toc__link:hover{ text-decoration: underline; }

/* Espacements selon emplacement */
.toc-slot--top .toc{ margin: 14px 0 18px; }
.toc-slot--sidebar .toc{ margin: 0 0 18px; }

.site-primary-header-wrap {
    max-width: 1280px !important;
}

.wp-block-search__inside-wrapper {
    flex-direction: column;
}

.wp-block-search__inside-wrapper .wp-block-search__button {
    margin: 10px 0 0 0 !important;
}

#back-to-top {
    display: inline-block;
    color: #2d94af;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;

}

#back-to-top:hover {
    opacity: 0.7;
    cursor: pointer;
}

#astra-footer-menu a {
    color: #2d94af;
}

#c1997b27,
.srfm-form-container.srfm-bg-color
{
    background: inherit !important;
}

.single-post .wp-block-list {
    padding-left: 40px;
}

.breadcrumb {
    font-size:14px;
    margin-bottom:20px;
    color:#777;
}

.breadcrumb a{
    text-decoration:none;
    color:#2d94af;
}

.breadcrumb a:hover{
    text-decoration:underline;
}

.single-post article.type-post {
    padding-left: 0;
}

/* Background des pages article */
.single-post #main article.ast-article-single {
    background-color: #e9f9f9;
}

.ast-separate-container .ast-article-single {
    padding-top: 0 !important;
}

.single-post h2 {
    margin-top: 50px;
}

/**  FAQ ***/


/* 1. Toujours cacher la réponse, mais permettre la transition sur max-height */
.schema-faq-answer {
    overflow: hidden;                    /* Masque le contenu hors de la boîte */
    max-height: 0;                       /* Bien fermer au départ */
    transition: max-height 0.3s ease;    /* Animation fluide */
    margin : 10px 0px;
}

/* 2. Quand on ajoute la classe "active", on ouvre la réponse */
.schema-faq-answer.active {
    /*
       On met une valeur "larger than needed". Ensuite, en JS on va ajuster
       dynamiquement max-height à height réelle (scrollHeight).
       Mais on peut aussi laisser une valeur très grande si on ne veut pas
       gérer scrollHeight en JS.
     */
    max-height: 500px;  /* Attention : 500px doit être > hauteur max du contenu */
}

/* 3. Pour que la question affiche une main au survol
   et pour distinguer plus facilement la partie cliquable */
.schema-faq-question {
    cursor: pointer;
    display: block;        /* S'assure qu'on prend toute la largeur */
    margin-bottom: 0.2em;  /* Un petit espacement sous la question */
}

/* 4. Facultatif : ajouter un indicateur visuel (+ / –) */
/* On utilise ::after pour injecter un simple + ou – */
.schema-faq-question::after {
    content: "➕";          /* Icône + par défaut */
    float: right;
    transition: transform 0.3s ease;
}

/* Quand la réponse est ouverte, on inverse l’icône */
.schema-faq-section.opened > .schema-faq-question::after {
    content: "➖";          /* Icône – lorsque c'est ouvert */
}

#breadcrumb-page {
    padding: 0 1.5em 0 1.5em;
}


@media (min-width: 545px){
    #breadcrumb-page {
        padding: 0 2.14em 0 2.14em;
    }
}


/* Desktop sticky quand il est dans la sidebar */
@media (min-width: 990px){
    .toc-slot--sidebar .toc{
        position: sticky;
        top: 90px; /* ajuste header */
        max-height: calc(100vh - 120px);
        overflow: auto;
    }

    .home #secondary ,
    .single-post #secondary {
        width: 25% !important;
    }

    .home #primary {
        width: 75% !important;

    }

    .single-post #primary {
        width: 100% !important;
    }

    .ast-right-sidebar #secondary {
        padding-left: 30px;
    }

    #breadcrumb-page {
        padding: 0 2.14em 0 2.14em;
    }

}

@media (min-width: 1200px){
    #breadcrumb-page {
        padding: 0 6.67em 0 6.67em;
    }

}
@media (max-width: 550px){
    .custom-logo {
        max-width: 100px !important;
    }

    .home h1 {font-size: 30px !important;}
    .home h2 {font-size: 25px !important;}
    .home h3 {font-size: 22px !important;}
}
