/*
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 */

h1,
.h1-title .elementor-heading-title{
    text-decoration-color: #698817!important;
    text-decoration-skip-ink: auto!important;
    text-decoration-thickness: 3px!important;
    text-underline-offset: auto!important;;
    text-underline-position: from-font!important;;
}
.main_cat_round .elementor-icon{
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.main_cat_round .elementor-cta__content{
    overflow: unset
}
.main_cat_round .elementor-cta__bg-wrapper{
    border-radius: 20px!important;
}
.wo-inclusive .main_cat_round .elementor-cta__content{
    overflow: hidden;
}

.wo-inclusive .main_cat_round .elementor-icon{
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.wo-inclusive .main_cat_round .elementor-cta__bg-wrapper{
    border-radius: 50%!important;
    height: 150px;
    width: 150px;
    min-height: unset!important;
    margin: auto
}
.wo-recettte-category  .main_cat_round_image .elementor-cta__bg-wrapper{
    border-radius: 20px!important;
}

.wo-recettte-category  .main_cat_round_image .elementor-cta__content{
    padding: 10px;
}
.wo-recettte-category  .main_cat_round_image .elementor-cta__content .elementor-view-default{
    display: none
}
.texte-intro {
    display: block;
}
.btn-lire-plus{
    cursor: pointer;
}
.texte-masque {
    display: none;
}

.wo_blog_vignette .elementor-post__read-more{
    font-family: "Montserrat", Sans-serif;
    color: black;
    background-color: #D3B67C;
    border-color: #D3B67C;
    border-width: 1px;
    border-radius: 20px;
    padding: 03px 10px 3px 10px;
    margin-bottom: 10px!important

}
.wo_blog_vignette .elementor-post__read-more:hover{
    background-color: white;
    border: solid 1px #D3B67C;
    color: black!important;
}


.wo_blog_vignette .elementor-post__text{
    padding-bottom: 10px;
    text-align: center
}

.wo_sub_catagories figure{
    width: 100%!important;
    display: flex!important;
    justify-content: center;
}

.wo_sub_catagories a{
    width: 100%!important;
    display: flex!important;
    justify-content: center;
}
.wo_recette_content h2,
.wo_recette_content h3{
    margin-top: 20px;
}
.wo_recette_content h2{
    font-size: 18px;
    color: #D3B67C;
}
.wo_recette_content h3,
.wo_recette_content h4,
.wo_recette_content h5,
.wo_recette_content h6{
    font-size: 16px
}
/* ===== Lire plus – base ===== */
.wo-readmore {
    /* Variables personnalisables : */
    /*--rm-mask-height: 4rem;           !* Hauteur du dégradé masquant *!*/
    --rm-mask-gap: 1rem;              /* Espace libre au-dessus du bouton */
    --rm-transition: 280ms ease;      /* Durée d’animation */
    --rm-radius: 0.75rem;             /* Rayon (si utile) */
    position: relative;
}

/* Contenu étendu : on utilise une grille 0fr → 1fr pour une transition fluide */
.wo-rm-content {
    display: grid;
    grid-template-rows: 0fr;          /* Fermé */
    transition: grid-template-rows var(--rm-transition);
}
.wo-readmore.is-open .wo-rm-content {
    grid-template-rows: 1fr;          /* Ouvert */
}
.wo-rm-inner {
    overflow: hidden;                  /* Cache l’excédent pendant l’anim */
}

/* Masque dégradé visible uniquement à l’état fermé */
.wo-readmore::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    /* On positionne le bas du masque juste au-dessus du bouton */
    bottom: calc(var(--rm-mask-gap) + 2.75rem); /* ~ hauteur du bouton */
    height: var(--rm-mask-height);
    pointer-events: none;
    /* Dégradé du fond vers transparent : adapte les couleurs à ton thème */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--e-global-color-background,#fff) 100%);
    opacity: 1;
    transition: opacity var(--rm-transition);
}
.wo-readmore.is-open::after { opacity: 0; }

/* Bouton : rotation de l’icône au toggle */
.wo-readmore .wo-rm-toggle .elementor-button-icon i,
.wo-readmore .wo-rm-toggle .eicon-chevron-down, /* selon l’icône choisie */
.wo-readmore .wo-rm-toggle svg {
    transition: transform var(--rm-transition);
}
.wo-readmore.is-open .wo-rm-toggle .elementor-button-icon i,
.wo-readmore.is-open .wo-rm-toggle svg {
    transform: rotate(180deg);
}

/* Variantes */
.wo-readmore--compact { --rm-mask-height: 2.5rem; }
.wo-readmore--large   { --rm-mask-height: 5rem; --rm-mask-gap: 1.25rem; }

/* Accessibilité visuelle du focus sur le bouton (au cas où le thème l’amoindrit) */
.wo-rm-toggle .elementor-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}


.recipes-title{
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
}