@media all and (max-width:1050px) {

    #contenu,
    #flex {
        width: 100%;
        flex-direction: column
    }

    #flex,
    body {
        padding: 0;
        margin: 0
    }

    * {
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent
    }

    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden
    }

    #image-carousel .splide__slide img {
        aspect-ratio: 847/404
    }

    #contenu {
        margin: 0;
        padding: 10px;
        min-width: 0
    }

    #contenu #textes,
    #contenu #textes .container {
        display: flex;
        flex-direction: column;
        width: 100%
    }

    #contenu #textes {
        margin: 0 0 20px;
        padding: 15px;
        min-width: 0
    }

    #contenu #textes #image-carousel {
        margin: 0 auto;
        float: none;
        min-height: 210px;
        order: 1;
        width: 100% !important;
        order: 1
    }

    #contenu #textes .splide__slide img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
        display: block
    }

    #contenu #textes table.table img,
    .logo-image,
    footer.footer #jeux-hasard .warning-container img,
    img {
        object-fit: contain;
        object-fit: contain
    }

    #contenu #textes p.splide__text {
        position: absolute;
        bottom: 0;
        width: 100%;
        padding: 0;
        margin: 0
    }

    #contenu #textes p.splide__text a {
        display: block;
        background-color: rgba(0, 0, 0, .7);
        padding: 10px;
        font-size: 14px;
        line-height: 1.3
    }

    #contenu #textes .post {
        clear: both;
        width: 100%
    }

    #contenu #textes .post article.article .content p {
        order: 2
    }

    #contenu #textes .post article.article .content .image {
        order: 1;
        float: none;
        width: 30%;
        padding: 5px 0;
        margin: 0
    }

    #contenu #textes p .image {
        float: none;
        width: 100%;
        margin: 0 0 15px;
        padding: 0
    }

    #contenu #textes p .image img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block
    }

    #contenu #textes .container {
        align-items: stretch;
        gap: 0
    }

    #contenu #textes .container .content {
        margin: 0;
        padding: 0;
        margin-top: 0;
        padding-top: 0
    }

    #contenu #textes .container>br,
    #contenu nav#sidebar,
    footer.footer .col ul li:before,
    nav#site-navigation ul.nav-menu li:hover>ul {
        display: none
    }

    #contenu #textes .container img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto 6px;
    }

    .author-separator+.container img {
        width: 100px;
        height: 120px;
        max-width: none;
        object-fit: cover;
        object-position: center 20%;
        margin: 6px auto 10px;
        border-radius: 8px
    }

    #contenu #textes .container p {
        width: 100%;  
    }

    #contenu #textes .container .content p:first-child {
        margin-top: 0;
        display: none
    }

    body>header {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        gap: 0;
        background: #5c413c;
        position: relative;
        min-height: 50px
    }

    body>header .site-title-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #faf1d3;
        font-family: "Archivo Narrow", Roboto, Arial, sans-serif;
        font-size: clamp(16px, 5vw, 28px);
        font-weight: 700;
        letter-spacing: .05em;
        text-decoration: none;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
        white-space: nowrap;
        max-width: calc(100% - 120px);
        overflow: hidden;
        text-overflow: ellipsis
    }

    body>header .site-title-mobile:hover {
        opacity: .85
    }

    body>header::after {
        content: '';
        width: 54px;
        flex-shrink: 0
    }

    body>header .burger-menu,
    nav#site-navigation .burger-menu {
        display: flex !important;
        width: 54px;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin: 0;
        z-index: 10;
        position: relative;
        flex-shrink: 0
    }

    body>header .burger-menu .burger-lines,
    nav#site-navigation .burger-menu .burger-lines {
        display: flex;
        flex-direction: column;
        gap: 5px
    }

    body>header .burger-menu span,
    nav#site-navigation .burger-menu span {
        display: block;
        width: 28px;
        height: 3px;
        background-color: #faf1d3
    }

    nav#site-navigation {
        position: absolute;
        top: 0;
        left: 0;
        width: 54px;
        height: 50px;
        z-index: 10
    }

    #logo_header {
        display: none
    }

    .pub-banner {
        display: none !important;
        width: fit-content;
        max-width: 468px;
        max-height: 60px;
        padding: 0;
        text-align: center;
        order: 2;
        margin: 0 auto;
        overflow: hidden;
        align-items: center;
        justify-content: center
    }

    .pub-banner iframe,
    .pub-banner img {
        max-width: 100%;
        max-height: 60px;
        width: auto;
        height: auto;
        display: block;
        margin: 0;
        transform: scale(.8);
        transform-origin: center center
    }

    #pub-header {
        display: none !important
    }

    #ftg,
    .social-icons {
        display: none !important
    }

    .logo-image {
        width: 350px;
        height: auto;
        max-width: 95%;
        margin: 0 auto
    }

    nav#site-navigation {
        position: absolute;
        top: 0;
        left: 0;
        width: 54px;
        height: 50px;
        background: transparent;
        padding: 0;
        margin: 0;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center
    }

    nav#site-navigation ul.nav-menu {
        position: fixed;
        top: 0;
        left: 0
    }

    nav#site-navigation ul.nav-menu {
        display: flex !important;
        flex-direction: column !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 15px 0 20px;
        background: #5c413c;
        border-right: 3px solid #d4c894;
        transform: translateX(-100%);
        transition: transform .3s ease;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: none;
        align-items: stretch !important;
        justify-content: flex-start !important
    }

    nav#site-navigation ul.nav-menu.active {
        transform: translateX(0);
        box-shadow: 4px 0 15px rgba(0, 0, 0, .3)
    }

    nav#site-navigation::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, .5);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
        z-index: 1000;
        pointer-events: none
    }

    nav#site-navigation.overlay-active::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto
    }

    nav#site-navigation ul.nav-menu>li {
        width: 100% !important;
        border-bottom: 1px solid rgba(212, 200, 148, .2);
        position: static !important;
        text-align: left;
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: normal !important
    }

    nav#site-navigation ul.nav-menu>li>a,
    nav#site-navigation ul.nav-menu>li>span.menu-link {
        width: 100%;
        padding: 12px 20px !important;
        text-align: left;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        color: #faf1d3;
        font-size: 16px;
        font-weight: 600;
        transition: background .2s;
        cursor: pointer;
        box-sizing: border-box;
        height: auto !important;
        min-height: 0 !important;
        line-height: 1.4 !important
    }

    nav#site-navigation ul.nav-menu>li>span.menu-link::after {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        border-right: 2px solid #faf1d3;
        border-bottom: 2px solid #faf1d3;
        transform: rotate(45deg);
        transition: transform .2s ease;
        flex-shrink: 0;
        margin-left: 10px
    }

    nav#site-navigation ul.nav-menu>li.active>span.menu-link::after {
        transform: rotate(-135deg);
        border-right-color: #4d3530;
        border-bottom-color: #4d3530
    }

    nav#site-navigation ul.nav-menu>li:hover {
        background-color: transparent
    }

    nav#site-navigation ul.nav-menu>li>a:hover,
    nav#site-navigation ul.nav-menu>li>span.menu-link:hover {
        background: #d7cb96;
        color: #4d3530;
        text-decoration: none
    }

    nav#site-navigation ul.nav-menu>li>span.menu-link:hover::after {
        border-right-color: #4d3530;
        border-bottom-color: #4d3530
    }

    nav#site-navigation ul.nav-menu>li>ul,
    nav#site-navigation ul.nav-menu li ul {
        display: none;
        width: 100% !important;
        background: rgba(0, 0, 0, .12) !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        min-width: 0 !important;
        flex-direction: column !important
    }

    nav#site-navigation ul.nav-menu>li.active>ul,
    nav#site-navigation ul.nav-menu li.active>ul {
        display: block !important
    }

    nav#site-navigation ul.nav-menu>li>ul>li {
        width: 100% !important;
        text-align: left;
        border-bottom: 1px solid rgba(212, 200, 148, .08);
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important
    }

    nav#site-navigation ul.nav-menu>li>ul>li:last-child {
        border-bottom: none
    }

    nav#site-navigation ul.nav-menu>li>ul>li>a {
        width: 100%;
        padding: 10px 20px 10px 30px !important;
        display: block !important;
        font-size: 14px;
        color: #faf1d3;
        opacity: .85;
        transition: opacity .2s, background .2s;
        box-sizing: border-box;
        height: auto !important;
        min-height: 0 !important;
        line-height: 1.3 !important
    }

    nav#site-navigation ul.nav-menu>li>ul>li>a:hover {
        opacity: 1;
        background: #e5d5a3;
        color: #4d3530;
        text-decoration: none;
        transform: none
    }

    nav#site-navigation ul.nav-menu>li.active>a,
    nav#site-navigation ul.nav-menu>li.active>span.menu-link {
        background: #d7cb96;
        color: #4d3530
    }

    nav#site-navigation ul.nav-menu li span.menu-link {
        cursor: pointer
    }

    nav#site-navigation ul.nav-menu li#menu_recherche {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 12px 20px !important;
        display: flex !important;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        box-sizing: border-box;
        height: auto !important;
        min-height: 0 !important
    }

    nav#site-navigation ul.nav-menu li#menu_recherche .icone-loupe {
        width: 18px;
        height: 18px;
        stroke: #faf1d3
    }

    nav#site-navigation ul.nav-menu li#menu_recherche #titre_menu_recherche {
        display: inline !important;
        color: #faf1d3;
        font-size: 16px;
        font-weight: 600
    }
    
    nav#site-navigation ul.nav-menu li#menu_recherche:hover {
        background: #d7cb96
    }

    nav#site-navigation ul.nav-menu li#menu_recherche:hover #titre_menu_recherche {
        color: #4d3530
    }

    nav#site-navigation ul.nav-menu li#menu_recherche:hover .icone-loupe {
        stroke: #4d3530
    }

    #contenu #textes table.table {
        border: none;
        background: 0 0;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        width: 100%
    }

    #contenu #textes table.table tr {
        display: block;
        margin: 0;
        padding: 0;
        border: none
    }

    #contenu #textes table.table td {
        display: block;
        width: 100%;
        border: none;
        padding: 10px 0;
        text-align: center
    }

    #contenu #textes table.table td:hover,
    #contenu #textes table.table tr:hover td {
        background: 0 0 !important;
        cursor: default
    }

    @media screen and (max-width:480px) {
        #contenu #textes table.table td {
            min-width: 150px
        }

        #contenu #textes table.table img {
            max-width: 150px
        }
    }

    #contenu #textes table.table td:hover {
        background: 0 0 !important
    }

    #contenu #textes table.table img {
        width: 100%;
        height: auto;
        max-width: 468px;
        display: block;
        margin: 0 auto
    }

    #contenu #textes>h2 {
    width: 100%;
    font-size: 19px;
    line-height: 1.35;
    padding: 14px 17px 14px 20px;
    margin: 26px 0 18px;
    border-radius: 9px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto
    }

    #contenu #textes>h2::before {
        width: 6px;
    }

    #contenu #textes>h2::after {
        left: 18px;
        right: 18px;
    }

    footer.footer {
        width: 100%;
        right: 0;
        padding: 10px
    }

    footer.footer #cols {
        width: 100%;
        flex-direction: column;
        gap: 20px
    }

    footer.footer .col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #634640;
        padding: 0 0 20px
    }

    footer.footer .col:last-child {
        border-bottom: none
    }

    footer.footer .col ul li {
        text-align: center;
        padding-left: 0
    }

    footer.footer #jeux-hasard {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 10px;
        margin: 0
    }

    footer.footer #jeux-hasard .warning-container {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0 0;
        border-top: 1px solid #634640;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%
    }

    footer.footer #jeux-hasard .warning-container>div {
        width: 100%;
        padding: 10px
    }

    footer.footer #jeux-hasard .warning-container img {
        height: 30px;
        width: auto
    }

    footer.footer #jeux-hasard .warning-text-content {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word
    }

    footer.footer #jeux-hasard .pub-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        transform: scale(.7)
    }

    #contenu #textes .bloc {
        width: 100%;
        margin-bottom: 20px
    }

    #contenu #textes .bloc h4 {
        width: 100%;
        height: auto;
        min-height: 130px;
        background-size: cover;
        background-position: center
    }

    #contenu #textes .bloc h4 a {
        width: 100%;
        height: 100%;
        min-height: 130px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    #contenu #textes,
    .footer-box #cols {
        flex-direction: column;
        display: flex
    }

    #contenu #textes .blocs .bloc ul {
        width: 100%;
        background-color: #ebdea4
    }

    .footer-box {
        width: 100%;
        margin: 0 auto 20px;
        padding: 10px
    }

    .footer-box #cols {
        width: 100%;
        margin: 0
    }

    #flex>footer {
        width: 100%;
        height: auto;
        background-size: contain;
        margin: 0
    }

    .news-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 5px
    }

    .news-container #image-carousel {
        width: 100%;
        order: -1;
        margin-bottom: 10px
    }

    #contenu #textes .carousel-section,
    .news-container .nouveautes-liste {
        width: 100%
    }

    #contenu #textes .carousel-section,
    #contenu #textes>div>div {
        width: 100% !important
    }

    #contenu #textes>div:not(.article-meta) {
        flex-direction: column !important
    }

    #contenu #textes>div.flex-container {
        order: -2;
        gap: 0;
    }

    #contenu #textes > div.flex-container > div {
    margin-bottom: 0;
    }

    #contenu #textes>h1.title {
        order: -1
    }

    #contenu #textes>div>div {
        width: 100% !important;
        margin-bottom: 20px
    }

    #contenu #textes .nouveautes-liste {
        order: 2;
        width: 100% !important;
        order: 2
    }

    #contenu #textes .adgamb {
        width: 100%;
        max-width: 728px;
        margin: 20px auto;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden
    }

    #contenu #textes .adgamb iframe,
    #contenu #textes .adgamb img {
        width: 100%;
        height: auto;
        max-height: 90px;
        object-fit: contain
    }

    #contenu #textes .post {
        display: flex;
        flex-direction: column;
        gap: 20px
    }

    #contenu #textes .post article.article {
        width: 100%;
        margin: 0 0 20px;
        height: auto;
        min-height: 300px
    }

    #contenu #textes .bloc img,
    footer img,
    img {
        max-width: 100%;
        height: auto
    }

    #contenu #textes img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 10px auto
    }

    #contenu #textes article.article .image {
        width: 100%;
        max-width: 200px;
        height: auto;
        aspect-ratio: 1/1;
        margin: 0 auto 10px
    }

    #contenu #textes article.article .image a,
    #contenu #textes article.article .image img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    #contenu #textes table img {
        max-width: 100%;
        height: auto;
        margin: 0 auto
    }

    iframe[src*=vimeo],
    iframe[src*=youtube] {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9
    }

    .copyright {
        width: 100%;
        padding: 10px;
        text-align: center;
        font-size: 13px
    }

    .copyright .links {
        display: block;
        margin-top: 5px
    }

    .copyright a {
        display: inline-block;
        padding: 0 5px
    }

    .spacer {
        height: 10px
    }

    .spacer.small {
        height: 6px
    }

    .spacer.medium {
        height: 10px
    }

    .spacer.large {
        height: 10px
    }

    @media screen and (max-width:480px) {
        #contenu #textes table.table img {
            max-width: 100%
        }

        #pub-header,
        .pub-banner {
            display: none !important;
            width: 100%;
            height: auto;
            max-width: 400px;
            padding: 0 10px
        }

        #pub-header iframe,
        #pub-header img,
        .pub-banner iframe,
        .pub-banner img {
            width: 100%;
            height: auto;
            max-height: 80px;
            transform: scale(1)
        }

        #contenu,
        #flex {
            padding: 5px
        }

        #textes {
            padding: 10px
        }

        #contenu #textes .adgamb {
            margin: 15px auto;
            transform: scale(.9);
            transform-origin: center center
        }

        .copyright {
            padding: 10px 15px;
            font-size: 12px
        }

        .copyright br {
            display: block;
            margin: 5px 0
        }
    }

    footer.footer .col h2,
    footer.footer .col h3,
    footer.footer .col h4,
    footer.footer .col ul li>strong,
    footer.footer .col>p>strong,
    footer.footer .col>strong {
        display: block;
        text-align: center;
        margin: 6px auto 10px
    }

    footer.footer .col h2 a,
    footer.footer .col h3 a,
    footer.footer .col h4 a,
    footer.footer .col ul li>strong a {
        display: inline-block;
        text-align: center
    }
}

