.article-page {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.article-shell {
	background: linear-gradient(135deg, #f8faff 0%, #f2f6ff 40%, #eef3ff 100%);
	border: 1px solid #dde6fb;
	border-radius: 1rem;
	padding: 1rem;
	box-shadow: 0 12px 30px rgba(72, 94, 158, 0.08);
}

.article-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	margin-bottom: 0.85rem;
}

.article-title {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	font-weight: 800;
	letter-spacing: 0.01em;
	color: #223355;
}

.article-total {
	font-size: 0.82rem;
	color: #7488b3;
	font-weight: 600;
}

.article-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid #dce5fa;
	border-radius: 0.82rem;
	padding: 0.62rem 0.7rem;
	margin-bottom: 0.95rem;
}

.article-filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	font-size: 0.8rem;
	color: #5f739f;
}

.article-filter-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.18rem 0.5rem;
	border-radius: 999px;
	background: #ebf1ff;
	border: 1px solid #d7e2ff;
	color: #4865a8;
}

.article-clear-btn {
	border: 1px solid #cedaf8;
	border-radius: 0.62rem;
	padding: 0.32rem 0.64rem;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	color: #4f67a5;
	background: #fff;
}

.article-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 1rem;
}

.article-feed {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.article-card {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid #dce6fb;
	border-radius: 0.95rem;
	padding: 1rem 1.05rem;
	box-shadow: 0 10px 22px rgba(82, 102, 156, 0.08);
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.article-card:hover {
	transform: translateY(-2px);
	border-color: #c8d7f8;
	box-shadow: 0 16px 28px rgba(76, 98, 160, 0.12);
}

.article-card-title {
	margin: 0 0 0.46rem;
	font-size: 1.08rem;
	font-weight: 700;
}

.article-card-title a {
	color: #233865;
	text-decoration: none;
}

.article-card-title a:hover {
	color: #1f59ce;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.75rem;
	color: #7387b1;
	font-size: 0.76rem;
	margin-bottom: 0.62rem;
}

.article-summary {
	margin: 0 0 0.75rem;
	color: #4b5e88;
	font-size: 0.9rem;
	line-height: 1.65;
}

.article-card-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.55rem;
}

.article-tag-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.article-tag {
	text-decoration: none;
	font-size: 0.73rem;
	color: #5b6fa3;
	background: #f3f7ff;
	border: 1px solid #dde8ff;
	border-radius: 999px;
	padding: 0.18rem 0.5rem;
}

.article-read-link {
	text-decoration: none;
	border-radius: 0.62rem;
	padding: 0.32rem 0.66rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, #5a74ee, #4a66e0);
}

.article-empty {
	background: rgba(255, 255, 255, 0.85);
	border: 1px dashed #ccd9f6;
	border-radius: 0.8rem;
	padding: 1.1rem;
	color: #6980af;
	font-size: 0.9rem;
}

.article-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.35rem;
}

.article-page-btn {
	text-decoration: none;
	border-radius: 0.58rem;
	border: 1px solid #d5e1fb;
	background: #fff;
	color: #4f67a5;
	font-size: 0.78rem;
	padding: 0.28rem 0.56rem;
}

.article-page-btn.is-active {
	background: linear-gradient(135deg, #5873ec, #4764db);
	border-color: #4764db;
	color: #fff;
}

.article-page-btn.is-disabled {
	pointer-events: none;
	opacity: 0.48;
}

.article-aside {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.article-aside-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #dce6fb;
	border-radius: 0.9rem;
	padding: 0.78rem;
}

.article-aside-title {
	margin: 0;
	font-size: 0.78rem;
	color: #7488b1;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.article-pill-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.62rem;
}

.article-pill {
	text-decoration: none;
	font-size: 0.74rem;
	background: #edf3ff;
	border: 1px solid #d7e3ff;
	color: #516ca8;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
}

.article-reading-shell {
	max-width: none;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.article-breadcrumb {
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid #dee8fb;
	border-radius: 0.8rem;
	padding: 0.45rem 0.7rem;
}

.article-reading-card {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid #dbe5fa;
	border-radius: 1rem;
	padding: 1.2rem 1.3rem;
	box-shadow: 0 14px 30px rgba(70, 90, 148, 0.11);
}

.article-reading-title {
	margin: 0 0 0.55rem;
	font-size: clamp(1.45rem, 2.5vw, 2.05rem);
	font-weight: 800;
	color: #22345f;
	line-height: 1.25;
}

.article-reading-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.8rem;
	color: #6f84af;
	font-size: 0.78rem;
	margin-bottom: 0.75rem;
}

.article-reading-chip-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0.42rem;
}

