:root {
    --titles-1: rgb(247, 101, 152);
    --titles-2: rgb(13, 66, 63);
    --titles-3: rgb(14, 93, 93);
    --paragraphs: rgb(19, 95, 66);
    --texts: rgb(3, 65, 75);
    --vert-bouteille: rgb(32, 105, 74);
    --rose: rgb(239, 164, 184);
    --vert-gazon: rgb(50, 175, 94);
    --vert-clair: rgb(140, 197, 140);
    --vert-clair-50: rgb(140, 197, 140, 0.5);
    --vert-opalescent: rgb(140, 197, 140, 0.5);
    --rose-petant: rgb(252, 126, 169);
    --rose-rouge: rgb(249, 21, 105);
    --bleu: rgb(54, 173, 193);
    --bg-info: rgb(119, 198, 206);
    --bg-text-color: rgb(1, 83, 81);
    --font-body: "ff-cocon-pro", sans-serif;
    --base-font-size: 19px;
    --font-content-line-height: 21px;
    --content-max-width: 1380px;
    --max-lines: 8;
}

html {
    background-color: #fff;
    font-family: var(--font-body);
    color: var(--texts);
}

ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 1em;
    font-weight: 200;
    padding-bottom: 20px;
}

ol {
    list-style: decimal;
    padding-left: 20px;
    font-size: 1em;
    font-weight: 200;
    padding-bottom: 20px;
}

ol li,
ul li {
    margin-bottom: 0.5em;
    line-height: 1.4em;
    padding-left: 10px;
}

ol ol,
ul ul,
ol ul,
ul ol {
    padding-top: 0.5em;
    padding-bottom: 0;
}

ol ol {
    list-style-type: lower-alpha;
}

ol ol ol {
    list-style-type: lower-roman;
}

article .content ol,
article .content ul {
    color: var(--texts);
    margin-bottom: 1.5em;
}

a, 
a:link,
a:visited {
    color: var(--rose-petant);
    text-decoration: underline;
}

a:hover {
    color: var(--vert-gazon);
    text-decoration: none;
}

a[class*=button],
a.nav-link,
header a,
header a:link,
footer a,
footer a:link {
    text-decoration: none;
}

a[class=cat-link],
a.know-more {
    text-decoration: none;
    color: inherit;
}

.socials a {
    width: 24px;
    display: block;
}

.socials .socials-prefix {
    font-weight: 200;
}

.strong,
a.strong,
a.strong:link,
a.strong:visited  {
    font-weight: 500 !important;
}

[class*="rounded"] {
    border-radius: 40px;
}

