/* ========== 详情页样式 - Figma设计配色 ========== */

/* ========== 面包屑导航区 ========== */
.zh_breadcrumb_section {
    background: var(--zh-grey-bg, #F8F8F8);
    padding: 20px 0;
    margin-top: -120px;
    padding-top: 140px;
}

.zh_breadcrumb_section .zh_breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--zh-text, #484848);
}

.zh_breadcrumb_section .zh_breadcrumb a {
    color: var(--zh-heading, #101010);
    text-decoration: none;
    transition: color 0.3s;
}

.zh_breadcrumb_section .zh_breadcrumb a:hover {
    color: var(--zh-primary, #E95254);
}

.zh_breadcrumb_section .zh_breadcrumb i {
    font-size: 12px;
    color: var(--zh-accent-2, #E3DBCF);
}

/* ========== 主要内容区 ========== */
.zh_show_main {
    padding: 40px 0 80px;
    background: var(--zh-grey-bg, #F8F8F8);
}

/* ========== 头部信息卡片 ========== */
.zh_show_header_card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--zh-accent-2, #E3DBCF);
}

.zh_show_header_layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

/* 左侧图片 */
.zh_show_header_left {
    position: relative;
}

.zh_show_main_image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--zh-accent-2, #E3DBCF);
}

.zh_show_main_image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.zh_show_image_badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 8px 18px;
    background: rgba(16, 16, 16, 0.8);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zh_show_image_badge i {
    color: var(--zh-primary, #E95254);
}

/* 右侧信息 */
.zh_show_header_right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_show_category_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--zh-primary, #E95254);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
}

.zh_show_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--zh-heading, #101010);
    line-height: 1.4;
    margin: 0;
    font-family: 'Questrial', 'Noto Sans SC', sans-serif;
}

.zh_show_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.zh_show_tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--zh-accent-1, #F8F4EA);
    border-radius: 8px;
    font-size: 14px;
    color: var(--zh-text, #484848);
}

.zh_show_tag i {
    color: var(--zh-primary, #E95254);
}

.zh_show_divider {
    height: 1px;
    background: var(--zh-accent-2, #E3DBCF);
}

/* 策划师信息盒子 */
.zh_show_provider_box {
    background: var(--zh-heading, #101010);
    border-radius: 12px;
    padding: 25px;
    color: #fff;
}

.zh_show_info_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_show_info_title i {
    color: var(--zh-primary, #E95254);
}

.zh_show_info_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zh_show_info_list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zh_show_info_label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--zh-accent-2, #E3DBCF);
    font-size: 14px;
    min-width: 100px;
}

.zh_show_info_label i {
    color: var(--zh-primary, #E95254);
    width: 18px;
}

.zh_show_info_value {
    color: #fff;
    font-weight: 500;
}

.zh_show_provider_name {
    color: var(--zh-primary, #E95254);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.zh_show_provider_name:hover {
    color: #fff;
    text-decoration: underline;
}

.zh_show_phone {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.zh_show_actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zh_show_btn_primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--zh-primary, #E95254);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.zh_show_btn_primary:hover {
    background: #d4474a;
    color: #fff;
}

/* ========== 内容和侧边栏布局 ========== */
.zh_show_layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* ========== 左侧主内容 ========== */
.zh_show_content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 内容区块 */
.zh_show_section {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    border: 1px solid var(--zh-accent-2, #E3DBCF);
}

.zh_show_section_header {
    margin-bottom: 25px;
}

.zh_show_section_title {
    font-size: 22px;
    font-weight: 700;
    color: var(--zh-heading, #101010);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.zh_show_section_title i {
    color: var(--zh-primary, #E95254);
}

.zh_show_section_line {
    height: 3px;
    width: 60px;
    background: var(--zh-primary, #E95254);
    border-radius: 2px;
    margin-top: 12px;
}

.zh_show_section_body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--zh-text, #484848);
}

.zh_show_section_body p {
    margin-bottom: 18px;
}

.zh_show_section_body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.zh_show_section_body h1,
.zh_show_section_body h2,
.zh_show_section_body h3,
.zh_show_section_body h4,
.zh_show_section_body h5,
.zh_show_section_body h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--zh-heading, #101010);
}

.zh_show_section_body ul,
.zh_show_section_body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.zh_show_section_body li {
    margin-bottom: 8px;
}

.zh_show_section_body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.zh_show_section_body table th,
.zh_show_section_body table td {
    border: 1px solid var(--zh-accent-2, #E3DBCF);
    padding: 12px 15px;
    text-align: left;
}

.zh_show_section_body table th {
    background: var(--zh-accent-1, #F8F4EA);
    font-weight: 600;
    color: var(--zh-heading, #101010);
}

/* 图片展示 */
.zh_show_images {
    display: grid;
    gap: 15px;
}

.zh_show_full_image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--zh-accent-2, #E3DBCF);
}

/* 自定义字段 */
.zh_show_fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.zh_show_field_item {
    background: var(--zh-accent-1, #F8F4EA);
    border-radius: 8px;
    padding: 18px;
}

.zh_show_field_label {
    font-size: 13px;
    color: var(--zh-text, #484848);
    margin-bottom: 8px;
}

.zh_show_field_value {
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-heading, #101010);
}

.zh_show_field_value a {
    color: var(--zh-primary, #E95254);
    text-decoration: none;
}

.zh_show_field_value a:hover {
    text-decoration: underline;
}

/* ========== 右侧边栏 ========== */
.zh_show_sidebar {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 侧边栏卡片 */
.zh_sidebar_card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--zh-accent-2, #E3DBCF);
    overflow: hidden;
}

.zh_sidebar_card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--zh-heading, #101010);
    color: #fff;
}

.zh_sidebar_card_title {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}

.zh_sidebar_card_header i {
    font-size: 18px;
    color: var(--zh-primary, #E95254);
}

.zh_sidebar_card_body {
    padding: 20px 25px;
}

/* 分类导航 */
.zh_sidebar_nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zh_sidebar_nav li {
    list-style: none;
}

.zh_sidebar_nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--zh-grey-bg, #F8F8F8);
    border-radius: 8px;
    color: var(--zh-text, #484848);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.zh_sidebar_nav a i {
    font-size: 16px;
    color: var(--zh-primary, #E95254);
}

.zh_sidebar_nav a:hover {
    background: var(--zh-accent-1, #F8F4EA);
    color: var(--zh-primary, #E95254);
}

.zh_sidebar_nav li.active a {
    background: var(--zh-primary, #E95254);
    color: #fff;
}

.zh_sidebar_nav li.active a i {
    color: #fff;
}

/* 列表样式 */
.zh_sidebar_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zh_sidebar_list li {
    list-style: none;
}

.zh_sidebar_list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--zh-text, #484848);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.zh_sidebar_list a i {
    font-size: 12px;
    color: var(--zh-primary, #E95254);
    transition: transform 0.3s ease;
}

.zh_sidebar_list a span {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_sidebar_list a:hover {
    color: var(--zh-primary, #E95254);
}

.zh_sidebar_list a:hover i {
    transform: translateX(3px);
}

/* 推荐卡片 */
.zh_sidebar_featured {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--zh-accent-2, #E3DBCF);
}

.zh_sidebar_featured_card {
    position: relative;
}

.zh_sidebar_featured_image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.zh_sidebar_featured_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_sidebar_featured_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(16, 16, 16, 0.8) 100%);
}

.zh_sidebar_featured_info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: #fff;
}

.zh_sidebar_featured_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.zh_sidebar_featured_title a {
    color: #fff;
    text-decoration: none;
}

.zh_sidebar_featured_title a:hover {
    color: var(--zh-primary, #E95254);
}

.zh_sidebar_featured_meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.zh_sidebar_featured_meta i {
    color: var(--zh-primary, #E95254);
}

.zh_sidebar_featured_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--zh-primary, #E95254);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.zh_sidebar_featured_btn:hover {
    background: #d4474a;
    color: #fff;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .zh_show_header_layout {
        grid-template-columns: 350px 1fr;
        gap: 30px;
    }

    .zh_show_layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .zh_breadcrumb_section {
        margin-top: -75px;
        padding-top: 100px;
    }

    .zh_show_header_layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .zh_show_main_image img {
        height: 250px;
    }

    .zh_show_layout {
        grid-template-columns: 1fr;
    }

    .zh_show_sidebar {
        position: static;
        margin-top: 20px;
    }

    .zh_show_title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .zh_show_header_card {
        padding: 25px;
    }

    .zh_show_main_image img {
        height: 200px;
    }

    .zh_show_title {
        font-size: 22px;
    }

    .zh_show_section {
        padding: 25px;
    }

    .zh_show_section_title {
        font-size: 18px;
    }

    .zh_show_provider_box {
        padding: 20px;
    }

    .zh_show_info_list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .zh_show_info_label {
        min-width: auto;
    }

    .zh_show_fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .zh_show_main {
        padding: 25px 0 60px;
    }

    .zh_show_header_card {
        padding: 20px;
    }

    .zh_show_section {
        padding: 20px;
    }

    .zh_sidebar_card_header,
    .zh_sidebar_card_body {
        padding: 18px 20px;
    }
}