/* cms 资讯页 */
.cms-news-page { padding: 16px 0 24px; }
.cms-news-wrap { display: flex; gap: 16px; align-items: flex-start; }
.cms-news-main { flex: 1; min-width: 0; }
.cms-news-side { width: 240px; flex-shrink: 0; display: none; }
@media (min-width:1024px) { .cms-news-side { display: block; } }

.cms-news-hero {
  display: block; position: relative; border-radius: var(--cms-radius);
  overflow: hidden; margin-bottom: 12px; color: #fff; min-height: 160px;
}
.cms-news-hero img { width: 100%; height: 180px; object-fit: cover; display: block; }
.cms-news-hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.3), transparent);
}
.cms-news-hero-bd { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; z-index: 1; }
.cms-news-hero-tag { font-size: 10px; background: var(--cms-red); padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.cms-news-hero h2 { font-size: 16px; font-weight: 800; margin-top: 8px; line-height: 1.3; }
.cms-news-hero p { font-size: 11px; opacity: .75; margin-top: 4px; }

.cms-news-filter {
  display: flex; gap: 4px; background: #fff; border: 1px solid #e5e7eb;
  border-radius: var(--cms-radius); padding: 3px; margin-bottom: 12px; width: fit-content;
}
.cms-news-filter span {
  padding: 6px 12px; font-size: 12px; border-radius: 4px;
  background: var(--cms-primary); color: #fff; font-weight: 500;
}

.cms-art-list { display: flex; flex-direction: column; gap: 12px; }
.cms-art-item {
  display: flex; gap: 12px; background: #fff;
  border: 1px solid var(--cms-border); border-radius: var(--cms-radius);
  overflow: hidden; color: inherit; transition: box-shadow .2s;
}
.cms-art-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.cms-art-thumb {
  width: 112px; height: 84px; flex-shrink: 0; object-fit: cover;
  border-radius: 4px; background: #f3f4f6;
}
@media (min-width:640px) { .cms-art-thumb { width: 144px; height: 96px; } }
.cms-art-bd h2 {
  font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cms-art-bd { flex: 1; min-width: 0; padding: 10px 12px 10px 0; display: flex; flex-direction: column; justify-content: center; }
.cms-art-bd h2 { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.cms-art-item:hover h2 { color: var(--cms-primary); }
.cms-art-sum { font-size: 11px; color: var(--cms-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.cms-art-foot { display: flex; gap: 12px; font-size: 10px; color: var(--cms-muted); margin-top: 6px; }
.cms-art-cat { display: inline-block; font-size: 10px; color: #fff; background: var(--cms-primary); padding: 2px 8px; border-radius: 4px; align-self: flex-start; margin-bottom: 6px; }

/* 资讯详情 */
.cms-article { background: #fff; border: 1px solid var(--cms-border); border-radius: var(--cms-radius); overflow: hidden; margin-bottom: 12px; }
.cms-article-cover { aspect-ratio: 21/9; overflow: hidden; }
.cms-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.cms-article-bd { padding: 16px 20px 24px; }
@media (min-width:640px) { .cms-article-bd { padding: 24px 32px 32px; } }
.cms-article-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.cms-article-tags span { font-size: 10px; color: #fff; padding: 2px 6px; border-radius: 4px; }
.cms-article h1 { font-size: 18px; font-weight: 900; line-height: 1.35; color: #111; margin-bottom: 12px; }
@media (min-width:640px) { .cms-article h1 { font-size: 22px; } }
.cms-article-meta {
  display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--cms-muted);
  padding-bottom: 12px; border-bottom: 1px solid var(--cms-border); margin-bottom: 16px;
}
.cms-article-lead { font-size: 14px; font-weight: 500; color: #374151; line-height: 1.7; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--cms-border); }
.cms-article-body { font-size: 14px; line-height: 1.9; color: #4b5563; }
.cms-article-body img { max-width: 100%; height: auto; border-radius: var(--cms-radius); margin: 12px 0; }
.cms-article-body p { margin-bottom: 16px; }

.cms-toc { position: sticky; top: 80px; }
.cms-toc li button {
  display: block; width: 100%; text-align: left;
  padding: 6px 8px; font-size: 12px; color: #4b5563;
  border: 0; background: transparent; border-radius: 4px; cursor: pointer;
}
.cms-toc li button:hover { background: #f9fafb; color: var(--cms-primary); }

.cms-related-news { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
@media (min-width:640px) { .cms-related-news { grid-template-columns: repeat(2, 1fr); } }
