/* 文章页面样式 - 杭州大盘荆芥科技信息发布平台 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 容器样式 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_article_container {
    min-height: 100vh;
}

/* 页面头部英雄区域 */
.zh_article_hero {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 50%, #81C784 100%);
    background-image: url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.zh_hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.8) 0%, rgba(102, 187, 106, 0.7) 100%);
}

.zh_hero_content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

/* 面包屑导航 */
.zh_breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.zh_breadcrumb i {
    margin-right: 8px;
}

.zh_breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.zh_breadcrumb a:hover {
    opacity: 0.8;
}

.zh_separator {
    margin: 0 10px;
    opacity: 0.7;
}

.zh_current {
    opacity: 0.9;
}

/* 文章标题 */
.zh_article_title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.zh_title_decoration {
    font-size: 2rem;
    opacity: 0.8;
}

.zh_title_decoration i {
    animation: float 3s ease-in-out infinite;
}

/* 内容区域 */
.zh_article_content_section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.zh_content_wrapper {
    display: flex;
    justify-content: center;
    align-items: start;
}



/* 主要内容区域 */
.zh_article_main {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e8;
    max-width: 800px;
    width: 100%;
}

.zh_article_body {
    padding: 40px;
}



/* 文章内容样式 */
.zh_article_text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.zh_article_text h1,
.zh_article_text h2,
.zh_article_text h3,
.zh_article_text h4,
.zh_article_text h5,
.zh_article_text h6 {
    color: #2E7D32;
    margin: 30px 0 20px 0;
    font-weight: 600;
}

.zh_article_text h1 {
    font-size: 1.8rem;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 10px;
}

.zh_article_text h2 {
    font-size: 1.5rem;
    position: relative;
    padding-left: 20px;
}

.zh_article_text h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #4CAF50, #66BB6A);
    border-radius: 2px;
}

.zh_article_text h3 {
    font-size: 1.3rem;
    color: #388E3C;
}

.zh_article_text p {
    margin-bottom: 18px;
}

.zh_article_text ul,
.zh_article_text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.zh_article_text li {
    margin-bottom: 8px;
    position: relative;
}

.zh_article_text ul li::marker {
    color: #4CAF50;
}

.zh_article_text strong {
    color: #2E7D32;
    font-weight: 600;
}

.zh_article_text a {
    color: #4CAF50;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.zh_article_text a:hover {
    border-bottom-color: #4CAF50;
}

.zh_article_text blockquote {
    background: #f1f8e9;
    border-left: 4px solid #4CAF50;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.zh_article_text table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.zh_article_text th,
.zh_article_text td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e8f5e8;
}

.zh_article_text th {
    background: #4CAF50;
    color: white;
    font-weight: 600;
}

.zh_article_text tr:hover {
    background-color: #f8f9fa;
}

/* 文章底部 */
.zh_article_footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e8f5e8;
}

.zh_contact_card {
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #4CAF50;
}

.zh_contact_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.zh_contact_header i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.zh_contact_header h4 {
    color: #2E7D32;
    font-size: 1.1rem;
    font-weight: 600;
}

.zh_contact_info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.zh_contact_item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.zh_contact_item i {
    color: #4CAF50;
    font-size: 1rem;
    width: 16px;
}

/* 返回顶部按钮 */
.zh_back_to_top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
    z-index: 1000;
}

.zh_back_to_top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.zh_back_to_top.zh_show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 动画效果 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .zh_article_main {
        max-width: 700px;
    }
    
    .zh_article_title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .zh_article_main {
        max-width: 100%;
    }
    
    .zh_article_body {
        padding: 25px;
    }
    
    .zh_article_title {
        font-size: 1.8rem;
    }
    
    .zh_article_hero {
        height: 250px;
    }
    
    .zh_contact_info {
        grid-template-columns: 1fr;
    }
    
    .zh_back_to_top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_article_content_section {
        padding: 30px 0;
    }
    
    .zh_article_body {
        padding: 20px;
    }
    
    .zh_article_title {
        font-size: 1.5rem;
    }
    
    .zh_sidebar_card {
        padding: 20px;
    }
    
    .zh_contact_card {
        padding: 20px;
    }
}

/* 打印样式 */
@media print {
    .zh_back_to_top,
    .zh_article_hero {
        display: none;
    }
    
    .zh_article_main {
        box-shadow: none;
        border: 1px solid #ddd;
        max-width: 100%;
    }
    
    .zh_article_body {
        padding: 20px;
    }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .zh_article_hero {
        background-image: none;
    }
    
    .zh_hero_overlay {
        background: #4CAF50;
    }
    
    .zh_article_main {
        border: 2px solid #333;
    }
}
