/* Images des pages article uniquement */

.article-content {
    min-width: 0;
}

.article-featured-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    background: var(--cyber-darker, #050505);
    border-radius: 0.5rem;
}

.article-featured-image img,
.article-featured-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 480px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

/* Images incluses dans le contenu de l'article */
.article-body {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.article-body img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto !important;
    max-height: 560px;
    margin: 1rem auto;
    object-fit: contain;
}

.article-body iframe,
.article-body video,
.article-body table {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .article-featured-image img,
    .article-featured-img {
        max-height: 300px;
    }

    .article-body img {
        max-height: 360px;
    }
}
