/* ========== 列表页样式 - Figma 黄色主题风格 ========== */

/* ========== 页面 Hero ========== */
.zh_page_hero {
    position: relative;
    padding: 140px 0 60px;
    background: var(--zh-black);
    overflow: hidden;
}

.zh_page_hero_bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--zh-primary);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.zh_page_hero_bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 3px solid var(--zh-black);
    border-radius: 50%;
    opacity: 0.15;
}

.zh_page_hero_content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

/* 面包屑 */
.zh_breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.zh_breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_breadcrumb a:hover {
    color: var(--zh-primary);
}

.zh_breadcrumb span {
    color: var(--zh-white);
}

.zh_breadcrumb_sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

.zh_page_hero_title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--zh-white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.zh_page_hero_desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ========== 分类导航条 ========== */
.zh_category_bar {
    background: var(--zh-black);
    padding: 0 0 20px;
    position: sticky;
    top: 78px;
    z-index: 90;
}

.zh_category_scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.zh_category_scroll::-webkit-scrollbar {
    display: none;
}

.zh_category_item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: var(--zh-radius-btn);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.zh_category_item i {
    font-size: 14px;
    opacity: 0.7;
}

.zh_category_item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--zh-white);
}

.zh_category_item.active {
    background: var(--zh-primary);
    border-color: var(--zh-primary);
    color: var(--zh-black);
}

.zh_category_item.active i {
    opacity: 1;
}

/* ========== 主内容区 ========== */
.zh_list_main {
    background: var(--zh-gray-100);
    padding: 50px 0 80px;
}

/* ========== 工具栏 ========== */
.zh_toolbar {
    margin-bottom: 40px;
}

.zh_search_form {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.zh_search_wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.zh_search_wrap i {
    position: absolute;
    left: 24px;
    color: var(--zh-text-light);
    font-size: 18px;
}

.zh_search_input {
    width: 100%;
    padding: 16px 24px 16px 56px;
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: 16px;
    font-size: 15px;
    color: var(--zh-text);
    transition: all 0.3s ease;
    font-family: inherit;
}

.zh_search_input:focus {
    outline: none;
    border-color: var(--zh-primary-dark);
    box-shadow: 0px 4px 0px 0px var(--zh-black);
}

.zh_search_input::placeholder {
    color: var(--zh-gray-500);
}

.zh_search_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--zh-primary);
    color: var(--zh-black);
    border: 2px solid var(--zh-black);
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: var(--zh-shadow-sm);
}

.zh_search_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 7px 0px 0px var(--zh-black);
}

.zh_filter_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: 16px;
    box-shadow: var(--zh-shadow-sm);
}

.zh_result_count {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.zh_count_num {
    font-size: 32px;
    font-weight: 900;
    color: var(--zh-primary-dark);
}

.zh_count_text {
    font-size: 15px;
    color: var(--zh-text);
}

.zh_sort_select select {
    padding: 12px 40px 12px 20px;
    background: var(--zh-gray-100);
    border: 2px solid var(--zh-black);
    border-radius: 12px;
    font-size: 14px;
    color: var(--zh-text);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23101411' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    font-family: inherit;
}

.zh_sort_select select:hover,
.zh_sort_select select:focus {
    border-color: var(--zh-primary-dark);
    outline: none;
}

/* ========== 列表布局 ========== */
.zh_list_layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.zh_list_content {
    min-width: 0;
}

/* ========== 信息卡片网格 ========== */
.zh_list_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.zh_list_card {
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.zh_list_card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 0px 0px var(--zh-black);
}

/* 特色卡片 */
.zh_list_card_featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.zh_list_card_featured .zh_list_card_image {
    height: 100%;
    min-height: 320px;
}

.zh_list_card_featured .zh_list_card_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.zh_list_card_featured .zh_list_card_title a {
    font-size: 24px;
}

.zh_list_card_featured .zh_list_card_desc {
    -webkit-line-clamp: 4;
}

.zh_list_card_image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-bottom: 2px solid var(--zh-black);
}

.zh_list_card_featured .zh_list_card_image {
    border-bottom: none;
    border-right: 2px solid var(--zh-black);
}

.zh_list_card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zh_list_card:hover .zh_list_card_image img {
    transform: scale(1.05);
}

