/* asuransiproteksi.com 自定义样式 */
.zd-notice{border-left:4px solid #c8a24a;background:#fbf7ee;padding:16px 20px;margin:24px 0;border-radius:0 6px 6px 0;}
.zd-notice p{margin:8px 0;}
.zd-notice ul,.zd-notice ol{margin:8px 0 8px 20px;}
.zd-risk{border:1px solid #e2ded4;background:#fafaf8;padding:20px 24px;margin:32px 0;border-radius:8px;font-size:14px;color:#5a5a5a;line-height:1.8;}
.zd-breadcrumb{font-size:13px;color:#888;margin-bottom:16px;}
.zd-breadcrumb a{text-decoration:none;}
.entry-content table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px;}
.entry-content table th{background:#f5f2ea;border:1px solid #e2ded4;padding:10px 12px;text-align:left;}
.entry-content table td{border:1px solid #e2ded4;padding:10px 12px;}
.entry-content h2{margin-top:40px;}
.entry-content h3{margin-top:28px;}
@media (max-width:768px){
  .entry-content table{font-size:13px;}
  .entry-content table th,.entry-content table td{padding:8px;}
  .zd-404 h1{font-size:48px !important;}
}

/* 开户 CTA 按钮 */
.zd-cta{display:inline-block;padding:14px 36px;background:linear-gradient(135deg,#c8a24a,#a8862f);color:#fff !important;font-size:17px;font-weight:600;border-radius:8px;text-decoration:none !important;box-shadow:0 3px 10px rgba(168,134,47,.28);transition:.2s;}
.zd-cta:hover{background:linear-gradient(135deg,#a8862f,#8d7026);box-shadow:0 5px 16px rgba(168,134,47,.38);transform:translateY(-1px);}
.zd-cta:focus{outline:2px solid #c8a24a;outline-offset:2px;}
@media (max-width:768px){.zd-cta{display:block;text-align:center;padding:14px 20px;}}

/* ===== 修复正文重复 H1：正文内 h1 视觉/语义降级为 h2 =====
   文章/页面的唯一 H1 由主题的 h1.entry-title 承担；
   正文内容开头的 <h1> 与页面标题重复，降级显示避免双 H1。 */
.entry-content h1 {
  font-size: 1.6em;
  line-height: 1.35;
  margin: 1.1em 0 .55em;
  font-weight: 600;
  padding: 0;
  border: 0;
}

/* ===== 响应式表格：手机端可左右滑动，不撑破页面 =====
   仅对正文内容区（.entry-content）内的宽表格生效；
   通过包裹层 overflow 实现横向滚动，避免整页产生横向滚动条。
   PC 端样式保持不变（宽度 100%，不显示滚动条）。 */
.entry-content .zd-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  max-width: 100%;
}
.entry-content .zd-table-wrap > table {
  margin: 0;                 /* 由包裹层控制外边距 */
  min-width: 100%;           /* 内容不可压缩时仍可滚动 */
}
/* 表格在窄屏下允许内容撑开（不换行挤压），由包裹层滚动 */
.entry-content .zd-table-wrap > table th,
.entry-content .zd-table-wrap > table td {
  white-space: nowrap;
}
@media (max-width: 768px) {
  /* 窄屏下给滚动条留出一点视觉提示 */
  .entry-content .zd-table-wrap {
    border: 1px solid #eee;
    border-radius: 6px;
    padding-bottom: 2px;
  }
}

/* ===== 相关文章模块 ===== */
.zd-related{margin:40px 0 8px;padding-top:24px;border-top:1px solid #e8e4da;}
.zd-related h2{margin-top:0;font-size:1.25em;}
.zd-related ul{list-style:none;margin:0;padding:0;}
.zd-related li{margin:0 0 10px;padding-left:16px;position:relative;line-height:1.7;}
.zd-related li:before{content:"";position:absolute;left:0;top:.72em;width:6px;height:6px;border-radius:50%;background:#c8a24a;}
.zd-related li a{text-decoration:none;font-weight:500;}
.zd-related-cat{margin-left:8px;font-size:12px;color:#999;background:#f5f2ea;padding:1px 8px;border-radius:3px;white-space:nowrap;}

/* ===== 期货资讯文章聚合列表 ===== */
.zd-article-list{margin:8px 0 24px;}
.zd-article-item{padding:20px 0;border-bottom:1px solid #eee9df;}
.zd-article-item:first-child{padding-top:8px;}
.zd-article-title{margin:0 0 8px;font-size:1.18em;line-height:1.45;}
.zd-article-title a{text-decoration:none;}
.zd-article-meta{font-size:13px;color:#999;margin-bottom:8px;}
.zd-article-meta .zd-article-date{margin-right:12px;}
.zd-article-meta .zd-article-cat{background:#f5f2ea;padding:1px 8px;border-radius:3px;}
.zd-article-excerpt{margin:0 0 10px;color:#555;line-height:1.75;}
.zd-article-more{display:inline-block;font-size:14px;font-weight:600;text-decoration:none;color:#a8862f;}
.zd-article-more:hover{text-decoration:underline;}
.zd-pagination{margin:28px 0;text-align:center;}
.zd-pagination a{display:inline-block;min-width:36px;padding:6px 10px;margin:0 3px;border:1px solid #e2ded4;border-radius:4px;text-decoration:none;color:#555;font-size:14px;}
.zd-pagination a.current{background:#c8a24a;border-color:#c8a24a;color:#fff;font-weight:600;}
@media (max-width:768px){
  .zd-article-title{font-size:1.1em;}
  .zd-related-cat{display:inline-block;margin-left:6px;}
}
