/**
 * 江辰360仿3dpkepu - 体育科普风格
 * 参考 http://www.3dpkepu.com/
 */
* { box-sizing: border-box; }
body.jiangchen-body { margin: 0; font: 14px/1.6 "Microsoft YaHei", sans-serif; color: #333; background: #f5f5f5; }

/* 顶栏 */
.jc-header { background: #4a90d9; color: #fff; padding: 12px 0; position: sticky; top: 0; z-index: 100; }
.jc-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.jc-header .jc-container { display: flex; align-items: center; justify-content: space-between; }
.jc-logo a { color: #fff; font-size: 22px; font-weight: bold; text-decoration: none; }
.jc-logo a:hover { opacity: 0.9; }
.jc-nav { display: flex; align-items: center; gap: 20px; }
.jc-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 5px; flex-wrap: wrap; }
.jc-nav-list li { margin: 0; }
.jc-nav-list a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 3px; }
.jc-nav-list a:hover, .jc-nav-list li.active a { background: rgba(255,255,255,0.2); }
.jc-search-icon { color: #fff; text-decoration: none; font-size: 18px; }

/* 主布局 */
.jc-wrap { padding: 20px 0 40px; }
.jc-container .jc-main { float: left; width: 72%; }
.jc-container .jc-sidebar { float: right; width: 26%; }
.jc-container::after { content: ""; display: table; clear: both; }
/* 首页：按分类展示，无侧栏 */
.jc-container.jc-home-container .jc-main { width: 100%; }
.jc-home-by-cate { display: flex; flex-direction: column; gap: 24px; }
.jc-cate-section { margin-bottom: 0; }
.jc-cate-heading { display: flex; align-items: center; gap: 8px; }
.jc-cate-heading a { color: #222; text-decoration: none; }
.jc-cate-heading a:hover { color: #4a90d9; }
.jc-cate-icon { display: inline-block; width: 18px; height: 18px; border: 1px solid #bbb; border-radius: 50%; background: #fff; position: relative; flex-shrink: 0; }
.jc-cate-icon::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; background: #666; border-radius: 1px; }
/* 每个分类下文章列表双栏流动 */
.jc-home-cols-ul { column-count: 2; column-gap: 24px; }
.jc-home-cols-ul .jc-home-item { break-inside: avoid; }
@media (max-width: 640px) {
    .jc-home-cols-ul { column-count: 1; }
}
/* 首页列表项：小图+标题+摘要 */
.jc-home-list { list-style: none; margin: 0; padding: 0; }
.jc-home-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; overflow: hidden; }
.jc-home-item:last-child { border-bottom: none; }
.jc-home-thumb { flex-shrink: 0; width: 80px; height: 80px; display: block; overflow: hidden; border-radius: 4px; }
.jc-home-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jc-home-body { flex: 1; min-width: 0; overflow: hidden; }
.jc-home-title { margin: 0 0 4px; font-size: 15px; line-height: 1.35; font-weight: bold; }
.jc-home-title a { color: #222; text-decoration: none; }
.jc-home-title a:hover { color: #4a90d9; }
.jc-home-excerpt { margin: 0; font-size: 13px; color: #666; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }

/* 列表区 */
.jc-list-section { background: #fff; padding: 20px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.jc-list-title { margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid #e74c3c; font-size: 18px; color: #222; }

.jc-article-list { list-style: none; margin: 0; padding: 0; }
.jc-article-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #eee; }
.jc-article-item:last-child { border-bottom: none; }
.jc-item-thumb { flex-shrink: 0; width: 120px; height: 90px; display: block; overflow: hidden; border-radius: 4px; }
.jc-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jc-item-body { flex: 1; min-width: 0; }
.jc-item-title { margin: 0 0 6px; font-size: 16px; line-height: 1.4; }
.jc-item-title a { color: #222; text-decoration: none; }
.jc-item-title a:hover { color: #4a90d9; }
.jc-item-excerpt { margin: 0 0 8px; font-size: 13px; color: #666; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jc-item-meta { font-size: 12px; color: #999; }
.jc-meta-cate a { color: #4a90d9; text-decoration: none; }
.jc-meta-cate a:hover { text-decoration: underline; }
.jc-meta-date::before { content: " "; }
.jc-meta-views::before, .jc-meta-cmt::before { content: " · "; }

/* 分页 */
.jc-pagebar { margin-top: 24px; padding-top: 16px; border-top: 1px solid #eee; text-align: center; }
.jc-pagebar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.jc-page-link, .jc-page-current { padding: 6px 12px; border: 1px solid #ddd; border-radius: 3px; text-decoration: none; color: #333; }
.jc-page-link:hover { background: #4a90d9; color: #fff; border-color: #4a90d9; }
.jc-page-current { background: #4a90d9; color: #fff; border-color: #4a90d9; }

/* 侧栏 */
.jc-widget { background: #fff; padding: 16px; margin-bottom: 20px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
/* 侧栏标题：左侧红色竖条 + 下方黑色细线（与图中最近发表一致） */
.jc-widget-title { margin: 0 0 12px; padding-left: 12px; padding-bottom: 8px; border-left: 4px solid #e74c3c; border-bottom: 1px solid #333; font-size: 16px; color: #222; line-height: 1.4; }
.jc-recent-list { list-style: none; margin: 0; padding: 0; counter-reset: recent; }
.jc-recent-list li { padding: 6px 0; border-bottom: 1px dashed #eee; counter-increment: recent; }
.jc-recent-list li::before { content: counter(recent); color: #e67e22; font-weight: bold; margin-right: 2px; }
.jc-recent-list a { color: #333; text-decoration: none; font-size: 14px; }
.jc-recent-list a::before { content: " / "; color: #999; font-weight: normal; }
.jc-recent-list a:hover { color: #4a90d9; }
/* 随便看看：图中样式，橙色数字 + 灰色斜杠 + 标题 */
.jc-random-list { list-style: none; margin: 0; padding: 0; }
.jc-random-list-numbered { counter-reset: rnd; }
.jc-random-list-numbered li { padding: 8px 0; border-bottom: 1px dashed #eee; counter-increment: rnd; }
.jc-random-list-numbered li:last-child { border-bottom: none; }
.jc-random-list-numbered li::before { content: counter(rnd); color: #e67e22; font-weight: bold; font-size: 15px; margin-right: 2px; }
.jc-random-list-numbered .jc-random-link { color: #333; text-decoration: none; font-size: 14px; }
.jc-random-list-numbered .jc-random-link::before { content: " / "; color: #999; font-weight: normal; }
.jc-random-list-numbered .jc-random-link:hover { color: #4a90d9; }
/* 兼容旧版带缩略图的随便看看（若需可保留） */
.jc-random-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #eee; align-items: center; }
.jc-random-item:last-child { border-bottom: none; }
.jc-random-thumb { flex-shrink: 0; width: 80px; height: 60px; display: block; overflow: hidden; border-radius: 4px; }
.jc-random-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jc-random-title { flex: 1; color: #333; text-decoration: none; font-size: 13px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jc-random-title:hover { color: #4a90d9; }

/* 面包屑 */
.jc-breadcrumb { background: #fff; padding: 10px 20px; margin-bottom: 16px; border-radius: 4px; font-size: 13px; color: #666; }
.jc-breadcrumb a { color: #4a90d9; text-decoration: none; }
.jc-breadcrumb a:hover { text-decoration: underline; }

/* 内容页 */
.jc-single { background: #fff; padding: 24px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.jc-single-title { margin: 0 0 16px; font-size: 24px; line-height: 1.3; color: #222; }
.jc-single-meta { font-size: 13px; color: #666; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.jc-single-meta span { margin-right: 16px; }
.jc-single-meta a { color: #4a90d9; text-decoration: none; }
.jc-single-summary { margin-bottom: 20px; padding: 14px 16px; border: 1px dashed #bbb; border-radius: 4px; background: #fafafa; }
.jc-summary-label { display: block; color: #4a90d9; font-weight: bold; font-size: 14px; margin-bottom: 8px; }
.jc-summary-label::before { content: "▶"; color: #4a90d9; font-size: 12px; margin-right: 6px; }
.jc-summary-text { display: block; margin: 0; font-size: 14px; color: #555; line-height: 1.6; }
.jc-single-content { line-height: 1.8; }
.jc-single-content img { max-width: 100%; height: auto; }
.jc-single-nav { margin-top: 24px; padding-top: 16px; border-top: 1px solid #eee; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.jc-single-nav a { color: #4a90d9; text-decoration: none; }
.jc-single-nav a:hover { text-decoration: underline; }

/* 相关推荐 */
.jc-related { margin-top: 32px; padding-top: 24px; border-top: 1px solid #eee; }
.jc-related-title { margin: 0 0 16px; padding-left: 12px; border-left: 4px solid #4a90d9; font-size: 18px; color: #222; line-height: 1.4; }
.jc-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jc-related-item { display: flex; flex-direction: column; text-decoration: none; color: #333; border-radius: 4px; overflow: hidden; }
.jc-related-item:hover { color: #4a90d9; }
.jc-related-thumb { display: block; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #f0f0f0; }
.jc-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jc-related-name { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 900px) {
    .jc-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .jc-related-grid { grid-template-columns: 1fr; }
}

/* 页脚 */
.jc-footer { background: #2c3e50; color: #bdc3c7; padding: 24px 0; margin-top: 40px; text-align: center; }
.jc-footer .jc-copy { margin: 0; font-size: 13px; }
.jc-wechat-qr { margin-top: 12px; }
.jc-wechat-qr span { display: block; margin-bottom: 6px; }
.jc-wechat-qr img { max-width: 120px; height: auto; }

/* 响应式 */
@media (max-width: 768px) {
    .jc-container .jc-main { float: none; width: 100%; }
    .jc-container .jc-sidebar { float: none; width: 100%; }
    .jc-nav-list { font-size: 14px; }
    .jc-article-item { flex-direction: column; }
    .jc-item-thumb { width: 100%; height: 180px; }
}
