/* 产业研究详情页样式 */

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #2563eb;
}

.breadcrumb span {
    color: #999;
}

.breadcrumb-current {
    color: #333;
}

/* 页面主体 */
.detail-main {
    background: #fff;
    padding: 0 0 48px;
    min-height: calc(100vh - 400px);
    margin-top: 70px;
}

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

/* 固定顶部区域 */
.article-header-sticky {
    position: sticky;
    top: 72px;
    background: #fff;
    z-index: 100;
    margin: 0 -20px;
    padding: 0 20px;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.article-header-sticky .article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 20px;
}

.article-header-left {
    flex: 1;
    min-width: 0;
}

.article-header-sticky .article-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-header-sticky .article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
}

.meta-item svg {
    color: #bbb;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.meta-item.tag-city {
    color: #1890ff;
    background: #e6f7ff;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.meta-item.tag-report {
    color: #2c5282;
    background: #e8f4f8;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.article-header-sticky .article-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-collect,
.btn-share {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-collect:hover,
.btn-share:hover {
    border-color: #2c5282;
    color: #2c5282;
}

.btn-download-main {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #2c5282;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-download-main:hover {
    background: #1e3a5f;
}

/* 政策基本信息 */
.policy-info {
    background: #f8fafc;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.policy-info p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.policy-info p:last-child {
    margin-bottom: 0;
}

.policy-info strong {
    color: #333;
}

/* 文章内容 */
.article-content {
    padding: 24px 0;
}

.content-section-title,
.summary-header,
.toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.title-bar {
    width: 4px;
    height: 18px;
    background: #2c5282;
    border-radius: 2px;
}

.content-section-title span:last-child,
.summary-header span:last-child,
.toc-header span:last-child {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.content-body {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.content-body p {
    margin: 0 0 16px;
}

.content-body h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 32px 0 16px;
}

.content-body ul,
.content-body ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body strong {
    color: #1a1a1a;
}

/* 内容预览提示 */
.content-preview-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    margin-top: 32px;
    font-size: 14px;
    color: #d48806;
}

.content-preview-tip svg {
    flex-shrink: 0;
}

/* 报告摘要 */
.report-summary {
    padding: 24px 0;
    border-bottom: 1px solid #e8e8e8;
}

.summary-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.report-keywords {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.keyword-label {
    font-size: 14px;
    color: #666;
}

.keyword-item {
    font-size: 12px;
    color: #2c5282;
    background: #e8f4f8;
    padding: 4px 12px;
    border-radius: 4px;
}

/* 报告目录 */
.report-toc {
    padding: 24px 0;
    border-bottom: 1px solid #e8e8e8;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 6px;
    transition: background 0.2s;
}

.toc-item:hover {
    background: #e8f4f8;
}

.toc-num {
    font-size: 13px;
    font-weight: 600;
    color: #2c5282;
    white-space: nowrap;
}

.toc-title {
    font-size: 14px;
    color: #333;
}

/* 附件下载区 */
.attachment-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
}

.attachment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.attachment-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.attachment-list {
    background: #fafbfc;
    border-radius: 8px;
    padding: 16px 20px;
}

.attachment-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.attachment-label {
    font-size: 14px;
    color: #666;
    margin-right: 8px;
    flex-shrink: 0;
}

.attachment-name {
    flex: 1;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attachment-file-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.attachment-file-icon.pdf {
    background: #fee2e2;
    color: #dc2626;
}

.attachment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.attachment-size {
    font-size: 12px;
    color: #999;
}

.attachment-download {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #1890ff;
    text-decoration: none;
    margin-left: 16px;
    flex-shrink: 0;
    transition: color 0.2s;
}

.attachment-download:hover {
    color: #40a9ff;
}

.attachment-download.primary {
    padding: 8px 20px;
    background: #2c5282;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
}

.attachment-download.primary:hover {
    background: #1e3a5f;
    color: #fff;
}

.attachment-download svg {
    width: 16px;
    height: 16px;
}

/* 响应式 */
@media (max-width: 768px) {
    .article-header-sticky {
        top: 60px;
    }
    
    .article-header-sticky .article-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
    }
    
    .article-header-sticky .article-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .article-header-sticky .article-meta {
        gap: 10px;
    }
    
    .meta-item {
        font-size: 12px;
    }
    
    .article-header-sticky .article-actions {
        width: 100%;
        margin-top: 12px;
    }
    
    .btn-download-main {
        width: 100%;
        justify-content: center;
    }
    
    .content-body {
        font-size: 14px;
    }
    
    .content-body h2 {
        font-size: 16px;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
    
    .attachment-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .attachment-name {
        flex: 0 0 100%;
        order: 2;
        margin-left: 0;
        margin-top: -4px;
    }
    
    .attachment-download {
        margin-left: auto;
    }
}