[class*="mask"] {
    overflow: hidden;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

[class*=shadowed] {
    box-shadow: 9px 9px 13px rgba(0, 0, 0, 0.16), 
        inset 0px 1px 0 #e8e8e8;
}

[class*="button"] {
    font-family: "neusa-next-std", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 19px;
    display: block;
    width: fit-content;
    padding: 0.25em 1.33em;
    box-shadow: 2px 4px 6px rgb(0 0 0 / 36%);
    cursor: pointer;
    /* padding: 10px 31px; */
}

.margin-center {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

[class*=centered] {
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 700px) 
{
    [class*=centered] {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0%);
    }
}

[class*="outer"] {
    position: absolute;
}

[class*="outer"][class*="bottom"] {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

[class*=calendar]::before {
    content: url(../images/calendar.svg);
    display: inline-block;
    width: 38px;
    transform: translate(-12px, 0.5em);
}

[class*=calendar].noir::before,
[class*=calendar].bleu-noir::before,
[class*=calendar].vert-bouteille::before,
[class*=calendar].vert-clair::before,
[class*=calendar].vert-gazon::before,
[class*=calendar].vert-sombre::before,
[class*=calendar].rose::before,
[class*=calendar].rose-petant::before,
[class*=calendar].bleu::before,
[class*=calendar].bleu-clair::before {
    content: url(../images/calendar-white.svg);
} 

[class*=calendar].txt-noir::before{
    content: url(../images/calendar.svg);
} 
[class*=calendar].txt-bleu-noir::before{
    content: url(../images/calendar-bleu-noir.svg);
} 
[class*=calendar].txt-vert-bouteille::before{
    content: url(../images/calendar-vert-bouteille.svg);
} 
[class*=calendar].txt-vert-clair::before{
    content: url(../images/calendar-vert-clair.svg);
} 
[class*=calendar].txt-vert-gazon::before{
    content: url(../images/calendar-vert-gazon.svg);
} 
[class*=calendar].txt-vert-sombre::before{
    content: url(../images/calendar-vert-sombre.svg);
} 
[class*=calendar].txt-rose::before{
    content: url(../images/calendar-rose.svg);
} 
[class*=calendar].txt-rose-petant::before{
    content: url(../images/calendar-rose-petant.svg);
} 
[class*=calendar].txt-bleu::before{
    content: url(../images/calendar-bleu.svg);
}

[class*=calendar] {
    font-family: var(--font-body);
    /* padding-left: 40px; */
    line-height: 3em;
    font-size: inherit;
    margin-top: 60px
}

@media (max-width: 320px) {
    [class*=calendar][class*="centered"] {
        position: absolute;
        left: 50%;
        width: 96%;
        transform: translateX(-50%);
    }
}

@media (min-width: 1024px) 
{
    [class*=calendar]{
        margin-top: 150px;
    }
}


/* -- Couleurs -- */

.noir,
a.noir,
a.noir:visited,
a.noir:link {
    color: #fff;
    background-color: #000;
}

.txt-noir {
    color: #000 !important;
}

.bleu-noir,
a.bleu-noir,
a.bleu-noir:visited,
a.bleu-noir:link {
    color: #fff;
    background: var(--texts)
}

.txt-bleu-noir {
    color: var(--texts) !important;
}

.vert-bouteille,
a.vert-bouteille,
a.vert-bouteille:visited,
a.vert-bouteille:link {
    color: #fff;
    background-color: var(--vert-bouteille);
}

.txt-vert-bouteille {
    color: var(--vert-bouteille) !important;
}  

.vert-clair,
a.vert-clair,
a.vert-clair:visited,
a.vert-clair:link {
    color: #fff;
    background-color: var(--vert-clair);
}

.txt-vert-clair {
    color: var(--vert-clair) !important;
}  

.vert-gazon,
a.vert-gazon,
a.vert-gazon:visited,
a.vert-gazon:link {
    color: #fff;
    background-color: var(--vert-gazon);
}

.txt-vert-gazon {
    color: var(--vert-gazon) !important;
}  

.vert-sombre,
a.vert-sombre,
a.vert-sombre:visited,
a.vert-sombre:link {
    color: #fff;
    background-color: var(--bg-text-color);
}

.txt-vert-sombre {
    color: var(--bg-text-color) !important;
}  

.rose,
a.rose,
a.rose:visited,
a.rose:link {
    color: #fff;
    background-color: var(--rose);
}

.txt-rose {
    color: var(--rose);
}  

.bleu,
a.bleu,
a.bleu:visited,
a.bleu:link {
    color: #fff;
    background-color: var(--bleu);
}

.txt-bleu {
    color: var(--bleu) !important;
}

.bleu-clair,
a.bleu-clair,
a.bleu-clair:visited,
a.bleu-clair:link {
    color: #fff;
    background-color: var(--bg-info);
}

.txt-bleu-clair {
    color: var(--bg-info) !important;
}

.rose-petant,
a.rose-petant,
a.rose-petant:visited,
a.rose-petant:link {
    color: #fff;
    background-color: var(--rose-petant);
}

.txt-rose-petant {
    color: var(--rose-petant) !important;
}

/* ---- */

/**
    ===== Titres =====
*/
[class*="colored-title"] {
    display: block;
    font-size: 25px;
    font-weight: 200;
    width: 90vw;
    margin: 34px 0 60px 0;
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 4px 3px 7px 0px rgb(0 0 0 / 36%);
}

.colored-title-left {
    border-radius: 0 40px 40px 0;
    text-align: right;
    padding-right: 40px;
    max-width: 540px;
}

.colored-title-right {
    border-radius: 40px 0 0 40px;
    text-align: left;
    padding-left: 40px;
    float: right;
    max-width: 1100px;
}
.colored-title-right + * {
    clear: both;
}


/**
    ===== HEADER ====
*/
header {
    position: relative;
    height: 79px;
    width: 100%;
    background: #fff;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.16);
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    z-index: 99;
} 

header nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    column-gap: 20px;
}

header nav .nav-link {
    display: none;
}

header nav .main-logo {
    width: 92px;
    display: block;
}

header nav .main-logo.nav-link {
    margin-top: 0;
}  

header nav .main-logo img {
    transform: translate(0px, 5px);
    transition: transform 0.3s 0.3s;
}

.menu-box {
    position: absolute;
    top: 50%;
    right: 0px;
    width: 30px;
    transform: translate(-50%, -50%);
}

header .socials {
    position: absolute;
    right: 24px;
    top: 50%;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 6px;
    transform: translateY(-50%);
    display: none;
}

header nav:not(.sidebar-container).opened .main-logo img {
    transform: translate(0, -100%);
    transition: transform 0.3s;
}

@media (min-width: 1024px) 
{
    header {
        height: 150px;
    }

    header .socials {
        display: flex;
    }

    header nav .main-logo {
        width: 168px;
        margin: 0 30px;
        min-width: 160px;
    }

    header nav .main-logo img,
    header nav:not(.sidebar-container).opened .main-logo img {
        transform: translate(0px, 10px);
        transition: none;
    }

    header .menu-box {
        display: none;
    } 

    header nav .nav-link {
        display: block;
        height: 50%;
        color: var(--titles-3);
        font-size: 0.85em;
        line-height: 1.5em;
        text-align: center;
        margin-top: 56px;
    } 

    /**
        -- Scroll Management --
    */
    header.scrolled {
        position: fixed;
        font-size: 15px;
        height: 90px;
        top: 0;
        left: 0;
    }

    header.scrolled .nav-link {
        margin-top: 30px;
    }

    header.scrolled nav .main-logo {
        width: 113px;
        min-width: 113px;
    }
    
    header.scrolled nav .main-logo img {
        transform: translate(0px, 10px);
    }
    /**
        -- End Scroll Management --
    */
}

@media (min-width: 1240px) 
{
    header {
        height: 160px;
    }

    header nav {
        column-gap: 25px;
    } 

    header nav .main-logo img {
        transform: translate(0px, 20px);
    }

    header nav .nav-link {
        font-size: 1em;
        line-height: 1.4em;
        font-weight: inherit;
    } 
    header nav .main-logo {
        width: 180px;
    }
}
/* ===== End header ===== */

/**
    ====== Menu Mobile =====
*/
section.sidebar-container {
    width: 268px;
    height: 100%;
    overflow: scroll;
    box-shadow: 1px 3px 16px rgb(0, 0, 0, 0.16);
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    font-size: 1em;
    line-height: 1.2em;
    background: #fff;
    padding: 10px;
}
section.sidebar-container * {
    padding-bottom: 2em;
    display: block;
} 
section.sidebar-container:not(.opened) {
    transform: translate(-100%);
    transition: transform 0.3s;
}

section.sidebar-container.opened {
    transform: translate(0%);
    transition: transform 0.3s 0.3s;
}

section.sidebar-container nav {
    margin-top: 80px;
} 

section.sidebar-container nav .main-logo {
    position: absolute;
    top: 0;
    left: calc( 268px * 0.5 );;
    width: 26%;
    transform: translate(-50%, 8px);
}

section.sidebar-container nav a > br {
    display: none;
}

section.sidebar-container nav a.nav-link::after{
    content: "\a";
    white-space: pre;
} 

section.sidebar-container nav a.nav-link.active {
    color: var(--titles-1);
}

section.sidebar-container .socials {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 98px;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}


@media (min-width: 1024px) 
{
    section.sidebar-container {
        display: none;
    }
}

/* ===== End Menu Mobile ===== */

/**
    ===== Module Info =====
*/
section.info {
    background: var(--bg-info);
    position: relative;
    color: var(--bg-text-color);    
    font-size: 19px;
    padding-top: 23px;
    padding-bottom: 36px;
} 

section.info h2,
section.info p,
section.info .info-images {
    --padding: 44px;
    --max-width: 866px;
}

section.info h2 {
    display: block;
    font-weight: 400;    
    font-size: 1.12em;
    line-height: 1.1em;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px var(--padding);
}

section.info p {
    font-size: 0.9em;
    line-height: 1.1em;
    font-weight: 100;
    padding: 0px var(--padding) 36px;
    max-width: var(--max-width);
    margin: 0 auto;
}

section.info a,
section.info a:hover,
section.info a:visited {
    color: #fff;
}


section.info .info-images {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    height: 85px;
}

section.info img {
    padding: 0;
    margin: 0 30px;
    object-fit: contain;
    height: 100%;
}


@media (min-width: 1024px) 
{
    section.info {
        font-size: 25px;
    }

    section.info h2 {
        font-size: 1.2em;
        line-height: 1.3em;
    }

    section.info .info-images {
        height: auto;
        top: initial;
    }
}

@media (min-width: 1040px) 
{
    Section.info {
        display: block;
        padding-bottom: 40px;
    } 

    section.info h2,
    section.info p,
    section.info .info-images {
        --padding: 10px;
        --max-width: 918px;
        width: 65vw;
    }

    section.info .info-images {
        position: relative;
    }
    
    section.info .info-images img {
        padding: 30px 16px;
        margin: 0;
        object-fit: unset;
        height: auto;
    }


    section.info .masquotte {
        position: absolute;
        bottom: 0px;
        left: 0px;
        transform: translateX(-100%);
        padding: 0;
        width: 17vw;
        max-width: 195px;
    } 
    Section.info .illumination {
        position: absolute;
        bottom: 0px;
        right: 0px;
        transform: translateX(100%);
        padding: 0;
    }
}

/* ===== End Module Info ===== */

/**
    ===== Général Contenu =====
*/
main.wrapper {
    background: #fff;
    z-index: 98;
    width: 100%;
    position: relative;
}

section {
    padding-bottom: 60px;
}

/* ====== END Général Contenu */

/* ====== Simple page ===== */

.simple-page {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 35px calc( 60px + 1em);
    font-size: 1em;
    font-weight: 200;
}

.simple-page h2,
.simple-page h3,
.simple-page h4,
.simple-page h5 {
    padding: 1em 0 0.5px; 
} 

.simple-page h2 {
    font-weight: 500;
    font-size: 1.2em;
    color: var(--titles-1);
} 
.simple-page h3 {
    font-weight: 400;
    font-size: 1.1em;
    color: var(--titles-2);
} 
.simple-page h4 {
    font-weight: 400;
    font-size: 1em;
    color: var(--titles-3);
} 


/* ====== END simple page ===== */

/**
    ====== Breadcrumb =====
*/
.breadcrumb {
    font-size: 0.9em;
    font-weight: 200;
    padding: 0 35px;
    margin-top: 10px;

    .separator {
        margin: 0 10px;
    }

    .text {
        display: inline-block;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }
}

/** 
===== Module Newsletter ====
*/

section.newsletter-module {
    --row-gap: 25px;
    background: var(--vert-clair-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: var(--row-gap);
    padding: 20px 5px;
    margin: 34px 0 60px;
    box-shadow: inset -1px 4px 10px 3px rgb(0 0 0 / 11%), 
            0px -3px 13px 0px rgba(0 0 0 / 11%) inset;
}

section.newsletter-module.rose-bg {
    background: rgb(239 164 184 / 47%);
}

section.newsletter-module .newsletter-header {
    display: flex;
    flex-direction: column;
    row-gap: var(--row-gap);
    align-items: center;
}

section.newsletter-module img.emailing {
    width: 100px;
}

section.newsletter-module p {
    font-size: inherit;
    line-height: 1em;
    text-align: center;
    padding: 0px 10px;
    font-weight: 200;
    max-width: 300px;
}

section.newsletter-module form {
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

section.newsletter-module form input,
section.newsletter-module form textarea {
    text-align: inherit;
    font-size: 0.8em;
}

section.newsletter-module form input {
    width: 100%;
}

section.newsletter-module form input.formEmailButton {
    background-color: var(--vert-bouteille);
    color: #fff;
}

section.newsletter-module.rose-bg form input.formEmailButton {
    background: var(--rose-petant);
}

@media (min-width: 600px) 
{
    section.newsletter-module form {
        width: 600px;
        margin: 0 auto;
    }
} 

@media (min-width: 1024px) 
{
    section.newsletter-module form {
        font-size: inherit;
    }

    section.newsletter-module form {
        width: 540px;
    }

    section.newsletter-module .newsletter-header {
        flex-direction: row;
    }
    
    section.newsletter-module form input.formEmailButton {
        font-size: 1em;
    }
}
/* ====== END Newsletter ===== */

/**
    ===== Module Info =====
*/

article.alternative-image-text {
    position: relative;
}

article.alternative-image-text {
    padding: 0 35px;
    position: relative;
} 

.several-articles article.alternative-image-text {
    padding-bottom: calc(60px + 1em);
}

article.alternative-image-text h2,
article.alternative-image-text h3 {
    font-weight: 400;
    padding-bottom: 12px;
    line-height: 1.25em;
}

article.alternative-image-text .categories {
    display: flex;
    padding: 5px 0 10px;
}

article.alternative-image-text .categories img {
    width: 1em;
    margin-right: 5px;
}

article.alternative-image-text .category-name {
    display: inline-block;
    background-color: #47ae7d24;
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 0.8em;
    line-height: 1.2em;
    margin-right: 5px;
}

article.alternative-image-text .comment-count {
    position: absolute;
    top: 6px;
    right: 6px;
    color: #fff;
    padding: 4px 7px 4px 5px;
    border-radius: 10px;
    font-size: 0.8em;
    line-height: 0.94em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    column-gap: 5px;
    background: #00000024;
}

article.alternative-image-text .comment-count::before {
    content: url(../images/comment_white.svg);
    width: 1em;
}

article.alternative-image-text:nth-of-type(2n) h2,
article.alternative-image-text:nth-of-type(2n) h3,
article.alternative-image-text:nth-of-type(2n) .know-more {
    color: var(--rose-petant);
}

article.alternative-image-text:nth-of-type(2n + 1) h2,
article.alternative-image-text:nth-of-type(2n + 1) h3,
article.alternative-image-text:nth-of-type(2n +1) .know-more {
    color: var(--bleu);
}

article.alternative-image-text .meta-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

article.alternative-image-text .meta-wrapper .categories,
article.alternative-image-text .meta-wrapper .article-date {
    padding: 0;
}

article.alternative-image-text:nth-of-type(2n + 1) .meta-wrapper {
    justify-content: flex-start;
}

article.alternative-image-text:nth-of-type(2n) .meta-wrapper {
    justify-content: flex-end;
}

@media (min-width: 1024px) {
    article.alternative-image-text:nth-of-type(2n + 1) .meta-wrapper {
        text-align: left;
        justify-self: start;
    }

    article.alternative-image-text:nth-of-type(2n) .meta-wrapper {
        text-align: right;
        justify-self: end;
    }
}

article.alternative-image-text .article-date {
    display: flex;
    padding: 5px 0 10px;
    align-items: center;
}

article.alternative-image-text .article-date img {
    width: 1em;
    margin-right: 5px;
}

article.alternative-image-text .article-date span {
    font-size: 0.8em;
    line-height: 1.2em;
    color: var(--texts);
    opacity: 0.7;
}

article.alternative-image-text > .img-article {
    width: 100%;
    height: 370px;
    padding: 0 0 15px;
    display: block;
    position: relative;
}

article.alternative-image-text > img.img-article,
article.alternative-image-text > .img-article > img,
article.alternative-image-text > a.img-article > img {
    object-fit: cover;
    /* object-position: 50% 85%; */
    width: 100%;
    height: 100%;
    overflow: hidden;
}

article.alternative-image-text > a.img-article > img {
    height: 100%;
}

article.alternative-image-text p {
    font-size: 1em;
    font-weight: 100;
    line-height: 1.2em;
    padding-bottom: 1em;
}

article.alternative-image-text a.know-more,
article.alternative-image-text a.know-more:link,
article.alternative-image-text a.know-more:visited
{
    text-align: right;
    border-bottom: 2px solid;
    line-height: 1.3em;
    float: right;
}
article.alternative-image-text a.know-more::after {
    clear: both;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

body:not(.home) article.alternative-image-text .category-name {
    z-index: 2;
    cursor: pointer;
}

body:not(.home) article.alternative-image-text .category-name:hover {
    background-color: #47ae7d;
    color: #fff;
}

article.readmore.alternative-image-text a.know-more,
article.readmore.alternative-image-text a.know-more:link,
article.readmore.alternative-image-text a.know-more:visited {
    display: none;
}

article.alternative-image-text a.know-more:hover {
    border-bottom: 2px solid transparent;
}

@media (min-width: 425px){
    article.alternative-image-text > .img-article,
    article.alternative-image-text > .img-article > img, 
    article.alternative-image-text > img.img-article {
        height: 500px;
    }
}

@media (min-width: 1024px){
    article.alternative-image-text {
        display: grid;
        grid-template-rows: auto 1fr auto;
        column-gap: 64px;
        max-width: var(--content-max-width);
        margin: 0 auto;
    }
    
    article.alternative-image-text:nth-of-type(2n + 1) {
        grid-template-columns:400px 1fr;
        grid-template-areas: 
            "img title"
            "img text"
            "img link";
    }

    article.alternative-image-text:nth-of-type(2n) {
        grid-template-columns: 1fr 400px;
        grid-template-areas: 
            "title img"
            "text img"
            "link img";
    }

    article.alternative-image-text > h3 {
        grid-area: title;
        padding-bottom: 10px;
        font-size: 1.4em;
    }

    article.alternative-image-text:nth-of-type(2n + 1)  > h3,
    article.alternative-image-text:nth-of-type(2n)  > a.know-more {
        text-align: left;
        justify-self: start;
    }

    article.alternative-image-text:nth-of-type(2n) > h3,
    article.alternative-image-text:nth-of-type(2n + 1)  > a.know-more  {
        text-align: right;
        justify-self: end;
    }

    article.alternative-image-text > .img-article {
        grid-area: img;
        padding: 0;
    }

    article.alternative-image-text > .content {
        grid-area: text;
    }

    article.alternative-image-text > .know-more {
        grid-area: link;
        align-content: end;
        width: fit-content;
    }

    article.alternative-image-text.readmore > .know-more,
    article.alternative-image-text.readmore:nth-of-type(2n + 1)  > a.know-more,
    article.alternative-image-text.readmore:nth-of-type(2n)  > a.know-more 
     {
        grid-area: link;
        justify-self: center;
        width: fit-content;
        text-decoration: none;
        border: 0px;
    }

    article.readmore.alternative-image-text a.know-more,
    article.readmore.alternative-image-text a.know-more:link,
    article.readmore.alternative-image-text a.know-more:visited {
        display: block;
    }

    article.readmore .content {
        max-height: calc(var(--max-lines) * 1lh);
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
        transition: max-height 0.2s 0.3s;
    }

    article.readmore.opened  .content {
        max-height: 100%;
        transition: max-height 0.2s 0.3s;
    }

    article.readmore  .content > p {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    article.readmore > a.know-more img {
        width: 40px;
    }

    article.readmore:not(.opened) > a.know-more {
        transform: rotate(0deg);
        transition: transform 0.2s;
    }

    article.readmore.opened > a.know-more {
        transform: rotate(-180deg);
        transition: transform 0.2s;
    }
}

/* ===== END Module Info ===== */

/** 
    ====== Modules cartes =====
*/
article.rounded-card {
    --img-size: 82px;
    position: relative;
    margin: 30px 10px 76px;
    min-height: 400px;
    width: calc( 100% - 20px);
}

a.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

article.rounded-card  > * > img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--img-size);
    object-fit: cover;
    object-position: 50% 50%;
    z-index: -1;
} 

article.rounded-card > * > h3,
article.rounded-card .content {
    --padding-sides: 15px;
    margin-left: calc( var(--img-size));
    padding-left: var(--padding-sides);
    padding-right: var(--padding-sides);
}

article.rounded-card > * > h3 {
    text-align: center;
    line-height: 1.2em;
    padding: 1em 0 1.2em;
}

article.rounded-card .content {
    font-size: 0.86em;
    line-height: 1.2em;
    font-weight: 100;
    padding-bottom: 40px;
    text-align: left;
    max-height: calc( 1.2em * 10 );
    overflow: hidden;
} 

article.rounded-card p:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

article.rounded-card a.rounded-button  {
    z-index: 80;
}

.breadcrumb-category-filter {
    margin-top: 10px;
    margin-left: 25px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.breadcrumb-category-filter.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.category-filter-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(71, 174, 125, 0.08); /* Fond très léger pour distinguer */
    padding: 6px 12px;
    border-radius: 20px;
}

.category-filter-breadcrumb .active-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-filter-breadcrumb .category-name {
    display: inline-block;
    background-color: #47ae7d24;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 0.85em;
    line-height: 1.2em;
    font-weight: 300;
    color: var(--vert-bouteille); /* Utilise la couleur verte du thème */
}

.category-filter-breadcrumb img {
    width: 0.9em;
    opacity: 0.8;
}

.category-filter-breadcrumb .remove-filter {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 4px;
    color: var(--texts);
    opacity: 0.5;
    transition: all 0.2s ease;
}

.category-filter-breadcrumb .remove-filter:hover {
    opacity: 1;
    color: var(--rose-petant); /* Utilise le rose du thème au hover */
}

/* Ajustement responsive */
@media (min-width: 768px) {
    .breadcrumb-category-filter {
        margin-top: 12px;
        margin-left: 35px;
    }
}

@media (min-width: 768px)
{
    section.boxed-cards {
        --column-gap: 5%;
        max-width: var(--content-max-width);
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        column-gap: var(--column-gap);
        flex-direction: row;
        align-content: stretch;
        align-items: stretch;
        justify-content: space-evenly;
    }
        

    article.rounded-card {
        margin: 30px 0 76px;
        flex: 0 0 calc(50% - var(--column-gap));
    }
}

@media (min-width: 1240px) 
{
    section.boxed-cards {
        --column-gap: 8%;
    }
}

/* ===== END Modules cartes ===== */

/* ===== FOOTER ===== */
footer {
    width: 100%;
    position: relative;
    padding: 9px 36px;
    margin: 60px 0 0;
}

footer .logo {
    width: 82px;
}

footer .footer-title {
    font-size: 1.4em;
    font-weight: 300;
}

footer .socials {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 12px;
    position: absolute;
    top: 9px;
    right: 10px;
}
footer .socials img {
    width: 27px;
}

footer .footer-columns {
    margin: 16px 0 0;
}

footer .footer-columns > div:not(.socials) {
    margin-bottom: 47px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    row-gap: 20px;
}

footer .footer-columns > div > h2 {
    font-size: 1.4em;
    font-weight: 300;
}

footer .footer-columns > div > p {
    font-size: 1em;
    font-family: "neusa-next-std", sans-serif;
    font-weight: 300;
}

footer .footer-columns > div > p a {
    color: inherit;
}

.horizontal-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    line-height: 1.8em;
    font-size: 0.85em;
    row-gap: 1.4em;
    column-gap: 1.4em;
    width: fit-content;
    margin: 10px auto;
}

.horizontal-flex a,
.horizontal-flex a:link {
    font-size: 0.8em;
    color: #fff;
    font-weight: 100;
    text-decoration: underline;
}

.horizontal-flex a:hover {
    text-decoration: none;
}


@media (min-width: 375px) {
    footer .footer-columns > div > h2 {
        font-size: 1.6em;
    }
}

@media (min-width: 768px)
{
    footer .footer-columns {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        max-width: var(--content-max-width);
        margin: 16px auto;
    }

    .horizontal-flex {
        flex-direction: row;
    } 
}

/* ===== END FOOTER ===== */

/* ===== ARTICLES ===== */

.intro-picto {
    width: fit-content;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    row-gap: 5px;
    box-shadow: none;
}

.intro-picto  h1 {
    font-size: 1.24em;
    font-weight: 300;
}

.intro-picto  img {
    width: 38px;
}

/* --- Section Produits --- */
section.products {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: grid;
    justify-content: flex-start;
    grid-template-columns: 1fr;
    row-gap: 24px;
    column-gap: 30px;
    padding: 0 35px
}

section.products > h2 {
    padding: 0 36px 46px;
    font-size: 1.38em;
    line-height: 1.38em;
    font-weight: 400;
}
section.products article.product {
    margin-bottom: 40px;
    padding: 0 36px;
}
section.products article.product img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 10px auto ;
    box-shadow: 2px 6px 18px rgba(0, 0, 0, 40%);
}

section.products article.product .description h3 {
    width: 100%;
    text-align: center;
    font-weight: 400;
    margin-bottom: 15px;
}

section.products article.product .description p {
    font-weight: 200;
}

section.products article.product .description p strong {
    font-weight: 400;
    line-height: 1.3em;
}

@media (min-width: 758px)
{
    section.products .wrapper {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-around;
        row-gap: 48px;
    }
    
    section.products article.product {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px)
{
    section.products {
        grid-template-columns: 1fr 1fr;
    }
    .intro-picto h1 {
        font-size: 1.84em;
    }
    
    .intro-picto img {
        width: 68px;
    }

    section.products article.product {
        display: grid;
        grid-template-columns: 105px 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: "img text";
        column-gap: 18px;
        row-gap: 40px;
        margin-bottom: 0px;
    }

    section.products article.product img {
        grid-area: img;
        width: 105px;
        height: 105px;
    }

    section.products article.product .description {
        grid-area: text;
        text-align: left;
        font-size: 0.80em;
    }

    section.products article.product .description h3 {
        text-align: left;
        margin-bottom: 6px;
    }

    section.products article.product .description p {
       line-height: 1.19em;
    }

}


/* --- section RDV --- */

/* .rendez-vous {
    position: relative;
} */

/* .rendez-vous [class*="calendar"].button {
    pointer-events: none;
    cursor: default;
    box-shadow: none;
} */

section.rendez-vous .tarifs {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    column-gap: 22px;
    row-gap: 40px;
    align-items: center;
    margin: 10px auto;
    text-align: center;
}

section.rendez-vous .tarifs > * {
    font-size: 0.85em;
    line-height: 1.14em;
    font-weight: 400;
    font-family: var(--font-body);
    color: #fff;
}

section.rendez-vous .tarifs > *:nth-child(1) {
    background-color: var(--vert-clair);
}

section.rendez-vous .tarifs > *:nth-child(2) {
    background-color: var(--vert-gazon);
}

section.rendez-vous .tarifs > *:nth-child(3) {
    background-color: var(--vert-bouteille);
}

section.rendez-vous .tarifs > *:nth-child(4) {
    background-color: var(--bleu)
}

section.rendez-vous .calendar {
    margin: 0 auto 24px;
    width: fit-content;
    color: black;
}

section.rendez-vous .know-more {
    max-width: 600px;
    padding: 20px 10px;
    font-weight: 200;
    line-height: 1.3em;
    font-size: 0.80em;
}

section.rendez-vous .contact h2 {
    font-size: 0.81em;
    line-height: 1em;
    font-weight: 400;
    text-align: center;
    padding-top: 40px;
}

section.rendez-vous .contact [class*="button"] {
    margin: 27px auto;
    font-family: var(--font-body);
}

@media (min-width: 1024px)
{
    section.rendez-vous .tarifs > *,
    section.rendez-vous .contact [class*="button"] {
        font-size: 1.17em;
    }

    section.rendez-vous .know-more {
        font-size: 1em;
    }
    section.rendez-vous .contact h2 {
        font-size: 1.02em;
    }
}

/* ---- Pagination ---- */

.pagination {
    display: flex;
    column-gap: 10px;
}

.pagination * {
    min-width: 30px;
    text-align: center;
}

/* ---- PAGE 404 ---- */

.lone-container {
    text-align: center;
    margin: 50px auto;
    max-width: 90%;
}

.lone-container h2 {
    font-size: 2em;
}

.lone-container > img {
    max-width: 90%;
    display: block;
    margin: 23px auto;
}

@media (min-width: 426px) {
    .lone-container h2 {
        font-size: 3em;
    }

    .lone-container > img {
        max-width : 300px;
    }
}

/* --- section RDV --- */
form {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 0 10px;
    max-width: var(--content-max-width);
    margin: 0 auto;
    --form-row-gap: 20px;
}

form a,
form a:hover,
form a:link,
form a:visited {
    text-decoration: underline;
}

form a:hover {
    color: var(--vert-gazon);
}

form .response-ok {
    color: var(--vert-gazon);
}

form #form-errors:not(.response-ok) {
    color: var(--rose-rouge);
}

form > *:not(label) {
    margin-bottom: var(--form-row-gap);
}

.two-fields > label:nth-of-type(2) {
    margin-top: var(--form-row-gap);
}

form input,
form label,
form select,
form option,
form text {
    display: block;
    width: 100%
} 

form input:not([type=submit]),
form select {
    font-size: 1em;
    height: 2em;
    color: var(--vert-bouteille);
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid;
    border-color: var(--vert-bouteille);
    padding: 0;
    box-sizing: border-box;
}

form textarea {
    border-left: 1px dotted var(--vert-bouteille);
    border-right: 1px dotted var(--vert-bouteille);
    border-top: 2px solid var(--vert-bouteille);
    border-bottom: 2px solid var(--vert-bouteille);
    background: var(--vert-opalescent);
    color: var(--vert-bouteille)
}

form input:not([type=submit]),
form select,
form textarea {
    font-weight: 200;
    padding: 0 5px;
}

form input::placeholder {
    color: grey;
    font-style: italic;
    font-weight: 100;
}

form input[type=submit] {
    align-self: center;
    border: 0px;
    background: var(--vert-clair);
    color: #000;
    box-shadow: 10px 5px 10px rgba(0,0,0,0.3);
    transition: all 0.2s;
    cursor: pointer;
}

form input[type=submit]:hover {
    background: var(--vert-bouteille);
    color: #fff;
    box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
    transition: all 0.2s;
}

form input.error {
    background: #ff9a9a78;
    color: #c51010;
}

form .inline {
    display: grid;
    grid-template-columns: 1fr;
}

form .inline * {
    width: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

form .inline input[type=checkbox] {
    width: 1em;
    height: 1em;
    width: 1.4em;
    height: 1.4em;
    margin-right: 1em;
    border: 1px solid var(--vert-bouteille);
}

form .inline input[type=checkbox]:checked {
    background-color: var(--vert-bouteille);
}

form span.mandatory {
    color: var(--rose-rouge);
    font-size: smaller;
}

form .mandatory-info {
    font-size: 0.6em;
    text-align: right;
}

form .inline .checkboxes {
    display: grid;
    grid-template-columns: 36px auto;
}  

form .inline .checkboxes > *  {
    display: block;
}

form .inline .checkboxes > label,
form .inline .checkboxes > label > * {
    display: inline;
}

@media (min-width: 1024px) 
{
    form input[type=submit] {
        width: auto;
        padding: 5px 20px;
    }

    .two-fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: var(--form-row-gap);
    }

    .two-fields > label:nth-of-type(2) {
        margin-top: 0;
    }
    
    .two-fields label:nth-of-type(1),
    .two-fields input:nth-of-type(1),
    .two-fields text:nth-of-type(1),
    .two-fields select:nth-of-type(1) {
       grid-column: 1 / span 1;
    }
    
    .two-fields label:nth-of-type(2),
    .two-fields input:nth-of-type(2),
    .two-fields text:nth-of-type(2),
    .two-fields select:nth-of-type(2) {
       grid-column: 2 / span 1;
    }
    
    
    .two-fields label {
        grid-row: 1 / span 1;
     }
     
     .two-fields input,
     .two-fields text,
     .two-fields select {
         grid-row: 2 / span 1;
     }
}

form .pas-la {
    display: block;
    height: 0px !important;
    width: 0px !important;
    border: 0px transparent !important;
}

/** ---- Google Reviews ---- **/
.reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    padding: 20px 10px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/** ---- WORDPRESS MODULES SKINNING ----- **/
/* -- Blockquotes -- */
.wp-block-pullquote {
    margin: 1em 0;
}
blockquote::before {
    position: absolute;
    content: "\201C\00a0";
    font-size: 3.1em;
    color: var(--rose-rouge);
    left: -3px;
    top: 9px;
    font-family: sans-serif;
    font-weight: 500;
}

blockquote > p {
    padding: 20px 10px;
    background: rgba(239, 164, 184, 0.13);
}


blockquote > p:last-of-type:after {
    position: absolute;
    content: "\201D\00a0";
    font-size: 2.1em;
    color: var(--rose);
    right: 10px;
    bottom: 20px;
    font-family: sans-serif;
    font-weight: 500;
}

blockquote {
    font-family: "ff-cocon-pro-extra-cn", sans-serif;
    font-size: 1em;
    font-weight: 300;
    font-style: italic;
    line-height: 1.3em;
    color: var(--rose);
    padding: 10px 10px 10px 30px;
    position: relative;
}

blockquote cite {
    text-align: right;
    width: 100%;
    display: block;
    padding: 2px 30px 2px 0px;
    font-size: 0.8em;
    font-weight: 500;
    color: var(--rose-petant);
}

/* -- buttons -- */
div.wp-block-buttons,
div.wp-block-button {
    box-shadow: none;
    padding: 0px;
}

div.wp-block-buttons {
    margin: 1em auto 1.5em;
}

div a.wp-block-button__link ,
div a.wp-block-button__link:link,
div a.wp-block-button__link:hover
{
    cursor: pointer;
    color: #fff;
}

/* Gallery container */
.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

/* Gallery images */
.wp-block-gallery figure {
    position: relative;
    margin: 0;
}

.wp-block-gallery img {
    width: 100%;
    height: 200px; /* Set a fixed height to crop images */
    object-fit: cover; /* Crop images to fill the container */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image captions */
.wp-block-gallery figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 0.8em;
    box-sizing: border-box;
}

/* Hover effect for images */
.wp-block-gallery img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* ---- Presentation component ---- */

section.who-i-am {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
    line-height: 1.4em;
    font-weight: 200;
    row-gap: 40px;
}

section.who-i-am > * {
    padding-left: 35px;
    padding-right: 35px;
}

.who-i-am-title {
    font-weight: 300;
    color: var(--bg-text-color);
    font-size: 2em;
    padding: 0 0 20px;
  }

.who-i-am-title {
    font-weight: 300;
    color: var(--bg-text-color);
}

.who-i-am-separator {
    width: 30%;
    border-bottom: 5px double var(--bg-text-color);
}

.who-i-am-img-container {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}

.who-i-am-img-container img {
    width: 60%;
    max-width: 200px;
    object-fit: cover;
    border: 4px solid var(--vert-clair);
    border-radius: 50%;
}

.who-i-am-heading-text {
    font-size: 1.9em;
    text-align: center;
    line-height: normal;
    font-style: italic;
    color: var(--rose-petant);
}

.who-i-am-content {
    max-width: 800px;
}

.who-i-am-content > p {
    margin-bottom: 16px;
}

.who-i-am-content blockquote {
    background: transparent;
    color: inherit;
    font-size: 1.5em;
}

.who-i-am-content blockquote::before,
.who-i-am-content  blockquote > p:last-of-type:after  {
    color: var(--texts);
    z-index: 100;
}

blockquote::before {
    left: -13px;
    top: 27px;
}

blockquote > p:last-of-type:after {
    right: 10px;
    bottom: -3px;
}

.who-i-am-content blockquote > p {
    background: transparent;
    z-index: -1;
}

@media (min-width: 728px) 
{
    .who-i-am-img-container img {
        width: 33%;
    }
    .who-i-am-img-container {
        flex-direction: row;
    }
    .who-i-am-heading-text {
        /* font-size: 1.3em; */
        text-align: left;
    }
}


@media (min-width: 1024px)
{
    .who-i-am-title {
        font-size: 2.13em;
    } 
}

/* ---- END of Presentation component ---- */

/* ---- COMMENTS ---- */

section#commentaires {
    padding: 10px 15px;
    background: rgba(254, 222, 231, 0.55);
    margin: 0 35px;
    border-radius: 15px;
}

