/* ── 面包屑 Hero ── */
.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); }

/* ── 搜索条 ── */
.hi-search-bar { background: #fff; border-bottom: 1px solid var(--c-border); padding: 14px 0; }
.search-wrap {
    display: flex; align-items: center; max-width: 560px;
    border: 1.5px solid var(--c-border); border-radius: 8px;
    overflow: hidden; background: #fff;
}
.search-wrap input {
    flex: 1; border: none; outline: none; padding: 10px 14px;
    font-size: 14px; color: var(--c-text); background: transparent; min-width: 0;
}
.search-wrap input::placeholder { color: #bbb; }
.search-wrap button {
    background: var(--c-blue); color: #fff; border: none;
    padding: 10px 20px; font-size: 15px; cursor: pointer; flex-shrink: 0;
    align-self: stretch; display: flex; align-items: center;
}
.search-wrap button:hover { background: #1255A0; }

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

/* ── 区块头 ── */
.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); }
.hi-card {
    background: var(--c-card); border-radius: 10px;
    box-shadow: var(--c-shadow); overflow: hidden; margin-bottom: 18px;
}

/* ── 排序标签 ── */
.sort-tabs { display: flex; gap: 6px; padding: 12px 18px; flex-wrap: wrap; }
.sort-tab {
    padding: 5px 16px; border-radius: 20px; font-size: 13px; font-weight: 500;
    border: 1.5px solid var(--c-border); background: transparent;
    color: var(--c-muted); cursor: pointer; text-decoration: none;
}
.sort-tab:hover, .sort-tab.active {
    background: var(--c-blue); border-color: var(--c-blue); color: #fff;
}

/* ── 文章列表项 ── */
.article-item {
    display: flex; gap: 14px; padding: 16px 18px;
    border-bottom: 1px solid var(--c-border); align-items: flex-start;
}
.article-item:last-child { border-bottom: none; }
.article-thumb {
    width: 120px; height: 82px; object-fit: cover;
    border-radius: 7px; flex-shrink: 0; background: var(--c-bg);
}
.article-thumb-placeholder {
    width: 120px; height: 82px; border-radius: 7px; flex-shrink: 0;
    background: var(--c-bg); display: flex; align-items: center; justify-content: center;
    color: var(--c-muted); font-size: 22px;
}
.article-body { flex: 1; min-width: 0; }
.article-title-link {
    font-size: 15px; font-weight: 600; color: var(--c-text);
    line-height: 1.5; display: block; margin-bottom: 5px;
}
.article-title-link:hover { color: var(--c-blue); }
.article-excerpt {
    font-size: 12px; color: var(--c-muted); line-height: 1.75; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-foot {
    display: flex; align-items: center; gap: 14px;
    font-size: 12px; color: var(--c-muted);
}
.article-foot i { margin-right: 3px; }

/* ── 分页 ── */
.hi-pagination { padding: 20px 18px; display: flex; justify-content: center; }
.hi-pagination .page-link {
    color: var(--c-blue); border-color: var(--c-border);
    font-size: 13px; padding: 6px 14px;
}
.hi-pagination .page-item.active .page-link {
    background: var(--c-blue); border-color: var(--c-blue); color: #fff;
}
.hi-pagination .page-link:hover { background: var(--c-blue-l); }

/* ── 侧边栏 ── */
.sidebar-block { background: var(--c-card); border-radius: 10px; box-shadow: var(--c-shadow); overflow: hidden; margin-bottom: 18px; }
.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-thumb, .article-thumb-placeholder { width: 88px; height: 64px; }
    .article-title-link { font-size: 14px; }
}
@media (max-width: 575.98px) {
    .article-thumb, .article-thumb-placeholder { width: 72px; height: 54px; }
}


/* ============================================================
   热门标签 - 分级标签墙
============================================================ */
.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); }