/* ============================================================
   听心树 — 信息详情页  v4.0
   ============================================================ */

/* ===== 详情页头 ===== */
.zh_detail_hero {
    position: relative;
    background: linear-gradient(120deg, #EAF4F1 0%, #F6F8F5 52%, #FBEFE9 100%);
    border-bottom: 1px solid var(--zh-border);
    padding: 42px 0 38px;
    overflow: hidden;
}
.zh_detail_hero::after {
    content: "";
    position: absolute;
    top: -100px; right: -70px;
    width: 320px; height: 320px;
    border-radius: 62% 38% 55% 45%;
    background: rgba(255, 255, 255, .5);
    pointer-events: none;
}
.zh_detail_hero > .zh_container { position: relative; z-index: 2; }
.zh_detail_hero_cat { margin-bottom: 12px; }
.zh_detail_hero_title {
    font-size: clamp(21px, 2.7vw, 30px);
    font-weight: 700;
    color: var(--zh-text-primary);
    line-height: 1.5;
    margin: 0 0 14px;
    max-width: 940px;
    letter-spacing: -.01em;
}
.zh_detail_hero_meta {
    display: flex;
    align-items: center;
    gap: 10px 24px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--zh-text-body);
}
.zh_detail_hero_meta span { display: inline-flex; align-items: center; gap: 7px; }
.zh_detail_hero_meta i { color: var(--zh-primary); font-size: 12.5px; }

/* ===== 封面图 ===== */
.zh_detail_cover {
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    padding: 18px;
    margin-bottom: 22px;
    box-shadow: var(--zh-shadow-sm);
}
.zh_detail_cover_inner {
    border-radius: var(--zh-radius-md);
    overflow: hidden;
    background: var(--zh-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}
.zh_detail_cover_inner img {
    max-width: 100%;
    max-height: 620px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.zh_detail_cover_ph { color: var(--zh-primary-mid); font-size: 44px; padding: 70px 0; }

/* ===== 正文卡片 ===== */
.zh_detail_card {
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    box-shadow: var(--zh-shadow-sm);
}
.zh_detail_block { padding: 26px 32px; border-bottom: 1px solid var(--zh-border); }
.zh_detail_block:last-child { border-bottom: none; }
.zh_block_title {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 700;
    color: var(--zh-text-primary);
    display: flex;
    align-items: center;
    gap: 11px;
}
.zh_block_title::before {
    content: "";
    width: 5px; height: 20px;
    border-radius: 3px;
    background: var(--zh-grad-coral);
    flex-shrink: 0;
}

/* 富文本 */
.zh_detail_content {
    font-size: 15px;
    line-height: 2;
    color: var(--zh-text-body);
    word-break: break-word;
}
.zh_detail_content p { margin: 0 0 16px; }
.zh_detail_content p:last-child { margin-bottom: 0; }
.zh_detail_content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--zh-radius-md);
    margin: 14px 0;
}
.zh_detail_content h1, .zh_detail_content h2,
.zh_detail_content h3, .zh_detail_content h4 {
    color: var(--zh-text-primary);
    font-weight: 700;
    line-height: 1.5;
    margin: 26px 0 12px;
}
.zh_detail_content h2 { font-size: 19px; }
.zh_detail_content h3 { font-size: 16.5px; }
.zh_detail_content ul, .zh_detail_content ol { padding-left: 22px; margin: 0 0 16px; }
.zh_detail_content li { margin-bottom: 7px; }
.zh_detail_content a { color: var(--zh-primary); text-decoration: underline; }
.zh_detail_content blockquote {
    margin: 16px 0;
    padding: 12px 20px;
    border-left: 3px solid var(--zh-primary);
    background: var(--zh-primary-ghost);
    border-radius: 0 var(--zh-radius-sm) var(--zh-radius-sm) 0;
    color: var(--zh-text-body);
}
.zh_detail_content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.zh_detail_content th, .zh_detail_content td {
    border: 1px solid var(--zh-border);
    padding: 10px 14px;
    font-size: 14px;
}
.zh_detail_content th { background: var(--zh-bg-tint); color: var(--zh-text-primary); font-weight: 600; }

/* 自定义字段 */
.zh_field_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}
.zh_field_item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--zh-bg-tint);
    border-radius: var(--zh-radius-sm);
    padding: 14px 16px;
}
.zh_field_icon {
    width: 34px; height: 34px;
    flex-shrink: 0;
    border-radius: 11px;
    background: #fff;
    color: var(--zh-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.zh_field_label { font-size: 12px; color: var(--zh-text-muted); letter-spacing: .5px; margin-bottom: 2px; }
.zh_field_value { font-size: 14px; font-weight: 600; color: var(--zh-text-primary); line-height: 1.6; word-break: break-word; }

/* 温馨提示 */
.zh_notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--zh-coral-soft);
    border-left: 3px solid var(--zh-coral);
    border-radius: 0 var(--zh-radius-sm) var(--zh-radius-sm) 0;
    padding: 15px 20px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #8C4A33;
}
.zh_notice > i { color: var(--zh-coral-hover); font-size: 15px; margin-top: 3px; flex-shrink: 0; }
.zh_notice strong { color: #7A3B26; font-weight: 700; }

/* ===== 右侧栏 ===== */
.zh_detail_side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }

/* 服务商联系卡 */
.zh_biz_card {
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    box-shadow: var(--zh-shadow-card);
}
.zh_biz_top {
    background: var(--zh-grad-deep);
    padding: 24px 22px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.zh_biz_top::after {
    content: "";
    position: absolute;
    right: -50px; top: -50px;
    width: 160px; height: 160px;
    border-radius: 62% 38% 55% 45%;
    background: rgba(155, 201, 138, .12);
}
.zh_biz_avatar {
    width: 68px; height: 68px;
    font-size: 26px;
    margin: 0 auto 11px;
    border: 3px solid rgba(255, 255, 255, .18);
    position: relative;
    z-index: 2;
}
.zh_biz_name {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 2;
}
.zh_biz_verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--zh-primary-deep);
    background: var(--zh-leaf);
    padding: 3px 12px;
    border-radius: var(--zh-radius-pill);
    position: relative;
    z-index: 2;
}
.zh_biz_body { padding: 20px 22px 22px; }
.zh_biz_items { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.zh_biz_item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--zh-border);
}
.zh_biz_item:last-child { border-bottom: none; }
.zh_biz_item_icon {
    width: 34px; height: 34px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--zh-primary-soft);
    color: var(--zh-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.zh_biz_item_label { font-size: 11.5px; color: var(--zh-text-muted); letter-spacing: 1px; }
.zh_biz_item_value { font-size: 14.5px; font-weight: 600; color: var(--zh-text-primary); line-height: 1.5; }
.zh_phone_big {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--zh-coral-hover);
    letter-spacing: .4px;
    line-height: 1.35;
}
.zh_phone_big:hover { color: var(--zh-coral); }
.zh_biz_btns { display: flex; flex-direction: column; gap: 9px; }
.zh_biz_empty { text-align: center; color: var(--zh-text-muted); font-size: 13px; padding: 18px 0; }

/* 信息速览 */
.zh_glance {
    background: linear-gradient(160deg, #EAF4F1 0%, #F6F2EC 100%);
    border-radius: var(--zh-radius-lg);
    padding: 20px 22px;
}
.zh_glance_title {
    margin: 0 0 15px;
    font-size: 15px;
    font-weight: 700;
    color: var(--zh-text-primary);
    display: flex;
    align-items: center;
    gap: 9px;
}
.zh_glance_title i { color: var(--zh-primary); font-size: 13px; }
.zh_glance_grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.zh_glance_item {
    background: rgba(255, 255, 255, .78);
    border-radius: var(--zh-radius-sm);
    padding: 13px 14px;
    text-align: center;
}
.zh_glance_full { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.zh_glance_value {
    font-size: 18px;
    font-weight: 700;
    color: var(--zh-primary);
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
}
.zh_glance_full .zh_glance_value { font-size: 14.5px; }
.zh_glance_label { font-size: 11.5px; color: var(--zh-text-muted); margin-top: 2px; }
.zh_glance_full .zh_glance_label { margin-top: 0; }

/* 平台职责简版 */
.zh_duty {
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    padding: 20px 22px;
}
.zh_duty_title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--zh-text-primary);
    display: flex;
    align-items: center;
    gap: 9px;
}
.zh_duty_title i { color: var(--zh-primary); font-size: 13px; }
.zh_duty ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
.zh_duty li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--zh-text-body);
}
.zh_duty li i { color: var(--zh-leaf-deep); font-size: 11px; }

/* ===== 相关推荐 ===== */
.zh_related { margin-top: 52px; }
.zh_related_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.zh_related_head h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: var(--zh-text-primary);
}
.zh_related_head p { margin: 0; font-size: 13.5px; color: var(--zh-text-muted); }
.zh_related_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.zh_rel_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    transition: all .3s ease;
}
.zh_rel_card:hover { transform: translateY(-5px); box-shadow: var(--zh-shadow-hover); border-color: transparent; }
.zh_rel_cover {
    aspect-ratio: 4 / 3;
    background: var(--zh-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zh-primary-mid);
    font-size: 24px;
    overflow: hidden;
}
.zh_rel_cover img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.zh_rel_card:hover .zh_rel_cover img { transform: scale(1.04); }
.zh_rel_body { padding: 15px 17px 16px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.zh_rel_title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--zh-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.zh_rel_card:hover .zh_rel_title { color: var(--zh-primary); }
.zh_rel_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 11px;
    border-top: 1px solid var(--zh-border);
    font-size: 12.5px;
    color: var(--zh-text-muted);
}
.zh_rel_author { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.zh_rel_author .zh_avatar_text { width: 22px; height: 22px; font-size: 11px; }
.zh_rel_meta i { font-size: 11px; margin-right: 3px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .zh_detail_side { position: static; }
}
@media (max-width: 768px) {
    .zh_detail_hero { padding: 30px 0 26px; }
    .zh_detail_block { padding: 20px 18px; }
    .zh_detail_cover { padding: 12px; }
    .zh_detail_cover_inner { min-height: 180px; }
    .zh_field_grid { grid-template-columns: minmax(0, 1fr); }
    .zh_related_grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .zh_related { margin-top: 36px; }
    .zh_detail_content { font-size: 14.5px; line-height: 1.95; }
}
