/*Global*/
.articles-container, .blog-article-container {
    color: white;
}


/* Page principale + catégories */
.article-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background: #1F1F1F;
    min-height: 100%;
    height: 100%;
    position: relative;
}

.article-item {
    display: flex;
}

.article-image-container {
    height: auto;
    width: 100%;
    display: flex;
    justify-content:center;
    align-items: center;
}

.article-image {
    height: auto;
    width: 100%;
    border-radius: 25px;
}

.article-title {
    color:#8E271F;
}

.article-details {
    font-size: 0.9rem;
}

.blog-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.blog-link:hover {
    color: #8E271F;
}

.article-btn-container {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.article-btn-container .btn {
    background-color: #8E271F;
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease-in-out;
}

.article-btn-container .btn:hover {
    background: linear-gradient(135deg, #8E271F, #FEE183);
}


.article-btn {
    width: fit-content;
    margin: 0 auto;
}

.article-excerpt {
    font-size : 1rem;
    font-weight : 600;
}

/* Page d'un article */
.blog-article-container {
    width: 98%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background: #1F1F1F;

}

@media screen and (min-width: 768px) {
    .blog-article-container {
        width: 80%;
    }
}

.blog-article-image {
    height: auto;
    width: 100%;
    border-radius: 25px;
}

.blog-article-content {
    font-size: 1.1rem;
}

/* Responsive */
@media screen and (min-width: 768px) {
    .article-inner {
        width: 95%;
        padding: 20px;
    }

    .blog-article-item {
        padding: 30px;
    }
}

@media (min-width: 992px) {
    .blog-article-item {
        padding: 60px;
    }
    
    .article-image, .blog-article-image, .article-image-container {
        width: auto;
    }

    .blog-article-image {
        height: 400px;
    }

    .article-image-container, .article-image {
        height: 200px;
    }
}