/* 
 * 信息发布类网站详情页样式
 * 经典布局：上部左图右信息，下部左详情右侧边栏
 */

/* 确保不影响头部导航样式 */
.zh_header,
.zh_header *,
.zh_nav,
.zh_nav * {
    /* 保护头部导航不受详情页样式影响 */
}

/* 详情页容器内的样式重置 - 避免影响头部导航 */
.zh_detail_container * {
    box-sizing: border-box;
}

.zh_detail_container {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.zh_detail_container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 面包屑导航 */
.zh_breadcrumb {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 12px;
}

.zh_breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_breadcrumb i {
    color: #00b894;
    font-size: 12px;
}

.zh_breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_breadcrumb a:hover {
    color: #00b894;
}

.zh_breadcrumb span {
    color: #333;
}

/* 上部信息区域 */
.zh_info_section {
    background: #fff;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
}

/* 左侧图片区域 */
.zh_image_box {
    position: relative;
}

.zh_main_thumb {
    width: 100%;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.zh_main_thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.zh_main_thumb:hover img {
    transform: scale(1.05);
}

/* 右侧基本信息 */
.zh_basic_info {
    padding: 10px 0;
}

.zh_info_title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
    border-bottom: 2px solid #00b894;
    padding-bottom: 15px;
}

.zh_info_list {
    margin-bottom: 25px;
}

.zh_info_item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.zh_label {
    width: 100px;
    color: #666;
    font-size: 14px;
    flex-shrink: 0;
}

.zh_value {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.zh_phone {
    color: #e74c3c;
    font-weight: 600;
    font-size: 16px;
}

/* 操作按钮 */
.zh_action_buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.zh_btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.zh_btn_primary {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}

.zh_btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 184, 148, 0.4);
}

.zh_btn_secondary {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
    box-shadow: 0 4px 12px rgba(253, 121, 168, 0.3);
}

.zh_btn_secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(253, 121, 168, 0.4);
}

.zh_btn_info {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    box-shadow: 0 4px 12px rgba(116, 185, 255, 0.3);
}

.zh_btn_info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(116, 185, 255, 0.4);
}

/* 下部内容区域 */
.zh_content_section {
    margin: 15px auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 15px;
}

/* 左侧详细内容 */
.zh_detail_content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zh_content_block {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.zh_block_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.zh_block_title i {
    color: #00b894;
    font-size: 16px;
}

.zh_content_body {
    line-height: 1.8;
    color: #555;
    font-size: 14px;
}

.zh_content_body p {
    margin-bottom: 12px;
}

.zh_content_body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
}

/* 服务承诺 */
.zh_service_promise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.zh_promise_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(0, 184, 148, 0.1);
    border-radius: 8px;
    color: #333;
    font-size: 14px;
}

.zh_promise_item i {
    color: #00b894;
    font-size: 16px;
}

/* 右侧边栏 */
.zh_sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zh_sidebar_block {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.zh_sidebar_title {
    font-size: 16px;
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.zh_sidebar_title i {
    color: #00b894 !important;
    font-size: 14px;
}

/* 联系信息 */
.zh_contact_info {
    margin-bottom: 15px;
}

.zh_contact_item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.zh_contact_item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.zh_contact_item i {
    color: #00b894;
    font-size: 14px;
    width: 20px;
    text-align: center;
    margin-top: 2px;
}

.zh_contact_item div {
    flex: 1;
}

.zh_contact_label {
    display: block;
    color: #666;
    font-size: 12px;
    margin-bottom: 3px;
}

.zh_contact_value {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.zh_phone_number {
    color: #e74c3c !important;
    font-weight: 600;
}

.zh_contact_buttons {
    display: flex;
    gap: 8px;
}

.zh_contact_btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.zh_phone_btn {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.zh_phone_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 184, 148, 0.3);
}

.zh_msg_btn {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.zh_msg_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(116, 185, 255, 0.3);
}

/* 热门推荐 */
.zh_hot_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zh_hot_item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.zh_hot_item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.zh_hot_thumb {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.zh_hot_thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.zh_hot_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zh_hot_info h5 {
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 1.3;
}

.zh_hot_info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_hot_info a:hover {
    color: #00b894;
}

.zh_hot_meta {
    font-size: 11px;
    color: #999;
}

/* 导航链接 */
.zh_nav_links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zh_sidebar_nav_link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #555 !important;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 13px;
    background: #f8f9fa;
}

.zh_sidebar_nav_link:hover {
    background: #00b894 !important;
    color: white !important;
    transform: translateX(3px);
}

.zh_sidebar_nav_link i {
    color: #00b894;
    width: 16px;
    font-size: 12px;
}

.zh_sidebar_nav_link:hover i {
    color: white !important;
}

/* 平台特色 */
.zh_platform_features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.zh_feature_item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 184, 148, 0.1);
    border-radius: 6px;
    font-size: 12px;
    color: #333;
}

.zh_feature_item i {
    color: #00b894;
    font-size: 14px;
}

.zh_complaint_link a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e74c3c;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.zh_complaint_link a:hover {
    color: #c0392b;
}

/* 公司信息 */
.zh_company_section {
    background: #fff;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.zh_company_info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #00b894;
    padding-bottom: 8px;
    display: inline-block;
}

.zh_company_info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.zh_company_details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.zh_company_item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
}

.zh_company_item i {
    color: #00b894;
    width: 16px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .zh_info_section {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
    
    .zh_content_section {
        grid-template-columns: 1fr 280px;
    }
}

@media (max-width: 768px) {
    .zh_detail_container .container {
        padding: 0 10px;
    }
    
    .zh_info_section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 10px auto;
        padding: 15px;
    }
    
    .zh_image_box {
        order: -1;
    }
    
    .zh_main_thumb {
        height: 200px;
    }
    
    .zh_content_section {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 10px auto;
    }
    
    .zh_action_buttons {
        flex-direction: column;
    }
    
    .zh_btn {
        width: 100%;
    }
    
    .zh_contact_buttons {
        flex-direction: column;
    }
    
    .zh_platform_features {
        grid-template-columns: 1fr;
    }
    
    .zh_company_details {
        grid-template-columns: 1fr;
    }
    
    .zh_service_promise {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .zh_info_title {
        font-size: 20px;
    }
    
    .zh_label {
        width: 80px;
        font-size: 13px;
    }
    
    .zh_value {
        font-size: 13px;
    }
    
    .zh_content_block,
    .zh_sidebar_block {
        padding: 15px;
    }
    
    .zh_breadcrumb .container {
        flex-wrap: wrap;
        gap: 5px;
    }
}

/* 动画效果 */
.zh_info_section,
.zh_content_block,
.zh_sidebar_block {
    animation-duration: 0.6s;
    animation-fill-mode: both;
}

/* 滚动条样式 - 仅在详情页容器内生效 */
.zh_detail_container ::-webkit-scrollbar {
    width: 6px;
}

.zh_detail_container ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.zh_detail_container ::-webkit-scrollbar-thumb {
    background: #00b894;
    border-radius: 3px;
}

.zh_detail_container ::-webkit-scrollbar-thumb:hover {
    background: #00a085;
}
