/* ── 面包屑 ── */
.hi-breadcrumb-bar {
    background: linear-gradient(135deg,#1558A0 0%,#0E3F7A 55%,#0B3369 100%);
    padding: 18px 0; position: relative; overflow: hidden;
}
.hi-breadcrumb-bar::before {
    content:''; position:absolute; top:-60px; right:-60px;
    width:300px; height:300px; border-radius:50%;
    background:rgba(255,255,255,.04); pointer-events:none;
}
.hi-breadcrumb-bar .breadcrumb {
    background: transparent; margin: 0; padding: 0; font-size: 13px;
}
.hi-breadcrumb-bar .breadcrumb-item a { color: rgba(255,255,255,.75); }
.hi-breadcrumb-bar .breadcrumb-item a:hover { color: #fff; }
.hi-breadcrumb-bar .breadcrumb-item.active,
.hi-breadcrumb-bar .breadcrumb-item { color: rgba(255,255,255,.9); }
.hi-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── 主区 ── */
.main-area { padding: 28px 0 60px; }

/* ── 卡片基础 ── */
.hi-card {
    background: var(--c-card); border-radius: 10px;
    box-shadow: var(--c-shadow); overflow: hidden; margin-bottom: 18px;
}

/* ── 文章内容区 ── */
.article-header { padding: 24px 24px 0; }
.article-category-badge {
    display: inline-block; background: var(--c-blue-l); color: var(--c-blue);
    font-size: 11px; padding: 3px 10px; border-radius: 10px;
    margin-bottom: 12px; font-weight: 500;
}
.article-main-title {
    font-size: 22px; font-weight: 700; color: var(--c-text);
    line-height: 1.5; margin-bottom: 14px;
}
.article-meta-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px;
    padding: 12px 24px; border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    font-size: 12px; color: var(--c-muted);
}
.article-meta-left { display: flex; gap: 16px; align-items: center; }
.article-meta-right { display: flex; gap: 14px; align-items: center; }
.article-meta-right a { color: var(--c-muted); font-size: 12px; }
.article-meta-right a:hover { color: var(--c-blue); }
.article-meta-right i { margin-right: 3px; }

/* ── 广告条 ── */
.ad-strip { padding: 14px 24px; border-bottom: 1px solid var(--c-border); }

/* ── 正文内容 ── */
.article-content-body {
    padding: 20px 24px; line-height: 1.9; font-size: 15px; color: var(--c-text);
}
.article-content-body img { max-width: 100%; border-radius: 6px; height: auto; }
.article-content-body p { margin-bottom: 1em; }
.article-content-body h2,
.article-content-body h3,
.article-content-body h4 { color: var(--c-text); margin: 1.4em 0 .6em; }

/* ── 文章标签 ── */
.article-tags { padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--c-border); }
.article-tag {
    display: inline-block; background: var(--c-blue-l); color: var(--c-blue);
    font-size: 12px; padding: 4px 12px; border-radius: 20px;
    border: 1px solid rgba(26,111,196,.15);
}
.article-tag:hover { background: var(--c-blue); color: #fff; }

/* ── 上下篇 ── */
.prev-next-area { padding: 16px 24px; border-top: 1px solid var(--c-border); }
.prev-next-area .row > div { display: flex; flex-direction: column; gap: 4px; }
.pn-label { font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .5px; }
.pn-title { font-size: 13px; font-weight: 500; color: var(--c-text); line-height: 1.5; }
.pn-title:hover { color: var(--c-blue); }
.pn-none { font-size: 13px; color: var(--c-muted); }

/* ── 相关文章 ── */
.related-area { padding: 20px 24px; border-top: 1px solid var(--c-border); }
.section-label {
    font-size: 15px; font-weight: 700; color: var(--c-text);
    display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.section-label::before {
    content:''; display:block; width:4px; height:17px;
    background:var(--c-blue); border-radius:2px; flex-shrink:0;
}
.related-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.related-item:last-child { margin-bottom: 0; }
.related-thumb {
    width: 96px; height: 66px; object-fit: cover;
    border-radius: 6px; flex-shrink: 0; background: var(--c-bg);
}
.related-thumb-ph {
    width: 96px; height: 66px; border-radius: 6px; flex-shrink: 0;
    background: var(--c-bg); display: flex; align-items: center;
    justify-content: center; color: var(--c-muted); font-size: 18px;
}
.related-title {
    font-size: 13px; font-weight: 600; color: var(--c-text);
    line-height: 1.5; display: block;
}
.related-title:hover { color: var(--c-blue); }

/* ── 评论区 ── */
.comment-area { padding: 20px 24px; border-top: 1px solid var(--c-border); }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.comment-item:last-child { border-bottom: none; }
.comment-avatar img {
    width: 38px; height: 38px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--c-border);
}
.comment-body { flex: 1; min-width: 0; }
.comment-author { font-size: 13px; font-weight: 600; color: var(--c-text); margin-bottom: 2px; }
.comment-date { font-size: 11px; color: var(--c-muted); margin-bottom: 6px; display: block; }
.comment-text { font-size: 13px; color: var(--c-text); line-height: 1.7; margin-bottom: 6px; }
.comment-reply-btn {
    font-size: 12px; color: var(--c-muted); cursor: pointer; text-decoration: none;
}
.comment-reply-btn:hover { color: var(--c-blue); }

/* 子评论缩进 */
.comment-children { list-style: none; padding: 0; margin: 10px 0 0 50px; }
.comment-children .comment-item {
    background: var(--c-bg); border-radius: 6px;
    padding: 10px 12px; margin-bottom: 6px; border-bottom: none;
}

/* ── 回复表单 ── */
.reply-form-area { border-top: 1px solid var(--c-border); padding-top: 20px; }
.reply-form-area .form-control {
    border-color: var(--c-border); border-radius: 7px; font-size: 13px;
    color: var(--c-text);
}
.reply-form-area .form-control:focus {
    border-color: var(--c-blue);
    box-shadow: 0 0 0 3px rgba(26,111,196,.1);
}
.reply-form-area textarea { resize: vertical; min-height: 90px; }
.btn-submit-reply {
    background: var(--c-blue); color: #fff; border: none;
    padding: 9px 28px; border-radius: 7px; font-size: 14px;
    cursor: pointer; font-weight: 500;
}
.btn-submit-reply:hover { background: #1255A0; }

/* ── 区块头 ── */
.hi-sec-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px 12px; border-bottom: 1px solid var(--c-border);
}
.hi-sec-title {
    font-size: 15px; font-weight: 700; color: var(--c-text);
    display: flex; align-items: center; gap: 8px;
}
.hi-sec-title::before {
    content: ''; display: block; width: 4px; height: 17px;
    background: var(--c-blue); border-radius: 2px; flex-shrink: 0;
}
.hi-sec-more { font-size: 12px; color: var(--c-muted); display: flex; align-items: center; gap: 3px; }
.hi-sec-more:hover { color: var(--c-blue); }

/* ── 侧边栏 ── */
.sidebar-block { background: var(--c-card); border-radius: 10px; box-shadow: var(--c-shadow); overflow: hidden; margin-bottom: 18px; }

/* 分享 */
.share-row { padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 7px; font-size: 13px;
    border: 1.5px solid var(--c-border); color: var(--c-muted);
    cursor: pointer; text-decoration: none;
}
.share-btn:hover { border-color: var(--c-blue); color: var(--c-blue); }

/* 社交 */
.social-row { display: flex; justify-content: space-around; padding: 16px 8px; }
.social-btn {
    display: flex; flex-direction: column; align-items: center;
    gap: 5px; color: var(--c-muted); font-size: 11px; text-decoration: none;
}
.social-btn .fa {
    font-size: 20px; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--c-bg);
}
.social-btn:hover { color: var(--c-blue); }
.social-btn:hover .fa { background: var(--c-blue-l); color: var(--c-blue); }

