/* Conteneur principal pour le contenu Gutenberg avec overlay léger */
.custom-home-content {
    max-width: 1200px;
    margin: -50px auto 60px; /* remonte légèrement le contenu vers la bannière */
    padding: 60px 30px;
    background: rgba(255, 255, 255, 0.95); /* léger overlay blanc semi-transparent */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fade-in au scroll */
.custom-home-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Titres dans le contenu Gutenberg */
.custom-home-content h1,
.custom-home-content h2,
.custom-home-content h3,
.custom-home-content h4 {
    font-family: 'Playfair Display', serif;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #222;
}

/* Paragraphes */
.custom-home-content p {
    margin-bottom: 1.2em;
}

/* Boutons Gutenberg */
.custom-home-content .wp-block-button__link {
    background-color: #e8c7a0;
    color: #fff;
    padding: 0.8em 1.5em;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.custom-home-content .wp-block-button__link:hover {
    background-color: #d1a872;
    transform: translateY(-2px);
}

/* Images dans Gutenberg */
.custom-home-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
}

/* Alignements centrés */
.custom-home-content .aligncenter {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Script simple pour déclencher l’animation fade-in */

/* Ajustement léger des marges internes du cadre */
.custom-home-content {
    padding-left: 15px;   /* marge gauche */
    padding-right: 15px;  /* marge droite */
}


/* Forcer tous les blocs à avoir un petit espace interne */
.custom-home-content .wp-block {
    padding-left: 10px;   /* léger espace à gauche */
    padding-right: 10px;  /* léger espace à droite */
    box-sizing: border-box; /* pour que le padding ne dépasse pas le conteneur */
}

/* Masquer le fil d’Ariane sur toutes les pages intérieures */
.page .breadcrumb,
.single .breadcrumb {
    display: none;
}


/* --- Conteneur du logo en flex pour alignement photo + logo --- */
.site-logo {
    display: flex;
    align-items: center;
}

}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .site-logo::before {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
}





