/* ============================================================
   content-careers.css — Careers 系列专用
   （由 T1 拆分：原 content-page.css 的 19–21 组）
   适用页面：careers/ 、careers/internships/ 、careers/early-career/ 、
             careers/talent-development/
   ============================================================ */

/* ============================================================
   19. Careers 页专用
   ============================================================ */
.careers-hero {
  /* 原站 840 = 内容 712(含 CTA) + pb 128；加 CTA 后 padding 需从 428 减到 304 */
  padding: 80px 0 304px;
}

.career-intro {
  background: #fff;
  /* 原站 section h=809：padding 80/80 + h2(96) + 间距 40 + 网格(497) */
  padding: 80px 0;
}

.career-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: start;
}

.career-intro__lead {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 600;
  line-height: 54px;
  color: var(--ink);
}

/* 职业路径列表 */
.career-paths {
  background: var(--blue-900);
  color: #fff;
  /* 原站 section 无 padding，标题自带 80px 上下（py-20） */
  padding: 0;
}

.career-paths__title {
  margin: 0 0 48px;
  max-width: 900px;
  font-size: 64px;
  font-weight: 600;
  line-height: 96px;
  color: #fff;
}

.career-paths__list {
  display: flex;
  flex-direction: column;
}

.career-path {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 56px;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  color: #fff;
}

.career-path:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.career-path__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--blue-400);
  text-transform: uppercase;
}

.career-path__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 46px;
  color: #fff;
}

.career-path__arrow {
  width: 56px;
  height: 56px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.career-path:hover .career-path__arrow {
  background: #fff;
  color: var(--blue-900);
}

@media (max-width: 1023px) {
  .careers-hero { padding-block: 56px; }
  .career-intro, .career-paths { padding-block: 56px; }
  .career-intro__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .career-intro__lead { font-size: 28px; line-height: 46px; }
  .career-paths__title { font-size: 44px; line-height: 66px; margin-bottom: 32px; }
  .career-path { grid-template-columns: minmax(0, 1fr) 44px; gap: 16px; padding: 28px 0; }
  .career-path__label { grid-column: 1 / -1; }
  .career-path__title { font-size: 24px; line-height: 36px; }
  .career-path__arrow { width: 44px; height: 44px; }
}

/* careers：Tab 区高度对齐原站 901px */
.careers-tabs .dark-tabs__panel {
  /* 原站 panel h=692 = padding-top 88 + 内容 604 */
  min-height: 0;
  padding-top: 88px;
  align-items: start;
}

.careers-tabs .dark-tabs__copy {
  height: 604px;
  padding-top: 0;
}

.careers-tabs .dark-tabs__chart {
  height: 604px;
}




/* ============================================================
   20. 项目区块（program-block）与 FAQ
   ============================================================ */
.program-block {
  background: #fff;
  padding: 96px 0;
}

.program-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 633px;
  gap: 64px;
  align-items: center;
}

.program-block__title {
  margin: 0 0 20px;
  font-size: 48px;
  font-weight: 600;
  line-height: 66px;
  color: var(--ink);
}

.program-block__media {
  aspect-ratio: 633 / 422;
  background: #f2f2f2;
}

.faq {
  background: var(--blue-100);
  padding: 96px 0;
}

.faq__title {
  margin: 0 0 40px;
  font-size: 64px;
  font-weight: 600;
  line-height: 96px;
  color: var(--blue-900);
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-top: 1px solid rgba(0, 32, 77, 0.2);
  padding: 24px 0;
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(0, 32, 77, 0.2);
}

.faq__q {
  cursor: pointer;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  color: var(--blue-900);
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__a {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  color: rgba(0, 32, 77, 0.8);
}

@media (max-width: 1023px) {
  .program-block { padding-block: 56px; }
  .program-block__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .program-block__title { font-size: 32px; line-height: 46px; }
  .faq { padding-block: 56px; }
  .faq__title { font-size: 44px; line-height: 66px; margin-bottom: 24px; }
  .faq__q { font-size: 20px; line-height: 30px; }
}


/* ============================================================
   21. careers 子页补充组件
   ============================================================ */
.roles-link {
  background: #fff;
  padding: 40px 0;
}

.roles-link__a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
  color: var(--blue-900);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
}

.roles-link__a:hover { color: var(--blue-400); }

.quoteblock {
  background: var(--blue-900);
  padding: 120px 0;
}

.quoteblock__q {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  font-size: 36px;
  font-weight: 500;
  line-height: 58px;
  color: #fff;
}

/* FAQ 加大（internships 原站 2064px） */
.faq--tall {
  padding: 120px 0;
}

.faq--tall .faq__item {
  padding: 88px 0;
}

