:root {
    --primary: #1a5cff;
    --primary-dark: #0a4ad0;
    --primary-light: #e9edff;
    --bg-body: #f4f6f9;
    --bg-white: #ffffff;
    --text-dark: #1e1e2a;
    --text-mid: #2d2d3f;
    --text-light: #6b6b80;
    --border-light: #e6eaf0;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
    --radius: 10px;
    --radius-sm: 6px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --primary: #2563eb;
	--primary-dark: #1d4ed8;
	--primary-light: #dbeafe;
	--text-dark: #1e293b;
	--text-muted: #64748b;
	--bg-light: #f8fafc;
	--border-color: #e2e8f0;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
	--radius: 12px;
	--transition: 0.25s ease;
}

* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== Topbar ===== */
.topbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-light);
}
.topbar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.topbar-left {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}
.topbar-left a { transition: color 0.2s; }
.topbar-left a:hover { color: var(--primary); }
.topbar-left .badge {
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    padding: 0 8px;
    border-radius: 30px;
    line-height: 18px;
    margin-left: 4px;
}

.qr-wrapper {
    position: relative;
    display: inline-block;
    cursor: default;
}
.qr-wrapper .qr-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.85);
    transform-origin: top center;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 100;
    border: 1px solid var(--border-light);
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.qr-wrapper:hover .qr-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}
.qr-wrapper .qr-tooltip img {
    width: 110px;
    height: 110px;
    display: block;
    border-radius: 6px;
    background: #f8f8f8;
}
.qr-wrapper .qr-tooltip .qr-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}
.qr-wrapper .qr-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #fff;
    filter: drop-shadow(0 -2px 4px rgba(0,0,0,0.04));
}

.topbar-right {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.topbar-right .btn-outline {
    border: 1px solid var(--border-light);
    padding: 2px 16px;
    border-radius: 30px;
    font-size: 12px;
    transition: all 0.2s;
}
.topbar-right .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.topbar-right .btn-primary-sm {
    background: var(--primary);
    color: #fff;
    padding: 2px 18px;
    border-radius: 30px;
    font-size: 12px;
}

/* ===== Main Header ===== */
.main-header {
    background: var(--bg-white);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
.main-header .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    font-size: 26px;
    color: var(--primary);
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    white-space: nowrap;
}
.logo-text span { color: var(--primary); }
.logo-tag {
    font-size: 11px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0 12px;
    border-radius: 30px;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
    justify-content: center;
}
.main-nav a {
    transition: color 0.2s;
    position: relative;
    white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--primary);
    border-radius: 4px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.search-toggle {
    font-size: 20px;
    color: var(--text-mid);
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 4px 6px;
    line-height: 1;
}
.search-toggle:hover { color: var(--primary); }
.hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-dark);
    flex-shrink: 0;
}

/* ===== 搜索模态框 ===== */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    justify-content: center;
    align-items: flex-start;
    padding-top: 12vh;
    backdrop-filter: blur(4px);
}
.search-modal.active { display: flex; }
.search-modal-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 28px 28px;
    max-width: 640px;
    width: 92%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
    animation: searchSlideDown 0.3s ease;
}
@keyframes searchSlideDown {
    from { opacity: 0; transform: translateY(-30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.search-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 4px;
}
.search-modal-close:hover { color: var(--text-dark); }
.search-modal-box .search-input-wrap {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    margin-top: 4px;
}
.search-modal-box .search-input-wrap i {
    font-size: 20px;
    color: var(--primary);
    margin-right: 12px;
}
.search-modal-box .search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    padding: 6px 0;
    color: var(--text-dark);
    background: transparent;
}
.search-modal-box .search-input-wrap input::placeholder {
    color: var(--text-light);
}
.search-modal-box .search-input-wrap button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.search-modal-box .search-input-wrap button:hover {
    background: var(--primary-dark);
}
.search-modal-box .search-hint {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.search-modal-box .search-hint a {
    color: var(--text-light);
    transition: color 0.2s;
}
.search-modal-box .search-hint a:hover { color: var(--primary); }

/* ===== 移动端导航 ===== */
@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 16px 20px 20px;
        gap: 12px;
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: 0 12px 40px rgba(0,0,0,0.12);
        border: 1px solid var(--border-light);
        border-top: none;
        z-index: 999;
        flex: unset;
        justify-content: flex-start;
    }
    .main-nav.open { display: flex; }
    .main-nav a {
        padding: 8px 4px;
        border-bottom: 1px solid var(--border-light);
        font-size: 15px;
        white-space: normal;
    }
    .main-nav a:last-child { border-bottom: none; }
    .main-nav a.active::after { display: none; }
    .main-nav a.active { color: var(--primary); font-weight: 600; }
    .hamburger { display: block; }
    .logo-text { font-size: 18px; }
    .logo-tag { font-size: 10px; padding: 0 8px; }
    .logo-icon { font-size: 22px; }
    .search-toggle { font-size: 18px; }
    .search-modal-box { padding: 20px; }
    .search-modal-box .search-input-wrap input { font-size: 16px; }
    .topbar-left { gap: 12px; font-size: 12px; }
    .topbar-right { gap: 10px; font-size: 12px; }
    .qr-wrapper .qr-tooltip img { width: 90px; height: 90px; }
}