#contenu,
#flex,
#textes {
    min-width: auto;
    width: 100%
}

#pub-header,
.pub-banner {
    padding: 0;
    display: flex;
    justify-content: center;
    height: 60px;
    overflow: hidden
}

nav#site-navigation ul.nav-menu li:hover>ul {
    display: none
}

nav#site-navigation ul.nav-menu li a,
nav#site-navigation ul.nav-menu li span.menu-link {
    cursor: pointer
}

nav#site-navigation ul.nav-menu li.active>ul,
nav#site-navigation ul.nav-menu.active {
    display: flex !important
}

#pub-header {
    width: 100%;
    max-width: 468px;
    margin: 35px auto 10px;
    align-items: center;
    position: relative;
    z-index: 1
}

#flex {
    padding: 10px
}

#contenu,
#textes {
    max-width: 100%
}

#box-textes {
    width: 100%
}

.pub-banner {
    width: 468px;
    margin: 0 auto;
    align-items: center
}

#ftg,
.social-icons {
    justify-content: center
}

#pub-header iframe,
#pub-header img,
.pub-banner iframe,
.pub-banner img {
    width: 468px;
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    display: block
}

@media screen and (max-width:480px) {

    #pub-header,
    .pub-banner {
        width: 100%;
        height: auto;
        max-width: 400px;
        padding: 0 10px
    }

    #pub-header iframe,
    #pub-header img,
    .pub-banner iframe,
    .pub-banner img {
        width: 100%;
        height: auto;
        max-height: 80px;
        transform: scale(1)
    }

    #contenu,
    #flex {
        padding: 5px
    }

    #textes {
        padding: 10px
    }

    #contenu #textes .adgamb {
        margin: 15px auto;
        transform: scale(.95);
        transform-origin: center center
    }

    .copyright {
        padding: 10px 15px;
        font-size: 12px
    }

    .copyright br {
        display: block;
        margin: 5px 0
    }
}

