/* articles.css — article card styles for Braducation articles */

.article-card {
    width: 50%;
    margin: 0 auto 25px auto;
    background: #fff;
    border-left: 5px solid #54682b;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: left;
    box-sizing: border-box;
}

.article-card h2 {
    margin: 0 0 6px 0;
    font-size: 1.3em;
}

.article-card h2 a {
    color: ##54682b;
    text-decoration: none;
}

.article-card h2 a:hover {
    text-decoration: underline;
}

.article-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    margin: 0 0 8px 0;
    font-size: 0.95em;
}

.article-card .description {
    margin: 0;
    line-height: 1.4;
}

/* On small screens, make cards full width */
@media (max-width: 768px) {
    .article-card {
        width: 90%;
    }
}

/* Article page box */
.article-wrapper {
    width: 95%;
    max-width: 1200px;
    margin: 40px auto 40px auto;
    padding: 30px;
    background: #F4F7F2;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    box-sizing: border-box;
}

.article-wrapper h1 {
    text-align: left;
    margin-top: 0;
    font-size: 2em;
    color: #54682b;
}

.article-wrapper .article-meta {
    color: #666;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Kill the red lists inside the box */
.article-wrapper ul,
.article-wrapper ol {
    color: #000;
}
.article-wrapper li {
    color: #000;
}

/* Images inside articles */
.article-wrapper img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

/* Back link */
.article-wrapper .back-link {
    margin-top: 30px;
    font-size: 0.9em;
}