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

        body {
            font-family: Verdana, Arial, Helvetica, sans-serif;
            background-color: #848D9E;
            color: #000;
            line-height: 1.6;
            padding: 0;
            margin: 0;
        }

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

        header {
            background-color: #fff;
            border-bottom: 4px solid #C1C6CE;
        }

        .header-top {
            padding: 15px 20px;
            background-color: #fff;
        }

        .header-images {
            display: flex;
            border-left: 4px solid #C1C6CE;
            border-right: 4px solid #C1C6CE;
            border-bottom: 4px solid #C1C6CE;
        }

        .header-images div {
            flex: 1;
            background-color: #C1C6CE;
            height: 172px;
        }

        nav {
            background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
            padding: 8px 0;
            border-bottom: 1px solid #ccc;
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            flex-wrap: wrap;
            padding: 0 20px;
            gap: 15px;
        }

        nav ul li {
            display: inline;
        }

        nav ul li a {
            text-decoration: none;
            color: #333;
            font-size: 11px;
            font-weight: bold;
            text-transform: lowercase;
            transition: color 0.3s;
        }

        nav ul li a:hover {
            color: #666;
        }

        main {
            background: url('data:image/gif;base64,R0lGODlhAQABAIAAAOzs7AAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==') repeat;
            background-color: #f0f0f0;
            min-height: 400px;
        }

        .content-wrapper {
            padding: 30px 20px;
        }

        h1 {
            font-size: 24px;
            color: #333;
            margin-bottom: 25px;
            font-weight: bold;
            border-bottom: 2px solid #C1C6CE;
            padding-bottom: 10px;
        }

        article {
            background-color: #fff;
            padding: 25px;
            margin-bottom: 30px;
            border: 1px solid #C1C6CE;
            border-radius: 4px;
        }

        article h2 {
            font-size: 18px;
            color: #333;
            margin-top: 20px;
            margin-bottom: 12px;
        }

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

        article p {
            font-size: 13px;
            margin-bottom: 15px;
            color: #000;
        }

        .transition-section {
            background-color: #fff;
            padding: 25px;
            margin-bottom: 30px;
            border: 1px solid #C1C6CE;
            border-radius: 4px;
        }

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

        {% if links %}
        .links-section {
            background-color: #fff;
            padding: 25px;
            border: 1px solid #C1C6CE;
            border-radius: 4px;
            margin-bottom: 30px;
        }

        .links-section h3 {
            font-size: 16px;
            color: #333;
            margin-top: 20px;
            margin-bottom: 15px;
            font-weight: bold;
        }

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

        .links-section ul {
            list-style: none;
            column-count: 2;
            column-gap: 30px;
            margin-bottom: 20px;
        }

        .links-section ul li {
            margin-bottom: 10px;
            break-inside: avoid;
        }

        .links-section ul li a {
            color: #2c5aa0;
            text-decoration: none;
            font-size: 13px;
            transition: color 0.3s;
        }

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

        footer {
            background-color: #C1C6CE;
            padding: 15px 20px;
            border-top: 4px solid #C1C6CE;
        }

        footer p {
            font-size: 11px;
            color: #000;
        }

        @media (max-width: 768px) {
            .container {
                margin: 0;
            }

            .header-images {
                flex-direction: column;
            }

            .header-images div {
                height: 120px;
            }

            nav ul {
                justify-content: center;
                gap: 10px;
            }

            h1 {
                font-size: 20px;
            }

            .content-wrapper {
                padding: 20px 15px;
            }

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

            {% if links %}
            .links-section ul {
                column-count: 1;
            }
            {% endif %}
        }

        @media (max-width: 480px) {
            nav ul {
                gap: 8px;
            }

            nav ul li a {
                font-size: 10px;
            }

            h1 {
                font-size: 18px;
            }

            article h2 {
                font-size: 16px;
            }

            article h3, .links-section h3 {
                font-size: 14px;
            }
        }
    