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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #f5f5f5;
        }

        header {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: #fff;
            padding: 2.5rem 2rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 0;
            text-align: center;
            letter-spacing: -0.5px;
        }

        article {
            max-width: 900px;
            margin: 3rem auto;
            padding: 0 2rem;
        }

        article h2,
        article h3,
        article h4 {
            color: #2c3e50;
            margin-top: 2rem;
            margin-bottom: 1rem;
        }

        article h2 {
            font-size: 2rem;
            border-bottom: 3px solid #3498db;
            padding-bottom: 0.5rem;
        }

        article h3 {
            font-size: 1.5rem;
            color: #34495e;
        }

        article h4 {
            font-size: 1.25rem;
            color: #546e7a;
        }

        article p {
            margin-bottom: 1.25rem;
            font-size: 1.05rem;
            color: #555;
        }

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

        article li {
            margin-bottom: 0.5rem;
            color: #555;
        }

        article strong,
        article b {
            color: #2c3e50;
            font-weight: 600;
        }

        article a {
            color: #3498db;
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: all 0.3s ease;
        }

        article a:hover {
            color: #2980b9;
            border-bottom-color: #2980b9;
        }

        .transition-section {
            max-width: 900px;
            margin: 2rem auto;
            padding: 0 2rem;
        }

        .transition-section p {
            font-size: 1.05rem;
            color: #555;
            margin-bottom: 1.25rem;
        }

        {% if links %}
        .links-section {
            max-width: 900px;
            margin: 3rem auto;
            padding: 2rem;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
        }

        .links-section h3 {
            color: #2c3e50;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid #ecf0f1;
        }

        .links-section ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1rem;
            margin: 0;
            padding: 0;
        }

        .links-section li {
            margin: 0;
        }

        .links-section a {
            display: block;
            padding: 0.75rem 1rem;
            color: #3498db;
            text-decoration: none;
            background: #f8f9fa;
            border-left: 3px solid #3498db;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .links-section a:hover {
            background: #e8f4f8;
            border-left-color: #2980b9;
            transform: translateX(5px);
            color: #2980b9;
        }
        {% endif %}

        hr {
            max-width: 900px;
            margin: 3rem auto;
            border: none;
            border-top: 2px solid #ecf0f1;
        }

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

            header {
                padding: 2rem 1.5rem;
            }

            article,
            .transition-section,
            .links-section {
                padding: 0 1.5rem;
                margin-top: 2rem;
                margin-bottom: 2rem;
            }

            article h2 {
                font-size: 1.75rem;
            }

            article h3 {
                font-size: 1.35rem;
            }

            article h4 {
                font-size: 1.15rem;
            }

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

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

            header {
                padding: 1.5rem 1rem;
            }

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

            article h2 {
                font-size: 1.5rem;
            }

            article h3 {
                font-size: 1.25rem;
            }

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