/* *** ************************** */
/* *** Header / Menu *** */
/* *** ************************ */
.main-header {
    padding: 16px;
}

@media (max-width: 1279px) {
    .wp-block-site-logo {
        max-width: 153px;
    }
}

@media (min-width: 1280px) {
    .main-header {
        padding: 24px 32px;
    }
}

.layout-mansonry.one-column{
    columns: 1;
}

.layout-mansonry.two-columns{
    columns: 2
}

.layout-mansonry.two-columns.center .layout-mansonry__img,
.layout-mansonry.one-column.center .layout-mansonry__img {
    align-items: center;
}

.menu-fixed {
    position: fixed;
    z-index: 10;
    width: 100%;
    top: 0;
    left: 0;

}

.has-scrolled .menu-fixed {
    background: rgba(255, 255, 255, 0.02);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.menu-opened header .menu-fixed {
    background: #fff;
    backdrop-filter: none;
}

.admin-bar .menu-fixed {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .menu-fixed {
        top: 46px;
    }
}

.menu-nav a {
    transition: .3s;
    color: var(--wp--preset--color--custom-grey) !important;
}

.menu-nav a:hover,
.menu-nav .current-menu-item>a {
    color: #000 !important;
}

/* *** ************************** */
/* *** Lire plus *** */
/* *** ************************ */
/* Limite le texte à 10 lignes */
.limited-text,
.expanded-text {
    transition: height 0.3s ease;
}

.limited-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    overflow: hidden;
}

.auteur-content .limited-text{
    -webkit-line-clamp: 20;
}

.expanded-text {
    display: block;
    -webkit-line-clamp: unset;
}

/* Pour IOS */
@supports (-webkit-touch-callout: none) {

    .limited-text {
        max-height: 280px;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
    }

    .expanded-text {
        max-height: none;
    }
}

.cta-toggle {
    cursor: pointer;
    margin-top: 10px;
    gap: 10px;
}

.cta-icon {
    display: flex;
}

/* *** ************************** */
/* *** Interview *** */
/* *** ************************ */
.img-interview {
    max-width: 100%;
}

@media(min-width: 1280px) {
    .img-interview {
        width: 310px;
    }
}

/* *** ************************** */
/* *** Hamburger *** */
/* *** ************************ */
:root {
    --hamburger-width: 18px;
    --hamburger-span-height: 2px;
    --hamburger-span-gap: 4px;
    --hamburger-animation-speed: 0.4s;
    --hamburger-color: #fff;
    --hamburger-color-sticky: #000;
}

.hamburger {
    width: 64px;
    height: 64px;
    position: relative;
    border: 0;
    padding: 24px 23px;
    border-radius: 50%;
    background-color: var(--hamburger-color-sticky);
    display: flex;
    align-items: center;
}

@media (max-width: 1279px) {
    .hamburger {
        width: 42px;
        height: 42px;
        padding: 14px 12px;
    }
}

.hamburger div {
    position: relative;
    width: 100%;
    height: 100%;
}

.hamburger:hover {
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: var(--hamburger-width);
    height: var(--hamburger-span-height);
    transition: top 0.2s ease var(--hamburger-animation-speed), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background var(--hamburger-animation-speed) ease;
    background: var(--hamburger-color);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: calc(var(--hamburger-span-height) + var(--hamburger-span-gap));
}

.hamburger span:nth-child(3) {
    top: calc(var(--hamburger-span-height) * 2 + var(--hamburger-span-gap) * 2);
}

.header--sticky .hamburger span {
    background: var(--hamburger-color-sticky);
}

.hamburger~span {
    transition: var(--hamburger-animation-speed);
}

.hamburger.active-menu span {
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Même transition que le menu */
}

.hamburger.active-menu span:nth-child(1) {
    top: calc(var(--hamburger-span-height) + var(--hamburger-span-gap));
    transform: translateY(0) translateX(0) rotate(45deg);
}

