body{
    background: image-set(url('images/page_back.png') 1x, url('images/page_back@x2.png') 2x) repeat-y center top #bdc5cc;
    font-family: "Lucida Grande", "Lucida Sans", "Trebuchet MS";
    font-size: 0.71875rem;
}

#container{
    width: 780px;
    margin: 0 auto;
    background: image-set(url('images/container_back.png') 1x, url('images/container_back@x2.png') 2x) no-repeat top left transparent;
    padding: 67px 0 0 0;
}

#container > header{
}
    #container > header h1{
        top: 0;
        font-size: 1.375rem;
        font-weight: normal;
        letter-spacing: -2px;
        margin: 30px 0 0 40px;
        position: absolute;
    }
        #container h1 a{ color: #3762c7; }
    #header-image{
        height: 100px;
        margin: 40px 2px 0;
        position: absolute;
        z-index: 10;
    }

#mobile-menu-toggle,
#mobile-menu-panel {
    display: none;
}

#menu{
    width: 780px;
    position: absolute;
    top: 74px;
}
    #menu h3{
        display: none;
    }
    #menu .placeholder{
        height: 20px;
    }
    #menu-top-wrapper {
        display: flex;
        height: 20px;
        overflow: hidden;
    }

    #menu ul{
        display: flex;
    }
    #menu ul li{
        background: image-set(url('images/menu_top_item.png') 1x, url('images/menu_top_item@x2.png') 2x) no-repeat top right transparent;
    }
    
    #menu a{
        display: block;
        color: #fff;
        padding: 2px 20px 3px 10px
    }
        #menu a:hover{ color: #d6e1c3; }

#content .inner{
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 0 20px;
}

hgroup{
}
hgroup h1{
    font-weight: normal;
    color: #233b63;
    font-size: 1.25rem;
    padding: 20px 0 5px 0;
}

article{
    order: 1;
    padding: 0 0 50px 0;
    line-height: 17px;
    text-align: justify;
    color: #5a5a5a;
}
    .no-menu-sec article{ margin-left: 0; }
    .no-menu-main article{ margin-right: 0; }
    .no-menu article{ margin-left: 0; margin-right: 0; }
    
    article section h1, article section h2{
        color: #2e6bd1;
        font-size: 0.875rem;
        font-style: italic;
        font-weight: normal;
        padding: 5px 0;
        margin: 12px 0;
        border-bottom: 1px solid #2e6bd1;
    }
    article section h3{
        background: #cbd9f1;
        color: #233b63;
        padding: 3px 5px;
        font-weight: normal;
        font-style: italic;
        margin: 10px 0;
        border-radius: 5px;
    }
    article p, article dl{
    }   
    article dt{
        color: #233b63;
    }
    article dd{
        padding: 0 0 0 15px;
        background: #cbd9f1;
        padding: 15px;
        color: #233b63;
        font-weight: normal;
        font-style: italic;
        margin: 10px 0 10px 10px;
    }
    article table{
        border: 1px solid #233b63;
        border-width: 1px 0 0 1px;
        width: 100%;
        margin: 20px 0;
        color: #233b63;
    }
        article table td{
            padding: 4px;
            border: 1px solid #233b63;
            border-width: 0 1px 1px 0;
        }

    article ul, article ol{
        margin: 15px 0 15px 30px;
    }
        article ul a, article ol a{ color: #233b63; }
        article ul li{ padding: 2px 0; list-style-type: disc; }
        article ol li{ padding: 1px 0; list-style-type: decimal; }
    
    article blockquote, article pre{
        border-top: 1px solid #2e6bd1;
        border-bottom: 1px solid #2e6bd1;
        margin: 25px 0;
        padding: 15px;
        line-height: 12px;
    }
        article blockquote{
            font-style: italic;
            text-align: center;
        }
        article pre{
        }
    
    article code{
    }   
    article a{ color: #2e6bd1; border-bottom: 1px dashed #cbd9f1;}
    
    article hr {
        background-color: #2e6bd1;
    }

aside{
    max-width: 200px;
    padding-top: 20px;
}
    aside .placeholder{
        width: 200px;
    }
    aside a{ color: #20290f; }
    aside h3{
        font-size: 0.75rem;
        font-weight: normal;
        color: #fff;
        height: 20px;
        padding: 6px 10px 0 15px;
        background: image-set(url('images/menu_title.png') 1x, url('images/menu_title@x2.png') 2x) no-repeat bottom left transparent;
    }
    aside .block{
        background: image-set(url('images/menu_bottom.png') 1x, url('images/menu_bottom@x2.png') 2x) no-repeat bottom left transparent;
        padding: 0 0 26px 0;
    }
    aside .block > ul, aside .menu-content{
        background: image-set(url('images/menu_back.png') 1x, url('images/menu_back@x2.png') 2x) repeat-y top left #fff;
    }
        aside .block > ul > li{
            padding: 7px 15px 7px 40px;
            background: image-set(url('images/menu_bullet.png') 1x, url('images/menu_bullet@x2.png') 2x) no-repeat 12px 3px transparent;
        }
        
    aside .menu-content{
        padding: 10px 15px;
    }
    
    aside input[type="text"],
    aside input[type="email"]{
        width: 110px;
    }

#navigation-main{
    order: 0;
}
    #navigation-main .block {
        margin: 0 20px 0 0;
    }
#navigation-sec{
    order: 2;
}
    #navigation-sec .block {
        margin: 0 0 0 20px;
    }

