/* 文章内容页面样式 */

/* 面包屑导航样式 */
.breadcrumb-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #bf9f46;
}

.breadcrumb span:last-child {
    color: #495057;
    font-weight: 500;
}

/* 文章内容区域 */
.article-content {
    background: #fff;
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.article-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    padding: 0 20px;
}

/* 文章头部 */
.article-header {
    padding: 50px 50px 30px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 25px 0;
    line-height: 1.3;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    color: #bf9f46;
    font-size: 16px;
}

/* 文章主图 */
.article-featured-image {
    position: relative;
    margin-bottom: 40px;
}

.article-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 14px;
    text-align: center;
    font-style: italic;
}

/* 文章正文 */
.article-body {
    padding: 40px 50px;
    line-height: 1.8;
    color: #333;
}

.article-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid #bf9f46;
}

.article-intro p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #2c3e50;
    line-height: 1.7;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #bf9f46;
    position: relative;
}

.article-body h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #bf9f46;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 16px;
    text-align: justify;
    text-indent: 2em;
}

/* 引用框样式 */
.quote-box {
    background: linear-gradient(135deg, #bf9f46 0%, #a88c3d 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.2);
    font-family: serif;
    line-height: 1;
}

.quote-box blockquote {
    margin: 0;
    position: relative;
    z-index: 2;
}

.quote-box p {
    color: #fff;
    font-size: 18px;
    font-style: italic;
    margin: 0 0 15px 0;
    text-indent: 0;
    line-height: 1.6;
}

.quote-box cite {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    display: block;
    text-align: right;
}

/* 文章标签 */
.article-tags {
    margin: 50px 0 30px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.article-tags h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: linear-gradient(135deg, #bf9f46 0%, #a88c3d 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(191, 159, 70, 0.4);
}

/* 文章操作按钮 */
.article-actions {
    padding: 30px 50px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.share-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.share-btn.weibo {
    background: #e6162d;
}

.share-btn.wechat {
    background: #09bb07;
}

.share-btn.qq {
    background: #12b7f5;
}

.share-btn.link {
    background: #666;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.article-tools {
    display: flex;
    gap: 15px;
}

.tool-btn {
    background: #fff;
    border: 2px solid #e9ecef;
    color: #666;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-btn:hover {
    border-color: #bf9f46;
    color: #bf9f46;
    transform: translateY(-2px);
}

.tool-btn.active {
    background: #bf9f46;
    border-color: #bf9f46;
    color: #fff;
}

/* 相关文章推荐 */
.related-articles {
    padding: 50px;
    background: #fff;
}

.related-articles h3 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 30px 0;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related-articles h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #bf9f46;
    border-radius: 2px;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.related-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-image {
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.4;
}

.related-content a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-content a:hover {
    color: #bf9f46;
}

.related-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .article-wrapper {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .article-wrapper {
        padding: 0 10px;
    }
    
    .article-header {
        padding: 30px 20px 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-body {
        padding: 30px 20px;
    }
    
    .article-body h2 {
        font-size: 20px;
    }
    
    .article-intro {
        padding: 20px;
    }
    
    .article-intro p {
        font-size: 16px;
    }
    
    .article-meta {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .article-actions {
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .related-articles {
        padding: 30px 20px;
    }
    
    .related-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .quote-box {
        padding: 20px;
        margin: 30px 0;
    }
    
    .quote-box p {
        font-size: 16px;
    }
    
    .article-featured-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 20px;
    }
    
    .article-body p {
        font-size: 15px;
        text-indent: 1em;
    }
    
    .article-body h2 {
        font-size: 18px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-tools {
        flex-wrap: wrap;
        justify-content: center;
    }
} 