.partenaires{
    background-color: #f6f7f3;
    .layout-content{
        .content_container{
            display: flex;
            flex-direction: column;
            align-items: center;
            #block-quartiers-de-demain-titredepage{
                margin-top: 4rem;
                width: fit-content;
                @media(max-width: 810px){
                    margin-top: 14rem;
                    grid-column: 2 /span 9;
                } 

                h1{
                    display: none;
                    text-transform: none;
                    color: black;
                    font-size: 2rem;
                    font-weight: 500;
                }
                .field_intro{
                    visibility: visible;
                }
            }
            .views-element-container{
                
                width: 80%;

                .header_view{
                    width: 85%;
                    margin: auto;
                    &::after{
                        content:"";
                        display: block;
                        border-bottom: solid 2px $blue_QDD;
                        width: 80% ;
                        margin: auto;
                    }
                    .config_pages--type--intro-partenaires{
                        margin-bottom: 3rem;
                    }
                }

                h3{
                    color: rgb(7, 50, 194);
                    font-size: 2.5rem;
                    text-align: center;
                }
                .node-type-partenaire{
                    width: 100%;
                    padding-bottom: 3rem;
                    display: grid;
                    grid-template-columns: 1fr repeat(5, 2fr) 1fr;
                    grid-template-rows: repeat(auto-fill);
                    // grid-gap: 10px;
                    padding-top: 1rem;
                    @media (max-width: 810px){
                        display: flex;
                        flex-direction: column;
                    }
                    .field_field_logo{
                        grid-column: 2 / 3;
                        grid-row:  1 /span 3;
                        padding-right: 1rem;
                        margin: auto;
                    img{
                            object-fit: contain;
                            max-width: 200px;
                            max-height: 200px;
                        }
                    }
                    .field_title{
                        grid-column: 3 /span 4;
                        grid-row:  1;
                        font-weight: 500;
                        font-size: $font-normal;
                        margin-left: 1rem;
                        @media (max-width:810px) {  
                            margin-left: 0;
                        }
                    }
                    .field_body{
                        grid-column: 3 /span 4 ;
                        grid-row:  2;
                        margin-left: 1rem;
                        font-family: 'gilroy-regular';
                        @media (max-width:810px) {  
                            margin-left: 0;
                        }

                    }
                    .field_field_lien{
                        grid-column: 3 /span 4;
                        grid-row:  3;
                        width: fit-content;
                        margin-left: 1rem;
                        padding-left: 0.5rem;
                        background: black;
                        @media (max-width:810px) {  
                            margin-left: 0;
                        }

                        a{
                            display: inline-flex;
                            align-items: center;
                            color: white;
                            background: black;
                            text-transform: uppercase;
                            font-size: 0.6rem;
                            svg{
                                display: none;
                            }
                            &::after{
                                display: inline-flex;
                                content: url("../img/noun-arrow-to-right.svg");
                                padding-right: 0.2rem;
                                padding-left: 0.2rem;
                                
                            }
                        }
                    }
                    .toggle-partenaire {
                        
                        display: block;
                        grid-column: 7;
                        grid-row: 1;
                        width: 40px;
                        height: 40px;
                        margin: 1rem auto;
                        border: none;
                        background-color: transparent;
                        background-image: url("../img/fleche-bas.svg");
                        background-size: contain;
                        background-repeat: no-repeat;
                        background-position: center;
                        cursor: pointer;
                        transition: transform 0.3s ease;
                    }
                    
                    .toggle-partenaire.open {
                        transform: rotate(180deg);
                    }
                }

                
            }    
        }
    }

}
    
