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

        body {
            font-family: Arial, Helvetica, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #f5f5f5;
        }

        header {
            background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
            color: white;
            padding: 2rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header h1 {
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        nav {
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        nav ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        nav ul li {
            margin: 0;
        }

        nav ul li a {
            display: block;
            padding: 1rem 1.2rem;
            color: #1e3a5f;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
        }

        nav ul li a:hover {
            background: #f0f4f8;
            border-bottom-color: #2c5282;
            color: #2c5282;
        }

        main {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 20px;
        }

        article {
            background: white;
            padding: 2.5rem;
            margin-bottom: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        article h2 {
            color: #1e3a5f;
            margin: 1.5rem 0 1rem;
            font-size: 1.5rem;
            border-left: 4px solid #2c5282;
            padding-left: 1rem;
        }

        article h3 {
            color: #2c5282;
            margin: 1.2rem 0 0.8rem;
            font-size: 1.2rem;
        }

        article p {
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        article ul {
            margin: 1rem 0 1rem 2rem;
        }

        article ul li {
            margin-bottom: 0.5rem;
        }

        article a {
            color: #2c5282;
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s ease;
        }

        article a:hover {
            border-bottom-color: #2c5282;
        }

        article strong {
            color: #1e3a5f;
        }

        .transition-section {
            background: #f9fafb;
            padding: 2rem 2.5rem;
            margin-bottom: 2rem;
            border-radius: 8px;
            border-left: 4px solid #2c5282;
        }

        .transition-section p {
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        {% if links %}
        .links-section {
            background: white;
            padding: 2.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .links-section h2 {
            color: #1e3a5f;
            margin-bottom: 2rem;
            font-size: 1.8rem;
            text-align: center;
        }

        .links-section h3 {
            color: #2c5282;
            margin: 2rem 0 1rem;
            font-size: 1.3rem;
            border-bottom: 2px solid #e5e7eb;
            padding-bottom: 0.5rem;
        }

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

        .links-section ul li {
            position: relative;
            padding-left: 1.2rem;
        }

        .links-section ul li:before {
            content: "▸";
            position: absolute;
            left: 0;
            color: #2c5282;
            font-weight: bold;
        }

        .links-section ul li a {
            color: #1e3a5f;
            text-decoration: none;
            transition: color 0.3s ease;
            display: inline-block;
        }

        .links-section ul li a:hover {
            color: #2c5282;
            padding-left: 0.3rem;
        }
        {% endif %}

        footer {
            background: #1e3a5f;
            color: white;
            padding: 2rem 0;
            margin-top: 3rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            text-align: center;
        }

        footer nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1rem;
        }

        footer nav ul li a {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1rem;
            transition: opacity 0.3s ease;
        }

        footer nav ul li a:hover {
            opacity: 0.8;
        }

        footer nav ul li:not(:last-child):after {
            content: "|";
            margin-left: 1rem;
            opacity: 0.5;
        }

        @media (max-width: 768px) {
            header h1 {
                font-size: 1.5rem;
            }

            nav ul {
                flex-direction: column;
            }

            nav ul li a {
                padding: 0.8rem 1rem;
                border-left: 3px solid transparent;
                border-bottom: none;
            }

            nav ul li a:hover {
                border-left-color: #2c5282;
                border-bottom-color: transparent;
            }

            article {
                padding: 1.5rem;
            }

            .transition-section {
                padding: 1.5rem;
            }

            {% if links %}
            .links-section {
                padding: 1.5rem;
            }

            .links-section ul {
                grid-template-columns: 1fr;
                gap: 0.6rem;
            }
            {% endif %}

            footer nav ul {
                flex-direction: column;
                gap: 0.5rem;
            }

            footer nav ul li:not(:last-child):after {
                display: none;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            article {
                padding: 2rem;
            }

            {% if links %}
            .links-section ul {
                gap: 0.7rem 1.5rem;
            }
            {% endif %}
        }
    