/* ==========================================================================
   ==========================================================================

    * Modules *
    Styles des modules

    Sommaire :
    - GFWK : TypedMenu
    - GRDC : liste de contenus
    - GWEB : ContentModel
    ----- Model1 (tableau aside)
    ----- Model2 (Headline CTA)
    - GRDC : LinkButtons

============================================================================= */

/* ========================================================================== */
/* # TypedMenu   */
/* ========================================================================== */

/* Menu Principal - model1 */
#main-menu.typedMenu[data-var="model1"]{
    display: flex;

    ul.items.niv1{
        display: flex;

        @media screen and (min-width: 993px) {
            gap: 4px;
        }

        @media screen and (max-width: 992px) {
            display: none;
            background-color: var(--color-background);
            position: absolute;
            overflow: auto;
            height: calc(100dvh - 62px);
            width: 100vw;
            flex-direction: column;
            justify-content: center;
            top: 62px;
            left: 0;
            padding-bottom: 48px;
            transform: translateX(-100%);
            transition: transform 0.2s ease-out;

            &:before {
                content: "";
                width: 100%;
                height: 62px;
                top: -62px;
                left: 0;
                position: absolute;
                box-shadow: var(--shadow-div);
            }
        }

        li.item{
            color: var(--color-main);
            font-family: var(--font-secondary);
            font-size: 1.2rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: bold;
            position: relative;
            display: flex;
            align-items: center;

            @media screen and (max-width: 992px) {
                font-size: 1.7rem;
                letter-spacing: 4px;
                justify-content: center;
                height: auto;
                transition-duration: 0.3s;

                &:hover{
                    background-color: var(--color-main);
                    color: var(--color-invariant_white);
                }
            }

            @media screen and (min-width: 993px){
                &:after{
                    content: "";
                    display: block;
                    height: 2px;
                    width: 0%;
                    background-color: var(--color-secondary);
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    transition-duration: 0.3s;
                }

                &:hover:after,
                .selected{
                    width: 100%;
                }
            }

            a{
                padding: 0 6px;
                font-style: normal;
                text-decoration: none;
                height: 42px;
                display: flex;
                align-items: center;

                @media screen and (max-width: 992px){
                    padding: 16px 6px;
                    width: 100%;
                    justify-content: center;
                }
            }

        }

        &.active{
            display: flex;
        }

        .copyright{
            position: absolute;
            bottom: 0;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            font-size: 1.2rem;
            line-height: 2.2rem;

            @media screen and (min-width: 993px){
                display: none;
            }
        }

    }
}

button.menuIcon{
    height: 20px;
    width: 20px;
    padding: 0;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;

    transition: 0.3s transform linear;
    transform: rotate(0deg);

    @media screen and (min-width: 993px){
        display: none;
    }

    .icon-bars{
        display: block;
        width: 20px;
        height: 2px;
        background-color: var(--color-main);
        position: absolute;

        &.top{
            top: 0;
            left: 0;
        }

        &.center{
            top: calc(50% - 1px);
            left: 0;
        }

        &.bottom{
            bottom: 0;
            right: 0;
        }
    }

    &.open{
        transition: transform .4s cubic-bezier(0.68,-0.55,0.265,1.55),-webkit-transform .4s cubic-bezier(0.68,-0.55,0.265,1.55);
        transform: rotate(180deg);

        .icon-bars{
            transform-origin: center left;
            &.center{display: none;}
            &.top{
                animation: closeMenuBottom 0.3s;
                transform: rotate(45deg);
                top: 2px;
                left: 2px;}
            &.bottom{
                animation: closeMenuTop 0.3s;
                transform: rotate(-45deg);
                bottom: 2px;
                right: -2px;
            }
        }

        + .items.active{
            transform: translateX(0%) !important;
        }
    }
}