#ftg {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 5px 0
}

#ftg img {
    width: 35px;
    height: 35px;
    padding: 0;
    object-fit: contain
}

#ftg a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0
}

.social-icons {
    width: 100%;
    display: flex;
    padding: 0;
    margin: 0
}

#contenu #textes .adgamb {
    width: 100%;
    max-width: 728px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    transform: scale(1)
}

#contenu #textes .adgamb iframe,
#contenu #textes .adgamb img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain
}

@media screen and (max-width:480px) {
    #contenu #textes .adgamb {
        transform: scale(.95);
        transform-origin: center center;
        margin: 5px auto
    }
}

#contenu #textes .post article.article .content {
    display: flex;
    flex-direction: column;
    gap: 6px
}

#contenu #textes .post article.article .main-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px
}

#contenu #textes .post article.article .main-row .image {
    order: 0;
    width: 60px;
    height: 60px;
    min-width: 60px;
    max-width: 70px;
    max-height: 70px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    background: 0 0
}

#contenu #textes .post article.article .main-row .image a,
#contenu #textes .post article.article .main-row .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

#contenu #textes .post article.article .main-row .texte {
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    white-space: normal;
    text-overflow: ellipsis;
    max-height: 7.5em
}

#contenu #textes .post article.article .main-row .texte>* {
    display: inline;
    white-space: normal;
    margin: 0;
    padding: 0
}

#contenu #textes .post article.article .content>.image,
#contenu #textes .post article.article .content>.texte {
    display: initial
}

#contenu #textes .article-meta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    min-width: 0;
    width: 100%
}

#contenu #textes .article-meta-container .categorie {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    flex-shrink: 0;
    font-size: 13px;
    margin-left: auto
}

#contenu #textes .article-meta-container .categorie .fa-folder {
    font-size: 13px
}

#contenu #textes .article-meta-container .date {
    flex-shrink: 1;
    min-width: 0
}

.lmj-faq-card,
.lmj-faq-card * {
    box-sizing: border-box
}

.lmj-faq-card {
    -webkit-tap-highlight-color: transparent
}

.lmj-faq-row__a,
.lmj-faq-row__q {
    word-break: break-word
}

@media (max-width:1024px) {
    .lmj-faq-card {
        margin: 20px 0
    }

    .lmj-faq-card__header {
        height: 46px;
        padding: 0 14px
    }

    .lmj-faq-card__header h2 {
        line-height: 46px;
        font-size: 1.125rem
    }

    .lmj-faq-row {
        border-radius: 10px
    }

    .lmj-faq-row__q {
        grid-template-columns: 1fr 16px;
        padding: 12px 14px;
        font-size: 1.05rem;
        min-height: 44px
    }

    .lmj-faq-row__chev {
        width: 16px;
        height: 16px
    }

    .lmj-faq-row__a {
        padding: 0 14px 12px;
        line-height: 1.6
    }

    .Multibox {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto
    }

    .card--games {
        grid-column: 1/span 2;
        grid-row: auto
    }

    .card--licenses,
    .card--payments,
    .card--providers,
    .card--stores {
        grid-column: auto;
        grid-row: auto
    }
}

@media (max-width:768px) {
    .tinycme thead {
        display: none
    }

    .tinycme tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        padding: .5rem
    }

    .tinycme td {
        display: block;
        text-align: right;
        position: relative;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #eee
    }

    .tinycme td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 1rem;
        font-weight: 700;
        text-align: left;
        color: #444
    }

    .lmj-faq-card {
        margin: 16px 0;
        border-radius: 12px;
        border-left-width: 5px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, .06)
    }

    .lmj-faq-card__header {
        height: 44px;
        padding: 0 12px
    }

    .lmj-faq-card__header h2 {
        line-height: 44px;
        font-size: 1.05rem
    }

    .lmj-faq-row {
        margin: 8px 0;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
    }

    .lmj-faq-row__q {
        grid-template-columns: 1fr 15px;
        gap: 8px;
        padding: 12px;
        font-size: 1rem;
        min-height: 46px
    }

    .lmj-faq-row__chev {
        width: 15px;
        height: 15px
    }

    .lmj-faq-row__a {
        padding: 0 12px 12px
    }
}

@media (max-width:480px) {
    .lmj-faq-card {
        margin: 14px 0;
        border-radius: 10px
    }

    .lmj-faq-card__header {
        height: 40px;
        padding: 0 10px
    }

    .lmj-faq-card__header h2 {
        line-height: 40px;
        font-size: 1rem
    }

    .lmj-faq-row {
        margin: 6px 0;
        border-radius: 8px
    }

    .lmj-faq-row__q {
        grid-template-columns: 1fr 14px;
        padding: 10px;
        font-size: .98rem;
        min-height: 44px
    }

    .lmj-faq-row__chev {
        width: 14px;
        height: 14px
    }

    .lmj-faq-row__a {
        padding: 0 10px 10px
    }
}

@media (prefers-reduced-motion:reduce) {

    .lmj-faq-row,
    .lmj-faq-row__chev {
        transition: none
    }
}

@media screen and (min-width:1024px) {
    .share-mini .sm {
        width: 40px;
        height: 40px
    }

    .share-mini .sm::before,
    .share-mini .x {
        font-size: 18px
    }
}

@media (max-width:1200px) {
    header {
        justify-content: center;
        padding: 20px
    }

    #logo,
    .social-icons {
        position: static
    }

    .pub-banner {
        order: 3;
        margin: 20px 0
    }
}

@media (max-width:768px) {
    .lmj-faq-card__header {
        height: 44px;
        padding: 0 12px
    }

    .lmj-faq-card__header h2 {
        margin: 0;
        font-size: 1.05rem;
        line-height: 44px
    }

    .license-badge,
    .license-text strong {
        font-size: 14px
    }

    .Multibox {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px
    }

    .card--games,
    .card--licenses,
    .card--payments,
    .card--providers,
    .card--stores {
        grid-column: 1;
        grid-row: auto
    }

    .multibox-grid--games {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px
    }

    .multibox-grid--logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px
    }

    .logo-tile {
        min-height: 50px;
        padding: 6px
    }

    .logo-tile img {
        max-width: 45px;
        max-height: 45px
    }

    .multibox-grid--stores .logo-tile {
        min-height: 54px;
        padding: 6px
    }

    .multibox-grid--stores .logo-tile img {
        max-width: 150px;
        max-height: 40px
    }

    .license-item {
        min-height: 120px;
        padding: 8px 10px
    }

    .license-badge {
        width: 50px;
        height: 50px
    }

    .license-text small {
        font-size: 11px
    }

    #pub-header {
        margin: 12px auto 8px
    }

    .pub-banner {
        margin: 8px auto 6px
    }

    .tableau-test .nom,
    .tableau-test td:first-child {
        color: #4a3b33;
        line-height: 1.4;
        text-align: center
    }

    .tableau-test td:first-child {
        font-size: 24px;
        font-weight: 600
    }

    .tableau-test td:first-child br:first-of-type {
        display: block;
        margin-top: 4px;
        margin-bottom: 6px
    }

    .tableau-test td:first-child a {
        text-decoration: underline;
        text-underline-offset: 2px;
        color: #4a3b33;
        font-weight: 600
    }

    .tableau-test .nom {
        display: block;
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 6px
    }

    .tableau-test .etoiles {
        font-size: 40px;
        line-height: 1.2;
        display: block;
        color: #d4c894;
        margin: 4px 0
    }

    .tableau-test .contenu-tableau {
        display: block;
        font-size: 16px;
        line-height: 1.6;
        font-weight: 500;
        color: #3c2f2b;
        text-align: center;
        margin: 8px 0
    }

    .tableau-test .btn-action {
        width: 100%;
        max-width: 380px;
        padding: 18px 28px;
        font-size: 18px;
        font-weight: 600;
        margin: 12px auto;
        display: block;
        border-radius: 8px;
        text-align: center
    }

    .tableau-test,
    .tableau-test tbody {
        display: block;
        width: 100%
    }

    .tableau-test thead {
        display: none
    }

    .tableau-test tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #fff;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .05)
    }

    .tableau-test td {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px 12px;
        border: none;
        border-bottom: 1px solid #f0e8d0;
        font-size: 14px;
        min-height: 32px;
        word-break: break-word
    }

    .tableau-test td:last-child {
        border-bottom: none
    }

    .tableau-test td::before {
        content: none
    }

    .tableau-test td a,
    .tableau-test td p,
    .tableau-test td span,
    .tableau-test td strong {
        text-align: center
    }

    .tableau-test td img {
        display: block;
        margin: 0 auto
    }

    .tableau-info {
        padding: 15px
    }

    .tableau-info h3 {
        font-size: 16px;
        margin-bottom: 12px
    }

    .tableau-info li {
        font-size: 14px;
        margin-bottom: 6px
    }
}

