

.offresdeservices{
    .layout-content{
        .region-content{
            
            #block-contenudelapageprincipale{
                background: url('../images/pictos/carre-contour-bleu_programme.svg');
                        background-repeat: no-repeat;
                        background-position-y: 20vh;
                        max-width: 100vw;
                        background-size: cover;
                span{
                    padding-top: 3rem;
                    padding-bottom: 3rem;
                    vertical-align: middle;
                    
                    color: $white;
                    h2{
                        font-family: 'Source Code Pro';
                        font-size: 2rem;
                        font-weight: 800;
                        color: $white;
                        background-color: $blue-light;
                        text-transform: uppercase;
                        width: fit-content;
                        margin-left: 10%;
                        margin-top: 8rem;
                       
                    }
                }
                .layout--onecol{
                    .block-region-content{
                        


                        // texte présentation
                        .block-config-pages-block{
                            margin: 2rem;
                            margin-top: 4rem;
                            .field--name-field-introduction{
                                width: 65%;
                                margin: auto;
                                background: $white;
                            }
                        }
                        .block-views-blockoffres-de--block-1{
                            .view-display-id-block_1{
                                width: 65%;
                                margin: auto;
                            }

                            // bandeau filtes
                            .view-filters{
                                background: $white;
                            }

                            // grille offres
                            .view-content{
                                display: flex;
                                flex-wrap: wrap;
                                margin-top: 3rem;

                                .views-row{
                                    width: 50%;
                                    .node-type-offre_de_service{
                                        // display: flex;
                                        // flex-direction: column;
                                       
                                        border: 2px solid $blue-light;
                                        padding: 1rem;
                                        height: fit-content;
                                        margin-bottom: 1rem;
                                        background-color: $white;
                                        margin-right: 1rem;
                                        height: 200px;
                                        div:first-of-type{
                                            display: grid;
                                            grid-template-columns: 1fr auto 1fr;
                                            grid-template-rows: repeat(6 auto);
                                            .field--name-field-type-de-protagoniste{
                                                grid-column: 1 / span 3;
                                                grid-row: 1;
                                                margin-bottom: 1rem;
                                                text-transform: uppercase;
                                                font-weight: 800;
                                                font-size: 00.8rem;
                                            }
                                            .field--name-field-photo{
                                                grid-column: 1;
                                                grid-row: 2 / span 6;
                                                margin-right: 1rem;
                                                max-height: 170px;
                                            
                                               
                                                img{
                                                    max-width: 100%;
                                                    object-fit: cover;
                                                    height: auto;
                                                    max-height: 95%;
                                                }
                                            }
                                            .field--name-field-prenom{
                                                grid-column: 2;
                                                grid-row: 2;
                                                padding-right: 0.5rem;
                                                text-transform: uppercase;
                                                font-weight: 800;
                                                font-size: 1rem;
                                              
                                            }
                                            .field--name-field-nom{
                                                grid-column: 3;
                                                grid-row: 2;
                                                text-transform: uppercase;
                                                font-weight: 800;
                                                font-size: 1rem;
                                               
                                            }
                                            .field--name-field-structure{
                                                grid-column: 2 / span 3;
                                                grid-row: 3;
                                                text-transform: uppercase;
                                                font-weight: 800;
                                                font-size: 0.8rem;
                                            }
                                            .field--name-title{
                                                grid-column: 2 / span 3;
                                                grid-row: 4;
                                                font-size: 1.3rem;
                                                
                                                a{
                                                    color: $black;
                                                }

                                                
                                            }
                                            .field--name-field-localisation{
                                                grid-column: 2 / span 3;
                                                grid-row: 5;
                                                text-transform: uppercase;
                                                font-weight: 800;
                                                font-size: 00.8rem;

                                                
                                            }
                                            .field--name-field-date-de-proposition{
                                                display: inline-flex;
                                                grid-column: 2 / span 3;
                                                grid-row: 6;
                                                font-size: 0.8rem;
                                                padding-top: 1rem;
                                                justify-content: space-between;
                                                align-items: center;
                                                &::after{
                                                    content: url("../images/pictos/noun_Arrow_3771902.svg");
                                                    align-self: end;
                                                }

                                            }
                                        }
                                        
                                        
                                    }
                                }

                            }
                        }
                     
                            
                        


                    }

                }
            }
        }
    }
}
