/* roulang page: index */
:root {
  --brand-primary: #2d56a8;
  --brand-dark: #172d58;
  --brand-light: #eef4fb;
  --accent: #f59e0b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --bg-soft: #f8fafc;
  --shadow-card: 0 4px 20px rgba(23,45,88,0.06);
  --shadow-hover: 0 12px 32px rgba(23,45,88,0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
  color: var(--text-main);
  line-height: 1.7;
  margin: 0;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }
.container-custom { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.nav-link {
  position: relative; padding: 8px 4px; font-weight: 500;
  color: var(--text-muted); transition: color 0.2s; white-space: nowrap;
}
.nav-link:hover { color: var(--brand-primary); }
.nav-link.active { color: var(--brand-primary); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 100%; height: 2px; background: var(--brand-primary); border-radius: 2px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-primary); color: #fff; padding: 12px 24px;
  border-radius: 9999px; font-weight: 600; font-size: 0.95rem;
  border: none; transition: all 0.2s; box-shadow: 0 4px 14px rgba(45,86,168,0.3);
}
.btn-primary:hover {
  background: var(--brand-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(23,45,88,0.3);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1.5px solid var(--brand-primary);
  color: var(--brand-primary); padding: 10px 22px; border-radius: 9999px;
  font-weight: 600; font-size: 0.95rem; transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--brand-light); border-color: var(--brand-dark); color: var(--brand-dark);
}

.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(23,45,88,0.9) 0%, rgba(45,86,168,0.92) 60%, rgba(23,45,88,0.85) 100%), url('/assets/images/backpic/back-1.png');
  background-size: cover; background-position: center;
  color: #fff; padding: 100px 0 90px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px; border-radius: 9999px; font-size: 0.85rem;
  font-weight: 500; backdrop-filter: blur(4px);
}
.hero-title { font-size: 3rem; font-weight: 800; line-height: 1.2; letter-spacing: 1px; }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 640px; line-height: 1.8; }
.hero-stat {
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px); border-radius: 16px; padding: 16px 24px; text-align: center;
}

