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

        body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            background-color: #fff;
            color: #333;
            line-height: 1.7;
            font-size: 16px;
        }

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

        header {
            background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
            border-bottom: 3px solid #5b0000;
            padding: 20px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

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

        nav {
            background-color: #ff9900;
            border-bottom: 2px solid #ff6600;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

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

        nav ul li {
            margin: 0;
        }

        nav ul li a {
            display: block;
            padding: 12px 20px;
            color: #653200;
            text-decoration: none;
            font-weight: bold;
            font-size: 14px;
            transition: all 0.3s ease;
            border-right: 1px solid rgba(255,255,255,0.2);
        }

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

        nav ul li a:hover {
            background-color: #fff;
            color: #ff6600;
        }

        main {
            padding: 40px 0;
            min-height: 60vh;
        }

        h1 {
            font-size: 32px;
            color: #5b0000;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #ff9900;
            font-weight: bold;
        }

        article {
            background-color: #fff;
            padding: 30px;
            margin-bottom: 40px;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        article h2 {
            color: #ff6600;
            margin-top: 25px;
            margin-bottom: 15px;
            font-size: 24px;
        }

        article h3 {
            color: #653200;
            margin-top: 20px;
            margin-bottom: 12px;
            font-size: 20px;
        }

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

        .transition-section {
            background-color: #fff4e6;
            padding: 25px;
            margin-bottom: 30px;
            border-left: 5px solid #ff9900;
            border-radius: 5px;
        }

        {% if links %}
        .links-section {
            background-color: #fff;
            padding: 30px;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-bottom: 40px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .links-section h2 {
            color: #5b0000;
            margin-bottom: 20px;
            font-size: 26px;
            padding-bottom: 10px;
            border-bottom: 2px solid #ff9900;
        }

        .links-section h3 {
            color: #ff6600;
            margin-top: 25px;
            margin-bottom: 15px;
            font-size: 20px;
        }

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

        .links-section ul li {
            padding: 0;
        }

        .links-section ul li a {
            color: #622c00;
            text-decoration: none;
            padding: 8px 0;
            display: block;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
            padding-left: 12px;
        }

        .links-section ul li a:hover {
            color: #ff6600;
            border-left-color: #ff9900;
            padding-left: 18px;
            background-color: #fff8f0;
        }
        {% endif %}

        footer {
            background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
            border-top: 3px solid #5b0000;
            padding: 30px 0;
            margin-top: 60px;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        }

        footer .container {
            text-align: center;
            color: #5b0000;
            font-size: 14px;
            line-height: 1.6;
        }

        footer p {
            margin: 5px 0;
        }

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

            nav ul {
                flex-direction: column;
            }

            nav ul li {
                width: 100%;
            }

            nav ul li a {
                border-right: none;
                border-bottom: 1px solid rgba(255,255,255,0.2);
            }

            h1 {
                font-size: 26px;
            }

            article {
                padding: 20px;
            }

            article h2 {
                font-size: 22px;
            }

            article h3 {
                font-size: 18px;
            }

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

        @media (max-width: 480px) {
            body {
                font-size: 14px;
            }

            .logo {
                font-size: 18px;
            }

            h1 {
                font-size: 22px;
            }

            nav ul li a {
                padding: 10px 15px;
                font-size: 13px;
            }
        }
    