:root {
    --58-orange: #FF9212;
    --58-blue: #3366cc;
    --text-main: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-gray: #f8f9fa;
    --border: #eeeeee;
    --radius: 12px;
    --page-width: 1184px;
}

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

/* --- 导航栏 --- */
.top-nav { background: #fff; border-bottom: 2px solid var(--58-orange); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-inner { width: var(--page-width); margin: 0 auto; height: 70px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: var(--58-orange); letter-spacing: 1px; padding-left: 10px; }
.logo h1 a {font-size:24px;overflow:hidden;}
.nav-links { display: flex; gap: 30px; padding-right: 10px; }
.nav-links a { font-size: 16px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--58-orange); }

/* --- 城市选择矩阵 --- */
.city-matrix { width: var(--page-width); margin: 25px auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 20px 25px; }
.city-group { display: flex; align-items: flex-start; margin-bottom: 12px; }
.city-group:last-child { margin-bottom: 0; }
.city-label { width: 80px; font-weight: bold; color: var(--text-gray); font-size: 14px; padding-top: 4px; }
.city-list { flex: 1; display: flex; flex-wrap: wrap; gap: 12px; }
.city-item { font-size: 14px; color: var(--text-main); padding: 4px 12px; border-radius: 4px; }
.city-item:hover, .city-item.active { background: var(--58-orange); color: #fff; }

/* --- 主体内容 --- */
.main-content { width: var(--page-width); margin: 0 auto 50px; }
.section-header { margin: 35px 0 20px; padding: 0 5px; }
.section-header h2 { font-size: 22px; font-weight: bold; color: #000; display: flex; align-items: center; }
.section-header h2::after { content: ""; flex: 1; height: 1px; background: #eee; margin-left: 20px; }

/* --- 全国推广职位 --- */
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vip-card { 
    background: #fff; border-radius: var(--radius); border: 1px solid var(--border); 
    position: relative; transition: 0.3s; overflow: hidden;
    display: flex; flex-direction: column;
}
.vip-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.vip-img { width: 100%; height: 160px; background: #eee; overflow: hidden; }
.vip-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.vip-card:hover .vip-img img { transform: scale(1.1); }
.vip-info { padding: 15px 20px 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.vip-title { font-size: 17px; font-weight: bold; color: var(--text-main); line-height: 1.5; margin-bottom: 12px; height: 50px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vip-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; border-top: 1px solid #f5f5f5; padding-top: 12px; }
.vip-views { color: var(--58-orange); font-weight: bold; }
.vip-time { color: var(--text-light); }
.vip-tag { position: absolute; left: 10px; top: 10px; background: var(--58-orange); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; z-index: 1; }

/* --- 最新招聘职位：修改为 PC端一行2个 --- */
.normal-list { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); /* 核心修改：一行显示2个 */
    gap: 0; /* 边框衔接 */
    background: #fff; 
    border-radius: var(--radius); 
    border: 1px solid var(--border); 
    overflow: hidden; 
}
.job-row { 
    display: flex; 
    padding: 20px; 
    border-bottom: 1px solid #f8f8f8; 
    border-right: 1px solid #f8f8f8; /* 增加右侧边框区分 */
    align-items: center; 
    transition: 0.2s;
}
/* 去除偶数列的右边框和最后两行的下边框（可选，取决于视觉要求） */
.job-row:nth-child(2n) { border-right: none; }

.job-row:hover { background: #fafafa; }

.job-thumb { width: 130px; height: 86px; border-radius: 6px; overflow: hidden; margin-right: 20px; flex-shrink: 0; background: #f0f0f0; }
.job-thumb img { width: 100%; height: 100%; object-fit: cover; }

.job-main { flex: 1; min-width: 0; }
.job-title-normal { font-size: 16px; color: #333; font-weight: 500; margin-bottom: 8px; display: block; overflow: hidden; text-overflow: ellipsis; }
.job-title-normal:hover { color: var(--58-blue); }

.job-meta-list { display: flex; gap: 20px; font-size: 13px; color: var(--text-light); }
.list-views { color: var(--58-orange); }

/* --- 友情链接 & 底部 --- */
.links-box { width: var(--page-width); margin: 40px auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 25px; }
.links-title { font-size: 15px; font-weight: bold; margin-bottom: 15px; color: var(--text-gray); }
.links-wrap { display: flex; flex-wrap: wrap; gap: 20px; }
.links-wrap a { font-size: 13px; color: var(--text-light); }
footer { background: #222; color: #888; padding: 60px 0; text-align: center; font-size: 13px; }
.foot-inner { width: var(--page-width); margin: 0 auto; line-height: 2.2; }

/* =============================================
    📱 移动端 WAP 自适应
   ============================================= */
@media screen and (max-width: 1184px) {
    :root { --page-width: 100%; }
    .nav-inner { padding: 0 15px; }
    .nav-links { display: none; }
    .city-matrix { border-radius: 0; border-left: none; border-right: none; margin: 15px 0; padding: 15px; }
    .city-group { flex-direction: column; }
    .city-label { margin-bottom: 10px; }
    .city-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
    .city-item { flex-shrink: 0; background: #f0f0f0; border-radius: 4px; }
    .main-content { padding: 0 10px; }
    .vip-grid { grid-template-columns: 1fr; gap: 15px; }
    .vip-img { height: 180px; }

    /* 移动端最新招聘恢复为一行1个 */
    .normal-list { grid-template-columns: 1fr; }
    .job-row { padding: 12px; align-items: flex-start; border-right: none; }
    .job-thumb { width: 100px; height: 70px; margin-right: 12px; }
    .job-title-normal { font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; height: 42px; }
    .job-meta-list { gap: 12px; font-size: 12px; }

    .links-box { border-radius: 0; border-left: none; border-right: none; width: 100%; margin: 20px 0; }
    .foot-inner { padding: 0 20px; width: 100%; }
}