.hamburger.active-menu span:nth-child(2) {
    opacity: 0;
}

.hamburger.active-menu span:nth-child(3) {
    top: calc(var(--hamburger-span-height) + var(--hamburger-span-gap));
    transform: translateY(0) translateX(0) rotate(-45deg);
}

.menu-nav {
    z-index: 4;
    height: 100%;
    max-height: 0;
    width: 100%;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-opened {
    overflow: hidden;
}

.menu-opened .menu-nav {
    display: block;
    max-height: 100vh;
    height: calc(100vh - 75px);
    overflow-x: visible;
    /* opacity: 1; */
    /* transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 5s ease-in-out; */
}

.menu-opened .wp-social-link svg {
    fill: var(--wp--preset--color--custom-dark) !important;
}

.menu-opened .is-hidden-menu-opened {
    display: none;
}

.wp-block-social-links .wp-block-social-link.wp-social-link {
    font-size: 26px;
    transition: filter 1s;
}

.wp-block-social-link:hover {
    transform: none;
    filter: invert(1);
}

@media (min-width: 1280px) {
    .menu-opened .menu-nav {
        height: calc(100vh - 112px);
    }

    .separator-header {
        position: relative;
        padding-left: 24px;
    }

    .separator-header:before {
        background-color: var(--wp--preset--color--custom-dark);
        content: "";
        width: 0.5px;
        height: 20px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
    }
}

.header-container {
    transition: background-color 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-opened .header-container {
    /* filter: invert(1); */
    border-width: 0 !important;
    height: 100%;
    background-color: var(--wp--preset--color--custom-dark) !important;
    transition: background-color .1s cubic-bezier(0.4, 0, 0.2, 1);
}


.menu-opened .header-container .main-header {
    filter: invert(1);
}

.menu-opened .menu-nav a:hover {
    color: #fff !important;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px #fff;
    animation: twinkle 0.5s infinite alternate;
}

@media (max-width: 768px) {
    .star {
        position: absolute;
        width: 2px;
        height: 2px;
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.1;
        transform: scale(0.3);
    }
}

/* *** ************************** */
/* *** Bloc image texte *** */
/* *** ************************ */
.block-image-texte>div:not(:first-child) {
    padding-top: 64px;
}

.block-image-texte--content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    justify-content: center;
}

.block-image-texte iframe {
    aspect-ratio: 16/9;
    max-width: 100%;
    height: auto;
}

.block-media iframe {
    width: 100%;
    aspect-ratio: 16/9;
    max-width: 100%;
    height: auto;

}

@media (min-width: 1280px) {
    .block-image-texte .flex-desktop {
        gap: 0;
    }

    .block-image-texte .button {
        margin-top: 30px;
    }

    .block-image-texte--content>div {
        padding: 0 100px 20px 120px;
    }
}


/* *** ************************** */
/* *** Nav Footer *** */
/* *** ************************ */


.menu-footer-content ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
    width: 100%
}

.menu-footer-content nav {
    padding: 0;
    margin: 0;
}

.menu-footer-content .menu-item {
    flex: 1;
    text-align: center;
    font-size: 28px;
}

.container-collection-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (max-width: 1279px) {

    .container-collection-footer img {
        margin-left: auto;
        margin-right: auto;
    }

    .menu-footer-content ul {
        flex-direction: column;
        gap: 16px;
    }

    .menu-footer-content .menu-item {
        font-size: 18px;
        text-align: left;
    }

    /* .menu-right-desktop {
        flex-direction: column;
        align-items: flex-start;
    } */

    .order-1-mobile {
        order: 1;
    }
}

@media(min-width: 1280px) {
    .menu-right-desktop ul {
        justify-content: flex-end;
    }
}

/* *** ************************** */
/* *** Bloc header *** */
/* *** ************************ */
.m-titre-t {
    margin-top: 20px;
}

@media (min-width: 1280px) {
    .m-titre-t {
        margin-top: 52px;
    }
}

