body {
    margin: 0;
    padding: 0;
}

#block-videosdaccueil iframe {
    width: 100%;
}

@media screen and (min-width: 35rem) and (max-width: 55rem) {

}

@media screen and (min-width: 55rem) {
    /* First h1 titles go over halftone Flaubert */
    h1:first-of-type {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 5em;
        background-image: url(../images/portrait-flaubert.svg);
        background-repeat: no-repeat;
        background-size: auto 100%;
        background-position: center center;
    }

    h1>* { display: block; }

    h1.layout-content>*, main>*, header>*, .paragraph>*,
    #block-flaubert-footer, #block-didyouknow>* {
        margin: 0 auto;
        width: 55rem;
    }

    #block-logosdespartenaires img {
        width: 55rem;
        height: auto;
    }

    body.path-agenda .region-content {
        display: grid;
        grid-template-areas:
            "title title"
            "menu menu"
            "warning warning"
            "map calendar"
            "content content";
        grid-template-columns: 66% auto;
    }

    #block-menu-expos, #block-menu-agenda { grid-area: menu; }
    #block-menudelagenda, #block-menudesexpositions { grid-area: menu; }
    #block-inforcovidagenda { grid-area: warning; }

    body.path-agenda #block-flaubert-page-title { grid-area: title; }
    body.path-expos #block-expos-map { grid-area: map; }
    body.path-agenda #block-event-map { grid-area: map; }
    body.path-agenda #block-mini-calendar {
        margin-left: 6%;
        grid-area: calendar;
    }
    body.path-agenda #block-flaubert-content { grid-area: content; }

    body.page-node-type-expo .node__content,
    body.page-node-type-agenda .node__content {
        display: flex;
        flex-flow: row-reverse;
    }
    
    body.page-node-type-agenda .content-aside,
    body.page-node-type-expo .content-aside { flex: 0 1 35%; }
    body.page-node-type-agenda .content-main,
    body.page-node-type-expo .content-main {
        flex: 1 0 63%;
        margin-left: 2%;
    }

    #block-videosdaccueil iframe {
        width: 50%;
    }
}