.faq--tall .faq__q {
  font-size: 28px;
  line-height: 42px;
}

.faq--tall .faq__a {
  font-size: 20px;
  line-height: 34px;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .quoteblock { padding-block: 56px; }
  .quoteblock__q { font-size: 22px; line-height: 36px; }
  .faq--tall { padding-block: 56px; }
  .faq--tall .faq__item { padding: 24px 0; }
  .faq--tall .faq__q { font-size: 20px; line-height: 30px; }
}




/* ============================================================
   26. careers 概览：[2] 区图文交替块
   原站实测：2 个块（Early career 图左文右 / Talent development 文左图右）
   图片 640 宽，标题 36px/58.5px/600，正文 16px/26px/500
   ============================================================ */
.careers-paths__title,
.career-paths__title {
  margin: 0;
  padding: 80px 0;
  max-width: 1024px;
  font-size: 64px;
  font-weight: 600;
  line-height: 96px;
  color: #fff;
}

.career-block {
  display: grid;
  grid-template-columns: 640px 640px;
  gap: 48px;
  align-items: center;
  /* 原站：块1 py-8(32) + 块2 mt-16(64) = 96，实测渲染差 32 故用 128 */
  padding-bottom: 128px;
}

.career-block:nth-child(even) .career-block__media {
  order: 2;
}

.career-block:nth-child(even) .career-block__body {
  order: 1;
}

.career-block__media img {
  display: block;
  width: 640px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.career-block__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 58.5px;
  color: #fff;
}

.career-block__text {
  margin: 0;
  padding-block: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: #fff;
}

.career-block__cta {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 24px;
  border: 2px solid #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #fff;
  text-decoration: none;
}

.career-block__cta:hover {
  background: #fff;
  color: var(--blue-900);
}

@media (max-width: 1023px) {
  .career-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 56px;
  }
  .career-block:nth-child(even) .career-block__media { order: 0; }
  .career-block:nth-child(even) .career-block__body { order: 0; }
  .career-block__media img { width: 100%; }
  .career-block__title { font-size: 28px; line-height: 42px; }
  .career-paths__title, .careers-paths__title { padding: 56px 0; font-size: 32px; line-height: 44px; }
}


/* careers Hero 标题：原站 max-w-2xl 级别，宽 832 导致折 2 行（h=180） */
.careers-hero .content-hero__title {
  max-width: 832px;
}

@media (max-width: 1023px) {
  .careers-hero .content-hero__title {
    max-width: 100%;
  }
}

/* careers [1] 区：2×2 网格（原站 4 个条目） */
.career-intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 32px;
  padding-block: 16px;
}

.career-intro__item {
  display: flex;
  flex-direction: column;
}

.career-intro__lead {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 58.5px;
  color: var(--ink);
}

@media (max-width: 1023px) {
  .career-intro__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .career-intro__lead { font-size: 28px; line-height: 42px; }
}


/* careers [1] 区精确对齐（原站实测）
   h2 y=1064（区顶 968 + 96）→ h2 有 margin-top 16
   正文 y=1291 h=116 = 外层的 10px padding-top + p 的 106 */
.career-intro .info-section__title {
  margin-top: 16px;
}

.career-intro__item .info-card__text {
  margin-top: 10px;
}

@media (max-width: 1023px) {
  .career-intro .info-section__title { margin-top: 0; }
  .career-intro__item .info-card__text { margin-top: 0; }
}

/* careers [2] 区精确对齐（原站实测）
   原站：h2 y=1777 h=352，图 y=2161 → 标题底 2129 + 网格 py-8(32) = 2161
   第 1 张图 640x427（3:2），第 2 张 640x442（1000:690，不裁切） */
.career-paths__list {
  padding-top: 32px;
}

.career-block:nth-child(2) .career-block__media img {
  aspect-ratio: 1000 / 690;
}

@media (max-width: 1023px) {
  .career-paths__list { padding-top: 16px; }
}


/* 最后一块不需要额外间距（原站区底 3205 = 块2 底 3158 + 47） */
.career-block:last-child {
  padding-bottom: 48px;
}


/* careers [3] 区底部留白 80（原站 908 = 80 + 56 + 692 + 80） */
.careers-tabs {
  padding: 80px 0;
}

@media (max-width: 1023px) {
  .careers-tabs { padding-block: 56px; }
}

/* careers [6] 新闻区精确对齐
   原站 section h=715 = 80(pt) + 24(标签) + 44 + 533(卡片) + 34(pb) */
.news-grid-section {
  padding-block: 80px 34px;
}

@media (max-width: 1023px) {
  .news-grid-section { padding-block: 56px 24px; }
}

/* talent-development Hero：原站 644 = 80(pt) + 24 + 16 + 180 + 264(intro) + 80(pb)
   intro 在右侧 x=747 宽 637 */
