/* Основные стили блока */
.ln-news-block {
    max-width: 1520px;
    margin: 10px auto 0;
    position: relative;
    z-index: 2;
    padding: 20px 85px 0px 85px;
}

.ln-title {
    text-align: left;
    margin: 0 0 36px;
    font-size: 32px;
    color: #fff;
    padding-left: 20px;
}

/* Сетка новостей */
.ln-news-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Карточка новости */
.ln-news-card {
    background: #fff;
    border-radius: 32px;
    display: flex;
    color: #0c0c0c;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    height: 290px;
}

/* Изображение новости */
.ln-news-image {
    width: 615px;
    height: 290px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.ln-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Контент новости */
.ln-news-content {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

/* Заголовок новости */
.ln-news-title {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 15px;
    line-height: 1.3;
    color: #0c0c0c;
    max-width: 780px;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ln-news-title:hover {
    color: #333333;
}

/* Описание новости */
.ln-news-excerpt {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #0c0c0c;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

/* Дата новости */
.ln-news-date {
    font-size: 16px;
    font-weight: 400;
    color: rgba(12, 12, 12, 0.6);
    margin-top: auto;
    margin-left: auto;
}

/* Адаптация для разных разрешений */
@media (max-width: 1520px) {
    .ln-news-block {
        max-width: 1280px;
        padding: 0 30px;
    }
}

@media (max-width: 1280px) {
    .ln-news-block {
        max-width: 100%;
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {
    .ln-news-block {
        padding: 0 30px;
    }
    
    .ln-news-card {
        height: 250px;
    }
    
    .ln-news-image {
        width: 500px;
        height: 250px;
    }
    
    .ln-news-title {
        font-size: 22px;
    }
    
    .ln-news-excerpt {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 900px) {
    .ln-news-card {
        flex-direction: column;
        height: auto;
    }
    
    .ln-news-image {
        width: 100%;
        height: 200px;
        border-radius: 32px 32px 0 0;
    }
    
    .ln-news-content {
        padding: 20px;
    }
    
    .ln-news-title {
        max-width: 100%;
    }
    
    .ln-news-excerpt {
        max-width: 100%;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 768px) {
    .ln-news-block {
        margin-top: 50px;
        padding: 0 20px;
    }
    
    .ln-news-title {
        font-size: 20px;
    }
    
    .ln-news-excerpt {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .ln-title {
        padding: 0px;
    }
    
    .ln-news-block {
        padding: 0 15px;
    }
    
    .ln-news-image {
        height: 180px;
    }
    
    .ln-news-title {
        font-size: 18px;
    }
    
    .ln-news-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
}