/* 由 tools/styles/news 分片拼成，只有资讯页加载，别直接改这个文件 */
/* 资讯列表与详情（tools/news_pages_design.mjs）。单独拼成 /assets/news.css，只有资讯页加载：
   没有资讯时整站的 site.css 和加栏目之前逐字节相同。色、字、间距一律用 00-tokens.css 的令牌。 */

/* 列表卡片 */
.ncard-grid { display: grid; grid-template-columns: 1fr; gap: clamp(16px, 2vw, 28px); }
.ncard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-img); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.ncard:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.ncard-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mill); }
.ncard-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.6s var(--ease); }
.ncard:hover .ncard-media img { transform: scale(1.04); }
.ncard-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px 20px 22px; }
.ncard h2 { font-size: 21px; }
.ncard h2 a:hover { color: var(--navy); }
.ncard-body > p:not(.news-meta):not(.ncard-more) { color: var(--sub); font-size: 15px; }
.ncard-more { margin-top: auto; padding-top: 6px; }
@media (min-width: 700px) { .ncard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ncard-grid { grid-template-columns: repeat(3, 1fr); } }

/* 详情 */
.news-article { display: block; }
.news-wrap { max-width: 840px; }
.news-head h1 { font-size: clamp(28px, 3.8vw, 46px); }
.news-meta { font-size: 14px; color: var(--sub); }
.news-head .news-meta { margin-top: 14px; }
.news-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-body { display: grid; gap: clamp(28px, 4vw, 44px); margin-top: clamp(28px, 4vw, 44px); }
.news-body p, .news-list li { max-width: 44em; }
.news-body p + p, .news-body h3 + p, .news-body p + h3, .news-body ul + p { margin-top: 14px; }
.news-sec h2, .news-faq h2, .news-related h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.news-sec h3 { font-size: 19px; }
.news-list { margin-top: 12px; padding-inline-start: 1.2em; list-style: disc; }
.news-list li + li { margin-top: 6px; }
.news-fig { margin-block: 6px 18px; }
.news-fig img { width: 100%; }
.news-data { min-width: 0; }
.news-faq dl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-faq dl > div { padding-block: 16px; border-bottom: 1px solid var(--line); }
.news-faq dt { font-size: 18px; font-weight: 600; }
.news-faq dd { margin-top: 8px; color: var(--sub); max-width: 44em; }
.news-related { margin-top: clamp(32px, 4vw, 48px); padding: clamp(20px, 3vw, 28px); background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-img); }
.news-related ul { display: grid; gap: 4px; }
.news-related a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 0; font-weight: 600; color: var(--navy); }
.news-related a:hover { text-decoration: underline; }
.news-rel-fam { font-size: 13px; font-weight: 500; color: var(--sub); }
.news-back { margin-top: 28px; }
