/* --- 核心基础 (保持不变) --- */
* { 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; }
.header-top { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; }
.logo { font-size: 22px; font-weight: bold; color: #ff464e; }
.nav-bar { background: #333; height: 42px; line-height: 42px; display: none; }
@media screen and (min-width: 1200px) {
    .nav-bar { display: block; }
    .nav-bar ul { display: flex; }
    .nav-bar li a { color: #fff; padding: 0 25px; font-size: 15px; }
    .nav-bar li a:hover,.nav-bar li a.active { background: #ff464e; display: inline-block;}
}

/* --- 面包屑 (保持不变) --- */
.breadcrumb { padding: 15px; font-size: 13px; color: #999; }
@media screen and (min-width: 1200px) { .breadcrumb { padding: 15px 0; } }

/* --- 主体内容布局 --- */
.main-wrapper { display: flex; flex-direction: column; gap: 20px; padding: 0 10px; margin-bottom: 100px; }
@media screen and (min-width: 1200px) { .main-wrapper { flex-direction: row; padding: 0; } .left-col { width: 800px; } .right-col { width: 360px; } }

/* --- 左侧详情部分 (保持不变) --- */
.job-detail-hd { background: #fff; border-radius: 12px; border: 1px solid #eee; padding: 25px; margin-bottom: 20px; }
.job-detail-hd h1 { font-size: 22px; color: #222; margin-bottom: 15px; line-height: 1.4; }
.job-hd-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid #f5f5f5; padding-bottom: 20px; }
.job-hd-meta .price { color: #ff464e; font-size: 28px; font-weight: 800; }
.job-hd-meta .price small { font-size: 14px; font-weight: normal; margin-left: 5px; }
.job-hd-meta .time { font-size: 13px; color: #999; }

.params-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; padding-top: 20px; }
@media screen and (min-width: 1200px) { .params-grid { grid-template-columns: repeat(4, 1fr); } }
.param-item { background: #f9f9fb; padding: 12px; border-radius: 8px; border: 1px solid #f0f0f0; }
.param-item label { display: block; font-size: 12px; color: #999; margin-bottom: 4px; }
.param-item span { font-size: 14px; color: #333; font-weight: bold; }

.detail-box { background: #fff; border-radius: 12px; border: 1px solid #eee; padding: 30px 20px; margin-top: 20px; }
.detail-box h3 { font-size: 18px; border-left: 5px solid #ff464e; padding-left: 12px; margin-bottom: 20px; }
.detail-content { font-size: 16px; color: #555; line-height: 2; }
.detail-content p { margin-bottom: 15px; }
.detail-content img { margin: 20px 0; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.detail-content strong { color: #222; }

/* --- 右侧卡片基础 (重构部分) --- */
.white-box { background: #fff; border-radius: 12px; border: 1px solid #eee; overflow: hidden; }
.box-hd-side { padding: 15px 20px; background: #fafafa; border-bottom: 1px solid #eee; font-size: 16px; font-weight: bold; color: #333; display: flex; align-items: center; }
.box-hd-side::before { content: ""; width: 3px; height: 16px; background: #ff464e; margin-right: 8px; border-radius: 2px; }

.manager-card { background: #fff; border-radius: 12px; border: 1px solid #eee; padding: 25px; text-align: center; margin-bottom: 20px; }
.manager-card .avatar { width: 80px; height: 80px; background: #f0f0f0; border-radius: 50%; margin: 0 auto 15px; border: 3px solid #ffecec; overflow: hidden; }
.manager-card h4 { font-size: 18px; margin-bottom: 5px; }
.manager-card p { font-size: 13px; color: #999; margin-bottom: 20px; }
.qr-box { background: #f9f9f9; padding: 15px; border-radius: 8px; margin-bottom: 20px; border: 1px dashed #ddd; }
.qr-box span { font-size: 12px; color: #ff464e; font-weight: bold; }
.btn-wx { display: block; background: #07c160; color: #fff; padding: 12px; border-radius: 6px; font-weight: bold; margin-bottom: 10px; }
.btn-call { display: block; background: #ff464e; color: #fff; padding: 12px; border-radius: 6px; font-weight: bold; }

/* --- 新增：重构经理其他职位列表样式 --- */
.side-job-list { padding: 5px 0; }
.side-job-item { display: flex; padding: 15px 20px; border-bottom: 1px solid #f8f8f8; align-items: center; }
.side-job-item:last-child { border-bottom: none; }
.side-job-item:hover { background: #fffcfc; }
.sj-thumb { width: 60px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: #f0f0f0; }
.sj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sj-info { flex: 1; padding-left: 12px; min-width: 0; }
.sj-info h5 { font-size: 14px; color: #333; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; }
.sj-meta { display: flex; justify-content: space-between; align-items: center; }
.sj-price { color: #ff464e; font-size: 13px; font-weight: bold; }
.sj-city { color: #999; font-size: 12px; }

/* --- 新增：热门城市版块样式 --- */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 20px; }
.city-item { background: #f8f9fb; border: 1px solid #f0f0f0; padding: 8px 5px; text-align: center; border-radius: 6px; font-size: 13px; color: #666; transition: 0.3s; }
.city-item:hover { border-color: #ff464e; color: #ff464e; background: #fffcfc; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(255,70,78,0.05); }

.sticky-side { position: sticky; top: 120px; }
.footer { background: #1a1a1a; color: #777; padding: 50px 15px;}
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(1, 1fr); gap: 30px; }
@media screen and (min-width: 1200px) { .footer-inner { grid-template-columns: repeat(4, 1fr); } }
.f-col h4 { color: #fff; margin-bottom: 15px; font-size: 16px; }
.f-col p { font-size: 13px; margin-bottom: 10px; line-height: 1.8; }
.f-col a { color: #777; font-size: 13px; margin-bottom: 8px; }
.copyright p { text-align: center; font-size: 12px; line-height:30px;}

/* --- 底部 WAP 动作条 (保持不变) --- */
.wap-action { position: fixed; bottom: 0; width: 100%; background: #fff; height: 70px; padding: 10px 15px; display: flex; gap: 10px; border-top: 1px solid #eee; z-index: 1000; box-shadow: 0 -5px 15px rgba(0,0,0,0.05); }
@media screen and (min-width: 1200px) { .wap-action { display: none; } }
.wap-btn-wx { flex: 1; background: #07c160; color: #fff; text-align: center; line-height: 50px; border-radius: 6px; font-weight: bold; font-size: 15px; }
.wap-btn-tel { flex: 1; background: #ff464e; color: #fff; text-align: center; line-height: 50px; border-radius: 6px; font-weight: bold; font-size: 15px; }