/* News List Component Styles */
.page-news {
    padding: 40px 0 60px;
}

.main-news__block {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-news__image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    border-bottom: none !important;
}

.main-news__image:hover {
    border-bottom: none !important;
}

.main-news__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-news__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.main-news__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.main-news__date {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-news__date::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.main-news__type {
    font-size: 12px;
    font-weight: 600;
    color: #1F2977;
    background: rgba(31, 41, 119, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-news__title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2977;
    text-decoration: none !important;
    line-height: 1.4;
    margin-bottom: 12px;
    display: block;
    border-bottom: none !important;
}

.main-news__title:hover {
    color: #4FBAD5;
    border-bottom: none !important;
    text-decoration: none !important;
}

.main-news__text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 991px) {
    .page-news {
        padding: 30px 0 40px;
    }

    .main-news__block {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .main-news__content {
        padding: 16px;
    }

    .main-news__title {
        font-size: 16px;
    }

    .main-news__text {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
}
