/* 人才招聘页面基础颜色和桌面设计画布。 */
:root { --primary: #165c91; --text: #333333; --muted: #999999; --line: #dddddd; }
* { box-sizing: border-box; }
html { overflow-x: hidden; background: #ffffff; }
body { margin: 0; color: var(--text); background: #ffffff; font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* 桌面端保留 Figma 1920px 宽度，页面高度跟随人才内容自然撑开。 */
.page-stage { width: 100%; height: auto; overflow: visible; }
.page-canvas { position: relative; width: 1920px; height: auto; zoom: calc(100vw / 1920px); }

/* 头部尺寸与 contact-information.html 保持一致。 */
.site-header { position: relative; z-index: 20; display: grid; width: 1920px; height: 120px; padding: 0 60px; grid-template-columns: minmax(0, 1fr) auto; column-gap: 150px; align-items: center; background: #fff; }
.brand { display: flex; width: 804px; align-items: center; }
.brand-school { width: 222px; height: 60px; object-fit: contain; }
.brand-divider { flex: 0 0 1px; width: 1px; height: 60px; margin: 0 29px; background: #d6d6d6; }
.brand-department { width: 522px; height: 60px; object-fit: contain; }
.main-nav { display: flex; flex: 0 0 auto; height: 100%; align-items: center; gap: 40px; font-size: 18px; }
.nav-item { position: relative; display: grid; height: 100%; align-items: center; }
.nav-link { position: relative; z-index: 0; display: grid; height: 100%; align-items: center; white-space: nowrap; }
.nav-link::before, .nav-link::after { position: absolute; left: 50%; z-index: -1; background-position: center; background-repeat: no-repeat; background-size: contain; content: ""; opacity: 0; pointer-events: none; transform: translateX(-50%); transition: opacity .18s ease; }
.nav-link::before { top: 0; width: 126px; height: 42px; background-image: url("../img/figma/nav-decoration-top.png"); }
.nav-link::after { bottom: 0; width: 80px; height: 42px; background-image: url("../img/figma/nav-decoration.png"); }
.nav-item:hover .nav-link::before, .nav-item:hover .nav-link::after, .nav-item:focus-within .nav-link::before, .nav-item:focus-within .nav-link::after, .nav-item.is-current .nav-link::before, .nav-item.is-current .nav-link::after { opacity: 1; }
.sub-nav { position: absolute; z-index: 2; top: 100%; left: 50%; visibility: hidden; min-width: 170px; padding: 8px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 8px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); opacity: 0; transform: translate(-50%, -8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; backdrop-filter: blur(16px); }
.sub-nav a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 16px; line-height: 24px; text-align: center; white-space: nowrap; }
.sub-nav a:hover, .sub-nav a:focus-visible { color: var(--primary); background: #f1f6fa; }
.nav-item:hover .sub-nav, .nav-item:focus-within .sub-nav { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.mobile-navigation { display: none; }

/* 顶部横幅、栏目标题和人才招聘二级导航。 */
.talent-hero { position: relative; width: 1920px; height: 420px; }
.talent-banner { width: 1920px; height: 420px; object-fit: cover; }
.talent-shell { position: absolute; top: 0; left: 50%; width: 1680px; height: 420px; transform: translateX(-50%); pointer-events: none; }
.talent-title { position: absolute; top: 250px; left: 0; z-index: 2; width: 280px; height: 380px; color: #fff; text-align: center; pointer-events: auto; }
.talent-title-panel { position: absolute; inset: 0; width: 280px; height: 380px; }
.talent-title-icon { position: relative; width: 48px; height: 46px; margin: 93px auto 0; object-fit: contain; }
.talent-title h1 { position: relative; margin: 12px 0 0; font-size: 24px; font-weight: 400; line-height: 34px; }
.sub-navigation { position: absolute; top: 340px; left: 0; z-index: 3; display: grid; width: 1680px; height: 100px; padding-left: 280px; grid-template-columns: repeat(3, 1fr); align-items: center; pointer-events: auto; }
.sub-navigation-bg { position: absolute; inset: 0; z-index: -2; width: 1680px; height: 100px; }
.sub-navigation-mask { position: absolute; bottom: 0; left: 0; z-index: -1; width: 280px; height: 100px; object-fit: cover; }
.sub-navigation a { position: relative; display: grid; width: 466.6667px; height: 100px; place-items: center; font-size: 18px; white-space: nowrap; }
.sub-navigation a + a::before { position: absolute; top: 40px; left: 0; width: 1px; height: 20px; background: var(--line); content: ""; }
.sub-navigation a.is-active, .sub-navigation a:hover, .sub-navigation a:focus-visible { color: var(--primary); }
.sub-navigation a.is-active::after, .sub-navigation a:hover::after, .sub-navigation a:focus-visible::after { position: absolute; bottom: 20px; left: 50%; width: 100px; height: 4px; background: var(--primary); content: ""; transform: translateX(-50%); }

/* 桌面端正文距横幅底部 100px，保证首个模块从 Figma 的 640px 位置开始。 */
.talent-page-content { width: 1680px; margin: 60px auto 0; }
.breadcrumb { position: relative; height: 78px; }
/* 下划线层级高于右侧水印图片，避免线条被图片遮挡。 */
.breadcrumb::after { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; height: 2px; background: var(--primary); content: ""; }
.breadcrumb p { position: absolute; bottom: 18px; left: 0; margin: 0; color: #333; font-size: 14px; line-height: 20px; white-space: nowrap; }
.breadcrumb p span { color: var(--muted); }
.breadcrumb img { position: absolute; right: 10px; bottom: 0; z-index: 1; width: 210px; height: 78px; object-fit: contain; }
.intro-section { display: flex; width: 1680px; height: 322px; margin-top: 0; }
.intro-image { width: 790px; height: 322px; object-fit: cover; }
.intro-copy { width: 830px; margin-left: 60px; }
.intro-copy h2 { margin: 42px 0 40px; font-size: 24px; font-weight: 400; line-height: 34px; }
.intro-copy p { margin: 0; font-size: 16px; line-height: 30px; }

/* 新版学科特色模块按 Figma 的 1680×780 画布定位标题、说明和横线。 */
.discipline-section { position: relative; width: 1680px; height: 780px; margin-top: 100px; overflow: hidden; }
.discipline-bg { position: absolute; inset: 0; width: 1680px; height: 780px; object-fit: cover; }
.discipline-section h2 { position: absolute; top: 60px; left: 60px; margin: 0; color: #333333; font-size: 24px; font-weight: 400; line-height: 34px; }
.discipline-section > p { position: absolute; top: 114px; left: 60px; width: 512px; margin: 0; color: #333333; font-size: 16px; line-height: 22px; white-space: nowrap; }
.discipline-rule { position: absolute; top: 166px; left: 60px; width: 500px; height: 4px; background: #015d94; }

/* 优势卡片的轮廓直接复用 Figma SVG，文字保持可编辑。 */
.feature-cards { display: grid; width: 1680px; height: 540px; margin-top: 100px; grid-template-columns: repeat(4, 380px); gap: 53px; }
.feature-card { position: relative; width: 380px; height: 540px; }
.feature-card > img { position: absolute; inset: 0; width: 380px; height: 540px; }
.feature-card > span { position: absolute; top: 114px; left: 0; width: 240px; height: 4px; background: var(--primary); }
.feature-card h2 { position: absolute; top: 56px; left: 40px; margin: 0; font-size: 24px; font-weight: 400; line-height: 34px; }
.feature-card p { position: absolute; top: 158px; left: 46px; width: 300px; margin: 0; font-size: 16px; line-height: 30px; }

/* 四张卡片的照片按 Figma 原图叠放，文字继续保留为可替换内容。 */
.feature-card > img { z-index: 0; }
.feature-card::before { position: absolute; inset: 0; z-index: 1; background: center / cover no-repeat; content: ""; pointer-events: none; }
.feature-card:nth-child(1)::before { background-image: url("../img/figma/talent-recruit-card-talent.png"); }
.feature-card:nth-child(2)::before { background-image: url("../img/figma/talent-recruit-card-platform.png"); }
.feature-card:nth-child(3)::before { background-image: url("../img/figma/talent-recruit-card-research.png"); }
.feature-card:nth-child(4)::before { background-image: url("../img/figma/talent-recruit-card-affiliates.png"); }
.feature-card > span, .feature-card h2, .feature-card p { z-index: 2; }

/* 长沙区域横跨完整视口，内容仍锁定在 Figma 的 x=930 坐标。 */
.changsha-section { position: relative; width: 1920px; height: 630px; margin-top: 100px; margin-left: -120px; }
.changsha-bg { position: absolute; inset: 0; width: 1920px; height: 630px; object-fit: cover; }
.changsha-points span { position: absolute; left: 790px; width: 80px; height: 80px; }
.changsha-points span:nth-child(1) { top: 130px; }.changsha-points span:nth-child(2) { top: 250px; }.changsha-points span:nth-child(3) { top: 370px; }.changsha-points span:nth-child(4) { top: 490px; }
.changsha-points .changsha-point-bg { position: absolute; inset: 0; width: 80px; height: 80px; }
.changsha-points .changsha-icon { position: absolute; top: 26px; left: 26px; width: 28px; height: 28px; }
.changsha-copy { position: absolute; top: 60px; left: 930px; width: 990px; }
.changsha-copy h2 { margin: 0 0 46px; font-size: 24px; font-weight: 400; line-height: 34px; }
.changsha-copy article { height: 120px; font-size: 16px; line-height: 30px; }
.changsha-copy article b { display: block; font-weight: 400; }
.changsha-copy article p { margin: 0; }

/* 联系区使用独立底板和校区图，位置与 Figma 的 1580×680 模块一致。 */
.campus-section { position: relative; width: 1580px; height: 680px; margin-left: 220px; }
.campus-bg { position: absolute; inset: 0; width: 1580px; height: 680px; }
/* 只显示当前激活校区的图片，六张图片共用同一设计位置。 */
.campus-photo { position: absolute; top: 120px; left: 740px; display: none; width: 720px; height: 440px; object-fit: cover; }
.campus-photo.is-active { display: block; }
/* 两条竖线分别连接首尾校区节点，位置和长度与 Figma 设计一致。 */
.campus-line { position: absolute; width: 1px; background: var(--primary); }
.campus-line-top { top: 0; left: 342px; height: 132px; }.campus-line-bottom { top: 525px; left: 663px; height: 155px; }
.campus-list article { position: absolute; width: 241px; height: 86px; color: var(--text); cursor: pointer; }
.campus-list article h3 { margin: 0 0 10px 118px; font-size: 18px; font-weight: 400; line-height: 25px; white-space: nowrap; }
.campus-list article p { width: 190px; margin: 0; color: var(--muted); font-size: 12px; line-height: 17px; text-align: right; }
.campus-list article h3::after { position: absolute; top: 2px; left: 220px; width: 21px; height: 21px; border-radius: 50%; background: rgba(22,92,145,.2); content: ""; }
.campus-list article::after { position: absolute; top: 10px; left: 228px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); content: ""; }
/* 激活校区沿用 Figma 中杏林校区的蓝色文字状态。 */
.campus-list article.is-active h3, .campus-list article.is-active p { color: var(--primary); }
.campus-list article:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.campus-list article:nth-child(1) { top: 130px; left: 111px; }.campus-list article:nth-child(2) { top: 210px; left: 432px; }.campus-list article:nth-child(3) { top: 276px; left: 111px; }.campus-list article:nth-child(4) { top: 356px; left: 432px; }.campus-list article:nth-child(5) { top: 422px; left: 111px; }.campus-list article:nth-child(6) { top: 502px; left: 432px; }

/* 手机端将设计区块还原为单列内容，避免固定坐标产生横向溢出。 */
.is-mobile .page-stage { min-height: 0; height: auto; }
.is-mobile .page-canvas { width: 100%; height: auto; zoom: 1; }
.is-mobile .site-header { width: 100%; height: 72px; padding: 0 16px; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 10px; }
.is-mobile .brand { width: 100%; min-width: 0; }.is-mobile .brand-school { width: 96px; height: 36px; }.is-mobile .brand-divider { height: 34px; margin: 0 10px; }.is-mobile .brand-department { width: min(190px, calc(100% - 117px)); height: 36px; }
.is-mobile .main-nav { display: none; }.is-mobile .mobile-navigation { position: absolute; top: 14px; right: 16px; display: block; width: 44px; height: 44px; }
.is-mobile .mobile-navigation summary { display: block; width: 44px; height: 44px; padding: 10px; list-style: none; cursor: pointer; }.is-mobile .mobile-navigation summary::-webkit-details-marker { display: none; }.is-mobile .mobile-navigation summary span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--primary); transition: transform .2s ease, opacity .2s ease; }.is-mobile .mobile-navigation[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }.is-mobile .mobile-navigation[open] summary span:nth-child(2) { opacity: 0; }.is-mobile .mobile-navigation[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.is-mobile .mobile-navigation nav { position: absolute; top: 52px; right: 0; z-index: 30; display: grid; width: calc(100vw - 24px); max-height: calc(100vh - 88px); padding: 8px; overflow-y: auto; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; background: rgba(255,255,255,.97); box-shadow: 0 12px 32px rgba(0,0,0,.14); backdrop-filter: blur(16px); }.is-mobile .mobile-navigation nav a { display: flex; min-height: 48px; padding: 0 14px; align-items: center; border-radius: 6px; font-size: 16px; }
.is-mobile .talent-hero { width: 100%; height: 60px; background: #fff; }.is-mobile .talent-banner, .is-mobile .talent-title { display: none; }.is-mobile .talent-shell { position: static; width: 100%; height: 60px; transform: none; pointer-events: auto; }
.is-mobile .talent-shell .sub-navigation { position: static; display: flex; width: 100%; height: 60px; padding: 0 16px; overflow-x: auto; overflow-y: hidden; background: rgba(255,255,255,.96); box-shadow: 0 4px 12px rgba(0,0,0,.06); scrollbar-width: none; -webkit-overflow-scrolling: touch; }.is-mobile .talent-shell .sub-navigation::-webkit-scrollbar { display: none; }.is-mobile .sub-navigation-bg, .is-mobile .sub-navigation-mask { display: none; }.is-mobile .sub-navigation a { flex: 0 0 auto; width: auto; height: 60px; padding: 0 18px; font-size: 16px; }.is-mobile .sub-navigation a + a::before { top: 20px; }.is-mobile .sub-navigation a.is-active::after, .is-mobile .sub-navigation a:hover::after, .is-mobile .sub-navigation a:focus-visible::after { bottom: 0; width: 40px; height: 3px; }
.is-mobile .talent-page-content { width: calc(100% - 32px); margin: 24px auto 0; }.is-mobile .breadcrumb { display: flex; min-height: 58px; height: auto; align-items: center; }.is-mobile .breadcrumb p { position: static; margin: 0; font-size: 13px; line-height: 20px; white-space: normal; }.is-mobile .breadcrumb img { display: none; }
.is-mobile .intro-section { display: block; width: 100%; height: auto; margin-top: 0; }.is-mobile .intro-image { width: 100%; height: auto; }.is-mobile .intro-copy { width: 100%; margin: 22px 0 0; }.is-mobile .intro-copy h2 { margin: 0 0 14px; font-size: 20px; line-height: 28px; }.is-mobile .intro-copy p { font-size: 14px; line-height: 1.9; }
/* 手机端按纵向顺序展示标题和数据图，避免设计坐标缩小后文字互相遮挡。 */
.is-mobile .discipline-section { display: flex; width: 100%; height: auto; margin-top: 36px; padding-top: 24px; flex-direction: column; overflow: hidden; background: #eaf8ff; }
.is-mobile .discipline-bg { position: static; order: 4; width: 100%; height: auto; margin-top: 18px; aspect-ratio: 1680 / 600; object-fit: cover; object-position: bottom; }
.is-mobile .discipline-section h2 { position: static; margin: 0 16px; font-size: 20px; line-height: 28px; }
.is-mobile .discipline-section > p { position: static; width: auto; margin: 10px 16px 0; font-size: 14px; line-height: 24px; white-space: normal; }
.is-mobile .discipline-rule { position: static; width: 120px; height: 3px; margin: 14px 16px 0; }
.is-mobile .feature-cards { display: grid; width: 100%; height: auto; margin-top: 36px; grid-template-columns: 1fr; gap: 16px; }.is-mobile .feature-card { width: 100%; height: auto; min-height: 320px; padding: 24px 20px; border: 1px solid #e8eef3; border-radius: 8px; background: #fff; }.is-mobile .feature-card > img, .is-mobile .feature-card::before { display: none; }.is-mobile .feature-card > span { position: static; display: block; width: 120px; height: 3px; }.is-mobile .feature-card h2 { position: static; margin: 14px 0 16px; font-size: 20px; line-height: 28px; }.is-mobile .feature-card p { position: static; width: auto; font-size: 14px; line-height: 1.9; }
.is-mobile .changsha-section { width: 100%; height: auto; margin: 36px 0 0; }.is-mobile .changsha-bg { position: static; width: 100%; height: auto; }.is-mobile .changsha-points { display: none; }.is-mobile .changsha-copy { position: static; width: 100%; padding: 24px 0 0; }.is-mobile .changsha-copy h2 { margin: 0 0 20px; font-size: 20px; line-height: 28px; }.is-mobile .changsha-copy article { height: auto; margin-bottom: 18px; font-size: 14px; line-height: 1.9; }.is-mobile .changsha-copy article b { color: var(--primary); }
.is-mobile .campus-section { width: 100%; height: auto; margin: 36px 0 0; }.is-mobile .campus-bg { display: none; }.is-mobile .campus-photo { position: static; width: 100%; height: auto; }.is-mobile .campus-line { display: none; }.is-mobile .campus-list { display: grid; gap: 12px; margin-top: 20px; }.is-mobile .campus-list article, .is-mobile .campus-list article:nth-child(n) { position: static; width: 100%; height: auto; padding: 16px; border: 1px solid #e6edf2; border-radius: 8px; background: #fff; }.is-mobile .campus-list article h3 { margin: 0 0 8px; font-size: 16px; line-height: 24px; }.is-mobile .campus-list article h3::after, .is-mobile .campus-list article::after { display: none; }.is-mobile .campus-list article p { width: auto; text-align: left; font-size: 13px; line-height: 1.7; }
