/* 聚龙人招聘平台 - 前台专用样式 */
/* 适配断点: PC ≥1200px, 平板 768px-1199px, 手机 <768px */

/* ==================== 图标字体基础样式 ==================== */
[class^="icon-"], [class*=" icon-"] {
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-search::before { content: "🔍"; }
.icon-plus::before { content: "+"; font-weight: bold; }
.icon-phone::before { content: "📞"; margin-right: 6px; }
.icon-email::before { content: "📧"; margin-right: 6px; }
.icon-home::before { content: "🏠"; font-size: 20px; }
.icon-briefcase::before { content: "💼"; font-size: 20px; }
.icon-message::before { content: "💬"; font-size: 20px; }
.icon-user::before { content: "👤"; font-size: 20px; }

/* ==================== 基础布局 ==================== */
:root {
    --app-header-h: 110px;
}

.frontend-body {
    background: var(--bg-body, #f5f7fa);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    flex: 1;
    padding-top: calc(var(--app-header-h) + 20px);
    padding-left: 140px;
    padding-right: 140px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== PC端头部 ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-page, #fff);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-top {
    background: var(--bg-hover, #f7f8fa);
    border-bottom: 1px solid var(--border-light, #eee);
    height: 36px;
    line-height: 36px;
    font-size: 13px;
    color: var(--text-secondary, #666);
    vertical-align: middle;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-top-left {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.top-link {
    color: var(--text-secondary, #666);
    text-decoration: none;
    transition: color 0.2s;
}

.top-link:hover {
    color: var(--color-primary);
}

.top-link.link-highlight {
    color: var(--color-primary);
}

.divider {
    color: var(--border-light, #ddd);
}

.user-dropdown {
    position: relative;
}

.user-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    vertical-align: middle;
}

.user-avatar,
.header-top .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    display: block;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: 1;
    vertical-align: middle;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.notify-badge {
    position: absolute;
    top: -2px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--danger);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--text-white);
    box-sizing: border-box;
    z-index: 10;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0;
    background: var(--bg-page, #fff);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 140px;
    padding: 8px 0;
    display: none;
    overflow: visible;
    z-index: 100;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

.dropdown-menu.show {
    display: block;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

/* 通知下拉样式 */
.notify-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-height: 400px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    display: none;
    overflow: hidden;
    z-index: 200;
}

.notify-dropdown.show {
    display: block;
}

.notify-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
}

.notify-view-all {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
}

.notify-view-all:hover {
    color: var(--text-white);
}

.notify-dropdown-list {
    max-height: 320px;
    overflow-y: auto;
}

.notify-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.notify-item:last-child {
    border-bottom: none;
}

.notify-item:hover {
    background: var(--bg-hover);
}

.notify-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notify-text {
    flex: 1;
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.4;
}

.notify-text strong {
    color: var(--danger);
    font-weight: 600;
}

.notify-arrow {
    color: var(--text-disabled);
    font-size: 16px;
    flex-shrink: 0;
}

.notify-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}

.notify-badge {
    cursor: pointer;
    transition: transform 0.2s;
}

.notify-badge:hover {
    transform: scale(1.15);
}

/* 卡片角标样式 */
.card-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, var(--danger), var(--danger-hover));
    color: var(--text-white);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(255,77,79,0.4);
    z-index: 5;
}

.card-with-badge {
    position: relative;
}

.stat-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: linear-gradient(135deg, var(--danger), var(--danger-hover));
    color: var(--text-white);
    border-radius: var(--radius-lg);
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(255,77,79,0.3);
    z-index: 5;
}

.stat-card {
    position: relative;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text-main, #333);
    text-decoration: none;
    font-size: 13px;
}

.dropdown-menu a:hover {
    background: var(--bg-hover, #f5f7fa);
    color: var(--color-primary);
}

.btn-publish {
    background: var(--color-primary);
    color: var(--text-white) !important;
    padding: 6px 16px;
    border-radius: var(--radius-base);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: background 0.2s;
    line-height: 1;
    font-size: 13px;
    height: auto;
}

.btn-publish:hover {
    background: var(--color-primary-hover);
}

/* Global publish dropdown menu */
.header-top-right { position: relative; }
.publish-dropdown-menu {
    position: fixed;
    display: none;
    background: var(--bg-page, #fff);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 200;
    overflow: hidden;
}
.publish-dropdown-menu.show { display: block; }
.publish-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-main, #333);
    font-size: 13px;
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-light, #f5f5f5);
}
.publish-dropdown-item:last-child { border-bottom: none; }
.publish-dropdown-item:hover { background: var(--bg-hover, #f5f7fa); color: var(--color-primary); }
.publish-dropdown-item .item-icon { font-size: 16px; }
.publish-dropdown-item .item-label { flex: 1; }

.header-main {
    height: 74px;
    display: flex;
    align-items: center;
}

.header-main-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1.1;
}

.logo-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 4px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1.2;
}

.logo-char {
    display: block;
}

.logo-slogan {
    font-size: 12px;
    color: var(--text-secondary, #999);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 2px;
    flex: 1;
}

.nav-item {
    font-size: 15px;
    color: var(--text-main, #333);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.2s ease;
    font-weight: 500;
    white-space: nowrap;
}

.nav-item:hover {
    color: var(--color-primary);
    background: var(--color-primary-light, rgba(37,99,235, 0.08));
}

.nav-item.active {
    color: var(--color-primary);
    background: var(--color-primary-light, rgba(37,99,235, 0.1));
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 3px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
}

.header-search {
    width: 340px;
}

.search-box {
    display: flex;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 40px;
    background: var(--bg-card, #fff);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-box:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light, rgba(37,99,235, 0.15));
}

.search-type {
    border: none;
    background: var(--bg-hover, #f7f8fa);
    padding: 0 12px;
    font-size: 13px;
    color: var(--text-secondary, #666);
    outline: none;
    border-right: 1px solid var(--border-light, #e0e0e0);
    cursor: pointer;
    transition: background 0.3s;
}

.search-type:hover {
    background: var(--bg-active, #e6f0ff);
}

.search-input {
    flex: 1;
    border: none;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    background: var(--bg-card, #fff);
    color: var(--text-main, #333);
    transition: background 0.3s;
}

.search-btn {
    background: var(--color-primary);
    color: var(--text-white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--color-primary-hover);
}

.search-btn:active {
    transform: scale(0.98);
}

/* ==================== 移动端头部 (默认隐藏，媒体查询显示) ==================== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-page, #fff);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    height: 56px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--gradient-home-to));
    border-radius: 10px;
    color: var(--text-white);
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

.mobile-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-line {
    display: block;
    font-size: 17px;
    letter-spacing: 1px;
}

.mobile-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-action {
    color: var(--text-secondary, #666);
    font-size: 14px;
    text-decoration: none;
}

.mobile-publish-btn {
    background: var(--color-primary);
    color: var(--text-white);
    padding: 5px 12px;
    border-radius: var(--radius-base);
    font-size: 13px;
    text-decoration: none;
}

.mobile-search-bar {
    padding: 0 12px 10px;
}

.mobile-search-box {
    display: flex;
    align-items: center;
    background: var(--bg-hover, #f5f7fa);
    border-radius: 20px;
    padding: 0 12px;
    height: 36px;
    border: 1.5px solid var(--color-primary-light, var(--color-primary));
    transition: background 0.3s, border-color 0.3s;
}

.mobile-search-box:focus-within {
    border-color: var(--color-primary);
    background: var(--bg-card, #fff);
}

.mobile-search-box i {
    margin-right: 8px;
    color: var(--text-secondary, #666);
}

.mobile-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: var(--text-main, #333);
}

.mobile-search-box button {
    background: var(--color-primary);
    color: var(--text-white);
    border: none;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.3s;
}

.mobile-search-box button:hover {
    background: var(--color-primary-hover);
}

.mobile-category-bar {
    display: none;
}

/* 移动端顶部滚动广告 */
.mobile-marquee {
    flex: 1;
    overflow: hidden;
    min-width: 0;
    margin-left: 10px;
    height: 36px;
    display: flex;
    align-items: center;
}
.mobile-marquee .promo-area {
    margin: 0;
    width: 100%;
    overflow: hidden;
}
.mobile-marquee .promo-header_top .marquee-track {
    animation: marqueeScroll 20s linear infinite;
}
.mobile-marquee .promo-header_top .marquee-item {
    padding: 0 30px;
    font-size: 12px;
}

/* 底部弹出面板 */
.bottom-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2000;
}
.bottom-popup-overlay.show {
    display: block;
}

.bottom-popup-panel {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2100;
    background: var(--bg-page, #fff);
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: slideUp 0.3s ease;
    padding-bottom: env(safe-area-inset-bottom);
}
.bottom-popup-panel.show {
    display: block;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.bottom-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light, #f0f0f0);
    position: sticky;
    top: 0;
    background: var(--bg-page, #fff);
    z-index: 1;
    border-radius: 16px 16px 0 0;
}

.bottom-popup-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main, #333);
}

.bottom-popup-close {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bg-hover, #f5f5f5);
    border-radius: 50%;
    font-size: 14px;
    color: var(--text-secondary, #999);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-popup-body {
    padding: 8px 0;
}

.bottom-popup-item {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    color: var(--text-main, #333);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light, #f8f8f8);
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.bottom-popup-item:active {
    background: var(--bg-hover, #f5f7fa);
}
.bottom-popup-item.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.bottom-popup-divider {
    height: 8px;
    background: var(--bg-hover, #f5f7fa);
}

/* ==================== 首页分类导航 ==================== */
.category-section {
    background: var(--bg-card, #fff);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-main, #333);
    padding: 16px 10px;
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.category-item:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.category-icon.job { background: linear-gradient(135deg, var(--gradient-job-from, #1A4B91), var(--gradient-job-to, #4299E1)); color: var(--text-white); }
.category-icon.rent { background: linear-gradient(135deg, var(--gradient-venue-from, #0d9488), var(--gradient-venue-to, #2dd4bf)); color: var(--text-white); }
.category-icon.invest { background: linear-gradient(135deg, var(--section-supplier, #AF2626), var(--gradient-supplier-to, #E53E3E)); color: var(--text-white); }
.category-icon.doc { background: linear-gradient(135deg, var(--gradient-doc-from, #334155), var(--gradient-doc-to, #64748B)); color: var(--text-white); }
.category-icon.supplier { background: linear-gradient(135deg, var(--gradient-supplier-from, #AF2626), var(--gradient-supplier-to, #E53E3E)); color: var(--text-white); }

.category-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.category-desc {
    font-size: 12px;
    color: var(--text-secondary, #999);
}

/* ==================== 广告Banner ==================== */
.banner-section {
    margin-bottom: 20px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.banner-placeholder {
    background: linear-gradient(135deg, var(--color-primary), var(--gradient-home-to));
    color: var(--text-white);
    padding: 50px 40px;
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.banner-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* ==================== 通用模块标题 ==================== */
.section-block {
    background: var(--bg-card, #fff);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main, #333);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-icon {
    width: 4px;
    height: 20px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
}

.section-more {
    color: var(--text-secondary, #999);
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-more:hover {
    color: var(--color-primary);
}

/* ==================== 职位卡片 ==================== */
.job-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.job-card {
    border: 1px solid var(--border-light, #f0f0f0);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.job-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(37,99,235,0.1);
    transform: translateY(-2px);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-title {
    font-size: 17px;
    font-weight: bold;
    color: var(--text-main, #333);
    margin-bottom: 6px;
}

.job-salary {
    font-size: 18px;
    font-weight: bold;
    color: var(--price-color, #ff6633);
}

.job-company {
    font-size: 14px;
    color: var(--text-secondary, #666);
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-secondary, #999);
}

.job-tag {
    background: var(--bg-hover, #f5f7fa);
    padding: 2px 8px;
    border-radius: var(--radius-base);
    color: var(--text-secondary, #666);
}

.job-location::before { content: "📍"; margin-right: 3px; }
.job-experience::before { content: "💼"; margin-right: 3px; }
.job-education::before { content: "🎓"; margin-right: 3px; }

/* ==================== 信息卡片(商铺/供应商/文档通用) ==================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.info-card {
    border: 1px solid var(--border-light, #f0f0f0);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.info-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.info-card-img {
    height: 140px;
    background: linear-gradient(135deg, var(--bg-hover, #f5f7fa), var(--bg-body, #e8ecf1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.info-card-content {
    padding: 14px;
}

.info-card-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main, #333);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-card-meta {
    font-size: 13px;
    color: var(--text-secondary, #999);
    display: flex;
    justify-content: space-between;
}

.info-card-price {
    color: var(--price-color, #ff6633);
    font-weight: 500;
}

/* ==================== 公告列表 ==================== */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-light, #f0f0f0);
    text-decoration: none;
    color: var(--text-main, #333);
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-badge {
    background: var(--price-color, #ff6633);
    color: var(--text-white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.notice-title {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-all;
}

.notice-item:hover .notice-title {
    color: var(--color-primary);
}

.notice-date {
    font-size: 13px;
    color: var(--text-secondary, #999);
    flex-shrink: 0;
}

/* ==================== 两栏布局(首页下方) ==================== */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.two-column .sidebar {
    position: sticky;
    top: 120px;
    align-self: flex-start;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

/* ==================== PC端页脚 ==================== */
.site-footer {
    background: var(--footer-bg, #2b333f);
    color: var(--footer-text, #999);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-contact p {
    font-size: 13px;
    margin-bottom: 6px;
}

.footer-title {
    color: var(--text-white);
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--footer-text, #999);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.qrcode-placeholder {
    display: flex;
    gap: 16px;
}

.qrcode-box {
    width: 80px;
    height: 80px;
    background: var(--footer-qrcode-bg, #3a4350);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--footer-text-light, #666);
}

.footer-bottom {
    border-top: 1px solid var(--footer-border, #3a4350);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

.footer-bottom a {
    color: var(--footer-text, #999);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--color-primary);
}

.friend-links-section {
    border-top: 1px solid var(--footer-border, #3a4350);
    margin-top: 24px;
    padding-top: 16px;
}

.friend-links-title {
    font-size: 13px;
    color: var(--footer-text-light, #666);
    margin-bottom: 10px;
    font-weight: normal;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.friend-link-item {
    color: var(--footer-text, #999);
    text-decoration: none;
    font-size: 12px;
    padding: 2px 6px;
    transition: color 0.2s;
}

.friend-link-item:hover {
    color: var(--color-primary);
}

/* ==================== 移动端底部导航 ==================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-page, #fff);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
    z-index: 1000;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-footer-placeholder {
    display: none;
    height: 74px;
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary, #999);
    font-size: 12px;
    gap: 2px;
    transition: color 0.2s;
    position: static;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-bottom-nav .nav-item i {
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--color-primary);
}

.mobile-bottom-nav .nav-item.active::after {
    display: none;
}

.nav-publish .publish-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
    font-size: 24px;
}

/* ==================== 收藏按钮 ==================== */
.fav-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e8e8e8);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-secondary, #666);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.fav-btn:hover { border-color: var(--color-secondary, #f59e0b); color: var(--color-secondary, #f59e0b); }
.fav-btn.favorited { border-color: var(--color-secondary, #f59e0b); background: var(--color-secondary-light, #fffbeb); color: var(--color-secondary, #f59e0b); }
.fav-btn .fav-icon { font-size: 15px; }
.fav-btn .fav-text { font-size: 13px; }

/* ==================== 公告弹窗 ==================== */
.notice-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.notice-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.notice-popup-content {
    position: relative;
    background: var(--bg-card, #fff);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: popupIn 0.3s ease;
}

@keyframes popupIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.notice-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.notice-popup-header h3 {
    font-size: 18px;
    color: var(--text-main, #333);
}

.notice-popup-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.8;
    color: var(--text-secondary, #666);
}

.notice-popup-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light, #f0f0f0);
    text-align: center;
}

.notice-popup-footer .btn {
    min-width: 120px;
}

/* ==================== 响应式适配 - 平板 ==================== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    /* 平板端减少悬浮广告预留空间 */
    .main-wrapper {
        padding-left: 100px;
        padding-right: 100px;
    }
    
    /* 平板端缩小悬浮广告 */
    .promo-panel_left,
    .promo-panel_right {
        width: 100px;
    }
    
    .header-search {
        width: 280px;
    }
    
    .main-nav {
        gap: 2px;
    }
    
    .nav-item {
        font-size: 14px;
        padding: 5px 8px;
    }
    
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .qrcode-placeholder {
        justify-content: center;
    }
}

/* ==================== 响应式适配 - 移动端 ==================== */
@media (max-width: 767px) {
    /* 隐藏PC端头部和页脚 */
    .site-header {
        display: none;
    }
    
    .site-footer {
        display: none;
    }
    
    /* 显示移动端头部和底部 */
    .mobile-header {
        display: block;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    .mobile-footer-placeholder {
        display: block;
    }
    
    .main-wrapper {
        padding-top: 120px;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* 移动端隐藏悬浮广告 */
    .promo-panel_left,
    .promo-panel_right,
    .promo-area[data-position="panel_left"],
    .promo-area[data-position="panel_right"] {
        display: none !important;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* 分类导航 */
    .category-section {
        padding: 12px;
        border-radius: var(--radius-lg);
    }
    
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }
    
    .category-item {
        padding: 8px 2px;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        border-radius: 10px;
        margin-bottom: 6px;
    }
    
    .category-name {
        font-size: 11px;
    }
    
    .category-desc {
        display: none;
    }
    
    /* Banner */
    .banner-placeholder {
        padding: 30px 20px;
    }
    
    .banner-content h2 {
        font-size: 22px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    /* 模块区块 */
    .section-block {
        padding: 16px;
        border-radius: var(--radius-lg);
    }
    
    .section-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .section-title {
        font-size: 17px;
    }
    
    /* 职位列表 */
    .job-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .job-card {
        padding: 16px;
    }
    
    .job-title {
        font-size: 16px;
    }
    
    .job-salary {
        font-size: 16px;
    }
    
    /* 信息卡片 */
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .info-card-img {
        height: 100px;
        font-size: 32px;
    }
    
    .info-card-content {
        padding: 10px;
    }
    
    .info-card-title {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    /* 两栏变一栏 */
    .two-column {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* 公告弹窗移动端 */
    .notice-popup-content {
        max-height: 85vh;
    }

    /* 悬浮广告关闭按钮移至左侧中间 */
    .promo-panel_close {
        top: 50%;
        left: -12px;
        transform: translateY(-50%);
    }
}

/* ==================== 首页各板块配色样式 ==================== */
/* 使用CSS变量实现动态配色 */

/* 热门职位板块 */
.section-job .section-title-icon { background: var(--block-hot-job, #1A4B91); }
.section-job .section-title { color: var(--block-hot-job, #1A4B91); }
.section-job .info-card-img { background: linear-gradient(135deg, var(--block-hot-job, #1A4B91), var(--gradient-job-to, #4299E1)); color: var(--text-white); }
.section-job .price-text, .section-job .salary-text { color: var(--block-hot-job, #1A4B91); }
.section-job a { color: var(--block-hot-job, #1A4B91); }

/* 推荐人才板块 */
.section-resume .section-title-icon { background: var(--block-recommend-resume, #553C9A); }
.section-resume .section-title { color: var(--block-recommend-resume, #553C9A); }
.section-resume .info-card-img { background: linear-gradient(135deg, var(--block-recommend-resume, #553C9A), var(--gradient-resume-to, #805AD5)); color: var(--text-white); }
.section-resume .price-text, .section-resume .salary-text { color: var(--block-recommend-resume, #553C9A); }
.section-resume a { color: var(--block-recommend-resume, #553C9A); }

/* 租售信息板块 */
.section-shop .section-title-icon { background: var(--block-hot-shop, #236B59); }
.section-shop .section-title { color: var(--block-hot-shop, #236B59); }
.section-shop .info-card-img { background: linear-gradient(135deg, var(--block-hot-shop, #236B59), var(--gradient-shop-to, #38A169)); color: var(--text-white); }
.section-shop .price-text, .section-shop .salary-text { color: var(--block-hot-shop, #236B59); }
.section-shop a { color: var(--block-hot-shop, #236B59); }

/* 求租信息板块 */
.section-venue .section-title-icon { background: var(--block-hot-venue, #0d9488); }
.section-venue .section-title { color: var(--block-hot-venue, #0d9488); }
.section-venue .info-card-img { background: linear-gradient(135deg, var(--block-hot-venue, #0d9488), var(--gradient-venue-to, #2dd4bf)); color: var(--text-white); }
.section-venue .price-text, .section-venue .salary-text { color: var(--block-hot-venue, #0d9488); }
.section-venue a { color: var(--block-hot-venue, #0d9488); }

/* 资料信息板块 */
.section-doc .section-title-icon { background: var(--block-hot-doc, #334155); }
.section-doc .section-title { color: var(--block-hot-doc, #334155); }
.section-doc .info-card-img { background: linear-gradient(135deg, var(--block-hot-doc, #334155), var(--gradient-doc-to, #64748B)); color: var(--text-white); }
.section-doc .price-text, .section-doc .salary-text { color: var(--block-hot-doc, #334155); }
.section-doc a { color: var(--block-hot-doc, #334155); }

/* 优质货源加盟板块 */
.section-supplier .section-title-icon { background: var(--block-hot-supplier, #AF2626); }
.section-supplier .section-title { color: var(--block-hot-supplier, #AF2626); }
.section-supplier .info-card-img { background: linear-gradient(135deg, var(--block-hot-supplier, #AF2626), var(--gradient-supplier-to, #E53E3E)); color: var(--text-white); }
.section-supplier .price-text, .section-supplier .salary-text { color: var(--block-hot-supplier, #AF2626); }
.section-supplier a { color: var(--block-hot-supplier, #AF2626); }

/* 平台公告板块 */
.section-notice .section-title-icon { background: var(--block-notice, #2A4365); }
.section-notice .section-title { color: var(--block-notice, #2A4365); }
.section-notice .info-card-img { background: linear-gradient(135deg, var(--block-notice, #2A4365), var(--gradient-home-to, #4299E1)); color: var(--text-white); }
.section-notice .price-text, .section-notice .salary-text { color: var(--block-notice, #2A4365); }
.section-notice a { color: var(--block-notice, #2A4365); }

/* 热门论坛板块 */
.section-forum .section-title-icon { background: var(--block-hot-forum, #E53E3E); }
.section-forum .section-title { color: var(--block-hot-forum, #E53E3E); }
.section-forum .info-card-img { background: linear-gradient(135deg, var(--block-hot-forum, #E53E3E), var(--gradient-forum-to, #FC8181)); color: var(--text-white); }
.section-forum .price-text, .section-forum .salary-text { color: var(--block-hot-forum, #E53E3E); }
.section-forum a { color: var(--block-hot-forum, #E53E3E); }

/* 通用板块样式 - 板块特定区域的渐变色背景 */
.section-gradient-job { background: linear-gradient(135deg, var(--gradient-job-from, #1A4B91), var(--gradient-job-to, #4299E1)); }
.section-gradient-resume { background: linear-gradient(135deg, var(--gradient-resume-from, #553C9A), var(--gradient-resume-to, #805AD5)); }
.section-gradient-shop { background: linear-gradient(135deg, var(--gradient-shop-from, #236B59), var(--gradient-shop-to, #38A169)); }
.section-gradient-venue { background: linear-gradient(135deg, var(--gradient-venue-from, #0d9488), var(--gradient-venue-to, #2dd4bf)); }
.section-gradient-doc { background: linear-gradient(135deg, var(--gradient-doc-from, #334155), var(--gradient-doc-to, #64748B)); }
.section-gradient-supplier { background: linear-gradient(135deg, var(--gradient-supplier-from, #AF2626), var(--gradient-supplier-to, #E53E3E)); }

/* 急招标签样式 */
.tag-urgent { background: var(--tag-hot, #FDE2E2); color: var(--danger, #E53E3E); }

/* 认证标签样式 */
.tag-verified { color: var(--success, #38A169); }

/* 免费标签样式 */
.tag-free { color: var(--success, #38A169); }

/* 价格/薪资强调色 */
.price-emphasis { color: var(--price-color, #C53030); }

/* ==================== 筛选栏 (Filter Bar) 动态配色 ==================== */
.filter-bar {
    background: var(--bg-card, #fff);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: background 0.3s, box-shadow 0.3s;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-light, #f0f0f0);
    font-size: 13px;
}

.filter-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-label {
    width: 70px;
    flex-shrink: 0;
    color: var(--text-secondary, #999);
    padding-top: 4px;
}

.filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.filter-opt {
    padding: 4px 12px;
    border-radius: var(--radius-base);
    color: var(--text-secondary, #666);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
}

.filter-opt:hover {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.filter-opt.active {
    color: var(--text-white);
    background: var(--color-primary);
}

.filter-select {
    padding: 4px 10px;
    border: 1px solid var(--border-light, #e8e8e8);
    border-radius: var(--radius-base);
    font-size: 13px;
    color: var(--text-main, #333);
    background: var(--bg-card, #fff);
    margin-right: 6px;
    transition: border-color 0.25s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* 排序标签页 (Order Tabs) 动态配色 */
.order-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 14px;
    background: var(--bg-card, #fff);
    border-radius: var(--radius-lg);
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.order-tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    color: var(--text-secondary, #666);
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s;
}

.order-tab:hover {
    color: var(--color-primary);
}

.order-tab.active {
    background: var(--color-primary);
    color: var(--text-white);
    font-weight: 500;
}

/* 筛选栏卡片悬浮效果 */
.job-card,
.shop-card,
.venue-card,
.doc-card,
.supplier-card,
.resume-card {
    transition: box-shadow 0.25s, transform 0.25s;
}

.job-card:hover,
.shop-card:hover,
.venue-card:hover,
.doc-card:hover,
.supplier-card:hover,
.resume-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.job-card:hover .job-card-title,
.shop-card:hover .card-title,
.venue-card:hover .card-title {
    color: var(--color-primary);
}


/* ===== 发布入口权限样式（全局） ===== */
/* --- 有身份的入口：亮色 + 淡绿底 + 对勾 --- */
.publish-dropdown-item.enabled,
.bottom-popup-item.enabled {
    background: linear-gradient(90deg, rgba(37,99,235,0.08) 0%, rgba(37,99,235,0.02) 100%) !important;
    color: var(--color-primary) !important;
    font-weight: 600 !important;
    border-left: 3px solid var(--color-primary) !important;
    position: relative;
}
.publish-dropdown-item.enabled .item-label::after,
.bottom-popup-item.enabled::after {
    content: '✓';
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(37,99,235,0.15);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.publish-dropdown-item.enabled:hover,
.bottom-popup-item.enabled:hover {
    background: rgba(37,99,235,0.12) !important;
}

/* --- 无身份的入口：深灰底 + 删除线 + 降低对比度 --- */
.publish-dropdown-item.disabled,
.bottom-popup-item.disabled {
    background: var(--bg-hover) !important;
    color: var(--text-disabled) !important;
    cursor: not-allowed !important;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;  /* 不用 opacity，用颜色差 */
}
.publish-dropdown-item.disabled::before,
.bottom-popup-item.disabled::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 6px,
        rgba(0,0,0,0.06) 6px,
        rgba(0,0,0,0.06) 7px
    );
    pointer-events: none;
}
.publish-dropdown-item.disabled .item-icon {
    filter: grayscale(100%);
    opacity: 0.4;
}
.publish-dropdown-item.disabled .item-label,
.bottom-popup-item.disabled {
    text-decoration: line-through;
    text-decoration-color: var(--border-dark);
    text-decoration-thickness: 1.5px;
}
.publish-dropdown-item.disabled:hover,
.bottom-popup-item.disabled:hover {
    background: var(--bg-hover) !important;
    color: var(--text-secondary) !important;
}

/* --- user/index.html stat-card --- */
.stat-card.enabled {
    border: 2px solid var(--color-primary) !important;
    box-shadow: 0 2px 12px rgba(37,99,235,0.15) !important;
}
.stat-card.disabled {
    background: var(--bg-hover) !important;
    border-color: var(--border-base) !important;
    cursor: not-allowed !important;
    position: relative;
}
.stat-card.disabled::after {
    content: '🔒 需对应身份';
    position: absolute;
    bottom: 6px; left: 12px;
    font-size: 10px;
    background: var(--text-placeholder);
    color: var(--text-white);
    padding: 1px 6px;
    border-radius: var(--radius-lg);
    opacity: 0.8;
}
.stat-card.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* --- user/publish.html type-tab --- */
.type-tab.enabled {
    background: var(--color-primary) !important;
    color: var(--text-white) !important;
}
.type-tab.disabled {
    background: var(--bg-hover) !important;
    color: var(--text-disabled) !important;
    cursor: not-allowed !important;
    text-decoration: line-through;
}


/* ==================== 栏目页方案 B：紧凑化 ==================== */
/* 适用于 /job /shop /venue /supplier /doc 等栏目 */
@media (min-width: 1200px) {
    .job-list, .info-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}
.section-block { padding: 18px 20px; }
.section-header { margin-bottom: 12px; padding-bottom: 10px; }
.section-title { font-size: 16px; }
.section-title-icon { height: 16px; }
.filter-bar { padding: 10px 14px; margin-bottom: 10px; border-radius: var(--radius-lg); }
.filter-row { padding: 6px 0; }
.filter-label { width: 62px; font-size: 12px; }
.filter-options { gap: 5px; }
.filter-opt { padding: 3px 10px; font-size: 13px; }
.job-card { padding: 14px; }
.info-card-img { height: 100px; font-size: 30px; }
.info-card-content { padding: 10px 12px; }
.info-card-title { font-size: 14px; margin-bottom: 4px; }
.info-card-meta { font-size: 12px; }

/* 列表型栏目页 (shop/venue/supplier) 也自适应 */
.list-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }

/* 分页紧凑化 */
.pagination, .forum-pagination { gap: 6px; }
.page-btn, .forum-page-btn { padding: 6px 12px; font-size: 13px; min-width: 32px; }

/* 响应式：笔记本 992-1199px */
@media (max-width: 1199px) and (min-width: 992px) {
    .job-list, .info-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .section-block { padding: 16px; }
}
/* 平板 768-991px */
@media (max-width: 991px) and (min-width: 768px) {
    .job-list, .info-grid { grid-template-columns: repeat(2, 1fr); }
    .section-block { padding: 14px; }
}
/* 小屏 ≤480px */
@media (max-width: 480px) {
    .filter-bar { padding: 8px 10px; }
    .job-list, .info-grid { grid-template-columns: 1fr; }
}


/* ==================== 筛选栏折叠（默认显示 3 行） ==================== */
.filter-bar {
    overflow: hidden;
    transition: all .25s ease;
}
.filter-bar.filter-collapsed > .filter-row:nth-child(n+4) {
    display: none;
}
.filter-bar.filter-open > .filter-row {
    display: flex;
}
.filter-toggle-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0 4px;
    margin-top: 4px;
    color: var(--color-primary);
    font-size: 13px;
    cursor: pointer;
    background: none;
    border: none;
    border-top: 1px dashed var(--border-light);
    line-height: 1.6;
    transition: color .15s;
}
.filter-toggle-btn:hover { color: var(--color-primary-hover); }
.filter-toggle-btn::after { content: ' ▼'; font-size: 10px; opacity: .7; }
.filter-toggle-btn.expanded::after { content: ' ▲'; }
@media (max-width: 768px) {
    .filter-toggle-btn { padding: 8px 0 2px; font-size: 12px; }
}

/* ==================== 搜索栏合并筛选项 + 标题改一行 ==================== */
.search-banner {
    border-radius: 12px 12px 0 0 !important;
    padding-bottom: 12px !important;
}
.search-banner h2 {
    display: inline !important;
    font-size: 15px !important;
    margin: 0 !important;
    font-weight: 600 !important;
    vertical-align: middle;
}
.search-banner p {
    display: inline !important;
    font-size: 12px !important;
    color: rgba(255,255,255,0.75) !important;
    margin: 0 0 0 10px !important;
    font-weight: normal !important;
    vertical-align: middle;
}
.search-banner .banner-search {
    margin-top: 10px !important;
}
.search-banner > .filter-bar {
    margin-top: 10px !important;
    border-radius: var(--radius-lg) !important;
    border-top: none !important;
    box-shadow: none !important;
    padding: 12px 16px !important;
    background: rgba(255,255,255,0.95) !important;
}
.search-banner {
    padding: 18px 20px 12px !important;
}


/* ==================== 手机端搜索栏 + 筛选栏瘦身 ==================== */
@media (max-width: 767px) {
    .search-banner {
        padding: 12px !important;
        border-radius: 0 !important;
    }
    .search-banner h2 {
        font-size: 14px !important;
    }
    .search-banner p {
        display: none !important;
    }
    .search-banner .banner-search {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .search-banner .banner-search input[type=text] {
        flex: 1 1 100% !important;
    }
    .search-banner .banner-search button,
    .search-banner .banner-search a.btn-publish-banner {
        flex: 0 0 auto !important;
        font-size: 12px !important;
        padding: 8px 12px !important;
    }

    /* filter-bar 在 banner 内部，手机端限高滚动 */
    .search-banner > .filter-bar {
        padding: 8px 10px !important;
        margin-top: 10px !important;
        background: var(--bg-card) !important;
        border-radius: var(--radius-lg) !important;
        max-height: 240px !important;
        overflow-y: auto !important;
    }
    .search-banner > .filter-bar > .filter-row {
        padding: 6px 0 !important;
        font-size: 12px !important;
    }
    .filter-label {
        min-width: 52px !important;
        font-size: 12px !important;
    }
    .filter-options a,
    .filter-options select {
        font-size: 12px !important;
        padding: 3px 8px !important;
    }
    .filter-toggle-btn {
        padding: 8px 0 4px !important;
        font-size: 12px !important;
    }

    /* sidebar 在 767px 以下隐藏 */
    .resume-sidebar,
    .job-sidebar,
    .shop-sidebar,
    .venue-sidebar,
    .supplier-sidebar,
    .doc-sidebar,
    .forum-sidebar {
        display: none !important;
    }
}

/* ===== 侧栏公告翻页卡片 ===== */
.notice-pager { position: relative; min-height: 80px; overflow: hidden; }
.notice-page { display: none; padding: 10px 4px; cursor: pointer; }
.notice-page.active { display: block; animation: fadeSlideIn .35s ease; }
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.notice-page:hover .np-title { color: var(--color-primary, #4a90d9); }
.np-title {
    font-size: 13px; font-weight: 600; color: var(--text-main);
    line-height: 1.5; margin-bottom: 6px;
}
.np-date {
    float: right; font-size: 11px; color: var(--text-disabled);
    font-weight: 400; margin-left: 8px;
}
.np-content {
    font-size: 12px; color: var(--text-secondary);
    line-height: 1.6; display: -webkit-box;
    -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
.notice-dots {
    display: flex; justify-content: center; gap: 5px;
    padding: 6px 0 2px;
}
.notice-dots .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--border-dark, #ccc); opacity: .5;
    cursor: pointer; transition: all .2s;
}
.notice-dots .dot.active {
    width: 18px; border-radius: 3px; opacity: 1;
    background: var(--color-primary, #4a90d9);
}