.card-hover {
  transition: all 0.3s; border: 1px solid var(--border-light);
  border-radius: 20px; background: #fff; box-shadow: var(--shadow-card);
}
.card-hover:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-hover);
  border-color: rgba(45,86,168,0.2);
}
.category-card {
  position: relative; border-radius: 20px; overflow: hidden;
  background-size: cover; background-position: center; min-height: 230px;
  display: flex; align-items: flex-end; transition: all 0.3s;
  border: 1px solid var(--border-light);
}
.category-card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.category-card-overlay {
  background: linear-gradient(to top, rgba(23,45,88,0.92) 0%, rgba(23,45,88,0.4) 60%, transparent 100%);
  border-radius: 20px; padding: 28px; width: 100%; color: #fff;
}
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--brand-dark); line-height: 1.3; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; }
.info-item {
  border: 1px solid var(--border-light); border-radius: 16px; padding: 20px;
  transition: all 0.2s; background: #fff; display: flex; gap: 16px;
}
.info-item:hover {
  border-color: rgba(45,86,168,0.25); box-shadow: var(--shadow-card);
  transform: translateX(4px);
}
.info-tag {
  display: inline-block; background: var(--brand-light); color: var(--brand-primary);
  font-size: 0.75rem; padding: 3px 10px; border-radius: 9999px; font-weight: 600;
}
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--brand-primary); line-height: 1.2; }
.step-item {
  position: relative; padding: 24px; border: 1px solid var(--border-light);
  border-radius: 16px; background: #fff; transition: box-shadow 0.2s;
}
.step-item:hover { box-shadow: var(--shadow-card); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-primary); color: #fff; display: flex;
  align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px;
}
.faq-item {
  border: 1px solid var(--border-light); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 12px; background: #fff;
  transition: box-shadow 0.2s; cursor: pointer;
}
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-q { font-weight: 600; color: var(--brand-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-q::-webkit-details-marker { display: none; }
.cta-section {
  background: linear-gradient(135deg, #172d58 0%, #2d56a8 100%);
  border-radius: 24px; padding: 56px; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.08);
}
.cta-section::after {
  content: ''; position: absolute; left: 50%; bottom: -80px;
  width: 300px; height: 150px; border-radius: 50%; background: rgba(255,255,255,0.05);
}
.site-footer { background: #0f1d3a; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-link { color: rgba(255,255,255,0.6); transition: color 0.2s; font-size: 0.9rem; }
.footer-link:hover { color: #fff; }

.mobile-menu {
  display: block; position: fixed; top: 0; right: -100%; width: 280px;
  height: 100vh; background: #fff; z-index: 200; padding: 80px 24px 24px;
  box-shadow: -8px 0 24px rgba(0,0,0,0.1); transition: right 0.3s ease;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  display: block; padding: 14px 12px; border-bottom: 1px solid var(--border-light);
  font-weight: 500; color: var(--text-main);
}
.mobile-menu a.active { color: var(--brand-primary); font-weight: 700; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 150; }
.mobile-overlay.show { display: block; }
.mobile-toggle { display: none; }
.search-box {
  display: flex; align-items: center; background: var(--bg-soft);
  border: 1px solid var(--border-light); border-radius: 9999px; padding: 0 14px;
  transition: border-color 0.2s;
}
.search-box:focus-within { border-color: var(--brand-primary); background: #fff; }
.search-box input {
  border: none; outline: none; background: transparent; padding: 8px 0 8px 8px;
  width: 130px; font-size: 0.85rem; color: var(--text-main);
}
.search-box i { color: var(--text-muted); font-size: 0.8rem; }

.article-content { font-size: 1.05rem; line-height: 1.9; color: #334155; }
.article-content h2 { font-size: 1.6rem; font-weight: 700; color: var(--brand-dark); margin: 32px 0 16px; }
.article-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--brand-dark); margin: 24px 0 12px; }
.article-content p { margin-bottom: 18px; }
.article-content ul { list-style: disc; padding-left: 20px; margin-bottom: 18px; }
.article-content img { border-radius: 12px; margin: 20px 0; }
.category-banner {
  background: linear-gradient(135deg, rgba(23,45,88,0.92), rgba(45,86,168,0.85)), url('/assets/images/backpic/back-2.png');
  background-size: cover; background-position: center; padding: 60px 0 50px; color: #fff;
}

@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .section-title { font-size: 1.9rem; }
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex !important; }
}
@media (max-width: 768px) {
  .hero-section { padding: 70px 0 60px; }
  .hero-title { font-size: 2.1rem; }
  .cta-section { padding: 36px 24px; border-radius: 20px; }
}
@media (max-width: 520px) {
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .section-title { font-size: 1.6rem; }
  .container-custom { padding: 0 16px; }
  .stat-number { font-size: 1.8rem; }
}

/* roulang page: category1 */
:root {
            --brand-50: #eef4ff;
            --brand-100: #dce7fd;
            --brand-200: #c0d3fb;
            --brand-300: #96b4f8;
            --brand-400: #658cf2;
            --brand-500: #3f66eb;
            --brand-600: #2a49df;
            --brand-700: #2238c4;
            --brand-800: #2130a0;
            --brand-900: #202e7e;
            --brand-950: #161d4f;
            --accent-400: #fbbf24;
            --accent-500: #f59e0b;
            --accent-600: #d97706;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border-light: #e2e8f0;
            --bg-soft: #f8fafc;
            --radius-lg: 1rem;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
            --shadow-md: 0 8px 24px rgba(34,56,196,0.08);
            --shadow-lg: 0 16px 40px rgba(34,56,196,0.12);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            color: var(--text-main);
            line-height: 1.6;
            background: #fff;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.25s ease;
        }

        button {
            cursor: pointer;
            font-family: inherit;
        }

        input {
            font-family: inherit;
        }

        .container-custom {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

        /* ===== 顶部导航 ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-light);
            transition: box-shadow 0.3s ease;
        }

        .site-header.scrolled {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        }

        .desktop-nav .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: #475569;
            padding: 8px 2px;
            border-bottom: 2px solid transparent;
            transition: color 0.25s, border-color 0.25s;
        }

        .desktop-nav .nav-link:hover {
            color: var(--brand-700);
        }

        .desktop-nav .nav-link.active {
            color: var(--brand-700);
            border-bottom-color: var(--brand-600);
            font-weight: 600;
        }

        .search-box {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 999px;
            padding: 8px 16px;
            width: 180px;
            transition: border-color 0.25s, box-shadow 0.25s;
        }

        .search-box:focus-within {
            border-color: var(--brand-400);
            box-shadow: 0 0 0 3px rgba(63, 102, 235, 0.12);
            background: #fff;
        }

        .search-box i {
            color: #94a3b8;
            font-size: 14px;
        }

        .search-box input {
            border: none;
            outline: none;
            background: transparent;
            font-size: 14px;
            color: #334155;
            width: 100%;
        }

        .search-box input::placeholder {
            color: #94a3b8;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
            color: #fff;
            font-weight: 600;
            border-radius: 999px;
            padding: 10px 22px;
            font-size: 14px;
            border: none;
            box-shadow: 0 4px 14px rgba(34, 56, 196, 0.25);
            transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(34, 56, 196, 0.32);
            background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
        }

        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(34, 56, 196, 0.25);
        }

        .btn-primary:focus-visible,
        .desktop-nav .nav-link:focus-visible,
        .mobile-toggle:focus-visible {
            outline: 2px solid var(--brand-500);
            outline-offset: 2px;
        }

        .mobile-toggle {
            display: none;
            border: 1px solid #e2e8f0;
            background: #fff;
            border-radius: 10px;
            color: #64748b;
            transition: background 0.2s, border-color 0.2s;
        }

        .mobile-toggle:hover {
            background: #f8fafc;
        }

        /* 移动端抽屉菜单 */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            background: #fff;
            border-bottom: 1px solid var(--border-light);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
            padding: 16px 24px;
            z-index: 100;
            border-radius: 0 0 16px 16px;
        }

        .mobile-menu.open {
            display: block;
        }

        .mobile-menu a {
            display: block;
            padding: 12px 12px;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 500;
            color: #334155;
            transition: background 0.2s, color 0.2s;
        }

        .mobile-menu a:hover {
            background: var(--brand-50);
            color: var(--brand-700);
        }

        .mobile-menu a.active {
            background: var(--brand-50);
            color: var(--brand-700);
            font-weight: 600;
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: linear-gradient(135deg, #0f172a 0%, #1e2044 60%, #2238a0 100%);
            padding: 60px 0 0;
            margin-top: 0;
        }

        .footer-link {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.55);
            transition: color 0.25s, padding-left 0.25s;
        }

        .footer-link:hover {
            color: #fff;
            padding-left: 4px;
        }

        /* ===== 通用板块 ===== */
        .section-padding {
            padding: 90px 0;
        }

        .section-title {
            font-size: 34px;
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.01em;
        }

        .section-subtitle {
            font-size: 16px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .tag-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--brand-50);
            color: var(--brand-700);
            border: 1px solid var(--brand-100);
            border-radius: 999px;
            padding: 6px 16px;
            font-size: 13px;
            font-weight: 600;
        }

        .card-base {
            background: #fff;
            border-radius: 16px;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
        }

        .card-base:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--brand-200);
        }

        /* 面包屑 */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #94a3b8;
            flex-wrap: wrap;
        }

        .breadcrumb a {
            color: #64748b;
        }

        .breadcrumb a:hover {
            color: var(--brand-700);
        }

        .breadcrumb .sep {
            color: #cbd5e1;
        }

        .breadcrumb .current {
            color: var(--brand-700);
            font-weight: 600;
        }

        /* FAQ 手风琴 */
        .faq-item {
            border: 1px solid var(--border-light);
            border-radius: 14px;
            background: #fff;
            margin-bottom: 12px;
            overflow: hidden;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .faq-item:hover {
            border-color: var(--brand-200);
            box-shadow: 0 4px 16px rgba(34, 56, 196, 0.06);
        }

        .faq-item details summary {
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            font-weight: 600;
            font-size: 16px;
            color: #1e293b;
        }

        .faq-item details summary::-webkit-details-marker {
            display: none;
        }

        .faq-item details summary .fa-chevron-down {
            color: #94a3b8;
            transition: transform 0.3s;
            font-size: 14px;
        }

        .faq-item details[open] summary .fa-chevron-down {
            transform: rotate(180deg);
            color: var(--brand-600);
        }

        .faq-item details[open] summary {
            border-bottom: 1px solid var(--border-light);
        }

        .faq-item .faq-answer {
            padding: 18px 24px;
            color: #475569;
            font-size: 15px;
            line-height: 1.75;
            background: #fafbff;
        }

        /* 步骤条 */
        .step-card {
            position: relative;
            padding: 28px 24px;
            text-align: center;
            background: #fff;
            border-radius: 16px;
            border: 1px solid var(--border-light);
            transition: all 0.3s ease;
        }

        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--brand-200);
        }

        .step-number {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
            color: #fff;
            font-weight: 700;
            font-size: 18px;
            margin: 0 auto 16px;
            box-shadow: 0 6px 18px rgba(34, 56, 196, 0.25);
        }

        /* ===== Hero 区 ===== */
        .category-hero {
            background:
                linear-gradient(100deg, rgba(15, 23, 42, 0.88), rgba(30, 27, 75, 0.75)),
                url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            padding: 80px 0;
            position: relative;
        }

        /* ===== 内容卡片 ===== */
        .article-card {
            background: #fff;
            border-radius: 16px;
            border: 1px solid var(--border-light);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .article-card .cover-wrap {
            overflow: hidden;
            height: 180px;
        }

        .article-card .cover-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .article-card:hover .cover-wrap img {
            transform: scale(1.04);
        }

        .article-card .article-body {
            padding: 24px;
        }

        .article-card .read-more {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--brand-700);
            font-weight: 600;
            font-size: 14px;
            transition: gap 0.25s;
        }

        .article-card .read-more:hover {
            gap: 10px;
            color: var(--brand-900);
        }

        /* 统计块 */
        .stat-block {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 16px;
            padding: 24px 16px;
            text-align: center;
            backdrop-filter: blur(4px);
            transition: background 0.3s;
        }

        .stat-block:hover {
            background: rgba(255, 255, 255, 0.14);
        }

        /* CTA 区 */
        .cta-section {
            background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
            border-radius: 24px;
            padding: 50px;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -40%;
            right: -10%;
            width: 280px;
            height: 280px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
        }

        .cta-section::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 180px;
            height: 180px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 50%;
        }

        .cta-section .cta-content {
            position: relative;
            z-index: 2;
        }

        /* 锚点目录 */
        .anchor-panel {
            position: sticky;
            top: 100px;
            background: #fff;
            border-radius: 16px;
            border: 1px solid var(--border-light);
            padding: 24px;
            box-shadow: var(--shadow-sm);
        }

        .anchor-panel h4 {
            font-size: 15px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 14px;
        }

        .anchor-panel .anchor-link {
            display: block;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #475569;
            margin-bottom: 4px;
            transition: background 0.2s, color 0.2s;
            border-left: 3px solid transparent;
        }

        .anchor-panel .anchor-link:hover {
            background: var(--brand-50);
            color: var(--brand-700);
            border-left-color: var(--brand-500);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .section-padding {
                padding: 70px 0;
            }

            .search-box {
                width: 140px;
            }

            .desktop-nav {
                gap: 20px;
            }
        }

        @media (max-width: 860px) {
            .desktop-nav {
                display: none !important;
            }

            .search-box {
                display: none !important;
            }

            .desktop-nav.lg\\:inline-flex {
                display: none !important;
            }

            .mobile-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .category-hero {
                padding: 60px 0;
            }

            .section-title {
                font-size: 28px;
            }

            .cta-section {
                padding: 30px 24px;
            }
        }

        @media (max-width: 520px) {
            .container-custom {
                padding-left: 18px;
                padding-right: 18px;
            }

            .section-padding {
                padding: 50px 0;
            }

            .section-title {
                font-size: 24px;
            }

            .category-hero {
                padding: 45px 0;
            }

            .breadcrumb {
                font-size: 13px;
            }

            .article-card .cover-wrap {
                height: 150px;
            }
        }

