/* ============================================
   infos.css - 信息列表页 & 详情页样式
   深蓝+橙色配色 / 左筛选栏+右卡片网格 布局
   ============================================ */

/* ==============================
   A. 信息列表页
   ============================== */

/* ① 页面 Banner */
.zh_list_banner {
    position: relative;
    padding: 50px 0 45px;
    background: var(--zh-gradient);
    overflow: hidden;
}
.zh_list_banner_deco1 {
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -70px; right: 8%;
}
.zh_list_banner_deco2 {
    position: absolute;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: rgba(232,114,42,0.08);
    bottom: -50px; left: 5%;
}
.zh_list_banner_title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.zh_list_banner_desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ② 主布局（左筛选+右内容） */
.zh_list_main {
    background: var(--zh-bg-light);
    padding: 30px 0 60px;
}
.zh_list_layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

/* 左侧筛选栏 */
.zh_list_sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
}
.zh_sidebar_panel {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}
.zh_sidebar_panel_title {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-blue);
    padding: 16px 20px 12px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--zh-border);
}
.zh_sidebar_panel_title i {
    color: var(--zh-orange);
    font-size: 14px;
}
.zh_sidebar_cat_list {
    padding: 8px 0;
}
.zh_sidebar_cat_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--zh-text-secondary);
    transition: all 0.3s;
    border-left: 3px solid transparent;
}
.zh_sidebar_cat_item:hover {
    color: var(--zh-blue);
    background: var(--zh-bg-light);
    border-left-color: var(--zh-sky);
}
.zh_sidebar_cat_item.active {
    color: var(--zh-blue);
    font-weight: 600;
    background: var(--zh-bg-light);
    border-left-color: var(--zh-orange);
}
.zh_sidebar_cat_count {
    font-size: 12px;
    background: var(--zh-bg-light);
    color: var(--zh-text-muted);
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
}
.zh_sidebar_cat_item.active .zh_sidebar_cat_count {
    background: var(--zh-blue);
    color: #fff;
}

/* 热门排行 */
.zh_sidebar_hot_list {
    padding: 10px 16px 16px;
}
.zh_sidebar_hot_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--zh-text-secondary);
    transition: color 0.3s;
    border-bottom: 1px solid var(--zh-bg-light);
}
.zh_sidebar_hot_item:last-child { border-bottom: none; }
.zh_sidebar_hot_item:hover { color: var(--zh-blue); }
.zh_sidebar_hot_rank {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: var(--zh-bg-light);
    color: var(--zh-text-muted);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.zh_sidebar_hot_rank.zh_hot_top {
    background: var(--zh-gradient-orange);
    color: #fff;
}
.zh_sidebar_hot_title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 右侧内容区 */
.zh_list_content {
    flex: 1;
    min-width: 0;
}

/* 搜索与工具栏 */
.zh_list_topbar {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.zh_list_search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.zh_list_search_input {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--zh-bg-light);
    border-radius: 24px;
    padding: 0 16px;
    height: 44px;
    border: 1px solid var(--zh-border);
    transition: border-color 0.3s;
}
.zh_list_search_input:focus-within {
    border-color: var(--zh-sky);
}
.zh_list_search_input i {
    color: var(--zh-text-muted);
    margin-right: 10px;
    font-size: 14px;
}
.zh_list_search_input input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--zh-text);
    font-family: inherit;
}
.zh_list_search_input input::placeholder { color: var(--zh-text-muted); }
.zh_list_search_btn {
    background: var(--zh-gradient-orange);
    color: #fff;
    border: none;
    padding: 0 26px;
    height: 44px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: inherit;
}
.zh_list_search_btn:hover {
    box-shadow: var(--zh-shadow-orange);
    transform: translateY(-1px);
}
.zh_list_toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--zh-border);
}
.zh_list_toolbar_count {
    font-size: 14px;
    color: var(--zh-text-secondary);
}
.zh_list_toolbar_count strong {
    color: var(--zh-orange);
    font-weight: 600;
}
.zh_list_toolbar_sort {
    display: flex;
    gap: 4px;
    background: var(--zh-bg-light);
    border-radius: 8px;
    padding: 4px;
}
.zh_list_toolbar_sort a {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--zh-text-secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.zh_list_toolbar_sort a:hover { color: var(--zh-blue); }
.zh_list_toolbar_sort a.active {
    background: var(--zh-gradient-orange);
    color: #fff;
}

/* 卡片网格（3列） */
.zh_list_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 分页 */
.zh_pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.zh_pagination .pagination { gap: 4px; }
.zh_pagination .page-item .page-link {
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--zh-text-secondary);
    background: var(--zh-white);
    box-shadow: var(--zh-shadow-sm);
    transition: all 0.3s;
}
.zh_pagination .page-item .page-link:hover {
    color: var(--zh-blue);
    background: var(--zh-bg-light);
}
.zh_pagination .page-item.active .page-link {
    background: var(--zh-gradient-orange);
    color: #fff;
}

