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

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

        #wrapper {
            width: 100%;
            background: #fff;
        }

        #container {
            max-width: 980px;
            margin: 0 auto;
            background: #fff;
        }

        #header {
            background: #fff;
            padding: 20px 30px;
            border-bottom: 3px solid #c41e3a;
        }

        #logo {
            margin-bottom: 15px;
        }

        #logo a {
            color: #c41e3a;
            text-decoration: none;
            font-size: 28px;
            font-weight: bold;
        }

        #sitelinks {
            text-align: right;
        }

        #sitelinks ul {
            list-style: none;
            display: inline-block;
        }

        #sitelinks li {
            display: inline-block;
            margin-left: 15px;
        }

        #sitelinks a {
            color: #666;
            text-decoration: none;
            font-size: 13px;
        }

        #sitelinks a:hover {
            color: #c41e3a;
        }

        #masternav {
            background: #2c2c2c;
            border-bottom: 4px solid #c41e3a;
        }

        #masternav ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            max-width: 980px;
            margin: 0 auto;
        }

        #masternav li {
            flex: 1;
            min-width: 120px;
        }

        #masternav a {
            display: block;
            padding: 15px 10px;
            color: #fff;
            text-decoration: none;
            text-align: center;
            font-size: 13px;
            transition: background 0.3s;
        }

        #masternav a:hover {
            background: #c41e3a;
        }

        #content {
            max-width: 980px;
            margin: 0 auto;
            padding: 30px;
            background: #fff;
        }

        h1 {
            color: #2c2c2c;
            font-size: 32px;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #c41e3a;
        }

        article {
            margin-bottom: 40px;
        }

        article h2 {
            color: #2c2c2c;
            font-size: 24px;
            margin-top: 30px;
            margin-bottom: 15px;
        }

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

        article h4 {
            color: #2c2c2c;
            font-size: 18px;
            margin-top: 20px;
            margin-bottom: 10px;
        }

        article p {
            margin-bottom: 15px;
            color: #555;
            font-size: 15px;
            line-height: 1.7;
        }

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

        .transition-section p {
            color: #555;
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 15px;
        }

        {% if links %}
        .links-section {
            background: #f9f9f9;
            padding: 30px;
            margin-top: 40px;
            border-top: 3px solid #c41e3a;
        }

        .links-section h3 {
            color: #2c2c2c;
            font-size: 20px;
            margin-top: 25px;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid #ddd;
        }

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

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

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

        .links-section a {
            color: #c41e3a;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
        }

        .links-section a:hover {
            color: #2c2c2c;
            text-decoration: underline;
        }
        {% endif %}

        #footer {
            background: #2c2c2c;
            color: #fff;
            padding: 30px;
            margin-top: 50px;
        }

        #footer .inside {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            max-width: 980px;
            margin: 0 auto 20px;
        }

        #footer .inside > div {
            margin-bottom: 20px;
        }

        #footer ul {
            list-style: none;
        }

        #footer li {
            margin-bottom: 8px;
        }

        #footer a {
            color: #ccc;
            text-decoration: none;
            font-size: 13px;
        }

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

        #copyright {
            text-align: center;
            color: #999;
            font-size: 12px;
            padding-top: 20px;
            border-top: 1px solid #444;
        }

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

            #logo a {
                font-size: 24px;
            }

            #sitelinks {
                text-align: center;
                margin-top: 15px;
            }

            #sitelinks li {
                margin: 5px 10px;
            }

            #masternav ul {
                flex-direction: column;
            }

            #masternav li {
                width: 100%;
            }

            #content {
                padding: 20px 15px;
            }

            h1 {
                font-size: 26px;
            }

            article h2 {
                font-size: 22px;
            }

            article h3 {
                font-size: 18px;
            }

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

            .links-section {
                padding: 20px 15px;
            }
            {% endif %}

            #footer .inside {
                flex-direction: column;
            }
        }

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

            h1 {
                font-size: 22px;
            }

            #masternav a {
                padding: 12px 8px;
                font-size: 12px;
            }
        }
    