/* ============ 正雄校招站样式 ============ */
:root {
  --blue: #2b50d9;
  --blue-dark: #1d3aa8;
  --orange: #f60;
  --red: #c41230;
  --ink: #222;
  --gray: #777;
  --bg: #f6f7fb;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.navbar { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.navbar .inner { display: flex; align-items: center; height: 64px; }
.brand { font-size: 20px; font-weight: 700; color: var(--blue); letter-spacing: 1px; }
.brand small { font-size: 12px; color: var(--gray); font-weight: 400; margin-left: 6px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 6px; font-size: 15px; color: #333; }
.nav-links a:hover, .nav-links a.on { color: var(--blue); background: #eef2ff; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--blue); padding: 8px; }

/* ---------- Banner ---------- */
.banner { height: 560px; overflow: hidden; background: #0d1f6b; }
.banner img, .banner video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 通用 Section ---------- */
section { padding: 72px 0; }
.sec-title { text-align: center; font-size: 32px; font-weight: 600; margin-bottom: 48px; }
.sec-title::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--orange); margin: 14px auto 0; }

/* ---------- 热招职位分类卡 ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.cat-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 28px 32px; box-shadow: 0 4px 16px rgba(0,0,0,.05); transition: .2s; cursor: pointer; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(43,80,217,.14); border-color: #d9e0ff; }
.cat-card h3 { font-size: 20px; font-weight: 600; }
.cat-card p { color: var(--gray); font-size: 14px; margin-top: 10px; }
.cat-card p b { color: var(--blue); }

/* ---------- 应聘流程 ---------- */
.process-img { max-width: 1080px; margin: 0 auto; }

/* ---------- 公司概况轮播 ---------- */
.carousel { position: relative; max-width: 1080px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.slides { display: flex; transition: transform .5s ease; }
.slides img { width: 100%; flex-shrink: 0; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(0,0,0,.35); color: #fff; font-size: 20px; cursor: pointer; }
.car-btn:hover { background: rgba(0,0,0,.55); }
.car-btn.prev { left: 14px; } .car-btn.next { right: 14px; }
.car-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.car-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.car-dots span.on { background: #fff; }

/* ---------- 横幅（学长学姐分享 / 正雄故事） ---------- */
.promo { position: relative; max-width: 1080px; margin: 0 auto; border-radius: 12px; overflow: hidden; }
.promo img { width: 100%; }
.promo .cover-link { position: absolute; inset: 0; }

/* ---------- 页脚 ---------- */
footer { background: var(--red); color: #fff; padding: 64px 0 40px; }
.foot-grid { display: flex; align-items: center; gap: 48px; }
.foot-info { flex: 1; }
.foot-info h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.foot-info h3::after { content: ""; display: block; width: 42px; height: 3px; background: #fff; margin-top: 10px; }
.foot-info ul { list-style: none; margin-top: 28px; }
.foot-info li { font-size: 15px; line-height: 2.2; letter-spacing: .5px; }
.foot-info li b { font-weight: 600; margin-right: 14px; }
/* 地址项：多条地址换行后统一与第一行文字左对齐（悬挂缩进）
   缩进量随字号走：3em = 「地址：」三个字宽，0.93em = b 的 margin-right 14px（14/15px）*/
.foot-info li.addr { padding-left: 3.93em; text-indent: -3.93em; }
/* 让标签右侧的内容右移，与上行地址文字对齐（标签仍留在最左） */
.foot-info li .ind { display: inline-block; padding-left: 3.93em; text-indent: -3.93em; }
.foot-illus { width: 320px; border-radius: 8px; }
.copyright { text-align: center; margin-top: 44px; font-size: 12.5px; opacity: .8; }
.copyright a { color: #fff; }

/* ---------- 职位列表页 ---------- */
.jobs-hero { background: #fff; padding: 56px 0; color: var(--ink); border-bottom: 1px solid #eee; }
.jobs-hero h1 { font-size: 34px; font-weight: 600; color: #000; }
.jobs-hero p { margin-top: 10px; color: #666; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 22px 0; }
.chip { padding: 7px 18px; border-radius: 999px; border: 1px solid #ddd; background: #fff; font-size: 14px; cursor: pointer; }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.search-box { margin-left: auto; }
.search-box input { padding: 8px 16px; border: 1px solid #ddd; border-radius: 999px; font-size: 14px; width: 220px; outline: none; }
.search-box input:focus { border-color: var(--blue); }
.job-count { color: var(--gray); font-size: 14px; padding-bottom: 12px; }
.job-list { display: flex; flex-direction: column; gap: 18px; padding-bottom: 80px; }
.job-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 24px 28px; transition: .2s; cursor: pointer; }
.job-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: #d9e0ff; }
.job-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.job-top h3 { font-size: 19px; font-weight: 600; color: var(--blue); }
.job-tags { margin: 10px 0; font-size: 13px; color: var(--gray); }
.job-tags span { background: #f1f3fa; border-radius: 4px; padding: 3px 10px; margin-right: 8px; }
.job-summ { color: #555; font-size: 14px; line-height: 1.85; }
.job-summ ul.req-list { margin: 4px 0 0; padding-left: 20px; }
.job-summ ul.req-list li { margin: 3px 0; }
.job-card .btn-apply-sm { margin-top: 14px; }
.empty-tip { text-align: center; color: var(--gray); padding: 60px 0; }

/* ---------- 按钮 ---------- */
.btn { display: inline-block; border: none; cursor: pointer; border-radius: 8px; font-size: 15px; padding: 10px 26px; transition: .2s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { filter: brightness(1.08); }
.btn-ghost { background: #fff; border: 1px solid var(--blue); color: var(--blue); }
.btn-sm { padding: 7px 18px; font-size: 14px; }

/* ---------- 弹窗 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 14px; max-width: 720px; width: 100%; padding: 32px 36px; position: relative; }
.modal .close { position: absolute; top: 14px; right: 18px; border: none; background: none; font-size: 26px; color: #999; cursor: pointer; }
.modal h2 { color: var(--blue); font-size: 24px; margin-bottom: 4px; }
.modal .meta { color: var(--gray); font-size: 13px; margin-bottom: 20px; }
.modal .meta span { margin-right: 16px; }
.modal h4 { font-size: 16px; margin: 18px 0 10px; color: #333; }
.modal h4::before { content: ""; display: inline-block; width: 4px; height: 14px; background: var(--orange); margin-right: 8px; border-radius: 2px; }
.modal ul { padding-left: 20px; }
.modal li { font-size: 14.5px; line-height: 2; color: #444; }
.apply-box { margin-top: 22px; background: #f6f8ff; border: 1px solid #e3e9ff; border-radius: 10px; padding: 20px 22px; }
.apply-box .row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.apply-box .email { font-size: 17px; font-weight: 600; color: var(--blue); letter-spacing: .5px; }
.apply-box .note { font-size: 13px; color: var(--gray); margin-top: 12px; }
.apply-box img.qr { width: 130px; margin-top: 12px; border-radius: 6px; }

/* ---------- 回到顶部 ---------- */
#backTop { position: fixed; right: 26px; bottom: 34px; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--blue); color: #fff; font-size: 18px; cursor: pointer; box-shadow: 0 6px 16px rgba(43,80,217,.35); display: none; z-index: 90; }

/* ---------- 子页（学长学姐分享 / 正雄故事） ---------- */
.sub-hero { height: 480px; overflow: hidden; }
.sub-hero img { width: 100%; height: 100%; object-fit: cover; }
.sub-content { max-width: 1080px; margin: 0 auto; }
.sub-content img { width: 100%; border-radius: 12px; }
.story-list { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.story-card { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.story-card img, .story-card video { width: 100%; display: block; }
.bili-player { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #000; }
.story-body { padding: 22px 28px; }
.story-head { font-size: 18px; font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.story-body p { font-size: 15px; line-height: 2; color: #444; }

/* ---------- 大屏 2560×1440 / 2K ---------- */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
  .banner { height: 720px; }
  .sub-hero { height: 600px; }
  section { padding: 96px 0; }
  .sec-title { font-size: 38px; }
  .cats { max-width: 1200px; gap: 30px; }
  .cat-card { padding: 36px 44px; }
  .cat-card h3 { font-size: 24px; }
  .cat-card p { font-size: 16px; }
  .carousel, .process-img, .sub-content, .story-list { max-width: 1400px; }
  .promo { max-width: 1400px; }
  .foot-illus { width: 420px; }
  .job-card { padding: 30px 36px; }
}

/* ---------- 手机竖屏（含 21:9 等超长屏） ---------- */
@media (max-width: 480px) {
  .banner { height: min(360px, 42vh); }
  .sub-hero { height: min(300px, 38vh); }
  section { padding: 44px 0; }
  .sec-title { font-size: 22px; margin-bottom: 28px; }
  .story-list { gap: 18px; }
  .story-body { padding: 16px 18px; }
  .story-body p { font-size: 14.5px; line-height: 1.85; }
  .sub-content img { border-radius: 8px; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 18px 16px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .banner { height: 320px; }
  .sub-hero { height: 260px; }
  section { padding: 48px 0; }
  .sec-title { font-size: 24px; margin-bottom: 30px; }
  .cats { grid-template-columns: 1fr; }
  .foot-grid { flex-direction: column-reverse; }
  .foot-illus { width: 100%; max-width: 360px; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .modal { padding: 26px 20px; }
}
