/* 1. 基础变量 */
:root {
    --boss-green: #00BEBD;
    --boss-green-light: #E0F8F8; 
    --boss-hover: #00a4a3;
    --text-main: #414a60;
    --text-title: #222;
    --text-muted: #8d92a1;
    --pc-width: 1184px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background-color: #F6F6F8; color: var(--text-main); line-height: 1.5; }
a { text-decoration: none; color: inherit; transition: 0.2s; }

.container { max-width: var(--pc-width); margin: 0 auto; padding: 0 15px; width: 100%; }

/* 2. 导航栏 */
.header { background: #fff; height: 60px; display: flex; align-items: center; border-bottom: 1px solid #f2f2f5; position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: var(--boss-green); }
.nav-list { display: flex; gap: 30px; }
.nav-item a { color: var(--text-main); font-size: 15px; }
.nav-item a:hover, .nav-item.active a { color: var(--boss-green); }

/* 3. 核心修改：栏目通栏 Banner */
.category-banner { 
    height: 260px; 
    position: relative; 
    background: #222; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.cat-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('/skin/default/images/cat-banner.jpg') no-repeat center;
    background-size: cover;
    filter: brightness(0.6);
    z-index: 1;
}
.cat-content { position: relative; z-index: 2; padding: 0 20px; }
.cat-name { font-size: 40px; font-weight: bold; margin-bottom: 10px; letter-spacing: 2px; }
.cat-desc { font-size: 16px; opacity: 0.8; font-weight: 300; max-width: 600px; line-height: 1.8; }

/* 4. 面包屑与排序 */
.page-meta { background: transparent; padding: 20px 0 10px; display: flex; justify-content: space-between; align-items: center; }
.breadcrumb { font-size: 13px; color: var(--text-muted); }
.sort-bar { display: flex; gap: 20px; font-size: 14px; }
.sort-item { cursor: pointer; color: var(--text-muted); }
.sort-item.active { color: var(--boss-green); font-weight: bold; }

/* 5. 布局 */
.main-layout { display: flex; gap: 20px; padding-bottom: 60px; }
.content-left { flex: 1; }
.content-right { width: 284px; }

/* 6. 职位卡片 (保持首页风格：去薪资、增浏览) */
.job-card { background: #fff; border-radius: 8px; padding: 22px; margin-bottom: 15px; display: flex; justify-content: space-between; position: relative; transition: 0.3s; border: 1px solid transparent; }
.job-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }

.job-card.is-top { background: var(--boss-green-light); border: 1px solid rgba(0, 190, 189, 0.2); }
.top-badge { position: absolute; top: 0; left: 0; background: var(--boss-green); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 8px 0 8px 0; font-weight: bold; }

.job-primary { display: flex; gap: 18px; }
.job-img { width: 75px; height: 75px; border-radius: 10px; object-fit: cover; border: 1px solid #eee; background: #fff; }
.job-detail { display: flex; flex-direction: column; justify-content: center; }
.job-title { font-size: 18px; font-weight: bold; color: var(--text-title); margin-bottom: 8px; }
.job-title h2{ font-size: 18px;}
.job-title:hover { color: var(--boss-green); }
.job-info { font-size: 14px; color: #61687c; margin-bottom: 8px; }
.job-labels { display: flex; gap: 8px; }
.label { background: #f8f8fa; color: #666; font-size: 12px; padding: 2px 10px; border-radius: 4px; border: 1px solid #f0f0f2; }
.job-card.is-top .label { background: #fff; border-color: #d0efef; }

.job-side { text-align: right; display: flex; flex-direction: column; justify-content: center; min-width: 130px; }
.job-views { font-size: 16px; color: var(--boss-green); font-weight: bold; margin-bottom: 6px; }
.job-views span { font-size: 12px; color: var(--text-muted); font-weight: normal; margin-left: 3px; }
.job-pub { font-size: 13px; color: var(--text-muted); }

/* 7. 右侧侧边栏 (胶囊样式) */
.side-box { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.side-title { font-size: 16px; font-weight: bold; margin-bottom: 18px; position: relative; padding-left: 12px; }
.side-title::before { content: ''; position: absolute; left: 0; top: 3px; width: 4px; height: 14px; background: var(--boss-green); border-radius: 2px; }

.capsule-list { display: flex; flex-wrap: wrap; gap: 10px; }
.capsule { background: #F5F5F7; color: #61687c; font-size: 13px; padding: 6px 15px; border-radius: 20px; cursor: pointer; border: 1px solid transparent; }
.capsule:hover { background: #fff; border-color: var(--boss-green); color: var(--boss-green); }

/* 8. Footer */
.footer { background: #fff; border-top: 1px solid #eef0f5; padding: 50px 0 30px; text-align: center; }
.copyright { font-size: 12px; color: #b0b4be; margin-top: 15px; }
/* --- 新增：招聘百科列表样式 --- */
.wiki-list { list-style: none; }
.wiki-item { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.wiki-num { font-family: Arial; font-weight: bold; color: #eee; font-size: 18px; line-height: 1; margin-top: 3px; }
.wiki-item:nth-child(1) .wiki-num { color: #FFD700; }
.wiki-item:nth-child(2) .wiki-num { color: #C0C0C0; }
.wiki-item:nth-child(3) .wiki-num { color: #CD7F32; }
.wiki-link { font-size: 14px; color: var(--text-main); line-height: 1.4; display: block; }
.wiki-link:hover { color: var(--boss-green); }
.wiki-more { display: block; text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 15px; padding-top: 10px; border-top: 1px solid #f5f5f5; }
/* 移动端适配 */
@media (max-width: 768px) {
    .nav-list, .content-right { display: none; }
    .category-banner { height: 180px; }
    .cat-name { font-size: 28px; }
    .cat-desc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .page-meta { flex-direction: column; align-items: flex-start; gap: 10px; padding: 15px; }
    .job-card { flex-direction: column; padding: 18px; }
    .job-side { text-align: left; margin-top: 12px; border-top: 1px dashed #eee; padding-top: 12px; flex-direction: row; justify-content: space-between; }
}