/* Structure Principale */
main{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--main-gap);
    margin-bottom: var(--main-gap);

}
/* Banner */
.banner{
    background-image: url("../../images/accueil/lieux-_XBUdHH.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height : 25rem ;
}

/* Section Description */
.description{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--padding-container);
        p{
            color: var(--text-color);
            text-align: center;
        }
        h2{
            color: var(--text-color);
            text-align: center;
        }
}

/* Section news-lieux */
.news-lieux{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap : 2.5rem;
    padding: var(--padding-container);

    .lieux-img{
        background-image: url("../../images/lieux/LAR-vU6h6rf.webp");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        width : 25%;
        height : 10rem;
        border: var(--border-color);
        border-radius: var(--border-radius);
    }
    .text{
        display: flex;
        flex-direction: column;
        align-items: center;
        
        h2{
            color: var(--text-color);
            text-align: center;
        }
        p{
            color: var(--text-color);
            text-align: center;
        }
    }

    .links{
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
}

/* Section lieux réinventés */

.reinvented{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: var(--padding-container);

    h2{
        color: var(--text-color);
    }
    
    li{
        
        margin-left: 1rem;
        a{
            display: flex;
            gap:10px;
            color: var(--text-color);

            &:hover{
                color: var(--secondary-text-color);
            }
        }
        
    }

    p{
        color: var(--text-color);
    }
    
}
.map{
    width: 100%;
    height : 50vh;
    display: flex;
    justify-content: center;
    iframe{
        width: 80%;
        height: 100%;
    }
}

/* Separateur */
.separator:not(.reinvented>.separator){
    margin: 3rem 0 ;
}
.separator{
    width: 80%;
}

/* Media queries */

@media screen and (max-width: 600px){
    .news-lieux{    
        .lieux-img{
            width : 80%;

        }
        .links{
            flex-wrap: nowrap;
            flex-direction: column;
            align-items: center;
            width: 80%;

            a{
                max-width: none;
                justify-content: space-between;
                width: 100%;
                gap: 20px;
            }
        }
        
    }
    .reinvented{
        .map{
             iframe{
                width: 100% ;
             }
        }
        p{
            text-align: center;
        }

        ul{
            display: flex;
            flex-direction: column;
            
            
            

            li{
                font-size: 0.7rem;
                margin: 1rem 0;
                

                a{
                   align-items: center;
                  svg{
                    overflow: visible;
                      max-width: none;
                      width: 24px !important;
                      height: 24px !important;
                  }
                }
            }
        }

    }



}

