/* ==========================================
   文章详情样式 - Article Detail Styles
   ========================================== */

/* 文章布局 */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.article-main {
    background-color: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 文章头部 */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e8f4ff;
}

.article-category {
    display: inline-block;
    padding: 6px 20px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    color: #003d82;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #999;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-item i {
    color: #0066cc;
}

/* 文章内容 */
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.article-lead {
    font-size: 18px;
    font-weight: 500;
    color: #0066cc;
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 20px 25px;
    background-color: #e8f4ff;
    border-left: 4px solid #0066cc;
    border-radius: 8px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 600;
    color: #003d82;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f4ff;
}

.article-content h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background-color: #0066cc;
    margin-right: 12px;
    vertical-align: middle;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.article-content strong {
    color: #003d82;
    font-weight: 600;
}

/* 文章图片 */
.article-image {
    margin: 35px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image figcaption {
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
    background-color: #f8f9fa;
}

/* 引用块 */
.article-quote {
    position: relative;
    padding: 30px 30px 30px 70px;
    margin: 35px 0;
    background: linear-gradient(135deg, #e8f4ff 0%, #d0e8ff 100%);
    border-left: 5px solid #0066cc;
    border-radius: 10px;
}

.article-quote i {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 30px;
    color: #0066cc;
    opacity: 0.5;
}

.article-quote p {
    font-size: 17px;
    font-style: italic;
    color: #003d82;
    margin-bottom: 15px;
    line-height: 1.7;
}

.article-quote cite {
    font-size: 14px;
    color: #666;
    font-style: normal;
}

/* 文章底部 */
.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e8f4ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-tags i {
    color: #0066cc;
    font-size: 16px;
}

.article-tag {
    padding: 6px 15px;
    background-color: #f8f9fa;
    color: #666;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background-color: #0066cc;
    color: #fff;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #666;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: #666;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-3px);
}

/* 文章导航 */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.article-nav-prev,
.article-nav-next {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.article-nav-prev:hover,
.article-nav-next:hover {
    background-color: #e8f4ff;
    transform: translateY(-3px);
}

.nav-label {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-title {
    font-size: 15px;
    font-weight: 500;
    color: #003d82;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-nav-next {
    text-align: right;
}

/* 侧边栏 */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #003d82;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f4ff;
}

/* 相关新闻 */
.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-news-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-news-item:hover {
    background-color: #f8f9fa;
}

.related-news-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-news-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.related-news-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #003d82;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news-info span {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 标签云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 6px 15px;
    background-color: #f8f9fa;
    color: #666;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-2px);
}

/* CTA Widget */
.cta-widget .widget-content {
    text-align: center;
}

.cta-widget p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Footer社交媒体 */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #bbb;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-3px);
}

/* 响应式设计 Responsive */
@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .article-main {
        padding: 35px 30px;
    }

    .article-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .article-main {
        padding: 25px 20px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .article-nav-next {
        text-align: left;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 20px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .article-quote {
        padding: 20px 20px 20px 60px;
    }

    .article-quote i {
        font-size: 24px;
        top: 20px;
        left: 20px;
    }
}

