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

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

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background-color: #ffffff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        }

        header {
            background-color: #ffffff;
            padding: 20px 40px;
            border-bottom: 3px solid #333;
        }

        .top-nav {
            text-align: right;
            padding: 10px 0;
            border-bottom: 1px solid #e0e0e0;
            margin-bottom: 15px;
        }

        .top-nav a {
            color: #666;
            text-decoration: none;
            margin-left: 20px;
            font-size: 13px;
            transition: color 0.3s;
        }

        .top-nav a:hover {
            color: #000;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #000;
            margin-bottom: 20px;
        }

        nav {
            background-color: #333;
            padding: 0;
        }

        nav ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
        }

        nav ul li {
            margin: 0;
        }

        nav ul li a {
            display: block;
            color: #ffffff;
            text-decoration: none;
            padding: 12px 20px;
            font-size: 14px;
            transition: background-color 0.3s;
            border-right: 1px solid #555;
        }

        nav ul li:last-child a {
            border-right: none;
        }

        nav ul li a:hover {
            background-color: #555;
        }

        .hero {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.2);
        }

        main {
            padding: 40px;
        }

        h1 {
            font-size: 32px;
            color: #000;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #333;
        }

        article {
            margin-bottom: 40px;
        }

        article h2 {
            font-size: 20px;
            color: #000;
            margin-top: 25px;
            margin-bottom: 12px;
            font-weight: bold;
        }

        article h3 {
            font-size: 16px;
            color: #333;
            margin-top: 20px;
            margin-bottom: 10px;
            font-weight: bold;
        }

        article p {
            margin-bottom: 12px;
            color: #333;
            font-size: 15px;
        }

        article img {
            max-width: 100%;
            height: auto;
            margin: 15px 0;
        }

        article b,
        article strong {
            font-weight: bold;
            color: #000;
        }

        .transition-section {
            margin: 40px 0;
            padding: 20px 0;
        }

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

        {% if links %}
        .links-section {
            background-color: #f5f5f5;
            padding: 40px;
            margin-top: 40px;
            border-top: 3px solid #333;
        }

        .links-section h2 {
            font-size: 24px;
            color: #000;
            margin-bottom: 25px;
        }

        .links-section h3 {
            font-size: 18px;
            color: #000;
            margin-top: 25px;
            margin-bottom: 15px;
            font-weight: bold;
        }

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

        .links-section ul li {
            padding: 8px 0;
        }

        .links-section ul li a {
            color: #333;
            text-decoration: none;
            font-size: 15px;
            transition: color 0.3s;
            display: inline-block;
        }

        .links-section ul li a::before {
            content: '→ ';
            color: #667eea;
            font-weight: bold;
            margin-right: 5px;
        }

        .links-section ul li a:hover {
            color: #667eea;
        }
        {% endif %}

        footer {
            background-color: #333;
            color: #ffffff;
            padding: 20px 40px;
            text-align: center;
            font-size: 13px;
        }

        @media (max-width: 768px) {
            main {
                padding: 20px;
            }

            header {
                padding: 15px 20px;
            }

            .top-nav {
                text-align: center;
            }

            .top-nav a {
                margin: 0 10px;
                font-size: 12px;
            }

            nav ul {
                flex-direction: column;
            }

            nav ul li a {
                border-right: none;
                border-bottom: 1px solid #555;
            }

            h1 {
                font-size: 24px;
            }

            .hero {
                height: 150px;
            }

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

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

            footer {
                padding: 15px 20px;
            }
        }

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

            article h2 {
                font-size: 18px;
            }

            article p,
            .transition-section p,
            .links-section ul li a {
                font-size: 14px;
            }
        }
    