.news-article .news-header-image {
    max-height: 500px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.news-article .news-header-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-article .news-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.news-article .news-meta i {
    font-size: 0.8rem;
}

.news-article .news-tags a {
    display: inline-block;
    background: #f8f9fa;
    padding: 3px 10px;
    border-radius: 15px;
    margin: 2px;
    font-size: 0.85rem;
    color: #495057;
    text-decoration: none;
}

.news-article .news-tags a:hover {
    background: #e9ecef;
}

.news-article .news-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.news-article .news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.news-article .news-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.share-buttons .btn {
    padding: 5px 15px;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-article .news-header {
        text-align: center;
    }
    
    .news-article .share-buttons {
        justify-content: center;
    }
    
    .news-article .news-content {
        font-size: 1rem;
    }
}

/* Стили для горизонтальных карточек новостей */
.news-card-horizontal {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    min-height: 250px;
}

.news-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-image-horizontal {
    min-height: 250px;
    overflow: hidden;
}

.news-image-horizontal img {
    transition: transform 0.5s ease;
}

.news-card-horizontal:hover .news-image-horizontal img {
    transform: scale(1.05);
}

.news-title {
    font-size: 1.25rem;
    line-height: 1.3;
}

.news-title a:hover {
    color: #0d6efd;
}

.news-excerpt {
    color: #6c757d;
    line-height: 1.5;
    font-size: 0.95rem;
}

.news-date {
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .news-card-horizontal .row {
        flex-direction: column;
    }
    
    .news-image-horizontal {
        min-height: 200px;
        width: 100%;
    }
    
    .news-image-horizontal img {
        border-radius: 8px 8px 0 0 !important;
        width: 100%;
    }
    
    .col-lg-5,
    .col-lg-7 {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .news-card-horizontal {
        min-height: auto;
    }
    
    .news-image-horizontal {
        min-height: 180px;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
    }
}