/* ========== 内容详情页专用样式 ========== */

.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}
.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .content-card { padding: 28px 20px; }
}

.content-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.4;
}
.content-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.content-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap !important;
}

.content-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-sub);
}
.content-body p {
  margin-bottom: 16px;
  text-indent: 2em;
}
.content-body p.no-indent { text-indent: 0; }
.content-body strong { color: var(--text-main); font-weight: 600; }

/* ========== 视频响应式处理 ========== */
.content-body video,
.content-body iframe {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
}
/* 针对固定宽高属性的video标签，强制覆盖 */
.content-body video[width],
.content-body video[height] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}
/* 视频容器（如果外层有div包裹）居中 */
.content-body .video-wrap,
.content-body div[align] {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
/* 图片强制自适应 + 居中 */
.img_vsb_content,
.content-body img,
.content-card img {
  display: block !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 12px auto !important;
}

.content-body div[align] video {
  float: none !important;
}
@media (max-width: 768px) {
  .content-body video,
  .content-body iframe {
    border-radius: 6px;
  }
}