/*
Theme Name: A16
Theme URI: https://github.com/yourusername/a16
Author: Your Name
Author URI: https://yourwebsite.com
Description: A16 is a modern knowledge sharing theme for WordPress, focused on content readability and elegant presentation. It supports featured content, expert opinions, and categorized articles with dynamic icons.
Version: 1.0.0
Requires at least: 5.3
Tested up to: 6.2
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: a16
Tags: blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, theme-options, translation-ready
*/

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #1a252f;
    --text: #333;
    --light-text: #7f8c8d;
    --border: #bdc3c7;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset & Basics */
*, *:before, *:after {
  box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    padding: 0;
    margin: 0;
    background-attachment: fixed;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo区域样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    flex-shrink: 0;
}

.logo img {
    width: 60px;
    height: auto;
    display: block;
    margin-left: 58px;
}

.site-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
}

.site-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #666;
}

.site-description {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.site-description a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-description a:hover {
    color: #999;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo h1 a {
    color: white;
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    position: relative;
}

nav a:hover, nav a.active, nav .current-menu-item a {
    background-color: rgba(255, 255, 255, 0.15);
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

nav a:hover:after, nav a.active:after, nav .current-menu-item a:after {
    width: 80%;
}

/* 主内容布局 */
.main-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    padding: 40px 0;
}

/* 文章区域 */
.articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.article-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 18px;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.article-text {
    margin-bottom: 20px;
    color: #555;
    flex-grow: 1;
}

/* 文章标签容器 */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* 分类标签样式 */
.article-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: #f0f2f5;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-category:hover {
    background-color: #e4e6e9;
    color: #333;
}

/* 移除所有旧的标签样式 */
.article-tag,
.tag-item,
.category-tag,
.post-tag {
    display: none !important;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    width: fit-content;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: var(--accent);
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.categories ul {
    list-style: none;
}

.categories li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.categories li:hover {
    background: rgba(236, 240, 241, 0.5);
    padding-left: 10px;
}

.categories li:last-child {
    border-bottom: none;
}

.categories a {
    text-decoration: none;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.categories a:hover {
    color: var(--secondary);
}

.count {
    background: var(--light);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--light);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.tag:hover {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.tag a {
    text-decoration: none;
    color: inherit;
}

/* 特色内容区 */
.feature-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.feature-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 20px;
}

.feature-header h2 {
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 800;
}

.feature-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.feature-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(189, 195, 199, 0.3);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    background: white;
    border-color: rgba(52, 152, 219, 0.2);
}

.feature-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: var(--primary);
}

.feature-title i {
    color: var(--secondary);
    font-size: 1.8rem;
    background: rgba(52, 152, 219, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* 专家观点部分 */
.expert-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 35px;
    margin: 40px 0;
}

.expert-header {
    text-align: center;
    margin-bottom: 30px;
}

.expert-header h2 {
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 800;
}

.expert-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expert-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(236, 240, 241, 0.5);
    transition: all 0.3s ease;
}

.expert-card:hover {
    background: rgba(52, 152, 219, 0.05);
    transform: translateY(-5px);
}

.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    font-weight: 700;
}

.expert-info {
    flex-grow: 1;
}

.expert-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.expert-title {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.expert-bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--dark), #0d1a26);
    color: white;
    padding: 60px 0 30px;
    margin-top: 50px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, var(--dark), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 2px solid rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.footer-links li:hover {
    border-left-color: var(--secondary);
    padding-left: 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 1rem;
}

.newsletter {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter button:hover {
    background: var(--accent);
}

/* WordPress 特定样式 */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 5px;
}

