/* ===== PAGE ===== */
.news-page {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* ===== TITLE ===== */
.news-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #0f172a;
}

/* ===== FEATURED ===== */
.featured {
    margin-bottom: 40px;
    border-radius: 18px;
    overflow: hidden;
}

.featured-link {
    position: relative;
    display: block;
    text-decoration: none;
    color: white !important;
}

/* IMAGE */
.featured img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

/* OVERLAY */
.featured-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 25px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.4) 50%,
        transparent 100%
    );
}

/* DATE */
.featured-date {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 6px;
}

/* TITLE */
.featured-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.3 !important;

    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* TEXT */
.featured-text {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.9;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== GRID ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== CARD ===== */
.news-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #1e293b;

    background: #fff;
    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: 0.25s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

/* IMAGE */
.news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* BODY */
.news-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* DATE */
.news-date {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

/* TITLE */
.news-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TEXT */
.news-preview {
    font-size: 13px;
    color: #475569;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* BUTTON */
.news-more {
    margin-top: auto;
    padding-top: 10px;

    font-size: 14px;
    font-weight: 600;
    color: #2c7da0;
    transition: 0.2s;
}

.news-card:hover .news-more {
    color: #1e5f7a;
}

/* ===== ADAPTIVE ===== */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .featured img {
        height: 260px;
    }

    .featured-title {
        font-size: 20px !important;
    }
}
.news-header {
    text-align: center;
    margin-bottom: 30px;
}

/* сам заголовок */
.news-header {
    text-align: center;
    margin-bottom: 30px;
}

/* сам заголовок */
.news-title {
    display: inline-block;

    font-size: 32px !important;
    font-weight: 800 !important;
    color: #111 !important;

    position: relative;
    padding-bottom: 10px;
}

/* линия под заголовком */
.news-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 60px;
    height: 4px;

    background: linear-gradient(90deg, #0d6efd, #00c6ff);
    transform: translateX(-50%);
    border-radius: 4px;
}