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

        body {
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            font-size: 16px;
            line-height: 1.6;
            color: #eee;
            background: #111 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=') repeat;
        }

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

        header {
            background: rgba(0, 0, 0, 0.3);
            border-bottom: 1px solid #000;
            padding: 20px 0;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .site-title {
            font-size: 1.8em;
            font-weight: bold;
            color: #fff;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .site-description {
            font-size: 0.9em;
            color: #ccc;
            font-style: italic;
        }

        nav {
            background: #000;
            padding: 10px 0;
            margin-bottom: 30px;
            border-bottom: 3px solid #333;
        }

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

        nav ul li {
            display: inline-block;
        }

        nav ul li a {
            display: block;
            padding: 8px 15px;
            color: #eee;
            text-decoration: none;
            font-size: 0.9em;
            font-weight: bold;
            border-right: 1px dotted #666;
            transition: all 0.3s ease;
        }

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

        nav ul li a:hover {
            color: #fff;
            text-decoration: underline;
        }

        main {
            background: rgba(26, 26, 26, 0.9);
            padding: 40px;
            margin: 20px auto;
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        h1 {
            font-family: Georgia, serif;
            font-size: 2.5em;
            color: #fff;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #507295;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        h2 {
            font-family: Georgia, serif;
            font-size: 1.8em;
            color: #eee;
            margin: 30px 0 15px;
        }

        h3 {
            font-size: 1.3em;
            color: #ccc;
            margin: 25px 0 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 2px solid #333;
            padding-bottom: 8px;
        }

        article {
            margin-bottom: 40px;
        }

        article p {
            margin-bottom: 20px;
            font-size: 1.1em;
            line-height: 1.8;
            color: #eee;
        }

        article h2,
        article h3,
        article h4 {
            margin-top: 30px;
            margin-bottom: 15px;
        }

        .transition-section {
            margin: 40px 0;
            padding: 30px;
            background: rgba(0, 0, 0, 0.3);
            border-left: 4px solid #507295;
            border-radius: 3px;
        }

        .transition-section p {
            font-size: 1.1em;
            line-height: 1.8;
            color: #eee;
            margin-bottom: 15px;
        }

        {% if links %}
        .links-section {
            margin-top: 50px;
            padding: 40px;
            background: rgba(18, 17, 18, 0.95);
            border-radius: 5px;
            border: 1px solid #333;
        }

        .links-section h3 {
            color: #fff;
            font-size: 1.4em;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #507295;
        }

        .links-section ul {
            list-style: none;
            columns: 2;
            column-gap: 40px;
            margin-bottom: 35px;
        }

        .links-section ul li {
            break-inside: avoid;
            margin-bottom: 12px;
            padding-left: 20px;
            position: relative;
        }

        .links-section ul li:before {
            content: "▸";
            position: absolute;
            left: 0;
            color: #507295;
        }

        .links-section ul li a {
            color: #507295;
            text-decoration: none;
            font-size: 1em;
            line-height: 1.6;
            transition: color 0.3s ease;
        }

        .links-section ul li a:hover {
            color: #fff;
            text-decoration: underline;
        }
        {% endif %}

        footer {
            background: #000;
            color: #999;
            text-align: center;
            padding: 30px 20px;
            margin-top: 50px;
            border-top: 3px solid #333;
        }

        footer p {
            font-size: 0.9em;
            margin-bottom: 10px;
        }

        @media (max-width: 768px) {
            body {
                font-size: 14px;
            }

            main {
                padding: 25px;
            }

            h1 {
                font-size: 2em;
            }

            h2 {
                font-size: 1.5em;
            }

            h3 {
                font-size: 1.2em;
            }

            nav ul {
                flex-direction: column;
                align-items: center;
            }

            nav ul li {
                display: block;
                width: 100%;
                text-align: center;
            }

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

            .links-section ul {
                columns: 1;
            }

            .header-content {
                text-align: center;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            main {
                padding: 15px;
            }

            h1 {
                font-size: 1.6em;
            }

            .transition-section {
                padding: 20px;
            }

            .links-section {
                padding: 25px;
            }
        }
    