.article-summary-box {
	background: linear-gradient(180deg, #f8fbff, #f2f7ff);
	border: 1px solid #d9e6ff;
	border-radius: 0.85rem;
	padding: 0.72rem 0.82rem;
	margin-bottom: 1rem;
	color: #50648f;
	line-height: 1.6;
}

.article-content {
	font-size: 1.02rem;
	color: #2b3d66;
	line-height: 1.9;
	word-break: break-word;
}

.article-content p {
	margin: 0 0 1em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	margin: 1.25em 0 0.55em;
	color: #1f3564;
	font-weight: 700;
}

.article-content blockquote {
	margin: 1em 0;
	padding: 0.68rem 0.88rem;
	background: #f4f8ff;
	border-left: 3px solid #6280ee;
	border-radius: 0.5rem;
	color: #405782;
}

.article-content code {
	background: #edf3ff;
	color: #2f4f8b;
	padding: 0.08rem 0.32rem;
	border-radius: 0.32rem;
	font-size: 0.92em;
}

.article-content pre {
	background: #18233d;
	color: #dbe7ff;
	border-radius: 0.75rem;
	padding: 0.8rem;
	overflow-x: auto;
	margin: 1em 0;
}

.article-content-markdown img,
.article-content-markdown video {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 1em 0;
	border-radius: 0.5rem;
}

.article-content-markdown h1 {
	margin: 0.85em 0 0.5em;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 800;
	color: #1f3564;
	line-height: 1.25;
}

.article-content-markdown table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
	font-size: 0.95rem;
}

.article-content-markdown th,
.article-content-markdown td {
	border: 1px solid #c9d6f0;
	padding: 0.4rem 0.55rem;
}

.article-content-markdown th {
	background: #eef3ff;
}

.article-nav-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

.article-nav-card {
	background: rgba(255, 255, 255, 0.93);
	border: 1px solid #dce6fb;
	border-radius: 0.86rem;
	padding: 0.78rem 0.9rem;
}

.article-nav-label {
	color: #7c8eb6;
	font-size: 0.75rem;
	margin-bottom: 0.28rem;
}

.article-nav-link {
	text-decoration: none;
	color: #314a81;
	font-weight: 600;
}

[data-bs-theme="dark"] .article-shell {
	background: linear-gradient(135deg, #1c2436, #1a2234);
	border-color: #2a3a57;
	box-shadow: 0 16px 34px rgba(4, 9, 18, 0.35);
}

[data-bs-theme="dark"] .article-title,
[data-bs-theme="dark"] .article-card-title a,
[data-bs-theme="dark"] .article-reading-title {
	color: #dee8ff;
}

[data-bs-theme="dark"] .article-total,
[data-bs-theme="dark"] .article-meta,
[data-bs-theme="dark"] .article-reading-meta,
[data-bs-theme="dark"] .article-aside-title {
	color: #9bb2de;
}

[data-bs-theme="dark"] .article-filter,
[data-bs-theme="dark"] .article-card,
[data-bs-theme="dark"] .article-aside-card,
[data-bs-theme="dark"] .article-reading-card,
[data-bs-theme="dark"] .article-nav-card,
[data-bs-theme="dark"] .article-breadcrumb {
	background: rgba(26, 36, 58, 0.9);
	border-color: #334666;
}

[data-bs-theme="dark"] .article-summary,
[data-bs-theme="dark"] .article-content,
[data-bs-theme="dark"] .article-summary-box {
	color: #c8d7f4;
}

[data-bs-theme="dark"] .article-filter-chip,
[data-bs-theme="dark"] .article-tag,
[data-bs-theme="dark"] .article-pill {
	background: #243451;
	border-color: #37517f;
	color: #a9c0ef;
}

[data-bs-theme="dark"] .article-clear-btn,
[data-bs-theme="dark"] .article-page-btn {
	background: #1f2d48;
	border-color: #35507e;
	color: #b5caef;
}

[data-bs-theme="dark"] .article-content blockquote {
	background: #22334f;
	border-left-color: #7392ff;
	color: #d0def8;
}

[data-bs-theme="dark"] .article-content-markdown h1 {
	color: #e8f0ff;
}

[data-bs-theme="dark"] .article-content-markdown th,
[data-bs-theme="dark"] .article-content-markdown td {
	border-color: #3d4d72;
}

[data-bs-theme="dark"] .article-content-markdown th {
	background: rgba(99, 102, 241, 0.15);
}

@media (max-width: 1100px) {
	.article-main {
		grid-template-columns: 1fr;
	}

	.article-aside {
		order: -1;
	}
}

@media (max-width: 768px) {
	.article-shell {
		padding: 0.78rem;
	}

	.article-reading-card {
		padding: 0.95rem;
	}

	.article-nav-grid {
		grid-template-columns: 1fr;
	}
}