@media (max-width: 480px) {
    .logo-text { font-size: 16px; }
    .logo-tag { display: none; }
    .logo-icon { font-size: 20px; }
    .search-toggle { font-size: 16px; }
    .topbar-left { gap: 8px; font-size: 11px; }
    .topbar-right { gap: 8px; font-size: 11px; }
    .topbar-left .badge { font-size: 9px; padding: 0 6px; line-height: 16px; }
    .main-nav { padding: 12px 16px 16px; gap: 8px; }
    .main-nav a { font-size: 14px; padding: 6px 4px; }
    .hamburger { font-size: 20px; }
    .search-modal-box { padding: 16px; }
    .search-modal-box .search-input-wrap input { font-size: 14px; }
    .search-modal-box .search-input-wrap button { font-size: 12px; padding: 4px 14px; }
    .qr-wrapper .qr-tooltip { min-width: 100px; }
    .qr-wrapper .qr-tooltip img { width: 80px; height: 80px; }
    .qr-wrapper .qr-tooltip .qr-label { font-size: 10px; }
}

/* ===== 快讯 - 自动向左滑动 ===== */
.breaking-news {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    display: flex;
    align-items: center;
}
.breaking-news .container {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    position: relative;
}
.breaking-label {
    background: #ff4d4f;
    color: #fff;
    font-weight: 700;
    padding: 0 14px;
    border-radius: 30px;
    line-height: 26px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.breaking-label i { font-size: 11px; }

.breaking-scroll-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}
.breaking-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.breaking-scroll {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
    transition: none;
    width: max-content;
}
.breaking-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 18px;
    white-space: nowrap;
    font-size: 14px;
    color: var(--text-mid);
    border-right: 1px solid var(--border-light);
}
.breaking-item:last-child { border-right: none; }
.breaking-item a {
    color: var(--text-mid);
    font-weight: 500;
    transition: color 0.2s;
}
.breaking-item a:hover { color: var(--primary); }
.breaking-item .breaking-time {
    color: var(--text-light);
    font-size: 12px;
    margin-left: 10px;
    flex-shrink: 0;
}

.breaking-arrow {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-light);
    font-size: 12px;
    flex-shrink: 0;
    padding: 0;
    box-shadow: var(--shadow-sm);
}
.breaking-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.breaking-arrow:active { transform: scale(0.92); }

@media (max-width: 768px) {
    .breaking-item { font-size: 13px; padding: 0 14px; }
    .breaking-item .breaking-time { font-size: 11px; margin-left: 6px; }
    .breaking-arrow { width: 24px; height: 24px; font-size: 10px; }
    .breaking-label { font-size: 11px; line-height: 22px; padding: 0 10px; }
}
@media (max-width: 480px) {
    .breaking-item { font-size: 12px; padding: 0 10px; }
    .breaking-item .breaking-time { font-size: 10px; margin-left: 4px; }
    .breaking-arrow { width: 22px; height: 22px; font-size: 9px; }
    .breaking-label { font-size: 10px; line-height: 20px; padding: 0 8px; }
    .breaking-news .container { gap: 8px; }
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb-wrap {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
}
.breadcrumb {
    font-size: 14px;
    color: var(--text-light);
}
.breadcrumb a {
    color: var(--text-light);
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep {
    margin: 0 8px;
    font-size: 12px;
    color: var(--border-light);
}
.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================================
   内容页 - 专属样式
   ============================================================ */

/* ===== 内容页主区域 ===== */
.content-main {
    padding-top: 24px;
}
.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

/* ===== 左侧：文章详情 ===== */
.article-detail {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px 36px 36px;
    box-shadow: var(--shadow-sm);
}
.article-detail .article-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.article-detail .article-header h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.article-detail .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    font-size: 14px;
    color: var(--text-light);
}
.article-detail .article-meta .author {
    font-weight: 600;
    color: var(--text-mid);
}
.article-detail .article-meta .author i {
    margin-right: 4px;
    color: var(--primary);
}
.article-detail .article-meta .date i,
.article-detail .article-meta .views i,
.article-detail .article-meta .comments i {
    margin-right: 4px;
}
.article-detail .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}
.article-detail .article-tags a {
    background: var(--bg-body);
    padding: 2px 14px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-mid);
    transition: all 0.2s;
}
.article-detail .article-tags a:hover {
    background: var(--primary);
    color: #fff;
}

