/* 领航人才网 全站样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #333; background: #f5f7fa; font-size: 14px; line-height: 1.6; }
a { color: #1a66c8; text-decoration: none; }
a:hover { color: #0d4fa5; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.meta { color: #999; font-size: 13px; }

/* 顶部 */
.site-header { background: #fff; border-bottom: 3px solid #1a66c8; }
.header-inner { display: flex; align-items: center; height: 70px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; background: #1a66c8; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; }
.logo-text { font-size: 22px; font-weight: bold; color: #1a66c8; display: flex; flex-direction: column; line-height: 1.2; }
.logo-text small { font-size: 11px; color: #999; font-weight: normal; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a { padding: 8px 16px; border-radius: 4px; color: #444; font-size: 15px; }
.main-nav a:hover, .main-nav a.active { background: #eaf2fd; color: #1a66c8; font-weight: bold; }
.header-tel { text-align: right; }
.tel-label { display: block; font-size: 12px; color: #999; }
.tel-num { color: #e64c3c; font-size: 18px; font-weight: bold; }

/* 首页横幅 */
.hero { background: linear-gradient(135deg, #1a66c8, #3a8fe0); color: #fff; padding: 56px 0; text-align: center; }
.hero h1 { font-size: 36px; margin-bottom: 8px; letter-spacing: 2px; }
.hero p { opacity: .9; margin-bottom: 24px; }
.hero-search { display: flex; max-width: 620px; margin: 0 auto 28px; }
.hero-search input { flex: 1; border: none; padding: 14px 18px; border-radius: 6px 0 0 6px; font-size: 15px; outline: none; }
.hero-search button { border: none; background: #e64c3c; color: #fff; padding: 0 34px; font-size: 16px; border-radius: 0 6px 6px 0; cursor: pointer; }
.hero-stats { display: flex; justify-content: center; gap: 64px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; }
.hero-stats span { font-size: 13px; opacity: .85; }

/* 布局 */
.page-body { display: flex; gap: 24px; padding: 24px 16px; min-height: 480px; }
.page-body.narrow { max-width: 800px; display: block; }
.side-cats { width: 220px; flex-shrink: 0; background: #fff; border-radius: 8px; padding: 16px; align-self: flex-start; }
.side-cats h3 { font-size: 16px; border-left: 4px solid #1a66c8; padding-left: 10px; margin-bottom: 12px; }
.side-cats ul { list-style: none; }
.side-cats a { display: block; padding: 8px 10px; border-radius: 4px; color: #555; }
.side-cats a:hover { background: #eaf2fd; color: #1a66c8; }
.main-col { flex: 1; min-width: 0; }

/* 区块标题 */
.sec-head { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 12px; }
.sec-head h2 { font-size: 18px; border-left: 4px solid #1a66c8; padding-left: 10px; }
.sec-head .more { font-size: 13px; color: #999; }

/* 职位列表 */
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-item { display: block; background: #fff; border-radius: 8px; padding: 16px 20px; color: #333; transition: box-shadow .2s; }
.job-item:hover { box-shadow: 0 4px 16px rgba(26,102,200,.12); color: #333; }
.job-line1 { display: flex; justify-content: space-between; margin-bottom: 6px; }
.job-title { font-size: 16px; font-weight: bold; color: #222; }
.job-salary { color: #e64c3c; font-weight: bold; }
.job-line2 { display: flex; justify-content: space-between; color: #666; margin-bottom: 8px; }
.job-tags em { display: inline-block; font-style: normal; background: #f0f5fc; color: #1a66c8; font-size: 12px; padding: 2px 10px; border-radius: 3px; margin-right: 8px; }
.job-date { float: right; color: #bbb; font-size: 12px; }
.empty { text-align: center; color: #999; padding: 40px 0; background: #fff; border-radius: 8px; }

/* 筛选条 */
.filter-bar { background: #fff; border-radius: 8px; padding: 16px 20px; }
.filter-search { display: flex; gap: 0; margin-bottom: 12px; }
.filter-search input { flex: 1; border: 1px solid #ddd; border-right: none; border-radius: 4px 0 0 4px; padding: 9px 14px; outline: none; }
.filter-search button { border: none; background: #1a66c8; color: #fff; padding: 0 26px; border-radius: 0 4px 4px 0; cursor: pointer; }
.filter-cats a { display: inline-block; padding: 4px 14px; margin: 0 8px 8px 0; border-radius: 14px; color: #555; background: #f5f7fa; font-size: 13px; }
.filter-cats a.on { background: #1a66c8; color: #fff; }
.result-tip { margin: 14px 2px; color: #666; }

/* 资讯列表 */
.news-list { list-style: none; background: #fff; border-radius: 8px; padding: 6px 20px; }
.news-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #eee; }
.news-list li:last-child { border-bottom: none; }
.news-list a { color: #444; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover { color: #1a66c8; }
.news-date { color: #aaa; font-size: 12px; white-space: nowrap; }

/* 企业卡片 */
.co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.co-card { background: #fff; border-radius: 8px; padding: 20px; }
.co-card h3 { font-size: 16px; margin-bottom: 6px; }
.co-jobs { margin: 8px 0; color: #1a66c8; }
.co-jobs strong { color: #e64c3c; }
.btn-link { display: inline-block; margin-top: 4px; font-size: 13px; }

/* 详情页 */
.detail-card { background: #fff; border-radius: 8px; padding: 24px 28px; margin-bottom: 16px; }
.detail-card h3 { font-size: 17px; margin-bottom: 14px; border-left: 4px solid #1a66c8; padding-left: 10px; }
.detail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.detail-head h1 { font-size: 24px; color: #222; }
.detail-meta { color: #888; margin: 10px 0; }
.detail-desc { font-family: inherit; white-space: pre-wrap; color: #444; }
.co-name { font-size: 16px; font-weight: bold; margin-bottom: 6px; }
.news-title { font-size: 20px; margin-bottom: 10px; }
.news-body p { margin-bottom: 12px; color: #444; }
hr { border: none; border-top: 1px solid #eee; margin: 14px 0; }
.btn-primary { display: inline-block; background: #e64c3c; color: #fff; border: none; padding: 10px 36px; border-radius: 6px; font-size: 15px; cursor: pointer; margin-top: 12px; }
.btn-primary:hover { background: #d43a2a; color: #fff; }

/* 求职登记表单 */
.reg-form label { display: block; margin-bottom: 14px; font-weight: bold; }
.reg-form input, .reg-form textarea { width: 100%; margin-top: 6px; border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; font-size: 14px; font-family: inherit; outline: none; }
.reg-form input:focus, .reg-form textarea:focus { border-color: #1a66c8; }
.ok-box { background: #e8f7ee; border: 1px solid #b7e4c7; color: #1d7a46; border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; }

/* 页脚 */
.site-footer { background: #263445; color: #aeb9c7; margin-top: 40px; }
.footer-main { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 32px 16px 20px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.footer-col a { display: block; color: #aeb9c7; padding: 3px 0; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 13px; }
.footer-bottom { border-top: 1px solid #3a4a5e; text-align: center; padding: 16px; font-size: 13px; }
.footer-bottom a { color: #aeb9c7; }
.footer-bottom a:hover { color: #fff; }

/* 移动端适配 */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
    .main-nav { order: 3; width: 100%; overflow-x: auto; }
    .header-tel { display: none; }
    .page-body { flex-direction: column; }
    .side-cats { width: 100%; }
    .hero h1 { font-size: 26px; }
    .hero-stats { gap: 32px; }
    .footer-main { grid-template-columns: repeat(2, 1fr); }
    .job-line1, .job-line2 { flex-direction: column; gap: 2px; }
    .news-list li { flex-direction: column; gap: 4px; }
}