#footer{
    width: 735px;
    margin: 0 auto;
    background: image-set(url('images/footer_back.png') 1x, url('images/footer_back@x2.png') 2x) repeat-x top left transparent;
    padding: 45px 15px 15px 30px;
    font-size: 0.625rem;
}
    #footer a{ color: #2e6bd1; border-bottom: 1px dashed #cbd9f1;}

/* --- Styles Mobile (Breakpoint) --- */
@media (max-width: 950px) {
    /* 1. Global Reset & Layout */
    #container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* 2. Header and Banner Adjustments */
    #container > header {
        width: auto;
        height: auto;
        padding: 10px 0;
    }

    #container > header h1 {
        position: relative;
        font-size: 1.5rem;
        letter-spacing: normal;
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    #header-image {
        width: 100%;
        position: relative;
        margin: 0;
        z-index: 10;
    }
    
    #menu,
    #navigation-main,
    #navigation-sec {
        display: none;
    }

    /* 3. Mobile Menu Toggle Button */
    #mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1001;
        width: 40px;
        height: 40px;
        background: #2e6bd1; /* Couleur du lien principal */
        border: none;
        border-radius: 3px;
        cursor: pointer;
    }

    #mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 5px auto;
        transition: transform 0.3s, opacity 0.3s;
    }

    body.nav-open #mobile-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.nav-open #mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    body.nav-open #mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* 4. Mobile Menu Panel (Hidden by default) */
    #mobile-menu-panel {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #bdc5cc; /* Couleur de fond du body */
        z-index: 1000;
        overflow-y: auto;
        padding: 70px 20px 20px;
        box-sizing: border-box;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    body.nav-open #mobile-menu-panel {
        transform: translateX(0);
    }

    body.nav-open {
        overflow: hidden;
    }

    /* 5. Content Area */
    #content .inner {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    article {
        width: auto !important;
        padding: 10px 0;
        margin: 0;
        order: 0; 
    }
    .no-menu-sec article, .no-menu-main article, .no-menu article {
        margin: 0;
    }

    hgroup h1{
        padding: 10px 0;
        text-align: left;
    }
    
    /* 6. Sidebar/Menu Blocks in Mobile Panel */
    #mobile-menu-panel {
        color: #233b63; /* Couleur de titre article/dt */
    }

    #mobile-menu-panel h3{
        height: auto;
        padding: 10px 15px;
        font-size: 1rem;
        background: #2e6bd1; /* Couleur du lien principal */
        color: #fff;
        margin: 10px 0 0;
    }
    
    #mobile-menu-panel .block {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
        background: none;
    }
    
    #mobile-menu-panel .block > ul, #mobile-menu-panel .menu-content{
        padding: 10px;
        background: #fff;
        border: 1px solid #ccc;
    }
    
    #mobile-menu-panel .block > ul > li{
        padding: 8px 0 8px 15px;
        background: none;
        border-bottom: 1px dotted #ccc;
    }
    
    #mobile-menu-panel a{
        color: #2e6bd1;
        display: block;
    }
    
    /* 7. Footer */
    #footer {
        width: 100%;
        padding: 40px 0 20px 0;
        margin: 20px auto 0;
        text-align: center;
    }
}