/* 空状态 */
.zh_list_empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
}
.zh_list_empty i { font-size: 56px; color: var(--zh-sky); display: block; margin-bottom: 20px; }
.zh_list_empty h3 { font-size: 18px; color: var(--zh-text); margin: 0 0 8px; }
.zh_list_empty p { color: var(--zh-text-muted); font-size: 14px; margin: 0 0 24px; }

/* ==============================
   B. 信息详情页
   ============================== */

/* 面包屑栏 */
.zh_detail_breadcrumb_bar {
    background: var(--zh-bg-light);
    padding: 16px 0;
    border-bottom: 1px solid var(--zh-border);
}
.zh_detail_breadcrumb_bar .zh_breadcrumb_divider {
    font-size: 10px;
}

/* 主布局 */
.zh_detail_main {
    background: var(--zh-bg-light);
    padding: 24px 0 60px;
}
.zh_detail_layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.zh_detail_content {
    flex: 1;
    min-width: 0;
}

/* 头部卡片 */
.zh_detail_header_card {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
    padding: 28px;
    margin-bottom: 20px;
}
.zh_detail_cat_badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--zh-bg-light);
    color: var(--zh-blue);
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
    font-weight: 500;
}
.zh_detail_title {
    font-size: 26px;
    font-weight: 700;
    color: var(--zh-text);
    margin: 0 0 18px;
    line-height: 1.4;
}
.zh_detail_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--zh-text-muted);
}
.zh_detail_meta_item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.zh_detail_meta_item i { color: var(--zh-sky); font-size: 13px; }
.zh_detail_meta_item a { color: var(--zh-blue); font-weight: 500; }
.zh_detail_meta_item a:hover { color: var(--zh-orange); }

/* 大图展示 */
.zh_detail_hero_img {
    border-radius: var(--zh-radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--zh-shadow-sm);
    background: var(--zh-white);
}
.zh_detail_hero_img img {
    width: 100%;
    display: block;
}

/* 自定义字段 */
.zh_detail_fields {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
    padding: 24px 28px;
    margin-bottom: 20px;
}
.zh_detail_section_title {
    font-size: 18px;
    font-weight: 600;
    color: var(--zh-text);
    margin: 0 0 20px;
    padding-left: 14px;
    position: relative;
}
.zh_detail_section_title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    background: var(--zh-gradient-orange);
    border-radius: 2px;
}
.zh_detail_field_table {
    width: 100%;
    border-radius: var(--zh-radius-sm);
    overflow: hidden;
    border: 1px solid var(--zh-border);
}
.zh_detail_field_row {
    display: flex;
    font-size: 14px;
    border-bottom: 1px solid var(--zh-border);
}
.zh_detail_field_row:last-child { border-bottom: none; }
.zh_detail_field_row:nth-child(odd) { background: var(--zh-bg-ice); }
.zh_detail_field_label {
    width: 140px;
    padding: 12px 16px;
    color: var(--zh-text-secondary);
    flex-shrink: 0;
    font-weight: 500;
}
.zh_detail_field_value {
    flex: 1;
    padding: 12px 16px;
    color: var(--zh-text);
}
.zh_detail_field_value a { color: var(--zh-sky); }
.zh_detail_field_value a:hover { color: var(--zh-orange); }

/* 详情内容 */
.zh_detail_body_card {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
    padding: 28px;
    margin-bottom: 20px;
}
.zh_detail_body {
    line-height: 1.9;
    font-size: 15px;
    color: var(--zh-text);
    border-left: 3px solid var(--zh-bg-light);
    padding-left: 20px;
}
.zh_detail_body img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0; }
.zh_detail_body p { margin-bottom: 16px; }
.zh_detail_body h2, .zh_detail_body h3 { color: var(--zh-text); margin: 24px 0 12px; font-weight: 600; }

