@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');


/*recaptcha*/
.grecaptcha-badge {
    visibility: hidden;
}

/*general*/
html,
body {
    color: var(--black);
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 15px;
    font-weight: 300;
}

body {
    font-size: 17px;
}

.font-small {
    font-size: 16px
}

/* .sub-menu{
  display: none;

} */

.sticky {
    position: sticky;
    position: -webkit-sticky;
}

/* Buttons */
.btn {
    text-align: center;
    padding: 0.5rem 1.25rem;
    border-radius: 22px;
    cursor: pointer;
    text-wrap: nowrap;

    @media screen and (max-width: 768px) {
        padding: 0.375rem 3rem;
    }
}

/* Accordion */
.accordion {
    position: relative;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    text-align: left;
    border-top: 1px solid var(--border_gray);
    border-bottom: 1px solid var(--border_gray);
    transition: 0.4s;
    font-size: 1.2rem;
}

.accordion p {
    margin-bottom: 0 !important;
}

.text-white .panel {
    color: var(--white);
}

.accordion::after {
    content: '';
    border-right: 1px solid;
    border-bottom: 1px solid;
    width: 20px;
    height: 20px;
    border-color: var(--yellow) !important;
    position: absolute;
    margin: auto;
    top: -6px;
    bottom: 0;
    right: -10px;
    transition: 0.4s;
    transform: rotate(45deg) !important;
}

.accordion::before {
    content: '';
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: -18px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background: var(--secondary);
}

.active:after {
    transform: rotate(-45deg) !important;
    right: -6px;
    top: 0;
}

.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.tabs-panel {
    display: none;
}
.tabs-panel.active {
    display: block;
}
.tabs-link.active {
    border-color: var(--primary) !important;
    color: white !important;
    background: var(--primary) !important;
}
.tabs-link {
    width: auto !important;
}

.fleche {
    mask: url("/wp-content/uploads/2025/08/fleche_gestee.png") no-repeat center;
    mask-size: contain;
}

.bulle-right, .bulle-left {
    border: 1px solid var(--secondary);
}

.bulle-right:after, .bulle-left:after {
    z-index: 0;
    width: 0;
    height: 0;
    top: -28px;
    position: absolute;
    content: "";
    border-top: 30px solid transparent;
}

.bulle-right.bulle-white:before, .bulle-left.bulle-white:before {
    width: 0;
    height: 0;
    top: -25px;
    position: absolute;
    content: "";
    border-top: 30px solid transparent;
    z-index: 1;
}

.bulle-right:after {
    border-right: 20px solid var(--secondary);
    right: 22px;
    transform: rotate(5deg);
}

.bulle-left:after {
    border-left: 20px solid var(--secondary);
    left: 22px;
    transform: rotate(-5deg);
}

.bulle-right.bulle-white:before {
    border-right: 20px solid var(--white);
    right: 23px;
    transform: rotate(5deg);
}

.bulle-left.bulle-white:before {
    border-left: 20px solid var(--white);
    left: 23px;
    transform: rotate(-5deg);
}

.text-white .panel {
    color: var(--white);
}

.panel > div {
    padding: 1rem;
}

.grid-cols-2.gap-secondary>div:nth-child(odd):not(:last-child) {
    position: relative;
}

.grid-cols-2.gap-secondary>div:nth-child(odd):not(:last-child):after {
    position: absolute;
    content: '';
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-right: 1px solid black;
    height: 80%;
    z-index: 1;
}

/* Cards grid */
.card-grid ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.card p {
    margin-bottom: 0;
}

/* Carousel Temoignages */
.carousel_container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0.5rem;
    scrollbar-width: none;
}

.item-full {
    min-width: 100%;
    scroll-snap-align: start;
}

@media (min-width: 768px) and (pointer: fine) {
    .carousel_container {
        overflow: hidden;
    }
}

@media (max-width: 767px) {
}

.item {
    padding: 1rem;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 33.33333%;
}

.navigations_btn {
    display: flex;
    justify-content: end;
}

.navigations_btn .items_nav {
    cursor: pointer;
    width: 36px;
    height: 36px;
}

.navigations_btn .items_nav::before {
    content: "";
    position: absolute;
    padding: 0.25rem;
    top: 0;
    left: 0;
    background-image: url(../img/arrow.svg);
    width: 2rem;
    height: 2rem;
}

.hn h3 {
    margin: 1.5rem 0 !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
}

/* article */
@media (max-width: 767px) {
    .single-post article .wp-block-table table.has-fixed-layout td,
    .single-post article .wp-block-table table.has-fixed-layout th {
        word-break: keep-all;
    }

    .single-post article .wp-block-table table.has-fixed-layout td:first-child,
    .single-post article .wp-block-table table.has-fixed-layout th:first-child {
        position: sticky;
        left: 0;
        background-color: #fff;
        outline: 1px solid black;
        top: auto;
        bottom: auto;
    }

    .single-post article .wp-block-table table.has-fixed-layout {
        table-layout: auto;
        width: auto;
        white-space: wrap;
        overflow-x: auto;
    }
}

@media (min-width: 768px) {

    .md\:grid-cols-2.separator-white>div:nth-child(odd) {
        border-right: 1px solid var(--white);
    }
}
