.search_form_wrapper {
    position: fixed;
    width: 100%;
    top: 56px;
    right: 0;
    background: #8f3d5d;
    height: 95px;
    display: none;
    opacity: 0;
    visibility: hidden;
    /* padding-left: 290px; */
    padding-right: 83px;
    transition:
        opacity 0.3s ease-in-out,
        max-height 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
    z-index: 100;
    pointer-events: all;
}

header.header .absolute,
header.header .right-elements,
header.header .logo-container {
    pointer-events: all;
}

.header .menu nav>ul .button-container:not([data-action]),
.header .menu nav>ul .button-container:not([data-button=load-more]) {
    order: unset;
}

.header .menu nav>ul>li {
    order: unset;
}

.search_form_wrapper.active {
    display: flex;
    align-items: center;
    opacity: 1;
    visibility: visible;
    max-height: 95px;
}

@media (max-width: 600px) {
    .search_form_wrapper.active {
        padding: 0 12px !important;
    }
}

.search_form_wrapper .search-form {
    flex-grow: 1;
    display: flex;
    max-width: 100%;
}

.search_form_wrapper .search-form .search-field {
    flex-basis: 90%;
    border-bottom: 1px solid #fff;
    color: #fff;
    font-size: 26px;
    max-width: 90%;
}

.search_form_wrapper .search-form .search-field::placeholder {
    color: #fff;
}

.search_form_wrapper .search-form .search-submit {
    color: #fff;
}

.search_form_wrapper .search-form .search-submit svg {
    fill: #8f3d5d;
}

.search_toggle {
    color: #8f3d5d;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .search_toggle {
        display: none;
    }

    .search_form_wrapper {
        display: none;
    }
}

@media (min-width: 1025px) {
    .search_form_wrapper_mobile {
        display: none;
    }
}

.search_form_wrapper_mobile {
    padding: 0 5.6rem;
    margin-top: auto;
    margin-bottom: 40px;
}

.search_form_wrapper_mobile .search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #952456;
    max-width: 100%;
}

.search_form_wrapper_mobile .search-form .search-field {
    flex-grow: 1;
    color: rgba(149, 36, 86, 0.6);
    font-size: 18.435px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: calc(100% - 32px);
}

.search_form_wrapper_mobile .search-form .search-field::placeholder {
    color: rgba(149, 36, 86, 0.6);
    font-size: 18.435px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.search_form_wrapper_mobile .search-form .search-submit svg {
    fill: #fff !important;
    color: #8f3d5d;
}

/* body.search.search-results header>nav {
    display: none;
} */

header>nav .breadcrumb.search-active {
    display: none;
}

body.search.search-results .search-result h2 a {
    color: #952456;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    display: inline-block;
    margin-bottom: 16px;
}

body.search.search-results .search-result h2 a:hover {
    text-decoration: underline;
}

body.search.search-results .search-result p {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 20px;
    margin-top: auto;
}

body.search.search-results .search-result p.readmore {
    margin-bottom: 0;
    margin-top: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}

body.search.search-results .search-result p.readmore a {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #952456;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    text-decoration-line: underline;
}

body.search.search-results .search-result p.readmore a:hover {
    text-decoration-line: none;
}

body.search.search-results .search-result {
    padding: 60px 70px;
    position: relative;
    display: flex;
    flex-direction: column;
    clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%, 0 50px);
    z-index: 2;
}

@media (max-width: 1024px) {
    body.search.search-results .search-result {
        padding: 40px;
    }
}

body.search.search-results .search-result::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: rgba(211, 203, 185, 0.2);
    z-index: -1;
    clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%, 0 50px);
}

body.search.search-results .search-result::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: white;
    clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%, 0 50px);
}

body.search.search-results .search-result>* {
    position: relative;
    z-index: 3;
}

@media (max-width: 1024px) {
    body.search.search-results .single.page-page.list {
        padding-top: 0;
    }
}

.search-result-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
    /* margin-top: 50px; */
}

@media (max-width: 768px) {
    .search-result-wrapper {
        grid-template-columns: 1fr;
    }
}

.search-result-wrapper .search-result span {
    color: #ffffff;
    display: flex;
    align-items: center;
}

/**/
.search_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 10px;
    gap: 24px;
}

.search_pagination .page-numbers {
    text-decoration: none;
    margin: 0;
}

