/* ============================================
   yennc.com 样式表
   AI模板生成规范 - 随机组合
   风格: G-玻璃拟态 / 布局: B-侧边栏布局
   色彩: 7-冷调 #2b6cb0/#319795/#805ad5
   ============================================ */

/* CSS变量 */
:root {
    --primary: #2b6cb0;
    --secondary: #319795;
    --accent: #805ad5;
    --bg-gradient: linear-gradient(135deg, #2b6cb0 0%, #319795 50%, #805ad5 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-bg: #ffffff;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --shadow-sm: 0 2px 8px rgba(43, 108, 176, 0.1);
    --shadow-md: 0 4px 20px rgba(43, 108, 176, 0.15);
    --shadow-lg: 0 8px 40px rgba(43, 108, 176, 0.2);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
}

/* 基础重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    background: #f0f4f8;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* 容器 */
.container { padding-top: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   头部导航
   ============================================ */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container { padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo img { height: 45px; }
.m-btn { display: none; font-size: 24px; cursor: pointer; }
.nav-bar .nav {
    display: flex;
    gap: 5px;
}
.nav-bar .nav li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-bar .nav li a:hover,
.nav-bar .nav li.active a {
    background: var(--bg-gradient);
    color: #fff;
}

/* ============================================
   Hero Banner B3 - 背景图+文字叠加
   ============================================ */
.hero-section { margin-bottom: 30px;
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #2b6cb0 0%, #319795 50%, #805ad5 100%);
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px;
    z-index: -1;
}
.hero-content {
    text-align: center;
    color: #fff;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 15px;
    opacity: 0.95;
}
.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.8;
}
.hero-search {
    max-width: 550px;
    margin: 0 auto;
}
.hero-search form {
    display: flex;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 24px;
    color: #fff;
    font-size: 1rem;
    outline: none;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.7); }
.hero-search button {
    background: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.hero-search button:hover { transform: scale(1.05); }

/* ============================================
   快捷导航 F2 - 卡片网格
   ============================================ */
.quick-nav-section {
    padding: 60px 0 40px;
}
.section-title {
    margin-bottom: 30px;
}
.section-title h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title h2 i {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.quick-nav-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.quick-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.qn-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: #fff;
}
.quick-nav-card span { font-weight: 600; color: var(--text-dark); font-size: 1rem; }

/* ============================================
   统计数据 S1 - 数字计数
   ============================================ */
.stats-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #2b6cb0 0%, #319795 100%);
    margin-bottom: 50px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-card {
    text-align: center;
    color: #fff;
    padding: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}
.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}
.stat-num {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 1rem;
    opacity: 0.85;
}

/* ============================================
   布局容器
   ============================================ */
.content-wrapper { max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    padding-bottom: 50px;
}
.main-content { min-width: 0; }

/* ============================================
   精选推荐 B2 - 左侧大图+右侧列表
   ============================================ */
.featured-section { margin-bottom: 50px; }
.featured-main {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
}
.featured-big {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    aspect-ratio: 16/10;
}
.featured-img { width: 100%; height: 100%; object-fit: cover; }
.featured-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}
.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #319795, #805ad5);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.featured-overlay h3 { font-size: 1.4rem; margin-bottom: 8px; }
.featured-overlay p { font-size: 0.9rem; opacity: 0.9; }
.featured-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.featured-item {
    display: flex;
    gap: 15px;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.featured-item:hover { box-shadow: var(--shadow-md); transform: translateX(5px); }
.featured-item-img { width: 120px; height: 90px; object-fit: cover; }
.featured-item-info {
    flex: 1;
    padding: 12px 15px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-item-info h4 { font-size: 1rem; color: var(--text-dark); margin-bottom: 8px; }
.featured-item-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================
   服务区块 LH - 交错卡片
   ============================================ */
.service-section { margin-bottom: 50px; }
.lh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lh-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.lh-card:nth-child(2),
.lh-card:nth-child(5) { transform: translateY(20px); }
.lh-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.lh-img { height: 160px; overflow: hidden; }
.lh-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.lh-card:hover .lh-img img { transform: scale(1.1); }
.lh-body { padding: 20px; }
.lh-tag {
    display: inline-block;
    background: var(--bg-gradient);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-bottom: 10px;
}
.lh-body h4 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 8px; }
.lh-body p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; }
.lh-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   新闻列表 LA - 左图右文
   ============================================ */
