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

        body {
            font-family: 'Khmer', Arial, sans-serif;
            font-size: 16px;
            line-height: 1.75;
            color: #314E34;
            background: #F2F2F2;
            min-width: 320px;
        }

        header {
            background: #FFFFFF;
            border-bottom: 1px solid #D9DEE3;
            padding: 20px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

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

        .site-title {
            font-family: 'Didact Gothic', Arial, sans-serif;
            font-size: 26px;
            color: #52616F;
            text-decoration: none;
            font-weight: normal;
        }

        nav {
            background: #0B2842;
            border-bottom: 1px dotted #A4C6A7;
            position: relative;
        }

        .nav-inner {
            max-width: 1150px;
            margin: 0 auto;
            padding: 0 20px;
        }

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

        nav ul li {
            position: relative;
        }

        nav ul li a {
            display: block;
            padding: 0 17px;
            height: 52px;
            line-height: 52px;
            color: #D9DEE3;
            text-decoration: none;
            font-family: 'Didact Gothic', Arial, sans-serif;
            font-size: 17px;
            transition: background 0.3s, color 0.3s;
        }

        nav ul li a:hover,
        nav ul li a.active {
            background: #10385C;
            color: #FFFFFF;
        }

        .main-content {
            max-width: 1150px;
            margin: 40px auto;
            padding: 0 20px;
            background: #FFFFFF;
            border: 1px solid #D9DEE3;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .content-wrapper {
            padding: 40px;
        }

        h1 {
            font-family: 'Didact Gothic', Arial, sans-serif;
            font-size: 36px;
            color: #10385C;
            margin-bottom: 20px;
            font-weight: normal;
            line-height: 1.2;
        }

        article {
            margin-bottom: 40px;
        }

        article h2 {
            font-family: 'Didact Gothic', Arial, sans-serif;
            font-size: 26px;
            color: #10385C;
            margin: 30px 0 15px;
            font-weight: normal;
        }

        article h3 {
            font-family: 'Didact Gothic', Arial, sans-serif;
            font-size: 22px;
            color: #10385C;
            margin: 25px 0 12px;
            font-weight: normal;
        }

        article p {
            margin: 15px 0;
            color: #314E34;
        }

        article a {
            color: #009FAD;
            text-decoration: none;
        }

        article a:hover {
            color: #C80E39;
            text-decoration: underline;
        }

        .transition-section {
            margin: 40px 0;
            padding: 30px;
            background: #F7FAFE;
            border-radius: 4px;
        }

        .transition-section p {
            margin: 15px 0;
        }

        {% if links %}
        .links-section {
            margin: 40px 0;
            padding: 40px;
            background: #F9F9F9;
            border: 1px solid #E3EDE4;
            border-radius: 4px;
        }

        .links-section h3 {
            font-family: 'Didact Gothic', Arial, sans-serif;
            font-size: 22px;
            color: #0B2841;
            margin: 30px 0 15px;
            font-weight: bold;
        }

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

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

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

        .links-section ul li:before {
            content: '→';
            position: absolute;
            left: 0;
            color: #009FAD;
            font-weight: bold;
        }

        .links-section ul li a {
            color: #009FAD;
            text-decoration: none;
            transition: color 0.3s;
        }

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

        footer {
            background: #0B2841;
            border-top: 1px dotted #97BE9B;
            padding: 30px 0;
            margin-top: 40px;
        }

        .footer-inner {
            max-width: 1150px;
            margin: 0 auto;
            padding: 0 20px;
            text-align: center;
            color: #FFFFFF;
            font-size: 14px;
        }

        .footer-inner p {
            margin: 10px 0;
        }

        .footer-inner a {
            color: #009FAD;
            text-decoration: none;
        }

        .footer-inner a:hover {
            color: #C80E39;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .header-inner {
                flex-direction: column;
                text-align: center;
            }

            .site-title {
                font-size: 22px;
                margin-bottom: 10px;
            }

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

            nav ul li {
                border-top: 1px solid rgba(255,255,255,0.1);
            }

            nav ul li a {
                height: 44px;
                line-height: 44px;
                text-align: center;
            }

            .content-wrapper {
                padding: 20px;
            }

            h1 {
                font-size: 28px;
            }

            article h2 {
                font-size: 22px;
            }

            article h3 {
                font-size: 20px;
            }

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

            .transition-section {
                padding: 20px;
            }

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

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

            h1 {
                font-size: 24px;
            }

            nav ul li a {
                font-size: 15px;
                padding: 0 12px;
            }
        }
    