section#commentaires .comments__title {
    font-size: 1.3em;
    color: var(--bleu);
    font-weight: 400;
}

section#commentaires p {
    font-size: 1em;
    font-weight: 100;
    line-height: 1.4em;
}

section#commentaires p {
    font-size: 0.9em;
}

section#commentaires p small {
    padding: 0.8em 0;
    line-height: 0.85em;
    font-size: 0.75em;
}
  

section#commentaires #reply-title {
    margin: 30px 0 6px;
    font-weight: 400;
    line-height: 1.3em;
    font-size: 1.2em;
    color: var(--rose-petant);
}

section#commentaires form {
    padding: 0;
    max-width: 100%;
}

form.comment-form input[type="text"],
form.comment-form textarea {
    min-width: 100%;
    max-width: 100%;
    margin: 0.5em 0;
    padding: 11px;
    border: 0px;
    border-radius: 12px;
    font-size: 0.94em;
    line-height: 1.2em;
    color: #0da3de;
    background: #fffbfc;
}

form.comment-form input[type="text"]:focus-visible,
form.comment-form textarea:focus-visible {
    outline: 2px solid var(--rose-rouge);
}

section#commentaires .bleu {
    background: var(--bleu);
    color: #fff
}

section#commentaires input[type="submit"] {
    padding: 9px 22px;
    font-family: var(--font-body);
    font-size: 1em;
    line-height: 1.2em;
    align-self: center;
}

