/* Страница статей антикварного салона «Стрелец» */

.strelets-articles {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 28px 80px;
}

.strelets-articles-heading {
    margin: 32px 0 36px;
    max-width: 850px;
}

.strelets-articles-heading h1 {
    margin: 0 0 15px;
    color: #292b2b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.2;
}

.strelets-articles-heading p {
    margin: 0;
    color: #65625d;
    font-size: 16px;
    line-height: 1.7;
}

.strelets-articles-preview {
    margin: 0 0 24px;
    padding: 12px 16px;
    border: 1px solid #d9c9a9;
    color: #665333;
    background: #faf7f0;
    font-size: 14px;
}

.strelets-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 25px;
}

.strelets-article-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6e2db;
    transition: box-shadow .2s ease, transform .2s ease;
}

.strelets-article-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
    transform: translateY(-2px);
}

.strelets-article-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e7e4df;
}

.strelets-article-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.strelets-article-card:hover .strelets-article-card-image img {
    transform: scale(1.025);
}

.strelets-article-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px 23px 25px;
}

.strelets-article-card-date {
    display: block;
    margin-bottom: 12px;
    color: #96784d;
    font-size: 13px;
}

.strelets-article-card h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.38;
}

.strelets-article-card h2 a {
    color: #292b2b;
    text-decoration: none;
}

.strelets-article-card h2 a:hover {
    color: #98784a;
}

.strelets-article-card-excerpt {
    margin: 0 0 22px;
    color: #67635e;
    font-size: 14px;
    line-height: 1.75;
}

.strelets-article-card-more {
    margin-top: auto;
    align-self: flex-start;
    color: #927144;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.strelets-article-card-more:hover {
    color: #5d462b;
}

.strelets-articles-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 44px;
}

.strelets-articles-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid #ddd6cb;
    color: #383532;
    text-decoration: none;
}

.strelets-articles-pagination .current {
    color: #fff;
    background: #756043;
    border-color: #756043;
}

.strelets-articles-empty {
    padding: 35px 0;
    color: #67635e;
}

@media (max-width: 900px) {
    .strelets-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .strelets-articles {
        padding: 20px 16px 55px;
    }

    .strelets-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .strelets-article-card-body {
        padding: 20px;
    }
}
