/* 活动策划信息列表页面样式 */

/* ===================
   基础样式重置
=================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================
   容器和布局
=================== */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_list_container {
    background: #FFFFFF;
    min-height: 100vh;
}

/* ===================
   页面标题区域
=================== */
.zh_page_header {
    background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%);
    color: #FFFFFF;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.zh_page_header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=1200&h=400&fit=crop') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.zh_page_header .zh_container {
    position: relative;
    z-index: 2;
}

.zh_breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.zh_breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_breadcrumb a:hover {
    color: #FFFFFF;
}

.zh_separator {
    margin: 0 10px;
    opacity: 0.7;
}

.zh_current {
    color: #F9A825;
    font-weight: 500;
}

.zh_page_title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.zh_page_desc {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
    max-width: 600px;
}

/* ===================
   筛选工具栏
=================== */
.zh_filter_toolbar {
    background: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.zh_toolbar_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.zh_filter_left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.zh_filter_right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_sort_tabs {
    display: flex;
    gap: 5px;
}

.zh_sort_btn {
    background: transparent;
    border: 1px solid #E0E0E0;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 14px;
    color: #757575;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zh_sort_btn:hover {
    border-color: #D32F2F;
    color: #D32F2F;
    transform: translateY(-1px);
}

.zh_sort_btn.active {
    background: #D32F2F;
    border-color: #D32F2F;
    color: #FFFFFF;
}

.zh_view_toggle {
    display: flex;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    overflow: hidden;
}

.zh_view_btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #757575;
    transition: all 0.3s ease;
}

.zh_view_btn:hover {
    background: #F5F5F5;
}

.zh_view_btn.active {
    background: #D32F2F;
    color: #FFFFFF;
}

.zh_results_count {
    font-size: 14px;
    color: #616161;
}

.zh_count {
    font-weight: 600;
    color: #D32F2F;
}

/* ===================
   内容区域
=================== */
.zh_content_area {
    padding: 40px 0 60px;
    background: #F5F5F5;
}

.zh_data_content {
    display: none;
}

.zh_data_content.active {
    display: block;
}

/* ===================
   信息卡片网格布局
=================== */
.zh_list_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* 列表视图样式 */
.zh_list_grid.zh_list_view {
    grid-template-columns: 1fr;
    gap: 20px;
}

