/* roulang page: index */
:root {
            --primary: #2F6DA6;
            --primary-light: #EAF2F9;
            --accent: #10A37F;
            --accent-dark: #0B7A5F;
            --highlight: #F5A623;
            --bg: #FFFFFF;
            --bg-alt: #F7FAFD;
            --text: #1F2E3C;
            --text-body: #43566B;
            --text-muted: #7A8B9F;
            --border: rgba(47, 109, 166, .12);
            --radius: 14px;
            --radius-img: 12px;
            --radius-btn: 10px;
            --radius-badge: 999px;
            --shadow: 0 2px 12px rgba(31, 58, 94, .08);
            --shadow-hover: 0 12px 28px rgba(31, 58, 94, .14);
            --container: 1200px;
            --transition: all .3s ease;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            line-height: 1.75;
            color: var(--text-body);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
        }
        img {
            max-width: 100%;
            display: block;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent-dark);
        }
        ul,
        ol {
            list-style: none;
        }
        button,
        input {
            font-family: inherit;
            font-size: 1rem;
            border: none;
            outline: none;
        }
        :focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }
        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
        }
        .section {
            padding: 100px 0;
        }
        .bg-alt {
            background: var(--bg-alt);
        }
        .section-tag {
            display: inline-block;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1px;
            color: var(--primary);
            background: var(--primary-light);
            padding: 6px 18px;
            border-radius: var(--radius-badge);
            margin-bottom: 16px;
        }
        .section-title {
            font-size: 34px;
            font-weight: 800;
            line-height: 1.3;
            color: var(--text);
            letter-spacing: -0.5px;
            margin-bottom: 14px;
        }
        .section-desc {
            font-size: 16px;
            line-height: 1.75;
            color: var(--text-body);
            max-width: 640px;
            margin-bottom: 40px;
        }
        .btn {
            display: inline-block;
            font-size: 15px;
            font-weight: 600;
            padding: 12px 28px;
            border-radius: var(--radius-btn);
            transition: var(--transition);
            cursor: pointer;
            text-align: center;
            border: 1px solid transparent;
        }
        .btn-primary {
            background: var(--primary);
            color: #fff;
        }
        .btn-primary:hover {
            background: #245A8A;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }
        .btn-outline {
            background: transparent;
            border-color: var(--primary);
            color: var(--primary);
        }
        .btn-outline:hover {
            background: var(--primary-light);
            color: var(--primary);
        }
        .btn-accent {
            background: var(--accent);
            color: #fff;
        }
        .btn-accent:hover {
            background: var(--accent-dark);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }
        .badge {
            display: inline-block;
            font-size: 12px;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: var(--radius-badge);
            background: rgba(16, 163, 127, .12);
            color: var(--accent-dark);
        }
        .badge-hot {
            background: rgba(245, 166, 35, .15);
            color: #C77C00;
        }
        .badge-primary {
            background: var(--primary-light);
            color: var(--primary);
        }

        /* ===== Header ===== */
        .header {
            position: relative;
            background: var(--bg);
            border-bottom: 1px solid var(--border);
            z-index: 50;
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 28px 0;
            gap: 48px;
        }
        .logo {
            font-size: 26px;
            font-weight: 800;
            color: var(--text);
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .logo i {
            color: var(--primary);
            font-size: 22px;
        }
        .header-nav {
            display: flex;
            align-items: center;
            gap: 32px;
            flex-wrap: wrap;
        }
        .header-nav a {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-body);
            position: relative;
            padding: 4px 0;
            white-space: nowrap;
        }
        .header-nav a:hover {
            color: var(--primary);
        }
        .header-nav a.active {
            color: var(--primary);
            font-weight: 600;
        }
        .header-nav a.active::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }
        .header-menu-btn {
            display: none;
            background: none;
            font-size: 22px;
            color: var(--text);
            cursor: pointer;
            padding: 8px;
        }

        /* ===== Hero ===== */
        .hero {
            position: relative;
            background: linear-gradient(135deg, rgba(42, 68, 95, .88) 0%, rgba(58, 88, 120, .75) 100%), url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
            padding: 110px 0;
            color: #fff;
            overflow: hidden;
        }
        .hero::before {
            content: "";
            position: absolute;
            top: -60px;
            right: -60px;
            width: 320px;
            height: 320px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .04);
        }
        .hero-tag {
            display: inline-block;
            background: rgba(255, 255, 255, .15);
            border: 1px solid rgba(255, 255, 255, .25);
            font-size: 13px;
            font-weight: 600;
            padding: 6px 20px;
            border-radius: var(--radius-badge);
            margin-bottom: 22px;
            letter-spacing: 1px;
        }
        .hero h1 {
            font-size: 42px;
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.5px;
            margin-bottom: 18px;
            max-width: 620px;
        }
        .hero-sub {
            font-size: 17px;
            line-height: 1.7;
            color: rgba(255, 255, 255, .9);
            max-width: 560px;
            margin-bottom: 32px;
        }
        .hero-btns {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }
        .hero-btns .btn-primary {
            background: var(--highlight);
            color: #1F2E3C;
            border: none;
        }
        .hero-btns .btn-primary:hover {
            background: #E09515;
        }
        .hero-btns .btn-outline {
            background: transparent;
            border-color: rgba(255, 255, 255, .7);
            color: #fff;
        }
        .hero-btns .btn-outline:hover {
            background: rgba(255, 255, 255, .15);
            color: #fff;
        }
        .hero-stats {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
            border-top: 1px solid rgba(255, 255, 255, .2);
            padding-top: 24px;
        }
        .hero-stats span {
            font-size: 14px;
            color: rgba(255, 255, 255, .85);
        }
        .hero-stats strong {
            font-size: 24px;
            font-weight: 800;
            color: #fff;
            margin-right: 6px;
        }
        .hero-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            background: rgba(255, 255, 255, .1);
            border: 1px solid rgba(255, 255, 255, .2);
            border-radius: var(--radius);
            padding: 28px;
            backdrop-filter: blur(6px);
        }
        .hero-tags span {
            display: inline-block;
            background: rgba(255, 255, 255, .15);
            border: 1px solid rgba(255, 255, 255, .3);
            font-size: 14px;
            font-weight: 500;
            padding: 8px 18px;
            border-radius: var(--radius-badge);
            color: #fff;
            transition: var(--transition);
            cursor: default;
        }
        .hero-tags span:hover {
            background: rgba(255, 255, 255, .3);
            transform: translateY(-2px);
        }

        /* ===== Category Cards ===== */
        .category-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }
        .category-card {
            display: block;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 32px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        .category-card:hover {
            box-shadow: var(--shadow-hover);
            border-color: rgba(47, 109, 166, .25);
            transform: translateY(-4px);
        }
        .category-card.large {
            padding: 40px;
        }
        .category-card.small {
            padding: 24px 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
        .cat-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: var(--primary-light);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-bottom: 18px;
        }
        .cat-icon.accent {
            background: rgba(16, 163, 127, .1);
            color: var(--accent);
        }
        .category-card h3 {
            font-size: 22px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }
        .category-card p {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-body);
            margin-bottom: 16px;
        }
        .cat-count {
            display: inline-block;
            font-size: 13px;
            font-weight: 600;
            color: var(--primary);
            background: var(--primary-light);
            padding: 4px 14px;
            border-radius: var(--radius-badge);
            margin-bottom: 12px;
        }
        .cat-link {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            display: block;
        }
        .category-card:hover .cat-link {
            color: var(--accent-dark);
        }
        .card-small h3 {
            font-size: 18px;
            margin-bottom: 4px;
        }
        .card-small p {
            margin-bottom: 0;
            font-size: 13px;
        }

        /* ===== Stats ===== */
        .stats-section {
            background: var(--bg-alt);
            padding: 70px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        .stats-row {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 32px;
        }
        .stat-item {
            text-align: center;
            padding: 0 32px;
            border-left: 1px solid var(--border);
        }
        .stat-item:first-child {
            border-left: none;
        }
        .stat-num {
            display: block;
            font-size: 46px;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
            letter-spacing: -1px;
        }
        .stat-label {
            font-size: 15px;
            color: var(--text-muted);
            margin-top: 6px;
            display: block;
        }

        /* ===== Featured Resources ===== */
        .featured-grid {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            gap: 24px;
        }
        .featured-main {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .featured-main:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
        .featured-main .featured-img {
            aspect-ratio: 16/9;
            overflow: hidden;
        }
        .featured-main .featured-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .4s ease;
        }
        .featured-main:hover .featured-img img {
            transform: scale(1.04);
        }
        .featured-body {
            padding: 28px;
        }
        .featured-body h3 {
            font-size: 20px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }
        .featured-body p {
            font-size: 14px;
            line-height: 1.7;
            color: var(--text-body);
            margin-bottom: 16px;
        }
        .featured-meta {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }
        .featured-side {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }
        .featured-item {
            display: flex;
            gap: 16px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            align-items: center;
        }
        .featured-item:hover {
            box-shadow: var(--shadow-hover);
            border-color: rgba(47, 109, 166, .25);
            transform: translateX(4px);
        }
        .featured-item .thumb {
            width: 100px;
            height: 80px;
            border-radius: 10px;
            overflow: hidden;
            flex-shrink: 0;
            background: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: var(--primary);
        }
        .featured-item .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .featured-item .info h4 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 4px;
        }
        .featured-item .info p {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.5;
            margin-bottom: 6px;
        }
        .featured-item .info .badge {
            font-size: 11px;
            padding: 2px 10px;
        }

        /* ===== Latest Updates ===== */
        .latest-section {
            background: var(--bg-alt);
        }
        .latest-wrap {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 40px;
        }
        .resource-list {
            margin-top: 8px;
        }
        .resource-list li {
            border-bottom: 1px solid var(--border);
            padding: 16px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            transition: var(--transition);
        }
        .resource-list li:hover {
            padding-left: 8px;
        }
        .resource-list a {
            font-size: 15px;
            font-weight: 500;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .resource-list a i {
            color: var(--accent);
            font-size: 14px;
        }
        .resource-list a:hover {
            color: var(--primary);
        }
        .resource-list .time {
            font-size: 13px;
            color: var(--text-muted);
            flex-shrink: 0;
        }
        .sidebar-card {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
            box-shadow: var(--shadow);
            margin-bottom: 24px;
        }
        .sidebar-card h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border);
        }
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .tag-cloud a {
            font-size: 13px;
            padding: 6px 14px;
            border-radius: var(--radius-badge);
            background: var(--primary-light);
            color: var(--primary);
            transition: var(--transition);
        }
        .tag-cloud a:hover {
            background: var(--primary);
            color: #fff;
        }
        .update-list li {
            padding: 10px 0;
            border-bottom: 1px solid var(--border);
            font-size: 14px;
            line-height: 1.5;
        }
        .update-list li:last-child {
            border-bottom: none;
        }
        .update-list a {
            color: var(--text-body);
        }
        .update-list a:hover {
            color: var(--primary);
        }

        /* ===== Steps ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            margin-top: 20px;
            position: relative;
        }
        .steps-grid::before {
            content: "";
            position: absolute;
            top: 40px;
            left: 15%;
            right: 15%;
            height: 2px;
            background: var(--border);
        }
        .step-item {
            text-align: center;
            padding: 0 16px;
            position: relative;
        }
        .step-num {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 28px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            position: relative;
            z-index: 1;
            border: 3px solid var(--bg);
        }
        .step-item h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }
        .step-item p {
            font-size: 14px;
            line-height: 1.7;
            color: var(--text-body);
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }
        .faq-item {
            border-bottom: 1px solid var(--border);
        }
        .faq-item:first-child {
            border-top: 1px solid var(--border);
        }
        .faq-q {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 22px 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            transition: var(--transition);
        }
        .faq-q:hover {
            color: var(--primary);
        }
        .faq-q .arrow {
            font-size: 20px;
            color: var(--text-muted);
            transition: var(--transition);
            flex-shrink: 0;
        }
        .faq-item.open .faq-q .arrow {
            transform: rotate(45deg);
            color: var(--primary);
        }
        .faq-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height .35s ease;
            padding: 0 8px;
            font-size: 15px;
            line-height: 1.75;
            color: var(--text-body);
        }
        .faq-item.open .faq-a {
            max-height: 300px;
            padding-bottom: 22px;
        }

        /* ===== Subscribe ===== */
        .subscribe-section {
            background: var(--primary-light);
            padding: 70px 0;
        }
        .subscribe-wrap {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }
        .subscribe-text h2 {
            font-size: 28px;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 12px;
        }
        .subscribe-text p {
            font-size: 15px;
            color: var(--text-body);
            line-height: 1.7;
        }
        .subscribe-form {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .subscribe-form input[type="email"] {
            flex: 1;
            min-width: 220px;
            padding: 14px 20px;
            border: 1px solid var(--border);
            border-radius: var(--radius-btn);
            font-size: 15px;
            background: var(--bg);
            color: var(--text);
            transition: var(--transition);
        }
        .subscribe-form input[type="email"]:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(47, 109, 166, .15);
        }
        .subscribe-form .btn {
            padding: 14px 28px;
        }
        .form-note {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 10px;
            width: 100%;
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--bg-alt);
            border-top: 1px solid var(--border);
            padding: 60px 0 24px;
        }
        .footer-top {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 48px;
        }
        .footer-brand .logo {
            font-size: 22px;
            margin-bottom: 12px;
        }
        .footer-brand p {
            font-size: 14px;
            color: var(--text-muted);
            max-width: 280px;
            line-height: 1.7;
        }
        .footer h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 16px;
        }
        .footer-links li {
            margin-bottom: 8px;
        }
        .footer-links a {
            font-size: 14px;
            color: var(--text-body);
        }
        .footer-links a:hover {
            color: var(--primary);
        }
        .footer-bottom {
            border-top: 1px solid var(--border);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 13px;
            color: var(--text-muted);
        }
        .footer-bottom a {
            color: var(--text-muted);
        }
        .footer-bottom a:hover {
            color: var(--primary);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .hero {
                padding: 80px 0;
            }
            .hero h1 {
                font-size: 34px;
            }
            .section {
                padding: 70px 0;
            }
            .footer-top {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (max-width: 768px) {
            .header-nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--bg);
                border-bottom: 1px solid var(--border);
                padding: 20px 24px;
                flex-direction: column;
                align-items: flex-start;
                gap: 18px;
            }
            .header-nav.open {
                display: flex;
            }
            .header-menu-btn {
                display: block;
            }
            .hero {
                padding: 60px 0;
            }
            .hero h1 {
                font-size: 28px;
            }
            .hero-sub {
                font-size: 15px;
            }
            .hero-btns {
                flex-direction: column;
                align-items: stretch;
            }
            .hero-btns .btn {
                text-align: center;
            }
            .hero-stats {
                gap: 24px;
            }
            .hero-stats strong {
                font-size: 20px;
            }
            .category-grid {
                grid-template-columns: 1fr;
            }
            .featured-grid {
                grid-template-columns: 1fr;
            }
            .latest-wrap {
                grid-template-columns: 1fr;
            }
            .steps-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .steps-grid::before {
                display: none;
            }
            .subscribe-wrap {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .subscribe-form {
                flex-direction: column;
            }
            .subscribe-form input[type="email"] {
                width: 100%;
            }
            .footer-top {
                grid-template-columns: 1fr;
            }
            .stats-row {
                gap: 24px;
            }
            .stat-item {
                border-left: none;
                padding: 0;
                flex-basis: 45%;
            }
            .section-title {
                font-size: 26px;
            }
        }
        @media (max-width: 520px) {
            .container {
                padding: 0 18px;
            }
            .header-inner {
                padding: 18px 0;
                gap: 16px;
            }
            .logo {
                font-size: 22px;
            }
            .hero {
                padding: 48px 0;
            }
            .hero-tags {
                padding: 18px;
                gap: 8px;
            }
            .hero-tags span {
                font-size: 13px;
                padding: 6px 12px;
            }
            .stat-num {
                font-size: 32px;
            }
            .category-card.large {
                padding: 28px;
            }
            .featured-item {
                flex-direction: column;
                align-items: flex-start;
            }
            .featured-item .thumb {
                width: 100%;
                height: auto;
                aspect-ratio: 16/10;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

/* roulang page: category1 */
:root {
  --primary: #2F6DA6;
  --primary-light: #EAF2F9;
  --accent: #10A37F;
  --accent-dark: #0B7A5F;
  --highlight: #F5A623;
  --bg: #FFFFFF;
  --bg-alt: #F7FAFD;
  --text: #1F2E3C;
  --text-body: #43566B;
  --text-muted: #7A8B9F;
  --border: rgba(47, 109, 166, .12);
  --radius: 14px;
  --radius-img: 12px;
  --radius-btn: 10px;
  --radius-badge: 999px;
  --shadow: 0 2px 12px rgba(31, 58, 94, .08);
  --shadow-hover: 0 12px 28px rgba(31, 58, 94, .14);
  --container: 1200px;
  --transition: all .3s ease;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent-dark);
}
button, input {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}
ul, ol {
  list-style: none;
}
::selection {
  background: var(--primary-light);
  color: var(--primary);
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 90px 0;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 18px;
  border-radius: var(--radius-badge);
  margin-bottom: 16px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 680px;
  margin-bottom: 40px;
}
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: #245A8A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-badge);
  background: rgba(16, 163, 127, .12);
  color: var(--accent-dark);
}
.badge-hot {
  background: rgba(245, 166, 35, .15);
  color: #C77C00;
}
.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}
.header {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 48px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo i {
  color: var(--primary);
  font-size: 22px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.header-nav a:hover {
  color: var(--primary);
}
.header-nav a.active {
  color: var(--primary);
  font-weight: 600;
}
.header-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.header-menu-btn {
  display: none;
  background: none;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}
.category-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(42, 68, 95, .90) 0%, rgba(58, 88, 120, .78) 100%), url('/assets/images/backpic/back-2.jpg') center/cover no-repeat;
  padding: 90px 0 70px;
  color: #fff;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, .85);
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb i {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}
.category-banner h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: #fff;
}
.category-banner .cate-desc {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .85);
  max-width: 620px;
  margin-bottom: 32px;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-bar a {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 22px;
  border-radius: var(--radius-badge);
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: var(--transition);
}
.filter-bar a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .22);
}
.filter-bar a.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
}
.category-main {
  padding: 80px 0 90px;
  background: var(--bg-alt);
}
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.resource-card {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  gap: 24px;
}
.resource-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(47, 109, 166, .3);
  transform: translateY(-2px);
}
.resource-thumb {
  flex-shrink: 0;
  width: 260px;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--primary-light);
  position: relative;
}
.resource-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform .3s ease;
}
.resource-card:hover .resource-thumb img {
  transform: scale(1.03);
}
.resource-thumb .thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
}
.resource-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.resource-info h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.resource-info h3 a {
  color: var(--text);
}
.resource-info h3 a:hover {
  color: var(--primary);
}
.resource-info p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 14px;
}
.resource-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.resource-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.resource-meta .meta-item i {
  font-size: 12px;
}
.resource-btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.resource-btn-row .btn {
  padding: 9px 24px;
  font-size: 14px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.widget {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.widget-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.widget-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.widget-list li:last-child {
  border-bottom: none;
}
.widget-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--text-body);
  gap: 8px;
}
.widget-list a:hover {
  color: var(--primary);
}
.widget-list a span {
  color: var(--text-muted);
  font-size: 13px;
}
.widget-list .update-date {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud a {
  display: inline-block;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius-badge);
  background: var(--primary-light);
  color: var(--primary);
  transition: var(--transition);
}
.tag-cloud a:hover {
  background: var(--primary);
  color: #fff;
}
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-badge);
  font-size: 14px;
  font-weight: 500;
  background: var(--bg);
  color: var(--text-body);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.pagination-wrap a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.pagination-wrap a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}