@media screen and (max-width:600px) {
    .contact-container {
        padding: 15px;
        margin: 15px
    }

    .form-group input,
    .form-group textarea {
        max-width: 100%
    }

    .submit-btn {
        width: 100%
    }

    .recaptcha-container {
        transform: scale(.85);
        transform-origin: center;
        margin: 10px -20px
    }

    .g-recaptcha {
        transform-origin: center
    }
}

@media screen and (min-width:480px) {
    .container.tab {
        display: flex;
        flex-wrap: wrap;
        gap: 10px
    }
}

@media (min-width:900px) {
    .share-mini li .sm {
        width: 38px;
        height: 38px
    }

    .share-mini li .sm::before,
    .share-mini li .x {
        font-size: 17px
    }
}

@media (min-width:1280px) {
    .pbx-title {
        font-size: 30px
    }

    .pbx-text,
    .share-mini li .sm::before,
    .share-mini li .x {
        font-size: 19px
    }

    .share-mini li .sm {
        width: 42px;
        height: 42px
    }
}

.lien-articles,
.lmj-sommaire {
    border: 1px solid #c7b77a;
    background-color: #fff8dc;
    color: #5c413c;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(92, 65, 60, .15);
    font-family: Roboto, Arial, sans-serif;
    margin: 20px auto;
    padding: 0;
    max-width: 800px;
    line-height: 1.5
}

.lien-articles summary,
.lmj-sommaire summary {
    cursor: pointer;
    background-color: #ebdea4;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 18px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .2s;
    border-radius: 8px 8px 0 0
}

.lien-articles summary:hover,
.lmj-sommaire summary:hover {
    background-color: #e1d08a
}

.lmj-sommaire summary::-webkit-details-marker {
    display: none
}

.lien-articles summary::after,
.lmj-sommaire summary::after {
    content: "▼";
    font-size: 14px;
    transition: transform .3s
}

.lien-articles[open] summary::after,
.lmj-sommaire[open] summary::after {
    transform: rotate(180deg)
}

.lien-articles ul,
.lmj-sommaire ul {
    list-style-type: disc;
    margin: 10px 25px 15px 35px;
    padding: 0
}

.lien-articles a,
.lmj-sommaire a {
    color: #5c413c;
    text-decoration: none
}

.lien-articles a:hover,
.lmj-sommaire a:hover {
    text-decoration: underline
}

.lien-articles[open] ul,
.lmj-sommaire[open] ul {
    animation: .3s fadeIn
}

@media (max-width:992px) {

    .lien-articles,
    .lmj-sommaire {
        max-width: 95%;
        font-size: 16px
    }

    .lien-articles summary,
    .lmj-sommaire summary {
        font-size: 17px;
        padding: 10px 14px
    }

    .lien-articles ul,
    .lmj-sommaire ul {
        margin: 10px 20px 15px 30px
    }
}

@media (max-width:480px) {
    #pub-header {
        display: none !important;
        margin: 10px auto 6px
    }

    .pub-banner {
        margin: 6px auto 4px
    }

    .btn-action,
    .tableau-test .avis,
    .tableau-test .contenu-tableau,
    .tableau-test .etoiles,
    .tableau-test .nom {
        display: block;
        text-align: center
    }

    .tableau-test td:first-child {
        font-size: 20px;
        font-weight: 700
    }

    .tableau-container {
        padding: 5px
    }

    .tableau-description {
        padding: 12px;
        margin-bottom: 15px
    }

    .tableau-description p {
        font-size: 13px;
        line-height: 1.5
    }

    .tableau-test td {
        padding: 8px 10px
    }

    .tableau-test td::before {
        content: none
    }

    .tableau-test td img {
        width: 100%;
        max-width: 360px;
        height: auto;
        margin: 0 auto;
        display: block
    }

    .btn-action {
        width: 100%;
        padding: 20px 36px;
        font-size: 20px;
        margin: 6px auto 3px;
        border-radius: 8px
    }

    .tableau-test .nom {
        font-size: 30px;
        font-weight: 700;
        color: #4a3b33;
        line-height: 1.15;
        margin-bottom: 2px
    }

    .tableau-test .etoiles {
        font-size: 26px;
        line-height: 1.05;
        color: #d4c894;
        margin: 4px 0;
        transition: transform .2s ease-in-out
    }

    .tableau-test .etoiles:hover {
        transform: scale(1.05)
    }

    .tableau-test .avis {
        width: max-content;
        margin: 4px auto 0;
        font-size: 18px;
        font-weight: 200;
        color: #4a3b33;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: .2s ease-in-out
    }

    .tableau-test .avis:hover {
        color: #5c413c;
        transform: scale(1.05)
    }

    .tableau-test .contenu-tableau {
        font-size: 18px;
        line-height: 1.6;
        font-weight: 500;
        color: #3c2f2b;
        margin: 10px 0
    }

    .tableau-info {
        padding: 12px
    }

    .tableau-info h3 {
        font-size: 15px;
        margin-bottom: 10px
    }

    .tableau-info li {
        font-size: 13px;
        margin-bottom: 5px
    }
}

@media (max-width:1024px) {
    .tableau-toggle .tableau-wrapper-limit {
        max-height: 400px;
        border-radius: 6px
    }

    .tableau-toggle .tableau-test {
        width: 100%;
        font-size: 14px
    }

    .tableau-toggle .tableau-test td,
    .tableau-toggle .tableau-test th {
        padding: 10px
    }

    .tableau-toggle .tableau-toggle-btn {
        font-size: 15px;
        padding: 12px 0
    }

    .tableau-toggle .tableau-wrapper-limit::after {
        height: 40px;
        bottom: 40px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%)
    }
}

@media (max-width:768px) {
    .tableau-toggle .tableau-test {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 13px
    }

    .tableau-toggle .tableau-test td,
    .tableau-toggle .tableau-test th {
        padding: 8px 6px;
        font-size: 13px;
        text-align: left
    }

    .tableau-toggle .tableau-test th {
        font-weight: 700;
        font-size: 14px
    }

    .tableau-toggle .tableau-toggle-btn {
        font-size: 14px;
        padding: 12px 0
    }

    .tableau-toggle .tableau-wrapper-limit::after {
        height: 35px;
        bottom: 35px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 90%)
    }

    .tableau-1 .nom,
    .tableau-1 td:first-child {
        color: #4a3b33;
        line-height: 1.4;
        text-align: center
    }

    .tableau-1,
    .tableau-1 .btn-action,
    .tableau-1 tbody {
        display: block;
        width: 100%
    }

    .tableau-1 td:first-child {
        font-size: 24px;
        font-weight: 600
    }

    .tableau-1 td:first-child br:first-of-type {
        display: block;
        margin-top: 4px;
        margin-bottom: 6px
    }

    .tableau-1 td:first-child a {
        text-decoration: underline;
        text-underline-offset: 2px;
        color: #4a3b33;
        font-weight: 600
    }

    .tableau-1 .nom {
        display: block;
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 6px
    }

    .tableau-1 .etoiles {
        font-size: 40px;
        line-height: 1.2;
        display: block;
        color: #d4c894;
        margin: 4px 0
    }

    .tableau-1 .contenu-tableau {
        display: block;
        font-size: 16px;
        line-height: 1.6;
        font-weight: 500;
        color: #3c2f2b;
        text-align: center;
        margin: 8px 0
    }

    .tableau-1 .btn-action {
        max-width: 380px;
        padding: 18px 28px;
        font-size: 18px;
        font-weight: 600;
        margin: 12px auto;
        border-radius: 8px;
        text-align: center
    }

    .tableau-1 thead {
        display: none
    }

    .tableau-1 tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #fff;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .05)
    }

    .tableau-1 td {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px 12px;
        border: none;
        border-bottom: 1px solid #f0e8d0;
        font-size: 14px;
        min-height: 32px;
        word-break: break-word
    }

    .tableau-1 td:last-child {
        border-bottom: none
    }

    .tableau-1 td::before {
        content: none
    }

    .tableau-1 td a,
    .tableau-1 td p,
    .tableau-1 td span,
    .tableau-1 td strong {
        text-align: center
    }

    .tableau-1 td img {
        display: block;
        margin: 0 auto
    }

    .tableau-info {
        padding: 15px
    }

    .tableau-info h3 {
        font-size: 16px;
        margin-bottom: 12px
    }

    .tableau-info li {
        font-size: 14px;
        margin-bottom: 6px
    }
}

