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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(to bottom, #f9f3e8 0%, #f7e7be 100%);
            color: #333;
            line-height: 1.7;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        header {
            background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            position: relative;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .logo-area {
            color: #fff;
            font-size: 1.5rem;
            font-weight: 600;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        nav {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        nav a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
            border-radius: 4px;
        }

        nav a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        main {
            flex: 1;
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem;
            width: 100%;
        }

        h1 {
            color: #8b4513;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            text-align: center;
            font-weight: 700;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            border-bottom: 3px solid #d1ba7e;
            padding-bottom: 1rem;
        }

        article {
            background: #fff;
            padding: 3rem;
            border-radius: 12px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
            margin-bottom: 3rem;
            border-left: 5px solid #8b4513;
        }

        article h2,
        article h3,
        article h4 {
            color: #990000;
            margin-top: 2rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        article h2 {
            font-size: 1.8rem;
            border-bottom: 2px solid #d1ba7e;
            padding-bottom: 0.5rem;
        }

        article h3 {
            font-size: 1.5rem;
        }

        article h4 {
            font-size: 1.2rem;
        }

        article p {
            margin-bottom: 1.2rem;
            text-align: justify;
            color: #444;
        }

        article ul,
        article ol {
            margin-left: 2rem;
            margin-bottom: 1.2rem;
        }

        article li {
            margin-bottom: 0.8rem;
            color: #444;
        }

        article strong {
            color: #8b4513;
        }

        article em {
            color: #666;
        }

        .transition-section {
            background: linear-gradient(135deg, #f5e6d3 0%, #faf0e6 100%);
            padding: 2.5rem;
            border-radius: 12px;
            margin-bottom: 3rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border: 2px solid #d1ba7e;
        }

        .transition-section p {
            color: #555;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        {% if links %}
        .links-section {
            background: #fff;
            padding: 3rem;
            border-radius: 12px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
            border-top: 4px solid #8b4513;
        }

        .links-section h3 {
            color: #8b4513;
            font-size: 1.6rem;
            margin-top: 2.5rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
            padding-left: 1rem;
            border-left: 4px solid #d1ba7e;
        }

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

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

        .links-section li {
            padding: 0;
        }

        .links-section a {
            color: #990000;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            padding: 0.6rem 1rem;
            border-radius: 6px;
            background: #fafafa;
            border-left: 3px solid transparent;
        }

        .links-section a:before {
            content: "→";
            margin-right: 0.8rem;
            color: #8b4513;
            font-weight: bold;
            transition: transform 0.3s ease;
        }

        .links-section a:hover {
            background: #f7e7be;
            border-left-color: #8b4513;
            padding-left: 1.3rem;
        }

        .links-section a:hover:before {
            transform: translateX(4px);
        }
        {% endif %}

        footer {
            background: linear-gradient(135deg, #6d3710 0%, #8b4513 100%);
            color: #fff;
            padding: 2.5rem 2rem;
            margin-top: auto;
            box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
        }

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

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.5rem 1.5rem;
            margin-bottom: 1.5rem;
        }

        .footer-links a {
            color: #ffd;
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 0.95rem;
        }

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

        .footer-links span {
            color: #d1ba7e;
        }

        .copyright {
            font-size: 0.9rem;
            color: #d1ba7e;
            margin-top: 1rem;
        }

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

            nav {
                flex-direction: column;
                gap: 0.5rem;
                width: 100%;
            }

            nav a {
                width: 100%;
                text-align: center;
            }

            h1 {
                font-size: 2rem;
            }

            article {
                padding: 2rem 1.5rem;
            }

            .links-section {
                padding: 2rem 1.5rem;
            }

            .links-section ul {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }

            main {
                padding: 2rem 1rem;
            }

            .transition-section {
                padding: 1.5rem;
            }

            .footer-links {
                flex-direction: column;
                gap: 0.8rem;
            }
        }

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

            article h2 {
                font-size: 1.4rem;
            }

            article h3 {
                font-size: 1.2rem;
            }

            article {
                padding: 1.5rem 1rem;
            }

            .links-section {
                padding: 1.5rem 1rem;
            }
        }
    