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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f8f8;
        }

        .top-header {
            background-color: #2c2c2c;
            color: #fff;
            padding: 10px 0;
            font-size: 14px;
        }

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

        .top-header ul {
            list-style: none;
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .top-header a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s;
        }

        .top-header a:hover {
            color: #b44444;
        }

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

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

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #b44444;
        }

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

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

        nav a:hover {
            color: #b44444;
        }

        .hero-section {
            background: linear-gradient(135deg, #b44444 0%, #8b3333 100%);
            color: #fff;
            padding: 80px 20px 60px;
            text-align: center;
        }

        h1 {
            font-size: 2.5em;
            margin-bottom: 20px;
            font-weight: 700;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

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

        article {
            background-color: #fff;
            padding: 50px 40px;
            margin: 40px auto;
            max-width: 1200px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 8px;
        }

        article h2 {
            color: #b44444;
            margin-top: 30px;
            margin-bottom: 15px;
            font-size: 1.8em;
        }

        article h3 {
            color: #2c2c2c;
            margin-top: 25px;
            margin-bottom: 12px;
            font-size: 1.4em;
        }

        article h4 {
            color: #333;
            margin-top: 20px;
            margin-bottom: 10px;
            font-size: 1.2em;
        }

        article p {
            margin-bottom: 20px;
            font-size: 16px;
            line-height: 1.8;
        }

        .transition-section {
            background-color: #fff;
            padding: 40px;
            margin: 40px auto;
            max-width: 1200px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 8px;
        }

        .transition-section p {
            font-size: 16px;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        {% if links %}
        .links-section {
            background-color: #fff;
            padding: 50px 40px;
            margin: 40px auto;
            max-width: 1200px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 8px;
        }

        .links-section h3 {
            color: #b44444;
            margin-bottom: 20px;
            margin-top: 30px;
            font-size: 1.5em;
            border-bottom: 2px solid #b44444;
            padding-bottom: 10px;
        }

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

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

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

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

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

        .links-section a:hover {
            color: #b44444;
        }
        {% endif %}

        footer {
            background-color: #2c2c2c;
            color: #fff;
            padding: 40px 20px 20px;
            margin-top: 60px;
        }

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

        .footer-nav {
            margin-bottom: 30px;
        }

        .footer-nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }

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

        .footer-nav a:hover {
            color: #b44444;
        }

        .copyright {
            font-size: 14px;
            color: #aaa;
            padding-top: 20px;
            border-top: 1px solid #444;
        }

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

            article {
                padding: 30px 20px;
            }

            article h2 {
                font-size: 1.5em;
            }

            article h3 {
                font-size: 1.3em;
            }

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

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

            nav ul {
                gap: 15px;
                font-size: 14px;
            }

            .top-header .container {
                flex-direction: column;
                gap: 10px;
            }

            .top-header ul {
                font-size: 12px;
                gap: 15px;
            }

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

            .hero-section {
                padding: 50px 20px 40px;
            }

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

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

            article h2 {
                font-size: 1.3em;
            }

            nav ul {
                gap: 10px;
            }
        }
    