/* 文章详情页样式 */
    .article-detail-page {
        background: #f5f5f5;
        padding: 20px 0 40px;
    }

    .article-detail-container {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* 面包屑导航 */
    .article-breadcrumb {
        background: #fff;
        border-radius: 8px;
        padding: 15px 25px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        font-size: 14px;
        color: #666;
    }

    .article-breadcrumb a {
        color: #667eea;
        text-decoration: none;
    }

    .article-breadcrumb a:hover {
        text-decoration: underline;
    }

    .article-breadcrumb i {
        margin: 0 8px;
        color: #ccc;
    }

    /* 内容区域 */
    .article-detail-section {
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }

    .article-detail-main {
        flex: 1;
        background: #fff;
        border-radius: 8px;
        padding: 40px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    /* 文章标题 */
    .article-detail-title {
        font-size: 32px;
        font-weight: 700;
        line-height: 1.4;
        color: #333;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 2px solid #f0f0f0;
    }

    /* 文章元信息 */
    .article-detail-meta {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        color: #666;
    }

    .article-meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .article-meta-item i {
        font-size: 16px;
    }

    .article-meta-item a {
        color: #667eea;
        text-decoration: none;
    }

    .article-meta-item a:hover {
        text-decoration: underline;
    }

    /* 文章摘要 */
    .article-detail-intro {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-left: 4px solid #667eea;
        padding: 25px;
        margin-bottom: 35px;
        border-radius: 6px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 17px;
        line-height: 1.85;
        color: #495057;
        letter-spacing: 0.3px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .article-detail-intro strong {
        color: #1a1a1a;
        margin-right: 8px;
        font-weight: 700;
        font-size: 18px;
    }

    /* 文章内容 */
    .article-detail-content {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 18px;
        line-height: 1.85;
        color: #2c3e50;
        margin-bottom: 30px;
        letter-spacing: 0.3px;
        word-spacing: 1px;
    }

    .article-detail-content p {
        margin-bottom: 24px;
        text-align: justify;
        text-justify: inter-ideograph;
    }

    .article-detail-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 30px auto;
        display: block;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .article-detail-content h1,
    .article-detail-content h2,
    .article-detail-content h3,
    .article-detail-content h4,
    .article-detail-content h5,
    .article-detail-content h6 {
        margin: 40px 0 20px;
        color: #1a1a1a;
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: -0.5px;
    }

    .article-detail-content h1 {
        font-size: 28px;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 10px;
    }

    .article-detail-content h2 {
        font-size: 24px;
        border-left: 4px solid #667eea;
        padding-left: 15px;
    }

    .article-detail-content h3 {
        font-size: 20px;
    }

    .article-detail-content h4 {
        font-size: 18px;
    }

    .article-detail-content ul,
    .article-detail-content ol {
        margin: 20px 0;
        padding-left: 30px;
        line-height: 1.8;
    }

    .article-detail-content ul li,
    .article-detail-content ol li {
        margin-bottom: 12px;
        color: #2c3e50;
    }

    .article-detail-content ul li {
        list-style-type: disc;
    }

    .article-detail-content ol li {
        list-style-type: decimal;
    }

    .article-detail-content blockquote {
        margin: 25px 0;
        padding: 20px 25px;
        background: #f8f9fa;
        border-left: 4px solid #667eea;
        border-radius: 4px;
        color: #555;
        font-style: italic;
        line-height: 1.8;
    }

    .article-detail-content blockquote p {
        margin-bottom: 0;
    }

    .article-detail-content a {
        color: #667eea;
        text-decoration: none;
        border-bottom: 1px solid rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
    }

    .article-detail-content a:hover {
        color: #5568d3;
        border-bottom-color: #5568d3;
    }

    .article-detail-content strong,
    .article-detail-content b {
        font-weight: 700;
        color: #1a1a1a;
    }

    .article-detail-content em,
    .article-detail-content i {
        font-style: italic;
        color: #555;
    }

    .article-detail-content code {
        background: #f4f4f4;
        padding: 2px 6px;
        border-radius: 3px;
        font-family: "Consolas", "Monaco", "Courier New", monospace;
        font-size: 15px;
        color: #e83e8c;
    }

    .article-detail-content pre {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 6px;
        overflow-x: auto;
        margin: 25px 0;
        border: 1px solid #e9ecef;
    }

    .article-detail-content pre code {
        background: none;
        padding: 0;
        color: #333;
        font-size: 14px;
    }

    .article-detail-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 25px 0;
        font-size: 16px;
    }

    .article-detail-content table th,
    .article-detail-content table td {
        padding: 12px 15px;
        border: 1px solid #e9ecef;
        text-align: left;
    }

    .article-detail-content table th {
        background: #f8f9fa;
        font-weight: 600;
        color: #333;
    }

    .article-detail-content table tr:nth-child(even) {
        background: #fafafa;
    }

    .article-detail-content hr {
        border: none;
        border-top: 2px solid #f0f0f0;
        margin: 30px 0;
    }

    /* 文章标签 */
    .article-detail-tags {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
    }

    .article-detail-tags strong {
        color: #666;
        margin-right: 5px;
    }

    .article-tag {
        display: inline-block;
        padding: 6px 14px;
        background: #f0f0f0;
        color: #666;
        text-decoration: none;
        border-radius: 20px;
        font-size: 13px;
        transition: all 0.3s ease;
    }

    .article-tag:hover {
        background: #667eea;
        color: #fff;
    }

    /* 操作工具栏 */
    .article-detail-actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
        padding: 20px 0;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 30px;
    }

    .article-action-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        background: #f5f5f5;
        color: #666;
        text-decoration: none;
        border-radius: 6px;
        font-size: 14px;
        transition: all 0.3s ease;
        cursor: pointer;
        border: none;
    }

    .article-action-btn:hover {
        background: #667eea;
        color: #fff;
    }

    .article-action-btn i {
        font-size: 16px;
    }

    .article-action-btn.like.active {
        background: #ff4757;
        color: #fff;
    }

    .article-action-btn.favorite.active {
        background: #ffa502;
        color: #fff;
    }

    /* 分页导航 */
    .article-page-nav {
        display: flex;
        justify-content: space-between;
        margin-bottom: 30px;
        padding: 20px;
        background: #f8f9fa;
        border-radius: 6px;
    }

    .article-page-nav-item {
        flex: 1;
        padding: 0 15px;
    }

    .article-page-nav-item.prev {
        border-right: 1px solid #e0e0e0;
    }

    .article-page-nav-label {
        font-size: 12px;
        color: #999;
        margin-bottom: 8px;
    }

    .article-page-nav-title {
        font-size: 14px;
        color: #333;
        text-decoration: none;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-clamp: 2;
    }

    .article-page-nav-title:hover {
        color: #667eea;
    }

    /* 相关推荐 */
    .article-related-section {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 2px solid #f0f0f0;
    }

    .article-related-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #333;
        position: relative;
        padding-left: 15px;
    }

    .article-related-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 20px;
        background: #667eea;
        border-radius: 2px;
    }

    .article-related-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .article-related-item {
        display: flex;
        gap: 12px;
        padding: 15px;
        background: #fafafa;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .article-related-item:hover {
        background: #f0f0f0;
        transform: translateX(5px);
    }

    .article-related-item-image {
        flex-shrink: 0;
        width: 100px;
        height: 70px;
        border-radius: 4px;
        overflow: hidden;
        background: #f0f0f0;
    }

    .article-related-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .article-related-item-content {
        flex: 1;
    }

    .article-related-item-title {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .article-related-item-title a {
        color: #333;
        text-decoration: none;
    }

    .article-related-item-title a:hover {
        color: #667eea;
    }

    .article-related-item-meta {
        font-size: 12px;
        color: #999;
    }

    /* 侧边栏 */
    .article-detail-sidebar {
        width: 300px;
        flex-shrink: 0;
    }

    .sidebar-widget {
        background: #fff;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .sidebar-widget-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 15px;
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f0f0;
        color: #333;
        position: relative;
    }

    .sidebar-widget-title::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 50px;
        height: 2px;
        background: #667eea;
    }

    .sidebar-news-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidebar-news-item {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        line-height: 1.6;
    }

    .sidebar-news-item:last-child {
        border-bottom: none;
    }

    .sidebar-news-item a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .sidebar-news-item a:hover {
        color: #667eea;
    }

    .sidebar-news-meta {
        font-size: 12px;
        color: #999;
        margin-top: 4px;
    }

    /* 响应式设计 */
    @media (max-width: 992px) {
        .article-detail-section {
            flex-direction: column;
        }

        .article-detail-sidebar {
            width: 100%;
        }

        .article-detail-main {
            padding: 25px;
        }

        .article-detail-title {
            font-size: 24px;
        }

        .article-related-list {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .article-detail-title {
            font-size: 20px;
        }

        .article-detail-meta {
            font-size: 12px;
            gap: 12px;
        }

        .article-detail-actions {
            gap: 10px;
        }

        .article-action-btn {
            padding: 6px 12px;
            font-size: 12px;
        }
    }