:root {
            --primary: #1a73e8;
            --secondary: #b833ff;
            --dark: #0f172a;
            --light: #f8fafc;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Montserrat", sans-serif;
        }
        
        .news-container {
            background: var(--light);
            padding: 60px 0;
            position: relative;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .news-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 40px;
        }
        
        .news-title {
            font-size: 36px;
            font-weight: 800;
            color: var(--dark);
            margin: 0;
            position: relative;
            line-height: 1.2;
        }
        
        .news-title:after {
            content: "";
            display: block;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            margin-top: 16px;
        }
        
        .news-nav {
            display: flex;
            gap: 10px;
        }
        
        .news-nav-button {
            background: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            color: var(--dark);
        }
        
        .news-nav-button:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        .news-carousel {
            display: flex;
            gap: 25px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 20px;
            margin-bottom: 20px;
        }
        
        .news-carousel::-webkit-scrollbar {
            height: 6px;
        }
        
        .news-carousel::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
            border-radius: 10px;
        }
        
        .news-carousel::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
        }
        
        .news-carousel::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.3);
        }
        
        .news-item {
            flex: 0 0 calc(33.333% - 17px);
            scroll-snap-align: start;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            border-top: 4px solid var(--primary);
        }
        
        .news-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .news-item-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--primary);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            z-index: 1;
        }
        
        .news-item-image {
            height: 160px;
            overflow: hidden;
            position: relative;
        }
        
        .news-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .news-item:hover .news-item-image img {
            transform: scale(1.05);
        }
        
        .news-item-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .news-item-date {
            font-size: 12px;
            color: #64748b;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .news-item-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 12px;
            line-height: 1.4;
        }
        
        .news-item-excerpt {
            font-size: 14px;
            color: #475569;
            margin-bottom: 20px;
            line-height: 1.5;
            flex-grow: 1;
        }
        
        .news-item-button {
            align-self: flex-start;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .news-item-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
        }
        
        .news-item-button::after {
            content: '→';
            transition: transform 0.3s ease;
        }
        
        .news-item-button:hover::after {
            transform: translateX(3px);
        }
        
        .news-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 20px;
        }
        
        .news-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .news-dot.active {
            background: var(--primary);
            transform: scale(1.2);
        }
        
        .news-view-all {
            text-align: center;
            margin-top: 40px;
        }
        
        .news-view-all-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
            padding: 10px 25px;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .news-view-all-button:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
        }
        
        @media (max-width: 992px) {
            .news-item {
                flex: 0 0 calc(50% - 13px);
            }
        }
        
        @media (max-width: 768px) {
            .news-item {
                flex: 0 0 100%;
            }
            
            .news-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
            }
            
            .news-nav {
                align-self: flex-end;
            }
            
            .news-title {
                font-size: 28px;
            }
        }
        
        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .news-item {
            animation: fadeIn 0.5s ease forwards;
            opacity: 0;
        }
        
        .news-item:nth-child(1) { animation-delay: 0.1s; }
        .news-item:nth-child(2) { animation-delay: 0.2s; }
        .news-item:nth-child(3) { animation-delay: 0.3s; }
        .news-item:nth-child(4) { animation-delay: 0.4s; }
        
        /* убираем прокрутку*/
        
        .news-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    margin-bottom: 20px;
    /* Добавляем эти свойства чтобы скрыть скролл */
    overflow: hidden;
    padding-bottom: 0;
}

/* Убираем стили для скроллбара полностью */
.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-carousel::-webkit-scrollbar-track {
    display: none;
}

.news-carousel::-webkit-scrollbar-thumb {
    display: none;
}

.news-carousel::-webkit-scrollbar-thumb:hover {
    display: none;
}

/* Также можно добавить это для лучшей совместимости */
.news-carousel {
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;  /* Firefox */
}