/* roulang page: index */
:root {
      --primary-color: #0b2e63;
      --primary-hover: #08224a;
      --accent-color: #0066cc;
      --accent-light: #e8f2fc;
      --text-main: #1f2d3d;
      --text-muted: #657786;
      --border-color: #e2e8f0;
      --bg-light: #f7fafc;
      --bg-white: #ffffff;
      --card-shadow: 0 4px 14px rgba(11, 46, 99, 0.06);
      --card-hover-shadow: 0 8px 24px rgba(11, 46, 99, 0.12);
      --transition: all 0.25s ease-in-out;
    }

    * { box-sizing: border-box; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      color: var(--text-main);
      background-color: #f4f7fb;
      margin: 0;
      line-height: 1.6;
    }

    /* Top Strip Notification */
    .top-strip {
      background-color: #081d3e;
      color: #9cb3d3;
      font-size: 13px;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .top-strip a { color: #ccdcf0; margin-left: 15px; }
    .top-strip a:hover { color: #ffffff; }

    /* Header & Navigation */
    .site-header {
      background: var(--bg-white);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 999;
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      font-size: 20px;
      font-weight: 700;
      color: var(--primary-color);
    }
    .brand-logo i {
      font-size: 24px;
      color: var(--accent-color);
      margin-right: 8px;
    }
    .brand-logo .brand-badge {
      font-size: 12px;
      background: var(--accent-light);
      color: var(--accent-color);
      padding: 2px 8px;
      border-radius: 4px;
      margin-left: 10px;
      font-weight: normal;
    }
    .main-nav {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      gap: 28px;
    }
    .main-nav li a {
      color: var(--text-main);
      font-weight: 500;
      font-size: 15px;
      text-decoration: none;
      padding: 8px 0;
      position: relative;
      transition: var(--transition);
    }
    .main-nav li a.active,
    .main-nav li a:hover {
      color: var(--accent-color);
    }
    .main-nav li a.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--accent-color);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .search-input-wrap {
      position: relative;
      width: 200px;
    }
    .search-input-wrap input {
      margin-bottom: 0;
      height: 38px;
      border-radius: 20px;
      font-size: 13px;
      padding-left: 36px;
      border: 1px solid var(--border-color);
      background: #f8fafc;
    }
    .search-input-wrap i {
      position: absolute;
      left: 12px;
      top: 12px;
      color: var(--text-muted);
      font-size: 14px;
    }
    .btn-apply {
      background: var(--accent-color);
      color: #fff;
      font-size: 14px;
      padding: 8px 18px;
      border-radius: 20px;
      text-decoration: none;
      font-weight: 500;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .btn-apply:hover {
      background: var(--primary-color);
      color: #fff;
    }

    /* Hero Section */
    .hero-banner {
      background: linear-gradient(135deg, #0b2e63 0%, #17427d 60%, #0d3875 100%);
      color: #ffffff;
      padding: 60px 0 70px;
      position: relative;
      overflow: hidden;
    }
    .hero-banner::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 45%;
      background: url('/assets/images/qly-securities-10.jpg') no-repeat center right / cover;
      opacity: 0.18;
      mix-blend-mode: overlay;
      pointer-events: none;
    }
    .hero-content {
      position: relative;
      z-index: 2;
    }
    .hero-tag {
      display: inline-block;
      background: rgba(255, 255, 255, 0.12);
      color: #90cdf4;
      padding: 4px 12px;
      border-radius: 14px;
      font-size: 13px;
      margin-bottom: 16px;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .hero-title {
      font-size: 38px;
      line-height: 1.25;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 18px;
    }
    .hero-desc {
      font-size: 16px;
      line-height: 1.7;
      color: #d1e2f9;
      margin-bottom: 30px;
      max-width: 680px;
    }
    .hero-features {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      margin-bottom: 32px;
    }
    .hero-feature-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #f0f7ff;
    }
    .hero-feature-item i {
      color: #38b2ac;
      font-size: 16px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
    }
    .btn-hero-primary {
      background: #3182ce;
      color: #ffffff;
      padding: 12px 28px;
      font-size: 15px;
      font-weight: 600;
      border-radius: 6px;
      text-decoration: none;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-hero-primary:hover {
      background: #2b6cb0;
      color: #fff;
    }
    .btn-hero-outline {
      border: 1px solid rgba(255, 255, 255, 0.4);
      color: #ffffff;
      padding: 12px 26px;
      font-size: 15px;
      border-radius: 6px;
      text-decoration: none;
      transition: var(--transition);
    }
    .btn-hero-outline:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    /* Metric Grid */
    .metric-grid-container {
      margin-top: -35px;
      position: relative;
      z-index: 10;
    }
    .metric-card {
      background: #ffffff;
      border-radius: 8px;
      padding: 24px 20px;
      box-shadow: var(--card-shadow);
      border: 1px solid #edf2f7;
      display: flex;
      align-items: center;
      gap: 16px;
      transition: var(--transition);
    }
    .metric-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--card-hover-shadow);
    }
    .metric-icon {
      width: 52px;
      height: 52px;
      border-radius: 8px;
      background: var(--accent-light);
      color: var(--accent-color);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      flex-shrink: 0;
    }
    .metric-data h4 {
      margin: 0 0 4px;
      font-size: 22px;
      font-weight: 700;
      color: var(--primary-color);
    }
    .metric-data p {
      margin: 0;
      font-size: 13px;
      color: var(--text-muted);
    }

    /* Section Global */
    .page-section {
      padding: 65px 0;
    }
    .section-header {
      margin-bottom: 40px;
      text-align: center;
    }
    .section-header.text-left {
      text-align: left;
    }
    .section-subtitle {
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-color);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 6px;
      display: block;
    }
    .section-title {
      font-size: 28px;
      font-weight: 700;
      color: var(--primary-color);
      margin: 0 0 10px;
    }
    .section-lead {
      font-size: 15px;
      color: var(--text-muted);
      max-width: 650px;
      margin: 0 auto;
    }
    .section-header.text-left .section-lead {
      margin: 0;
    }

    /* Tier Rate Table */
    .table-container {
      background: #ffffff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      border: 1px solid #edf2f7;
    }
    .styled-rate-table {
      width: 100%;
      margin: 0;
      border-collapse: collapse;
    }
    .styled-rate-table thead th {
      background: #0f356f;
      color: #ffffff;
      padding: 14px 18px;
      font-size: 14px;
      font-weight: 600;
      text-align: left;
      border: none;
    }
    .styled-rate-table tbody tr {
      border-bottom: 1px solid #edf2f7;
      transition: background 0.15s ease;
    }
    .styled-rate-table tbody tr:hover {
      background-color: #f7fafc;
    }
    .styled-rate-table td {
      padding: 16px 18px;
      font-size: 14px;
      color: var(--text-main);
      border: none;
    }
    .badge-tier {
      display: inline-block;
      padding: 3px 10px;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 600;
    }
    .badge-primary { background: #e2e8f0; color: #2d3748; }
    .badge-gold { background: #feebc8; color: #7b341e; }
    .badge-vip { background: #c6f6d5; color: #22543d; }
    .rate-highlight {
      font-weight: 700;
      color: #c53030;
      font-size: 16px;
    }

    /* Flow Steps */
    .flow-step-box {
      background: #ffffff;
      border-radius: 8px;
      padding: 24px;
      border: 1px solid #edf2f7;
      position: relative;
      height: 100%;
      box-shadow: var(--card-shadow);
      transition: var(--transition);
    }
    .flow-step-box:hover {
      border-color: #cbd5e0;
      box-shadow: var(--card-hover-shadow);
    }
    .step-number {
      width: 32px;
      height: 32px;
      background: var(--accent-light);
      color: var(--accent-color);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 14px;
      margin-bottom: 12px;
    }
    .flow-step-box h5 {
      font-size: 17px;
      font-weight: 600;
      margin: 0 0 10px;
      color: var(--primary-color);
    }
    .flow-step-box p {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0;
    }

    /* Calculator & Cost Card */
    .calc-card {
      background: #ffffff;
      border-radius: 8px;
      padding: 30px;
      border: 1px solid #edf2f7;
      box-shadow: var(--card-shadow);
    }
    .calc-card label {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 6px;
    }
    .calc-card input, .calc-card select {
      border: 1px solid #cbd5e0;
      border-radius: 4px;
      height: 40px;
      margin-bottom: 18px;
      font-size: 14px;
    }
    .calc-result-box {
      background: #f8fafc;
      border-radius: 6px;
      padding: 20px;
      border: 1px dashed #cbd5e0;
      text-align: center;
    }
    .calc-result-box .num {
      font-size: 28px;
      font-weight: 700;
      color: #c53030;
      margin: 6px 0;
    }

    /* CMS Content Feed */
    .cms-card {
      background: #ffffff;
      border-radius: 8px;
      border: 1px solid #e2e8f0;
      overflow: hidden;
      margin-bottom: 24px;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      height: calc(100% - 24px);
    }
    .cms-card:hover {
      box-shadow: var(--card-hover-shadow);
      transform: translateY(-2px);
    }
    .cms-card-body {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .cms-meta {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .cms-category-pill {
      background: var(--accent-light);
      color: var(--accent-color);
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: 500;
    }
    .cms-card-title {
      font-size: 16px;
      font-weight: 700;
      line-height: 1.45;
      margin-bottom: 10px;
    }
    .cms-card-title a {
      color: var(--primary-color);
      text-decoration: none;
      transition: color 0.2s;
    }
    .cms-card-title a:hover {
      color: var(--accent-color);
    }
    .cms-card-excerpt {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
      flex-grow: 1;
    }
    .cms-card-link {
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-color);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .cms-card-link:hover {
      color: var(--primary-color);
    }

    /* Risk Warning Alert Box */
    .risk-banner {
      background: #fffaf0;
      border: 1px solid #feebc8;
      border-left: 4px solid #dd6b20;
      border-radius: 6px;
      padding: 20px;
      margin-top: 30px;
    }
    .risk-banner h5 {
      color: #9c4221;
      font-size: 15px;
      font-weight: 700;
      margin: 0 0 6px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .risk-banner p {
      color: #7b341e;
      font-size: 13px;
      margin: 0;
      line-height: 1.6;
    }

    /* FAQ Section */
    .faq-accordion-item {
      background: #ffffff;
      border-radius: 6px;
      border: 1px solid #edf2f7;
      margin-bottom: 12px;
      overflow: hidden;
    }
    .faq-question {
      padding: 18px 20px;
      font-size: 15px;
      font-weight: 600;
      color: var(--primary-color);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
      background: #ffffff;
    }
    .faq-answer {
      padding: 0 20px 18px 20px;
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.6;
      border-top: 1px solid #edf2f7;
      padding-top: 14px;
    }

    /* Category Entry Box */
    .category-cta-box {
      background: linear-gradient(135deg, #0b2e63 0%, #1a498b 100%);
      color: #ffffff;
      border-radius: 8px;
      padding: 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: var(--card-shadow);
    }
    .category-cta-box h3 {
      color: #ffffff;
      font-size: 24px;
      font-weight: 700;
      margin: 0 0 8px;
    }
    .category-cta-box p {
      color: #cbdcf2;
      font-size: 14px;
      margin: 0;
      max-width: 650px;
    }

    /* Footer */
    .site-footer {
      background: #081d3e;
      color: #a0aec0;
      padding: 50px 0 20px;
      font-size: 13.5px;
      border-top: 3px solid var(--accent-color);
    }
    .footer-title {
      color: #ffffff;
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 16px;
    }
    .footer-links {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a {
      color: #a0aec0;
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-links a:hover {
      color: #ffffff;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      margin-top: 40px;
      padding-top: 20px;
      font-size: 12.5px;
      text-align: center;
      color: #718096;
    }

    /* Responsive */
    @media screen and (max-width: 1024px) {
      .hero-title { font-size: 32px; }
      .search-input-wrap { display: none; }
    }
    @media screen and (max-width: 768px) {
      .header-inner { height: auto; padding: 14px 0; flex-wrap: wrap; }
      .main-nav { width: 100%; margin-top: 12px; gap: 14px; justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
      .hero-title { font-size: 26px; }
      .hero-banner { padding: 40px 0; }
      .hero-buttons { flex-direction: column; }
      .category-cta-box { flex-direction: column; text-align: center; gap: 20px; }
      .metric-grid-container { margin-top: 15px; }
      .calc-card { margin-top: 24px; }
    }
    @media screen and (max-width: 520px) {
      .metric-card { flex-direction: column; text-align: center; }
      .hero-features { flex-direction: column; gap: 10px; }
    }

/* roulang page: article */
:root {
    --primary-color: #0b2e63;
    --primary-hover: #08224a;
    --accent-color: #0066cc;
    --accent-light: #e8f2fc;
    --text-main: #1f2d3d;
    --text-muted: #657786;
    --border-color: #e2e8f0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --card-shadow: 0 4px 14px rgba(11, 46, 99, 0.06);
    --card-hover-shadow: 0 8px 24px rgba(11, 46, 99, 0.12);
    --transition: all 0.25s ease-in-out;
  }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background-color: #f4f7fb;
    margin: 0;
    line-height: 1.6;
  }
  .site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
  }
  .brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
  }
  .brand-logo i {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 8px;
  }
  .brand-logo .brand-badge {
    font-size: 12px;
    background: var(--accent-light);
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: normal;
  }
  .main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
  }
  .main-nav li a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
  }
  .main-nav li a.active,
  .main-nav li a:hover {
    color: var(--accent-color);
  }
  .main-nav li a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .search-input-wrap {
    position: relative;
    width: 200px;
  }
  .search-input-wrap input {
    margin-bottom: 0;
    height: 38px;
    border-radius: 20px;
    font-size: 13px;
    padding-left: 36px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
  }
  .search-input-wrap i {
    position: absolute;
    left: 12px;
    top: 12px;
    color: var(--text-muted);
    font-size: 14px;
  }
  .btn-apply {
    background: var(--accent-color);
    color: #fff;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .btn-apply:hover {
    background: var(--primary-color);
    color: #fff;
  }

  .breadcrumb-wrap {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    font-size: 13px;
  }
  .breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-muted);
  }
  .breadcrumb-nav a {
    color: var(--text-muted);
    text-decoration: none;
  }
  .breadcrumb-nav a:hover {
    color: var(--accent-color);
  }
  .breadcrumb-nav .sep {
    font-size: 11px;
    color: #a0aec0;
  }
  .breadcrumb-nav .current {
    color: var(--text-main);
    font-weight: 500;
  }

  .article-container {
    padding: 40px 0 70px;
  }
  .article-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 38px 44px;
    box-shadow: var(--card-shadow);
    border: 1px solid #edf2f7;
  }
  .article-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 22px;
    margin-bottom: 28px;
  }
  .article-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
  }
  .article-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary-color);
    margin: 0 0 16px;
  }
  .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 13px;
  }
  .article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .article-banner-visual {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    max-height: 290px;
  }
  .article-banner-visual img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
  }
  .article-content {
    font-size: 16px;
    line-height: 1.85;
    color: #2d3748;
  }
  .article-content p {
    margin-bottom: 20px;
  }
  .article-content h2, .article-content h3 {
    color: var(--primary-color);
    margin-top: 32px;
    margin-bottom: 14px;
    font-weight: 700;
  }
  .article-content h2 {
    font-size: 22px;
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
  }
  .article-content h3 {
    font-size: 18px;
  }
  .article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
  }
  .article-content li {
    margin-bottom: 8px;
  }
  .article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
  }
  .article-content th, .article-content td {
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    text-align: left;
  }
  .article-content th {
    background-color: #f7fafc;
    color: var(--primary-color);
    font-weight: 600;
  }

  .risk-notice-panel {
    margin-top: 40px;
    background: #fbfdff;
    border-left: 4px solid #dd6b20;
    padding: 20px 24px;
    border-radius: 0 6px 6px 0;
    border: 1px solid #edf2f7;
    border-left-width: 4px;
  }
  .risk-notice-title {
    font-size: 15px;
    font-weight: 700;
    color: #c05621;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .risk-notice-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
  }

  .sidebar-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid #edf2f7;
    margin-bottom: 24px;
  }
  .sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-img-box {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
  }
  .sidebar-img-box img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
  }
  .sidebar-info-row {
    font-size: 13.5px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #edf2f7;
  }
  .sidebar-info-row span:first-child {
    color: var(--text-muted);
  }
  .sidebar-info-row span:last-child {
    color: var(--primary-color);
    font-weight: 600;
  }
  .sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .sidebar-list li {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f4f8;
  }
  .sidebar-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .sidebar-list a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
  }
  .sidebar-list a:hover {
    color: var(--accent-color);
  }
  .sidebar-list .post-date {
    font-size: 12px;
    color: #a0aec0;
    margin-top: 5px;
    display: block;
  }

  .site-footer {
    background: #071e42;
    color: #cbd5e0;
    padding: 55px 0 25px;
    border-top: 1px solid #143567;
  }
  .footer-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
  }
  .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .footer-links li {
    margin-bottom: 10px;
  }
  .footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 13.5px;
    transition: var(--transition);
  }
  .footer-links a:hover {
    color: #ffffff;
  }
  .footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid #17386d;
    font-size: 12.5px;
    color: #718096;
    text-align: center;
  }

  @media screen and (max-width: 1024px) {
    .main-nav {
      gap: 16px;
    }
    .search-input-wrap {
      display: none;
    }
  }
  @media screen and (max-width: 768px) {
    .header-inner {
      height: 60px;
    }
    .brand-logo {
      font-size: 17px;
    }
    .main-nav {
      display: none;
    }
    .article-card {
      padding: 24px 18px;
    }
    .article-title {
      font-size: 22px;
    }
    .article-meta {
      gap: 12px;
      font-size: 12px;
    }
    .article-banner-visual img {
      height: 180px;
    }
  }

