/* article_detail.css - extracted from inline styles */
        /* 文章详情页样式 */
        .article-detail-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px 20px;
            display: flex;
            gap: 30px;
        }
        .article-main {
            flex: 1;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            padding: 40px;
            min-width: 0;
        }
        .article-sidebar {
            width: 320px;
            flex-shrink: 0;
        }
        .article-category {
            display: inline-block;
            background: linear-gradient(135deg, #f96c9f 0%, #d9658d 100%);
            color: #fff;
            padding: 4px 16px;
            border-radius: 20px;
            font-size: 13px;
            margin-bottom: 16px;
        }
        .article-title {
            font-size: 28px;
            font-weight: 700;
            color: #1a1a2e;
            line-height: 1.5;
            margin-bottom: 20px;
        }
        .article-meta {
            display: flex;
            align-items: center;
            gap: 20px;
            color: #999;
            font-size: 14px;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
        }
        .article-meta i {
            margin-right: 6px;
            color: #f96c9f;
        }
        .article-cover {
            width: 100%;
            border-radius: 12px;
            margin-bottom: 30px;
            max-height: 400px;
            object-fit: cover;
        }
        .article-content {
            font-size: 16px;
            line-height: 1.8;
            color: #333;
        }
        .article-content p {
            margin-bottom: 16px;
        }
        .article-content h2, .article-content h3 {
            margin: 24px 0 16px;
            color: #1a1a2e;
        }
        .article-tags {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #f0f0f0;
        }
        .article-tags .tag {
            display: inline-block;
            background: #f5f5f5;
            color: #666;
            padding: 4px 12px;
            border-radius: 16px;
            font-size: 13px;
            margin-right: 8px;
            margin-bottom: 8px;
        }
        /* 分享按钮 */
        .article-share {
            margin-top: 20px;
            display: flex;
            gap: 12px;
            align-items: center;
        }
        .share-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            cursor: pointer;
            transition: transform 0.2s;
        }
        .share-btn:hover { transform: scale(1.1); }
        .share-wechat { background: #07c160; }
        .share-weibo { background: #e6162d; }
        .share-link { background: #f96c9f; }
        /* 上下篇导航 */
        .article-nav {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid #f0f0f0;
        }
        .article-nav a {
            color: #f96c9f;
            text-decoration: none;
            font-size: 14px;
            max-width: 45%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .article-nav a:hover { text-decoration: underline; }
        /* 侧边栏卡片 */
        .sidebar-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            padding: 24px;
            margin-bottom: 20px;
        }
        .sidebar-card h3 {
            font-size: 18px;
            color: #1a1a2e;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid #f96c9f;
        }
        .hot-article-item {
            display: flex;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid #f5f5f5;
            text-decoration: none;
            color: inherit;
        }
        .hot-article-item:last-child { border-bottom: none; }
        .hot-article-item:hover { background: #f9f9f9; }
        .hot-article-rank {
            width: 24px;
            height: 24px;
            border-radius: 6px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
            color: #999;
            flex-shrink: 0;
        }
        .hot-article-rank.top3 { background: #f96c9f; color: #fff; }
        .hot-article-info { flex: 1; min-width: 0; }
        .hot-article-info h4 {
            font-size: 14px;
            color: #333;
            margin: 0 0 4px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .hot-article-info span {
            font-size: 12px;
            color: #999;
        }
        /* 相关文章 */
        .related-article-card {
            display: flex;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid #f5f5f5;
            text-decoration: none;
            color: inherit;
        }
        .related-article-card:last-child { border-bottom: none; }
        .related-article-thumb {
            width: 80px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
        }
        .related-article-info { flex: 1; min-width: 0; }
        .related-article-info h4 {
            font-size: 14px;
            color: #333;
            margin: 0 0 6px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .related-article-info span {
            font-size: 12px;
            color: #999;
        }
        /* 咨询师卡片 */
        .counselor-card {
            text-align: center;
        }
        .counselor-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 12px;
        }
        .counselor-name {
            font-size: 16px;
            font-weight: 600;
            color: #1a1a2e;
            margin-bottom: 4px;
        }
        .counselor-title {
            font-size: 13px;
            color: #999;
            margin-bottom: 12px;
        }
        .counselor-bio {
            font-size: 13px;
            color: #666;
            line-height: 1.6;
            text-align: left;
        }
        /* 点赞按钮 */
        .like-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 20px;
            border: 2px solid #f96c9f;
            border-radius: 25px;
            color: #f96c9f;
            cursor: pointer;
            background: transparent;
            font-size: 14px;
            transition: all 0.3s;
            margin-top: 20px;
        }
        .like-btn:hover, .like-btn.liked {
            background: #f96c9f;
            color: #fff;
        }
        @media (max-width: 768px) {
            .article-detail-container { flex-direction: column; }
            .article-sidebar { width: 100%; }
            .article-main { padding: 20px; }
            .article-title { font-size: 22px; }
        }


/* 详情页分类标签：覆盖 articles.css 的 position:absolute */
.article-main .article-category {
    position: static !important;
    display: inline-block;
    padding: 5px 16px;
    background: linear-gradient(135deg, #f96c9f, #d9658d);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(249,108,159,0.3);
    margin-bottom: 12px;
}
