/* articles/static/css/article_index.css */

.article-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-feed-header {
    margin-bottom: 50px;
    text-align: center;
}

.feed-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.feed-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.feed-image img:hover { 
    opacity: 0.9; 
}

.feed-content h2 {
    margin-top: 0;
    font-size: 1.8rem;
    line-height: 1.2;
    font-family: 'Manjari', sans-serif;
}

.feed-content h2 a {
    color: #111;
    text-decoration: none;
}

.feed-content h2 a:hover { 
    text-decoration: underline; 
    color: #003366; 
}

.meta-date {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    font-family: sans-serif;
}

.meta-author {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
    font-weight: bold;
}

.excerpt {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feed-item {
        grid-template-columns: 1fr;
    }
    .feed-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
}