.blog_page {
    padding: 40px 0 80px;
}

/* Список статей занимает всю ширину экрана */
.blog_page--wide .container {
    max-width: 100%;
    width: 100%;
}

.blog__title {
    margin: 0 0 32px;
    font-size: 36px;
    font-weight: 700;
}

.blog__row {
    row-gap: 24px;
}

.blog__empty {
    font-size: 18px;
    color: #666;
}

/* ===== Pagination ===== */
.blog__pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.blog__page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    font-size: 15px;
    color: #1a7fa4;
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}

.blog__page-link:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

.blog__page-link--current {
    background: #1a7fa4;
    color: #fff;
    box-shadow: none;
}

.blog__page-link--ellipsis {
    background: transparent;
    box-shadow: none;
    color: #888;
}

/* ===== Card in the list ===== */
.article-card {
    display: block;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    transform: translateY(-2px);
}

.article-card__image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card__body {
    padding: 16px 20px 20px;
}

.article-card__category {
    margin: 0 0 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1a7fa4;
}

.article-card__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.article-card__date {
    margin: 0;
    font-size: 14px;
    color: #888;
}

/* ===== Article page ===== */
.article {
    max-width: 800px;
    margin: 0 auto;
}

.article__back {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 15px;
    color: #1a7fa4;
    text-decoration: none;
}

.article__back:hover {
    text-decoration: underline;
}

.article__category {
    margin: 0 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1a7fa4;
}

.article__title {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.article__date {
    margin: 0 0 24px;
    font-size: 14px;
    color: #888;
}

.article__image {
    display: block;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 24px;
}

.article__text {
    font-size: 17px;
    line-height: 1.6;
}

.article__text p {
    margin: 0 0 16px;
}