/* 排名列表 */
.rank-list { padding: 4px 0; }
.rank-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-bottom: 1px solid var(--c-border); font-size: 13px;
}
.rank-item:last-child { border-bottom: none; }
.rank-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 4px;
    font-size: 11px; font-weight: 700; flex-shrink: 0; color: #fff;
}
.rank-num.top { background: var(--c-red); }
.rank-num.mid { background: var(--c-amber); }
.rank-item a {
    color: var(--c-text); flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rank-item a:hover { color: var(--c-blue); }
.rank-item .badge-nature {
    font-size: 10px; padding: 2px 7px; border-radius: 8px;
    background: var(--c-green-l); color: var(--c-green); flex-shrink: 0;
}

/* ── 响应式 ── */
@media (max-width: 767.98px) {
    .article-main-title { font-size: 18px; }
    .article-content-body { padding: 16px; font-size: 14px; }
    .article-header { padding: 16px 16px 0; }
    .article-meta-bar { padding: 10px 16px; }
    .comment-area, .related-area, .prev-next-area, .article-tags { padding: 14px 16px; }
    .ad-strip { padding: 10px 16px; }
}


/* ============================================================
   热门标签 - 分级标签墙
============================================================ */
.hot-tag-wrap { padding: 14px 14px 16px; }

.hot-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 默认级别（普通标签） */
.hot-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 11px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.5;
    text-decoration: none;
    background: var(--c-bg);
    color: var(--c-muted);
    white-space: nowrap;
    border: 1px solid transparent;
}
.hot-tag .hot-tag-prefix {
    color: var(--c-muted);
    opacity: .55;
    font-weight: 600;
    font-size: 11.5px;
}
.hot-tag:hover {
    background: var(--c-blue-l);
    color: var(--c-blue);
}
.hot-tag:hover .hot-tag-prefix {
    color: var(--c-blue-m);
    opacity: 1;
}

/* 重点级别（第 2~4 个） */
.hot-tag-strong {
    background: var(--c-blue-l);
    color: var(--c-blue);
    font-weight: 500;
}
.hot-tag-strong .hot-tag-prefix { color: var(--c-blue-m); }
.hot-tag-strong:hover {
    background: var(--c-blue);
    color: #fff;
}
.hot-tag-strong:hover .hot-tag-prefix { color: rgba(255,255,255,.7); }

/* 焦点级别（第 1 个） */
.hot-tag-hero {
    background: var(--c-blue);
    color: #fff;
    font-weight: 500;
    padding: 6px 13px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(26,111,196,.22);
}
.hot-tag-hero .hot-tag-prefix { color: rgba(255,255,255,.55); }
.hot-tag-hero:hover {
    background: #1255A0;
    color: #fff;
}
.hot-tag-hero:hover .hot-tag-prefix { color: rgba(255,255,255,.85); }