/* Menu Footer - model2 */
#footer-menu.typedMenu[data-var="model2"]{
    ul.items.niv1 {
        display: flex;
        justify-content: center;
        gap: 24px 12px;
        flex-wrap: wrap;

        li.item{
            color: var(--color-main);
            font-family: var(--font-secondary);
            font-size: 1.5rem;
            text-transform: uppercase;
            font-weight: bold;
            display: flex;
            gap: 12px;
            align-items: center;

            &:not(:last-child):after{
                content: "";
                display: block;
                height: 12px;
                width: 1px;
                background-color: var(--color-secondary);
            }

            a{
                text-decoration: none;
            }
        }
    }
}

/* Menu boutons - model3 */
.downloadPdf {
    margin-bottom: 24px !important;
    margin-top: 12px !important;

    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        .btn {
            text-transform: uppercase;
        }

        &:has(> .item > .centrer) {
            justify-content: center;
        }
    }
}


/*********************************************************
# GRDC : liste de contenus
**********************************************************/
/* Model 1 - Liste de contenu fin d'articles */
.GRDC_List_Model[data-model="Modele_1"]{
    display: flex;
    flex-direction: column;
        gap: 50px;
    .title_mod {
        .content-title {
            text-align: center;

            .h4 {
                color: var(--color-main);
            }
            .h1 {
                color: var(--color-main);
            }
        }
    }
    .contentList {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(333px, 1fr));
        gap: 40px;
        @media screen and (max-width: 700px) {
            gap: 12px;
        }
    }
    .showMore {
        text-align: center;
        font-weight: 650;
        color: var(--color-main);
        .btn {
            margin-bottom: 42px;
        }
        a:hover {
            text-decoration: none;
        }
    }
}

/* Model 2 - Liste de contenu à la Une */

.ContentList2[data-model="Modele_2"]{
    padding-bottom: 32px;

    .title {
        text-align: center;
        padding: 64px;
        color: var(--color-main);
    }

    .itemsList{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;

        @media screen and (max-width:768px) {
            grid-template-columns: 1fr;

            article.article:first-child {
                .content{
                    display: block;
                }
            }
        }

        article.article{
            figure{
                aspect-ratio: 16 / 9;
            }

            .corps{
                flex: 1;

                .h2{
                    color: var(--color-main);
                    a{
                        text-decoration: none;
                    }
                }
            }
        }

        article.article:first-child {
            @media screen and (min-width:769px) {
                grid-column: span 3;
                display: flex;
            }

            figure{
                aspect-ratio: 16 / 9;
                
                @media screen and (min-width:769px) {
                    min-height: 300px;
                    max-width: 535px;
                }

                @media screen and (min-width:769px) and (max-width: 1040px) {
                    min-height: unset;
                    max-width: 400px;
                }
            }

            .corps{
                .h2{
                    font-size: var(--f-2XL);
                }

                .content{
                    display: block !important;
                }
            }
            
        }
    }

    .showMore {
        display: flex;
        justify-content: center;
        margin: 64px 0 32px;
    }
}

/* Model 3 - Event ? */

