/* ===== interpret-cards.css ===== */
/* 解读卡片样式、卡片标题栏、核心断卦类、取象参考类、流派特色类、结果类、古籍引用标签、板块分组标题 */

/* ----- 解读板块卡片化 ----- */
  /* 解读卡片样式（覆盖基础样式） */
  #interpretContent .interpret-section {
    border:1px solid #c8b888;
    border-radius:10px;
    margin-bottom:18px;
    padding:0;
    overflow:hidden;
    background:var(--c-paper);
    box-shadow:0 2px 8px rgba(139,115,85,0.12);
    transition:box-shadow 0.2s;
  }
  .interpret-section:hover { box-shadow:0 4px 14px rgba(139,115,85,0.2); }
  /* 卡片标题栏 - 统一浅色背景，靠标题文字颜色区分类型 */
  .interpret-section > h4:first-child,
  .interpret-section > h4 {
    margin:0 !important;
    padding:12px 16px !important;
    font-size:15px !important;
    font-weight:700 !important;
    background:var(--c-bg) !important;
    border-bottom:1px solid var(--c-border-light);
    color:#1a2a25 !important;
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    letter-spacing:0.5px;
  }
  /* 标题栏内的小字说明 */
  .interpret-section > h4 span {
    font-size:12px !important;
    font-weight:500 !important;
    color:#5a6a65 !important;
    opacity:1;
  }
  /* 卡片内容区 */
  .interpret-section > *:not(h4):first-child,
  .interpret-section > h4 ~ * {
    padding:0 20px;
    color:#1a1a1a;
    line-height:1.85;
    font-size:14px;
  }
  .interpret-section > h4 ~ *:last-child {
    padding-bottom:16px;
  }
  .interpret-section > h4 ~ *:first-of-type {
    padding-top:14px;
  }
  .interpret-section p { color:#1a1a1a; line-height:1.85; font-size:14px; }
  /* 核心断卦类 - 深绿标题字 */
  .card-core > h4 { color:var(--c-primary) !important; }
  .card-core > h4 span[style*="font-size:11px"] {
    background:rgba(13,38,34,0.12) !important;
    color:var(--c-primary) !important;
    padding:2px 8px !important;
    border-radius:4px !important;
    font-size:11px !important;
    font-weight:600 !important;
    margin-left:6px !important;
  }
  /* 流派重点标签 - 强制白色文字 */
  .focus-tag { color:#fff !important; text-shadow:0 1px 2px rgba(0,0,0,0.5) !important; }
  /* 取象参考类 - 金色标题字 */
  .card-reference > h4 { color:var(--c-gold-dark) !important; }
  .card-reference > h4 span[style*="font-size:11px"] {
    background:rgba(154,122,32,0.15) !important;
    color:var(--c-gold-dark) !important;
    padding:2px 8px !important;
    border-radius:4px !important;
    font-size:11px !important;
    font-weight:600 !important;
    margin-left:6px !important;
  }
  /* 流派特色类 - 棕色标题字 */
  .card-school > h4 { color:#6b3a10 !important; }
  .card-school > h4 span[style*="font-size:11px"] {
    background:rgba(139,90,48,0.12) !important;
    color:#6b3a10 !important;
    padding:2px 8px !important;
    border-radius:4px !important;
    font-size:11px !important;
    font-weight:600 !important;
    margin-left:6px !important;
  }
  /* 结果类 - 青色标题字 */
  .card-result > h4 { color:#1a5a52 !important; }
  .card-result > h4 span[style*="font-size:11px"] {
    background:rgba(26,90,82,0.12) !important;
    color:#1a5a52 !important;
    padding:2px 8px !important;
    border-radius:4px !important;
    font-size:11px !important;
    font-weight:600 !important;
    margin-left:6px !important;
  }
  /* 去掉解读区内装饰性左侧粗边条（3px及以上），保留1px正常边框 */
  .interpret-section [style*="border-left: 3px"],
  .interpret-section [style*="border-left: 4px"],
  .interpret-section [style*="border-left:3px"],
  .interpret-section [style*="border-left:4px"] {
    border-left: none !important;
  }
  /* 解读区内将3px彩色左边框还原为统一1px边框，保持四边完整 */
  .interpret-section .similar-gua-item,
  .interpret-section .fushen-detail,
  .interpret-section .gejue-item,
  .interpret-section .nayin-section,
  .interpret-section .huozhulin-panel,
  .interpret-section .yiyin-panel,
  .interpret-section .jingfang-panel {
    border-left-width: 1px !important;
    border-left-color: var(--c-border) !important;
  }
  /* 古籍引用标签增强（提高对比度） */
  .interpret-section span[style*="color:var(--c-gold)"][style*="font-size:11px"] {
    display:inline-block !important;
    white-space:nowrap !important;
    background:rgba(154,122,32,0.18);
    color:#6b4910 !important;
    padding:2px 8px;
    border-radius:4px;
    font-size:11px !important;
    font-weight:600;
    margin:2px 2px 2px 4px;
  }
  /* 板块分组标题 - 深色文字+浅色背景+粗色条 */
  .interpret-group-title {
    font-size:15px;
    color:#1a2a25;
    margin:32px 0 16px;
    padding:10px 16px;
    font-weight:700;
    letter-spacing:2px;
    background:var(--c-bg);
    border-radius:8px;
    text-align:center;
    border:1px solid var(--c-border-light);
  }
