/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 
                 'Oxygen', 'Ubuntu', 'Cantarell', 'Open Sans', 
                 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Контейнеры */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* Обертка страницы */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* Списки */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Изображения */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Кнопки */
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Формы */
input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #007bff;
}

/* Утилитарные классы */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }



.now-title section {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 25px;
    padding-right: 25px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    background-color: #2e3134;
    color: #fff;
}
.screen-welcome__body {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30vh;
    width: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 1920px;
}
.now-title section:before  {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background-color: #000;
    opacity: .3;
}
/* Адаптивность */
@media (min-width: 1200px) {
    .screen-welcome__body {
        padding-left: 320px;
        padding-right: 110px;
    }
.screen-welcome__body h1 {
        font-size: 60px;
        line-height: 64px;
    }	
}
@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
}
@media (min-width: 768px) {
    .screen-welcome__body {
        padding-top: 36vh;
        padding-left: 145px;
        padding-right: 80px;
    }
}
@media (max-width: 768px) {
    .container {
        max-width: 576px;
        padding: 0 10px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    body {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}

/* Темная тема (опционально) */
@media (prefers-color-scheme: dark) {
    body {
        color: #fff;
        background-color: #1a1a1a;
    }
    
    a {
        color: #4dabf7;
    }
    
    a:hover {
        color: #339af0;
    }
    
    input, textarea, select {
        background-color: #2d2d2d;
        border-color: #404040;
        color: #fff;
    }
}


        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .news-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.4s ease;
            height: 400px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .news-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        }

        .news-card.featured {
            grid-column: span 2;
            height: 450px;
        }

       .news-card .media--image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 0.5s ease;
            z-index: 1;
        }

        .news-card:hover .media--image {
            transform: scale(1.1);
        }

        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
            z-index: 2;
        }

        .card-content { 
            position: relative;
            z-index: 3;
            padding: 25px;
            color: white;
        }

        .news-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .news-date {
            font-size: 0.9rem;
            color: #ffd700;
            font-weight: 500;
            display: flex;
            align-items: center;
        }

        .news-date i {
            margin-right: 5px;
        }

        .news-badge {
            font-size: 0.75rem;
            background: linear-gradient(45deg, #ff6b6b, #ff9a9e);
            color: #fff;
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .news-title {
            font-size: 1.5rem;
            margin: 10px 0 15px;
            line-height: 1.4;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        .news-card.featured .news-title {
            font-size: 2rem;
        }

        .news-excerpt {
            color: #e0e0e0;
            margin-bottom: 20px;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-link a {
            display: inline-flex;
            align-items: center;
            color: #ffd700;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .news-link a:hover {
            color: #ff6b6b;
            transform: translateX(5px);
        }

        .news-link i {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }

        .news-link:hover i {
            transform: translateX(5px);
        }

        .category-tag {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 4;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
			color: #fff;
        }

        /* Адаптивность для мобильных устройств */
        @media (max-width: 768px) {
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .news-card.featured {
                grid-column: span 1;
                height: 400px;
            }
            
            .news-card.featured .news-title {
                font-size: 1.6rem;
            }
            
            .news-card {
                height: 350px;
            }
           

        .loading-indicator {
            text-align: center;
            margin: 30px 0;
            color: rgba(255, 255, 255, 0.7);
            font-style: italic;
        }