/* ==========================================================================
   news_bizblue — 极简商务蓝风 (Minimal Corporate Blue)
   Pure CSS, no frameworks, no JS dependency.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
	--blue-deep:      #0f4c81;
	--blue-accent:    #1a5fa0;
	--blue-light:     #eaf2fa;
	--blue-lighter:   #f4f8fc;
	--border:         #dde3ea;
	--border-strong:  #c3cedb;
	--text:           #1c2733;
	--text-muted:     #5b6b7c;
	--text-faint:     #8695a7;
	--bg:             #ffffff;
	--radius:         2px;
	--font-sans:      -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
	--wrap-width:     1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-accent); }
table { border-collapse: collapse; width: 100%; }
button, input, textarea { font-family: inherit; }

body {
	font-family: var(--font-sans);
	font-size: 15px;
	line-height: 1.75;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

.wrap {
	max-width: var(--wrap-width);
	margin: 0 auto;
	padding: 0 24px;
}

h1, h2, h3 { font-weight: 700; line-height: 1.35; color: var(--text); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}

.header-bar {
	border-bottom: 1px solid var(--blue-deep);
}

.header-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-top: 22px;
	padding-bottom: 22px;
	gap: 12px;
}

.brand { display: inline-block; }
.brand img { display: block; }

.header-meta {
	font-size: 13px;
	color: var(--text-muted);
	letter-spacing: .02em;
	display: flex;
	align-items: center;
	gap: 10px;
}

.header-meta-divider { color: var(--border-strong); }

.site-nav {
	background: var(--blue-deep);
}

.site-nav-inner { position: relative; }

.nav-list {
	display: flex;
	flex-wrap: wrap;
}

.nav-item a {
	display: block;
	padding: 13px 18px;
	color: #eaf2fa;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .02em;
	border-right: 1px solid rgba(255,255,255,0.12);
	transition: background .15s ease;
}

.nav-item:first-child a { border-left: 1px solid rgba(255,255,255,0.12); }

.nav-item a:hover,
.nav-item a:focus {
	background: var(--blue-accent);
	color: #ffffff;
}

.nav-item-home a { font-weight: 700; }

/* ==========================================================================
   Homepage
   ========================================================================== */
.home-main { padding: 40px 24px 56px; }

.home-intro {
	padding-bottom: 28px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--border);
}

.home-intro-title {
	font-size: 26px;
	color: var(--blue-deep);
	margin-bottom: 8px;
}

.home-intro-desc {
	color: var(--text-muted);
	font-size: 14px;
	max-width: 760px;
}

.home-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
}

.channel-block {
	background: var(--bg);
	padding: 22px 24px 26px;
}

.channel-block-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 2px solid var(--blue-deep);
	padding-bottom: 10px;
	margin-bottom: 14px;
}

.channel-block-title {
	font-size: 17px;
}

.channel-block-title a:hover { color: var(--blue-accent); }

.channel-block-more {
	font-size: 12px;
	color: var(--text-faint);
	white-space: nowrap;
}

.channel-block-more:hover { color: var(--blue-accent); }

.channel-block-item {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px dashed var(--border);
}

.channel-block-item:last-child { border-bottom: none; }

.channel-block-link {
	font-size: 14px;
	color: var(--text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
}

.channel-block-link::before {
	content: "\2022";
	color: var(--blue-accent);
	margin-right: 8px;
}

.channel-block-date {
	font-size: 12px;
	color: var(--text-faint);
	flex-shrink: 0;
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Layout: list / show pages (content + sidebar)
   ========================================================================== */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	padding: 32px 24px 56px;
	align-items: start;
}

.breadcrumb {
	font-size: 13px;
	color: var(--text-faint);
	margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--blue-accent); }
.breadcrumb-sep { margin: 0 6px; }
.breadcrumb-current { color: var(--text-muted); }

/* ---------- List page ---------- */
.list-head {
	border-bottom: 2px solid var(--blue-deep);
	padding-bottom: 14px;
	margin-bottom: 18px;
}

.list-head-title { font-size: 22px; }

.article-list-item {
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
}

.article-list-item:first-child { padding-top: 0; }

.article-list-item-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}

.article-list-item-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
}

.article-list-item-title:hover { color: var(--blue-accent); }

.article-list-item-date {
	font-size: 12px;
	color: var(--text-faint);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.article-list-item-info {
	font-size: 13.5px;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 8px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.article-list-item-meta {
	font-size: 12px;
	color: var(--text-faint);
	display: flex;
	gap: 16px;
}

/* ---------- Pagination ---------- */
.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.pagination a {
	display: inline-block;
	min-width: 34px;
	padding: 6px 10px;
	text-align: center;
	font-size: 13px;
	color: var(--text-muted);
	border: 1px solid var(--border);
}

.pagination a:hover {
	border-color: var(--blue-accent);
	color: var(--blue-accent);
}

/* ---------- Sidebar ---------- */
.layout-sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-block {
	border: 1px solid var(--border);
}

.sidebar-block-title {
	font-size: 14px;
	color: #fff;
	background: var(--blue-deep);
	padding: 11px 16px;
	letter-spacing: .03em;
}

.sidebar-block-list { padding: 6px 16px; }

.sidebar-block-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--border);
}