@media (max-width:600px) {

    .copy-wrap:focus-within .copy-input {
        width: 160px
    }

    body,
    html {
        overflow-x: hidden !important
    }

    .lmj-sommaire {
        width: 95%;
        margin: 15px auto;
        box-shadow: 0 1px 4px rgba(92, 65, 60, .1)
    }

    .lmj-sommaire summary {
        font-size: 16px;
        padding: 10px 12px;
        flex-wrap: wrap
    }

    .lmj-sommaire summary::after {
        font-size: 12px;
        margin-left: 8px
    }

    .lmj-sommaire ul {
        margin: 8px 18px 12px 25px
    }

    .lmj-sommaire a {
        display: block;
        padding: 4px 0
    }

    .pub-art-int,
    .pub-art-int-content {
        text-align: center
    }

    .pub-art-int {
        flex-direction: column;
        padding: 12px
    }

    .pub-art-int-image {
        margin: 0 0 10px
    }

    .pub-art-int-image img {
        width: 90px;
        height: 90px
    }

    #contenu #textes>h2 {
    font-size: 17px;
    line-height: 1.35;
    padding: 12px 14px 12px 16px;
    margin: 24px 0 15px;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    border-bottom-width: 2px;
    box-shadow:
        0 6px 14px rgba(92, 65, 60, .18),
        inset 0 1px 0 rgba(255, 255, 255, .12);
    }

    #contenu #textes>h2::before {
        width: 5px;
    }

    #contenu #textes>h2::after {
        left: 16px;
        right: 16px;
    }

    .tableau-toggle .tableau-test,
    .tableau-toggle .tableau-test tbody,
    .tableau-toggle .tableau-test td,
    .tableau-toggle .tableau-test th,
    .tableau-toggle .tableau-test thead,
    .tableau-toggle .tableau-test tr {
        display: block;
        width: 100%
    }

    .tableau-toggle .tableau-test tr {
        margin-bottom: 15px;
        border: 1px solid #e5d5a3;
        border-radius: 6px;
        background: #fff;
        padding: 8px 10px
    }

    .tableau-toggle .tableau-test th {
        display: none
    }

    .tableau-toggle .tableau-test td {
        border: none;
        position: relative;
        padding: 6px 0 6px 45%;
        font-size: 13px
    }

    .tableau-toggle .tableau-test td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 6px;
        width: 40%;
        font-weight: 600;
        color: #5c413c;
        font-size: 13px
    }

    .tableau-toggle .tableau-toggle-btn {
        font-size: 13px;
        padding: 10px 0
    }

    .tableau-toggle .tableau-wrapper-limit::after {
        height: 30px;
        bottom: 30px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 95%)
    }
}

@media (max-width:400px) {
    .tableau-toggle .tableau-test td {
        font-size: 12px;
        padding: 5px 0 5px 42%
    }

    .tableau-toggle .tableau-test td::before {
        font-size: 12px;
        left: 8px
    }

    .tableau-toggle .tableau-toggle-btn {
        font-size: 12px;
        padding: 8px 0
    }
}

.tableau-1-toggle>.toggle-tableau-1 {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none
}

.tableau-1-toggle .tableau-1-wrapper-limit::after,
.tableau-3-wrapper-limit::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 90%)
}

.tableau-1-toggle .tableau-1-wrapper-limit {
    max-height: 1270px;
    overflow: hidden;
    position: relative;
    transition: max-height .3s
}

.tableau-1-toggle .tableau-1-wrapper-limit::after {
    pointer-events: none
}

@media (max-width:1024px) {
    .tableau-toggle .tableau-wrapper-limit {
        max-height: 400px;
        border-radius: 6px
    }

    .tableau-toggle .tableau-1 {
        width: 100%;
        font-size: 14px
    }

    .tableau-toggle .tableau-1 td,
    .tableau-toggle .tableau-1 th {
        padding: 10px
    }

    .tableau-toggle .tableau-toggle-btn {
        font-size: 15px;
        padding: 12px 0
    }

    .tableau-toggle .tableau-wrapper-limit::after {
        height: 40px;
        bottom: 40px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%)
    }

    .tableau-3 {
        display: block;
        border-collapse: separate;
        padding: 0
    }

    .tableau-3 thead {
        display: none
    }

    .tableau-3 tbody,
    .tableau-3 tr {
        display: block
    }

    .tableau-3 tr {
        margin-bottom: 15px;
        border: 1px solid #fff;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
        padding: 12px 10px
    }
}

@media (max-width:768px) {
    .tableau-toggle .tableau-1 {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 13px
    }

    .tableau-toggle .tableau-1 td,
    .tableau-toggle .tableau-1 th {
        padding: 8px 6px;
        font-size: 13px;
        text-align: left
    }

    .tableau-toggle .tableau-1 th {
        font-weight: 700;
        font-size: 14px
    }

    .tableau-toggle .tableau-toggle-btn {
        font-size: 14px;
        padding: 12px 0
    }

    .tableau-toggle .tableau-wrapper-limit::after {
        height: 35px;
        bottom: 35px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 90%)
    }
}

@media (max-width:600px) {

    .tableau-toggle .tableau-1,
    .tableau-toggle .tableau-1 tbody,
    .tableau-toggle .tableau-1 td,
    .tableau-toggle .tableau-1 th,
    .tableau-toggle .tableau-1 thead,
    .tableau-toggle .tableau-1 tr {
        display: block;
        width: 100%
    }

    .tableau-toggle .tableau-1 tr {
        margin-bottom: 15px;
        border: 1px solid #e5d5a3;
        border-radius: 6px;
        background: #fff;
        padding: 8px 10px
    }

    .tableau-toggle .tableau-1 th {
        display: none
    }

    .tableau-toggle .tableau-1 td {
        border: none;
        position: relative;
        padding: 6px 0 6px 45%;
        font-size: 13px
    }

    .tableau-toggle .tableau-1 td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 6px;
        width: 40%;
        font-weight: 600;
        color: #5c413c;
        font-size: 13px
    }

    .tableau-toggle .tableau-toggle-btn {
        font-size: 13px;
        padding: 10px 0
    }

    .tableau-toggle .tableau-wrapper-limit::after {
        height: 30px;
        bottom: 30px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 95%)
    }
}

@media (max-width:400px) {
    .tableau-toggle .tableau-1 td {
        font-size: 12px;
        padding: 5px 0 5px 42%
    }

    .tableau-toggle .tableau-1 td::before {
        font-size: 12px;
        left: 8px
    }

    .tableau-toggle .tableau-toggle-btn {
        font-size: 12px;
        padding: 8px 0
    }
}

.tableau-1-toggle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #4a3b33;
    margin-top: 10px
}

.tableau-1-toggle-btn span {
    margin: 0 4px
}

.tableau-1-toggle-btn .afficher-moins,
.toggle-tableau-1:checked~.tableau-1-toggle-btn .afficher-plus,
.toggle-tableau-1:checked~.tableau-1-wrapper-limit::after,
.toggle-tableau-3:checked~.tableau-3-wrapper-limit::after {
    display: none
}

.toggle-tableau-1:checked~.tableau-1-toggle-btn .afficher-moins {
    display: inline
}

.toggle-tableau-1:checked~.tableau-1-wrapper-limit {
    max-height: 10000px
}

.tableau-3 td {
    display: block;
    width: 100%;
    padding: 10px 0;
    border: none;
    text-align: center
}

.tableau-3 td span[class^=nom-] img {
    width: 130px;
    height: 130px;
    margin: 0 auto 8px;
    object-fit: contain
}

.tableau-3 .etoiles {
    font-size: 28px;
    margin: 6px 0
}

.tableau-3 .avis {
    font-size: 16px;
    margin-top: 6px
}

.tableau-3 .contenu-tableau {
    font-size: 15px;
    margin: 12px 0
}

.tableau-3 .btn-action {
    width: 100%;
    padding: 16px 28px;
    font-size: 16px;
    margin: 10px auto 0;
    border-radius: 8px;
    display: block
}

.tableau-3-wrapper-limit {
    max-height: 1600px;
    overflow: hidden;
    position: relative
}

