/* ========== 信息列表页样式 - 深色主题 ========== */

/* ========== 顶部横幅 ========== */
.zh_list_banner {
    background: linear-gradient(135deg, var(--zh-dark-100) 0%, var(--zh-black) 100%);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--zh-dark-300);
}

.zh_list_banner_content {
    text-align: center;
}

.zh_list_banner .zh_breadcrumb {
    justify-content: center;
    margin-bottom: 20px;
}

.zh_list_banner_title {
    font-size: 42px;
    font-weight: 700;
    color: var(--zh-white);
    margin: 0 0 12px;
    letter-spacing: -1px;
}

.zh_list_banner_desc {
    font-size: 16px;
    color: var(--zh-text-muted);
    margin: 0;
}

/* ========== 面包屑 ========== */
.zh_breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.zh_breadcrumb a {
    color: var(--zh-text-muted);
    transition: var(--zh-transition);
}

.zh_breadcrumb a:hover {
    color: var(--zh-primary);
}

.zh_breadcrumb_sep {
    color: var(--zh-dark-400);
}

.zh_breadcrumb span:last-child {
    color: var(--zh-text-light);
}

/* ========== 筛选工具栏 ========== */
.zh_filter_bar {
    background: var(--zh-dark-100);
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    border-bottom: 1px solid var(--zh-dark-300);
}

.zh_filter_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.zh_filter_cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.zh_filter_cat {
    padding: 8px 18px;
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: 30px;
    color: var(--zh-text-muted);
    font-size: 13px;
    font-weight: 500;
    transition: var(--zh-transition);
}

.zh_filter_cat:hover {
    color: var(--zh-white);
    border-color: var(--zh-primary);
}

.zh_filter_cat.active {
    background: var(--zh-primary);
    border-color: var(--zh-primary);
    color: var(--zh-white);
}

.zh_filter_search {
    display: flex;
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius);
    overflow: hidden;
    min-width: 280px;
}

.zh_filter_search input {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--zh-white);
    font-size: 14px;
}

.zh_filter_search input::placeholder {
    color: var(--zh-text-muted);
}

.zh_filter_search input:focus {
    outline: none;
}

.zh_filter_search button {
    padding: 10px 18px;
    background: var(--zh-primary);
    border: none;
    color: var(--zh-white);
    cursor: pointer;
    transition: var(--zh-transition);
}

.zh_filter_search button:hover {
    background: var(--zh-primary-light);
}

/* ========== 主内容区 ========== */
.zh_list_main {
    background: var(--zh-black);
    padding: 50px 0 80px;
    min-height: 60vh;
}

.zh_list_toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--zh-dark-300);
}

.zh_list_count {
    font-size: 14px;
    color: var(--zh-text-muted);
}

.zh_list_count strong {
    color: var(--zh-primary);
    font-weight: 600;
}

.zh_list_sort {
    display: flex;
    gap: 20px;
}

.zh_sort_item {
    font-size: 13px;
    color: var(--zh-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--zh-transition);
}

.zh_sort_item:hover,
.zh_sort_item.active {
    color: var(--zh-primary);
}

/* ========== 瀑布流网格 ========== */
.zh_masonry_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.zh_masonry_item {
    break-inside: avoid;
}

.zh_masonry_card {
    display: block;
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    transition: var(--zh-transition);
}

.zh_masonry_card:hover {
    transform: translateY(-8px);
    border-color: var(--zh-primary);
    box-shadow: 0 20px 50px rgba(229, 46, 46, 0.15);
}

.zh_masonry_img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.zh_masonry_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--zh-transition);
}

.zh_masonry_card:hover .zh_masonry_img img {
    transform: scale(1.05);
}

.zh_masonry_hot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--zh-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zh-white);
    font-size: 12px;
}

.zh_masonry_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--zh-transition);
}

.zh_masonry_card:hover .zh_masonry_overlay {
    opacity: 1;
}

.zh_masonry_view {
    padding: 10px 20px;
    background: var(--zh-primary);
    border-radius: var(--zh-radius);
    color: var(--zh-white);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateY(10px);
    transition: var(--zh-transition);
}

.zh_masonry_card:hover .zh_masonry_view {
    transform: translateY(0);
}

.zh_masonry_info {
    padding: 18px;
}

.zh_masonry_cat {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(229, 46, 46, 0.15);
    border-radius: 4px;
    color: var(--zh-primary);
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 10px;
}