.zh_list_grid.zh_list_view .zh_info_card {
    display: flex;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.zh_list_grid.zh_list_view .zh_card_image {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.zh_list_grid.zh_list_view .zh_card_content {
    flex: 1;
    padding: 25px;
}

/* ===================
   信息卡片样式
=================== */
.zh_info_card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.zh_info_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.zh_card_image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.zh_img_cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_info_card:hover .zh_img_cover {
    transform: scale(1.05);
}

.zh_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(211, 47, 47, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_info_card:hover .zh_card_overlay {
    opacity: 1;
}

.zh_view_btn_overlay {
    background: #FFFFFF;
    color: #D32F2F;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.zh_view_btn_overlay:hover {
    background: #F9A825;
    color: #FFFFFF;
    transform: scale(1.05);
}

.zh_card_tag {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.zh_tag {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zh_tag_primary {
    background: #D32F2F;
    color: #FFFFFF;
}

.zh_tag_success {
    background: #4CAF50;
    color: #FFFFFF;
}

.zh_tag_hot {
    background: linear-gradient(45deg, #FF6B35, #F9A825);
    color: #FFFFFF;
}

.zh_card_content {
    padding: 25px;
}

.zh_card_title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.zh_card_title a {
    color: #212121;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_card_title a:hover {
    color: #D32F2F;
}

.zh_card_desc {
    color: #616161;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_card_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.zh_meta_left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zh_meta_item {
    font-size: 13px;
    color: #757575;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zh_meta_item i {
    color: #D32F2F;
    width: 14px;
}

.zh_price {
    font-size: 18px;
    font-weight: 700;
    color: #D32F2F;
}

.zh_card_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #F0F0F0;
}

.zh_company_info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_company_avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.zh_company_details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zh_company_name {
    font-size: 14px;
    font-weight: 600;
    color: #212121;
}

.zh_company_type {
    font-size: 12px;
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 4px;
}

.zh_card_actions {
    display: flex;
    gap: 10px;
}

.zh_btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    text-decoration: none;
}

.zh_btn_outline {
    background: transparent;
    border: 1.5px solid #D32F2F;
    color: #D32F2F;
}

.zh_btn_outline:hover {
    background: #D32F2F;
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* ===================
   分页样式
=================== */
.zh_pagination_area {
    text-align: center;
    padding: 40px 0;
    background: #FFFFFF;
    border-radius: 8px;
    margin-top: 20px;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    padding: 15px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #F0F0F0;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: #616161;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.pagination a:hover {
    color: #D32F2F;
    background: rgba(211, 47, 47, 0.1);
    transform: translateY(-1px);
}

.pagination a.cur {
    background: #D32F2F;
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.3);
}

.pagination a.cur:hover {
    background: #B71C1C;
    transform: translateY(-1px);
}

/* 上一页/下一页样式 */
.pagination a:first-child,
.pagination a:last-child {
    background: #F5F5F5;
    color: #757575;
    font-weight: 600;
    border: 1px solid #E0E0E0;
}

.pagination a:first-child:hover,
.pagination a:last-child:hover {
    background: #D32F2F;
    color: #FFFFFF;
    border-color: #D32F2F;
}

/* 禁用状态 */
.pagination a:first-child:not([href]),
.pagination a:last-child:not([href]) {
    background: #F9F9F9;
    color: #BDBDBD;
    cursor: not-allowed;
    border-color: #F0F0F0;
}

.pagination a:first-child:not([href]):hover,
.pagination a:last-child:not([href]):hover {
    background: #F9F9F9;
    color: #BDBDBD;
    transform: none;
    border-color: #F0F0F0;
}

/* ===================
   响应式设计
=================== */
@media (max-width: 1024px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_list_grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .zh_page_title {
        font-size: 32px;
    }
    
    .zh_toolbar_content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .zh_filter_left,
    .zh_filter_right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .zh_list_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .zh_list_grid.zh_list_view .zh_info_card {
        flex-direction: column;
    }
    
    .zh_list_grid.zh_list_view .zh_card_image {
        width: 100%;
        height: 200px;
    }
    
    .zh_page_header {
        padding: 40px 0 30px;
    }
    
    .zh_page_title {
        font-size: 28px;
    }
    
    .zh_page_desc {
        font-size: 16px;
    }
    
    .zh_sort_tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .zh_sort_btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .zh_card_content {
        padding: 20px;
    }
    
    .zh_card_footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .zh_company_info {
        justify-content: center;
    }
    
    .zh_card_actions {
        justify-content: center;
    }
    
    /* 分页响应式 */
    .zh_pagination_area {
        padding: 30px 0;
    }
    
    .pagination {
        padding: 12px 15px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination a {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .zh_container {
        padding: 0 10px;
    }
    
    .zh_page_title {
        font-size: 24px;
    }
    
    .zh_page_desc {
        font-size: 14px;
    }
    
    .zh_card_content {
        padding: 15px;
    }
    
    .zh_card_image {
        height: 180px;
    }
    
    .zh_sort_tabs {
        gap: 8px;
    }
    
    .zh_sort_btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .zh_content_area {
        padding: 20px 0 40px;
    }
    
    /* 小屏分页优化 */
    .zh_pagination_area {
        padding: 20px 0;
    }
    
    .pagination {
        padding: 10px;
        gap: 4px;
        border-radius: 20px;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .pagination::-webkit-scrollbar {
        display: none;
    }
    
    .pagination a {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 8px;
        flex-shrink: 0;
    }
    
    .pagination a:first-child,
    .pagination a:last-child {
        font-size: 11px;
        padding: 0 6px;
    }
}

/* ===================
   加载动画
=================== */
.zh_info_card {
    opacity: 0;
    animation: zh_fadeInUp 0.6s ease forwards;
}

@keyframes zh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 卡片延迟动画 */
.zh_info_card:nth-child(1) { animation-delay: 0.1s; }
.zh_info_card:nth-child(2) { animation-delay: 0.2s; }
.zh_info_card:nth-child(3) { animation-delay: 0.3s; }
.zh_info_card:nth-child(4) { animation-delay: 0.4s; }
.zh_info_card:nth-child(5) { animation-delay: 0.5s; }
.zh_info_card:nth-child(6) { animation-delay: 0.6s; }

/* ===================
   滚动条样式
=================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background: #D32F2F;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B71C1C;
}

/* ===================
   工具提示
=================== */
.zh_tooltip {
    position: relative;
    cursor: help;
}

.zh_tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #212121;
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.zh_tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* ===================
   无内容状态
=================== */
.zh_empty_state {
    text-align: center;
    padding: 80px 20px;
    color: #757575;
}

.zh_empty_state i {
    font-size: 64px;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.zh_empty_state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #616161;
}

.zh_empty_state p {
    font-size: 14px;
    margin: 0;
}
