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

        :root {
            --primary-color: #1a1a2e;
            --secondary-color: #16213e;
            --accent-color: #0f3460;
            --highlight-color: #e94560;
            --light-bg: #f8f9fa;
            --text-dark: #2c3e50;
            --text-light: #ecf0f1;
            --border-color: #ddd;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: #fff;
        }

        header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: var(--text-light);
            padding: 2rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

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

        h1 {
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 0.5rem;
            color: var(--text-light);
        }

        article {
            background: #fff;
            padding: 3rem 0;
        }

        article .container {
            max-width: 900px;
        }

        article h2 {
            font-size: 2rem;
            color: var(--primary-color);
            margin: 2rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid var(--highlight-color);
        }

        article h3 {
            font-size: 1.5rem;
            color: var(--secondary-color);
            margin: 1.5rem 0 1rem;
        }

        article h4 {
            font-size: 1.25rem;
            color: var(--accent-color);
            margin: 1.25rem 0 0.75rem;
        }

        article p {
            margin-bottom: 1.25rem;
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--text-dark);
        }

        article strong {
            color: var(--primary-color);
            font-weight: 600;
        }

        .transition-section {
            background: var(--light-bg);
            padding: 3rem 0;
            margin-top: 2rem;
        }

        .transition-section .container {
            max-width: 900px;
        }

        .transition-section p {
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 1.25rem;
            color: var(--text-dark);
        }

        {% if links %}
        .links-section {
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
            padding: 4rem 0;
            margin-top: 0;
        }

        .links-section h3 {
            color: var(--text-light);
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--highlight-color);
        }

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

        .links-section ul li {
            position: relative;
            padding-left: 1.5rem;
        }

        .links-section ul li:before {
            content: "→";
            position: absolute;
            left: 0;
            color: var(--highlight-color);
            font-weight: bold;
        }

        .links-section a {
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
            font-size: 1rem;
        }

        .links-section a:hover {
            color: var(--highlight-color);
            transform: translateX(5px);
        }
        {% endif %}

        footer {
            background: var(--primary-color);
            color: var(--text-light);
            padding: 2rem 0;
            text-align: center;
            margin-top: 0;
        }

        footer p {
            margin: 0.5rem 0;
            opacity: 0.9;
        }

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

            article h2 {
                font-size: 1.5rem;
            }

            article h3 {
                font-size: 1.25rem;
            }

            article h4 {
                font-size: 1.125rem;
            }

            article p,
            .transition-section p {
                font-size: 1rem;
            }

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

            header,
            article,
            .transition-section,
            .links-section {
                padding: 2rem 0;
            }
        }

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

            .container {
                padding: 0 15px;
            }
        }
    