/* Основные стили */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Inter', sans-serif;
        color: #333;
    }

    /* Шапка сайта поверх изображения */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 5%;
        z-index: 100;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
    }

    .logo img {
        height: 50px;
        width: auto;
        /* Убрать фильтр */
        filter: none;
    }

    nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 30px;
    }

    nav ul li a {
        text-decoration: none;
        color: white;
        font-weight: 500;
        transition: color 0.3s;
    }

    nav ul li a:hover {
        color: #ffcc00;
    }

    /* Секция с фоновым изображением на весь экран */
    .hero {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 700px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        background: url('img/hero-bg.png') no-repeat center top;
        background-size: cover;
    }

    /* Затемнение только нижней части */
    .hero::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        z-index: 1;
    }

    /* Контейнер для текста */
    .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        color: white;
        padding-bottom: 15vh;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-family: 'Yeseva One', serif;
        font-size: 5rem;
        margin: 0 0 20px 0;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    }

    .hero-content p {
        font-size: 1.0rem;
        margin: 0 auto;
        max-width: 800px;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    }

    /* Стили для новостей */
    .news-section {
        padding: 80px 5%;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Адаптация для мобильных */
    @media (max-width: 768px) {
        header {
            flex-direction: column;
            padding: 15px;
            background: rgba(0, 0, 0, 0.7);
        }

        nav ul {
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-top: 15px;
        }

        .hero {
            min-height: 500px;
            height: 80vh;
        }

        .hero-content {
            padding-bottom: 10vh;
        }

        .hero-content h1 {
            font-size: 3rem;
        }

        .hero-content p {
            font-size: 1.2rem;
            max-width: 90%;
        }
    }

    /* Стили для кирпичной кладки новостей */
    .masonry-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-auto-rows: 10px;
        gap: 10px;
        margin-top: 50px;
    }

    .masonry-item {
        position: relative;
        border-radius: 4px;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .masonry-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

   .masonry-item {
        grid-row-end: span 26;
    }

    .masonry-item.tall {
        grid-row-end: span 10;
    }

    .masonry-item.wide {
        grid-column: span 1;
        grid-row-end: span 26;
    }

    .masonry-item.win {
        grid-row-end: span 16;
    }

    .masonry-item:hover {
        transform: scale(1.02);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        z-index: 10;
    }

    .news-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        color: white;
        padding: 15px 10px;
    }

    .news-text {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 3px;
        font-weight: 500;
    }

    .news-date {
        font-size: 12px;
        color: #ccc;
    }

    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }

    .news-container {
        display: flex;
        justify-content: space-between;
        padding: 20px;
    }

    .news-wrapper {
        display: flex;
        width: 100%;
    }

    .news-list {
        flex: 1;
        padding-right: 20px;
    }

    /* Контейнер для кнопки */
.more-news {
    max-width: 1250px;  /* Фиксированная максимальная ширина */
    margin: 30px auto;  /* Центрирование с отступами */
    padding: 0 20px;    /* Боковые отступы */
    text-align: right;   /* Выравнивание содержимого по правому краю */
    position: relative;  /* Для позиционирования */
    box-sizing: border-box;
}

/* Стиль самой кнопки */
.more-news-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3E4B82;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.more-news-link:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

    .more-news-link::after {
        content: " →";
    }

    footer {
        background-color: #3E4B82;
        color: white;
        padding: 20px;
        text-align: center;
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-section {
        flex: 1;
        padding: 0 10px;
    }

    .footer-section h3 {
        border-bottom: 1px solid #777;
        padding-bottom: 10px;
    }

    .support-text {
        font-style: italic;
        margin-top: 20px;
    }