/* roulang page: article */
:root {
  --brand-50: #f0f5fa;
  --brand-100: #dce7f0;
  --brand-200: #b9cfe0;
  --brand-300: #8fb0c9;
  --brand-400: #5a87ad;
  --brand-500: #3a6a94;
  --brand-600: #245179;
  --brand-700: #1e3a5f;
  --brand-800: #162d4a;
  --brand-900: #0f1f33;
  --accent-400: #d4b36a;
  --accent-500: #c8985a;
  --accent-600: #b07d3d;
  --text-main: #1f2937;
  --text-weak: #6b7280;
  --bg-soft: #f8f7f4;
  --border-soft: #e5e7eb;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-card: 0 4px 16px rgba(30, 58, 95, 0.06);
  --shadow-hover: 0 12px 32px rgba(30, 58, 95, 0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-soft);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color .25s ease; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
.container-custom { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,58,95,0.08);
  box-shadow: 0 2px 12px rgba(30,58,95,0.04);
}
.nav-link {
  position: relative;
  font-size: .925rem;
  font-weight: 500;
  color: #4b5563;
  padding: 6px 2px;
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-500);
  transition: width .25s ease;
}
.nav-link:hover { color: var(--brand-700); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--brand-700); font-weight: 600; }
.nav-link.active::after { width: 100%; }
.search-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #f3f4f6;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: .35rem .9rem;
  transition: all .25s ease;
}
.search-box:focus-within { border-color: var(--brand-300); background: #fff; box-shadow: 0 0 0 3px rgba(30,58,95,0.08); }
.search-box i { font-size: .8rem; color: #9ca3af; }
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: .85rem;
  width: 110px;
  color: var(--text-main);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand-700);
  color: #fff;
  font-weight: 500;
  font-size: .925rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .65rem 1.35rem;
  transition: all .25s ease;
  text-align: center;
}
.btn-primary:hover { background: var(--brand-800); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,95,0.25); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus, .nav-link:focus, .search-box input:focus { outline: 2px solid var(--brand-400); outline-offset: 2px; }
.mobile-toggle { display: flex; }
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border-soft);
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 24px rgba(30,58,95,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu-link {
  display: block;
  padding: .7rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1px solid #f3f4f6;
}
.mobile-menu-link:hover { color: var(--brand-700); padding-left: .4rem; }
.mobile-menu-link.active { color: var(--brand-700); font-weight: 600; }

/* Article Hero */
.article-hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.article-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.article-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,31,51,0.96), rgba(22,45,74,0.9) 45%, rgba(30,58,95,0.75));
}
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }

/* Article Main */
.article-wrapper { padding: 3rem 0 3.5rem; }
.article-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(30,58,95,0.05);
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #4b5563;
  word-break: break-word;
}
.article-body > * + * { margin-top: 1.25em; }
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-800);
  margin-top: 2em;
  border-left: 4px solid var(--accent-500);
  padding-left: .85rem;
  line-height: 1.4;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-700);
  margin-top: 1.5em;
}
.article-body p { color: #4b5563; }
.article-body a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--brand-800); }
.article-body ul { list-style: disc; padding-left: 1.5em; }
.article-body ol { list-style: decimal; padding-left: 1.5em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote {
  border-left: 4px solid var(--brand-200);
  background: var(--bg-soft);
  padding: 1rem 1.25rem;
  border-radius: .75rem;
  color: var(--text-weak);
  font-style: normal;
}
.article-body img { border-radius: 1rem; margin: 1.5em 0; box-shadow: var(--shadow-card); }
.article-body pre {
  background: var(--brand-900);
  color: #e5e7eb;
  padding: 1.25rem;
  border-radius: .75rem;
  overflow-x: auto;
  font-size: .9rem;
}
.article-body code { font-family: ui-monospace, monospace; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 500;
  background: var(--brand-50);
  color: var(--brand-600);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  padding: .3rem .85rem;
  transition: all .2s;
}
.tag:hover { background: var(--brand-100); }

/* Sidebar */
.sidebar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(30,58,95,0.05);
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .75rem;
  border-radius: .75rem;
  font-size: .9rem;
  font-weight: 500;
  color: #4b5563;
  transition: all .2s;
}
.sidebar-link i { width: 18px; text-align: center; color: var(--brand-400); font-size: .9rem; }
.sidebar-link:hover { background: var(--brand-50); color: var(--brand-700); padding-left: 1rem; }