.header-video iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    max-width: 100%;
}

/* *** ************************** */
/* *** Bloc Titre paragraphe *** */
/* *** ************************ */
.center-paragraph {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-paragraph--inner {
    max-width: 866px;
    width: 100%;
}

/* *** ************************** */
/* *** Swiper *** */
/* *** ************************ */
:root {
    --swiper-pagination-bottom: 0;
    --swiper-pagination-color: #000;
    --swiper-pagination-bullet-inactive-color: var(--wp--preset--color--custom-grey);
    --swiper-navigation-top-offset: calc(100% - 16px);
    /* --swiper-navigation-sides-offset: 90%; */
    --swiper-navigation-color: #000;
    --swiper-navigation-size: '12px';
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    width: 100%;
    text-align: center;
}

/* .swiper-pagination-bullet {
    border-radius: 0;
} */

.swiper-wrapper {
    padding-bottom: 20px;
}

.swiper-auteurs .swiper-wrapper {
    padding-bottom: 48px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: "";
}

.swiper-button-prev {
    left: 90%;
}

.invert .swiper-pagination-bullet {
    background-color: #E3E3E3;
}

.swiper-auteurs {
    width: 100%;
    padding-top: 50px;

}

.swiper-auteurs--inner {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.56) 100%);

    display: flex;
    width: 100%;
    height: 100%;
    padding: 32px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
    box-sizing: border-box;
    color: var(--wp--preset--color--custom-light);
    transition: 0.5s;
}

.hidden-auteurs {
    max-height: 0;
    overflow: hidden;
    transition: 1s;
}

@media (min-width: 1280px) {
    .swiper-auteurs .swiper-slide:hover .hidden-auteurs {
        max-height: 100vh;
        overflow: visible;
        transition: 1s;
    }
}

@media (max-width: 1279px) {
    .swiper-auteurs .swiper-slide a {
        pointer-events: none;
    }

    .swiper-auteurs .swiper-slide.slide-active a {
        pointer-events: all;
    }

    .swiper-auteurs .swiper-slide:hover .hidden-auteurs {
        max-height: 100vh;
        overflow: visible;
        transition: 1s;
    }
}

/* .swiper-auteurs .swiper-slide:hover .hidden-auteurs {
    max-height: 100vh;
    overflow: visible;
    transition: 1s;
} */

.swiper-auteurs .swiper-slide:hover .swiper-auteurs--inner {
    backdrop-filter: blur(18.5px);
}

.swiper-auteurs .swiper-slide {
    width: 420px;
    height: 510px;
    position: relative
}

.swiper-auteurs .swiper-slide a {
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
}

.swiper-auteurs .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

@media (max-width: 1279px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .swiper {
        margin-bottom: 20px;
    }

    .swiper-auteurs .swiper-wrapper {
        padding-bottom: 68px;
    }

    .swiper-auteurs .swiper-slide {
        max-width: 80vw;
        margin-left: 16px;
    }

    .swiper-auteurs .swiper-slide:last-child {
        margin-right: 16px;
    }

    .swiper-auteurs .swiper-pagination {
        left: 16px;
    }
}

/* Swiper Bloc media */
.swiper-media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 727px;
}

.swiper-media .swiper-slide {
    height: auto;
}

@media (max-width: 1279px) {
    .swiper-media img {
        max-height: 229px;
    }
}

/* Swiper Bloc finalistes */
.swiper-finalistes img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
    width: fit-content;
}

.swiper-finalistes .wrapper-txt {
    width: 0;
    min-width: 100%;
}

.swiper-finalistes .swiper-link {
    width: fit-content;
    height: 100%;
    justify-content: flex-end;
}

.swiper-finalistes .swiper-slide:last-child {
    margin-right: 16px;
}

@media (max-width: 1279px) {
    .swiper-finalistes .swiper-link {
        width: fit-content;
        height: 100%;
        justify-content: flex-end;
    }

    .swiper-finalistes .swiper-slide {
        width: auto;
        max-width: calc(100% - 32px);
        margin-left: 16px;
        height: auto;
    }

    .swiper-finalistes .swiper-pagination {
        left: 16px;
    }
}

