  :root {
        /* Цветовая схема */
        --primary: #40AC5D;
        --primary-dark: #0A8D2D;
        --accent-blue: #3E6EB4;
        --white: #FFFFFF;
        --black: #121212;
        --gray-light: #F5F5F5;
        --gray-medium: #E0E0E0;
        --gray-dark: #757575;
        --red: #E53935;
        
        /* Темная тема */
        --bg-dark: #1A1A1A;
        --text-dark: #E0E0E0;
        --border-dark: #333333;
        
        /* Анимации */
        --transition: all 0.3s ease;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    [data-theme="dark"] {
        --white: var(--bg-dark);
        --black: var(--text-dark);
        --gray-light: #2D2D2D;
        --gray-medium: #444444;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

  

    .hot-news-container {
        max-width: 1700px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Заголовок с подчеркиванием снизу */
    .section-title {
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 40px;
        position: relative;
        padding-bottom: 15px;
        display: inline-block;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--primary);
        border-radius: 2px;
    }

    /* Сетка новостей - 5 в ряд */
    .hot-news-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }

    /* Карточка новости */
    .news-card {
        background: var(--white);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: var(--transition);
        border: 1px solid var(--gray-medium);
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .news-card__image {
        width: 100%;
        height: 220px;
        position: relative;
        overflow: hidden;
    }

    .news-card__image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .news-card:hover .news-card__image img {
        transform: scale(1.05);
    }

    .news-card__content {
        padding: 25px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .news-card__category {
        display: inline-block;
        padding: 6px 12px;
        background: var(--primary);
        color: white;
        font-size: 14px;
        font-weight: 600;
        border-radius: 6px;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .news-card__title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 15px;
        line-height: 1.4;
        flex-grow: 1;
    }

    .news-card__excerpt {
        color: var(--gray-dark);
        font-size: 16px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .news-card__meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        color: var(--gray-dark);
        margin-top: auto;
    }

    .news-card__time {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .news-card__comments {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Адаптивность */
    @media (max-width: 1800px) {
        .hot-news-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width: 1400px) {
        .hot-news-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 992px) {
        .hot-news-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .news-card__image {
            height: 200px;
        }
        
        .section-title {
            font-size: 28px;
        }
    }

    @media (max-width: 576px) {
        .hot-news-grid {
            grid-template-columns: 1fr;
        }
        
        .news-card__image {
            height: 180px;
        }
        
        .section-title {
            font-size: 24px;
            margin-bottom: 30px;
        }
        
        body {
            padding: 30px 0;
        }
    }

    /* Кнопка переключения темы для демонстрации */
    .theme-toggle-demo {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--primary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border: none;
        box-shadow: var(--shadow);
        z-index: 100;
    }