.td-page .careers-hero {
  padding: 80px 0;
}

.td-page .careers-hero .content-hero__intro {
  margin-left: auto;
  max-width: 637px;
  /* 原站 lg:mt-16 = 64 */
  margin-top: 64px;
}


/* talent-development [1] "Deepen your expertise"：原站 h2 有 py-20(80)，section 本身无 padding
   256 = 96(行高) + 160(py-20) */
.td-page .info-section {
  padding: 0;
}

.td-page .info-section .container {
  padding-top: 0;
  padding-bottom: 0;
}

.td-page .info-section__title {
  padding: 80px 0;
}

/* talent-development [1] 标题无 margin（原站 h2 只有 py-20，无 margin-bottom） */
.td-page .info-section__title {
  margin-bottom: 0;
}

/* talent-development 图文块（[2][4][6]）：原站 section 无 padding，标题 36px/58.5px，图 427 */
.td-page .program-block {
  padding: 0;
}

.td-page .program-block .container {
  padding-top: 0;
  padding-bottom: 0;
}

.td-page .program-block__title {
  font-size: 36px;
  line-height: 58.5px;
  font-weight: 600;
}

.td-page .program-block__media {
  height: 427px;
}

.td-page .program-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* talent-development 三个图文块的精确高度（原站实测）
   [2] 507 = 8(pt-2) + 427 + 72(pb)         白
   [4] 635 = 80(pt) + 8 + 427 + 40 + 80(pb) 浅橙 #fff0e6
   [6] 568 = ? 白 */
.td-page .program-block--1 .container {
  padding: 8px 0 72px;
}

.td-page .program-block--2 {
  background: #fff0e6;
}

.td-page .program-block--2 .container {
  padding: 80px 0;
}

.td-page .program-block--3 .container {
  padding: 8px 0 72px;
}

/* talent-development 引言块（[3][5][7]）：原站 container max-w-screen-lg(1024)、
   引言 36px/58.5px/600（宽 912）、作者 20px/28px/500（mt-6=24） */
.td-page .quoteblock .container {
  max-width: 1024px;
  margin-inline: auto;
  padding-inline: 56px;
}

.td-page .quoteblock__q {
  max-width: 912px;
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 58.5px;
}