section#commentaires p.form-submit {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
}

section#commentaires .comment-form-cookies-consent {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    column-gap: 10px;
}

section#commentaires .comment-form-cookies-consent > input {
    flex: 0 0 32px;
}

    /* -- Form order management --*/
section#commentaires .comment-form-author {
    order: 1;
}
section#commentaires .comment-form-email {
    order: 2;
}
section#commentaires .comment-form-comment {
    order: 3;
}
section#commentaires .comment-form-cookies-consent {
    order: 4;
}
section#commentaires .comment-form-url {
    display: none;
}
section#commentaires .form-submit {
    order: 6;
}

    /* -- end form order management --*/

.comment__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 20px 0 60px;
}

.comment {
    --shift-factor: 1.4em;    
    background: #fff;
    box-shadow: 7px 15px 12px 0px rgba(0, 0, 0, 0.3);
    padding: 20px 20px 30px;
    position: relative;
    border-radius: 12px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    row-gap: 12px;
}


.comment .comment-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: 20px;
}

.comment .avatar {
    height: 2em;
    flex: 0 0 auto;
}

.comment .author {
    max-width: 76%;
    font-size: 1.1em;
    line-height: 1.3em;
    color: var(--bleu);
    flex: 0 0 auto;
}

.comment .date {
    margin-left: auto;
    color: grey;
    font-style: italic;
    font-size: 0.8em;
    flex: 0 0 100%;
}