.news-section { margin-bottom: 50px; }
.la-list { display: flex; flex-direction: column; gap: 20px; }
.la-item {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.la-item:hover { box-shadow: var(--shadow-md); transform: translateX(5px); }
.la-img { width: 280px; height: 180px; flex-shrink: 0; }
.la-img img { width: 100%; height: 100%; object-fit: cover; }
.la-body {
    flex: 1;
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.la-body h4 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 10px; }
.la-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; line-height: 1.6; }
.la-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.la-meta span { display: flex; align-items: center; gap: 5px; }

/* ============================================
   LQ 网格 - 左图右文网格
   ============================================ */
.lq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lq-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.lq-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.lq-img { height: 140px; overflow: hidden; }
.lq-img img { width: 100%; height: 100%; object-fit: cover; }
.lq-body { padding: 18px; }
.lq-body h4 { font-size: 1rem; color: var(--text-dark); margin-bottom: 8px; }
.lq-body p { font-size: 0.85rem; color: var(--text-light); }

/* ============================================
   合作伙伴 H1 - Logo墙
   ============================================ */
.partner-section { margin-bottom: 50px; }
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.partner-item {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    padding: 10px;
    transition: var(--transition);
}
.partner-item:hover { border-color: var(--primary); }
.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}
.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   侧边栏
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.sidebar-widget {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}
.sidebar-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-title i { color: var(--primary); }

/* 图文列表 R11 */
.image-list li { margin-bottom: 15px; }
.image-list li:last-child { margin-bottom: 0; }
.image-list a { display: flex; gap: 12px; align-items: center; }
.img-list-img {
    width: 70px;
    height: 55px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.img-list-img img { width: 100%; height: 100%; object-fit: cover; }
.img-list-info { flex: 1; }
.img-list-info span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 5px;
}
.img-list-info small { font-size: 0.75rem; color: var(--text-muted); }

