
        * {
            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: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
        }

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

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

        .logo-section {
            text-align: center;
            margin-bottom: 1rem;
        }

        .site-title {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .site-description {
            font-size: 0.95rem;
            opacity: 0.95;
        }

        nav {
            background: #0d3d66;
            border-top: 3px solid #1a5490;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

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

        .nav-menu {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0;
        }

        .nav-menu li {
            flex: 1 1 auto;
            min-width: 120px;
        }

        .nav-menu a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 0.9rem 1rem;
            text-align: center;
            transition: all 0.3s ease;
            border-right: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
        }

        .nav-menu li:last-child a {
            border-right: none;
        }

        .nav-menu a:hover {
            background: #1a5490;
            transform: translateY(-2px);
        }

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

        h1 {
            color: #0d3d66;
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid #1a5490;
            text-align: center;
        }

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

        article h2 {
            color: #1a5490;
            font-size: 1.8rem;
            margin: 1.5rem 0 1rem;
        }

        article h3 {
            color: #2d7ab8;
            font-size: 1.4rem;
            margin: 1.3rem 0 0.8rem;
        }

        article p {
            margin-bottom: 1rem;
            text-align: justify;
        }

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

        .transition-section p {
            margin-bottom: 1rem;
            text-align: justify;
        }

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

        .links-section h3 {
            color: #0d3d66;
            font-size: 1.4rem;
            margin: 1.5rem 0 1rem;
            padding-left: 0.5rem;
            border-left: 4px solid #1a5490;
        }

        .links-section ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .links-section li {
            margin-bottom: 0.3rem;
        }

        .links-section a {
            color: #2d7ab8;
            text-decoration: none;
            padding: 0.4rem 0.5rem;
            display: block;
            transition: all 0.3s ease;
            border-radius: 4px;
            position: relative;
            padding-left: 1.2rem;
        }

        .links-section a:before {
            content: "▸";
            position: absolute;
            left: 0.3rem;
            color: #1a5490;
        }

        .links-section a:hover {
            background: #e3f2fd;
            color: #0d3d66;
            transform: translateX(5px);
        }
        {% endif %}

        footer {
            background: #0d3d66;
            color: white;
            padding: 2rem 0;
            margin-top: 3rem;
            text-align: center;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .footer-links {
            margin-bottom: 1rem;
        }

        .footer-links a {
            color: #a8d5ff;
            text-decoration: none;
            margin: 0 0.7rem;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-text {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        @media (max-width: 768px) {
            .site-title {
                font-size: 1.4rem;
            }

            .site-description {
                font-size: 0.85rem;
            }

            .nav-menu {
                flex-direction: column;
            }

            .nav-menu li {
                width: 100%;
                min-width: auto;
            }

            .nav-menu a {
                border-right: none;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

            h1 {
                font-size: 1.6rem;
            }

            article, .transition-section, .links-section {
                padding: 1.5rem;
            }

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

            .footer-links a {
                display: block;
                margin: 0.5rem 0;
            }
        }

        @media (max-width: 480px) {
            .site-title {
                font-size: 1.2rem;
            }

            h1 {
                font-size: 1.4rem;
            }

            article h2 {
                font-size: 1.4rem;
            }

            article h3 {
                font-size: 1.2rem;
            }
        }
    