
  /* 使用独立命名空间，防止影响全局 */
  .lyl-cat-section {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    padding: 40px 20px;
    box-sizing: border-box;
  }

  .lyl-cat-section * {
    box-sizing: border-box;
  }

  .lyl-cat-container {
    max-width: 1440px;
    margin: 0 auto;
  }

  /* 头部样式 */
  .lyl-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .lyl-cat-header-text {
    flex: 1;
    min-width: 280px;
  }

  .lyl-cat-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    line-height: 1.3;
  }

  .lyl-cat-subtitle {
    font-size: 15px;
    color: #666666;
    margin: 0;
    max-width: 800px;
  }

  .lyl-cat-header-action {
    flex-shrink: 0;
    padding-top: 5px;
  }

  .lyl-cat-btn {
    display: inline-block;
    background-color: #eef2ff;
    color: #3b4cca;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
  }

  .lyl-cat-btn:hover {
    background-color: #dbe4ff;
  }

  /* 网格布局 */
  .lyl-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
  }

  /* 卡片样式 */
  .lyl-cat-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .lyl-cat-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #d0d0d0;
  }

  .lyl-cat-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px 0;
  }

  .lyl-cat-desc {
    font-size: 14px;
    color: #555555;
    margin: 0 0 16px 0;
    line-height: 1.5;
  }

  .lyl-cat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
  }

  .lyl-cat-list li {
    font-size: 13px;
    color: #555555;
    margin-bottom: 10px;
    line-height: 1.5;
    padding-left: 0;
  }

  .lyl-cat-list li strong {
    color: #1a1a2e;
    font-weight: 600;
  }

  /* 标签样式 */
  .lyl-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
  }

  .lyl-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
  }

  .lyl-tag-blue {
    background-color: #eef2ff;
    color: #3b4cca;
    border: 1px solid #c7d2fe;
  }

  .lyl-tag-orange {
    background-color: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
  }

  .lyl-tag-teal {
    background-color: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
  }

  .lyl-tag-purple {
    background-color: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
  }

  .lyl-tag-pink {
    background-color: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
  }

  .lyl-tag-green {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
  }

  /* 底部文字 */
  .lyl-cat-footer {
    font-size: 14px;
    color: #666666;
    padding: 0 5px;
  }

  .lyl-cat-footer p {
    margin: 0;
  }

  /* 移动端适配 */
  @media (max-width: 768px) {
    .lyl-cat-section {
      padding: 25px 15px;
    }

    .lyl-cat-title {
      font-size: 20px;
    }

    .lyl-cat-subtitle {
      font-size: 14px;
    }

    .lyl-cat-header {
      flex-direction: column;
      align-items: stretch;
      gap: 15px;
    }

    .lyl-cat-header-action {
      padding-top: 0;
      text-align: left;
    }

    .lyl-cat-btn {
      display: inline-block;
      width: 100%;
      text-align: center;
    }

    .lyl-cat-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .lyl-cat-card {
      padding: 20px;
    }

    .lyl-cat-name {
      font-size: 17px;
    }

    .lyl-cat-desc {
      font-size: 13px;
    }

    .lyl-cat-list li {
      font-size: 12px;
    }

    .lyl-tag {
      font-size: 11px;
      padding: 5px 12px;
    }

    .lyl-cat-footer {
      font-size: 13px;
    }
  }