.zh_masonry_title {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0 0 12px;
    line-height: 1.4;
}

.zh_masonry_meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--zh-text-muted);
}

.zh_masonry_author,
.zh_masonry_views {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========== 空状态 ========== */
.zh_empty_state {
    text-align: center;
    padding: 100px 20px;
}

.zh_empty_icon {
    width: 100px;
    height: 100px;
    background: var(--zh-dark-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.zh_empty_icon i {
    font-size: 40px;
    color: var(--zh-dark-400);
}

.zh_empty_state h3 {
    font-size: 22px;
    color: var(--zh-white);
    margin: 0 0 12px;
}

.zh_empty_state p {
    font-size: 14px;
    color: var(--zh-text-muted);
    margin: 0 0 30px;
}

/* ========== 推荐设计师 ========== */
.zh_recommend_designers {
    background: var(--zh-dark-100);
    padding: 60px 0;
    border-top: 1px solid var(--zh-dark-300);
}

.zh_recommend_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.zh_recommend_header h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_recommend_header h2 i {
    color: var(--zh-primary);
}

.zh_recommend_more {
    font-size: 14px;
    color: var(--zh-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.zh_recommend_more:hover {
    color: var(--zh-primary);
}

.zh_recommend_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.zh_recommend_card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    transition: var(--zh-transition);
}

.zh_recommend_card:hover {
    border-color: var(--zh-primary);
    transform: translateX(5px);
}

.zh_recommend_avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.zh_recommend_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_recommend_info {
    flex: 1;
    min-width: 0;
}

.zh_recommend_info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zh_recommend_info span {
    font-size: 12px;
    color: var(--zh-text-muted);
}

.zh_recommend_card > i {
    color: var(--zh-dark-400);
    transition: var(--zh-transition);
}

.zh_recommend_card:hover > i {
    color: var(--zh-primary);
}

/* ========== 底部CTA ========== */
.zh_list_cta {
    background: var(--zh-black);
    padding: 80px 0;
}

.zh_list_cta_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 60px;
    background: linear-gradient(135deg, var(--zh-primary) 0%, #c92626 100%);
    border-radius: var(--zh-radius-lg);
}

.zh_list_cta_content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--zh-white);
    margin: 0 0 8px;
}

.zh_list_cta_content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.zh_btn_lg {
    padding: 16px 40px;
    font-size: 16px;
}

.zh_list_cta .zh_btn_primary {
    background: var(--zh-white);
    color: var(--zh-primary);
}

.zh_list_cta .zh_btn_primary:hover {
    background: var(--zh-gray-100);
    transform: translateY(-3px);
}

/* ========== 分页 ========== */
.zh_pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .zh_masonry_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .zh_recommend_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .zh_filter_inner {
        flex-direction: column;
        gap: 15px;
    }

    .zh_filter_cats {
        justify-content: center;
    }

    .zh_filter_search {
        width: 100%;
        min-width: auto;
    }

    .zh_masonry_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .zh_list_cta_inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .zh_list_banner {
        padding: 40px 0 30px;
    }

    .zh_list_banner_title {
        font-size: 28px;
    }

    .zh_filter_bar {
        top: 60px;
    }

    .zh_filter_cat {
        padding: 6px 14px;
        font-size: 12px;
    }

    .zh_list_main {
        padding: 30px 0 60px;
    }

    .zh_list_toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .zh_masonry_grid {
        grid-template-columns: 1fr;
    }

    .zh_masonry_img {
        height: 220px;
    }

    .zh_recommend_designers {
        padding: 40px 0;
    }

    .zh_recommend_grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .zh_list_cta {
        padding: 50px 0;
    }

    .zh_list_cta_content h2 {
        font-size: 22px;
    }
}

/* ========== 总列表页 - 分类展示区 ========== */
.zh_category_showcase {
    background: var(--zh-dark-100);
    padding: 50px 0;
    border-bottom: 1px solid var(--zh-dark-300);
}

.zh_category_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.zh_category_card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    transition: var(--zh-transition);
}

.zh_category_card:hover {
    border-color: var(--zh-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(229, 46, 46, 0.1);
}

.zh_category_icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--zh-primary) 0%, #c92626 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zh_category_icon i {
    font-size: 20px;
    color: var(--zh-white);
}

