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

        html {
            overflow-y: scroll;
        }

        body {
            font-family: 'Trebuchet MS', Verdana, Helvetica, sans-serif;
            background: #e8e6dc url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IiNlOGU2ZGMiLz48L3N2Zz4=);
            color: #000;
            line-height: 1.6;
            margin: 0;
            padding: 0;
        }

        .wrapper {
            max-width: 950px;
            margin: 0 auto;
            background: #fff;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }

        header {
            background: linear-gradient(to bottom, #f7f7f7 0%, #e8e6dc 100%);
            padding: 20px 15px;
            border-bottom: 2px solid #683433;
        }

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

        .site-title {
            font-size: 22px;
            font-weight: bold;
            color: #555;
            margin: 0;
            padding: 0;
        }

        nav {
            background: #5b2928;
            padding: 0;
        }

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

        nav li {
            margin: 0;
        }

        nav a {
            display: block;
            padding: 12px 20px;
            color: #fff;
            text-decoration: none;
            transition: background 0.3s;
        }

        nav a:hover {
            background: #683433;
            text-decoration: underline;
        }

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

        h1 {
            font-family: 'Times New Roman', Times, serif;
            font-size: 26px;
            font-weight: bold;
            color: #5b2928;
            margin: 0 0 20px 0;
            padding: 0;
        }

        h2 {
            font-family: 'Times New Roman', Times, serif;
            font-size: 24px;
            color: #5b2928;
            margin: 20px 0 10px 0;
            font-weight: normal;
        }

        h3 {
            font-size: 20px;
            color: #5b2928;
            margin: 20px 0 10px 0;
            font-weight: bold;
        }

        article {
            background: #fff;
            margin-bottom: 30px;
            line-height: 1.8;
        }

        article p {
            margin-bottom: 15px;
            color: #000;
        }

        article a {
            color: #5b2928;
            text-decoration: underline;
        }

        article a:hover {
            text-decoration: none;
        }

        .transition-section {
            background: #f9f9f9;
            padding: 20px;
            margin: 30px 0;
            border-left: 4px solid #5b2928;
        }

        .transition-section p {
            margin-bottom: 15px;
            color: #333;
        }

        {% if links %}
        .links-section {
            background: #f7f7f7;
            padding: 30px 20px;
            margin: 30px 0;
            border-top: 2px solid #683433;
            border-bottom: 2px solid #683433;
        }

        .links-section h3 {
            color: #5b2928;
            font-size: 20px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #ddd;
        }

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

        .links-section li {
            margin-bottom: 10px;
            break-inside: avoid;
        }

        .links-section a {
            color: #5b2928;
            text-decoration: underline;
            font-size: 14px;
            transition: color 0.3s;
        }

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

        footer {
            background: linear-gradient(to bottom, #e8e6dc 0%, #d7d4c4 100%);
            padding: 20px 15px;
            border-top: 1px solid #683433;
            text-align: center;
            font-size: 12px;
            color: #4b0000;
        }

        footer p {
            margin: 5px 0;
        }

        footer a {
            color: #4b0000;
            text-decoration: underline;
        }

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

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

            nav ul {
                flex-direction: column;
                width: 100%;
            }

            nav li {
                width: 100%;
            }

            nav a {
                padding: 10px 15px;
            }

            h1 {
                font-size: 22px;
            }

            h2 {
                font-size: 20px;
            }

            h3 {
                font-size: 18px;
            }

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

            .container {
                padding: 15px 10px;
            }
        }

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

            h2 {
                font-size: 18px;
            }

            h3 {
                font-size: 16px;
            }

            article {
                font-size: 14px;
            }
        }
    