/* roulang page: category1 */
:root {
      --primary-color: #0b2e63;
      --primary-hover: #08224a;
      --accent-color: #0066cc;
      --accent-light: #e8f2fc;
      --text-main: #1f2d3d;
      --text-muted: #657786;
      --border-color: #e2e8f0;
      --bg-light: #f7fafc;
      --bg-white: #ffffff;
      --card-shadow: 0 4px 14px rgba(11, 46, 99, 0.06);
      --card-hover-shadow: 0 8px 24px rgba(11, 46, 99, 0.12);
      --transition: all 0.25s ease-in-out;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      color: var(--text-main);
      background-color: #f4f7fb;
      margin: 0;
      line-height: 1.6;
    }
    .site-header {
      background: var(--bg-white);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 999;
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      font-size: 20px;
      font-weight: 700;
      color: var(--primary-color);
    }
    .brand-logo i {
      font-size: 24px;
      color: var(--accent-color);
      margin-right: 8px;
    }
    .brand-logo .brand-badge {
      font-size: 12px;
      background: var(--accent-light);
      color: var(--accent-color);
      padding: 2px 8px;
      border-radius: 4px;
      margin-left: 10px;
      font-weight: normal;
    }
    .main-nav {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      gap: 28px;
    }
    .main-nav li a {
      color: var(--text-main);
      font-weight: 500;
      font-size: 15px;
      text-decoration: none;
      padding: 8px 0;
      position: relative;
      transition: var(--transition);
    }
    .main-nav li a.active,
    .main-nav li a:hover {
      color: var(--accent-color);
    }
    .main-nav li a.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--accent-color);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .search-input-wrap {
      position: relative;
      width: 200px;
    }
    .search-input-wrap input {
      margin-bottom: 0;
      height: 38px;
      border-radius: 20px;
      font-size: 13px;
      padding-left: 36px;
      border: 1px solid var(--border-color);
      background: #f8fafc;
    }
    .search-input-wrap i {
      position: absolute;
      left: 12px;
      top: 12px;
      color: var(--text-muted);
      font-size: 14px;
    }
    .btn-apply {
      background: var(--accent-color);
      color: #fff;
      font-size: 14px;
      padding: 8px 18px;
      border-radius: 20px;
      text-decoration: none;
      font-weight: 500;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .btn-apply:hover {
      background: var(--primary-color);
      color: #fff;
    }

    /* Category Hero */
    .cat-hero {
      background: linear-gradient(135deg, #0b2e63 0%, #17427d 60%, #0d3875 100%);
      color: #ffffff;
      padding: 55px 0 65px;
      position: relative;
      overflow: hidden;
    }
    .cat-hero::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 45%;
      background: url('/assets/images/qly-securities-10.jpg') no-repeat center right / cover;
      opacity: 0.18;
      mix-blend-mode: overlay;
      pointer-events: none;
    }
    .cat-hero-content {
      position: relative;
      z-index: 2;
    }
    .cat-hero-tag {
      display: inline-block;
      background: rgba(255, 255, 255, 0.12);
      color: #90cdf4;
      padding: 4px 12px;
      border-radius: 14px;
      font-size: 13px;
      margin-bottom: 16px;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .cat-hero-title {
      font-size: 34px;
      line-height: 1.3;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 16px;
    }
    .cat-hero-desc {
      font-size: 15px;
      line-height: 1.7;
      color: #d1e2f9;
      margin-bottom: 24px;
      max-width: 720px;
    }
    .cat-hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      font-size: 13.5px;
      color: #edf2f7;
    }
    .cat-hero-meta span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .cat-hero-meta i {
      color: #38b2ac;
    }

    /* Common Section */
    .page-section {
      padding: 60px 0;
    }
    .bg-alt {
      background-color: #ffffff;
    }
    .section-header {
      margin-bottom: 35px;
    }
    .section-subtitle {
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-color);
      letter-spacing: 0.5px;
      margin-bottom: 6px;
      text-transform: uppercase;
    }
    .section-title {
      font-size: 26px;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 10px;
    }
    .section-intro {
      font-size: 14.5px;
      color: var(--text-muted);
      max-width: 720px;
      line-height: 1.65;
    }

    /* Rate Table Card */
    .rate-table-card {
      background: var(--bg-white);
      border-radius: 8px;
      box-shadow: var(--card-shadow);
      border: 1px solid #edf2f7;
      overflow: hidden;
      margin-bottom: 25px;
    }
    .rate-table-card table {
      width: 100%;
      margin: 0;
      border-collapse: collapse;
    }
    .rate-table-card th {
      background: #f8fafc;
      color: var(--primary-color);
      font-weight: 600;
      font-size: 14px;
      padding: 14px 18px;
      border-bottom: 1px solid #e2e8f0;
      text-align: left;
    }
    .rate-table-card td {
      padding: 15px 18px;
      border-bottom: 1px solid #edf2f7;
      font-size: 14px;
      color: var(--text-main);
    }
    .rate-table-card tr:last-child td {
      border-bottom: none;
    }
    .rate-highlight {
      font-size: 16px;
      font-weight: 700;
      color: #c53030;
    }
    .rate-badge {
      display: inline-block;
      padding: 2px 8px;
      font-size: 12px;
      border-radius: 4px;
      background: #edf2f7;
      color: #4a5568;
    }
    .rate-badge.active {
      background: #ebf8ff;
      color: #2b6cb0;
    }

    /* Step Feature Card */
    .step-card {
      background: var(--bg-white);
      border-radius: 8px;
      padding: 26px 22px;
      border: 1px solid #edf2f7;
      box-shadow: var(--card-shadow);
      height: 100%;
      position: relative;
      transition: var(--transition);
    }
    .step-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--card-hover-shadow);
    }
    .step-num {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--accent-light);
      color: var(--accent-color);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 15px;
      margin-bottom: 16px;
    }
    .step-card h4 {
      font-size: 17px;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 10px;
    }
    .step-card p {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.65;
      margin: 0;
    }

    /* Calculator Box */
    .calc-box {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 28px;
      box-shadow: var(--card-shadow);
    }
    .calc-row {
      display: flex;
      gap: 20px;
      margin-bottom: 18px;
    }
    .calc-col {
      flex: 1;
    }
    .calc-col label {
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 6px;
      display: block;
    }
    .calc-col input, .calc-col select {
      margin-bottom: 0;
      height: 40px;
      font-size: 14px;
      border: 1px solid #cbd5e0;
      border-radius: 4px;
    }
    .calc-result-panel {
      background: #f7fafc;
      border: 1px dashed #cbd5e0;
      border-radius: 6px;
      padding: 18px 20px;
      margin-top: 20px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      text-align: center;
    }
    .calc-res-item .label {
      font-size: 12.5px;
      color: var(--text-muted);
      margin-bottom: 4px;
      background: none;
      padding: 0;
    }
    .calc-res-item .val {
      font-size: 22px;
      font-weight: 700;
      color: var(--accent-color);
    }

    /* Media/Post Card */
    .post-card {
      background: var(--bg-white);
      border-radius: 8px;
      border: 1px solid #edf2f7;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      display: flex;
      flex-direction: column;
      height: 100%;
      transition: var(--transition);
    }
    .post-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--card-hover-shadow);
    }
    .post-thumb {
      height: 160px;
      overflow: hidden;
      background: #e2e8f0;
      position: relative;
    }
    .post-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .post-card:hover .post-thumb img {
      transform: scale(1.04);
    }
    .post-body {
      padding: 18px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .post-meta {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
      display: flex;
      justify-content: space-between;
    }
    .post-body h4 {
      font-size: 16px;
      font-weight: 700;
      color: var(--primary-color);
      margin: 0 0 10px;
      line-height: 1.4;
    }
    .post-body h4 a {
      color: inherit;
      text-decoration: none;
    }
    .post-body h4 a:hover {
      color: var(--accent-color);
    }
    .post-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 14px;
      flex-grow: 1;
    }
    .post-link {
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-color);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .post-link:hover {
      color: var(--primary-hover);
    }

    /* FAQ Accordion */
    .faq-list {
      background: #ffffff;
      border-radius: 8px;
      border: 1px solid #edf2f7;
      box-shadow: var(--card-shadow);
      overflow: hidden;
    }
    .faq-item {
      border-bottom: 1px solid #edf2f7;
      padding: 20px 24px;
    }
    .faq-item:last-child {
      border-bottom: none;
    }
    .faq-question {
      font-size: 16px;
      font-weight: 600;
      color: var(--primary-color);
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .faq-question i {
      color: var(--accent-color);
      font-size: 15px;
    }
    .faq-answer {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
      margin: 0;
      padding-left: 25px;
    }

    /* Footer */
    .site-footer {
      background: #081d3d;
      color: #cbd5e0;
      padding: 55px 0 25px;
      border-top: 1px solid #142a4f;
    }
    .footer-title {
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 16px;
    }
    .footer-links {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer-links li {
      margin-bottom: 9px;
    }
    .footer-links a {
      color: #a0aec0;
      font-size: 13px;
      text-decoration: none;
      transition: var(--transition);
    }
    .footer-links a:hover {
      color: #ffffff;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      margin-top: 40px;
      padding-top: 22px;
      font-size: 12px;
      color: #718096;
      text-align: center;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .main-nav { gap: 16px; }
      .search-input-wrap { width: 160px; }
    }
    @media (max-width: 768px) {
      .header-inner {
        flex-direction: column;
        height: auto;
        padding: 12px 0;
        gap: 12px;
      }
      .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
      }
      .nav-actions {
        width: 100%;
        justify-content: center;
      }
      .cat-hero-title {
        font-size: 26px;
      }
      .calc-row {
        flex-direction: column;
        gap: 12px;
      }
      .calc-result-panel {
        flex-direction: column;
        gap: 14px;
      }
    }
    @media (max-width: 520px) {
      .cat-hero {
        padding: 35px 0 45px;
      }
      .section-title {
        font-size: 22px;
      }
    }