.sticky {
    border-left: 4px solid var(--secondary);
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    background: rgba(52, 152, 219, 0.05);
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .feature-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .articles {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expert-grid {
        grid-template-columns: 1fr;
    }
}

/* 文章卡片链接样式 */
.article-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.article-card-link:hover {
    color: inherit;
}

.article-card-link .article-content {
    height: 100%;
}

.article-category {
    display: inline-flex;
    align-items: center;
    background: rgba(44, 62, 80, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-category:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

.article-category i {
    margin-right: 5px;
}

/* 特色内容区域链接样式 */
.feature-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.feature-box-link:hover {
    color: inherit;
}

.feature-categories {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-category {
    display: inline-flex;
    align-items: center;
    background: rgba(44, 62, 80, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.feature-category:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

.feature-category i {
    margin-right: 5px;
}

/* 确保标签悬停时样式仍然有效 */
.article-tag:hover {
    background: var(--secondary);
    color: white;
    cursor: pointer;
}

/* 防止点击事件冒泡 */
.article-category, .feature-category {
    position: relative;
    z-index: 2;
}

.article-category:hover, .feature-category:hover {
    z-index: 3;
}

/* 确保特色区域的链接不影响鼠标悬停效果 */
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    background: white;
    border-color: rgba(52, 152, 219, 0.2);
}

/* 专家卡片链接样式 */
.expert-card-link {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.expert-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.expert-card {
    overflow: hidden;
}

/* 专家卡片悬停效果 */
.expert-card:hover {
    background: rgba(52, 152, 219, 0.05);
    transform: translateY(-5px);
}

/* 确保分页显示正确 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 4px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pagination a:hover, .pagination .current {
    background: var(--secondary);
    color: white;
}

/* 文章详情页样式 */
.article-detail {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 30px;
}

.article-detail-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.article-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--light-text);
    font-size: 0.95rem;
}

.article-detail-categories {
    margin-top: 15px;
}

.article-detail-category-label {
    font-weight: 600;
    margin-right: 10px;
    color: var(--text);
}

.article-detail-category {
    display: inline-flex;
    align-items: center;
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 10px;
    margin-bottom: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-detail-category:hover {
    background: var(--secondary);
    color: white;
    text-decoration: none;
}

.article-detail-category i {
    margin-right: 5px;
}

.article-detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 40px;
}

.article-detail-content p {
    margin-bottom: 20px;
}

.article-detail-content h2, 
.article-detail-content h3, 
.article-detail-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

.article-detail-content h2 {
    font-size: 1.7rem;
}

.article-detail-content h3 {
    font-size: 1.5rem;
}

.article-detail-content h4 {
    font-size: 1.3rem;
}

.article-detail-content ul, 
.article-detail-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-detail-content li {
    margin-bottom: 10px;
}

.article-detail-content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(236, 240, 241, 0.5);
    font-style: italic;
}

.article-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-detail-content table th, 
.article-detail-content table td {
    padding: 12px 15px;
    border: 1px solid var(--border);
}

.article-detail-content table th {
    background: var(--light);
    font-weight: 600;
}

.article-detail-content table tr:nth-child(even) {
    background: rgba(236, 240, 241, 0.3);
}

.article-detail-footer {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.article-detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.article-detail-tags-label {
    font-weight: 600;
    color: var(--text);
}

.article-detail-tag {
    display: inline-block;
    background: var(--light);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-detail-tag:hover {
    background: var(--secondary);
    color: white;
    text-decoration: none;
}

.article-detail-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-detail-share-label {
    font-weight: 600;
    color: var(--text);
}

.article-detail-share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-detail-share-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.article-detail-share-link.weibo:hover {
    background: #e6162d;
}

.article-detail-share-link.twitter:hover {
    background: #1da1f2;
}

.article-detail-share-link.facebook:hover {
    background: #4267b2;
}

.article-detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.article-detail-prev, 
.article-detail-next {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-detail-prev:hover, 
.article-detail-next:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-detail-prev a, 
.article-detail-next a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.article-detail-prev a i {
    margin-right: 8px;
}

.article-detail-next a i {
    margin-left: 8px;
}

.article-detail-next {
    text-align: right;
}

.related-articles {
    margin-top: 50px;
}

.related-articles-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.related-article {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-article-link {
    display: block;
    padding: 20px;
    color: inherit;
    text-decoration: none;
}

.related-article-link:hover {
    color: inherit;
}

.related-article-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 1.2rem;
}

.related-article-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
    line-height: 1.4;
}

.related-article-excerpt {
    color: var(--light-text);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.related-article-date {
    display: inline-block;
    color: var(--light-text);
    font-size: 0.85rem;
}

.related-article-date i {
    margin-right: 5px;
}

/* 分类页样式 */
.category-header {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.category-info {
    flex-grow: 1;
}

.category-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.category-description {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.category-meta {
    color: var(--light-text);
    font-size: 0.95rem;
}

.category-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.no-posts {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 50px;
    text-align: center;
}

.no-posts i {
    font-size: 3rem;
    color: var(--light-text);
    margin-bottom: 20px;
}

.no-posts p {
    font-size: 1.2rem;
    color: var(--light-text);
}

.pagination-container {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .article-detail {
        padding: 25px;
    }
    
    .article-detail-title {
        font-size: 1.8rem;
    }
    
    .article-detail-nav {
        grid-template-columns: 1fr;
    }
    
    .article-detail-next {
        text-align: left;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin: 0 auto;
    }
}

/* Logo样式 */
.logo img {
    max-width: 150px;
    height: auto;
    display: block;
    width: 60px;
    margin-left: 58px;
}

/* 文章缩略图样式 */
.article-thumbnail {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.article-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-thumbnail img:hover {
    transform: scale(1.05);
}

/* 确保图片响应式 */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* 头像图片样式 */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author .avatar {
    margin-right: 10px;
}

/* 移除所有圆形样式 */
.blue-circle,
.status-indicator,
.circle,
.dot,
.indicator,
.status-dot,
.online-status,
.status-badge,
.round-indicator {
    display: none !important;
}

/* 移除所有圆形背景 */
*[class*="circle"],
*[class*="dot"],
*[class*="indicator"],
*[class*="status"] {
    background: none !important;
    border-radius: 0 !important;
}

/* 图片容器样式 */
.image-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}