.comment .comment_content {
    font-size: 1em;
    line-height: 1.4em;
    font-weight: 100;
}

.comment-parent-info {
    background: #e7e7e7;
    color: black;
    font-size: 0.8em;
    padding: 7px;
    border-radius: 5px;
}

.comment-parent-author {
    padding: 4px 0;
}

.comment-parent-content {
    font-family: arial, sans-serif;
    font-style: italic;
}

.comment ~ .comment:not(.level-0) {
    margin-top: 20px;
}

.comment ~ .comment.level-0 {
    margin-top: 50px;
}

.comment.level-1 {
    flex-shrink: 0.5;
    margin-left: auto;
    margin-top: 20px;
    width: calc( 100% - var(--shift-factor) );
    box-shadow: 5px 13px 10px 0px rgba(0,0,0,0.3);
}

.comment.level-2 {
    flex-shrink: 0.5;
    margin-left: auto;
    margin-top: 14px;
    width: calc( 100% - var(--shift-factor) * 1.5 );
    box-shadow: 3px 10px 7px 0px rgba(0,0,0,0.3);
}

.comment.level-3 {
    flex-shrink: 0.5;
    margin-left: auto;
    margin-top: 13px;
    width: calc( 100% - var(--shift-factor) * 2.5 );
    box-shadow: 3px 10px 5px 0px rgba(0,0,0,0.3);
}

