.partenaires{
    .layout-content{
        .content_container{
            #block-quartiers-de-demain-titredepage{
                grid-column: 3 /span 9;
                grid-row: 1;
                margin-top: 3rem;
                @media(max-width: 500px){
                    margin-top: 1rem;
                    grid-column: 2 /span 9;
                } 

                h1{
                    text-transform: uppercase;
                    color: $red_QDD ;
                    font-size: $font-large;
                    font-weight: 300;
                }
            }
            .views-element-container{
                grid-column: 3 /span 9;
                grid-row: 2;
                @media(max-width: 500px){
                    grid-column: 2 /span 9;
                } 

                .node-type-partenaire{
                    width: 100%;
                    padding-bottom: 3rem;
                    display: grid;
                    grid-template-columns: repeat(9, 1fr);
                    grid-template-rows: repeat(auto-fill);
                    // grid-gap: 10px;
                    @media (max-width: 810px){
                        display: flex;
                        flex-direction: column;
                    }
                    .field_field_logo{
                        grid-column: 1 / 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 8;
                        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 8;
                        grid-row:  2;
                        margin-left: 1rem;
                        @media (max-width:810px) {  
                            margin-left: 0;
                        }

                    }
                    .field_field_lien{
                        grid-column: 3 /span 8;
                        grid-row:  3;
                        border-bottom: 2px solid $blue_QDD;
                        width: fit-content;
                        padding-bottom: 0.5rem;
                        margin-left: 1rem;
                        @media (max-width:810px) {  
                            margin-left: 0;
                        }

                        a{
                            display: inline-flex;
                            align-items: center;
                            svg{
                                display: none;
                            }
                            &::before{
                                display: inline-block;
                                content: url("../img/noun-arrow-to-right.svg");
                                padding-right: 0.5rem;
                                padding-top: 0.2rem;
                            }
                        }
                    }
                }

                
            }    
        }
    }

}
    
