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

        body {
            font-family: Arial, Helvetica, Sans-Serif;
            font-size: 16px;
            line-height: 1.6;
            color: #000;
            background-color: #F1C4A2;
            background-image: linear-gradient(to bottom, #fff 0%, #F1C4A2 373px);
            background-repeat: no-repeat;
        }

        .container {
            max-width: 900px;
            margin: 10px auto;
            background-color: #fff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            border-radius: 15px;
            overflow: hidden;
        }

        header {
            background: linear-gradient(135deg, #9B5017 0%, #D4A574 100%);
            height: 250px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-align: center;
            padding: 20px;
        }

        nav {
            background: linear-gradient(to bottom, #f5e5d3 0%, #e8d4bd 100%);
            border-top: 1px solid #ccc;
            border-bottom: 1px solid #ccc;
        }

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

        nav ul li {
            position: relative;
        }

        nav ul li a {
            display: block;
            padding: 12px 20px;
            color: #000;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s ease;
            border-right: 1px solid #ddd;
        }

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

        nav ul li a:hover {
            background: linear-gradient(to bottom, #fff 0%, #f5e5d3 100%);
            color: #1E1506;
        }

        main {
            padding: 30px;
        }

        h1 {
            font-size: 32px;
            color: #9B5017;
            margin-bottom: 20px;
            font-weight: normal;
        }

        article {
            background-color: #fff;
            padding: 20px;
            margin-bottom: 30px;
            border-radius: 8px;
        }

        article h2 {
            font-size: 24px;
            color: #9B5017;
            margin: 1em 0 0.5em 0;
            font-weight: normal;
        }

        article h3 {
            font-size: 18px;
            color: #757575;
            margin: 1em 0 0.5em 0;
            font-weight: normal;
        }

        article p {
            margin: 0.8em 0;
            text-align: justify;
        }

        article img {
            max-width: 100%;
            height: auto;
            margin: 10px 0;
            border-radius: 5px;
        }

        .transition-section {
            background-color: #FDEED3;
            padding: 25px;
            margin-bottom: 30px;
            border-radius: 8px;
            border: 1px solid #E8D4BD;
        }

        .transition-section p {
            margin: 0.8em 0;
        }

        {% if links %}
        .links-section {
            background-color: #FFF;
            padding: 30px;
            border-radius: 8px;
            border: 1px solid #E8D4BD;
        }

        .links-section h3 {
            font-size: 20px;
            color: #9B5017;
            margin: 1.5em 0 0.8em 0;
            font-weight: normal;
            border-bottom: 2px solid #F1DCB6;
            padding-bottom: 10px;
        }

        .links-section h3:first-child {
            margin-top: 0;
        }

        .links-section ul {
            list-style: none;
            padding: 0;
            margin: 0 0 20px 0;
            column-count: 2;
            column-gap: 30px;
        }

        .links-section ul li {
            padding: 8px 0 8px 20px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="3" fill="%239B5017"/></svg>') no-repeat left 10px;
            break-inside: avoid;
        }

        .links-section ul li a {
            color: #4A4A4A;
            text-decoration: none;
            transition: color 0.3s ease;
        }

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

        footer {
            background-color: #3F8CD9;
            color: #000;
            text-align: center;
            padding: 20px;
            margin-top: 30px;
        }

        footer p {
            margin: 5px 0;
            font-size: 14px;
        }

        footer a {
            color: #940000;
            text-decoration: none;
        }

        footer a:hover {
            color: #EEB68C;
        }

        @media (max-width: 768px) {
            .container {
                margin: 0;
                border-radius: 0;
            }

            header {
                height: 180px;
            }

            nav ul {
                flex-direction: column;
            }

            nav ul li {
                width: 100%;
            }

            nav ul li a {
                border-right: none;
                border-bottom: 1px solid #ddd;
                padding: 15px 20px;
            }

            main {
                padding: 20px;
            }

            h1 {
                font-size: 26px;
            }

            article h2 {
                font-size: 20px;
            }

            {% if links %}
            .links-section ul {
                column-count: 1;
            }
            {% endif %}
        }

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

            h1 {
                font-size: 22px;
            }

            article h2 {
                font-size: 18px;
            }

            article h3 {
                font-size: 16px;
            }

            .transition-section,
            .links-section {
                padding: 15px;
            }
        }
    