@media (min-width: 1280px) {
    .swiper-finalistes {
        overflow: visible;
    }

    .swiper-finalistes img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 405px;
        width: fit-content;
    }

    .swiper-finalistes .swiper-wrapper {
        box-sizing: border-box;
    }

    .swiper-finalistes .swiper-slide {
        width: auto;
    }

    .swiper-finalistes .wrapper-txt {
        width: 0;
        min-width: 100%;
    }

    .swiper-finalistes .flex-desktop {
        column-gap: 50px;
        row-gap: 80px;
        flex-wrap: wrap;
    }
}

/* *** ************************** */
/* *** Bloc slider Finaliste *** */
/* *** ************************ */
.swiper-slider-finalistes .swiper-slide {
    height: auto;
    width: auto;
    max-width: 100%;
    margin-right: 50px;
}

.swiper-slider-finalistes .swiper-link {
    width: fit-content;
}

.swiper-slider-finalistes .wrapper-txt {
    width: 0;
    min-width: 100%;
}

.swiper-slider-finalistes img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
    width: fit-content;
    display: block;
}

@media (max-width: 1280px) {
    .swiper-slider-finalistes .swiper-slide {
        margin-left: 16px;
        margin-right: 0;
        max-width: calc(100% - 32px);
    }

    .swiper-slider-finalistes .swiper-slide:last-child {
        margin-right: 16px;
    }

    .swiper-slider-finalistes .swiper-pagination {
        left: 16px;
    }
}

/* *** ************************** */
/* *** Anim bloc laureat *** */
/* *** ************************ */
/* End custom CSS */
@media (min-width: 1280px) {
    .image-laureat-1 {
        animation: float1 4s ease-in-out infinite;
    }

    .image-laureat-2 {
        animation: float2 7s ease-in-out infinite;
    }

    .image-laureat-3 {
        animation: float3 5s ease-in-out infinite;
    }

    .image-laureat-4 {
        animation: float4 4.7s ease-in-out infinite;
    }

    .image-laureat-5 {
        animation: float4 3.7s ease-in-out infinite;
    }

    .image-laureat-6 {
        animation: float4 5.7s ease-in-out infinite;
    }
}

@keyframes float1 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float3 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-13px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float4 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-17px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float5 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float6 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* End custom CSS */

/* *** ************************** */
/* *** Bloc Lauréat *** */
/* *** ************************ */

.block-laureat {
    display: flex;
    padding: 64px 16px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    align-self: stretch;
    overflow: hidden;
    position: relative;
}

.parallax-images-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
}

.parallax-image {
    position: absolute;
    width: 373px;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.block-laureat .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    align-self: stretch;
}

.laureat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    align-items: center;
}

span.laureat-up-title {
    font-size: 18px;
    line-height: 132%;
    text-align: center;
}

h2.laureat-title {
    text-align: center;
    font-size: 36px;
    font-weight: 400;
    line-height: 110%;
}

.laureat-txt p {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 133%;
    margin-bottom: 0;
}

.laureat-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    align-self: stretch;
}

.laureat-author span {
    display: block;
    width: 100%;
    text-align: center;
}

span.laureat-author-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
}

span.laureat-author-fonction {
    font-size: 14px;
    font-weight: 400;
    line-height: 124%;
}

#swiper-laureat {
    display: none;
}

.image-laureat-1 {
    top: -5%;
    left: -6%;
}

.image-laureat-2 {
    top: 46%;
    left: 7%;
    width: 421px;
}

.image-laureat-3 {
    bottom: -20%;
    left: 0;
    width: 443px;
}

.image-laureat-4 {
    top: -25%;
    right: 0%;
    width: 543px;
}

.image-laureat-5 {
    top: 35%;
    right: 0;
}