.article-detail .article-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-mid);
}
.article-detail .article-body p {
    margin-bottom: 1.2em;
}
.article-detail .article-body h2,.article-detail .article-body strong{
    font-size: 22px;
    font-weight: 700;
    margin: 1.8em 0 0.6em;
    color: var(--text-dark);
}
.article-detail .article-body h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 1.4em 0 0.4em;
    color: var(--text-dark);
}
.article-detail .article-body ul,
.article-detail .article-body ol {
    padding-left: 1.8em;
    margin-bottom: 1.2em;
}
.article-detail .article-body li {
    margin-bottom: 0.4em;
}
.article-detail .article-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 18px;
    margin: 1.2em 0;
    color: var(--text-light);
    font-style: italic;
    background: var(--bg-body);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 12px 20px;
}
.article-detail .article-body img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 1.2em auto;
    box-shadow: var(--shadow-sm);
}
.article-detail .article-body .img-caption {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: -0.5em;
    margin-bottom: 1.2em;
}

/* ===== 新增：文章底部版权 + 标签 ===== */
.article-footer {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.article-copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 10px 16px;
    background: var(--bg-body);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-light);
}
.article-copyright .copyright-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.article-copyright .copyright-text i {
    color: var(--primary);
    font-size: 14px;
}
.article-copyright .copyright-text strong {
    color: var(--text-mid);
    font-weight: 600;
}
.article-copyright .copyright-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 30px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}
.article-copyright .copyright-tag i {
    font-size: 11px;
}

/* ===== 上一篇 / 下一篇（新增） ===== */
.article-prevnext {
	padding: 20px 0px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 24px;
}
.article-prevnext .pn-item {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 46%;
	min-width: 160px;
	flex: 1 1 auto;
}
.article-prevnext .pn-item .pn-label {
	font-size: 13px;
	color: var(--text-muted);
	white-space: nowrap;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 4px;
}
.article-prevnext .pn-item .pn-label i {
	font-size: 14px;
}
.article-prevnext .pn-item .pn-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-dark);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color var(--transition);
}
.article-prevnext .pn-item .pn-link:hover {
	color: var(--primary);
}
.article-prevnext .pn-item.pn-prev {
	justify-content: flex-start;
}
.article-prevnext .pn-item.pn-next {
	justify-content: flex-end;
	text-align: right;
}
.article-prevnext .pn-item.pn-next .pn-link {
	text-align: right;
}
.article-prevnext .pn-divider {
	display: none;
}

/* 空状态（无上一篇/下一篇时） */
.article-prevnext .pn-item.pn-empty .pn-link {
	color: var(--text-muted);
	font-weight: 400;
	cursor: default;
}
.article-prevnext .pn-item.pn-empty .pn-link:hover {
	color: var(--text-muted);
}

/* ===== 分享 ===== */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.article-share span {
    font-size: 14px;
    color: var(--text-light);
    margin-right: 6px;
}
.article-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-body);
    color: var(--text-mid);
    transition: all 0.2s;
    font-size: 16px;
}
.article-share a:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== 相关推荐 ===== */
.related-section {
    margin-top: 32px;
}
.related-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-section h4 i {
    color: var(--primary);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.related-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
    border: 1px solid var(--border-light);
}
.related-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.related-item .rel-thumb {
    height: 100px;
    background: linear-gradient(135deg, #e0e7ff, #c7d9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    overflow:hidden;
}
.related-item .rel-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit: cover;
}
.related-item .rel-info {
    padding: 10px 14px 14px;
}
.related-item .rel-info h5 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-item .rel-info h5 a:hover {
    color: var(--primary);
}
.related-item .rel-info .rel-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ===== 右侧边栏 ===== */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

