:root { --ink: #182235; --muted: #64748b; --line: #dce3ea; --paper: #ffffff; --surface: #f5f7fa; --brand: #b91c1c; --brand-dark: #851414; }
* { box-sizing: border-box; }
html { background: var(--surface); }
body { margin: 0; color: var(--ink); background: var(--surface); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
.site-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--brand); font-size: 26px; font-weight: 800; line-height: 1.1; text-decoration: none; }
.brand:hover { color: var(--brand-dark); text-decoration: none; }
.brand span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; font-weight: 400; }
.header-note { margin: 0; color: var(--muted); font-size: 14px; }
.site-nav { background: #182235; overflow-x: auto; }
.site-nav > div { min-width: max-content; display: flex; align-items: stretch; }
.site-nav a { padding: 12px 15px; color: #edf2f7; font-size: 15px; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { color: #fff; background: var(--brand); text-decoration: none; }
.home-main, .page-main { padding-top: 30px; padding-bottom: 44px; }
.home-intro, .page-intro { padding: 28px 32px; background: var(--paper); border-left: 4px solid var(--brand); }
.home-intro h1, .page-intro h1 { margin: 5px 0 9px; font-size: clamp(25px, 4vw, 36px); line-height: 1.35; }
.home-intro > p:last-child, .page-intro > p:last-child { margin: 0; color: #475569; }
.eyebrow { margin: 0; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.section-block { margin-top: 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 11px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 2px 0 0; font-size: 22px; line-height: 1.35; }
.section-heading > a, .read-more { color: var(--brand); font-size: 14px; font-weight: 700; white-space: nowrap; }
.section-heading.compact { align-items: center; padding-bottom: 9px; }
.section-heading.compact h2 { margin: 0; font-size: 18px; }
.latest-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 17px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.card-image { display: block; background: #e2e8f0; aspect-ratio: 16 / 10; overflow: hidden; }
.card-image img, .list-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card > div { padding: 13px; }
.news-card p, .item-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; }
.news-card p a, .item-meta a { color: var(--brand); }
.news-card h3 { margin: 7px 0; font-size: 16px; line-height: 1.45; }
.news-card span { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 14px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.channel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.channel-grid a { min-height: 94px; padding: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.channel-grid a:hover { border-color: var(--brand); text-decoration: none; }
.channel-grid strong, .channel-grid span { display: block; }
.channel-grid strong { font-size: 17px; }
.channel-grid span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.city-site-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.city-site-card { display: grid; min-height: 94px; gap: 7px; padding: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.city-site-card:hover { border-color: var(--brand); color: var(--ink); text-decoration: none; }
.city-site-card span { color: var(--muted); font-size: 13px; }
.city-site-card strong { overflow: hidden; font-size: 17px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.topic-grid, .content-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 310px); gap: 24px; }
.topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.topic-panel, .fresh-links, .sidebar-section, .article-content, .article-list { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.topic-panel, .fresh-links, .sidebar-section { padding: 18px; }
.link-list, .sidebar ol, .fresh-links ol, .related-section ol { margin: 12px 0 0; padding: 0; list-style: none; }
.link-list li, .sidebar li, .fresh-links li, .related-section li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #edf1f5; }
.link-list li:last-child, .sidebar li:last-child, .fresh-links li:last-child, .related-section li:last-child { border-bottom: 0; }
.link-list a, .sidebar li a, .fresh-links li a, .related-section li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-list time, .related-section time { flex: none; color: var(--muted); font-size: 13px; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 14px; overflow: hidden; white-space: nowrap; }
.breadcrumbs strong { overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 500; }
.page-intro { margin-bottom: 20px; }
.fresh-links { margin-bottom: 24px; }
.content-layout { align-items: start; }
.article-list { padding: 0 20px; }
.list-item { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.list-item:last-of-type { border-bottom: 0; }
.list-image { align-self: start; overflow: hidden; background: #e2e8f0; border-radius: 4px; aspect-ratio: 16 / 10; }
.list-item h2 { margin: 7px 0 8px; font-size: 20px; line-height: 1.45; }
.list-item > div > p:not(.item-meta) { margin: 0 0 9px; color: #475569; font-size: 15px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0; }
.pagination a { min-width: 36px; padding: 5px 9px; text-align: center; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; }
.pagination a.current, .pagination a:hover { color: #fff; background: var(--brand); border-color: var(--brand); text-decoration: none; }
.sidebar { display: grid; gap: 18px; }
.sidebar h2 { margin: 0; padding-bottom: 9px; border-bottom: 2px solid var(--ink); font-size: 18px; }
.tag-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.tag-links a { padding: 3px 9px; color: #475569; background: #f1f5f9; border-radius: 4px; font-size: 14px; }
.tag-links a:hover { color: #fff; background: var(--brand); text-decoration: none; }
.detail-layout { margin-top: 0; }
.detail-layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.detail-layout > * { min-width: 0; }
.detail-layout .article-content { width: min(860px, 100%); margin: 0 auto; padding: clamp(20px, 4vw, 42px); }
.article-header { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article-header h1 { margin: 5px 0 13px; max-width: 100%; overflow-wrap: anywhere; font-size: clamp(24px, 3vw, 30px); line-height: 1.48; }
.article-summary { margin: 22px 0; padding: 14px 16px; color: #475569; background: #f8fafc; border-left: 3px solid var(--brand); }
.article-cover { margin: 22px 0; }
.article-cover img, .article-image img { width: min(220px, 100%); aspect-ratio: 1; margin: 0 auto; object-fit: cover; background: #f8fafc; }
.article-body { min-width: 0; color: #263548; font-size: 17px; line-height: 2; overflow-wrap: anywhere; }
.article-body p { margin: 0 0 20px; }
.article-image { margin: 24px 0; }
.article-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; padding-top: 21px; border-top: 1px solid var(--line); }
.article-pagination-item { display: flex; min-width: 0; min-height: 100px; align-items: flex-start; gap: 12px; padding: 17px 18px; border: 1px solid #d7e2ed; border-radius: 6px; color: var(--ink); background: #f8fafc; box-shadow: 0 5px 14px rgb(24 34 53 / 5%); }
.article-pagination-item:not(.is-disabled):hover { border-color: #e8a6a6; color: var(--brand); text-decoration: none; background: #fffafa; box-shadow: 0 7px 18px rgb(185 28 28 / 10%); }
.article-pagination-copy { display: grid; min-width: 0; gap: 4px; }
.article-pagination-label { color: var(--muted); font-size: 14px; line-height: 1.35; }
.article-pagination-copy strong { display: -webkit-box; overflow: hidden; color: inherit; font-size: 15px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-pagination-arrow { display: inline-grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border: 1px solid #efc6c6; border-radius: 6px; color: var(--brand); background: #fff4f4; font-size: 24px; line-height: 1; }
.article-pagination-next { justify-content: flex-end; text-align: right; }
.article-pagination-next .article-pagination-copy { justify-items: end; }
.article-pagination-item.is-disabled { border-color: #e5e7eb; color: #9ca3af; background: #fafafa; box-shadow: none; }
.article-pagination-item.is-disabled .article-pagination-label { color: #9ca3af; }
.article-pagination-item.is-disabled .article-pagination-arrow { border-color: #e5e7eb; color: #aab1ba; background: #f3f4f6; }
.related-section { margin-top: 34px; padding-top: 18px; border-top: 2px solid var(--ink); }
.detail-bottom { width: min(860px, 100%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px auto 0; }
.sidebar { min-width: 0; }
.sidebar-section { overflow: hidden; }
.empty-state { padding: 42px 0; color: var(--muted); text-align: center; }
.home-empty { grid-column: 1 / -1; margin: 0; padding: 12px 0; text-align: left; }
.site-footer { padding: 28px 0; color: #cbd5e1; background: #182235; }
.site-footer strong { color: #fff; font-size: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 9px; font-size: 14px; }
.site-footer p { margin: 10px 0 0; color: #94a3b8; font-size: 13px; }
@media (max-width: 920px) { .latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .channel-grid, .city-site-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .site-shell { width: min(100% - 24px, 1160px); } .header-row { min-height: 74px; } .header-note { max-width: 150px; font-size: 12px; text-align: right; } .site-nav a { padding: 10px 12px; } .home-main, .page-main { padding-top: 18px; } .home-intro, .page-intro { padding: 22px 20px; } .latest-grid, .channel-grid, .city-site-grid, .topic-grid, .content-layout, .detail-bottom, .article-pagination { grid-template-columns: 1fr; } .latest-grid { gap: 12px; } .news-card { flex-direction: row; } .card-image { flex: 0 0 120px; align-self: stretch; aspect-ratio: auto; } .topic-grid { gap: 18px; } .sidebar { grid-template-columns: 1fr; } .list-item { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 17px 0; } .list-item h2 { font-size: 17px; } .list-item > div > p:not(.item-meta) { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .article-list { padding: 0 14px; } .article-content { padding: 22px 18px; } .article-body { font-size: 16px; line-height: 1.9; } .article-pagination { gap: 10px; padding-top: 17px; } .article-pagination-item { min-height: 90px; padding: 15px; } }
