.blog-section {
    background-color: #f5f5f5;
    padding: 20px 0;
    width: 100%;
}

.news-list {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'HeliosExtC', Arial, sans-serif;
    background-color: #f5f5f5;
}

/* === Заголовок блога (добавьте его вручную перед компонентом) === */
.blog-main-title {
    font-family: 'HeliosExtC', Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: bold;
    margin: 0 auto;
    max-width: 1200px;
    text-align: left;
    padding-bottom: 30px;
}

/* === Сетка: 4 карточки в ряд === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

/* === Карточка статьи === */
.news-item {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* === Контент статьи === */
.news-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* === Заголовок статьи — чёрный, без синей подсветки === */
.news-title a {
    color: #222 !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    display: block;
    margin-bottom: 8px;
}
.news-title a:hover {
    text-decoration: none !important;
    color: #222 !important;
}

/* === Дата публикации === */
.news-date-time {
    color: #666 !important;
    font-size: 12px;
    margin-bottom: 10px;
    font-style: normal;
}

/* === Изображение статьи === */
.news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 0;
    margin: 0 0 12px 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* === Текст анонса === */
.news-text {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === Кнопка "Читать полностью" — крупнее и ярче === */
.news-button {
    margin-top: auto;
}

.read-more {
    background-color: #FFC803;
    color: #000 !important;
    padding: 12px 24px;
    text-decoration: none !important;
    border-radius: 10px;
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.2);
    text-transform: uppercase;
    font-family: 'HeliosExtC', Arial, sans-serif;
}

.read-more:hover {
    background-color: #FFC107;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* === АДАПТИВ === */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .news-item {
        max-width: 90%;
    }
}
@media (max-width: 768px) {
    .blog-main-title {
        font-size: 24px;
        margin: 30px auto 20px;
        padding: 0 16px;
    }
    .news-list {
        padding: 16px;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .news-title a {
        font-size: 16px;
    }
    .news-image {
        height: 160px;
    }
    .read-more {
        padding: 10px 20px;
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .news-list {
        padding: 0px;
    }
    .news-title a {
        font-size: 15px;
    }
    .news-image {
        height: 140px;
    }
    .read-more {
        padding: 8px 16px;
        font-size: 12px;
    }
}