.icon-clock::after,
.icon-clock::before {
    content: "";
    position: absolute;
    width: 2px;
    background: currentColor;
    left: 50%;
    top: 50%
}

.toggle-tableau-3:checked~.tableau-3-wrapper-limit {
    max-height: 9999px
}

.tableau-3-toggle-btn {
    font-size: 15px;
    padding: 12px 0
}

@media (max-width:480px) {

    .btn-action,
    .tableau-1 .nom {
        text-align: center;
        display: block
    }

    .tableau-1 td:first-child {
        font-size: 20px;
        font-weight: 700
    }

    .tableau-container {
        padding: 5px
    }

    .tableau-description {
        padding: 12px;
        margin-bottom: 15px
    }

    .tableau-description p {
        font-size: 13px;
        line-height: 1.5
    }

    .tableau-1 td {
        padding: 8px 10px
    }

    .tableau-1 td::before {
        content: none
    }

    .tableau-1 td img {
        width: 100%;
        max-width: 360px;
        height: auto;
        margin: 0 auto;
        display: block
    }

    .btn-action {
        width: 100%;
        padding: 20px 36px;
        font-size: 20px;
        margin: 6px auto 3px;
        border-radius: 8px
    }

    .tableau-1 .nom {
        font-size: 30px;
        font-weight: 700;
        color: #4a3b33;
        line-height: 1.15;
        margin-bottom: 2px
    }

    .tableau-1 .etoiles {
        display: block;
        font-size: 26px;
        line-height: 1.05;
        color: #d4c894;
        text-align: center;
        margin: 4px 0;
        transition: transform .2s ease-in-out
    }

    .tableau-1 .avis,
    .tableau-1 .contenu-tableau {
        display: block;
        font-size: 18px;
        text-align: center
    }

    .tableau-1 .etoiles:hover {
        transform: scale(1.05)
    }

    .tableau-1 .avis {
        width: max-content;
        margin: 4px auto 0;
        font-weight: 200;
        color: #4a3b33;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: .2s ease-in-out
    }

    .tableau-1 .avis:hover {
        color: #5c413c;
        transform: scale(1.05)
    }

    .tableau-1 .contenu-tableau {
        line-height: 1.6;
        font-weight: 500;
        color: #3c2f2b;
        margin: 10px 0
    }

    .tableau-card-item,
    .tableau-info {
        padding: 12px
    }

    .tableau-info h3 {
        font-size: 15px;
        margin-bottom: 10px
    }

    .tableau-info li {
        font-size: 13px;
        margin-bottom: 5px
    }

    .tableau-3 tr {
        padding: 12px 8px;
        border-radius: 8px
    }

    .tableau-3 td span[class^=nom-] img {
        width: 120px;
        height: 120px
    }

    .tableau-3 .etoiles {
        font-size: 26px
    }

    .tableau-3 .avis {
        font-size: 15px
    }

    .tableau-3 .btn-action {
        font-size: 15px;
        padding: 14px 24px
    }

    .tableau-card-title {
        font-size: 13px;
        padding: 10px
    }

    .tableau-card-item .name {
        display: inline-block;
        text-align: left;
        font-size: 15px;
        font-weight: 500;
        color: #4a3b33
    }
}

@media (min-width:768px) and (max-width:1024px) {
    .tableau-3 tr {
        padding: 22px 18px;
        border-radius: 12px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, .08)
    }

    .tableau-3 td span[class^=nom-] img {
        width: 180px;
        height: 180px;
        margin-bottom: 14px
    }

    .tableau-3 .etoiles {
        font-size: 42px;
        margin: 10px 0 14px
    }

    .tableau-3 .avis {
        font-size: 20px;
        margin-top: 10px
    }

    .tableau-3 .contenu-tableau {
        font-size: 18px;
        margin: 16px 0;
        line-height: 1.6
    }

    .tableau-3 .btn-action {
        font-size: 18px;
        padding: 20px 32px;
        margin-top: 14px;
        border-radius: 10px;
        max-width: 380px
    }

    .tableau-3 td {
        padding: 12px 0
    }
}

.tableau-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 30px
}

@media (max-width:1024px) {
    .tableau-card {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:768px) {
    .tableau-card {
        grid-template-columns: repeat(1, minmax(0, 1fr))
    }
}

.icon-clock {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid currentColor;
    position: relative;
    box-sizing: border-box;
    margin-right: 4px;
    vertical-align: middle
}

.icon-clock::before {
    height: 5px;
    transform: translate(-50%, -80%) rotate(0);
    transform-origin: 50% 100%
}

.icon-clock::after {
    height: 7px;
    transform: translate(-50%, -90%) rotate(90deg);
    transform-origin: 50% 100%
}

.lien-articles summary::-webkit-details-marker {
    display: none
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@media (max-width:600px) {
    .lien-articles {
        width: 95%;
        margin: 15px auto;
        box-shadow: 0 1px 4px rgba(92, 65, 60, .1)
    }

    .lien-articles summary {
        font-size: 16px;
        padding: 10px 12px;
        flex-wrap: wrap
    }

    .lien-articles summary::after {
        font-size: 12px;
        margin-left: 8px
    }

    .lien-articles ul {
        margin: 8px 18px 12px 25px
    }

    .lien-articles a {
        display: block;
        padding: 4px 0
    }
}

@media all and (max-width:1050px) {
    .author-separator+.container img {
        width: 200px !important;
        height: 200px !important;
        max-width: 200px !important;
        max-height: 200px !important;
        object-fit: cover !important;
        object-position: center top !important;
        margin: 6px auto 8px !important;
        border-radius: 50% !important;
        aspect-ratio: 1/1 !important
    }
}
/* =========================
   LMJ ACTU CARD (base)
   ========================= */

.lmj-actualite-card {
    background: #f4f1e3;
    border: 1px solid #d8d2b8;
    border-radius: 10px;
    padding: 20px;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.lmj-actualite-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.lmj-actualite-img img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Meta : badge + date */
.lmj-actualite-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.lmj-badge-hot {
    background: #b14b45;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
}

.lmj-actualite-date {
    font-size: 14px;
    font-weight: 600;
    color: #7a6f4d;
}

.lmj-actualite-text h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #4b3f2b;
}

.lmj-actualite-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #5a523f;
    margin-bottom: 15px;
}

.lmj-actualite-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #b14b45;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.lmj-actualite-btn:hover {
    background: #943c37;
}

/* =========================
   Responsive: large tablets
   ========================= */
/* Ajustements doux avant de passer en colonne */
@media (max-width: 1024px) {

    .lmj-actualite-card {
        padding: 18px;
    }

    .lmj-actualite-content {
        gap: 18px;
    }

    .lmj-actualite-img img {
        width: 220px;
        height: 220px;
    }

    .lmj-actualite-text h3 {
        font-size: 20px;
    }

    .lmj-actualite-text p {
        font-size: 15px;
    }
}

/* =========================
   Responsive: tablets + mobile
   ========================= */
/* Passage en colonne, image au-dessus */
@media (max-width: 768px) {

    .lmj-actualite-card {
        padding: 16px;
        margin: 25px 0;
    }

    .lmj-actualite-content {
        flex-direction: column;
        gap: 14px;
    }

    .lmj-actualite-img {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .lmj-actualite-img img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 520px;
        margin: 0 auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .lmj-actualite-meta {
        margin-bottom: 6px;
    }

    .lmj-actualite-text h3 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .lmj-actualite-text p {
        font-size: 15px;
        margin-bottom: 12px;
        padding-bottom: 0;
    }

    .lmj-actualite-text p:last-of-type {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .lmj-actualite-btn {
        width: 100%;
        text-align: center;
        padding: 11px 14px;
    }
}

/* =========================
   Responsive: small mobile
   ========================= */
@media (max-width: 420px) {

    .lmj-actualite-card {
        padding: 14px;
        border-radius: 9px;
    }

    .lmj-badge-hot {
        font-size: 11px;
        padding: 4px 9px;
    }

    .lmj-actualite-date {
        font-size: 13px;
    }

    .lmj-actualite-text h3 {
        font-size: 18px;
    }

    .lmj-actualite-text p {
        font-size: 14.5px;
    }
}
@media (max-width: 640px){
  #contenu #textes p.bouton{
    text-align: left;
  }
  #contenu #textes p.bouton a{
    max-width: 100%;
    border-radius: 16px;
    padding: 12px 14px;
  }
}

/* ===== Topcard responsive uniquement (à mettre dans device.css) ============ */
/* 1) Très grands écrans: un peu plus d'air */
@media (min-width: 1400px){
  .topcard{
    padding: 16px 18px;
  }
  .topcard-name{
    font-size: 19px;
  }
  .topcard-desc{
    font-size: 14px;
  }
}