.zh_detail_footer_tags {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--zh-border);
    margin-top: 28px;
}
.zh_detail_footer_tags_label { font-size: 14px; color: var(--zh-text-muted); flex-shrink: 0; }
.zh_detail_tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--zh-bg-light);
    color: var(--zh-blue);
    font-size: 12px;
    border-radius: 20px;
    transition: all 0.3s;
    font-weight: 500;
}
.zh_detail_tag:hover { background: var(--zh-blue); color: #fff; }

/* 底部相关推荐 */
.zh_detail_related {
    margin-bottom: 20px;
}
.zh_detail_related_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* 侧边栏 */
.zh_detail_sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
}

/* 服务商信息盒 */
.zh_merchant_box {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}
.zh_merchant_box_top {
    background: var(--zh-gradient);
    padding: 24px 20px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.zh_merchant_box_top::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.zh_merchant_logo {
    width: 64px; height: 64px;
    border-radius: 50%;
    margin: 0 auto 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
}
.zh_merchant_logo img { width: 100%; height: 100%; object-fit: cover; }
.zh_merchant_logo i { font-size: 24px; color: #fff; }
.zh_merchant_box_name { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 4px; position: relative; z-index: 1; }
.zh_merchant_box_verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.zh_merchant_box_body { padding: 20px; }
.zh_merchant_contact { margin-bottom: 16px; }
.zh_merchant_contact_row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--zh-text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--zh-bg-light);
}
.zh_merchant_contact_row:last-child { border-bottom: none; }
.zh_merchant_contact_row i { color: var(--zh-sky); width: 18px; text-align: center; font-size: 14px; }
.zh_merchant_contact_row a { color: var(--zh-text-secondary); }
.zh_merchant_contact_row a:hover { color: var(--zh-blue); }

/* 拨打电话大按钮 */
.zh_detail_call_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--zh-gradient-orange);
    color: #fff;
    border: none;
    border-radius: var(--zh-radius-sm);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s;
}
.zh_detail_call_btn:hover {
    box-shadow: var(--zh-shadow-orange);
    transform: translateY(-2px);
    color: #fff;
}

.zh_merchant_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    text-align: center;
    background: var(--zh-bg-light);
    color: var(--zh-blue);
    border: none;
    padding: 10px;
    border-radius: var(--zh-radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.zh_merchant_btn:hover { background: var(--zh-blue); color: #fff; }

/* 侧边栏卡片 */
.zh_sidebar_card {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}
.zh_sidebar_header {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-blue);
    border-bottom: 1px solid var(--zh-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.zh_sidebar_header i { color: var(--zh-orange); }
.zh_sidebar_list { padding: 8px 16px; }
.zh_sidebar_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--zh-text-secondary);
    font-size: 14px;
    transition: all 0.3s;
    border-bottom: 1px solid var(--zh-bg-light);
}
.zh_sidebar_item:last-child { border-bottom: none; }
.zh_sidebar_item:hover { color: var(--zh-blue); }
.zh_sidebar_item_thumb {
    width: 56px; height: 42px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--zh-bg-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh_sidebar_item_thumb img { width: 100%; height: 100%; object-fit: cover; }
.zh_sidebar_item_thumb i { font-size: 16px; color: var(--zh-sky); }
.zh_sidebar_item_text { flex: 1; min-width: 0; }
.zh_sidebar_item_text h4 { font-size: 14px; font-weight: 400; color: inherit; margin: 0 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zh_sidebar_item_text span { font-size: 12px; color: var(--zh-text-muted); }

/* ==============================
   C. 响应式
   ============================== */
@media (max-width: 1100px) {
    .zh_list_grid { grid-template-columns: repeat(2, 1fr); }
    .zh_detail_related_grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .zh_list_sidebar { display: none; }
    .zh_list_layout { gap: 0; }
    .zh_detail_sidebar { display: none; }
    .zh_detail_layout { gap: 0; }
    .zh_detail_related_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .zh_list_banner { padding: 35px 0 30px; }
    .zh_list_banner_title { font-size: 22px; }
    .zh_list_topbar { padding: 16px; }
    .zh_list_search { flex-direction: column; }
    .zh_list_search_input { width: 100%; }
    .zh_list_search_btn { width: 100%; }
    .zh_list_toolbar { flex-direction: column; gap: 12px; align-items: flex-start; }
    .zh_list_grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .zh_info_thumb { height: 130px; }
    .zh_detail_header_card { padding: 20px; }
    .zh_detail_title { font-size: 20px; }
    .zh_detail_meta { gap: 12px; }
    .zh_detail_body_card { padding: 20px; }
    .zh_detail_body { padding-left: 14px; }
    .zh_detail_field_label { width: 100px; }
    .zh_detail_related_grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .zh_list_grid { grid-template-columns: 1fr; }
}
