/* --- 全局重置 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, system-ui, "Microsoft Yahei", sans-serif; background: #f6f8fa; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: 8px; }

.container { width: 100%; margin: 0 auto; }
@media screen and (min-width: 1200px) { .container { width: 1180px; } }

/* --- 1. 头部 & 导航 --- */
.header { background: #fff; border-bottom: 2px solid #ff464e; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.header-top { height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; }
.logo { font-size: 24px; font-weight: bold; color: #ff464e; }
.logo small { font-size: 13px; color: #fff; background: #ff464e; padding: 2px 8px; border-radius: 3px; margin-left: 10px; font-weight: normal; vertical-align: middle; }

.nav-bar { background: #222; height: 45px; line-height: 45px; display: none; }
@media screen and (min-width: 1200px) { 
    .nav-bar { display: block; } 
    .nav-bar ul { display: flex; } 
    .nav-bar li a { color: #ccc; padding: 0 25px; font-size: 15px; }
    .nav-bar li a:hover,.nav-bar li a.active { background: #ff464e; display: inline-block;}
}

/* --- 2. 行业筛选 (简约风格) --- */
.filter-box { background: #fff; padding: 15px; margin: 10px; border-radius: 10px; border: 1px solid #eee; }
@media screen and (min-width: 1200px) { .filter-box { margin: 15px 0; } }
.filter-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-tags a { padding: 5px 15px; background: #f8f9fb; border-radius: 4px; font-size: 13px; color: #666; border: 1px solid #f0f0f0; }
.filter-tags a:hover { color: #ff464e; border-color: #ff464e; background: #fff; display: inline-block;}
.filter-tags a.active {background:#ff464e; color:#fff;}

/* --- 3. 置顶模块 (视觉减重版) --- */
.featured-box { background: #fff; border-radius: 12px; margin: 0 10px 25px; border: 1px solid #eee; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
@media screen and (min-width: 1200px) { .featured-box { margin: 0 0 25px; } }

/* 减重后的头部：白底红边 */
.featured-hd { background: #fff; padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid #f5f5f5; }
.featured-hd i { width: 4px; height: 18px; background: #ff464e; margin-right: 10px; border-radius: 2px; }
.featured-hd span { font-size: 18px; font-weight: bold; color: #222; }
.featured-hd small { margin-left: auto; color: #999; font-size: 12px; }

.featured-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: #f0f0f0; }
@media screen and (min-width: 1200px) { .featured-grid { grid-template-columns: 1fr 1fr; } }

.f-item { background: #fff; display: flex; padding: 20px; position: relative; }
.f-item:hover { background: #fffcfc; }
.f-img { width: 100px; height: 100px; flex-shrink: 0; overflow: hidden; }
.f-img img { width: 100%; height: 100%; object-fit: cover; }
.f-info { flex: 1; padding-left: 15px; }
.f-info h4 { font-size: 17px; color: #222; margin-bottom: 8px; font-weight: bold; }
.f-info .price { color: #ff464e; font-weight: bold; font-size: 16px; margin-bottom: 5px; }
.f-info .meta { font-size: 12px; color: #999; }
.f-label { position: absolute; top: 0; right: 0; background: #ff464e; color: #fff; font-size: 11px; padding: 3px 8px; border-bottom-left-radius: 8px; }

/* --- 4. 职位列表 (修正布局) --- */
.main-wrapper { display: flex; flex-direction: column; gap: 20px; padding: 0 10px; }
@media screen and (min-width: 1200px) { .main-wrapper { flex-direction: row; padding: 0; } .left-col { width: 800px; } .right-col { width: 360px; } }

.white-box { background: #fff; border-radius: 12px; border: 1px solid #eee; overflow: hidden; }
.box-hd { padding: 15px 20px; border-bottom: 1px solid #f8f8f8; border-left: 5px solid #333; font-size: 18px; font-weight: bold; }

.job-row { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #f9f9f9; }
.job-row:hover { background: #fffcfc; }

/* 左侧标题与参数 */
.job-l { flex: 1; min-width: 0; padding-right: 20px; }
.job-l .t { font-size: 16px; font-weight: 500; color: #333; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.job-l .m { font-size: 12px; color: #999; display: flex; gap: 15px; }
.job-l .m span { display: flex; align-items: center; }

/* 右侧薪资与日期：修正重叠，垂直排列 */
.job-r { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: flex-end; 
    min-width: 110px; 
    text-align: right; 
}
.job-r .v { font-size: 16px; color: #ff464e; font-weight: bold; line-height: 1.2; margin-bottom: 6px; }
.job-r .d { font-size: 12px; color: #bbb; line-height: 1; }

/* --- 5. 城市描述 --- */
.city-intro { background: #fff; border-radius: 12px; border: 1px solid #eee; padding: 30px; margin: 25px 0; }
.city-intro h2 { font-size: 20px; margin-bottom: 20px; border-bottom: 1px solid #f5f5f5; padding-bottom: 15px; }
.city-intro p { font-size: 15px; color: #666; margin-bottom: 15px; text-align: justify; }
.city-intro strong { color: #ff464e; font-weight: 600; }

/* 侧边栏 */
.rank-item { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid #f9f9f9; font-size: 14px; }
.num { width: 20px; height: 20px; background: #eee; color: #999; text-align: center; line-height: 20px; border-radius: 4px; margin-right: 12px; flex-shrink: 0; }
.rank-item:nth-child(-n+3) .num { background: #ff464e; color: #fff; }

.sticky-side { position: sticky; top: 130px; }
.contact-card { background: #fff; border-radius: 12px; padding: 25px; border: 1px solid #eee; margin-top: 25px; }

/* --- 6. 底部 --- */
.footer { background: #1a1a1a; color: #777; padding: 50px 15px;}
@media screen and (min-width: 1200px) { .footer-inner { grid-template-columns: repeat(4, 1fr); } }
.copyright p { text-align: center; font-size: 12px; line-height:30px;}

/* 移动端底栏 */
.wap-action { position: fixed; bottom: 0; width: 100%; background: #fff; height: 65px; padding: 10px 20px; display: flex; align-items: center; border-top: 1px solid #eee; z-index: 1000; }
@media screen and (min-width: 1200px) { .wap-action { display: none; } }
.btn-tel { flex: 1; background: #ff464e; color: #fff; text-align: center; line-height: 45px; border-radius: 6px; font-weight: bold; }
    