/* 本文件仅存放当前页面专属样式；公共头部、搜索、页脚和通用组件在 common.css 中维护。 */

/* ===== 列表页专属样式 ===== */

/* 搜索栏布局覆盖 */
.search-section .container {
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 16px;
}

.search-form {
    height: 40px;
    flex: 3;
    border: 1px solid var(--orange-deep);
}

.search-form_button {
    padding: 0 35px;
    font-size: 16px;
}

.search-form input {
    font-size: 13px;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: var(--text-mute);
    white-space: nowrap;
    flex-shrink: 0;
    flex: 6;
}

.breadcrumb a {
    color: var(--text-sub);
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb .breadcrumb_sep {
    color: #ccc;
}

.breadcrumb .breadcrumb_current {
    color: var(--text);
    font-weight: 700;
}

/* 筛选面板 */
.filter-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    /* box-shadow: var(--shadow); */
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.filter-panel_row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.filter-panel_row:last-child {
    border-bottom: 0;
}

.filter-panel_label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-mute);
    min-width: 72px;
    padding-top: 5px;
    flex-shrink: 0;
}

.filter-panel_options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.filter-panel_options.is-collapsible {
    max-height: 30px;
    overflow: hidden;
}

.filter-panel_row.is-expanded .filter-panel_options.is-collapsible {
    max-height: none;
}

.filter-panel_toggle {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #f9fafb;
    color: var(--text-mute);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s;
}

.filter-panel_toggle:hover {
    background: #fff3e0;
    color: var(--orange-deep);
}

.filter-panel_toggle :is(svg, img) {
    width: 16px;
    height: 16px;
    transition: transform .2s;
}

.filter-panel_row.is-expanded .filter-panel_toggle :is(svg, img) {
    transform: rotate(180deg);
}

.filter-panel_option {
    padding: 5px 16px;
    border-radius: 6px;
    border: 0px solid var(--border);
    /* background: #fafafa; */
    background-color: #f9fafb;
    font-size: 13px;
    color: var(--text-sub);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.filter-panel_option:hover {
    /* border-color: var(--orange); */
    background-color: #fff3e0;
    color: var(--orange-deep);
}

.filter-panel_option.is-active {
    background: var(--orange-deep);
    color: #fff;
    border-color: var(--orange-deep);
    font-weight: 600;
}

/* 筛选项内的数量角标（如 举办地区 后的展会数量） */
.filter-panel_count {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 400;
    opacity: .7;
}

.filter-panel_option.is-active .filter-panel_count {
    opacity: .9;
}

/* 主内容区 */
.list-page {
    padding: 24px 0 40px;
}

.list-page .container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.list-page_content {
    flex: 1;
    min-width: 0;
}

.list-page_aside {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 排序条 */
.sort-bar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    /* box-shadow: var(--shadow); */
    margin-bottom: 20px;
}

.sort-bar_tabs {
    display: flex;
    gap: 6px;
}

.sort-bar_tab {
    padding: 6px 16px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    font-size: 13px;
    color: var(--text-sub);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.sort-bar_tab:hover {
    color: var(--orange-deep);
    background: var(--orange-soft);
}

.sort-bar_tab.is-active {
    background: var(--orange-soft);
    color: var(--orange-deep);
    font-weight: 700;
}

.sort-bar_count {
    font-size: 13px;
    color: var(--text-mute);
}

.sort-bar_count strong {
    color: var(--orange-deep);
    font-weight: 700;
}

/* 卡片网格 */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

/* 列表卡片 */
.listing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: var(--shadow); */
    transition: transform .22s, box-shadow .22s;
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--orange-line);
}

.listing-card_image-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #e8eaed;
    flex-shrink: 0;
}

.listing-card_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-card_badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.listing-card_badge-active {
    background: #4caf50;
}

.listing-card_badge-booking {
    background: #2196F3;
}

.listing-card_badge-gray {
    background: #9e9e9e;
}

.listing-card_badge-ticket {
    background: #9c27b0;
}

.listing-card_badge-intl {
    background: #ff9800;
}

.listing-card_body {
    padding: 18px;
    /* flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between; */
}

.listing-card_tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.listing-card_tag-industrial {
    background: #FFF3EB;
    color: #FF6A00;
}

.listing-card_tag-beauty {
    background: #FDE8EF;
    color: #e91e63;
}

.listing-card_tag-medical {
    background: #E0F7FA;
    color: #00bcd4;
}

.listing-card_tag-auto {
    background: #E8F5E9;
    color: #4caf50;
}

.listing-card_tag-food {
    background: #FFF3E0;
    color: #ff9800;
}

.listing-card_tag-electronics {
    background: #E8EAF6;
    color: #3d6fd1;
}

.listing-card_title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}

