/* HEADER : date bleue + titre blanc collés */
.article-header {
    display: flex;
    flex-direction: row;
    margin-bottom: 24px;
    background: #FFFEFC;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

.article-dateblock {
    background: #C6E6E0;
    color: #FFFEFC;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 0 10px;
    height: auto;
}

.article-date {
    text-align: center;
    width: 100%;
    padding: 0 2px;
    font-weight: bold;
}

.article-title {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    white-space: normal;
    word-break: break-word;
    min-height: 70px;
    height: auto;
    font-size: 20px;
}

/* CONTENU PRINCIPAL */
.article-content,
.texte-single {
    max-width: 1100px;
    margin: 0 auto 2rem auto;
    width: 90%;
}

/* IMAGE PRINCIPALE */
.article-featured-image {
    width: 90%;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.article-featured-image img {
    width: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* GALERIE MINIATURES */
.article-gallery,
.mini-gallery {
    display: flex;
    justify-content: center;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-gallery .thumb img,
.mini-gallery .thumb img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.article-gallery .thumb img:hover,
.mini-gallery .thumb img:hover {
    transform: scale(1.04);
}

/* AUTEUR */
.article-author {
    margin: 24px 0;
    text-align: right;
    color: #555;
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.article-back {
    text-align: center;
    margin: 2rem auto;
    width: 100%;
}


/* RESPONSIVE - DESKTOP */
@media (min-width: 768px) {

    .article-featured-image img,
    .image-paysage img {
        width: 800px;
        height: 500px;
    }

    .mini-gallery,
    .article-gallery {
        justify-content: center;
    }

    .mini-gallery .thumb img,
    .article-gallery .thumb img {
        width: 100px;
        height: 100px;
    }

    .article-header {
        width: 800px;
    }

    .article-title {
        font-size: 35px;
    }
}