.sidebar-block-list li:last-child { border-bottom: none; }

.sidebar-block-list a {
	font-size: 13.5px;
	color: var(--text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
}

.sidebar-block-list a:hover { color: var(--blue-accent); }

.sidebar-block-date {
	font-size: 11.5px;
	color: var(--text-faint);
	flex-shrink: 0;
	font-variant-numeric: tabular-nums;
}

.sidebar-block-list-ranked li { counter-increment: rank; }
.sidebar-block-list-ranked { counter-reset: rank; }
.sidebar-block-list-ranked li a::before {
	content: counter(rank);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	font-size: 10.5px;
	color: var(--text-faint);
	border: 1px solid var(--border-strong);
	flex-shrink: 0;
}
.sidebar-block-list-ranked li:nth-child(-n+3) a::before {
	color: #fff;
	background: var(--blue-accent);
	border-color: var(--blue-accent);
}

/* ==========================================================================
   Article (show) page
   ========================================================================== */
.article-head {
	border-bottom: 1px solid var(--border);
	padding-bottom: 18px;
	margin-bottom: 20px;
}

.article-title {
	font-size: 24px;
	line-height: 1.5;
	margin-bottom: 12px;
}

.article-info {
	font-size: 12.5px;
	color: var(--text-faint);
	display: flex;
	gap: 18px;
}

.summary {
	background: var(--blue-lighter);
	border-left: 3px solid var(--blue-deep);
	padding: 14px 18px;
	font-size: 13.5px;
	color: var(--text-muted);
	margin-bottom: 26px;
}

.article-body {
	font-size: 15.5px;
	line-height: 1.9;
	color: var(--text);
}

.article-body p { margin: 0 0 1.2em; }
.article-body img { margin: 1em auto; }
.article-body h2, .article-body h3 { margin: 1.6em 0 .8em; color: var(--blue-deep); }
.article-body a { color: var(--blue-accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
	margin: 1.2em 0;
	padding: 10px 16px;
	background: var(--blue-lighter);
	border-left: 3px solid var(--border-strong);
	color: var(--text-muted);
}
.article-body table { margin: 1.2em 0; border: 1px solid var(--border); font-size: 14px; }
.article-body table th, .article-body table td { border: 1px solid var(--border); padding: 8px 10px; }
.article-body table th { background: var(--blue-lighter); }

.article-pager {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.article-pager-item {
	font-size: 13.5px;
	overflow: hidden;
}

.article-pager-next { text-align: right; }

.article-pager-label {
	display: block;
	font-size: 11.5px;
	color: var(--text-faint);
	margin-bottom: 4px;
}

.article-pager-item a {
	color: var(--text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
}

.article-pager-item a:hover { color: var(--blue-accent); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--blue-lighter);
	border-top: 1px solid var(--border);
	margin-top: 24px;
	padding: 36px 0 26px;
}

.footer-links-title {
	font-size: 13px;
	color: var(--text-muted);
	letter-spacing: .04em;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.footer-links-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.footer-links-list a {
	font-size: 13px;
	color: var(--text-muted);
}

.footer-links-list a:hover { color: var(--blue-accent); }

.footer-rule {
	height: 1px;
	background: var(--border);
	margin: 24px 0 18px;
}

.footer-bottom { text-align: center; }

.footer-copyright {
	font-size: 12.5px;
	color: var(--text-faint);
	line-height: 2;
}

.footer-copyright a { color: var(--text-muted); }
.footer-copyright a:hover { color: var(--blue-accent); }

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */
@media (max-width: 992px) {
	.home-grid { grid-template-columns: repeat(2, 1fr); }
	.layout { grid-template-columns: 1fr; }
	.layout-sidebar { flex-direction: row; flex-wrap: wrap; }
	.layout-sidebar .sidebar-block { flex: 1 1 260px; }
}

@media (max-width: 768px) {
	.wrap { padding: 0 16px; }
	body { font-size: 14px; }

	.header-bar-inner { padding-top: 16px; padding-bottom: 16px; }
	.header-meta { display: none; }

	.nav-list { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
	.nav-item a { padding: 12px 14px; white-space: nowrap; }

	.home-main { padding: 24px 16px 36px; }
	.home-intro-title { font-size: 21px; }
	.home-grid { grid-template-columns: 1fr; }

	.layout { padding: 20px 16px 36px; gap: 28px; }
	.layout-sidebar { flex-direction: column; }

	.article-title { font-size: 20px; }
	.article-list-item-head { flex-direction: column; gap: 4px; }
	.article-pager { grid-template-columns: 1fr; }
	.article-pager-next { text-align: left; }
}

@media (max-width: 480px) {
	.channel-block-date,
	.sidebar-block-date { display: none; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
	.site-header, .site-nav, .layout-sidebar, .site-footer, .pagination, .article-pager { display: none; }
	body { font-size: 12pt; color: #000; }
	.article-body a { color: #000; text-decoration: underline; }
	a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
}
