/* ===== 详情页特定样式 ===== */
/* 从 old/style.css 中提取的详情页相关样式 */

/* ===== 文章详情页样式 ===== */

/* 详情页容器 */
.infobox {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

/* 文章容器 */
.article {
    padding: 0;
}

/* 文章标题 */
.arti_title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0;
    padding: 30px 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
}

/* 文章元信息 */
.arti_metas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    color: #6c757d;
    flex-wrap: wrap;
    padding: 15px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    margin: 0;
}

.arti_metas span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.arti_metas span::before {
    content: "•";
    color: #00613b;
    font-weight: bold;
    margin-right: 5px;
}

/* 移除WP_VisitCount的圆点 */
.arti_metas .WP_VisitCount::before {
    content: none !important;
}

.arti_metas .arti_publisher::before {
    content: "👤";
}

.arti_metas .arti_update::before {
    content: "📅";
}

.arti_metas .arti_views::before {
    content: "👁";
}

/* 文章内容区域 */
.entry {
    padding: 0;
}

.read {
    padding: 30px;
}

.wp_articlecontent {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.wp_articlecontent p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.wp_articlecontent h3,
.wp_articlecontent h4 {
    color: #00613b;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.wp_articlecontent h3 {
    font-size: 22px;
    text-align: center;
    border-bottom: 2px solid #00613b;
    padding-bottom: 10px;
}

.wp_articlecontent h4 {
    font-size: 18px;
    border-left: 4px solid #00613b;
    padding-left: 15px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 0 6px 6px 0;
}

.wp_articlecontent ul {
    margin: 20px 0;
    padding-left: 30px;
}

.wp_articlecontent li {
    margin-bottom: 8px;
}

/* 文章详情容器 */
.article-detail {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 文章头部 */
.article-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.article-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0 0 15px 0;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    color: #6c757d;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta span::before {
    content: "•";
    color: #00613b;
    font-weight: bold;
    margin-right: 5px;
}

.article-meta span:first-child::before {
    content: "📅";
}

.article-meta span:nth-child(2)::before {
    content: "👤";
}

.article-meta span:last-child::before {
    content: "👁";
}

/* 文章内容 */
.article-content {
    padding: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #00613b;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

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

.article-content blockquote {
    border-left: 4px solid #00613b;
    background: #f8f9fa;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

/* 文章附件 */
.article-attachments {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.article-attachments h4 {
    color: #00613b;
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
}

.attachment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attachment-list li {
    margin-bottom: 10px;
}

.attachment-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00613b;
    text-decoration: none;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.attachment-list a:hover {
    background-color: #00613b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,97,59,0.3);
}

.attachment-list a::before {
    content: "📎";
    font-size: 14px;
}

/* 文章导航 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00613b;
    text-decoration: none;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    background-color: #00613b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,97,59,0.3);
}

.nav-next {
    text-align: right;
}

.nav-next .nav-link {
    justify-content: flex-end;
}

/* 移动端文章详情样式 */
@media (max-width: 768px) {
    .article-header {
        padding: 20px 15px 15px;
    }
    
    .article-title {
        font-size: 22px;
        text-align: left;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .article-content {
        padding: 20px 15px;
        font-size: 15px;
    }
    
    .article-content p {
        text-indent: 1.5em;
    }
    
    .article-attachments {
        padding: 15px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .nav-previous,
    .nav-next {
        width: 100%;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .nav-next .nav-link {
        justify-content: flex-start;
    }
}
