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

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

        .header-wrapper {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-bottom: 3px solid #ff8c42;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

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

        .logo-section {
            text-align: center;
            margin-bottom: 15px;
        }

        .logo-section h2 {
            color: #2c5aa0;
            font-size: 2em;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .baseline {
            color: #666;
            font-size: 1.1em;
            font-style: italic;
        }

        .baseline .highlight {
            color: #ff8c42;
            font-weight: 600;
        }

        nav {
            background: #2c5aa0;
            border-radius: 8px;
            margin-top: 15px;
        }

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

        nav ul li {
            position: relative;
        }

        nav ul li a {
            display: block;
            color: #ffffff;
            text-decoration: none;
            padding: 15px 20px;
            transition: background 0.3s ease;
            font-weight: 500;
        }

        nav ul li a:hover {
            background: #ff8c42;
        }

        .hero-section {
            background: linear-gradient(rgba(44, 90, 160, 0.7), rgba(44, 90, 160, 0.7)), 
                        linear-gradient(135deg, #2c5aa0 0%, #1a3d7a 100%);
            color: white;
            padding: 60px 20px;
            text-align: center;
        }

        .hero-section h1 {
            max-width: 1200px;
            margin: 0 auto;
            font-size: 2.5em;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            line-height: 1.3;
        }

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

        article {
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            margin-bottom: 40px;
        }

        article h2 {
            color: #2c5aa0;
            font-size: 2em;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 3px solid #ff8c42;
        }

        article h3 {
            color: #2c5aa0;
            font-size: 1.5em;
            margin-top: 30px;
            margin-bottom: 15px;
        }

        article h4 {
            color: #444;
            font-size: 1.2em;
            margin-top: 25px;
            margin-bottom: 12px;
        }

        article p {
            margin-bottom: 15px;
            font-size: 1.05em;
            color: #555;
            text-align: justify;
        }

        .transition-section {
            background: #f8f9fa;
            padding: 30px 40px;
            border-radius: 10px;
            margin-bottom: 40px;
            border-left: 5px solid #ff8c42;
        }

        .transition-section p {
            font-size: 1.05em;
            color: #555;
            margin-bottom: 15px;
            line-height: 1.8;
        }

        {% if links %}
        .links-section {
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            margin-bottom: 40px;
        }

        .links-section h3 {
            color: #2c5aa0;
            font-size: 1.6em;
            margin-bottom: 20px;
            margin-top: 30px;
            padding-bottom: 10px;
            border-bottom: 2px solid #ff8c42;
        }

        .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 ul li {
            position: relative;
            padding-left: 20px;
        }

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

        .links-section ul li a {
            color: #2c5aa0;
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 1.05em;
            display: inline-block;
        }

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

        footer {
            background: linear-gradient(135deg, #2c5aa0 0%, #1a3d7a 100%);
            color: white;
            padding: 30px 20px;
            margin-top: 60px;
        }

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

        .footer-nav {
            margin-bottom: 20px;
        }

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

        .footer-nav a:hover {
            color: #ff8c42;
        }

        .copyright {
            font-size: 0.9em;
            color: rgba(255,255,255,0.8);
            margin-top: 15px;
        }

        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 1.8em;
            }

            article {
                padding: 25px;
            }

            article h2 {
                font-size: 1.6em;
            }

            nav ul {
                flex-direction: column;
            }

            nav ul li a {
                padding: 12px 20px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

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

            .transition-section {
                padding: 20px;
            }

            .links-section {
                padding: 25px;
            }
        }

        @media (max-width: 480px) {
            .logo-section h2 {
                font-size: 1.5em;
            }

            .baseline {
                font-size: 1em;
            }

            .hero-section {
                padding: 40px 15px;
            }

            .hero-section h1 {
                font-size: 1.5em;
            }

            article h2 {
                font-size: 1.4em;
            }

            article h3 {
                font-size: 1.3em;
            }

            .footer-nav a {
                display: block;
                margin: 8px 0;
            }
        }
    