.GRDC_List_Model[data-model="Modele_3"] {
    width: 100%;
    .evenement {
        display: grid;
        grid-template-columns: 74px 1fr auto;
        padding: 24px;
        align-items: center;
        gap: 16px;
        position: relative;
        min-height: 112px;
        a {
            text-decoration: none;
            &:after {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
            }
        }
        .classement {
            font-weight: 700;
            font-size: var(--f-XL);
            text-transform: uppercase;
        }
    }
    h2 {
        color: var(--color-main);
        text-transform: uppercase;
        margin-bottom: 32px;
    }
    .date {
        display: flex;
        flex-direction: column;
        font-size: var(--f-S);
        text-transform: uppercase;
    }
    ul {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    li[data-skin="a-venir"] {
        .evenement {
            background-color: var(--color-invariant_white);
            &:has(a) {
                &:hover {
                    background-color: var(--color-main);
                    color: var(--color-invariant_white);
                    .date {
                        color: var(--color-invariant_white);
                    }
                    .h3 {
                        color: inherit;
                    }
                }
            }
            .date {
                color: var(--color-main);
            }
        }
    }
    li[data-skin="passe"] {
        .evenement {
            background-color: var(--color-main);
            color: var(--color-invariant_white);
            &:has(a) {
                &:hover {
                    background-color: var(--color-invariant_white);
                    color: inherit;
                    .date {
                        color: var(--color-main);
                    }
                }
            }
            .h3 {
                color: inherit;
            }
        }
    }
    
}

/* Model 4 : Liste de vidéos */
.ContentList2[data-model="Modele_4"] {
    max-width: unset !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-color: var(--color-main);
    padding-bottom: 64px;
    padding-top: 64px;

    .title{
        max-width: var(--size-wrapper);
        width: 100%;
        margin: 0 auto;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 32px;

        .h2{
            color: var(--color-invariant_white);
        }

        .infos{
            color: var(--color-invariant_white);
            font-size: var(--f-S);
            margin-bottom: 0;
            padding-bottom: 0;
        }
    }

    .itemsList {
        position: relative;

        .splide__arrows {
            position: absolute;
            width: 100%;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1;

            .splide__arrow {
                border-radius: 0;

                svg {
                    fill: var(--color-main);
                }
            }
        }

        .splide__track{
            .splide__list {
                gap: 32px;
            }
        }
    }

    article.video {
        aspect-ratio: 1 / 1;
        width: 500px;

        iframe {
            width: 100%;
            height: 100%;
        }

    }
}


/* Model 5 : Galerie slider */
.ContentList2[data-model="Modele_5"] {
    max-width: unset !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    .title {
        max-width: var(--size-wrapper);
        width: 100%;
        margin: 0 auto;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 24px;
        padding-top: 16px;

        .infos {
            color: var(--color-main);
            font-size: var(--f-S);
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .h2 {
            color: var(--color-main);
        }
    }

    .splide__list{
        img{
            height: 360px;
            width: auto;
            max-width: none;
        }
    }

    .splide__arrows {
        position: absolute;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;

        .splide__arrow {

            svg {
                fill: var(--color-main);
            }
        }
    }

    .showMore{
        max-width: var(--size-wrapper);
        width: 100%;
        margin: 0 auto;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 32px;
        padding-top: 24px;
    }
}

/* Model 6 : Menu épisode */
.ContentList2[data-model="Modele_6"] {
    max-width: none !important;
    padding: 0 16px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 430px;

    .constrain{
        max-width: 800px;
        margin: 0 auto; 
        background: var(--color-invariant_white);
        padding: 24px;
        width: 100%;

        .title {
            text-align: center;
            color: var(--color-main);
            margin-bottom: 24px;
        }

        .itemsList {
            max-width: 640px;
            margin: 0 auto;

            .splide__arrows {
                width: calc(100% + 48px);
                margin-left: -24px;
                position: sticky;
                transform: translateY(90px);
                top: 16px;
                z-index: 5;

                @media (min-width: 640px){
                    .splide__arrow--prev{
                        left: -12px !important;
                    }

                    .splide__arrow--next {
                        right: -12px !important;
                    }
                }
                
            }
        }
    }

    @media (min-width: 640px) {
        position: sticky;
        top: -274px;
        z-index: 2;

        .constrain{
            position: sticky;
            top: -148px;
        }
    }

}

/* ========================================================================== */
/* # GWEB : ContentModel   */
/* ========================================================================== */



/*********************************************************
            GWEB : Model1 (tableau aside)
**********************************************************/
.GWEB_contentModel[data-model="Model1"] {
    text-transform: uppercase;
    font-size: var(--f-S);
    color: var(--color-main);
    font-family: var(--font-secondary);
    table {
        font-weight: 700;
        colgroup {display: block;}
        tbody {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        tr {
            padding-bottom: 8px;
            border-bottom: 1px solid var(--color-clear);
            display: flex;
            justify-content: space-between;
        }
    }
}

/* Model2 - Headline CTA*/
.GWEB_contentModel[data-model="Model2"]{
    max-width: 100% !important;
    background-position: center;
    background-size: cover;
    position: relative;

    .content {
        max-width: var(--size-wrapper);
        width: fit-content;
        margin: 0 auto;
        position: relative;
        padding: 128px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        .titre{
            font-size: 20rem;
            line-height: 20rem;
            font-family: var(--font-secondary);
            text-transform: uppercase;
            letter-spacing: 4px;
            display: flex;
            flex-direction: column;
            text-align: center;
            justify-content: center;
            color: var(--color-invariant_white);

            @media screen and (max-width:768px) {
                font-size: 6rem;
                line-height: 8rem;
            }

            .subtitle{
                font-size: 1.6rem;
                letter-spacing: 6px;
                line-height: 1.6rem;
            }
        }
    }

    &:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.8);
    }
}

/* Model3 - Contenu Texte*/
.GWEB_contentModel[data-model="Model3"]{
    padding: 100px 0;

    .content{
        .h2{
            margin-top: 5px;
            margin-bottom: 30px;
            color: var(--color-main);
        }

        h2, h3, H4{
            strong{
                font-family: var(--font-secondary);
                line-height: 3.2rem;
            }
        }

        p{
            line-height: 2.8rem;
            padding: 10px 0;
            margin-bottom: 1rem;

            &:last-of-type{
                margin-bottom: 0;
                padding-bottom: 0;
            }

            strong{
                font-family: var(--font-secondary);
                font-size: var(--f-M-Strong);
                line-height: 3.2rem;
            }
        }

        
 
        figure {
            margin: 24px 0;
            
            img{
                box-shadow: var(--shadow-div);
            }

        }
    }
    .btn{
        margin-top: 36px;
    }
    &:has(.infos) {
        padding: 25px 0;
        .infos {
            color: var(--color-main);
            font-size: var(--f-S);
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .h2 {
            color: var(--color-main);
            font-size: var(--f-4XL);
            font-family: var(--font-secondary);
        }
    }
    
}

/* Model4 + Model6 - Hero */
.GWEB_contentModel[data-model="Model4"],
.GWEB_contentModel[data-model="Model6"]{
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    height: 617px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: none !important;
    overflow: hidden;

    .content:has(> figure) {
        position: relative;

        &:before {
            content: "";
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      background-color: #00000075;
      box-shadow: 0px 0px 100px 120px #00000075;
        }
    }
    
    figure.logo{
        position: relative;
        max-height: 365px;
        max-width: 550px;
        height: 100vh;

        img{
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
    }
    .title-hide {
        height: 0;
        text-indent: -3333px;
    }
    .topContent {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        text-align: center;
        color: var(--color-invariant_white);
        .infos {
            font-family: var(--font-secondary);
            font-size: var(--f-XL);
            letter-spacing: 6px;
            text-shadow: 0px 0px 10px var(--color-invariant_black);
            font-weight: 750;
            text-transform: uppercase;
        }
        .h1 {
            color: inherit;
            font-size: var(--f-6XL);
            text-shadow: 0px 0px 36px var(--color-text);
        }
    }
}

/* Model5 - Fiche*/
.GWEB_contentModel[data-model="Model5"] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding-top: 42px;
    padding-bottom: 24px;

    @media screen and (max-width: 780px) {
        grid-template-columns: 1fr;
        
    }
    .content-video {
        margin-top: auto;
        iframe {
            width: 100%;
            aspect-ratio: 16/9;
            overflow: hidden;
        }
    }
    .content-main {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .btn {
        width: fit-content;
        text-transform: uppercase;
    }
    h2 {
        color: var(--color-main);
        font-size: var(--f-3XL);
    }
    h3 {
        color: var(--color-main);
        font-size: var(--f-2XL);
        font-family: var(--font-secondary);
        line-height: 1;
    }
    .vignette {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        aspect-ratio: 3 / 4;
        background-color: var(--color-invariant_overlay);
        overflow: hidden;
        img {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.7;
        }
        .image-inter {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            z-index: 1;
            p {
                font-size: var(--f-3XL);
                color: var(--color-invariant_white);
                font-family: var(--font-secondary);
                text-shadow: 0px 0px 12px var(--color-text);
                font-weight: 700;
                text-align: center;
            }
        }
    }
    @media screen and (min-width: 781px) {
        &:not(.visuel) {
            
            &:not(.invert) {
                .h2 {
                    grid-column-start: 1 / span 2;
                }
                .content-video,
                figure {
                    grid-column-start: 1;
                    grid-row-start: 2;
                }
                .content-main {
                    grid-column-start: 2;
                    grid-row-start: 2;
                }
                .btn {
                    grid-column-start: 2;
                    grid-row-start: 3;
                }
            }
            &.invert {
                .h2 {
                    grid-column-start: 1 / span 2;
                }
                .content-video,
                figure {
                    grid-column-start: 2;
                    grid-row-start: 2;
                }
                .content-main {
                    grid-column-start: 1;
                    grid-row-start: 2;
                }
                .btn {
                    grid-column-start: 1;
                    grid-row-start: 3;
                }
            }

            &.noMedia{
                .h2 {
                    grid-column-start: 2;
                }
            }
        }
        &.visuel {
            
            &:not(.invert) {
                .h2 {
                    grid-column-start: 1 / span 2;
                }
                .content-main {
                    grid-column-start: 2;
                    grid-row-start: 2;
                    justify-content: center;
                }
                .content-video,
                figure {
                    grid-column-start: 2;
                    grid-row-start: 3;
                }
                .content-image {
                    grid-column-start: 1;
                    grid-row: 2 / span 2;
                }
            }
            &.invert {
                .h2 {
                    grid-column-start: 1 / span 2;
                }
                .content-main {
                    grid-column-start: 1;
                    grid-row-start: 2;
                }
                .content-video,
                figure {
                    grid-column-start: 1;
                    grid-row-start: 3;
                }
                .content-image {
                    grid-column-start: 2;
                    grid-row: 2 / span 2;
                }
            }

            &.noMedia{
                .h2 {
                    grid-column-start: 2;
                }
            }
        }
    }
    @media screen and (max-width: 780px) {
        .h2 {
            order: -2;
        }
        &:not(.visuel) {
            .content-video {
                order: -1;
            }
        }
        &.visuel {
            .content-image {
                order: -1;
            }
        }
    }
}

/* Model6 - Full 100vh + before / after */
.GWEB_contentModel[data-model="Model6"] {
    min-height: 100vh;
     &::before, &::after {
        position: absolute;
        content: " ";
        left: 0;
        right: 0;
    }
     &::before {
        height: 20%;
        top: -50px;
        background: url(../images/texture_top_skippercreditmutuel@2x.png) no-repeat;
        background-position-x: 0%;
        background-position-y: 0%;
        background-size: auto;
        background-size: cover;
        background-position: bottom center;
    }
     &::after {
        height: 32%;
        bottom: 0;
        background: url(../images/texture_bottom_skippercreditmutuel@2x.png) no-repeat;
        background-position-x: 0%;
        background-position-y: 0%;
        background-size: auto;
        background-size: cover;
        background-position: top center;
    }
}

/* Model7 - Top Homepage */
.GWEB_contentModel[data-model="Model7"]{
    min-height: calc(100vh - 62px);
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 300px;
    max-width: none !important;
    overflow: hidden;
    &::after {
        position: absolute;
        content: " ";
        left: 0;
        right: 0;
    }
    &::after {
        height: 32%;
        bottom: 0;
        background: url(../images/texture_bottom_skippercreditmutuel@2x.png) no-repeat;
        background-position-x: 0%;
        background-position-y: 0%;
        background-size: auto;
        background-size: cover;
        background-position: top center;
    }
    .fondIllu {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        background-color: var(--color-invariant_black);
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.7;
        }
    }
    .content {
        max-width: var(--size-wrapper);
        width: 100%;
        @media screen and (max-width: 640px) {
            align-items: center;
            display: flex;
            flex-direction: column;
        }
        .logo {
            max-width: 240px;
        }
        .textContent {
            width: fit-content;
            @media screen and (max-width: 640px) {
                text-align: center;
            }
            .title {
                color: var(--color-invariant_white);
                font-size: var(--f-4XL);
            }
            .subTitle, .infos{
                font-weight: 750;
                color: var(--color-invariant_white);
            }

        }
        .ctaContent {
            margin-top: 24px;
            .navigation-before {
                display: flex;
                flex-direction: column;
                width: fit-content;
                gap: 16px;
            }
        }
    }
}

/* Model8 - Texte avec images Gauche/droite */
.GWEB_contentModel[data-model="Model8"]{
    display: flex;
    gap: 48px;
    align-items: center;
    position: relative;

    @media (max-width: 999px){
        flex-direction: column;
    }

    > * {
        z-index: 1;
    }

    .backgroundColor {
        position: absolute;
        width: 100dvw;
        height: 100%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    &:has(> .backgroundColor){
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .illustration {
        position: relative;
        width: 100%;

        @media (min-width: 1000px){
            min-height: 480px;
            width: calc(50% - 24px);
            min-width: calc(50% - 24px);
        }

        figure{
            width: 100%;
            height: 100%;

            @media (min-width: 1000px){
                position: absolute;
            }

            img{
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
    }
    .content{
        .h2{
            margin-top: 5px;
            margin-bottom: 30px;
            color: var(--color-main);
        }

        p{
            line-height: 2.8rem;
            padding: 10px 0;
            margin-bottom: 1rem;

            &:last-of-type{
                margin-bottom: 0;
                padding-bottom: 0;
            }
        }

        strong{
            font-family: var(--font-secondary);
            font-size: var(--f-M-Strong);
            line-height: 3.2rem;
        }
    }

    .btn{
        margin-top: 36px;
    }

    &:has(.infos) {
        padding: 25px 0;
        .infos {
            color: var(--color-main);
            font-size: var(--f-S);
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .h2 {
            color: var(--color-main);
            font-size: var(--f-4XL);
            font-family: var(--font-secondary);
        }
    }
}


/* ========================================================================== */
/* # GWEB : ListContentModel   */
/* ========================================================================== */

.GWEB_listElementsModel[data-model="Model1"] {
    padding-top: 24px;
    padding-bottom: 24px;
    &.background{
        padding: 0 !important;
        margin-top: 24px !important;
        margin-bottom: 24px !important;
    }
    .vignette {
        overflow: hidden;
    }
    h2 {
        font-size: var(--f-3XL);
        font-family: var(--font-secondary);
        font-weight: 700;
        line-height: 1.2;
        color: var(--color-main);
    }

    .video {
        position: relative;
        iframe {
            width: 100%;
            aspect-ratio: 16 / 9;
        }
    }
    .pdf {        
        .vignette {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background-color: var(--color-invariant_overlay);
        }
        img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.7;
        }
        a {
            color: var(--color-invariant_white);
            text-shadow: 0px 0px 12px var(--color-text);
            font-weight: 700;
            text-decoration: none;
            font-size: var(--f-M);
            display: flex;
            align-items: center;
            z-index: 1;
            &:hover {
                text-decoration: underline;
            }
            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
            }
        }
    }
    .text {
        .vignette {
            > *:not(:last-child) {
                margin-bottom: 18px;
            }
        }
        &.signature {
            img {
                float: right;
            }
        }
    }
    &.background .card.text{
        padding: 48px 64px;
    }

    &.background .card.image{
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .image {
        .vignette {
            width: 100%;
            aspect-ratio: 16/9;
            img {
                width: 100%;
                height: 100%;
                object-fit: cover
            }
        }
    }

    &.Model1 {
        padding-top: 25px;
        .vignette {
            overflow: hidden;
        }
        h2 {
            color: var(--color-main);
        }

        .video {
            iframe {
                width: 100%;
                aspect-ratio: 16 / 9;
            }
        }
        .pdf {        
            .vignette {
                display: flex;
                justify-content: center;
                align-items: center;
                position: relative;
                width: 100%;
                aspect-ratio: 16/9;
                background-color: var(--color-invariant_overlay);
            }
            img {
                position: absolute;
                width: 100%;
                height: 100%;
                object-fit: cover;
                opacity: 0.7;
            }
            a {
                color: var(--color-invariant_white);
                text-shadow: 0px 0px 12px var(--color-text);
                font-weight: 700;
                text-decoration: none;
                font-size: var(--f-M);
                display: flex;
                align-items: center;
                z-index: 1;
                &:hover {
                    text-decoration: underline;
                }
                &::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                }
            }
        }
        .text {
            .vignette {
                > *:not(:last-child) {
                    margin-bottom: 18px;
                }
            }
            &.signature {
                img {
                    float: right;
                }
            }
        }
        .image {
            .vignette {
                width: 100%;
                aspect-ratio: 16/9;
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover
                }
            }
        }
    }
}

/* Model2 : Liste de blocs classique (ex : Equipage) */

.GWEB_listElementsModel[data-model="Model2"] {
    .h2 {
        margin-bottom: 24px;
        color: var(--color-main);
    }

    .cards {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;

        @media (max-width : 840px) {
            grid-template-columns: 1fr 1fr;
        }

        @media (max-width: 600px) {
            grid-template-columns: 1fr;
        }

        .vignette {
            overflow: hidden;
            width: 100%;
            box-shadow: var(--shadow-img);
            margin-bottom: 16px;

            img {
                width: 100%;
            }

        }

        .content {
            .text {
                margin-top: 16px;
            }

            .headline {
                font-size: var(--f-S);
            }

        }
    }
}

/* ========================================================================== */
/* # linkButtons   */
/* ========================================================================== */

.linkButtons[data-type="module"]{
    padding-top: 64px;

    .h1{
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .partners-list{
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: space-around;
        padding-top: 80px;
        align-items: center;
        padding-bottom: 32px;

        @media screen and (max-width: 500px) {
            padding-top: 32px;
        }

        figure{
            max-width: 240px;
            max-height: 100px;
            display: flex;
            filter: grayscale(1);

            img{
                width: 100%;
                object-fit: contain;
            }
        }
    }
}

/***************************************************
# Consent Module
***************************************************/

/*-------------------------------*/
/* Modules de consentements      */
/*-------------------------------*/

.consentModuleAnchor {
    position: relative;
    margin: 0 auto;
    min-height: 300px;
}

.instagramContent.consentModuleAnchor {
    max-width: 540px;
    width: 100%;
    min-height: 605px;
}

.facebookContent.consentModuleAnchor {
    max-width: 552px;
    width: 100%;
    min-height: 674px;
}

.videoContent.consentModuleAnchor {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.googleContent.consentModuleAnchor {
    max-width: 600px;
    width: 100%;
    min-height: 450px;
}

.linkedinContent.consentModuleAnchor {
    max-width: 540px;
    width: 100%;
    min-height: 605px;
}


.consentModule {
    background-color: var(--color-background_light);
    border: 1px solid var(--color-text);
    padding: 24px;
    z-index: 1;
    align-items: center;
    align-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    min-height: 300px;
    overflow: auto;

    .consentModule_text {
        padding-top: 16px;
        padding-bottom: 16px;
        height: 100%;
        overflow: auto;
        font-size: var(--f-S);
    }
}

.consentModule a {
    color: var(--color-main);
}

.consentModule button {
    border: none;
    background-color: var(--color-background_light);
    color: var(--invariant_black);
    border: 1px solid var(--color-text);
    padding: 8px;
    margin: 16px 8px 0 8px;
    cursor: pointer;
    transition-duration: 0.3s;
    font-weight: 600;
}

.consentModule button:hover {
    border: 1px solid var(--color-main);
    background-color: var(--color-text);
    color: var(--color-invariant_white);
}