.listing-card:hover .listing-card_title {
    color: var(--orange-deep);
}

.listing-card_meta {
    font-size: 13px;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
}

.listing-card_meta :is(svg, img) {
    flex-shrink: 0;
    color: var(--orange);
}

.listing-card_footer {
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listing-card_scale {
    font-size: 12px;
    color: var(--text-mute);
}

.listing-card_action {
    padding: 7px 18px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--orange), var(--orange-deep));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transition: filter .2s;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.listing-card_action:hover {
    filter: brightness(1.06);
}

/* 空状态 */
.empty-state {
    display: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px 20px;
    text-align: center;
    /* box-shadow: var(--shadow); */
}

.empty-state.is-visible {
    display: block;
}

.empty-state_icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f5f5f5;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.empty-state_title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.empty-state_desc {
    font-size: 13px;
    color: var(--text-mute);
    margin-bottom: 18px;
}

.empty-state_reset {
    display: inline-block;
    padding: 9px 24px;
    border-radius: 8px;
    background: var(--orange-soft);
    color: var(--orange-deep);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 0;
    font-family: inherit;
    transition: all .2s;
}

.empty-state_reset:hover {
    background: var(--orange-deep);
    color: #fff;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.pagination_button {
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sub);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination_button:hover {
    border-color: var(--orange);
    color: var(--orange-deep);
}

.pagination_button.is-active {
    background: var(--orange-deep);
    color: #fff;
    border-color: var(--orange-deep);
}

/* 页码省略号 */
.pagination_ellipsis {
    min-width: 24px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #98a2b0;
    font-size: 13px;
    letter-spacing: 1px;
}

/* 右侧栏公用卡片 */
.aside-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    /* box-shadow: var(--shadow); */
}

.aside-card_title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 留资表单 */
.aside-form .form-group {
    margin-bottom: 12px;
}

.aside-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    margin-bottom: 4px;
}

.aside-form label em {
    font-style: normal;
    color: var(--orange-deep);
}

.aside-form input,
.aside-form select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text);
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
}

.aside-form input:focus,
.aside-form select:focus {
    outline: 0;
    border-color: var(--orange-deep);
    box-shadow: 0 0 0 3px rgba(255, 80, 0, .08);
    background: #fff;
}

.aside-form .form-submit {
    width: 100%;
    padding: 11px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--orange), var(--orange-deep));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .2s;
    font-family: inherit;
    margin-top: 4px;
}

.aside-form .form-submit:hover {
    filter: brightness(1.06);
}

.form-tip {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin-top: 10px;
}

/* 一键发布展会 */
.aside-publish {
    /* background: linear-gradient(180deg, #fff 0%, #FFFAF5 100%);
            border-color: var(--orange-line); */
}

.publish_desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.65;
    margin-bottom: 16px;
}

.publish_benefits {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 18px;
}

.publish_benefit {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

.publish_benefit :is(svg, img) {
    flex-shrink: 0;
    color: var(--orange-deep);
}

.publish_button {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF6A00 0%, #FF5000 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(255, 80, 0, .28);
    letter-spacing: 1px;
}

.publish_button:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 24px rgba(255, 80, 0, .4);
    transform: translateY(-1px);
}

.publish_button:active {
    transform: scale(.97);
}

/* 排行榜 */
.rank-list_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
}

.rank-list_item:last-child {
    border-bottom: 0;
}

.rank-list_number {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rank-list_number.r1 {
    background: #FF5000;
    color: #fff;
}

.rank-list_number.r2 {
    background: #ff9800;
    color: #fff;
}

.rank-list_number.r3 {
    background: #ffc107;
    color: #fff;
}

.rank-list_number.rn {
    background: #f0f0f0;
    color: #999;
}

.rank-list_number-first {
    background: #FF5000;
    color: #fff;
}

.rank-list_number-second {
    background: #ff9800;
    color: #fff;
}

.rank-list_number-third {
    background: #ffc107;
    color: #fff;
}

.rank-list_number-normal {
    background: #f0f0f0;
    color: #999;
}

.rank-list_info {
    flex: 1;
    min-width: 0;
}

.rank-list_name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s;
    cursor: pointer;
}

.rank-list_name:hover {
    color: var(--orange-deep);
}

.rank-list_meta {
    font-size: 11px;
    color: var(--text-mute);
}

/* FAQ */
.faq-list_item {
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
}

.faq-list_item:last-child {
    border-bottom: 0;
}

.faq-list_question {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.faq-list_answer {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 200;
    background: #2a2a2a;
    color: #fff;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(80px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s, opacity .3s;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast :is(svg, img) {
    color: #4caf50;
    flex-shrink: 0;
}

/* 低于 1200px 的断点已移除 */