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

        body {
            font-family: 'Georgia', 'Times New Roman', serif;
            background: #f5f5dc url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGElEQVQYlWNgYGD4z4AEGBhGFQ4rogoBAEBvAAX2rVPDAAAAAElFTkSuQmCC') repeat;
            color: #2c1810;
            line-height: 1.6;
        }

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

        header {
            background: linear-gradient(to bottom, #fff 0%, #f9f9f4 100%);
            border-bottom: 3px solid #6b4423;
            padding: 20px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .site-title {
            font-size: 2.2em;
            color: #4a3020;
            text-align: center;
            flex: 1;
            min-width: 250px;
        }

        .site-title small {
            display: block;
            font-size: 0.5em;
            color: #6b4423;
            margin-top: 5px;
        }

        nav {
            background: #8b6f47;
            border-top: 2px solid #6b4423;
            border-bottom: 2px solid #6b4423;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

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

        nav li {
            position: relative;
        }

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

        nav a:hover {
            background: #6b4423;
        }

        main {
            background: #fff;
            margin: 30px auto;
            padding: 40px;
            max-width: 1200px;
            box-shadow: 0 0 20px rgba(0,0,0,0.15);
            border: 1px solid #d4c4a8;
            border-radius: 5px;
        }

        h1 {
            font-size: 2.5em;
            color: #4a3020;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #8b6f47;
            text-align: center;
        }

        article {
            margin-bottom: 40px;
        }

        article p {
            margin-bottom: 20px;
            text-align: justify;
            font-size: 1.1em;
            color: #3a2510;
        }

        article h2,
        article h3 {
            color: #4a3020;
            margin-top: 30px;
            margin-bottom: 15px;
        }

        article h2 {
            font-size: 1.8em;
            border-bottom: 2px solid #8b6f47;
            padding-bottom: 10px;
        }

        article h3 {
            font-size: 1.4em;
        }

        article a {
            color: #6b4423;
            text-decoration: underline;
        }

        article a:hover {
            color: #8b6f47;
        }

        .transition-section {
            background: #f9f9f4;
            padding: 30px;
            margin: 40px 0;
            border-left: 4px solid #8b6f47;
            border-radius: 3px;
        }

        .transition-section p {
            font-size: 1.1em;
            color: #3a2510;
            margin-bottom: 15px;
        }

        {% if links %}
        .links-section {
            background: linear-gradient(to bottom, #f9f9f4 0%, #fff 100%);
            padding: 40px;
            margin-top: 40px;
            border: 2px solid #8b6f47;
            border-radius: 5px;
        }

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

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

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

        .links-section li {
            padding-left: 20px;
            position: relative;
        }

        .links-section li:before {
            content: "•";
            color: #8b6f47;
            font-size: 1.5em;
            position: absolute;
            left: 0;
            top: -3px;
        }

        .links-section a {
            color: #6b4423;
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 1.05em;
        }

        .links-section a:hover {
            color: #8b6f47;
            text-decoration: underline;
        }
        {% endif %}

        footer {
            background: #8b6f47;
            color: #fff;
            padding: 30px 20px;
            margin-top: 40px;
            border-top: 3px solid #6b4423;
        }

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

        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
        }

        .footer-links a {
            color: #fff;
            text-decoration: none;
            padding: 5px 10px;
            border-right: 1px solid #fff;
        }

        .footer-links a:last-child {
            border-right: none;
        }

        .footer-links a:hover {
            color: #f5f5dc;
        }

        .footer-content p {
            font-size: 0.9em;
            color: #f5f5dc;
            margin-top: 15px;
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
            }

            .site-title {
                font-size: 1.8em;
            }

            nav ul {
                flex-direction: column;
            }

            nav a {
                padding: 12px 15px;
            }

            main {
                padding: 20px;
                margin: 15px;
            }

            h1 {
                font-size: 1.8em;
            }

            article p {
                font-size: 1em;
            }

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

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

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

            .footer-links a {
                border-right: none;
                border-bottom: 1px solid #fff;
                padding: 8px 0;
            }

            .footer-links a:last-child {
                border-bottom: none;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .site-title {
                font-size: 2em;
            }

            main {
                padding: 30px;
            }

            {% if links %}
            .links-section ul {
                gap: 12px 20px;
            }
            {% endif %}
        }
    