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

        body {
            background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQYV2NkYGD4z8DAwMgABXAGMIEJBhgYGBj+MzIyAgAFLQEDWZe0qgAAAABJRU5ErkJggg==') repeat;
            font-family: "Caudex", Georgia, serif;
            font-size: 16px;
            line-height: 1.7em;
            color: #333;
            text-align: center;
            padding: 0;
        }

        #wrapper {
            max-width: 1024px;
            margin: 40px auto 0;
            background-color: #fdfadc;
            border-radius: 7px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }

        header {
            background: linear-gradient(135deg, #DF0D1C 0%, #870000 100%);
            padding: 20px 30px;
            color: #fff;
            text-align: center;
        }

        h1 {
            color: #fff;
            font-size: 2.2em;
            font-weight: bold;
            margin: 0;
            padding: 15px 0;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        main {
            padding: 40px;
            background-color: #fdfadc;
        }

        article {
            max-width: 900px;
            margin: 0 auto 40px;
            text-align: justify;
        }

        article h2 {
            color: #870000;
            font-size: 1.5em;
            font-weight: bold;
            margin: 25px 0 15px;
        }

        article h3 {
            color: #870000;
            font-size: 1.3em;
            font-weight: bold;
            margin: 20px 0 12px;
        }

        article p {
            line-height: 1.7em;
            margin: 15px 0;
            color: #333;
        }

        article strong {
            color: #870000;
        }

        .transition-section {
            max-width: 900px;
            margin: 40px auto;
            padding: 30px;
            background-color: rgba(255, 255, 255, 0.6);
            border-left: 4px solid #DF0D1C;
            border-radius: 5px;
        }

        .transition-section p {
            line-height: 1.7em;
            margin: 15px 0;
            text-align: justify;
        }

        {% if links %}
        .links-section {
            max-width: 900px;
            margin: 40px auto;
            padding: 35px;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 7px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .links-section h3 {
            color: #870000;
            font-size: 1.4em;
            font-weight: bold;
            margin: 25px 0 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #DF0D1C;
        }

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

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

        .links-section li {
            margin: 8px 0;
            padding-left: 20px;
            position: relative;
            break-inside: avoid;
            page-break-inside: avoid;
        }

        .links-section li:before {
            content: "→";
            position: absolute;
            left: 0;
            color: #DF0D1C;
            font-weight: bold;
        }

        .links-section a {
            color: #870000;
            text-decoration: none;
            transition: color 0.3s ease;
            display: inline-block;
        }

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

        footer {
            background-color: #963;
            padding: 15px 30px;
            color: #EFEDED;
            text-align: center;
            font-size: 0.95em;
        }

        footer a {
            color: #EFEDED;
            text-decoration: none;
            margin: 0 15px;
        }

        footer a:hover {
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            body {
                margin: 0;
                padding: 0;
            }

            #wrapper {
                margin: 0;
                border-radius: 0;
                width: 100%;
            }

            h1 {
                font-size: 1.6em;
                padding: 10px 0;
            }

            main {
                padding: 20px;
            }

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

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

            .links-section h3 {
                font-size: 1.2em;
            }

            footer {
                padding: 12px 15px;
                font-size: 0.9em;
            }

            footer a {
                display: inline-block;
                margin: 5px 10px;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 1.4em;
            }

            article h2 {
                font-size: 1.3em;
            }

            article h3, .links-section h3 {
                font-size: 1.1em;
            }

            body {
                font-size: 14px;
            }
        }
    