.comment.level-4 {
    flex-shrink: 0.5;
    margin-left: auto;
    margin-top: 12px;
    width: calc( 100% - var(--shift-factor) * 3.5 );
    box-shadow: 3px 10px 5px 0px rgba(0,0,0,0.3);
}

.comment.level-5 {
    flex-shrink: 0.5;
    margin-left: auto;
    width: calc( 100% - var(--shift-factor) * 4.5 );
    margin-top: 11px;
    box-shadow: 1px 5px 2px 0px rgba(0,0,0,0.3);
}

.comment-respond .comment-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.comment-respond .comment-form > *:not("script") {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: flex-start;
    align-items: stretch;
}

.reply-link {
    width: fit-content;
    padding: 8px 12px;
    align-self: center;
    font-size: 0.9em;
    line-height: 1.1em;
    font-weight: 300;
    color: #fff;
    border-radius: 15px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.29);
    background: var(--bleu);
}

.reply-link:hover {
    background: var(--rose-petant);
}

.reply-link a {
    color: inherit;
    text-decoration: none;
}

/* ----------------- */

/* ----- Groups ----- */
.wp-block-group {
    padding: 10px;
    background: rgba(239, 164, 184, 0.3);
    color: var(--vert-gazon);
}

/* ----- Single CTA component ---- */
section.single-cta {
    padding: 0 35px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

section.single-cta .single-cta-wrapper {
    display: flex;
    flex-direction: column;
}

section.single-cta .content {
    font-size: 1em;
    line-height: 1.4em;
    font-weight: 300;
    padding: 0 0 20px;
}

section.single-cta .content.display-middle {
    align-self: center;
}

section.single-cta a {
    align-self: center;
}

/* ----- END - Single CTA component ---- */

/* ----- Blog search form component ------ */
section.search-form {   
    margin: 60px 0;
}

section.search-form form {
    position: relative;
}

section.search-form form .search-magnifier-wrapper {
     position: relative;
}

section.search-form form .submit-magnifier {
    position: absolute;
    right: 8px;
    background: transparent;
    border: 0px;
    box-shadow: none;
    cursor: pointer;
}

section#blog-search {
    max-width: 90%;
    margin: 70px auto 0;
}

