/* Article Detail Page Styles */
.article-detail {
    margin-bottom: 2rem;
    text-align: center; /* Center align all content */
}

.article-detail h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.article-detail .date {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.article-detail .content {
    max-width: 800px; /* Limit content width for better readability */
    margin: 0 auto; /* Center the content block */
    line-height: 1.8;
    color: #333;
    text-align: left; /* Keep text alignment left within the centered block */
}

.article-detail .content img {
    max-width: 100%;
    height: auto;
    margin: 1rem auto; /* Center images within the content */
    display: block; /* Ensure images are block-level for centering */
}

.article-detail .back-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: darkgray;
    color: black;
    text-decoration: none;
    border-radius: 5px;
}

.article-detail .back-link:hover {
    background: #a9a9a9;
}