.td-page .quoteblock__author {
  margin: 24px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

/* talent-development 引言块 padding：原站 128（基础 120 少 8，三个引言块都差 -16） */
.td-page .quoteblock {
  padding: 128px 0;
}

/* talent-development [4] 图文2：原站 635 = 80(container pt) + 8(py-2) + 427 + 40 + 80(container pb)
   = 88(pt) + 427 + 120(pb) —— 合并到单层 container */
.td-page .program-block--2 .program-block__inner {
  padding: 88px 0 120px;
}


/* talent-development [6] 图文3：原站 568 = 88 + 360(图) + 120
   （图比其他两个矮：360 vs 427） */
.td-page .program-block--3 .program-block__inner {
  padding: 88px 0 120px;
}

.td-page .program-block--3 .program-block__media {
  height: 360px;
}

/* talent-development FAQ：原站 714 = 80 + 96(标题) + 32(mt-8) + 426(列表) + 80
   列表 426 = (59+48) + (117+48) + (59+48) + 2×24(gap)
   问题字号 36px/58.5px（原站 text-4xl），每项 py-6(24) */
.td-page .faq__q {
  font-size: 36px;
  line-height: 58.5px;
  font-weight: 600;
}

.td-page .faq__item {
  padding: 24px 0;
}

.td-page .faq__list {
  margin-top: 32px;
}

.td-page .faq__list .faq__item + .faq__item {
  margin-top: 24px;
}

/* talent-development [10] Explore early career：原站 625 = 80 + 465 + 80
   465 = 8(py-2) + 425 + 32；图 640x425；标题 36/58.5/600 2 行；Learn more 按钮 */
.td-page .program-block--explore {
  background: var(--blue-900);
  color: #fff;
  padding: 0;
}

.td-page .program-block--explore .program-block__inner {
  padding: 88px 0 112px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  align-items: center;
}

.td-page .program-block--explore .program-block__media {
  height: 425px;
}

.td-page .program-block--explore .program-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.td-page .program-block--explore .program-block__copy {
  color: #fff;
}

.td-page .program-block--explore .program-block__title {
  font-size: 36px;
  line-height: 58.5px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.td-page .program-block__cta {
  margin-top: 24px;
}

.td-page .program-block__btn {
  display: inline-block;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  text-decoration: none;
}

/* internships Hero：原站 564 = 80 + 24 + 16 + 180 + 64 + 120(intro) + 80
   intro 右侧 x=747 宽 637（同 talent-development） */
.intern-page .careers-hero {
  padding: 80px 0;
}

.intern-page .careers-hero .content-hero__intro {
  margin-left: auto;
  max-width: 637px;
  margin-top: 64px;
}

/* internships [3] How to land：原站 586 = 80 + 426 + 80（图左文右，图 640x426） */
.intern-page .program-block--howto .program-block__inner {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  align-items: center;
}

.intern-page .program-block--howto .program-block__media {
  height: 426px;
}

.intern-page .program-block--howto .program-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intern-page .program-block--howto .program-block__title {
  margin: 0;
  font-size: 36px;
  line-height: 58.5px;
  font-weight: 600;
}

.intern-page .program-block--howto .program-block__text {
  margin: 32px 0 0;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

/* internships [1] Intern Perspectives：原站是轮播，只显示 1 个 perspective
   779 = 80 + 24 + 96(mt-24) + 159 + 420? */
.intern-page .perspectives {
  padding: 80px 0;
}

.intern-page .perspectives .perspective {
  max-width: 930px;
  margin: 74px 0 0;
}

.intern-page .perspectives .perspective__quote {
  font-size: 36px;
  line-height: 58.5px;
  font-weight: 600;
}

.intern-page .perspectives .perspective__meta {
  margin-top: 24px;
  justify-content: flex-end;
}

.intern-page .perspectives .perspective__name {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.intern-page .perspectives .perspective__role {
  display: none;
}


/* internships [3]：section 去掉 96 padding，全部由 container 的 80 承担
   586 = 80 + 426 + 80 */
.intern-page .program-block--howto {
  padding: 0;
}


/* internships [2] Rotational Programs：原站正文字号 24/40，网格 3 列（411 宽） */
.intern-page .career-intro__lead {
  margin: 16px 0 40px;
  max-width: 1328px;
  font-size: 24px;
  line-height: 40px;
  font-weight: 500;
  color: var(--ink);
}

.intern-page .career-intro__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 32px;
}

.intern-page .career-intro__title {
  margin: 0;
  font-size: 36px;
  line-height: 58.5px;
  font-weight: 600;
}

.intern-page .career-intro__role {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: rgba(16, 16, 16, 0.75);
}

/* internships [2] 补 24px（原站 775 = 我的 751 + 24） */
.intern-page .career-intro {
  padding: 92px 0;
}

/* internships [4] FAQ：原站 2064 = 80 + 96 + 32(mt-8) + 1776(列表) + 80
   我的 padding 120、margin 40 都偏大 */
.intern-page .faq {
  padding: 80px 0;
}

.intern-page .faq__list {
  margin-top: 32px;
}



/* early-career Hero：原站 514 = 80 + 24 + 16 + 90 + 64 + 160(intro) + 80
   （h2 只有 1 行 90，"Take the initiative" 短） */
.ec-page .careers-hero {
  padding: 80px 0;
}

.ec-page .careers-hero .content-hero__intro {
  margin-left: auto;
  max-width: 637px;
  margin-top: 64px;
}

/* early-career [3][4][5]：原站三个 career-intro 都是深蓝底白字
   [3] Cultivating 509、[4] Internships 587、[5] Teams 740 */
.ec-page .career-intro {
  background: var(--blue-900);
  color: #fff;
}

.ec-page .career-intro .info-card__text,
.ec-page .career-intro .career-intro__lead {
  color: rgba(255, 255, 255, 0.85);
}

.ec-page .career-intro h2,
.ec-page .career-intro h3 {
  color: #fff;
}

/* careers Hero CTA：原站 mt-16(64) + 按钮 60 高 */
.intern-page .content-hero__cta {
  margin-top: 64px;
}

.content-hero__cta .btn--outline-light {
  display: inline-block;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
}

/* 768 断点：原站 py-14(56) 上下 + pb-72(288) => bottom 344 */
@media (max-width: 1023px) {
  .careers-hero {
    padding: 56px 0 344px;
  }
}


/* early-career [5] Teams：原站 952 = 80 + 104(h2) + 688(grid) + 80
   grid = 2 列（左文字+CTA 600, 右 canvas 664x600） */
.ec-teams .ec-teams__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 80px;
  padding-bottom: 8px;
}

.ec-teams__copy {
  padding: 64px 64px 64px 0;
}

.ec-teams__text {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 40px;
  color: #fff;
}

.ec-teams__cta {
  margin-top: 64px;
}

.ec-teams__cta .btn--outline-light {
  display: inline-block;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
}

.ec-teams__chart {
  width: 100%;
  height: 600px;
}

.ec-teams__chart canvas {
  width: 100%;
  height: 100%;
  vertical-align: top;
}



/* talent-development hero 标题宽度：原站 1080（其他 careers 页为 832） */
.td-page .careers-hero .content-hero__title {
  max-width: 1080px;
}


/* talent-development 768：引用块应为 24px/39px（原 36/58.5） */
@media (max-width: 1023px) {
  .td-page .quoteblock__q {
    font-size: 24px;
    line-height: 39px;
  }
  .td-page .quoteblock__author {
    font-size: 16px;
    line-height: 24px;
  }
}


/* careers-internships hero CTA：原站有 "Open Roles" 按钮（mt-11 = 44px + 60 高）
   用 .intern-cta 独立类，不影响 careers 主页的 .content-hero__cta */
.intern-cta {
  margin-top: 44px;
}
.intern-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border: 2px solid currentColor;
  border-radius: 0;
  color: inherit;
  text-decoration: none;
}
.intern-cta .btn:hover {
  background: #fff;
  color: #00204d;
}


/* careers-internships Intern Perspectives：原站 quote 在 line-clamp-3 内
   原站实测：p h=123（3 行截断），父 .line-clamp-3 display=flow-root overflow=hidden */
.perspective__quote {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* early-career Programs 区：原站是 2 列网格（lg:grid-cols-2），每列含标题 + 正文 */
.ec-programs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  padding-block: 16px;
  margin-top: 40px;
}
.ec-program {
  display: flex;
  flex-direction: column;
}
.ec-program__title {
  margin: 0;
  margin-top: 16px;
  padding-block: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 58.5px;
  color: var(--ink);
}
.ec-program__text {
  margin: 0;
  padding-block: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--ink);
}
@media (max-width: 1023px) {
  .ec-programs {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .ec-program__title {
    font-size: 28px;
    line-height: 45.5px;
  }
}


/* early-career Cultivating 区：原站 1 个 section 含 3 个卡片 */
.ec-cultivating__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  padding-block: 16px;
  margin-top: 40px;
}
.ec-cultivating__item {
  display: flex;
  flex-direction: column;
}
.ec-cultivating__title {
  margin: 0;
  margin-top: 16px;
  padding-block: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 39px;
  color: var(--ink);
}
.ec-cultivating__text {
  margin: 0;
  padding-block: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--ink);
}
@media (max-width: 1023px) {
  .ec-cultivating__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .ec-cultivating__title {
    font-size: 20px;
    line-height: 32.5px;
  }
}