/* Section */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-600);
  background: rgba(200,152,90,0.1);
  border: 1px solid rgba(200,152,90,0.2);
  border-radius: 999px;
  padding: .3rem 1rem;
}
.section-title { font-size: 1.75rem; font-weight: 700; color: var(--brand-800); margin-top: .6rem; }

/* Gallery Cards */
.gallery-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(30,58,95,0.04);
  transition: all .3s ease;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.gallery-cover { aspect-ratio: 16/10; overflow: hidden; }
.gallery-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-card:hover .gallery-cover img { transform: scale(1.05); }
.gallery-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--brand-800); margin-bottom: .35rem; }
.gallery-card p { font-size: .875rem; color: var(--text-weak); line-height: 1.6; }
.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-600);
  margin-top: .8rem;
  transition: gap .2s;
}
.gallery-card:hover .gallery-link { gap: .7rem; }

/* Stats */
.stats-section { position: relative; padding: 4.5rem 0; }
.stat-card {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1rem;
  backdrop-filter: blur(6px);
  transition: all .3s;
}
.stat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.stat-num { font-size: 2.2rem; font-weight: 800; color: #fff; display: block; line-height: 1.2; }
.stat-label { font-size: .875rem; color: rgba(255,255,255,0.65); display: block; margin-top: .4rem; }

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid rgba(30,58,95,0.06);
  border-radius: var(--radius-lg);
  padding: 0 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s;
}
.faq-item:hover { box-shadow: var(--shadow-hover); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-800);
  padding: 1.15rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .8rem;
  color: var(--accent-500);
  transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { padding-bottom: 1.25rem; font-size: .925rem; color: var(--text-weak); line-height: 1.7; }

