/* ========== 研发成果详情页样式（复用 article-detail.css + 本页扩展）========== */

.achievement-detail-page {
    min-height: 100vh;
    background: #f5f7fb;
    padding-top: 0;
}

.achievement-detail-page .article-container {
    background: #fff;
    padding: 40px 0 60px;
}

.achievement-detail-page .article-main {
    max-width: 900px;
    margin: 0 auto;
}

/* 头部 badge */
.achievement-detail-page .article-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    color: #fff;
    border-radius: 4px;
    background: linear-gradient(135deg, #FE720A 0%, #ff9a4d 100%);
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(254, 114, 10, 0.3);
}

/* 标签 */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.tag-label {
    font-size: 14px;
    color: #999;
}

.tag-item {
    padding: 6px 14px;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: #FE720A;
    color: #fff;
}

/* 文档附件 */
.article-docs-section {
    margin-top: 32px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
}

.article-docs-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.docs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    color: #FE720A;
    text-decoration: none;
    transition: all 0.3s ease;
}

.doc-item:hover {
    border-color: #FE720A;
    background: #fff5eb;
}

.doc-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.doc-name {
    font-size: 14px;
}

.doc-size {
    font-size: 12px;
    color: #999;
}

/* 分享 */
.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 24px;
    background: #f5f7fb;
    border-radius: 12px;
}

.share-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover { transform: scale(1.1); }
.share-btn.weibo { background: #e6162d; color: #fff; }
.share-btn.copy  { background: #666; color: #fff; }

/* 上一篇下一篇 */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.article-prev,
.article-next {
    flex: 1;
    padding: 16px 20px;
    background: #f5f7fb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    color: #333;
}

.article-prev:hover,
.article-next:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.article-prev { text-align: left; }
.article-next { text-align: right; }

.article-prev span:first-child,
.article-next span:first-child {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.article-nav-title {
    font-size: 14px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

/* 返回列表 */
.article-back {
    text-align: center;
    margin-top: 32px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: #FE720A;
    color: #fff;
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .achievement-detail-page .article-container {
        padding: 20px 0 40px;
    }

    .article-nav {
        flex-direction: column;
        gap: 12px;
    }

    .article-prev,
    .article-next {
        text-align: left;
        padding: 14px 16px;
    }

    .article-share {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 12px;
    }

    .docs-list {
        flex-direction: column;
    }

    .doc-item {
        width: 100%;
    }
}