section#blog-search #search-field {
    position: relative;
}

section#blog-search img {
    font-size: 0.95em;
    font-weight: 200;
    color: #777575;
    height: 25px;
}

section#blog-search h1 {
    margin: 10px 0 20px;
    text-align: center;
}

section#blog-home h1 {
    text-align: center;
    font-size: 1.3em;
    font-weight: 400;
}

section#blog-search .search-field-wrap {
    position: relative;
}

section#blog-search input {
    color: var(--rose-petant);
    font-style: oblique;
    font-weight: 100;
}  

section#blog-search #resultats-recherche.hidden {
    display: none;
}

section#blog-search #resultats-recherche {
    position: absolute;
    left: 1%;
    top: 40px;
    width: 98%;
    padding: 10px 20px;
    list-style: none;
    background: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.50);
    color: var(--bleu);
    font-size: 0.90em;
    font-weight: 100;
    line-height: 1.9em;;
    z-index: 10;
}

section#blog-search #resultats-recherche a {
    color: inherit;
    font-size: inherit;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    width: 100%;
}

section#blog-search #resultats-recherche a:hover {
    color: var(--rose-petant);
    text-decoration: underline;
}

section#blog-search input[type="checkbox"] {
    color: var(--rose-petant);
    font-style: oblique;
    font-weight: 100;
}

