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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 16px;
            line-height: 1.6;
            color: #222;
            background: #f5f5f5;
        }

        #site-container {
            max-width: 1200px;
            margin: 0 auto;
            background: #fff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        }

        #main-header {
            position: relative;
            background: linear-gradient(135deg, #0D2E4C 0%, #1a4d7a 50%, #8bb8c7 100%);
            padding: 60px 20px 20px;
            color: #fff;
            text-align: center;
        }

        #main-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: #b8372e;
        }

        #root-link {
            font-size: 2.5em;
            font-weight: bold;
            color: #fff;
            text-decoration: none;
            display: block;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        #main-nav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            padding: 15px 0;
        }

        #main-nav a {
            background: #95a646;
            color: #fff;
            padding: 10px 20px;
            text-decoration: none;
            font-weight: bold;
            border-radius: 4px;
            transition: all 0.3s ease;
            font-size: 0.9em;
        }

        #main-nav a:hover {
            background: #8bb8c7;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        main {
            padding: 40px 20px;
        }

        h1 {
            color: #0D2E4C;
            font-size: 2.2em;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #b8372e;
            text-align: center;
        }

        article {
            max-width: 900px;
            margin: 0 auto 40px;
            background: #fff;
            padding: 30px;
            border-radius: 8px;
        }

        article h2 {
            color: #0D2E4C;
            font-size: 1.8em;
            margin: 30px 0 15px;
        }

        article h3 {
            color: #b8372e;
            font-size: 1.4em;
            margin: 25px 0 12px;
        }

        article h4 {
            color: #0D2E4C;
            font-size: 1.2em;
            margin: 20px 0 10px;
        }

        article p {
            margin-bottom: 15px;
            text-align: justify;
            line-height: 1.8;
        }

        article strong {
            color: #0D2E4C;
        }

        .transition-section {
            max-width: 900px;
            margin: 40px auto;
            padding: 30px;
            background: #f9f9f9;
            border-left: 4px solid #95a646;
            border-radius: 4px;
        }

        .transition-section p {
            line-height: 1.8;
            margin-bottom: 15px;
        }

        {% if links %}
        .links-section {
            max-width: 1100px;
            margin: 40px auto;
            padding: 40px 20px;
            background: linear-gradient(to bottom, #f5f5f5 0%, #e9e9e9 100%);
            border-radius: 8px;
            border: 1px solid #ddd;
        }

        .links-section h3 {
            color: #0D2E4C;
            font-size: 1.5em;
            margin: 30px 0 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #b8372e;
        }

        .links-section h3:first-child {
            margin-top: 0;
        }

        .links-section ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px 30px;
            margin-bottom: 30px;
        }

        .links-section li {
            padding-left: 20px;
            position: relative;
        }

        .links-section li::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: #b8372e;
            font-weight: bold;
        }

        .links-section a {
            color: #0D2E4C;
            text-decoration: none;
            transition: color 0.3s ease;
            line-height: 1.8;
        }

        .links-section a:hover {
            color: #b8372e;
            text-decoration: underline;
        }
        {% endif %}

        #main-footer {
            background: #0D2E4C;
            color: #fff;
            padding: 30px 20px;
            margin-top: 60px;
        }

        #footer-nav {
            text-align: center;
            margin-bottom: 15px;
        }

        #footer-nav a {
            color: #8bb8c7;
            text-decoration: none;
            margin: 0 10px;
            transition: color 0.3s ease;
        }

        #footer-nav a:hover {
            color: #fff;
        }

        .credits {
            text-align: center;
            font-size: 0.9em;
            color: #aaa;
        }

        .degrade-footer {
            height: 10px;
            background: linear-gradient(to bottom, #0D2E4C 0%, #000 100%);
        }

        @media (max-width: 768px) {
            #root-link {
                font-size: 1.8em;
            }

            #main-nav {
                flex-direction: column;
                align-items: stretch;
            }

            #main-nav a {
                text-align: center;
            }

            h1 {
                font-size: 1.8em;
            }

            article {
                padding: 20px;
            }

            article h2 {
                font-size: 1.5em;
            }

            article h3 {
                font-size: 1.2em;
            }

            .links-section ul {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .transition-section {
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
            #root-link {
                font-size: 1.5em;
            }

            #main-header {
                padding: 40px 15px 15px;
            }

            #main-nav a {
                padding: 8px 15px;
                font-size: 0.85em;
            }

            h1 {
                font-size: 1.5em;
            }

            main {
                padding: 20px 10px;
            }

            article {
                padding: 15px;
            }
        }
    