/* early-career [4] Internships 详情：原站 2 列（左文字 640 + 右图 640×427） */
.ec-internships-detail {
  background: var(--blue-900);
  color: #fff;
  padding-block: 80px;
}
.ec-internships-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}
.ec-internships-detail__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 58.5px;
}
.ec-internships-detail__text {
  margin: 0;
  padding-block: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}
.ec-internships-detail__link {
  display: inline-block;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.ec-internships-detail__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* [5] Teams at Balyasny：h2 + pt-20(80) + grid 2 列 */
.ec-teams {
  background: var(--blue-900);
  color: #fff;
  padding-block: 72px;
}
.ec-teams__title {
  margin: 0;
  font-size: 64px;
  font-weight: 600;
  line-height: 96px;
}
.ec-teams__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 80px;
  padding-bottom: 8px;
  min-height: 476px;
}
.ec-teams__text {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 40px;
}
.ec-teams__link {
  display: inline-block;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}
@media (max-width: 1023px) {
  .ec-internships-detail__grid,
  .ec-teams__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .ec-teams__title {
    font-size: 36px;
    line-height: 58.5px;
  }
  .ec-teams__grid {
    margin-top: 40px;
    min-height: 0;
  }
}


/* early-career 专用：原站该页 container 是 py-18 = 72px（其他 careers 页不同） */
.ec-programs {
  margin-top: 32px;
}
.early-career-page .info-section {
  padding: 72px 0;
}
.early-career-page .info-section__title {
  margin-bottom: 32px;
}


/* careers hero：原站有背景 SVG（bg-right, length 50%）+ pb-60(240px) + 内容 py-20(80px) */
.careers-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 240px;
}
.careers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  margin-top: 160px;
  background-image: url('../assets/images/pages/careers-hero-graphic.svg');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 50% auto;
  z-index: 0;
  pointer-events: none;
}
.careers-hero .container {
  position: relative;
  z-index: 10;
  padding-block: 80px 0;
}
@media (max-width: 1023px) {
  .careers-hero {
    padding-bottom: 320px;
  }
  .careers-hero::before {
    margin-top: 208px;
    background-size: 70% auto;
  }
  .careers-hero .container {
    padding-block: 40px 0;
  }
}


/* careers jump-links 的描述段落：原站只在移动/平板版（lg:hidden）显示
   1440+ 用桌面版（无段落），所以 1024 起隐藏 */
