
.block-page-title-block{
    padding-left: 1rem;
    h1{
        font-weight: 1000;
    }
}
.view-display-id-page_1{
 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    article{
        padding-bottom: 0.7rem;
    }
    .views-row{
        width: 28%;
        padding: 1rem;
        .node-type-site{
            margin: auto;
            display: flex;
            flex-direction: column;
            width: 100%;
            background-color: white;
            .field--name-field-image{
                order: 1;
                max-width: 100%;
                img{
                    width: 100%;
                    object-fit: cover;
                    height: fit-content;
                }
            }
            .infos-content-site{
                background-color: $white-button;
                order: 2;
                display: flex;
                flex-direction: column;
                padding-left: 1rem;
                padding-right: 1rem;
                padding-top: 0.5rem;
                h1{display: none;}
                h2{
                    order: 2;
                    margin: 0;
                    font-size: 1.8rem;
                    font-weight: 900;

                }
                .field--name-field-numero-site {
                    order: 1;
                    text-transform: uppercase;
                    font-size: 1rem;
                }
                .field--name-field-adresse-site{
                    order: 3;
                    font-size: 1.3rem;
                    // line-height: 0.3rem;
                    line-height: 1.3rem;

                
                    .address{
                        margin: 0;
                        display: inline-flex;
                        .postal-code{
                            order: 2;
                        }
                        .locality{
                            order: 1;
                            text-transform: capitalize;
                            margin-right: 0.5rem;
                        }
                        .country{
                            display: none;
                        }
                    }
                }
                .field--name-field-architecte{
                    order: 4;
                    // padding-top: 1rem;
                    font-size: 1.3rem;
                    .field__items{
                        display: flex;
                        flex-direction: row;
                        flex-wrap: wrap;
                        .field__item{
                            display: inline;
                            &::after{
                                content:',';
                                padding-right: 0.5rem;
                            }
                            
                        }
                    }
                    .field__item:last-of-type::after {
                        content: '';
                    }
                }
                ul.links{
                    order: 5;
                    text-transform: uppercase;
                    padding: 0;
                    margin: 0;
                    border: none;
                    padding-bottom: 2rem;
                    padding-top: 0.9rem;
                    display: inline-flex;
                    &::after{
                        content:url("../../dist/images/noun-arrow-1569918-black.svg");
                        padding-left: 0.5rem;
                    }

                }
                
            }
            
        }
    }

    footer{
        background-color: transparent;
        p:first-of-type{
            font-size: 2rem;
            padding-left: 1rem;
            // font-weight: 1000;
        }
        .view-display-id-block_2{
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            .views-row{
                width: 30%;
                // padding: 1rem;
                .node-type-site{
                    margin: auto;
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    background-color: transparent;
                    .infos-content-site{
                        background-color: transparent;
                        order: 2;
                        display: flex;
                        flex-direction: column;
                        padding-top: 0.5rem;
                        padding-left: 0rem;
                        padding-right: 1rem;
                        h2{
                            order: 2;
                            margin: 0;
                            font-size: 1.8rem;
                            font-weight: 900;
                        }
                        .field--name-field-lettre-de-site {
                            order: 1;
                            text-transform: uppercase;
                            font-size: 1rem;
                            font-weight: 400;
                            &::before{
                                content:'SITE';
                                padding-right: 0.5rem;
                            }
                        }
                        .field--name-field-adresse-site{
                            order: 3;
                            line-height: 1.3rem;
                            font-weight: 400 !important;
                        
                            p.address{
                                padding-left: 0;
                                margin: 0;
                                display: inline-flex;
                                font-size: 1.3rem;
                                .postal-code{
                                    order: 2;
                                }
                                .locality{
                                    order: 1;
                                    text-transform: capitalize;
                                    margin-right: 0.5rem;
                                }
                                .country{
                                    display: none;
                                }
                            }
                        }
                        .field--name-field-architecte{
                            order: 4;
                            text-transform: capitalize;
                            font-weight: 400;
                            font-size: 1.3rem;

                        }
                        ul.links{
                            order: 5;
                            text-transform: uppercase;
                            padding: 0;
                            margin: 0;
                            border: none;
                            padding-bottom: 2rem;
                            padding-top: 0.9rem;
                            display: inline-flex;
                            &::after{
                                content:url("../../dist/images/noun-arrow-1569918-black.svg");
                                padding-left: 0.5rem;
                            }
        
                        }
                        
                    }
                    
                }
            }
        }
    }
}
