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

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

        header {
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-top {
            background: #2c3e50;
            padding: 10px 0;
        }

        .header-top .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: flex-end;
            gap: 20px;
            flex-wrap: wrap;
        }

        .header-top a {
            color: #fff;
            text-decoration: none;
            font-size: 14px;
            transition: opacity 0.3s;
        }

        .header-top a:hover {
            opacity: 0.8;
        }

        .header-main {
            padding: 15px 0;
        }

        .header-main .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #2c3e50;
            text-decoration: none;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
        }

        nav a {
            color: #2c3e50;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        nav a:hover {
            color: #3498db;
        }

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

        h1 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #3498db;
            line-height: 1.3;
        }

        article {
            background: #fff;
            padding: 40px;
            margin-bottom: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
        }

        article h2 {
            color: #2c3e50;
            font-size: 1.8rem;
            margin-top: 30px;
            margin-bottom: 15px;
        }

        article h3 {
            color: #34495e;
            font-size: 1.4rem;
            margin-top: 25px;
            margin-bottom: 12px;
        }

        article h4 {
            color: #34495e;
            font-size: 1.2rem;
            margin-top: 20px;
            margin-bottom: 10px;
        }

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

        .transition-section {
            background: #fff;
            padding: 35px 40px;
            margin-bottom: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
        }

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

        {% if links %}
        .links-section {
            background: #fff;
            padding: 45px 40px;
            border-radius: 8px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
            margin-bottom: 40px;
        }

        .links-section h2 {
            color: #2c3e50;
            font-size: 2rem;
            margin-bottom: 30px;
            text-align: center;
        }

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

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

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

        .links-section li {
            padding-left: 20px;
            position: relative;
        }

        .links-section li:before {
            content: "→";
            position: absolute;
            left: 0;
            color: #3498db;
            font-weight: bold;
        }

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

        .links-section a:hover {
            color: #2980b9;
            padding-left: 5px;
        }
        {% endif %}

        footer {
            background: #2c3e50;
            color: #ecf0f1;
            padding: 40px 0 20px;
            margin-top: 60px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 30px;
        }

        .footer-section h3 {
            color: #fff;
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section li {
            margin-bottom: 10px;
        }

        .footer-section a {
            color: #ecf0f1;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: #3498db;
        }

        .copyright {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 20px 0;
            text-align: center;
            border-top: 1px solid #34495e;
            color: #95a5a6;
            font-size: 0.9rem;
        }

        .copyright a {
            color: #95a5a6;
            text-decoration: none;
        }

        .copyright a:hover {
            color: #3498db;
        }

        @media (max-width: 768px) {
            .header-top {
                display: none;
            }

            nav ul {
                flex-direction: column;
                gap: 15px;
            }

            .header-main .container {
                flex-direction: column;
                gap: 20px;
            }

            h1 {
                font-size: 1.8rem;
            }

            article {
                padding: 25px 20px;
            }

            article h2 {
                font-size: 1.5rem;
            }

            article h3 {
                font-size: 1.2rem;
            }

            .transition-section {
                padding: 25px 20px;
            }

            {% if links %}
            .links-section {
                padding: 30px 20px;
            }

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

            .links-section h3 {
                font-size: 1.3rem;
            }
            {% endif %}

            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

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

            article h2 {
                font-size: 1.3rem;
            }
        }
    