
        * {
            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: #070C05 url(data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%232A4F6D;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23070C05;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23grad)' /%3E%3C/svg%3E) top left repeat-x;
            background-size: 100% 300px;
        }

        header {
            background: rgba(42, 79, 109, 0.9);
            padding: 20px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

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

        .logo {
            color: #fff;
            font-size: 28px;
            font-weight: bold;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            margin-bottom: 10px;
        }

        .tagline {
            color: #bed333;
            font-size: 14px;
            font-style: italic;
        }

        nav {
            background: linear-gradient(to bottom, #4787C8 0%, #346FAA 100%);
            border-bottom: 3px solid #bed333;
            margin-top: 10px;
        }

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

        .nav-menu {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }

        .nav-menu li {
            position: relative;
        }

        .nav-menu a {
            display: block;
            padding: 12px 20px;
            color: #fff;
            text-decoration: none;
            font-weight: bold;
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
            transition: background 0.3s, color 0.3s;
        }

        .nav-menu a:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #bed333;
        }

        .main-wrapper {
            max-width: 980px;
            margin: 30px auto;
            padding: 0 20px;
            background: #fff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            overflow: hidden;
        }

        h1 {
            background: linear-gradient(to right, #4787C8, #346FAA);
            color: #fff;
            padding: 25px 30px;
            font-size: 32px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            margin: 0;
        }

        article {
            padding: 40px 30px;
            background: #fff;
        }

        article h2 {
            color: #346FAA;
            margin: 30px 0 15px 0;
            font-size: 26px;
            border-bottom: 2px solid #bed333;
            padding-bottom: 10px;
        }

        article h3 {
            color: #4787C8;
            margin: 25px 0 12px 0;
            font-size: 22px;
        }

        article h4 {
            color: #333;
            margin: 20px 0 10px 0;
            font-size: 18px;
        }

        article p {
            margin-bottom: 15px;
            font-size: 16px;
            text-align: justify;
        }

        article ul, article ol {
            margin: 15px 0 15px 30px;
        }

        article li {
            margin-bottom: 8px;
        }

        .transition-section {
            padding: 30px;
            background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
            border-top: 3px solid #346FAA;
            border-bottom: 3px solid #346FAA;
        }

        .transition-section p {
            font-size: 16px;
            margin-bottom: 15px;
            line-height: 1.7;
        }

        {% if links %}
        .links-section {
            padding: 40px 30px;
            background: #fff;
        }

        .links-section h2 {
            color: #346FAA;
            font-size: 28px;
            margin-bottom: 25px;
            text-align: center;
            border-bottom: 3px solid #bed333;
            padding-bottom: 15px;
        }

        .links-section h3 {
            color: #4787C8;
            font-size: 22px;
            margin: 30px 0 15px 0;
            padding: 10px 15px;
            background: linear-gradient(to right, #f0f0f0, #fff);
            border-left: 4px solid #346FAA;
        }

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

        .links-section li {
            margin: 0;
        }

        .links-section a {
            color: #417CAB;
            text-decoration: none;
            padding: 8px 12px;
            display: block;
            border-radius: 4px;
            transition: all 0.3s;
            border-left: 3px solid transparent;
        }

        .links-section a:hover {
            color: #333;
            background: #f5f5f5;
            border-left-color: #bed333;
            padding-left: 18px;
        }
        {% endif %}

        footer {
            background: #2A4F6D;
            color: #fff;
            padding: 30px 20px;
            margin-top: 40px;
            text-align: center;
        }

        .footer-nav {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
        }

        .footer-nav a {
            color: #bed333;
            text-decoration: none;
            transition: color 0.3s;
        }

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

        .copyright {
            font-size: 14px;
            color: #ccc;
            margin-top: 15px;
        }

        @media (max-width: 768px) {
            .nav-menu {
                flex-direction: column;
                gap: 0;
            }

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

            h1 {
                font-size: 24px;
                padding: 20px;
            }

            article {
                padding: 25px 20px;
            }

            article h2 {
                font-size: 22px;
            }

            article h3 {
                font-size: 19px;
            }

            .transition-section {
                padding: 20px;
            }

            {% if links %}
            .links-section {
                padding: 25px 20px;
            }

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

            .links-section h3 {
                font-size: 19px;
            }
            {% endif %}

            .footer-nav {
                flex-direction: column;
                gap: 10px;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 22px;
            }

            h1 {
                font-size: 20px;
                padding: 15px;
            }

            article {
                padding: 20px 15px;
            }

            article p, .transition-section p {
                font-size: 15px;
            }
        }
    