.zh_category_text {
    flex: 1;
    min-width: 0;
}

.zh_category_text h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0 0 4px;
}

.zh_category_text span {
    font-size: 12px;
    color: var(--zh-text-muted);
}

.zh_category_arrow {
    color: var(--zh-dark-400);
    transition: var(--zh-transition);
}

.zh_category_card:hover .zh_category_arrow {
    color: var(--zh-primary);
    transform: translateX(4px);
}

/* 总列表页 - 搜索栏 */
.zh_search_bar {
    background: var(--zh-black);
    padding: 40px 0;
}

.zh_search_form_lg {
    display: flex;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.zh_search_input_wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius);
}

.zh_search_input_wrap i {
    color: var(--zh-text-muted);
}

.zh_search_input_wrap input {
    flex: 1;
    padding: 16px 0;
    background: transparent;
    border: none;
    color: var(--zh-white);
    font-size: 15px;
}

.zh_search_input_wrap input::placeholder {
    color: var(--zh-text-muted);
}

.zh_search_input_wrap input:focus {
    outline: none;
}

/* ========== 栏目列表页 - 左右布局 ========== */
.zh_list_layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.zh_list_content {
    min-width: 0;
}

.zh_list_sidebar {
    position: sticky;
    top: 130px;
}

/* 列表项样式 */
.zh_list_items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.zh_list_item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    transition: var(--zh-transition);
}

.zh_list_item:hover {
    border-color: var(--zh-primary);
    box-shadow: 0 10px 30px rgba(229, 46, 46, 0.1);
}

.zh_list_item_img {
    position: relative;
    width: 240px;
    height: 160px;
    border-radius: var(--zh-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.zh_list_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--zh-transition);
}

.zh_list_item:hover .zh_list_item_img img {
    transform: scale(1.05);
}

.zh_item_badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: var(--zh-primary);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--zh-white);
    display: flex;
    align-items: center;
    gap: 4px;
}

.zh_list_item_body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.zh_list_item_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.zh_item_cat {
    padding: 4px 10px;
    background: rgba(229, 46, 46, 0.15);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--zh-primary);
}

.zh_item_date {
    font-size: 12px;
    color: var(--zh-text-muted);
}

.zh_list_item_title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}

.zh_list_item_title a {
    color: var(--zh-white);
    transition: var(--zh-transition);
}

.zh_list_item_title a:hover {
    color: var(--zh-primary);
}

.zh_list_item_desc {
    font-size: 14px;
    color: var(--zh-text-muted);
    line-height: 1.6;
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_list_item_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--zh-dark-300);
}

.zh_item_merchant {
    font-size: 13px;
    color: var(--zh-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--zh-transition);
}

.zh_item_merchant:hover {
    color: var(--zh-primary);
}

.zh_item_stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--zh-text-muted);
}

.zh_item_stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 侧边栏分类列表 */
.zh_cat_list {
    padding: 16px 20px;
}

.zh_cat_link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--zh-dark-300);
    color: var(--zh-text-light);
    font-size: 14px;
    transition: var(--zh-transition);
}

.zh_cat_link:last-child {
    border-bottom: none;
}

.zh_cat_link:hover {
    color: var(--zh-primary);
}

.zh_cat_link.active {
    color: var(--zh-primary);
    font-weight: 600;
}

.zh_cat_count {
    font-size: 12px;
    color: var(--zh-text-muted);
    background: var(--zh-dark-300);
    padding: 2px 8px;
    border-radius: 10px;
}

.zh_cat_link.active .zh_cat_count {
    background: var(--zh-primary);
    color: var(--zh-white);
}

/* ========== 响应式 - 新增样式 ========== */
@media (max-width: 1200px) {
    .zh_category_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zh_list_layout {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .zh_category_grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .zh_list_layout {
        grid-template-columns: 1fr;
    }

    .zh_list_sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .zh_sidebar_cta {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .zh_category_showcase {
        padding: 30px 0;
    }

    .zh_search_bar {
        padding: 30px 0;
    }

    .zh_search_form_lg {
        flex-direction: column;
    }

    .zh_list_item {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .zh_list_item_img {
        width: 100%;
        height: 180px;
    }

    .zh_list_item_title {
        font-size: 16px;
    }

    .zh_list_sidebar {
        grid-template-columns: 1fr;
    }

    .zh_sidebar_cta {
        grid-column: span 1;
    }
}