.faq-section {
  background: var(--bg);
}
.faq-section .section-head {
  margin-bottom: 44px;
}
.faq-list {
  max-width: 860px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--primary);
}
.faq-item summary .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--primary);
  transition: var(--transition);
  background: var(--bg);
}
.faq-item[open] summary .icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq-item .answer {
  padding: 0 30px 24px 4px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
}
.cta-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: var(--shadow);
}
.cta-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
}
.cta-text p {
  font-size: 15px;
  color: var(--text-body);
  max-width: 400px;
}
.cta-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cta-form input {
  min-width: 260px;
  padding: 13px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}
.cta-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 109, 166, .12);
}
.cta-form input::placeholder {
  color: var(--text-muted);
}
.cta-form .btn {
  padding: 13px 30px;
}
.form-tip {
  font-size: 13px;
  color: var(--accent-dark);
  margin-top: 10px;
  display: none;
}
.form-tip.show {
  display: block;
}
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  max-width: 300px;
}
.footer-brand .logo {
  font-size: 22px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.footer h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-body);
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
    gap: 28px;
  }
  .cta-form {
    width: 100%;
  }
  .cta-form input {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .header-menu-btn {
    display: block;
  }
  .header-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0 12px;
  }
  .header-nav.open {
    display: flex;
  }
  .header-nav a {
    font-size: 17px;
    padding: 6px 0;
  }
  .header-nav a.active::after {
    display: none;
  }
  .header-nav a.active {
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: var(--radius-badge);
  }
  .resource-card {
    flex-direction: column;
  }
  .resource-thumb {
    width: 100%;
  }
  .resource-thumb img {
    aspect-ratio: 16 / 8;
  }
  .category-banner {
    padding: 60px 0 48px;
  }
  .category-banner h1 {
    font-size: 32px;
  }
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 26px;
  }
  .category-main {
    padding: 56px 0 64px;
  }
  .category-banner h1 {
    font-size: 28px;
  }
  .category-banner .cate-desc {
    font-size: 15px;
  }
  .filter-bar {
    gap: 8px;
  }
  .filter-bar a {
    padding: 7px 16px;
    font-size: 13px;
  }
  .resource-card {
    padding: 16px;
    gap: 16px;
  }
  .resource-info h3 {
    font-size: 18px;
  }
  .resource-info p {
    font-size: 14px;
  }
  .resource-meta {
    gap: 8px;
  }
  .cta-box {
    padding: 28px 22px;
  }
  .cta-form {
    flex-direction: column;
  }
  .cta-form input {
    width: 100%;
    min-width: 0;
  }
  .cta-form .btn {
    width: 100%;
  }
  .pagination-wrap {
    flex-wrap: wrap;
  }
  .faq-item summary {
    font-size: 15px;
    padding: 20px 0;
  }
  .faq-item .answer {
    padding: 0 0 20px;
    font-size: 14px;
  }
}
