.news-section {
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
}

.news-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.news-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-icon {
    width: 30px;
    height: 30px;
}

.news-title-group h2 {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.news-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 2px;
    width: max-content;
}

.switcher-btn {
    background: transparent;
    border: none;
    color: #7D9CBA;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.switcher-btn.active {
    background: #2C6FC7;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(44, 111, 199, 0.3);
}

.news-carousel-container {
    width: 100%;
    position: relative;
    display: flex;
}

.news-carousel {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 30px;
    width: 100%;
}

.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 1 1 0;
    min-width: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news-image-wrapper {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    color: #7D9CBA;
    margin-bottom: 12px;
    font-weight: 600;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #FFFFFF;
}

.news-card-text {
    font-size: 0.95rem;
    color: #7D9CBA;
    line-height: 1.6;
    margin-bottom: 10px;
    flex-grow: 1;
}

.news-more {
    font-size: 0.95rem;
    color: #2C6FC7;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

@media (min-width: 769px) {
    .news-card:hover {
        transform: translateY(-5px);
        border-color: rgba(44, 111, 199, 0.4);
        box-shadow: 0 10px 30px rgba(44, 111, 199, 0.15);
    }
    .news-card:hover .news-image {
        transform: scale(1.04);
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }
    .news-header {
        margin-bottom: 15px;
        padding: 0;
    }
    .news-wrapper {
        padding: 0 20px;
    }
    .news-carousel {
        justify-content: flex-start;
        padding: 20px 0;
        gap: 15px;
        scroll-snap-type: x mandatory;
    }
    .news-card {
        flex: 0 0 300px;
        min-width: 300px;
        scroll-snap-align: start;
        transform: scale(0.95);
        opacity: 0.6;
        transition: all 0.3s ease;
    }
    .news-card.is-active {
        transform: scale(1);
        opacity: 1;
    }
}