/* 排名列表 R10 */
.ranking-list { counter-reset: ranking; }
.ranking-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}
.ranking-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.ranking-num {
    width: 26px;
    height: 26px;
    background: var(--bg-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.ranking-list li:nth-child(1) .ranking-num { background: linear-gradient(135deg, #319795, #805ad5); }
.ranking-list li:nth-child(2) .ranking-num { background: linear-gradient(135deg, #2b6cb0, #319795); }
.ranking-list li:nth-child(3) .ranking-num { background: linear-gradient(135deg, #ed8936, #e53e3e); }
.ranking-list a {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ranking-list a:hover { color: var(--primary); }

/* 标签云 R5 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
    display: inline-block;
    padding: 6px 14px;
    background: #edf2f7;
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}
.tag-item:hover { background: var(--bg-gradient); color: #fff; }

/* 猜你喜欢 R2 */
.sidebar-hot-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}
.sidebar-hot-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-hot-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}
.sidebar-hot-list a:hover { color: var(--primary); }
.sidebar-hot-list i { color: var(--primary); font-size: 0.75rem; }

/* 联系我们 */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.contact-info i { color: var(--primary); width: 20px; }

/* ============================================
   底部
   ============================================ */
.footer {
    background: var(--text-dark);
    color: #a0aec0;
    text-align: center;
    padding: 30px 0;
}
.footer a { color: #fff; }
.footer a:hover { text-decoration: underline; }

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
    .content-wrapper { max-width: 1200px; margin: 0 auto; grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
    .featured-main { grid-template-columns: 1fr; }
    .featured-side { flex-direction: row; overflow-x: auto; }
    .featured-item { flex-direction: column; min-width: 200px; }
    .featured-item-img { width: 100%; height: 120px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .quick-nav-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .lh-grid { grid-template-columns: repeat(2, 1fr); }
    .lh-card:nth-child(2), .lh-card:nth-child(5) { transform: none; }
    .la-item { flex-direction: column; }
    .la-img { width: 100%; height: 200px; }
    .la-body { padding: 20px; }
    .lq-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .sidebar { grid-template-columns: 1fr; }
    .nav-bar { display: none; }
    .m-btn { display: block; }
}

@media (max-width: 480px) {
    .quick-nav-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 2rem; }
    .lh-grid, .lq-grid { grid-template-columns: 1fr; }
}

/* ============================================
   头部导航 - 匹配 head.html
   ============================================ */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo img { height: 50px; width: auto; }
.main-nav ul {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav ul li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
    background: var(--bg-gradient);
    color: #fff;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.active { 
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    .main-nav.active ul {
        flex-direction: column;
    }
    .nav-toggle { display: block; }
}

/* ============================================
   底部信息 - 简化版
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #a0aec0;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}
.footer-bottom {
    border-top: none;
    padding: 0;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================
   LE 极简列表 - 无图、简洁列表
   ============================================ */
.le-list {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.le-list li {
    border-bottom: 1px solid #eee;
}
.le-list li:last-child {
    border-bottom: none;
}
.le-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    transition: var(--transition);
}
.le-item:hover {
    background: #f8fafc;
    padding-left: 25px;
}
.le-title {
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.le-title i {
    color: var(--primary);
}
.le-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   列表页样式
   ============================================ */
.page-header { padding: 40px 0; margin-bottom: 30px;
    background: linear-gradient(135deg, #2b6cb0 0%, #319795 100%);
}
.page-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}
.page-breadcrumb {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}
.page-breadcrumb a { color: #fff; }
.page-breadcrumb a:hover { text-decoration: underline; }

.content-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    padding-bottom: 50px;
}

.list-item {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}
.list-thumb {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.list-info { flex: 1; }
.list-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.list-title a { color: var(--text-dark); }
.list-title a:hover { color: var(--primary); }
.list-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.6;
}
.list-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.list-meta span { display: flex; align-items: center; gap: 5px; }

.pagination {
    text-align: center;
    padding: 30px 0;
}

/* 侧边栏 */
.sidebar .sidebar-widget {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.widget-title {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.sidebar-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.sidebar-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.sidebar-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
    font-size: 0.9rem;
}
.sidebar-list a:hover { color: var(--primary); }
.sidebar-list .count {
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

@media (max-width: 1024px) {
    .content-grid { grid-template-columns: 1fr; }
    .list-thumb { width: 150px; height: 110px; }
}
@media (max-width: 768px) {
    .list-item { flex-direction: column; }
    .list-thumb { width: 100%; height: 180px; }
}

/* ============================================
   分页样式
   ============================================ */
.pagination {
    text-align: center;
    padding: 30px 0;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    background: var(--card-bg);
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: var(--transition);
}
.pagination a:hover {
    background: var(--bg-gradient);
    color: #fff;
    border-color: var(--primary);
}
.pagination .active {
    background: var(--bg-gradient);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================
   文章详情页样式
   ============================================ */
.article-detail {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}
.detail-header { margin-bottom: 30px; }
.detail-category {
    display: inline-block;
    background: var(--bg-gradient);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}
.detail-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}
.detail-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.detail-meta span { display: flex; align-items: center; gap: 5px; }
.detail-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}
.detail-content p { margin-bottom: 15px; }
.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 15px 0;
}
.detail-tags {
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.detail-tags i { margin-right: 5px; }

.related-articles { margin-top: 40px; }
.related-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.related-title i { margin-right: 8px; }
