/* bxcdd CMS：浅色站 · 资讯卡片 + 可读正文 */

:root {
  --bx-cms-bg: #f5f5f5;
  --bx-cms-panel: #ffffff;
  --bx-cms-line: #e8e8e8;
  --bx-cms-gold: #c9a55f;
  --bx-cms-gold-dim: rgba(201, 165, 95, 0.12);
  --bx-cms-text: #333;
  --bx-cms-muted: #888;
}

.bx-cms-news-video {
  padding: 60px 16px 50px;
  background-color: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.bx-cms-nv-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.bx-cms-nv-desc {
  text-align: center;
  color: #666;
  margin: -4px 0 28px;
  font-size: 14px;
}
.bx-cms-nv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.bx-cms-nv-col {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 18px 16px 10px;
}
.bx-cms-nv-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 165, 95, 0.35);
}
.bx-cms-nv-head h3 {
  margin: 0;
  font-size: 18px;
  color: #1a1a1a;
  font-weight: 600;
}
.bx-cms-nv-head a {
  font-size: 13px;
  color: var(--bx-cms-gold);
  text-decoration: none;
}
.bx-cms-nv-head a:hover {
  text-decoration: underline;
}
.bx-cms-nv-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bx-cms-nv-list li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #ececec;
}
.bx-cms-nv-list li:first-child {
  border-top: 0;
}
.bx-cms-nv-thumb {
  display: block;
  width: 72px;
  height: 54px;
  overflow: hidden;
  border-radius: 6px;
  background: #eee;
  border: 1px solid #e0e0e0;
}
.bx-cms-nv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bx-cms-nv-body {
  min-width: 0;
}
.bx-cms-nv-cat {
  display: inline-block;
  font-size: 12px;
  color: var(--bx-cms-gold);
  margin-bottom: 4px;
}
.bx-cms-nv-body a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bx-cms-nv-body a:hover {
  color: var(--bx-cms-gold);
}
.bx-cms-nv-date {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

.bx-cms-body {
  background: var(--bx-cms-bg);
}
.bx-cms-page {
  padding: 28px 16px 64px;
  min-height: 55vh;
  background: var(--bx-cms-bg);
  color: var(--bx-cms-text);
}
.bx-cms-shell {
  max-width: 920px;
  margin: 0 auto;
}
.bx-cms-hero {
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bx-cms-line);
}
.bx-cms-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: #1a1a1a;
}
.bx-cms-hero-desc {
  margin: 0 0 18px;
  color: var(--bx-cms-muted);
  font-size: 14px;
}
.bx-cms-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--bx-cms-muted);
}
.bx-cms-crumb a {
  color: var(--bx-cms-gold);
  text-decoration: none;
}
.bx-cms-crumb a:hover {
  text-decoration: underline;
}
.bx-cms-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bx-cms-line);
}
.bx-cms-tabs a {
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #666;
  font-size: 14px;
}
.bx-cms-tabs a.is-active {
  background: var(--bx-cms-gold);
  color: #fff;
  font-weight: 600;
}
.bx-cms-tabs a:hover {
  color: #1a1a1a;
}
.bx-cms-tabs a.is-active:hover {
  color: #fff;
}

.bx-cms-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.bx-cms-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bx-cms-panel);
  border: 1px solid var(--bx-cms-line);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.bx-cms-card:hover {
  border-color: rgba(201, 165, 95, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.bx-cms-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.bx-cms-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eee;
  overflow: hidden;
}
.bx-cms-card-media img,
.bx-cms-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bx-cms-card-placeholder {
  background: linear-gradient(135deg, #f0f0f0, #e6dfd0);
}
.bx-cms-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(201, 165, 95, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.bx-cms-play::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 15px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--bx-cms-gold);
}
.bx-cms-card-body {
  padding: 16px 16px 18px;
}
.bx-cms-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--bx-cms-gold);
  background: var(--bx-cms-gold-dim);
  border: 1px solid rgba(201, 165, 95, 0.3);
  margin-bottom: 10px;
}
.bx-cms-card-body h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  color: #1a1a1a;
}
.bx-cms-card-body time {
  font-size: 12px;
  color: var(--bx-cms-muted);
}
.bx-cms-empty {
  color: var(--bx-cms-muted);
  padding: 40px 0;
  text-align: center;
}
.bx-cms-back {
  margin-top: 28px;
}
.bx-cms-back a,
.bx-cms-page a {
  color: var(--bx-cms-gold);
  text-decoration: none;
}
.bx-cms-back a:hover {
  text-decoration: underline;
}

.bx-cms-article {
  background: var(--bx-cms-panel);
  border: 1px solid var(--bx-cms-line);
  border-radius: 14px;
  padding: 28px 28px 32px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}