.jump-link__desc {
  margin: 12px 0 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--ink);
  max-width: 640px;
}
@media (min-width: 1024px) {
  .jump-link__desc { display: none; }
}


/* career-block 的 640+640 固定列需要分段处理（实测）：
   - ≥1024：2 列自适应（原站也是 2 列）
   - ≤1023：单列堆叠（768 时 2 列会让文字换行暴增 +21pp） */
@media (min-width: 1024px) and (max-width: 1279px) {
  .career-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }
  .career-block__media img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 1023px) {
  .career-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 48px;
  }
  .career-block__media img {
    width: 100%;
    height: auto;
  }
  .career-block:nth-child(even) .career-block__media,
  .career-block:nth-child(even) .career-block__body {
    order: 0;
  }
  .career-block__title { font-size: 24px; line-height: 36px; }
}


/* talent-development 的字号在 768 时比原站大一号（原站是 Tailwind md: 档）
   实测原站 768：hero 标题 48/72、FAQ 标题 32/48、FAQ 问题 16/24 */
@media (max-width: 1023px) {
  .td-page .faq__q {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
  }
  .td-page .faq__title {
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 24px;
  }
  .td-page .faq__item {
    padding: 16px 0;
  }
  .td-page .faq__list {
    margin-top: 32px;
  }
  .td-page .faq__list .faq__item + .faq__item {
    margin-top: 16px;
  }
  .td-page .hero__title,
  .td-page .content-hero__title {
    font-size: 48px;
    line-height: 72px;
  }
}


/* talent-development 768 精修（实测）：
   [0] hero：原站 eyebrow y=168（我 216，padding-top 多 48）
        描述 96 高 = 20px/32px 全宽 704（我 136 高 = 20/34 且只有 637 宽）
   [8] FAQ：原站列表 300、单项 71（我 204、单项 57，每项少 14 → padding 16 改 23） */
@media (max-width: 1023px) {
  .td-page .content-hero {
    padding-top: 32px;
  }
  .td-page .content-hero__intro {
    font-size: 20px;
    line-height: 32px;
    max-width: 100%;
  }
  .td-page .faq__item {
    padding: 23px 0;
  }
}


/* talent-development 768 hero 描述：原站 704 全宽、3 行（96 高）、mt-24
   之前被 .td-page .careers-hero .content-hero__intro 的 max-width:637 覆盖（3 个类更具体） */
@media (max-width: 1023px) {
  .td-page .careers-hero .content-hero__intro {
    max-width: 100%;
    margin-left: 0;
    margin-top: 24px;
    font-size: 20px;
    line-height: 32px;
  }
}


/* talent-development FAQ 问题：原站 768 是 24px/39px（我之前误设成 16px/24px） */
@media (max-width: 1023px) {
  .td-page .faq__q {
    font-size: 24px;
    line-height: 39px;
    font-weight: 600;
  }
  .td-page .faq__a {
    font-size: 16px;
    line-height: 24px;
  }
}


/* talent-development [3] quoteblock：原站 768 section 381 = 96(pt) + 189(内容) + 96(pb)
   引言 x=32 宽 704（3 行 117）；我 x=56 宽 656（4 行 156）→ padding 128、容器左右 56 都多了 */
@media (max-width: 1023px) {
  .td-page .quoteblock {
    padding: 96px 0;
  }
  .td-page .quoteblock .container {
    padding-inline: 32px;
  }
}


/* talent-development [10]：现在总差是 -214（负偏差占优），修 [10] 的 -224 会改善总差 */
@media (max-width: 1023px) {
  .td-page .program-block--explore .program-block__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    column-gap: 0;
    padding: 32px 0 56px;
  }
  .td-page .program-block--explore .program-block__media {
    height: auto;
    aspect-ratio: 640 / 425;
  }
  .td-page .program-block--explore .program-block__title {
    font-size: 24px;
    line-height: 39px;
  }
}


/* talent-development [1] 标题：原站 768 是 32px/48px（我 44px/66px） */
@media (max-width: 1023px) {
  .td-page .section-title,
  .td-page .td-section-title,
  .td-page h2 {
    font-size: 32px;
    line-height: 48px;
  }
}


/* talent-development 390：标题 32px 太大（原站 sm 档以下更小） */
@media (max-width: 639px) {
  .td-page h2,
  .td-page .section-title,
  .td-page .td-section-title {
    font-size: 28px;
    line-height: 42px;
  }
  .td-page .faq__q {
    font-size: 20px;
    line-height: 32px;
  }
  .td-page .quoteblock {
    padding: 64px 0;
  }
  .td-page .program-block--explore .program-block__title {
    font-size: 20px;
    line-height: 32px;
  }
}


