/* roulang page: index */
/* ===== Design Variables ===== */
        :root {
            --primary: #e63946;
            --primary-dark: #c1121f;
            --primary-light: #ff6b6b;
            --secondary: #1d3557;
            --secondary-light: #457b9d;
            --accent: #f4a261;
            --accent-light: #f9c788;
            --bg-main: #ffffff;
            --bg-alt: #f8f9fa;
            --bg-dark: #1a1a2e;
            --bg-card: #ffffff;
            --text-primary: #1a1a2e;
            --text-secondary: #4a4a6a;
            --text-light: #8a8aaa;
            --text-white: #ffffff;
            --border: #e8e8f0;
            --border-light: #f0f0f5;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
            --shadow-hover: 0 12px 48px rgba(230,57,70,0.15);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --max-width: 1200px;
            --header-height: 72px;
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        body {
            font-family: var(--font-family);
            font-size: 16px;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-main);
            overflow-x: hidden;
        }
        a { color: inherit; text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--primary); }
        img { max-width: 100%; height: auto; display: block; }
        button, input, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
        button { cursor: pointer; background: none; }
        ul, ol { list-style: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--text-primary); }
        h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
        h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
        h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
        h4 { font-size: 1.1rem; }
        p { color: var(--text-secondary); }
        .container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
        .section-padding { padding: 80px 0; }
        .section-title { text-align: center; margin-bottom: 48px; }
        .section-title h2 { margin-bottom: 12px; position: relative; display: inline-block; }
        .section-title h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); border-radius: 4px; margin: 12px auto 0; }
        .section-title p { font-size: 1.1rem; color: var(--text-light); max-width: 640px; margin: 0 auto; }
        .text-center { text-align: center; }

        /* ===== Buttons ===== */
        .btn {
            display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px;
            font-weight: 600; font-size: 1rem; transition: var(--transition); border: 2px solid transparent;
            justify-content: center; white-space: nowrap;
        }
        .btn-primary { background: var(--primary); color: var(--text-white); border-color: var(--primary); }
        .btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--text-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,0.35); }
        .btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(230,57,70,0.25); }
        .btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
        .btn-secondary:hover { background: var(--primary); color: var(--text-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,0.2); }
        .btn-secondary:active { transform: translateY(0); }
        .btn-light { background: var(--text-white); color: var(--primary); border-color: var(--text-white); }
        .btn-light:hover { background: var(--bg-alt); border-color: var(--bg-alt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
        .btn-lg { padding: 16px 40px; font-size: 1.1rem; }
        .btn-sm { padding: 8px 20px; font-size: 0.875rem; }
        .btn:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; }

        /* ===== Badge & Tag ===== */
        .badge {
            display: inline-block; padding: 4px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.5px;
        }
        .badge-primary { background: rgba(230,57,70,0.12); color: var(--primary); }
        .badge-secondary { background: rgba(29,53,87,0.1); color: var(--secondary); }
        .badge-accent { background: rgba(244,162,97,0.15); color: #c77d2e; }
        .badge-hot { background: rgba(230,57,70,0.15); color: var(--primary); position: relative; }
        .badge-hot::before { content: '🔥'; margin-right: 4px; font-size: 0.7rem; }

        .tag {
            display: inline-block; padding: 2px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 500;
            background: var(--bg-alt); color: var(--text-secondary); border: 1px solid var(--border); transition: var(--transition);
        }
        .tag:hover { background: var(--primary); color: var(--text-white); border-color: var(--primary); }

        /* ===== Header & Navigation ===== */
        .header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-light); height: var(--header-height);
            box-shadow: 0 1px 8px rgba(0,0,0,0.04);
        }
        .header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
        .logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--text-primary); }
        .logo-icon { width: 36px; height: 36px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; font-weight: 700; }
        .logo span { color: var(--primary); }
        .nav-list { display: flex; align-items: center; gap: 8px; }
        .nav-list a {
            padding: 8px 18px; border-radius: 8px; font-weight: 500; font-size: 0.925rem;
            color: var(--text-secondary); transition: var(--transition); position: relative;
        }
        .nav-list a:hover { color: var(--primary); background: rgba(230,57,70,0.06); }
        .nav-list a.active { color: var(--primary); background: rgba(230,57,70,0.1); font-weight: 600; }
        .nav-list a.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; background: var(--primary); border-radius: 4px; }
        .nav-actions { display: flex; align-items: center; gap: 12px; }
        .search-box {
            display: flex; align-items: center; background: var(--bg-alt); border-radius: 50px;
            padding: 0 16px; border: 1px solid var(--border); transition: var(--transition);
        }
        .search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(230,57,70,0.1); }
        .search-box input { padding: 8px 8px 8px 4px; background: transparent; width: 160px; font-size: 0.875rem; color: var(--text-primary); }
        .search-box input::placeholder { color: var(--text-light); }
        .search-box i { color: var(--text-light); font-size: 0.875rem; }
        .nav-cta { padding: 10px 24px; font-size: 0.875rem; }
        .mobile-toggle { display: none; font-size: 1.5rem; color: var(--text-primary); padding: 4px; cursor: pointer; }

        /* ===== Hero Section ===== */
        .hero {
            margin-top: var(--header-height); min-height: 85vh; display: flex; align-items: center;
            position: relative; overflow: hidden; background: var(--bg-dark);
        }
        .hero-bg {
            position: absolute; inset: 0; background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover; background-position: center; opacity: 0.35; z-index: 0;
        }
        .hero-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.7) 50%, rgba(230,57,70,0.2) 100%);
            z-index: 1;
        }
        .hero .container { position: relative; z-index: 2; padding: 80px 24px; }
        .hero-content { max-width: 680px; }
        .hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(230,57,70,0.2); color: var(--primary-light); padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; border: 1px solid rgba(230,57,70,0.25); }
        .hero h1 { color: var(--text-white); font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 20px; line-height: 1.15; }
        .hero h1 span { color: var(--primary-light); }
        .hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 560px; line-height: 1.7; }
        .hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
        .hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.1); }
        .hero-stat h3 { color: var(--text-white); font-size: 1.8rem; font-weight: 800; }
        .hero-stat h3 span { color: var(--primary-light); }
        .hero-stat p { font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 0; }

        /* ===== Feature / Intro Section ===== */
        .intro-section { background: var(--bg-main); }
        .intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
        .intro-card {
            background: var(--bg-card); border-radius: var(--radius-md); padding: 36px 28px;
            border: 1px solid var(--border-light); transition: var(--transition); text-align: center;
        }
        .intro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(230,57,70,0.15); }
        .intro-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.6rem; color: #fff; }
        .intro-icon.red { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
        .intro-icon.blue { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); }
        .intro-icon.amber { background: linear-gradient(135deg, var(--accent), #e07c2e); }
        .intro-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
        .intro-card p { font-size: 0.925rem; color: var(--text-light); line-height: 1.7; }

        /* ===== Category Section ===== */
        .category-section { background: var(--bg-alt); }
        .category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .category-card {
            position: relative; border-radius: var(--radius-md); overflow: hidden;
            background: var(--bg-card); border: 1px solid var(--border); transition: var(--transition);
            cursor: pointer; display: flex; flex-direction: column;
        }
        .category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
        .category-card-img { height: 200px; overflow: hidden; position: relative; }
        .category-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
        .category-card:hover .category-card-img img { transform: scale(1.05); }
        .category-card-img .overlay {
            position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
        }
        .category-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
        .category-card-body .badge { align-self: flex-start; margin-bottom: 12px; }
        .category-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
        .category-card-body p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; flex: 1; }
        .category-card-footer { padding: 16px 24px; border-top: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
        .category-card-footer span { font-size: 0.85rem; color: var(--text-light); }
        .category-card-footer i { color: var(--primary); transition: var(--transition); }
        .category-card:hover .category-card-footer i { transform: translateX(4px); }

        /* ===== News / Articles Section ===== */
        .news-section { background: var(--bg-main); }
        .news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
        .news-card {
            display: flex; gap: 20px; background: var(--bg-card); border-radius: var(--radius-md);
            padding: 20px; border: 1px solid var(--border-light); transition: var(--transition);
        }
        .news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(230,57,70,0.15); }
        .news-thumb { width: 160px; min-height: 120px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
        .news-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .news-info { flex: 1; display: flex; flex-direction: column; }
        .news-info .tag { align-self: flex-start; margin-bottom: 8px; }
        .news-info h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .news-info h3 a { color: var(--text-primary); }
        .news-info h3 a:hover { color: var(--primary); }
        .news-info p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
        .news-meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 0.8rem; color: var(--text-light); }
        .news-meta i { margin-right: 4px; }
        .news-empty { grid-column: 1 / -1; text-align: center; padding: 48px 24px; background: var(--bg-alt); border-radius: var(--radius-md); color: var(--text-light); font-size: 1rem; }

        /* ===== Stats / Data Section ===== */
        .stats-section {
            background: var(--bg-dark); position: relative; overflow: hidden;
        }
        .stats-section::before {
            content: ''; position: absolute; inset: 0;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover; background-position: center; opacity: 0.12; z-index: 0;
        }
        .stats-section .container { position: relative; z-index: 1; }
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
        .stat-item { text-align: center; padding: 32px 16px; }
        .stat-item .stat-number { font-size: 2.8rem; font-weight: 800; color: var(--text-white); margin-bottom: 8px; }
        .stat-item .stat-number span { color: var(--primary-light); }
        .stat-item .stat-label { font-size: 1rem; color: rgba(255,255,255,0.6); }
        .stat-item .stat-icon { font-size: 2rem; color: rgba(230,57,70,0.5); margin-bottom: 16px; }

        /* ===== Process / Flow Section ===== */
        .process-section { background: var(--bg-main); }
        .process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
        .process-steps::before {
            content: ''; position: absolute; top: 40px; left: 10%; right: 10%;
            height: 2px; background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent), var(--primary));
            z-index: 0; opacity: 0.3;
        }
        .step-item { text-align: center; position: relative; z-index: 1; }
        .step-number {
            width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
            margin: 0 auto 20px; font-size: 1.8rem; font-weight: 800; color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 8px 24px rgba(230,57,70,0.3);
        }
        .step-item:nth-child(2) .step-number { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); box-shadow: 0 8px 24px rgba(29,53,87,0.3); }
        .step-item:nth-child(3) .step-number { background: linear-gradient(135deg, var(--accent), #e07c2e); box-shadow: 0 8px 24px rgba(244,162,97,0.3); }
        .step-item:nth-child(4) .step-number { background: linear-gradient(135deg, #2a9d8f, #1b7a6e); box-shadow: 0 8px 24px rgba(42,157,143,0.3); }
        .step-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
        .step-item p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

        /* ===== FAQ Section ===== */
        .faq-section { background: var(--bg-alt); }
        .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
        .faq-item {
            background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border);
            overflow: hidden; transition: var(--transition);
        }
        .faq-item:hover { border-color: rgba(230,57,70,0.2); }
        .faq-question {
            padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
            cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--text-primary);
            background: transparent; transition: var(--transition); width: 100%; text-align: left;
        }
        .faq-question:hover { color: var(--primary); }
        .faq-question i { transition: var(--transition); color: var(--text-light); font-size: 0.875rem; }
        .faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
        .faq-answer {
            max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
            padding: 0 24px; color: var(--text-secondary); font-size: 0.925rem; line-height: 1.7;
        }
        .faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }

        /* ===== CTA Section ===== */
        .cta-section {
            background: var(--bg-dark); position: relative; overflow: hidden;
        }
        .cta-section::before {
            content: ''; position: absolute; inset: 0;
            background-image: url('/assets/images/backpic/back-3.png');
            background-size: cover; background-position: center; opacity: 0.1; z-index: 0;
        }
        .cta-section .container { position: relative; z-index: 1; text-align: center; padding: 80px 24px; }
        .cta-section h2 { color: var(--text-white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
        .cta-section p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }
        .cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

        /* ===== Footer ===== */
        .footer { background: #0f0f1a; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }
        .footer-brand .logo { color: var(--text-white); margin-bottom: 16px; font-size: 1.3rem; }
        .footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 320px; }
        .footer-social { display: flex; gap: 12px; margin-top: 20px; }
        .footer-social a {
            width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06);
            display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6);
            transition: var(--transition); font-size: 1rem;
        }
        .footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
        .footer-col h4 { color: var(--text-white); font-size: 1rem; margin-bottom: 20px; font-weight: 600; }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
        .footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }
        .footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
        .footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
        .footer-bottom-links { display: flex; gap: 20px; }
        .footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: var(--transition); }
        .footer-bottom-links a:hover { color: var(--primary-light); }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .intro-grid { grid-template-columns: repeat(2, 1fr); }
            .category-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
            .process-steps { grid-template-columns: repeat(2, 1fr); }
            .process-steps::before { display: none; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
        }

        @media (max-width: 768px) {
            .header .container { padding: 0 16px; }
            .nav-list { display: none; }
            .mobile-toggle { display: block; }
            .nav-list.mobile-open {
                display: flex; flex-direction: column; position: absolute; top: var(--header-height); left: 0; right: 0;
                background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); padding: 16px 24px; gap: 4px;
                border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
            }
            .nav-list.mobile-open a { padding: 14px 16px; width: 100%; border-radius: 8px; }
            .nav-list.mobile-open a.active::after { display: none; }
            .nav-list.mobile-open a.active { background: rgba(230,57,70,0.1); }
            .search-box input { width: 100px; }
            .nav-cta { padding: 8px 16px; font-size: 0.8rem; }
            .hero { min-height: 70vh; }
            .hero-content { text-align: center; margin: 0 auto; }
            .hero-actions { justify-content: center; }
            .hero-stats { justify-content: center; gap: 24px; flex-wrap: wrap; }
            .hero-stat { text-align: center; }
            .intro-grid { grid-template-columns: 1fr; }
            .category-grid { grid-template-columns: 1fr; }
            .news-grid { grid-template-columns: 1fr; }
            .news-card { flex-direction: column; }
            .news-thumb { width: 100%; height: 180px; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
            .stat-item .stat-number { font-size: 2rem; }
            .process-steps { grid-template-columns: 1fr; gap: 32px; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .section-padding { padding: 56px 0; }
            .section-title { margin-bottom: 32px; }
        }

        @media (max-width: 520px) {
            .hero-stats { flex-direction: column; gap: 16px; }
            .hero-actions { flex-direction: column; width: 100%; }
            .hero-actions .btn { width: 100%; }
            .cta-actions { flex-direction: column; width: 100%; }
            .cta-actions .btn { width: 100%; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .stat-item { padding: 20px 12px; }
        }

        /* ===== Accessibility & Focus ===== */
        :focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
        .skip-link { position: absolute; top: -100%; left: 0; padding: 12px 24px; background: var(--primary); color: #fff; z-index: 10000; font-weight: 600; }
        .skip-link:focus { top: 0; }

        /* ===== Animations ===== */
        @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
        .fade-up { animation: fadeUp 0.6s ease forwards; }
        .fade-up-delay-1 { animation-delay: 0.1s; }
        .fade-up-delay-2 { animation-delay: 0.2s; }
        .fade-up-delay-3 { animation-delay: 0.3s; }
        .fade-up-delay-4 { animation-delay: 0.4s; }

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #0f1b3d;
            --primary-light: #1a2d6d;
            --primary-dark: #0a122a;
            --accent: #e8a838;
            --accent-hover: #d4942f;
            --accent-light: #f5d48a;
            --bg-body: #f5f7fc;
            --bg-white: #ffffff;
            --bg-card: #ffffff;
            --bg-dark: #0f1b3d;
            --bg-muted: #f0f2f8;
            --text-dark: #111827;
            --text-body: #374151;
            --text-muted: #6b7280;
            --text-light: #9ca3af;
            --text-white: #f9fafb;
            --border: #e5e7eb;
            --border-light: #f0f0f5;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
            --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
            --max-width: 1200px;
            --header-height: 72px;
            --spacing-section: 80px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        body {
            font-family: var(--font-family);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-body);
            background: var(--bg-body);
            min-height: 100vh;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
        a:hover { color: var(--accent); }
        ul, ol { list-style: none; }
        button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
        h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; color: var(--text-dark); }
        h1 { font-size: 2.75rem; }
        h2 { font-size: 2rem; }
        h3 { font-size: 1.4rem; }
        h4 { font-size: 1.15rem; }

        /* ===== Container ===== */
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Header / Nav ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--header-height);
            background: var(--bg-white);
            border-bottom: 1px solid var(--border);
            box-shadow: 0 1px 4px rgba(0,0,0,0.04);
            z-index: 1000;
            transition: box-shadow var(--transition);
        }
        .header.scrolled { box-shadow: var(--shadow-md); }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--primary);
            white-space: nowrap;
        }
        .logo-icon {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: #fff;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .logo span { color: var(--accent); font-weight: 700; }
        .logo small { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; margin-left: 2px; }

        .nav-list {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .nav-list a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-weight: 500;
            font-size: 0.95rem;
            color: var(--text-body);
            transition: background var(--transition), color var(--transition);
            position: relative;
        }
        .nav-list a:hover { background: var(--bg-muted); color: var(--primary); }
        .nav-list a.active {
            background: var(--primary);
            color: #fff;
        }
        .nav-list a.active:hover { background: var(--primary-light); }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .search-box {
            display: flex;
            align-items: center;
            background: var(--bg-muted);
            border-radius: 50px;
            padding: 0 16px;
            height: 40px;
            border: 1px solid transparent;
            transition: border var(--transition), background var(--transition);
            min-width: 180px;
        }
        .search-box:focus-within { border-color: var(--accent); background: var(--bg-white); }
        .search-box i { color: var(--text-muted); font-size: 0.9rem; margin-right: 8px; }
        .search-box input {
            background: transparent;
            border: none;
            outline: none;
            width: 100%;
            font-size: 0.9rem;
            color: var(--text-dark);
        }
        .search-box input::placeholder { color: var(--text-light); }

        .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 26px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            background: linear-gradient(135deg, var(--accent), #d4942f);
            color: #fff;
            border: none;
            cursor: pointer;
            transition: transform var(--transition), box-shadow var(--transition);
            box-shadow: 0 4px 14px rgba(232, 168, 56, 0.35);
            white-space: nowrap;
        }
        .btn-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(232, 168, 56, 0.45);
            color: #fff;
        }
        .btn-cta:active { transform: translateY(0); }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 6px;
            background: none;
            border: none;
        }
        .hamburger span {
            width: 26px;
            height: 2.5px;
            background: var(--text-dark);
            border-radius: 2px;
            transition: var(--transition);
        }

        /* ===== Mobile Nav ===== */
        .mobile-nav {
            display: none;
            position: fixed;
            top: var(--header-height);
            left: 0;
            right: 0;
            background: var(--bg-white);
            border-bottom: 1px solid var(--border);
            box-shadow: var(--shadow-lg);
            padding: 16px 24px 24px;
            z-index: 999;
            flex-direction: column;
            gap: 6px;
        }
        .mobile-nav.open { display: flex; }
        .mobile-nav a {
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            font-weight: 500;
            font-size: 1rem;
            color: var(--text-body);
        }
        .mobile-nav a:hover { background: var(--bg-muted); }
        .mobile-nav a.active { background: var(--primary); color: #fff; }
        .mobile-nav .btn-cta { margin-top: 8px; justify-content: center; width: 100%; }

        /* ===== Breadcrumb ===== */
        .breadcrumb {
            padding: 100px 0 20px;
            background: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
        }
        .breadcrumb-inner {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            color: var(--text-muted);
            flex-wrap: wrap;
        }
        .breadcrumb-inner a { color: var(--text-muted); }
        .breadcrumb-inner a:hover { color: var(--primary); }
        .breadcrumb-inner .sep { color: var(--text-light); }
        .breadcrumb-inner .current { color: var(--text-dark); font-weight: 500; }

        /* ===== Hero / Banner ===== */
        .category-hero {
            position: relative;
            padding: 100px 0 80px;
            background: var(--primary-dark);
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            min-height: 360px;
            display: flex;
            align-items: center;
        }
        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15,27,61,0.88) 0%, rgba(26,45,109,0.72) 100%);
            z-index: 1;
        }
        .category-hero .container { position: relative; z-index: 2; }
        .category-hero-content { max-width: 700px; }
        .category-hero h1 {
            color: #fff;
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 16px;
            line-height: 1.2;
        }
        .category-hero h1 span { color: var(--accent); }
        .category-hero p {
            color: rgba(255,255,255,0.85);
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 28px;
            max-width: 600px;
        }
        .hero-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 18px;
            border-radius: 50px;
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(4px);
            color: #fff;
            font-size: 0.85rem;
            font-weight: 500;
            border: 1px solid rgba(255,255,255,0.15);
            transition: background var(--transition);
        }
        .hero-tag:hover { background: rgba(255,255,255,0.22); color: #fff; }
        .hero-tag i { color: var(--accent); font-size: 0.8rem; }

        /* ===== Section common ===== */
        .section {
            padding: var(--spacing-section) 0;
        }
        .section-title {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-title h2 {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 12px;
        }
        .section-title h2 span { color: var(--accent); }
        .section-title p {
            color: var(--text-muted);
            max-width: 560px;
            margin: 0 auto;
            font-size: 1.05rem;
        }
        .section-bg-muted { background: var(--bg-muted); }
        .section-bg-white { background: var(--bg-white); }
        .section-bg-dark {
            background: var(--bg-dark);
            color: rgba(255,255,255,0.85);
        }
        .section-bg-dark .section-title h2 { color: #fff; }
        .section-bg-dark .section-title p { color: rgba(255,255,255,0.7); }

        /* ===== Card Grid ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: transform var(--transition), box-shadow var(--transition);
        }
        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .card-img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
            background: var(--bg-muted);
        }
        .card-body {
            padding: 20px 22px 24px;
        }
        .card-body .tag {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            background: var(--accent-light);
            color: var(--primary);
            margin-bottom: 10px;
        }
        .card-body h3 {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text-dark);
            line-height: 1.4;
        }
        .card-body p {
            color: var(--text-muted);
            font-size: 0.92rem;
            line-height: 1.6;
            margin-bottom: 14px;
        }
        .card-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 0.82rem;
            color: var(--text-light);
        }
        .card-meta i { margin-right: 4px; }
        .card-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 600;
            color: var(--primary);
            font-size: 0.9rem;
            transition: gap var(--transition);
        }
        .card-link:hover { gap: 10px; color: var(--accent); }

        /* ===== Featured Section (图文) ===== */
        .featured-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }
        .featured-image {
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }
        .featured-image img {
            width: 100%;
            height: 380px;
            object-fit: cover;
            display: block;
        }
        .featured-content h2 {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 16px;
        }
        .featured-content h2 span { color: var(--accent); }
        .featured-content p {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.8;
            margin-bottom: 20px;
        }
        .featured-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 24px;
        }
        .featured-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 0.95rem;
            color: var(--text-body);
        }
        .featured-list li i {
            color: var(--accent);
            font-size: 1rem;
            margin-top: 4px;
            flex-shrink: 0;
        }

        /* ===== Stats ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
            text-align: center;
        }
        .stat-item {
            padding: 32px 16px;
            background: var(--bg-white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: transform var(--transition), box-shadow var(--transition);
        }
        .stat-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .stat-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
            margin-bottom: 6px;
        }
        .stat-number .accent { color: var(--accent); }
        .stat-label {
            font-size: 0.92rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* ===== Category list ===== */
        .category-list {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .category-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 30px 16px 24px;
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            transition: transform var(--transition), box-shadow var(--transition);
            text-align: center;
        }
        .category-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .category-item .icon {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--bg-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 14px;
            transition: background var(--transition);
        }
        .category-item:hover .icon { background: var(--primary); color: #fff; }
        .category-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
        .category-item p { font-size: 0.85rem; color: var(--text-muted); }

        /* ===== Timeline / Process ===== */
        .timeline {
            display: flex;
            flex-direction: column;
            gap: 0;
            position: relative;
            max-width: 700px;
            margin: 0 auto;
            padding-left: 40px;
        }
        .timeline::before {
            content: '';
            position: absolute;
            left: 16px;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, var(--accent), var(--primary));
            border-radius: 4px;
        }
        .timeline-item {
            position: relative;
            padding: 0 0 36px 32px;
        }
        .timeline-item:last-child { padding-bottom: 0; }
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -26px;
            top: 6px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--bg-white);
            border: 3px solid var(--accent);
            box-shadow: 0 0 0 4px var(--bg-body);
            z-index: 1;
        }
        .timeline-item h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
        .timeline-item p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 760px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: box-shadow var(--transition);
        }
        .faq-item:hover { box-shadow: var(--shadow-md); }
        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 22px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-dark);
            background: none;
            width: 100%;
            text-align: left;
            border: none;
            transition: background var(--transition);
        }
        .faq-question:hover { background: var(--bg-muted); }
        .faq-question i { color: var(--accent); transition: transform var(--transition); font-size: 0.9rem; }
        .faq-item.open .faq-question i { transform: rotate(180deg); }
        .faq-answer {
            padding: 0 22px 18px;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.7;
            display: none;
        }
        .faq-item.open .faq-answer { display: block; }

        /* ===== CTA ===== */
        .cta-section {
            padding: 80px 0;
            background: var(--primary-dark);
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            position: relative;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15,27,61,0.9) 0%, rgba(26,45,109,0.75) 100%);
            z-index: 1;
        }
        .cta-section .container { position: relative; z-index: 2; text-align: center; }
        .cta-section h2 { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
        .cta-section p { color: rgba(255,255,255,0.8); max-width: 540px; margin: 0 auto 28px; font-size: 1.05rem; }
        .cta-section .btn-cta { font-size: 1.05rem; padding: 14px 36px; }

        /* ===== Footer ===== */
        .footer {
            background: var(--bg-dark);
            color: rgba(255,255,255,0.7);
            padding: 60px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .footer-brand .logo { color: #fff; margin-bottom: 14px; }
        .footer-brand .logo .logo-icon { background: var(--accent); color: var(--primary); }
        .footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; max-width: 320px; }
        .footer-social { display: flex; gap: 12px; }
        .footer-social a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.6);
            font-size: 1rem;
            transition: background var(--transition), color var(--transition);
        }
        .footer-social a:hover { background: var(--accent); color: var(--primary); }
        .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul a {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
            transition: color var(--transition);
        }
        .footer-col ul a:hover { color: var(--accent); }
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.4);
        }
        .footer-bottom-links { display: flex; gap: 18px; }
        .footer-bottom-links a { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
        .footer-bottom-links a:hover { color: var(--accent); }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .card-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .category-list { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .featured-grid { grid-template-columns: 1fr; }
            .featured-image img { height: 280px; }
        }

        @media (max-width: 768px) {
            :root { --spacing-section: 56px; --header-height: 64px; }
            h1 { font-size: 2rem; }
            h2 { font-size: 1.6rem; }
            .nav-list { display: none; }
            .header-actions .search-box { display: none; }
            .hamburger { display: flex; }
            .category-hero { padding: 80px 0 56px; min-height: 280px; }
            .category-hero h1 { font-size: 2rem; }
            .category-hero p { font-size: 1rem; }
            .card-grid { grid-template-columns: 1fr; gap: 20px; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
            .category-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
            .footer-grid { grid-template-columns: 1fr; gap: 28px; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .featured-image img { height: 220px; }
            .section-title { margin-bottom: 32px; }
            .timeline { padding-left: 28px; }
            .timeline-item { padding-left: 24px; }
            .timeline-item::before { left: -20px; width: 14px; height: 14px; }
            .cta-section h2 { font-size: 1.6rem; }
            .hero-tags { gap: 8px; }
            .hero-tag { font-size: 0.8rem; padding: 5px 14px; }
        }

        @media (max-width: 520px) {
            .container { padding: 0 16px; }
            .category-hero h1 { font-size: 1.6rem; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
            .stat-item { padding: 20px 12px; }
            .stat-number { font-size: 1.6rem; }
            .category-list { grid-template-columns: 1fr 1fr; gap: 10px; }
            .category-item { padding: 20px 12px; }
            .card-body { padding: 16px 18px 20px; }
            .footer-grid { gap: 20px; }
            .header-inner { padding: 0 16px; }
            .logo { font-size: 1.1rem; }
            .logo-icon { width: 32px; height: 32px; font-size: 1rem; }
        }

/* roulang page: article */
/* ===== Design Variables ===== */
        :root {
            --primary: #e63946;
            --primary-dark: #c1121f;
            --primary-light: #ff6b6b;
            --secondary: #1d3557;
            --secondary-light: #457b9d;
            --accent: #f4a261;
            --accent-light: #e9c46a;
            --bg-body: #f8f9fa;
            --bg-white: #ffffff;
            --bg-dark: #0d1b2a;
            --bg-card: #ffffff;
            --bg-footer: #0d1b2a;
            --text-primary: #1a1a2e;
            --text-secondary: #4a4a6a;
            --text-light: #6c757d;
            --text-white: #ffffff;
            --text-muted: #adb5bd;
            --border-color: #e9ecef;
            --border-light: #f0f0f0;
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
            --shadow-hover: 0 8px 32px rgba(0,0,0,0.15);
            --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            --font-heading: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --container-max: 1200px;
            --nav-height: 72px;
            --spacing-section: 80px;
            --spacing-block: 60px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
        body {
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--primary); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--primary-dark); }
        ul, ol { list-style: none; }
        button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
        button { cursor: pointer; background: none; }
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            line-height: 1.3;
            color: var(--text-primary);
            font-weight: 700;
        }
        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }
        @media (max-width: 768px) {
            .container { padding: 0 16px; }
            :root { --spacing-section: 48px; --spacing-block: 36px; --nav-height: 64px; }
        }

        /* ===== Navigation ===== */
        .header {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 1000;
            height: var(--nav-height);
            background: var(--bg-white);
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 2px 12px rgba(0,0,0,0.04);
            transition: var(--transition);
        }
        .header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
        .header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 22px;
            font-weight: 800;
            color: var(--text-primary);
            letter-spacing: -0.5px;
            flex-shrink: 0;
        }
        .logo .logo-icon {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 700;
        }
        .logo span { color: var(--primary); }
        .nav-list {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .nav-list a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: var(--transition);
            position: relative;
        }
        .nav-list a:hover { color: var(--primary); background: rgba(230,57,70,0.06); }
        .nav-list a.active {
            color: var(--primary);
            background: rgba(230,57,70,0.1);
            font-weight: 600;
        }
        .nav-list a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }
        .nav-search {
            display: flex;
            align-items: center;
            background: var(--bg-body);
            border: 1px solid var(--border-color);
            border-radius: 50px;
            padding: 0 16px;
            height: 40px;
            width: 200px;
            transition: var(--transition);
        }
        .nav-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(230,57,70,0.12); }
        .nav-search input {
            background: transparent;
            border: none;
            padding: 8px 0;
            width: 100%;
            font-size: 14px;
            color: var(--text-primary);
        }
        .nav-search input::placeholder { color: var(--text-muted); }
        .nav-search i { color: var(--text-light); font-size: 14px; margin-right: 8px; }
        .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 24px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff !important;
            border: none;
            transition: var(--transition);
            box-shadow: 0 4px 14px rgba(230,57,70,0.3);
        }
        .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(230,57,70,0.4); }
        .btn-cta i { font-size: 14px; }
        .nav-toggle { display: none; font-size: 24px; color: var(--text-primary); background: none; border: none; cursor: pointer; padding: 4px; }
        @media (max-width: 1024px) {
            .nav-search { width: 160px; }
        }
        @media (max-width: 900px) {
            .nav-list { display: none; }
            .nav-list.open {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: var(--nav-height);
                left: 0; right: 0;
                background: var(--bg-white);
                border-bottom: 1px solid var(--border-color);
                box-shadow: var(--shadow-lg);
                padding: 16px 24px;
                gap: 4px;
            }
            .nav-list.open a { padding: 12px 16px; font-size: 16px; }
            .nav-list.open a.active::after { display: none; }
            .nav-toggle { display: block; }
            .nav-search { width: 140px; }
            .btn-cta span { display: none; }
        }
        @media (max-width: 520px) {
            .nav-search { width: 100px; }
            .logo { font-size: 18px; }
            .logo .logo-icon { width: 32px; height: 32px; font-size: 16px; }
        }

        /* ===== Article Page ===== */
        .page-article {
            padding-top: calc(var(--nav-height) + 40px);
            padding-bottom: 60px;
        }
        .article-banner {
            position: relative;
            height: 340px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            margin-bottom: 40px;
            background: var(--bg-dark);
        }
        .article-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.55;
        }
        .article-banner .overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.3) 100%);
        }
        .article-banner .banner-text {
            position: absolute;
            bottom: 32px;
            left: 32px;
            right: 32px;
            color: var(--text-white);
        }
        .article-banner .banner-text .badge {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            background: var(--primary);
            color: #fff;
            margin-bottom: 12px;
            letter-spacing: 0.3px;
        }
        .article-banner .banner-text h1 {
            font-size: 32px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 10px;
            line-height: 1.25;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        .article-banner .banner-text .meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 14px;
            color: rgba(255,255,255,0.8);
        }
        .article-banner .banner-text .meta i { margin-right: 6px; }
        @media (max-width: 768px) {
            .article-banner { height: 260px; margin-bottom: 28px; }
            .article-banner .banner-text { left: 20px; right: 20px; bottom: 20px; }
            .article-banner .banner-text h1 { font-size: 24px; }
            .article-banner .banner-text .meta { gap: 12px; font-size: 13px; }
        }
        @media (max-width: 520px) {
            .article-banner { height: 220px; }
            .article-banner .banner-text h1 { font-size: 20px; }
        }

        .article-layout {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 48px;
        }
        @media (max-width: 1024px) {
            .article-layout { grid-template-columns: 1fr; gap: 36px; }
        }
        .article-main {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: 40px 44px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
        }
        @media (max-width: 768px) {
            .article-main { padding: 24px 20px; }
        }
        .article-main .article-body {
            font-size: 16.5px;
            line-height: 1.85;
            color: var(--text-primary);
        }
        .article-main .article-body p {
            margin-bottom: 20px;
        }
        .article-main .article-body h2 {
            font-size: 24px;
            margin-top: 36px;
            margin-bottom: 16px;
            color: var(--secondary);
        }
        .article-main .article-body h3 {
            font-size: 20px;
            margin-top: 28px;
            margin-bottom: 12px;
            color: var(--secondary-light);
        }
        .article-main .article-body ul, .article-main .article-body ol {
            margin-bottom: 20px;
            padding-left: 24px;
        }
        .article-main .article-body ul li, .article-main .article-body ol li {
            margin-bottom: 8px;
            position: relative;
        }
        .article-main .article-body ul li::before {
            content: '';
            width: 6px;
            height: 6px;
            background: var(--primary);
            border-radius: 50%;
            position: absolute;
            left: -18px;
            top: 10px;
        }
        .article-main .article-body img {
            border-radius: var(--radius-md);
            margin: 24px 0;
            width: 100%;
            box-shadow: var(--shadow-sm);
        }
        .article-main .article-body blockquote {
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            margin: 24px 0;
            background: rgba(230,57,70,0.04);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            font-style: italic;
            color: var(--text-secondary);
        }
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
        }
        .article-tags .tag {
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 500;
            background: rgba(230,57,70,0.08);
            color: var(--primary);
            transition: var(--transition);
        }
        .article-tags .tag:hover { background: var(--primary); color: #fff; }
        .article-share {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }
        .article-share span { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
        .article-share a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-body);
            color: var(--text-secondary);
            font-size: 16px;
            transition: var(--transition);
            border: 1px solid var(--border-color);
        }
        .article-share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

        /* ===== Sidebar ===== */
        .article-sidebar {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }
        .sidebar-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
        }
        .sidebar-card h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .sidebar-card h3 i { color: var(--primary); font-size: 18px; }
        .sidebar-list li {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-light);
        }
        .sidebar-list li:last-child { border-bottom: none; }
        .sidebar-list li a {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary);
            line-height: 1.4;
        }
        .sidebar-list li a:hover { color: var(--primary); }
        .sidebar-list li a .num {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--bg-body);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
            color: var(--text-light);
            flex-shrink: 0;
            margin-top: 2px;
        }
        .sidebar-list li a .num.top { background: var(--primary); color: #fff; }
        .sidebar-list li a .text { flex: 1; }
        .sidebar-list li a .text small { display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
        .sidebar-cta {
            background: linear-gradient(135deg, var(--secondary), #0d1b2a);
            color: #fff;
            padding: 32px 24px;
            border-radius: var(--radius-md);
            text-align: center;
        }
        .sidebar-cta h4 { font-size: 20px; color: #fff; margin-bottom: 8px; }
        .sidebar-cta p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 20px; }
        .sidebar-cta .btn-cta { background: var(--primary); box-shadow: 0 4px 14px rgba(230,57,70,0.4); }
        @media (max-width: 1024px) {
            .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
            .sidebar-cta { grid-column: 1 / -1; }
        }
        @media (max-width: 600px) {
            .article-sidebar { grid-template-columns: 1fr; }
        }

        /* ===== Related Posts ===== */
        .related-section {
            margin-top: 48px;
        }
        .related-section h2 {
            font-size: 26px;
            font-weight: 800;
            margin-bottom: 28px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .related-section h2 i { color: var(--primary); }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        @media (max-width: 900px) {
            .related-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 520px) {
            .related-grid { grid-template-columns: 1fr; }
        }
        .related-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }
        .related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
        .related-card .card-img {
            height: 180px;
            overflow: hidden;
            position: relative;
        }
        .related-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        .related-card:hover .card-img img { transform: scale(1.05); }
        .related-card .card-img .badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 3px 12px;
            border-radius: 50px;
            font-size: 11px;
            font-weight: 600;
            background: var(--primary);
            color: #fff;
        }
        .related-card .card-body {
            padding: 18px 20px 20px;
        }
        .related-card .card-body h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .related-card .card-body h3 a { color: var(--text-primary); }
        .related-card .card-body h3 a:hover { color: var(--primary); }
        .related-card .card-body p {
            font-size: 13px;
            color: var(--text-light);
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .related-card .card-body .meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 12px;
            font-size: 12px;
            color: var(--text-muted);
        }
        .related-card .card-body .meta i { margin-right: 4px; }

        /* ===== Article Nav ===== */
        .article-nav {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            margin-top: 48px;
            padding-top: 28px;
            border-top: 1px solid var(--border-color);
        }
        .article-nav a {
            display: flex;
            flex-direction: column;
            gap: 4px;
            max-width: 45%;
        }
        .article-nav a .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
        .article-nav a .title { font-size: 16px; font-weight: 600; color: var(--text-primary); transition: var(--transition); }
        .article-nav a:hover .title { color: var(--primary); }
        .article-nav a.next { text-align: right; align-items: flex-end; }
        @media (max-width: 520px) {
            .article-nav { flex-direction: column; }
            .article-nav a { max-width: 100%; }
            .article-nav a.next { text-align: left; align-items: flex-start; }
        }

        /* ===== Not Found ===== */
        .not-found {
            text-align: center;
            padding: 80px 24px;
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
        }
        .not-found .icon {
            font-size: 64px;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .not-found h2 {
            font-size: 28px;
            color: var(--text-primary);
            margin-bottom: 12px;
        }
        .not-found p {
            font-size: 16px;
            color: var(--text-secondary);
            margin-bottom: 24px;
        }
        .not-found .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 32px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            background: var(--primary);
            color: #fff;
            transition: var(--transition);
        }
        .not-found .btn-back:hover { background: var(--primary-dark); transform: translateY(-2px); }

        /* ===== Footer ===== */
        .footer {
            background: var(--bg-footer);
            color: rgba(255,255,255,0.85);
            padding: 64px 0 0;
        }
        .footer .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 40px;
        }
        @media (max-width: 900px) {
            .footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
        }
        @media (max-width: 520px) {
            .footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
        }
        .footer .logo {
            color: #fff;
            margin-bottom: 16px;
        }
        .footer .logo .logo-icon { background: var(--primary); }
        .footer .logo span { color: var(--primary-light); }
        .footer-brand p {
            font-size: 14px;
            line-height: 1.7;
            color: rgba(255,255,255,0.6);
            margin-bottom: 20px;
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.7);
            font-size: 18px;
            transition: var(--transition);
            border: 1px solid rgba(255,255,255,0.05);
        }
        .footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
        .footer-col h4 {
            font-size: 16px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 18px;
        }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul li a {
            font-size: 14px;
            color: rgba(255,255,255,0.55);
            transition: var(--transition);
        }
        .footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 24px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 13px;
            color: rgba(255,255,255,0.4);
        }
        .footer-bottom-links { display: flex; gap: 20px; }
        .footer-bottom-links a { color: rgba(255,255,255,0.4); font-size: 13px; }
        .footer-bottom-links a:hover { color: var(--primary-light); }
        @media (max-width: 600px) {
            .footer-bottom { flex-direction: column; text-align: center; }
            .footer-bottom-links { justify-content: center; }
        }

        /* ===== Utility ===== */
        .text-center { text-align: center; }
        .mt-2 { margin-top: 20px; }
        .mb-2 { margin-bottom: 20px; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

        /* ===== Breadcrumb ===== */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 24px;
            flex-wrap: wrap;
        }
        .breadcrumb a { color: var(--text-secondary); }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb .sep { color: var(--text-muted); }
        .breadcrumb .current { color: var(--text-primary); font-weight: 500; }

        /* ===== Loading shimmer for CMS ===== */
        .cms-loading {
            background: linear-gradient(90deg, var(--border-light) 25%, #f4f4f8 50%, var(--border-light) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: var(--radius-sm);
        }
        @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