.side-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 18px 20px 20px;
    box-shadow: var(--shadow-sm);
}
.side-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.side-card .card-header h4 {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.side-card .card-header .more {
    font-size: 13px;
    color: var(--text-light);
}
.side-card .card-header .more:hover {
    color: var(--primary);
}

/* 热门列表 */
.hot-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    list-style: none;
}
.hot-list li:last-child {
    border-bottom: none;
}
.hot-list .hot-rank {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    opacity: 0.5;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
    line-height: 1.5;
}
.hot-list li:nth-child(1) .hot-rank,
.hot-list li:nth-child(2) .hot-rank,
.hot-list li:nth-child(3) .hot-rank {
    opacity: 1;
    color: #ff7a2f;
}
.hot-list li a {
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s;
}
.hot-list li a:hover {
    color: var(--primary);
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud a {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 30px;
    background: var(--bg-body);
    color: var(--text-mid);
    font-size: 13px;
    transition: all 0.2s;
}
.tag-cloud a:hover {
    background: var(--primary);
    color: #fff;
}
.tag-cloud .tag-lg { font-size: 15px; padding: 6px 18px; }
.tag-cloud .tag-md { font-size: 13px; padding: 4px 14px; }
.tag-cloud .tag-sm { font-size: 12px; padding: 3px 10px; }

/* 推广卡片 */
.promo-card {
    background: linear-gradient(135deg, #1a5cff, #6c4dff);
    color: #fff;
    border: none;
}
.promo-card .card-header h4 { color: #fff; }
.promo-content {
    text-align: center;
    padding: 8px 0;
}
.promo-content i {
    font-size: 36px;
    margin-bottom: 8px;
    display: block;
}
.promo-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.promo-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 14px;
}
.promo-content .btn-white {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 6px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s;
}
.promo-content .btn-white:hover {
    transform: scale(1.04);
}

.social-icons {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-shrink: 0;
    padding-top: 2px;
}
.social-icons a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-body);
    color: var(--text-mid);
    font-size: 22px;
    transition: all 0.25s ease;
    border: 1px solid var(--border-light);
    text-decoration: none;
}
.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.social-icons a.wecom:hover {
    background: #07c160;
    color: #fff;
    border-color: #07c160;
}
.social-icons a.wechat-official:hover {
    background: #2bae60;
    color: #fff;
    border-color: #2bae60;
}
.social-icons a.douyin:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}
.social-icons a .badge-wecom {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #07c160;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 0 5px;
    border-radius: 4px;
    line-height: 16px;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    z-index: 2;
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.social-icons a .qr-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scale(0.85);
    transform-origin: bottom center;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 30;
    border: 1px solid var(--border-light);
    min-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.social-icons a:hover .qr-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}
.social-icons a .qr-tooltip img {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: 6px;
    background: #f8f8f8;
}
.social-icons a .qr-tooltip .qr-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}
.social-icons a .qr-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    .content-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        position: static;
        top: auto;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	.article-prevnext .pn-item {
		max-width: 100%;
		flex: 1 1 100%;
	}
	.article-prevnext .pn-item.pn-next {
		justify-content: flex-start;
		text-align: left;
	}
	.article-prevnext .pn-item.pn-next .pn-link {
		text-align: left;
	}
	.article-prevnext .pn-divider {
		display: none;
	}
}

@media (max-width: 768px) {
    .article-detail {
        padding: 20px;
    }
    .article-prevnext,
	.article-share,
	.related-section {
		padding-left: 0;
		padding-right: 0;
	}
	.article-prevnext {
		flex-direction: column;
		gap: 8px;
	}
	.article-prevnext .pn-item {
		max-width: 100%;
		flex: 1 1 auto;
	}
	.article-prevnext .pn-item.pn-next {
		justify-content: flex-start;
		text-align: left;
	}
	.article-prevnext .pn-item.pn-next .pn-link {
		text-align: left;
	}
    .article-detail .article-header h1 {
        font-size: 22px;
    }
    .article-detail .article-body {
        font-size: 16px;
    }
    .content-sidebar {
        grid-template-columns: 1fr;
        position: static;
        top: auto;
        margin-top:20px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .article-copyright {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 14px;
    }
    .article-copyright .copyright-tag {
        font-size: 11px;
        padding: 2px 12px;
    }
    .footer-top {
        flex-direction: column;
        gap: 16px;
    }
    .footer-brand { flex: 1 1 100%; }
    .footer-brand .brand-desc { max-width: 100%; }
    .footer-links { flex-wrap: wrap; gap: 4px 12px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .social-icons { align-self: flex-start; padding-top: 6px; }
    .footer-bottom .legal { flex-direction: column; gap: 2px; }
    .footer-bottom .legal .sep { display: none; }
    .social-icons a { width: 40px; height: 40px; font-size: 20px; }
    .social-icons a .qr-tooltip img { width: 100px; height: 100px; }
    .social-icons a .badge-wecom { font-size: 9px; line-height: 14px; padding: 0 4px; }
    .content-layout{
        display: initial;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .topbar { font-size: 11px; }
    .topbar-left { gap: 8px; }
    .topbar-right { gap: 8px; }
    .article-detail {
        padding: 16px;
    }
    .article-detail .article-header h1 {
        font-size: 19px;
    }
    .article-detail .article-body {
        font-size: 15px;
    }
    .article-share a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .related-item .rel-thumb {
        height: 160px;
        font-size: 22px;
    }
    .article-copyright {
        font-size: 13px;
        padding: 10px 12px;
    }
    .article-copyright .copyright-tag {
        font-size: 10px;
        padding: 2px 10px;
    }
    .social-icons { gap: 10px; }
    .social-icons a { width: 36px; height: 36px; font-size: 18px; }
    .social-icons a .qr-tooltip img { width: 90px; height: 90px; }
    .social-icons a .badge-wecom { font-size: 8px; line-height: 12px; padding: 0 3px; bottom: -1px; right: -1px; }
}