/* talent-development 390 hero：原站标题 32px/44px（我 48px/72px）、描述 16px/28px（我 20px/32px）
   用 max-width: 639px 隔离，不影响 768 */
@media (max-width: 639px) {
  .td-page .careers-hero .content-hero__eyebrow {
    margin-bottom: 16px;
  }
  .td-page .careers-hero .content-hero__title {
    font-size: 32px;
    line-height: 44px;
  }
  .td-page .careers-hero .content-hero__intro {
    font-size: 16px;
    line-height: 28px;
    margin-top: 24px;
  }
  .td-page .careers-hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}


/* talent-development 390：program-block 的图片宽度固定 640/641 会溢出 390 视口
   原站 390：容器 x=20 宽 350、标题 24px/39px、图片在容器内 */
@media (max-width: 639px) {
  .td-page .program-block__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .td-page .program-block__media,
  .td-page .program-block__media img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .td-page .program-block__media {
    aspect-ratio: 640 / 425;
    height: auto;
  }
  .td-page .program-block__title {
    font-size: 24px;
    line-height: 39px;
  }
  .td-page .program-block {
    padding: 48px 0;
  }
}


/* talent-development [6] program-block--3：图片在 390 还是 360px 高（原站约 245）
   [6] 在 390 的 section 是 783 = 64 + 410(文字) + 245(图) + 64 */