/* 2) Laptop / desktop étroit: on réduit sans casser la structure */
@media (max-width: 1100px){
  .topcard{
    gap: 14px;
    padding: 12px 14px;
  }

  .topcard-logo{
    width: 140px;
    height: 110px;
  }
  .topcard-logo img{
    max-width: 140px;
    max-height: 110px;
  }

  .topcard-right{
    flex: 0 0 155px;
  }

  .topcard-name{
    font-size: 17px;
  }
}

/* 3) Tablette paysage et petites largeurs: CTA sous le contenu (plus naturel) */
@media (max-width: 900px){
  .topcard{
    align-items: flex-start;
  }

  .topcard-right{
    flex: 0 0 auto;
    width: 100%;
    max-width: 260px;
    margin-left: auto;
  }

  .topcard-desc{
    max-width: 100%;
  }
}

/* 4) Tablette portrait: grille "2 rangées"
   Rangée 1: logo + contenu
   Rangée 2: CTA pleine largeur
*/
@media (max-width: 760px){
  .topcard{
    display: grid;
    grid-template-columns: 140px 1fr;
    grid-template-areas:
      "logo content"
      "cta  cta";
    gap: 12px 14px;
    align-items: start;
  }

  .topcard-left{ grid-area: logo; }
  .topcard-middle{ 
    grid-area: content; 
    text-align: center;
    }
  .topcard-right{ grid-area: cta; }

  .topcard-logo{
    width: 140px;
    height: 110px;
  }
  .topcard-logo img{
    max-width: 140px;
    max-height: 110px;
  }

  .topcard-right{
    width: 100%;
    max-width: none;
    margin-left: 0;
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .topcard-btn{
    width: 100%;
    padding: 12px 0;
  }

  .topcard-note{
    text-align: left;
    min-width: 160px;
  }
}

/* 5) Mobile: carte verticale, bouton plein largeur */
@media (max-width: 520px){
  .topcard-wrap{
    padding: 12px 10px 12px;
    border-radius: 10px;
  }

  .topcard-title{
    font-size: 14px;
    padding: 9px 10px;
    margin-bottom: 12px;
  }

  .topcard{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 12px;
  }

  .topcard-left{
    display: flex;
    justify-content: center;
  }

  .topcard-logo{
    width: 150px;
    height: 110px;
  }
  .topcard-logo img{
    max-width: 150px;
    max-height: 110px;
  }

  .topcard-name{
    font-size: 16px;
    margin-bottom: 6px;
  }

  .topcard-desc{
    font-size: 13px;
    line-height: 1.4;
  }

  .topcard-meta{
    gap: 8px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .topcard-right{
    width: 100%;
    flex-direction: column;
    gap: 6px;
  }

  .topcard-btn{
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
    border-radius: 10px;
  }

  .topcard-note{
    text-align: center;
  }
}

/* 6) Très petits mobiles: on compacte un peu */
@media (max-width: 360px){
  .topcard{
    padding: 11px 10px;
  }

  .topcard-logo{
    width: 140px;
    height: 105px;
  }
  .topcard-logo img{
    max-width: 140px;
    max-height: 105px;
  }

  .topcard-rating{
    font-size: 12px;
    padding: 6px 9px;
    justify-content: center;
  }

  .topcard-badge{
    font-size: 11px;
    padding: 6px 9px;
    justify-content: center;
  }
}

/* 7) Accessibilité: réduire les animations */
@media (prefers-reduced-motion: reduce){
  .topcard,
  .topcard-btn{
    transition: none;
  }
  .topcard:hover,
  .topcard-btn:hover{
    transform: none;
  }
}

/* ===== Multicard responsive uniquement (à mettre dans device.css) ========== */

/* 1) Très grands écrans: un peu plus d'air */
@media (min-width: 1400px){
  .multicard-row{
    gap: 14px;
  }
  .multicard{
    padding: 13px 11px 11px;
  }
}

/* 2) Laptops et desktops étroits: on garde 5 colonnes, on compacte l'image */
@media (max-width: 1200px){
  .multicard-row{
    gap: 10px;
  }

  .multicard-logo{
    width: 140px;
    height: 110px;
  }
  .multicard-logo img{
    max-width: 140px;
    max-height: 110px;
  }
}

/* 3) Quand 5 colonnes devient trop serré: passage en 4 colonnes */
@media (max-width: 1024px){
  .multicard-row{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .multicard-logo{
    width: 140px;
    height: 110px;
  }
  .multicard-logo img{
    max-width: 140px;
    max-height: 110px;
  }
}

/* 4) Tablette portrait: 3 colonnes */
@media (max-width: 820px){
  .multicard-wrap{
    padding: 12px 12px 14px;
  }

  .multicard-title{
    font-size: 14px;
    padding: 9px 10px;
    margin-bottom: 12px;
  }

  .multicard-row{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .multicard{
    padding: 12px 10px 10px;
  }

  .multicard-logo{
    width: 150px;
    height: 120px;
  }
  .multicard-logo img{
    max-width: 150px;
    max-height: 120px;
  }
}

/* 5) Gros mobile et petites tablettes: 2 colonnes, cartes plus confort */
@media (max-width: 640px){
  .multicard-wrap{
    padding: 12px 10px 12px;
  }

  .multicard-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .multicard{
    border-radius: 12px;
  }

  /* image qui reste dans la plage demandée, mais évite de déborder */
  .multicard-logo{
    width: 150px;
    max-width: 100%;
    height: 110px;
  }
  .multicard-logo img{
    max-width: 150px;
    max-height: 110px;
  }

  .multicard-rating{
    font-size: 12px;
    padding: 6px 9px;
    border-radius: 10px;
  }

  .multicard-btn{
    padding: 11px 0;
    font-size: 13px;
  }
}

/* 6) Mobiles: 1 colonne, logo centré et taille maîtrisée */
@media (max-width: 420px){
  .multicard-title{
    font-size: 14px;
  }

  .multicard-row{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .multicard{
    padding: 12px 12px 11px;
  }

  .multicard-logo{
    width: 150px;
    height: 110px;
  }
  .multicard-logo img{
    max-width: 150px;
    max-height: 110px;
  }

  .multicard-btn{
    padding: 12px 0;
    font-size: 14px;
  }
}

/* 7) Très petits mobiles: on compacte encore un peu */
@media (max-width: 360px){
  .multicard{
    padding: 11px 10px 10px;
  }

  .multicard-logo{
    width: 140px;
    height: 105px;
  }
  .multicard-logo img{
    max-width: 140px;
    max-height: 105px;
  }

  .multicard-rating{
    font-size: 12px;
    padding: 6px 9px;
  }
}

/* 8) Accessibilité: réduire les animations */
@media (prefers-reduced-motion: reduce){
  .multicard,
  .multicard-btn{
    transition: none;
  }
  .multicard:hover,
  .multicard-btn:hover{
    transform: none;
  }
}

@media (max-width: 520px){
  .multicard-meta{
    gap: 6px;
    align-items: center;
  }

  .multicard-rating,
  .multicard-tag{
    min-height: 36px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .multicard-rating{
    gap: 4px;
  }

  .multicard-star{
    font-size: 12px;
    line-height: 1;
  }

  .multicard-score{
    font-size: 11px;
    line-height: 1;
  }

  .multicard-tag img{
    display: block;
    width: 20px;
    height: 13px;
    margin: 0;
    object-fit: contain;
  }
}

/* Box articles similaires, responsive premium propre */
@media (max-width: 900px) {
    #contenu #textes .articles-boxes-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        width: 100%;
        max-width: 100%;
        margin-top: 28px;
    }

    #contenu #textes .articles-boxes-container .articles-similaires.box {
        display: block;
        flex: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        margin: 0;
        padding: 18px;
        border-radius: 14px;
        border-left-width: 6px;
        overflow: hidden;
        box-sizing: border-box;
    }

    #contenu #textes .articles-boxes-container .articles-similaires.box h3 {
        display: block;
        margin: 0 0 14px 0;
        padding: 0 0 12px 0;
        font-size: 18px;
        line-height: 1.3;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        text-align: left;
        border-bottom: 1px solid rgba(139, 116, 39, 0.28);
    }

    #contenu #textes .articles-boxes-container .articles-similaires-list {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #contenu #textes .articles-boxes-container .articles-similaires-item {
        display: block;
        margin: 0 0 8px 0;
        padding: 0;
    }

    #contenu #textes .articles-boxes-container .articles-similaires-item.derniers-extra,
    #contenu #textes .articles-boxes-container .articles-similaires-item.random-extra,
    #contenu #textes .articles-boxes-container .articles-similaires-item.plus-vues-extra,
    #contenu #textes .articles-boxes-container .articles-similaires-item.autres-cat-extra,
    #contenu #textes .articles-boxes-container .articles-similaires-item.cat-derniers-extra,
    #contenu #textes .articles-boxes-container .articles-similaires-item.cat-random-extra,
    #contenu #textes .articles-boxes-container .derniers-extra,
    #contenu #textes .articles-boxes-container .random-extra,
    #contenu #textes .articles-boxes-container .plus-vues-extra,
    #contenu #textes .articles-boxes-container .autres-cat-extra,
    #contenu #textes .articles-boxes-container .cat-derniers-extra,
    #contenu #textes .articles-boxes-container .cat-random-extra {
        display: none;
    }

    #contenu #textes .articles-boxes-container .articles-similaires-item:last-child {
        margin-bottom: 0;
    }

    #contenu #textes .articles-boxes-container .articles-similaires-item a {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 10px 12px;
        font-size: 15px;
        line-height: 1.4;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        box-sizing: border-box;
    }

    #contenu #textes .articles-boxes-container .btn-voir-plus {
        display: flex;
        width: fit-content;
        max-width: 100%;
        margin: 16px auto 0 auto;
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    #contenu #textes .articles-boxes-container .articles-similaires.box {
        padding: 16px;
        border-radius: 12px;
    }

    #contenu #textes .articles-boxes-container .articles-similaires.box h3 {
        font-size: 17px;
    }

    #contenu #textes .articles-boxes-container .articles-similaires-item a {
        font-size: 14.5px;
    }
}