section#blog-search #blog-home-searchfield:focus{
    border-color: var(--rose-petant);
    outline: 0px;
    color: var(--vert-clair);
    background: rgb(255, 244, 247);
    font-style: normal;
    font-weight: 200;
}

section#blog-search #rechercher-bouton {
    position: absolute;
    right: 7px;
    bottom: 7px;
    background: none;
    border: 0px;
    box-shadow: none;
    cursor:pointer;
}

#resultats-recherche {
    position: absolute;
    left: 0;
    top: 0;
}

section#blog-home .no-result {
    text-align: center;
    font-weight: 200;
    font-style: italic;
}

@media (min-width: 1024px)
{
    section#blog-search {
        max-width: 90%;
        margin: 70px auto 0;
    }
}

/* ----- Search in Blog'LP ---- */
section#blog-search {
    padding-bottom: 0px;
}
section#blog-search #aside-container #blog-home-submit {
    right: 47px;
}
section#blog-search .filters-toggle {
    position: absolute;
    right: 0px;
    top:  0px;
    background: transparent;
    border: 0px;
    box-shadow: none;
    cursor: pointer;
  }
#cat-blog-filter {
    display: flex;
    flex-wrap: wrap;  
    /* justify-content: space-evenly; */
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

#cat-blog-filter > * 
{
    flex: 0 0 calc(33.333% - 30px);
}

#cat-blog-filter label {
    text-align: center;
    background: var(--rose-petant);
    color: #fff;
    font-weight: 100;
    font-size: 0.90em;
    line-height: 1.9em;
    text-transform: uppercase;
    border-radius: 1em;
    padding: 4px 8px;
    cursor: pointer;
}

@media(min-width: 768px)
{
    #cat-blog-filter label:hover {
        background: var(--vert-bouteille);
    }
}


#cat-blog-filter input[type="checkbox"]:checked + label {
    background: var(--vert-bouteille);
}

#cat-blog-filter input[type="checkbox"] {
    display: none;
}

#cat-list {
    overflow: hidden;
}

#cat-list.visible {
    max-height: 300px;
    transition: max-height 0.3s;
}

#cat-list.rolled-up {
    max-height: 0px;
    transition: max-height 0.3s;
}

#pagination #load-more {
    border-radius: 25px;
    border: 0px;
}

#pagination #load-more:hover {
    background: var(--vert-bouteille);
    color: #fff;
}

/* Add this to your CSS file */
.button-disabled {
    pointer-events: none;
    opacity: 0.5;
}

#pagination:has(#load-more.limit) {
    display: none;
}

@media (min-width: 1024px) 
{
    #cat-blog-filter {
        flex-direction: row;
    }
} 


/* ----- Blog Search Page ------ */

section.search-page.several-articles article.alternative-image-text {
    /* padding-bottom: calc(33px + 1em); */
    padding-bottom: 0;
    display: grid;
    grid-template-areas: "img    " "title  ";
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    position: relative;
    margin-bottom: 45px;
    grid-template-rows: auto;
}

section.search-page article.alternative-image-text > .img-article > img {
    border: 0px;
    /* object-fit: contain; */
    object-fit: cover;
    object-position: 50% 50%;
    height: auto;
    max-height: 300px;
    min-height: 200px;
}
section.search-page article.alternative-image-text > .img-article {
    padding: 0;
    height: auto;
    grid-area: img;
    border: 0px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    text-decoration: none;
    font-weight: 100;
    line-height: 1.4em;
    color: #a7a7a7;
    font-size: 0.9em;
    background: var(--vert-clair-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

section.search-page .alternative-image-text > h3 {
    grid-area: title;
    padding: 15px 10px 26px;
    font-size: 0.90em;
    font-weight: 100;
    line-height: 1.25em;
    text-align: left;
    color: #fff;
    background: var(--rose);
    justify-self: auto;
    border-radius: 0 0 10px 10px;
}

section.search-page  .alternative-image-text > .content {
    grid-area: content;
    display: none;
}

section.search-page  .alternative-image-text > .know-more {
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translate(-50%, 50%);
    padding: 8px 15px;
    font-size: 0.9em;
    font-weight: 200;
    color: #fff;
    border-bottom: 0px !important;
    border-radius: 25px;
    background-color: rgba(54, 173, 193, 0.71);
    backdrop-filter: blur(4px);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.10);
}

article.alternative-image-text.extract > .content {
    position: relative;
}

article.alternative-image-text > .content > a.article-link {
    bottom: -50px;
}


section.search-page #pagination {
    margin: 70px 0 0;
}

.recherche .no-result {
    text-align: center;
  }

@media (min-width: 768px) 
{
    section.search-page #posts-container {
        padding: 0 35px;
        /* display: flex;
        flex-direction: row;
        flex-wrap: wrap; */
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        justify-content: flex-start;
        align-content: stretch;
        align-items: stretch;
        gap: 10px;
    }
    
    section.search-page #posts-container > * {
        /* flex: 0 0 calc(50% - 10px); */
        width: 100%;
        height: calc(100% - 30px);;
    }


    section.search-page.several-articles article.alternative-image-text {
        padding: 0;
        grid-template-rows: max-content;
    }

    section.search-page article.alternative-image-text > .img-article > img {
        object-fit: cover;
        height: 400px;
        max-height: none;
    }


}

@media (min-width: 1024px)
{
    section.search-page #posts-container {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: var(--content-max-width);
        margin: 0 auto;
    }
   /*  section.search-page #posts-container > * {
        flex: 0 0 calc(33.33% - 10px);
      } */
}

  
/* ---- FAQ Component ---- */
section.faq-container > article {
    padding: 0;
    margin: 0 auto 20px;
    max-width: var(--content-max-width);
    width: calc(100% - 70px);
    border-radius: 12px;
}

.question-answer:not(.opened) .faq-title:hover,
.question-answer.opened {
    background: #47ae7d24;
}

.question-answer .faq-title {
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.24em;
    border-radius: 12px;
    padding: 6px 10px 4px 38px;
    position: relative;
    cursor: pointer;
}

.question-answer .faq-title::before {
    content: url(../images/arrow.svg);
    /* content: url(../images/arrow-bold.svg); */
    display: inline-block;
    width: 0.75em;
    position: absolute;
    left: 11px;
    top: 5px;
    transition: 0.2s ease;
}

.question-answer.opened .faq-title::before {
    transform: rotate(180deg);
    transition: 0.2s ease;
}

.question-answer .faq-answer {
    height: 0;
    overflow: hidden;
    padding: 0px 10px 0px 38px;
    font-size: 1em;
    line-height: 1.25em;
    font-weight: 200;
    transition: 0.2s ease;
    opacity: 0;
}


.question-answer.opened .faq-answer {
    height: auto;
    padding: 10px 10px 30px 38px;
    opacity: 1;
    transition: 0.2s;
}

/* DEBUG */
/* 
* {
    border-inline: 2px solid purple;
    writing-mode: horizontal-tb;
} */