.zh_list_card_badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    background: #ff6b6b;
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-btn);
    font-size: 12px;
    font-weight: 600;
    color: var(--zh-white);
    z-index: 2;
}

.zh_list_card_badge i {
    margin-right: 4px;
}

.zh_list_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 20, 17, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_list_card:hover .zh_list_card_overlay {
    opacity: 1;
}

.zh_list_card_view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--zh-primary);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-btn);
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-black);
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--zh-shadow-sm);
}

.zh_list_card:hover .zh_list_card_view {
    transform: translateY(0);
}

.zh_list_card_view:hover {
    background: var(--zh-primary-dark);
    color: var(--zh-white);
}

.zh_list_card_body {
    padding: 24px;
}

.zh_list_card_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.zh_list_card_cat {
    padding: 5px 12px;
    background: var(--zh-primary);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-btn);
    font-size: 11px;
    font-weight: 600;
    color: var(--zh-black);
}

.zh_list_card_views {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--zh-gray-500);
}

.zh_list_card_title {
    margin-bottom: 12px;
}

.zh_list_card_title a {
    font-size: 18px;
    font-weight: 700;
    color: var(--zh-black);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.zh_list_card_title a:hover {
    color: var(--zh-primary-dark);
}

.zh_list_card_desc {
    font-size: 14px;
    color: var(--zh-text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}

.zh_list_card_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 2px solid var(--zh-gray-200);
}

.zh_list_card_merchant {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--zh-text-light);
}

.zh_list_card_merchant i {
    color: var(--zh-primary-dark);
}

.zh_list_card_link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--zh-black);
    text-decoration: none;
    transition: all 0.3s ease;
}

.zh_list_card_link:hover {
    color: var(--zh-primary-dark);
}

.zh_list_card_link i {
    transition: transform 0.3s ease;
}

.zh_list_card_link:hover i {
    transform: translateX(4px);
}

/* ========== 分页 ========== */
.zh_pagination {
    display: flex;
    justify-content: center;
}

.zh_pagination .pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.zh_pagination .page-item {
    list-style: none;
}

.zh_pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 18px;
    background: var(--zh-white);
    color: var(--zh-black);
    border: 2px solid var(--zh-black);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0px 3px 0px 0px var(--zh-black);
}

.zh_pagination .page-link:hover {
    background: var(--zh-gray-100);
    transform: translateY(-2px);
    box-shadow: 0px 5px 0px 0px var(--zh-black);
}

.zh_pagination .page-item.active .page-link {
    background: var(--zh-primary);
    color: var(--zh-black);
}

.zh_pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* ========== 空状态 ========== */
.zh_empty {
    text-align: center;
    padding: 80px 40px;
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow);
}

.zh_empty_icon {
    width: 100px;
    height: 100px;
    background: var(--zh-primary);
    border: 3px solid var(--zh-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: var(--zh-shadow-sm);
}

.zh_empty_icon i {
    font-size: 40px;
    color: var(--zh-black);
}

.zh_empty_title {
    font-size: 24px;
    font-weight: 700;
    color: var(--zh-black);
    margin-bottom: 12px;
}

.zh_empty_desc {
    font-size: 15px;
    color: var(--zh-text-light);
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== 侧边栏 ========== */
.zh_sidebar {
    position: sticky;
    top: 150px;
}

.zh_widget {
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
}

.zh_widget_header {
    padding: 20px 24px;
    background: var(--zh-primary);
    border-bottom: 2px solid var(--zh-black);
}

.zh_widget_header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--zh-black);
    margin: 0;
}

.zh_widget_header h3 i {
    font-size: 16px;
}

.zh_widget_body {
    padding: 24px;
}

