/* 1. 基础重置与变量 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background-color: #F6F6F8; color: #414a60; line-height: 1.5; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
:root {
    --boss-green: #00BEBD;
    --boss-green-light: #E0F8F8; 
    --boss-hover: #00a4a3;
    --text-main: #414a60;
    --text-title: #222;
    --text-muted: #8d92a1;
    --pc-width: 1184px;
}

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

/* 2. 导航栏 (透明悬浮感) */
.header { background: #fff; height: 65px; display: flex; align-items: center; border-bottom: 1px solid #f2f2f5; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: var(--boss-green); display: flex; align-items: center; }
.logo span { color: var(--text-main); font-size: 18px; margin-left: 10px; font-weight: normal; }
.nav-list { display: flex; gap: 30px; margin-left: 50px; }
.nav-item a { color: var(--text-main); font-size: 15px; font-weight: 500; }
.nav-item a:hover, .nav-item.active a { color: var(--boss-green); }
.btn-reg { background: var(--boss-green); color: #fff; padding: 8px 22px; border-radius: 4px; font-size: 14px; font-weight: bold; }

/* 3. 核心修改：大 Banner 区域 */
.big-banner { height: 450px; position: relative; background: #000; overflow: hidden; }
/* 这里的背景图路径请确保服务器存在，或替换为帝国广告标签 */
.banner-bg { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: url('/skin/default/images/main-banner.jpg') no-repeat center; 
    background-size: cover; 
    filter: brightness(0.7); /* 压暗背景突出文字 */
    transition: transform 5s;
}
.big-banner:hover .banner-bg { transform: scale(1.05); }
        
.banner-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; text-align: center; }
.banner-title { font-size: 30px; font-weight: 800; margin-bottom: 15px; letter-spacing: 2px; }
.banner-subtitle { font-size: 20px; opacity: 0.9; margin-bottom: 35px; letter-spacing: 6px; font-weight: 300; }
.banner-tags { display: flex; gap: 15px; }
.b-tag { background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); padding: 6px 20px; border-radius: 30px; font-size: 14px; border: 1px solid rgba(255,255,255,0.3); }

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

/* 5. 职位卡片 (BOSS绿风格 + 浏览量) */
.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); border-color: #eee; }
        
.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); }

/* 6. 右侧侧边栏 (胶囊样式) */
.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); }
.side-ad { width: 100%; height: 240px; background: #f0f0f0; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.side-ad img { width: 100%; height: 100%; object-fit: cover; }

/* --- 新增：招聘百科列表样式 --- */
.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; }

/* 7. Footer */
.footer { background: #fff; border-top: 1px solid #eef0f5; padding: 60px 0 30px; text-align: center; }
.copyright { font-size: 12px; color: #b0b4be; margin-top: 20px; }

/* ============================== 移动端适配 ============================== */
@media (max-width: 768px) {
    .nav-list, .content-right { display: none; }
    .header { height: 55px; }
    .big-banner { height: 300px; }
    .banner-title { font-size: 32px; }
    .banner-subtitle { font-size: 14px; letter-spacing: 3px; margin-bottom: 25px; }
    .banner-tags { display: none; } /* 移动端精简 */
    .main-layout { padding: 20px 0; }
    .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; }
    .job-views { margin-bottom: 0; font-size: 15px; }
}