.articles-page {
    width: 100%;
}
.article-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}
.article-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: box-shadow 0.2s;
}
.article-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.article-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f7f7f7;
}
.article-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.2s;
}
.article-card:hover .article-card-image img {
    transform: scale(1.04);
}
.article-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 20px 20px 20px;
}
.article-card-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}
.article-card-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}
.article-card-title a:hover {
    color: #cf3131;
}
.article-card-excerpt {
    color: #444;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
    white-space: pre-line;
    flex: 1 1 auto;
}
.article-card-link {
    display: inline-block;
    font-weight: bold;
    color: #cf3131;
    margin-top: auto;
    text-decoration: none;
    transition: color 0.2s;
}
.article-card-link:hover {
    color: #a51f1f;
}
.articles-empty {
    padding: 20px 0;
    color: #666;
}
.articles-pagination {
    margin-top: 30px;
}
@media (max-width: 1200px) {

    .articles-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .article-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .article-list {
        grid-template-columns: 1fr;
    }
    .article-card-body {
        padding: 16px 12px 14px 12px;
    }
    .article-card-title {
        font-size: 18px;
    }
}