/* 热门列表 */
.zh_hot_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.zh_hot_item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.zh_hot_rank {
    width: 28px;
    height: 28px;
    background: var(--zh-gray-100);
    border: 2px solid var(--zh-black);
    color: var(--zh-text);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.zh_hot_rank.top {
    background: var(--zh-primary);
    color: var(--zh-black);
}

.zh_hot_link {
    flex: 1;
    font-size: 14px;
    color: var(--zh-text);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_hot_link:hover {
    color: var(--zh-primary-dark);
}

/* 最新列表 */
.zh_latest_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zh_latest_item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    padding: 12px;
    margin: -12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.zh_latest_item:hover {
    background: var(--zh-gray-100);
}

.zh_latest_img {
    width: 80px;
    height: 60px;
    border: 2px solid var(--zh-black);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.zh_latest_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_latest_info {
    flex: 1;
    min-width: 0;
}

.zh_latest_info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-black);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_latest_info span {
    font-size: 12px;
    color: var(--zh-gray-500);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* CTA 卡片 */
.zh_sidebar_cta {
    background: var(--zh-primary);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow);
    padding: 36px 28px;
    text-align: center;
}

.zh_sidebar_cta_icon {
    width: 72px;
    height: 72px;
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--zh-shadow-sm);
}

.zh_sidebar_cta_icon i {
    font-size: 28px;
    color: var(--zh-black);
}

.zh_sidebar_cta h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--zh-black);
    margin-bottom: 10px;
}

.zh_sidebar_cta p {
    font-size: 14px;
    color: var(--zh-black);
    opacity: 0.8;
    margin-bottom: 24px;
    line-height: 1.6;
}

.zh_sidebar_cta_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--zh-black);
    color: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-btn);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0px 3px 0px 0px rgba(0,0,0,0.3);
}

.zh_sidebar_cta_btn:hover {
    background: #2a2f2b;
    color: var(--zh-white);
    transform: translateY(-2px);
    box-shadow: 0px 5px 0px 0px rgba(0,0,0,0.3);
}

/* ========== 底部 CTA ========== */
.zh_bottom_cta {
    background: var(--zh-gray-100);
    padding: 0 0 80px;
}

.zh_bottom_cta_card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px 56px;
    background: var(--zh-primary);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow);
}

.zh_bottom_cta_text h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--zh-black);
    margin-bottom: 8px;
}

.zh_bottom_cta_text p {
    font-size: 16px;
    color: var(--zh-black);
    opacity: 0.8;
    margin: 0;
}

.zh_bottom_cta_btns {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .zh_list_layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

    .zh_list_card_featured {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .zh_page_hero {
        padding: 120px 0 50px;
    }

    .zh_page_hero_title {
        font-size: 36px;
    }

    .zh_category_bar {
        top: 70px;
    }

    .zh_list_layout {
        grid-template-columns: 1fr;
    }

    .zh_sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .zh_sidebar_cta {
        grid-column: span 2;
    }

    .zh_list_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zh_list_card_featured {
        grid-column: span 2;
        grid-template-columns: 1fr 1fr;
    }

    .zh_bottom_cta_card {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 40px 36px;
    }

    .zh_bottom_cta_btns {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .zh_page_hero {
        padding: 100px 0 40px;
    }

    .zh_page_hero_title {
        font-size: 28px;
    }

    .zh_page_hero_bg {
        width: 100%;
        clip-path: none;
        opacity: 0.3;
    }

    .zh_category_item {
        padding: 10px 18px;
        font-size: 13px;
    }

    .zh_list_main {
        padding: 40px 0 60px;
    }

    .zh_search_form {
        flex-direction: column;
    }

    .zh_filter_row {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        padding: 20px;
    }

    .zh_result_count {
        justify-content: center;
    }

    .zh_sort_select select {
        width: 100%;
    }

    .zh_list_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .zh_list_card_featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .zh_list_card_featured .zh_list_card_image {
        min-height: 200px;
        border-right: none;
        border-bottom: 2px solid var(--zh-black);
    }

    .zh_list_card_featured .zh_list_card_body {
        padding: 24px;
    }

    .zh_list_card_featured .zh_list_card_title a {
        font-size: 18px;
    }

    .zh_sidebar {
        grid-template-columns: 1fr;
    }

    .zh_sidebar_cta {
        grid-column: span 1;
    }

    .zh_bottom_cta_text h2 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .zh_page_hero_title {
        font-size: 24px;
    }

    .zh_category_item {
        padding: 8px 14px;
        border-radius: 10px;
    }

    .zh_list_card_body {
        padding: 20px;
    }

    .zh_widget_header,
    .zh_widget_body {
        padding: 18px 20px;
    }

    .zh_sidebar_cta {
        padding: 32px 24px;
    }

    .zh_pagination .page-link {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
    }
}