.image-laureat-6 {
    bottom: -15%;
    right: 2%;
}


@media (max-width: 1279px) {
    #swiper-laureat {
        display: block;
        width: 100%;
        padding: 20px 0;
    }

    #swiper-laureat img {
        width: auto;
        max-width: none;
        height: 230px;
    }

    #swiper-laureat .swiper-slide {
        width: auto;
    }

    #swiper-slide img {
        width: 100%;
        height: auto;
        display: block;

    }
}


@media (min-width: 1280px) {
    .block-laureat {
        padding: 138px 0;
    }

    .block-laureat .container {
        position: relative;
        z-index: 1;
        width: 644px;
        min-height: 548px;
        justify-content: center;
    }


    .parallax-images-wrapper {
        display: block;
    }

    h2.laureat-title {
        font-size: 60px;
    }

    .laureat-txt p {
        font-size: 20px;
    }

    span.laureat-up-title {
        font-size: 22px;
    }
}

.swiper-jury .swiper-slide {
    max-width: 80vw;
    height: auto;
}

/* *** ************************** */
/* *** Block Mosaique *** */
/* *** ************************ */

.layout-mansonry {
    column-count: 3;
    column-gap: 24px;
}

.layout-mansonry .layout-mansonry__img {
    padding: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.layout-mansonry .layout-mansonry__img:hover .credit-txt {
    opacity: 1;
}

.layout-mansonry .layout-mansonry__img .credit-txt {
    position: absolute;
    opacity: 0;
    bottom: 3px;
    transition: .5s;
    margin-bottom: 0;
}

@media (max-width: 1279px) {
    .swiper-mosaique .swiper-link {
        width: fit-content;
        height: 100%;
        justify-content: flex-start;
    }

    .swiper-mosaique .swiper-slide {
        width: auto;
        margin-left: 16px;

    }

    .swiper-mosaique .swiper-slide:last-child {
        margin-right: 16px;

    }

    .swiper-mosaique .credit-txt {
        max-width: calc(100vw - 16px)
    }

    .swiper-mosaique .swiper-slide img {
        /* max-height: 243px; */
        width: auto;
        max-width: none;
        height: 230px;

    }

    .swiper-finalistes .swiper-pagination,
    .swiper-mosaique .swiper-pagination {
        left: 16px;
    }
}

/* *** ************************** */
/* *** TPL Laureat *** */
/* *** ************************ */
@media (min-width: 1280px) {
    .rotate-text {
        position: absolute;
        left: 4px;
        margin-left: -50px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        top: 800px;
        transform: rotate(270deg);
        transform-origin: 0 0;
        width: auto !important;
        max-width: none !important;
        white-space: nowrap;
    }

    .rotate-text--prize {
        top: 400px;
        left: 8px;
    }
}

@media (max-width: 1279px) {
    .block-laureat-single {
        padding-top: 18.5px;
        padding-bottom: 18.5px;
    }
}

/* *** ************************** */
/* *** TPL Auteur            *** */
/* *** ************************ */


.block-auteurs-single {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

@media (max-width: 1280px) {
    .block-regard-auteur .sticky-image {
        width: 100%;
        /* transition: transform 0.3s ease, maxHeight 0.3s ease; */
        transition: transform 1s ease-in-out, max-height 1s ease-in-out;
    }

    .block-regard-auteur .sticky-block.is-scrolled .sticky-image {
        max-height: 300px;
        transform: scale(0.9);
        /* max-height: 250px; */
        width: auto;
    }
}

@media (min-width: 1280px) {
    .container-single-auteur {
        gap: 20px;
    }

    .single-auteur-right {
        max-width: 421px;
    }

    .sticky-image {
        width: 100%;
        /* transition: transform 0.3s ease, maxHeight 0.3s ease; */
        transition: transform 1s ease-in-out, max-height 1s ease-in-out;
    }

    .sticky-block.is-scrolled .sticky-image {
        max-height: 300px;
        transform: scale(0.9);
        /* max-height: 250px; */
        width: auto;
    }

    .single-auteur-left {
        max-width: 800px;
    }
}

@media (min-width: 1440px) {
    .container-single-auteur {
        gap: 135px;
    }
}

@media (max-width: 1279px) {
    .single-auteur-right {
        max-width: 600px;
        margin-bottom: 64px !important;
    }

    .single-auteur-left {
        width: 600px;
        max-width: 100%;
    }

    .container-single-auteur {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .block-auteurs-single {
        gap: 32px;
    }
}

/* *** ************************** */
/* *** Menu Header *** */
/* *** ************************ */
.navigation-header nav ul {
    list-style: none;
    font-style: normal;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    margin: 0;
    padding: 0;
    gap: 11px;
}

header .navigation-header nav ul {
    list-style: none;
    font-style: normal;
    text-transform: uppercase;
    gap: 32px;
    font-family: var(--wp--preset--font-family--sackers-gothic-std);
    letter-spacing: -0.08em;
}

/* header .navigation-header nav .menu-image {
    position: relative;
} */

header .navigation-header nav img {
    display: none;
}

.navigation-header nav {
    display: flex;
    flex-direction: column;
    height: 100%;
}


@media (min-width: 1280px) {
    header .navigation-header nav {
        width: fit-content;
    }

    header .navigation-header li.menu-item {
        position: relative;
        min-width: 600px;
    }

    .navigation-header nav ul {
        font-size: 28px;
        gap: 42px;
    }

    header .navigation-header nav .menu-item:hover img {
        opacity: 1
    }

    header .navigation-header nav img {
        position: absolute;
        width: 500px;
        height: auto;
        display: block;
        right: -90%;
        top: 60%;
        transform: translateY(-50%);
        pointer-events: none;
        opacity: 0;
        will-change: transform, filter;
        max-width: none;
        object-fit: cover;
        max-height: none;
        transition: opacity .05s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    header .navigation-header nav .menu-item:first-child img {
        transform: none;
        top: -30%
    }

    header .navigation-header nav .menu-item:last-child img {
        bottom: -30%;
        top: unset;
        transform: none;

    }
}

/* button search header */
.wp-block-search.wp-block-search__button-only .wp-block-search__button {
    background: none;
}

/* Styles pour le formulaire de recherche */
.wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

/* État initial caché */
.search-input--hidden {
    width: 0;
    padding: 0;
    margin: 0;
    border: none;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease, border 0.3s ease;
}

/* État visible lorsque la classe est retirée par JS */
.search-input {
    transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease, border 0.3s ease;
    max-width: 200px;
}

/* Classe ajoutée par JS lorsque le champ est visible */
.search-input--visible {
    width: 200px;
    padding: 8px;
    margin-right: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    opacity: 1;
}

.search-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 2;
    display: flex;
;
}

.search-toggle:focus {
    outline: none;
}

.wp-block-search p,
wp-block-search br {
    display: none;
}

/* end search form */
.element-hidden {
    display: none !important;
}

.show-items .element-hidden {
    display: flex !important;
}

/* Pagination Page prize */
.pagination-annee {
    display: flex;
    gap: 9px;
    align-items: center;
}

.next-year::after,
.prev-year::before {
    content: "+";
    display: inline-block;
    padding-left: 9px;
    font-size: 20px;
    line-height: 1;
}

.prev-year::before {
    padding-right: 9px;
}

.next-year::after {
    padding-left: 9px;
}

@media (max-width: 1279px) {

    .pagination-annee--year,
    .current-year {
        font-size: 14px;
    }

    .pagination-annee {
        padding-top: 16px;
        padding-bottom: 16px;
        justify-content: center;
    }

    .pagination-annee-mobile {
        background-color: var(--wp--preset--color--custom-light);
        position: sticky;
        z-index: 9;
        top: 77px;
    }

    .admin-bar .pagination-annee-mobile {
        top: 109px;
    }
}