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

        body {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 14px;
            line-height: 1.6;
            color: #1d1d1d;
            background: #161719 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%23161719" width="100" height="100"/></svg>') repeat-x top center;
            min-height: 100vh;
        }

        #container {
            max-width: 900px;
            margin: 0 auto;
            background: #fff;
            box-shadow: 0 0 20px rgba(0,0,0,0.3);
        }

        header {
            background: linear-gradient(to bottom, #2a2a2c 0%, #1a1a1c 100%);
            padding: 20px 30px;
            border-bottom: 3px solid #dcc182;
        }

        .logo {
            font-family: Georgia, "Times New Roman", serif;
            font-size: 2.3em;
            font-weight: bold;
            text-transform: uppercase;
            color: #dcc182;
            text-align: center;
            padding: 15px 0;
        }

        nav {
            background: linear-gradient(to bottom, #3a3a3c 0%, #2a2a2c 100%);
            padding: 0;
            border-bottom: 2px solid #dcc182;
        }

        nav ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            padding: 0;
            margin: 0;
        }

        nav li {
            margin: 0;
        }

        nav a {
            display: block;
            padding: 12px 18px;
            color: #dcc182;
            text-decoration: none;
            text-transform: uppercase;
            font-size: 11px;
            font-weight: normal;
            transition: all 0.3s ease;
        }

        nav a:hover {
            background: #cfb680;
            color: #000;
        }

        main {
            padding: 30px;
            min-height: 500px;
        }

        h1 {
            font-size: 28px;
            color: #151818;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #dcc182;
            font-weight: bold;
        }

        article {
            margin-bottom: 40px;
        }

        article h2 {
            font-size: 22px;
            color: #151818;
            margin-top: 30px;
            margin-bottom: 15px;
            font-weight: bold;
        }

        article h3 {
            font-size: 18px;
            color: #151818;
            margin-top: 25px;
            margin-bottom: 12px;
            font-weight: bold;
        }

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

        article p {
            margin-bottom: 15px;
            line-height: 1.8;
            color: #222;
        }

        article ul,
        article ol {
            margin: 15px 0 15px 30px;
        }

        article li {
            margin-bottom: 8px;
            line-height: 1.7;
        }

        .transition-section {
            background: #f9f9f9;
            padding: 25px;
            margin: 30px 0;
            border-left: 4px solid #dcc182;
            border-radius: 4px;
        }

        .transition-section p {
            margin-bottom: 12px;
            color: #333;
        }

        {% if links %}
        .links-section {
            background: #fafafa;
            padding: 35px 25px;
            margin-top: 40px;
            border-top: 3px solid #dcc182;
            border-bottom: 3px solid #dcc182;
        }

        .links-section h2 {
            font-size: 24px;
            color: #151818;
            margin-bottom: 25px;
            text-align: center;
            font-weight: bold;
        }

        .links-section h3 {
            font-size: 18px;
            color: #151818;
            margin-top: 25px;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid #e0e0e0;
            font-weight: bold;
        }

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

        .links-section li {
            margin: 0;
            padding: 0;
        }

        .links-section a {
            color: #151818;
            text-decoration: none;
            display: block;
            padding: 8px 12px;
            background: #fff;
            border-left: 3px solid #dcc182;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .links-section a:hover {
            background: #dcc182;
            color: #000;
            padding-left: 18px;
        }
        {% endif %}

        footer {
            background: linear-gradient(to bottom, #2a2a2c 0%, #1a1a1c 100%);
            padding: 30px;
            text-align: center;
            color: #dcc182;
            border-top: 3px solid #dcc182;
        }

        footer p {
            margin: 8px 0;
            font-size: 11px;
        }

        footer a {
            color: #dcc182;
            text-decoration: underline;
        }

        footer a:hover {
            text-decoration: none;
        }

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

            .logo {
                font-size: 1.8em;
                padding: 10px 0;
            }

            nav ul {
                flex-direction: column;
            }

            nav li {
                width: 100%;
                text-align: center;
                border-bottom: 1px solid #3a3a3c;
            }

            nav a {
                padding: 10px 15px;
            }

            main {
                padding: 20px 15px;
            }

            h1 {
                font-size: 24px;
            }

            article h2 {
                font-size: 20px;
            }

            article h3 {
                font-size: 17px;
            }

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

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

            footer {
                padding: 20px 15px;
            }
        }

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

            h1 {
                font-size: 22px;
            }

            article h2 {
                font-size: 18px;
            }

            nav a {
                font-size: 10px;
                padding: 8px 12px;
            }
        }
    