/* Blocs @media déplacés depuis style.css */

@media screen and (max-width:1024px) {

    #contenu #textes .post article.article:not(.modern-post-card),
    #contenu #textes .post article.modern-post-card {
        width: calc(100% - 20px)
    }
}

@media screen and (max-width:768px) {
    #contenu #textes .post article.modern-post-card .post-content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 15px
    }

    #contenu #textes .post article.modern-post-card .post-image-container {
        grid-column: 1 !important;
        grid-row: 2 !important;
        height: 180px !important
    }

    #contenu #textes .post article.modern-post-card .post-text-content {
        grid-column: 1 !important;
        grid-row: 1 !important
    }

    #contenu #textes .post article.modern-post-card .post-title {
        font-size: 18px
    }

    #contenu #textes .post article.modern-post-card {
        padding: 15px
    }

    #contenu #textes .post article.modern-post-card .post-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch
    }

    #contenu #textes .post article.modern-post-card .post-read-more {
        text-align: center;
        justify-content: center
    }
}

@media screen and (max-width: 768px) {
    #contenu #textes .lmj-sommaire {
        margin: 24px 0 30px;
        border-radius: 14px;
        border-left-width: 6px
    }

    #contenu #textes .lmj-sommaire summary {
        padding: 14px 16px;
        font-size: 18px
    }

    #contenu #textes .lmj-sommaire ul {
        padding: 14px
    }

    #contenu #textes .lmj-sommaire li {
        padding: 10px 10px 10px 30px;
        font-size: 14px
    }
}

@media (min-width:1025px) {

    .tableau-1-wrapper-limit,
    .tableau-3-wrapper-limit {
        max-height: 500px;
        overflow: hidden;
        position: relative;
        transition: max-height .3s
    }

    .tableau-1-wrapper-limit::after,
    .tableau-3-wrapper-limit::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
        pointer-events: none
    }
}

@media screen and (max-width: 768px) {
  .lmj-enbref {
    padding: 16px;
    margin: 24px 0 30px;
    border-radius: 14px;
    border-left-width: 6px;
  }

  .lmj-enbref-preview,
  .lmj-enbref-content p,
  .lmj-enbref-content li,
  .lmj-enbref summary {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  #contenu #textes .lmj-site-preview {
    margin: 26px 0 30px;
    padding: 16px;
    border-radius: 14px;
    border-left-width: 6px;
  }

  #contenu #textes .lmj-site-preview-header {
    gap: 10px;
    margin-bottom: 14px;
  }

  #contenu #textes .lmj-site-preview-header::before {
    width: 34px;
    height: 34px;
    font-size: 17px;
    border-radius: 10px;
  }

  #contenu #textes .lmj-site-preview-header strong {
    font-size: 19px;
  }

  #contenu #textes .lmj-site-preview-label {
    font-size: 12px;
  }

  #contenu #textes .lmj-browser-top {
    grid-template-columns: 10px 10px 10px 1fr;
    gap: 6px;
    min-height: 38px;
    padding: 0 10px;
  }

  #contenu #textes .lmj-browser-top span {
    width: 9px;
    height: 9px;
  }

  #contenu #textes .lmj-browser-url {
    font-size: 12px;
    padding: 5px 10px;
  }

  #contenu #textes .lmj-site-preview-caption {
    font-size: 13px;
  }
}

/* Article meta, date et temps de lecture */
@media (max-width:768px) {
    #contenu #textes .article-meta {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px 12px;
        width: 100%;
        margin: 12px 0 22px;
        font-size: 13px;
        flex-wrap: nowrap
    }

    #contenu #textes .article-meta p {
        margin: 0;
        padding: 0
    }

    #contenu #textes .article-meta .date,
    #contenu #textes .article-meta .reading-time {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        line-height: 1.4;
        margin: 0;
        padding: 0;
        white-space: nowrap
    }

    #contenu #textes .article-meta .date .fa,
    #contenu #textes .article-meta .date .date-text,
    #contenu #textes .article-meta .reading-time .icon-clock {
        display: inline-block;
        margin: 0;
        padding: 0;
        line-height: 1.4
    }

    #contenu #textes .article-meta .reading-time {
        margin-left: auto
    }
}

/* Module Live Blog Coupe du Monde, responsive */
@media (max-width: 768px) {
    #contenu #textes .lmj-liveblog {
        margin: 26px 0 30px;
        padding: 16px;
        border-radius: 14px;
        border-left-width: 6px;
    }

    #contenu #textes .lmj-liveblog-title {
        font-size: 22px;
        line-height: 1.25;
    }

    #contenu #textes .lmj-liveblog-subtitle {
        font-size: 13.5px;
    }

    #contenu #textes .lmj-liveblog-preview {
        font-size: 14.5px;
        line-height: 1.65;
    }

    #contenu #textes .lmj-liveblog summary {
        font-size: 14.5px;
    }

    #contenu #textes .lmj-liveblog-content {
        margin-top: 16px;
        padding-top: 16px;
    }

    #contenu #textes .lmj-liveblog-focus {
        gap: 6px;
        margin-bottom: 16px;
    }

    #contenu #textes .lmj-liveblog-focus span {
        padding: 7px 10px;
        font-size: 12px;
    }

    #contenu #textes .lmj-liveblog-item {
        display: block;
        padding: 0 0 16px 20px;
    }

    #contenu #textes .lmj-liveblog-item::before {
        top: 28px;
        bottom: -2px;
        left: 6px;
        width: 2px;
    }

    #contenu #textes .lmj-liveblog-item::after {
        top: 9px;
        left: 0;
        width: 14px;
        height: 14px;
        border-width: 3px;
    }

    #contenu #textes .lmj-liveblog-time {
        display: flex;
        align-items: baseline;
        gap: 7px;
        text-align: left;
        padding: 0 0 8px;
    }

    #contenu #textes .lmj-liveblog-time strong {
        font-size: 14px;
    }

    #contenu #textes .lmj-liveblog-time span {
        margin-top: 0;
        font-size: 11.5px;
    }

    #contenu #textes .lmj-liveblog-post {
        padding: 14px;
        border-radius: 12px;
    }

    #contenu #textes .lmj-liveblog-meta {
        gap: 6px;
        margin-bottom: 9px;
        flex-wrap: wrap;
    }

    #contenu #textes .lmj-liveblog-badge,
    #contenu #textes .lmj-liveblog-country {
        min-height: 23px;
        padding: 0 9px;
        font-size: 11.5px;
    }

    #contenu #textes .lmj-liveblog-post h3 {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 9px;
    }

    #contenu #textes .lmj-liveblog-post p {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 10px;
        padding-bottom: 0;
    }

    #contenu #textes .lmj-liveblog-post p:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    #contenu #textes .lmj-liveblog-ad {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 12px;
        padding: 12px;
    }

    #contenu #textes .lmj-liveblog-ad a {
        width: 100%;
        min-height: 38px;
    }
}

@media (max-width: 420px) {
    #contenu #textes .lmj-liveblog {
        padding: 14px;
        border-radius: 12px;
    }

    #contenu #textes .lmj-liveblog-title {
        font-size: 20px;
    }

    #contenu #textes .lmj-liveblog-preview {
        font-size: 14px;
    }

    #contenu #textes .lmj-liveblog-item {
        padding-left: 18px;
    }

    #contenu #textes .lmj-liveblog-post {
        padding: 13px;
    }

    #contenu #textes .lmj-liveblog-post h3 {
        font-size: 17px;
    }

    #contenu #textes .lmj-liveblog-post p {
        font-size: 14px;
    }
}