/* CTA */
.cta-section { position: relative; padding: 5rem 0; text-align: center; }
.cta-section .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-section .cta-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,31,51,0.95), rgba(30,58,95,0.85)); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  font-weight: 500;
  border-radius: 999px;
  padding: .65rem 1.5rem;
  transition: all .25s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }

/* Footer */
.site-footer {
  background: var(--brand-900);
  color: #fff;
  padding: 3.5rem 0 0;
}
.footer-link { color: rgba(255,255,255,0.55); font-size: .9rem; transition: all .2s; }
.footer-link:hover { color: #fff; padding-left: .3rem; }

/* Not Found */
.not-found { text-align: center; padding: 4rem 1rem; }
.not-found i { color: #d1d5db; margin-bottom: 1rem; }
.not-found h2 { font-size: 1.75rem; font-weight: 700; color: var(--brand-800); margin-bottom: .5rem; }
.not-found p { color: var(--text-weak); margin-bottom: 1.5rem; }

/* Responsive */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .desktop-nav.lg\:inline-flex { display: none; }
  .article-wrapper .lg\:grid-cols-\[1fr_320px\] { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .search-box { display: none; }
  .article-hero { padding: 3rem 0 2.5rem; }
  .article-hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.4rem; }
  .stat-num { font-size: 1.6rem; }
  .container-custom { padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 520px) {
  .article-card { padding: 1.5rem !important; }
  .article-hero .breadcrumb { flex-wrap: wrap; }
  .article-hero h1 { font-size: 1.5rem; }
  .faq-item { padding: 0 1.1rem; }
  .cta-section .btn-primary, .cta-section .btn-outline { padding: .6rem 1.1rem; font-size: .85rem; }
}

/* roulang page: category2 */
:root {
            --brand: #1e4ddb;
            --brand-dark: #1a3791;
            --accent: #f59e0b;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --bg-light: #f8fafc;
            --border: #e2e8f0;
            --radius: 16px;
            --shadow: 0 4px 24px rgba(26, 55, 145, 0.08);
        }
        
        * { 
            box-sizing: border-box; 
            margin: 0;
            padding: 0;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background-color: #ffffff;
            color: var(--text-main);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        
        .container-custom {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 20px;
            padding-right: 20px;
        }
        
        /* 头部导航 */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            box-shadow: 0 1px 4px rgba(0,0,0,0.04);
        }
        
        .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: #475569;
            padding: 8px 4px;
            position: relative;
            transition: color 0.3s ease;
            text-decoration: none;
        }
        
        .nav-link:hover {
            color: var(--brand);
        }
        
        .nav-link.active {
            color: var(--brand);
            font-weight: 600;
        }
        
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            border-radius: 3px 3px 0 0;
            background: var(--brand);
        }
        
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 28px;
            border-radius: 12px;
            background: var(--brand);
            color: #fff;
            font-weight: 600;
            font-size: 15px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            box-shadow: 0 4px 14px rgba(30, 77, 219, 0.3);
        }
        
        .btn-primary:hover {
            background: var(--brand-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(30, 77, 219, 0.4);
        }
        
        .btn-primary:focus-visible,
        .nav-link:focus-visible,
        .footer-link:focus-visible {
            outline: 2px solid var(--brand);
            outline-offset: 2px;
        }
        
        .search-box {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f1f5f9;
            border: 1px solid transparent;
            border-radius: 999px;
            padding: 8px 16px;
            width: 200px;
            transition: all 0.3s;
        }
        
        .search-box:focus-within {
            border-color: var(--brand);
            background: #fff;
            box-shadow: 0 0 0 3px rgba(30, 77, 219, 0.1);
        }
        
        .search-box i {
            color: #94a3b8;
            font-size: 14px;
        }
        
        .search-box input {
            border: none;
            outline: none;
            background: transparent;
            font-size: 14px;
            color: var(--text-main);
            width: 100%;
        }
        
        .search-box input::placeholder {
            color: #94a3b8;
        }
        
        .mobile-toggle {
            display: none;
        }
        
        /* 移动端导航 */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            background: #fff;
            border-bottom: 1px solid var(--border);
            padding: 16px 20px;
            z-index: 99;
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        }
        
        .mobile-nav.show {
            display: block;
        }
        
        .mobile-nav a {
            display: block;
            padding: 12px 8px;
            font-size: 15px;
            font-weight: 500;
            color: #475569;
            text-decoration: none;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .mobile-nav a:last-child {
            border-bottom: none;
        }
        
        .mobile-nav a.active {
            color: var(--brand);
            background: #f0f4ff;
            border-radius: 8px;
        }
        
        /* 分类页横幅 */
        .page-hero {
            position: relative;
            padding: 80px 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .page-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 77, 219, 0.75) 100%);
        }
        
        .page-hero .hero-content {
            position: relative;
            z-index: 1;
        }
        
        /* 公告卡片 */
        .announce-card {
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 24px;
            transition: all 0.4s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .announce-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0,0,0,0.08);
            border-color: #c7d7fe;
        }
        
        /* 标签 */
        .tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 600;
            line-height: 1.6;
        }
        
        .tag-blue {
            background: #eff4ff;
            color: #1e4ddb;
        }
        
        .tag-orange {
            background: #fef3c7;
            color: #b45309;
        }
        
        .tag-green {
            background: #d1fae5;
            color: #065f46;
        }
        
        .tag-purple {
            background: #ede9fe;
            color: #5b21b6;
        }
        
        /* 统计卡片 */
        .stat-card {
            background: #fff;
            border-radius: var(--radius);
            padding: 28px 20px;
            text-align: center;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.06);
        }
        
        /* FAQ */
        .faq-item {
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 20px 24px;
            margin-bottom: 12px;
            transition: all 0.3s ease;
            background: #fff;
        }
        
        .faq-item:hover {
            border-color: #c7d7fe;
            box-shadow: 0 4px 16px rgba(0,0,0,0.05);
        }
        
        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            font-weight: 600;
            color: var(--text-main);
        }
        
        .faq-answer {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.7;
            padding-top: 12px;
            display: none;
        }
        
        /* 页脚 */
        .site-footer {
            background: #0f172a;
            color: #94a3b8;
            padding: 60px 0 0;
            margin-top: 80px;
        }
        
        .footer-link {
            color: #94a3b8;
            font-size: 14px;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-link:hover {
            color: #fff;
        }
        
        /* 板块标题 */
        .section-title {
            font-size: 28px;
            font-weight: 800;
            color: var(--text-main);
            letter-spacing: -0.5px;
        }
        
        .section-subtitle {
            color: var(--text-muted);
            font-size: 16px;
            max-width: 640px;
        }
        
        /* 筛选按钮 */
        .filter-btn {
            padding: 8px 20px;
            border-radius: 999px;
            font-size: 14px;
            font-weight: 500;
            background: #f1f5f9;
            color: #475569;
            border: 1px solid transparent;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        .filter-btn:hover {
            background: #e2e8f0;
            color: var(--text-main);
            transform: translateY(-1px);
        }
        
        .filter-btn.active {
            background: var(--brand);
            color: #fff;
            box-shadow: 0 4px 12px rgba(30, 77, 219, 0.3);
        }
        
        /* 图片卡片 */
        .img-card {
            position: relative;
            border-radius: 14px;
            overflow: hidden;
            aspect-ratio: 16/9;
        }
        
        .img-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        
        .img-card:hover img {
            transform: scale(1.05);
        }
        
        /* 响应式 */
        @media (max-width: 1024px) {
            .desktop-nav {
                display: none !important;
            }
            .mobile-toggle {
                display: flex !important;
            }
            .search-box {
                width: 160px;
            }
        }
        
        @media (max-width: 768px) {
            .page-hero {
                padding: 60px 0;
            }
            .page-hero h1 {
                font-size: 30px !important;
            }
            .section-title {
                font-size: 24px;
            }
            .search-box {
                display: none;
            }
        }
        
        @media (max-width: 520px) {
            .page-hero {
                padding: 48px 0;
            }
            .page-hero h1 {
                font-size: 26px !important;
            }
            .container-custom {
                padding-left: 16px;
                padding-right: 16px;
            }
            .announce-card {
                padding: 18px;
            }
        }
