:root {
            --header-offset: 16px;
            --news-lines: 3;
        }

        @media (min-width: 1280px) {
            :root {
                --news-lines: 4;
            }
        }

        @media (max-width: 640px) {
            :root {
                --news-lines: 4;
                --header-offset: 12px;
            }
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: "Nunito", sans-serif, normal;
            color: #111;
            background: #fff;
            min-height: 100vh;
        }

        .l-wrapper {
            min-height: 100vh;
            position: relative;
        }

        .header {
            position: sticky;
            top: var(--header-offset);
            z-index: 1000;
            padding: 0 24px 12px;
            transition: transform 0.3s ease;
        }

        .header_inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            padding: 14px 24px;
            border-radius: 20px;
            border: 1px solid transparent;
            background: rgb(175, 175, 175);
            transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            position: relative;
        }

        body.is-scrolled .header_inner {
            background: rgba(176, 176, 176, 0.666);
            border-color: rgba(0, 0, 0, 0.08);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
            backdrop-filter: blur(8px);
        }

        .header_top_logo img {
            display: block;
            height: 38px;
            width: auto;
        }

        .header_nav_list {
            list-style: none;
            display: flex;
            align-items: center;
            gap: 26px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-size: 14px;
            font: "Nunito", sans-serif, bold;
        }

        .header_nav_list a {
            text-decoration: none;
            color: #000;
            font-weight: 700;
            transition: color 0.2s ease;
        }

        .header_nav_list a:hover,
        .header_nav_list a:focus,
        .header_nav_list a:active {
            color: #60049a;
        }

        .header_lang {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .header_lang span {
            color: #555;
            font-weight: 600;
        }

        .menu-toggle {
            display: none;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            border-radius: 14px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            background: #fff;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
            transition: background 0.2s ease, box-shadow 0.2s ease;
        }

        .menu-toggle:focus-visible {
            outline: 2px solid #60049a;
            outline-offset: 2px;
        }

        .menu-toggle-bars {
            display: grid;
            gap: 6px;
            width: 20px;
        }

        .menu-toggle-bars span {
            display: block;
            width: 100%;
            height: 2px;
            background: #000;
            border-radius: 999px;
            transition: transform 0.35s ease, opacity 0.35s ease;
        }

        .nav-item {
            opacity: 0;
            transform: translateX(40px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        body.nav-reveal .nav-item {
            opacity: 1;
            transform: translateX(0);
        }

        .nav-item:nth-child(1) {
            transition-delay: 0.05s;
        }

        .nav-item:nth-child(2) {
            transition-delay: 0.12s;
        }

        .nav-item:nth-child(3) {
            transition-delay: 0.2s;
        }

        .page_content {
            max-width: 960px;
            margin: 0 auto;
            padding: 120px 32px 80px;
            line-height: 1.6;
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.6s ease, transform 0.6s ease;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        body.page-ready .page_content {
            opacity: 1;
            transform: translateY(0);
        }

        .page_content h1 {
            font-size: 36px;
            margin-bottom: 16px;
        }

        .page_content p {
            font-size: 16px;
            max-width: 680px;
        }

        .loading-screen {
            position: fixed;
            inset: 0;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 1;
            transition: opacity 0.6s ease;
        }

        body.page-ready .loading-screen {
            opacity: 0;
            pointer-events: none;
        }

         .latest-news {
            width: 100%;
            margin-top: 48px;
        }

        .latest-news-title {
            font-size: 28px;
            font-weight: 800;
            text-decoration: none;
            color: #111;
            display: inline-block;
            margin-bottom: 24px;
        }

        .latest-news-title:hover,
        .latest-news-title:focus,
        .latest-news-title:active {
            color: #111;
        }

        .news-cards {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
            width: 100%;
        }

        .news-card {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 20px;
            border-radius: 16px;
            background: #f5f5f5;
            text-decoration: none;
            color: inherit;
            text-align: left;
        }

        .news-card:hover,
        .news-card:focus,
        .news-card:active {
            color: inherit;
            text-decoration: none;
        }

        .news-card-media {
            width: 100%;
            border-radius: 12px;
            overflow: hidden;
        }

        .news-card-media svg {
            width: 100%;
            height: auto;
            display: block;
        }

        .news-card-title {
            font-size: clamp(17px, 1vw + 14px, 20px);
            font-weight: 800;
        }

        .news-card-text {
            font-size: clamp(14px, 0.5vw + 12px, 15px);
            line-height: 1.4;
            display: -webkit-box;
            line-clamp: var(--news-lines);
            -webkit-line-clamp: var(--news-lines);
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: calc(var(--news-lines) * 1.4em);
            text-align: left;
        }

        .news-card-date {
            font-size: 13px;
            color: #777;
        }

        .loading-logo {
            width: 120px;
            height: 120px;
        }

        .top-button {
            position: fixed;
            right: 28px;
            bottom: 140px;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            pointer-events: none;
        }

        .top-button.show {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .top-button svg {
            width: 22px;
            height: 22px;
            fill: #000;
        }

        .site-footer {
            background: #000;
            color: #fff;
            padding: 48px 32px 24px;
        }

        .footer-inner,
        .footer-bottom {
            max-width: 960px;
            margin: 0 auto;
        }

        .footer-inner {
            display: flex;
            align-items: flex-start;
            gap: 48px;
        }

        .footer-brand {
            display: flex;
            align-items: flex-start;
            gap: 24px;
        }

        .footer-logo img {
            display: block;
            width: 180px;
            height: auto;
            filter: brightness(0) invert(1);
            margin-right: 24px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .footer-links-label {
            font-size: 18px;
            font-weight: 900;
            letter-spacing: 0.08em;
            margin-bottom: 10px;
            font: "Nunito", sans-serif, bold;
        }

        .footer-links-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }

        .footer-links-list a {
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s ease;
        }

        .footer-links-list a:hover,
        .footer-links-list a:focus,
        .footer-links-list a:active {
            color: #60049a;
        }

        .footer-social {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .footer-social a {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: transform 0.2s ease;
        }

        .footer-social a:hover,
        .footer-social a:focus {
            transform: translateY(-2px);
        }

        .footer-social svg {
            width: 20px;
            height: 20px;
            fill: #000;
        }

        .footer-bottom {
            margin-top: 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            flex-wrap: wrap;
        }

        .footer-lang {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-lang a {
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s ease;
        }

        .footer-lang a:hover,
        .footer-lang a:focus,
        .footer-lang a:active {
            color: #60049a;
        }

        .footer-lang span,
        .footer-lang p {
            color: #fff;
            font-weight: 600;
        }

        .footer-copyright {
            font-size: 14px;
            font-weight: 600;
        }

        @media (max-width: 760px) {
            .page_content {
                padding: 100px 20px 60px;
            }

            .top-button {
                bottom: 120px;
                right: 20px;
            }

            .site-footer {
                padding: 4px 12px 4px;
            }

            .footer-inner {
                flex-direction: column;
                align-items: flex-start;
                gap: 32px;
            }

            .footer-brand {
                flex-direction: column;
                gap: 20px;
            }

            .footer-logo img {
                width: 160px;
            }

            .footer-social {
                margin-left: 0;
            }
        }

        @media (max-width: 1080px) {
            .news-cards {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 760px) {
            .news-cards {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 1024px) and (orientation: portrait) {
            .news-cards {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 1024px) and (orientation: portrait), (max-width: 760px) {
            .header {
                padding: 0 16px 12px;
            }

            body.is-scrolled .header_inner,
            body.menu-open .header_inner {
                background: rgba(176, 176, 176, 0.92);
                border-color: rgba(0, 0, 0, 0.08);
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
                backdrop-filter: blur(10px);
            }

            .header_inner {
                gap: 12px;
            }

            .menu-toggle {
                display: inline-flex;
            }

            .header_nav {
                position: absolute;
                top: calc(100% + 10px);
                right: 0;
                left: 0;
                background: rgba(175, 175, 175, 0.96);
                border-radius: 16px;
                overflow: hidden;
                max-height: 0;
                opacity: 0;
                transform: translateY(-12px);
                transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.45s ease;
                pointer-events: none;
                box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
                backdrop-filter: blur(8px);
            }

            body.menu-open .header_nav {
                max-height: calc(100vh - var(--header-offset) - 18px);
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }

            .header_nav_list {
                flex-direction: column;
                align-items: flex-end;
                padding: 22px 22px 26px;
                gap: 18px;
                font-size: 13px;
            }

            .header_nav_list a {
                font-size: 14px;
            }

            .header_lang {
                order: -1;
                width: 100%;
                justify-content: flex-end;
            }

            .menu-toggle-bars span:nth-child(1) {
                transform-origin: center;
            }

            .menu-toggle-bars span:nth-child(3) {
                transform-origin: center;
            }

            body.menu-open .menu-toggle-bars span:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }

            body.menu-open .menu-toggle-bars span:nth-child(2) {
                opacity: 0;
            }

            body.menu-open .menu-toggle-bars span:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }
        }