@media (max-width: 639px) {
  .td-page .program-block--3 .program-block__media {
    height: auto;
    aspect-ratio: 640 / 245;
  }
  .td-page .program-block--3 .program-block__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


/* talent-development [2]/[4] program-block 在 390：图片按容器宽度等比缩放（原站 350 宽）
   [2] 原站 655 = 269(文字) + 图片(约 233) + padding；[4] 754 同理 */
@media (max-width: 639px) {
  .td-page .program-block--1 .program-block__media,
  .td-page .program-block--2 .program-block__media {
    height: auto;
    aspect-ratio: 640 / 425;
  }
  .td-page .program-block--1 .program-block__media img,
  .td-page .program-block--2 .program-block__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .td-page .program-block--1,
  .td-page .program-block--2 {
    padding: 40px 0;
  }
  .td-page .program-block--1 .program-block__inner,
  .td-page .program-block--2 .program-block__inner {
    padding: 0;
    gap: 24px;
  }
}


/* talent-development 1024-1279 hero（原站 lg 档；768 用另一套）：
   标题 60px/82.5px；描述 24px/36px 右对齐 453 宽；section 无 padding、container 80 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .td-page .careers-hero {
    padding-top: 0;
    padding-bottom: 0;
  }
  .td-page .careers-hero .container {
    padding-block: 80px;
  }
  .td-page .careers-hero .content-hero__eyebrow {
    margin-bottom: 16px;
  }
  .td-page .careers-hero .content-hero__title {
    font-size: 60px;
    line-height: 82.5px;
  }
  .td-page .careers-hero .content-hero__intro {
    font-size: 24px;
    line-height: 36px;
    margin-top: 48px;
    max-width: 453px;
    margin-left: auto;
  }
}


/* talent-development 1024：program-block__inner 的「1fr 633px + 64 gap」在 1024 溢出
   原站 1024：容器 944（x=40），文字 452、图片 452（各半）；[2] 476 = 24(py) + 408(内容) + 44 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .td-page .program-block__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 0;
  }
  .td-page .program-block__media {
    width: 100%;
    height: auto;
    aspect-ratio: 452 / 408;
  }
  .td-page .program-block__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .td-page .program-block__title {
    font-size: 36px;
    line-height: 58.5px;
  }
  .td-page .program-block {
    padding: 24px 0;
  }
}


/* talent-development 1280-1439：program-block 有嵌套 padding
   .container 80 + .program-block__inner 88/120 = 288px（原站 section 454 只需 80）
   原站 1280：[2] 454 = 24(pt) + 374(内容) + 56(pb) */
@media (min-width: 1280px) and (max-width: 1439px) {
  .td-page .program-block--1 .container,
  .td-page .program-block--2 .container,
  .td-page .program-block--3 .container {
    padding: 24px 0 56px;
  }
  .td-page .program-block--2 .program-block__inner,
  .td-page .program-block--3 .program-block__inner {
    padding: 0;
  }
  .td-page .program-block--2 .program-block__media {
    height: auto;
    aspect-ratio: 560 / 374;
  }
  .td-page .program-block--1 .program-block__media,
  .td-page .program-block--2 .program-block__media,
  .td-page .program-block--3 .program-block__media {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}


/* careers career-block：640+640+48 = 1328 > 1280 视口 → 被压成单列
   原站 1280 是 2 列（右列 x=664 宽 560） */
@media (min-width: 1280px) and (max-width: 1439px) {
  .career-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
  .career-block__media img {
    width: 100%;
    height: auto;
  }
}


/* early-career hero 390 原站实测：
   section 376 = 64(pt) + 24(eyebrow) + 44(标题) + 24 + 140(intro) + 16(pb)
   intro 16px/28px
   我的：pt 120（hero 80 + container 40）、intro 20px/34px、pb 40 */
@media (max-width: 767px) {
  .ec-page .careers-hero {
    padding: 64px 0 16px;
  }
  .ec-page .careers-hero .container {
    padding-block: 0;
  }
  .ec-page .careers-hero .content-hero__intro {
    font-size: 16px;
    line-height: 28px;
    margin-top: 24px;
  }
}


/* early-career [5] ec-teams 390 原站实测：
   section 774 = 56(标题) + 590(内容) + 128(padding)
   copy 无左右 64 padding，正文 16px/28px
   我的：copy padding 64/64/64/0 + text 24px/40px → 内容被挤成 1291 */
@media (max-width: 767px) {
  .ec-page .ec-teams__copy {
    padding: 0;
  }
  .ec-page .ec-teams__text {
    font-size: 16px;
    line-height: 28px;
  }
  .ec-page .ec-teams__grid {
    min-height: 0;
  }
}


/* careers jump-links 390 原站实测：
   每项 350×374 = label 24 + 标题 104(32px/48px，2 行) + 描述 230（竖排，描述在下方全宽）
   我的：.jump-link 是 flex space-between，描述被挤到右侧（标题只剩 141 宽）→ 每项 535 */
@media (max-width: 767px) {
  .careers-page .jump-link {
    display: block;
    position: relative;
  }
  .careers-page .jump-link__title {
    font-size: 32px;
    line-height: 48px;
  }
  .careers-page .jump-link__desc {
    max-width: none;
  }
  .careers-page .jump-link__arrow {
    position: absolute;
    right: 0;
    top: 24px;
    width: 28px;
    height: 28px;
  }
}


/* talent-development 1024：program-block 原站容器有 40 左右 padding、pt 24
   我的 container 无左右 padding（x=0）、pt 64，且 inner 还有 padding */
@media (min-width: 1024px) and (max-width: 1279px) {
  .td-page .program-block .container {
    padding: 24px 40px;
  }
  .td-page .program-block__inner {
    padding: 0;
  }
}


/* careers [4]（Investing in our people）：390 原站标题 32px/48、卡片标题 24px/36
   我的用了 44px/66（桌面档）→ [4] 925 vs 原站 826 */
@media (max-width: 767px) {
  .careers-page .info-section__title {
    font-size: 32px;
    line-height: 48px;
  }
  .careers-page .info-card__title {
    font-size: 24px;
    line-height: 36px;
  }
}


/* talent-development 1440/1920 hero：原站 eyebrow 距顶 80
   我的 .content-hero pt 80 + .careers-hero .container pt 80 = 160（双倍）
   [0] 多 80 → [1]-[10] 全部错位 80 → 整页 35% 差异 */
@media (min-width: 1024px) {
  .td-page .careers-hero {
    padding-top: 0;
  }
}


/* talent-development 390：program-block__inner 在 ≤639 被 padding:0 清零，
   导致内容全宽 390（原站 350，有 20 左右 padding）。
   用 0,3,0 特异性覆盖（.td-page section.program-block__inner 仍不够，加 !important 保证） */
@media (max-width: 767px) {
  .td-page .program-block > .container.program-block__inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* early-career 390：info-section__title 原站 32px/48px（我 44px/66px，3 行 vs 2 行 → [1] +216）
   career-paths__title 同为 32/48（原站） */
@media (max-width: 767px) {
  .early-career-page .info-section__title,
  .early-career-page .career-paths__title {
    font-size: 32px;
    line-height: 48px;
  }
}


/* internships FAQ 390：原站实测标题 32px/48px（我 44px/66px）、问题 24px/39px（我 20px/30px）
   实测原站 [4] 1834 vs 我 951 —— 问题行高更大 + 答案可能默认展开 */
@media (max-width: 767px) {
  .intern-page .faq__title {
    font-size: 32px;
    line-height: 48px;
  }
  .intern-page .faq__q {
    font-size: 24px;
    line-height: 39px;
  }
}


/* careers hero 390：原站背景图是 GSAP 淡入（opacity-0，截图时不显示），
   我的 ::before 直接显示 → 大面积差异。
   原站 padding: pb-64 = 256px（我 390 是 320） */
@media (max-width: 767px) {
  .careers-hero::before {
    opacity: 0 !important;
  }
  .careers-hero {
    padding-bottom: 256px !important;
  }
}
