/* ===== Hero 区块 ===== */
.td-hero {
  background: #111;
  overflow: hidden;
}
/* 桌机：左图右文 */
.td-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 280px;
}
/* 左侧幻灯区 */
.td-hero-slides {
  position: relative;
  width: 460px;
  flex-shrink: 0;
  overflow: hidden;
  background: #000;
}
.td-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.td-slide.active { opacity: 1; }
.td-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 右侧资讯 */
.td-hero-info {
  flex: 1;
  min-width: 0;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.td-hero-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
.td-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.td-hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 手机横幅（桌机隐藏）*/
.td-hero-mobile { display: none; }
/* ===== 主内容 ===== */
.td-main {
  padding: 20px 0 48px;
  background: var(--bg-light);
}
.td-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
/* 手机专题资讯（桌机隐藏）*/
.td-mobile-info { display: none; }
/* ===== RWD ===== */

/* 平板 4栏 */
@media (max-width: 1024px) {
  .td-hero-slides { width: 360px; }
  .td-hero-info { padding: 24px 28px; }
  .td-hero-title { font-size: 20px; }
}
/* 手机 */
@media (max-width: 767px) {
  /* Hero 切换为手机横幅 */
  .td-hero-inner { display: none; }
  .td-hero-mobile {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
  }
  .td-hero-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* 主内容 */
  .td-main { padding: 0 0 68px; background: var(--bg-white); }
  .td-container { padding: 0; }
  /* 手机标题描述区 */
  .td-mobile-info {
    display: block;
    padding: 14px 12px 10px;
    border-bottom: 1px solid var(--border);
  }
  .td-mobile-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
  }
  .td-mobile-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}


/* ===== 面包屑容器（Hero 之上） ===== */
.td-crumb-wrap { max-width: var(--max-w); margin: 0 auto; padding: 14px 16px 0; }
/* ===== 幻灯切换点：只有 topic_pic_slide 真的是多图时模板才渲染 ===== */
.td-hero-slides { position: relative; }
.td-slide-dots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.td-slide-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s, transform .2s; }
.td-slide-dot:hover { background: rgba(255,255,255,.75); }
.td-slide-dot.active { background: #fff; transform: scale(1.25); }
/* Hero 内收录数 */
.td-hero-count { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.td-hero-count em { font-style: normal; color: var(--accent); font-weight: 700; }
.td-mobile-count { font-size: 12px; color: var(--text-muted); }
.td-vod-list { margin-bottom: 0; }
/* ===== 专题正文（富文本） ===== */
.td-richtext-body { font-size: 15px; line-height: 1.9; color: var(--text-light); }
.td-richtext-body img { max-width: 100%; height: auto; margin: 12px 0; }
.td-richtext-body h3 { font-size: 17px; color: var(--text); margin: 24px 0 10px; }
.td-richtext-body h4 { font-size: 15px; color: var(--text); margin: 18px 0 8px; }
.td-richtext-body p { margin: 0 0 12px; }
.td-richtext-body strong { color: var(--text); }
.td-richtext-body ul, .td-richtext-body ol { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.td-richtext-body li { margin-bottom: 6px; }
.td-richtext-body a { color: var(--accent); text-decoration: underline; }
.td-richtext-body table { max-width: 100%; display: block; overflow-x: auto; }