.search_pagination .page-numbers.current {
    font-weight: bold;
    color: white;
    background-color: #952456;
    border-radius: 50%;
    width: 47px;
    height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_pagination a.next.page-numbers,
.search_pagination a.prev.page-numbers {
    color: #ffffff;
}

body.search.search-results .hero-search {
    background-image: url(img/bandeau-search.jpg);
    min-height: 367px;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
}

body.search.search-results .hero-search:before {
    position: absolute;
    content: "";
    inset: 0;
    background-color: rgba(149, 36, 86, 0.75);
}

@media (min-width: 1025px) {
    body.search.search-results .hero-search {
        margin-top: -16.5rem;
    }
}

body.search.search-results .hero-search .hero-search-wrapper h1 {
    color: #fff;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 44px;
}

@media (max-width: 1024px) {
    body.search.search-results .hero-search .hero-search-wrapper h1 {
        font-size: 20px;
        line-height: 24px;
    }
}

body.search.search-results .hero-search .hero-search-wrapper h1 span {
    display: block;
}

body.search.search-results .hero-search .hero-search-wrapper p {
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 12px;
}

body.search.search-results .hero-search .hero-search-wrapper {
    position: relative;
}

body.search.search-results .breadcrumb {
    color: #ffffff;
}

body.search.search-results .search-form-wrapper {
    clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%, 0 50px);
    background-color: #ffffff;
    transform: translateY(-35px);
    padding: 45px 70px 15px 70px;
}

@media (max-width: 1024px) {
    body.search.search-results .search-form-wrapper {
        clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
        background-color: #ffffff;
        transform: translateY(-80%);
        padding: 24px 10px 12px 24px;
    }
}

body.search.search-results .search-form-wrapper form.search-form {
    border-bottom: solid 1px #952456;
    display: flex;
    max-width: 100%;
}

body.search.search-results .search-form-wrapper input.search-field {
    color: rgba(149, 36, 86, 0.6);
    font-size: 30.286px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    flex-grow: 1;
    max-width: calc(100% - 32px);
}

@media (max-width: 1024px) {
    body.search.search-results .search-form-wrapper input.search-field {
        font-size: 18.435px;
    }
}

body.search.search-results .search-form-wrapper input.search-field::placeholder {
    color: rgba(149, 36, 86, 0.6);
}

body.search.search-results .search-form-wrapper form.search-form button svg {
    color: #8f3d5d;
    fill: #fff !important;
}


.search_form_wrapper_desktop {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 2rem;
}

@media (max-width: 1024px) {
    .search_form_wrapper_desktop {
        display: none;
    }
}

.search_form_wrapper_desktop:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 70%;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
}

.search_form_wrapper_desktop .search-form .search-field {
    color: #952456;
    font-size: 16px;
    font-weight: 300;
}

.search_form_wrapper_desktop .search-form .search-field::placeholder {
    opacity: 20%;
    color: #952456;
    font-size: 16px;
    font-weight: 300;
}


.search_form_wrapper_desktop .search-form .search-submit {
    width: 24px;
    height: 24px;
}

.search_form_wrapper_desktop .search-form .search-submit svg {
    width: 24px;
    height: 24px;
    fill: white !important;
}

.search_form_wrapper_desktop .search-form .search-submit svg path {
    stroke: #8f3d5d;
}

.donate {
    display: flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .donate {
        display: none;
    }
}

.donate a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-left: 2rem;
    background: #952456;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1.6rem;
    transition: all 0.3s ease-in-out;
}

.donate a:hover {
    background: #8f3d5d;
    color: #fff !important;
}

.header .container>.button-container:not([data-button=load-more]):not([data-action]) a {
    color: #fff !important;
    background: #952456;
    border-radius: 3rem;

}

.header .container>.button-container {
    position: unset;
    transform: unset;
    margin-left: auto;
    margin-right: 2rem;
}

.header.open .container>.button-container {
    opacity: unset;
}

.header .right-elements .burger span {
    background: #952456;
}

header.header .right-elements {
    position: relative;
}

header.header .right-elements::before {
    content: '';
    position: absolute;
    width: 170%;
    height: 170%;
    top: 50%;
    left: 50%;
    border: 3px solid #952456;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

header.header.open .right-elements::before {
    transform: translate(-46%, -50%);
}

.header .right-elements .burger {
    position: relative;
    z-index: 2;
    scale: 0.75;
}

.header .button-container:not([data-button=load-more]):not([data-action]) .button>span {
    padding-top: 0.1px;
}

footer.footer .mentions_legales {
    margin-left: 3rem;
    margin-top: 6rem;
    position: relative;
}

footer.footer .mentions_legales::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
    top: -16px;
}

.footer .lower-footer {
    max-height: unset;
}

.footer .lower-footer .right-elements:before {
    height: 364px;
}

.footer .lower-footer .left-elements {
    padding-bottom: 12rem;
}

.footer .lower-footer .right-elements .acces_contact {
    background-color: #952456;
    border-radius: 3rem;
    color: #fff;
    padding: 1.5rem 3.7rem;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    margin-top: -1rem;
    margin-left: 6rem;
    margin-bottom: 5.8rem;
}


.footer .lower-footer .right-elements .head {
    margin-top: 2.5rem;
}

.footer .lower-footer .right-elements {
    padding-bottom: 0;
    padding-top: 5rem;
}

@media screen and (min-width: 1025px) {
    .single[class*=page] {
        margin-bottom: 0;
    }
}