.bx-cms-article-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bx-cms-line);
}
.bx-cms-article-head h1 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 3.6vw, 32px);
  line-height: 1.35;
  font-weight: 700;
  color: #1a1a1a;
}
.bx-cms-meta {
  margin: 0;
  color: var(--bx-cms-muted);
  font-size: 13px;
}
.bx-cms-cover {
  margin: 0 0 28px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--bx-cms-line);
  background: #f3f3f3;
}
.bx-cms-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.bx-cms-prose {
  line-height: 1.9;
  color: #333;
  font-size: 16px;
  max-width: 46em;
  overflow: visible;
}
.bx-cms-article-head,
.bx-cms-hero {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
}
.bx-cms-prose > *:first-child {
  margin-top: 0;
}
.bx-cms-prose *:not(img):not(video):not(iframe):not(svg) {
  background: transparent !important;
  color: inherit !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}
.bx-cms-prose p,
.bx-cms-prose div,
.bx-cms-prose span,
.bx-cms-prose li,
.bx-cms-prose td,
.bx-cms-prose th,
.bx-cms-prose font,
.bx-cms-prose section,
.bx-cms-prose article {
  background: transparent !important;
  color: inherit !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}
.bx-cms-prose p {
  margin: 0 0 1.1em;
}
.bx-cms-prose h2,
.bx-cms-prose h3,
.bx-cms-prose h4 {
  color: #1a1a1a;
  margin: 1.6em 0 0.7em;
  line-height: 1.35;
  font-weight: 650;
}
.bx-cms-prose a {
  color: var(--bx-cms-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bx-cms-prose ul,
.bx-cms-prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}
.bx-cms-prose li {
  margin-bottom: 0.35em;
}
.bx-cms-prose img,
.bx-cms-prose video,
.bx-cms-prose iframe {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.4em auto;
  border-radius: 8px;
  border: 1px solid var(--bx-cms-line);
  background: #f7f7f7;
}
.bx-cms-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 14px;
}
.bx-cms-prose th,
.bx-cms-prose td {
  border: 1px solid var(--bx-cms-line);
  padding: 8px 10px;
}
.bx-cms-prose blockquote {
  margin: 1.2em 0;
  padding: 12px 16px;
  border-left: 3px solid var(--bx-cms-gold);
  background: rgba(201, 165, 95, 0.08);
  color: #444;
}

.bx-cms-article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--bx-cms-line);
}
.bx-cms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 95, 0.55);
  background: var(--bx-cms-gold-dim);
  color: var(--bx-cms-gold) !important;
  text-decoration: none !important;
  font-size: 14px;
}
.bx-cms-btn:hover {
  background: rgba(201, 165, 95, 0.22);
  color: #1a1a1a !important;
}
.bx-cms-btn--ghost {
  background: transparent;
  border-color: #ddd;
  color: #666 !important;
}

/* —— 相关推荐 —— */
.bx-cms-related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--bx-cms-line);
}
.bx-cms-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.bx-cms-related__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}
.bx-cms-related__head a {
  font-size: 13px;
  color: var(--bx-cms-gold) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.bx-cms-related__head a:hover {
  text-decoration: underline !important;
}
.bx-cms-related__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.bx-cms-related__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--bx-cms-line);
  background: #fff;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 8px 22px rgba(20, 20, 20, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.bx-cms-related__card:hover {
  border-color: rgba(201, 165, 95, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 20, 20, 0.08);
}
.bx-cms-related__media {
  aspect-ratio: 16 / 10;
  background: #f3f1ec;
  overflow: hidden;
}
.bx-cms-related__media img,
.bx-cms-related__ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bx-cms-related__ph {
  background: linear-gradient(135deg, #efeae2, #e4ddd1);
}
.bx-cms-related__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px 14px;
  min-height: 0;
  flex: 1;
}
.bx-cms-related__cat {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--bx-cms-gold);
}
.bx-cms-related__body strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
  color: #1a1a1a;
}
.bx-cms-related__body time {
  margin-top: auto;
  font-size: 12px;
  color: var(--bx-cms-muted);
}

@media (max-width: 768px) {
  .bx-cms-nv-grid {
    grid-template-columns: 1fr;
  }
  .bx-cms-nv-list li {
    grid-template-columns: 56px 1fr;
  }
  .bx-cms-nv-date {
    display: none;
  }
  .bx-cms-cards {
    grid-template-columns: 1fr;
  }
  .bx-cms-article {
    padding: 20px 16px 24px;
    border-radius: 10px;
  }
  .bx-cms-related__grid {
    grid-template-columns: 1fr;
  }
  .bx-cms-prose {
    font-size: 15px;
  }
  .bx-cms-cover img {
    max-height: 240px;
  }
}
