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

        body {
            font-family: Arial, Helvetica, sans-serif;
            background-color: #f5f5f0;
            color: #333;
            line-height: 1.6;
        }

        header {
            background-color: #fff;
            border-bottom: 2px solid #8b7355;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

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

        .site-title {
            font-size: 2rem;
            color: #8b4513;
            margin-bottom: 10px;
            font-weight: bold;
        }

        .site-subtitle {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 20px;
        }

        nav {
            background-color: #8b7355;
            border-bottom: 1px solid #6d5a44;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .nav-container a {
            color: #fff;
            text-decoration: none;
            padding: 12px 20px;
            display: block;
            font-size: 0.9rem;
            transition: background-color 0.3s;
            border-right: 1px solid #6d5a44;
        }

        .nav-container a:last-child {
            border-right: none;
        }

        .nav-container a:hover {
            background-color: #6d5a44;
        }

        .subnav {
            background-color: #e8e8dc;
            border-bottom: 1px solid #d0d0c0;
        }

        .subnav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px 20px;
            text-align: center;
            font-size: 0.85rem;
        }

        .subnav-container a {
            color: #666;
            text-decoration: none;
            margin: 0 8px;
            transition: color 0.3s;
        }

        .subnav-container a:hover {
            color: #8b4513;
        }

        .subnav-container b {
            color: #999;
            margin: 0 5px;
        }

        main {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
        }

        h1 {
            font-size: 2.2rem;
            color: #8b4513;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #8b7355;
        }

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

        article h2 {
            color: #8b4513;
            font-size: 1.8rem;
            margin-top: 25px;
            margin-bottom: 15px;
        }

        article h3 {
            color: #6d5a44;
            font-size: 1.4rem;
            margin-top: 20px;
            margin-bottom: 12px;
        }

        article h4 {
            color: #8b7355;
            font-size: 1.2rem;
            margin-top: 15px;
            margin-bottom: 10px;
        }

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

        .transition-section {
            background-color: #f9f9f4;
            padding: 25px 30px;
            margin-bottom: 30px;
            border: 1px solid #e0e0d0;
            border-radius: 5px;
        }

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

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

        .links-section h3 {
            color: #8b4513;
            font-size: 1.5rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e8e8dc;
        }

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

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

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

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

        .links-section a::before {
            content: "▸ ";
            color: #8b7355;
            margin-right: 5px;
        }
        {% endif %}

        footer {
            background-color: #e8e8dc;
            border-top: 2px solid #8b7355;
            margin-top: 50px;
            padding: 20px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
            font-size: 0.85rem;
            color: #666;
        }

        .footer-links {
            margin-bottom: 15px;
        }

        .footer-links a {
            color: #8b4513;
            text-decoration: none;
            margin: 0 10px;
            font-weight: bold;
        }

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

        .footer-links span {
            color: #999;
            margin: 0 5px;
        }

        .copyright {
            color: #888;
            font-size: 0.8rem;
        }

        @media (max-width: 768px) {
            .site-title {
                font-size: 1.5rem;
            }

            h1 {
                font-size: 1.8rem;
            }

            .nav-container {
                flex-direction: column;
            }

            .nav-container a {
                border-right: none;
                border-bottom: 1px solid #6d5a44;
            }

            .subnav-container {
                line-height: 2;
            }

            article {
                padding: 20px;
            }

            article h2 {
                font-size: 1.5rem;
            }

            article h3 {
                font-size: 1.2rem;
            }

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

        @media (max-width: 480px) {
            .site-title {
                font-size: 1.2rem;
            }

            h1 {
                font-size: 1.5rem;
            }

            .nav-container a {
                padding: 10px 15px;
                font-size: 0.85rem;
            }

            .subnav-container a {
                display: block;
                margin: 5px 0;
            }

            article {
                padding: 15px;
            }
        }
    