/* 招贤纳士共用布局（careers.html / careers-path.html / careers-school.html）
   banner、栏目导航、左侧锚点、右侧区块标题统一用 recruit-* */

body.recruit-page {
  background: #fff;
}

body.recruit-page .recruit-hero {
  height: 350px;
  background: #07183a url("../images/recruit-banner-blue.png") center center no-repeat;
  background-size: cover;
}

body.recruit-page .recruit-hero .container {
  height: auto;
}

.recruit-hero__copy {
  max-width: 760px;
}

.recruit-hero__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  color: rgba(255, 255, 255, .94);
  font-size: 14px;
  line-height: 1;
  background: rgba(255, 255, 255, .08);
}

.recruit-hero__title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.18;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .24);
}

.recruit-hero__desc {
  margin: 0;
  color: rgba(255, 255, 255, .95);
  font-size: 16px;
  line-height: 28px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .18);
}

body.recruit-page .page-news-subnav {
  position: sticky;
  top: 62px;
  z-index: 900;
  box-shadow: 0 8px 24px rgba(7, 26, 53, 0.05);
}

.recruit-body {
  position: relative;
  padding: 48px 0 60px;
  background: #fafbff;
}

.recruit-layout {
  position: relative;
}

.recruit-sidenav {
  position: sticky;
  float: left;
  top: 148px;
  z-index: 10;
  width: 200px;
}

.recruit-sidenav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-sidenav li {
  list-style: none;
}

.recruit-sidenav a {
  display: block;
  position: relative;
  padding: 14px 16px 14px 20px;
  color: #333;
  font-size: 18px;
  line-height: 42px;
  text-decoration: none;
}

.recruit-sidenav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
}

.recruit-sidenav a:hover {
  color: #0050be;
  background: #eef4ff;
}

.recruit-sidenav a.is-active {
  color: #0050be;
  background: #eef4ff;
}

.recruit-sidenav a.is-active::before {
  background: #0050be;
}

.recruit-main {
  float: right;
  width: calc(100% - 228px);
  min-height: 400px;
  overflow: hidden;
}

.recruit-section {
  scroll-margin-top: 150px;
  padding: 30px 25px 36px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  box-sizing: border-box;
}

.recruit-section + .recruit-section {
  margin-top: 20px;
}

.recruit-subhead {
  margin: 0 0 10px;
  padding-left: 32px;
  background: url(../images/icon-1-blue.png) no-repeat left center;
  background-size: 20px auto;
  color: #000;
  font-size: 24px;
  font-weight: 700;
}

.recruit-section-intro {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 28px;
  color: #333;
}

/* 工作与生活内容块（careers.html） */

.xclife-intro {
  overflow: hidden;
  margin-bottom: 36px;
  background: #fff;
  border-radius: 12px;
}

.xclife-intro__copy {
  float: left;
  width: 55%;
  padding: 45px;
}

.xclife-intro__kicker {
  display: block;
  margin-bottom: 8px;
  color: #0050be;
  font-size: 16px;
  line-height: 32px;
}

.xclife-intro__copy h2 {
  margin: 0 0 12px;
  color: #000;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.xclife-intro__copy p {
  margin: 0;
  max-width: none;
  color: #333;
  font-size: 16px;
  line-height: 32px;
  text-align: justify;
}

.xclife-intro__visual {
  float: right;
  width: 45%;
}

.xclife-intro__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.xclife-collage__hero {
  overflow: hidden;
  height: 220px;
  margin-bottom: 10px;
  border-radius: 12px;
}

.xclife-collage__row {
  overflow: hidden;
  margin-right: -10px;
}

.xclife-collage__cell {
  float: left;
  width: 33.333%;
  height: 132px;
  padding-right: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

.xclife-collage__cell img,
.xclife-collage__hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.xclife-filters {
  margin: 0 0 28px;
  font-size: 0;
}

.xclife-filters button {
  display: inline-block;
  min-height: 36px;
  margin: 0 10px 10px 0;
  padding: 0 16px;
  border: 1px solid #d7deea;
  border-radius: 999px;
  background: #fff;
  color: #4c5874;
  font-size: 14px;
  line-height: 34px;
  cursor: pointer;
  vertical-align: middle;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.xclife-filters button:hover {
  border-color: #0050be;
  color: #0050be;
}

.xclife-filters button.is-active {
  border-color: #0050be;
  background: #0050be;
  color: #fff;
}

.xclife-atm-wrap {
  position: relative;
  min-height: 280px;
}

.xclife-atm-status {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  text-align: center;
  box-sizing: border-box;
}

.xclife-atm-status--loading {
  background: rgba(248, 251, 255, 0.92);
  border-radius: 12px;
}

.xclife-atm-wrap.is-loading .xclife-atm-status--loading,
.xclife-atm-wrap.is-empty .xclife-atm-status--empty {
  display: flex;
}

.xclife-atm-wrap.is-loading {
  min-height: 320px;
}

.xclife-atm-wrap.is-loading .xclife-atm-grid,
.xclife-atm-wrap.is-empty .xclife-atm-grid {
  visibility: hidden;
  pointer-events: none;
  min-height: 0;
}

.xclife-atm-status__inner {
  max-width: 80%;
}

.xclife-atm-status__spinner {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 56px;
}

.xclife-atm-status__spinner::before,
.xclife-atm-status__spinner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border-style: solid;
  box-sizing: border-box;
}

.xclife-atm-status__spinner::before {
  border-width: 4px;
  border-color: rgba(6, 75, 159, 0.12);
}

.xclife-atm-status__spinner::after {
  border-width: 4px;
  border-color: #064b9f transparent transparent transparent;
  animation: cases-grid-spin 0.7s linear infinite;
}

.xclife-atm-status__text {
  margin: 22px 0 0;
  color: #064b9f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  animation: cases-grid-pulse 1.2s ease-in-out infinite;
}

.xclife-atm-status__dots {
  display: inline-block;
  min-width: 1.2em;
  text-align: left;
}

.xclife-atm-status__dots::after {
  content: "";
  animation: cases-grid-dots 1.2s steps(4, end) infinite;
}

.xclife-atm-status__image {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto;
}

.xclife-atm-status__desc {
  margin: 24px 0 0;
  color: #333;
  font-size: 16px;
  line-height: 28px;
}

.xclife-atm-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px 20px;
}

.xclife-atm-card--feature {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.xclife-atm-grid__side {
  display: contents;
}

.xclife-atm-grid.is-filtered {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
}

.xclife-atm-grid.is-filtered .xclife-atm-card--feature {
  grid-column: auto;
  grid-row: auto;
}

.xclife-atm-card.is-hidden {
  display: none !important;
}

.xclife-atm-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.xclife-atm-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  flex: 1 1 auto;
}

.xclife-atm-card--feature .xclife-atm-card__media {
  min-height: 360px;
  height: auto;
}

.xclife-atm-card--small .xclife-atm-card__media {
  flex: 0 0 168px;
  height: 168px;
}

.xclife-atm-grid.is-filtered .xclife-atm-card__media {
  flex: 0 0 180px;
  height: 180px;
  min-height: 0;
}

.xclife-atm-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.xclife-atm-card:hover .xclife-atm-card__media img {
  transform: scale(1.04);
}

.xclife-atm-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 4px;
  background: #0050be;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}

.xclife-atm-card__body {
  padding: 14px 2px 0;
}

.xclife-atm-card__body h3 {
  margin: 0 0 6px;
  color: #17283e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.xclife-atm-card__body p {
  margin: 0 0 8px;
  color: #5a6a80;
  font-size: 14px;
  line-height: 1.6;
}

.xclife-atm-card--small .xclife-atm-card__body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xclife-atm-card__date {
  display: block;
  color: #9aa7b8;
  font-size: 14px;
  line-height: 1.4;
}

.xclife-journey-wrap {
  position: relative;
}

.xclife-journey-swiper {
  overflow: hidden;
}

.xclife-journey-card {
  cursor: pointer;
}

.xclife-journey-card__media {
  overflow: hidden;
  height: 168px;
  margin-bottom: 14px;
  border-radius: 12px;
}

.xclife-journey-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xclife-journey-card__meta {
  display: block;
  margin: 0 0 4px;
  color: #666;
  text-align: center;
  font-size: 15px;
  line-height: 26px;
}

.xclife-journey-card__date + .xclife-journey-card__place::before {
  content: " | ";
  display: inline-block;
  margin: 0 8px;
}

.xclife-journey-card h3 {
  margin: 0 0 4px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
}

.xclife-journey-card p {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 26px;
  text-align: justify;
}

.xclife-journey-btn {
  position: absolute;
  top: 64px;
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 4px 14px rgba(23, 40, 62, .2);
  cursor: pointer;
}

.xclife-journey-btn::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px auto;
  filter: brightness(0);
}

.xclife-journey-btn--prev {
  left: -18px;
}

.xclife-journey-btn--prev::after {
  background-image: url("../images/arrow-hl.png");
}

.xclife-journey-btn--next {
  right: -18px;
}

.xclife-journey-btn--next::after {
  background-image: url("../images/arrow-hr.png");
}

.xclife-journey-btn:hover {
  background: #1a89fe;
}

.xclife-journey-btn:hover::after {
  filter: brightness(0) invert(1);
}

.xclife-journey-btn.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}

.xclife-empty {
  /* min-height: 280px; */
  padding: 72px 24px;
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  background: #f8fafd;
  text-align: center;
  box-sizing: border-box;
}

.xclife-empty__ico {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 5px;
  color: #9aabc2;
}

.xclife-empty__ico svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.xclife-empty p {
  margin: 0;
  color: #8a96ab;
  font-size: 15px;
  line-height: 1.7;
}

.xclife-lightbox {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2200;
}

.xclife-lightbox.is-open {
  display: block;
}

.xclife-lightbox__mask {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 18, 28, .78);
}

.xclife-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #8a97ab;
  font-size: 26px;
  line-height: 34px;
  text-align: center;
  cursor: pointer;
}

.xclife-lightbox__close:hover {
  background: #fff;
  color: #064B9F;
}

.xclife-lightbox__box {
  position: relative;
  z-index: 1;
  width: 92%;
  max-width: 760px;
  max-height: 88vh;
  margin: 6vh auto 0;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .4);
}

.xclife-lightbox__head {
  padding: 22px 56px 16px 24px;
}

.xclife-lightbox__title {
  display: inline-block;
  vertical-align: middle;
  margin: 0 12px 0 0;
  color: #17283e;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.xclife-lightbox__tag {
  display: inline-block;
  vertical-align: middle;
  padding: 4px 10px;
  border-radius: 4px;
  background: #0050be;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}

.xclife-lightbox__tag.is-empty {
  display: none;
}

.xclife-lightbox__meta {
  margin: 10px 0 0;
  color: #74839a;
  font-size: 14px;
  line-height: 1.6;
}

.xclife-lightbox__meta.is-empty {
  display: none;
}

.xclife-lightbox__date,
.xclife-lightbox__place {
  display: inline-block;
}

.xclife-lightbox__date.is-empty,
.xclife-lightbox__place.is-empty {
  display: none;
}

.xclife-lightbox__date:not(.is-empty) + .xclife-lightbox__place:not(.is-empty)::before {
  content: " · ";
}

.xclife-lightbox__media {
  position: relative;
  height: 0;
  padding-bottom: 62.5%;
  background: #eef1f5;
}

.xclife-lb-swiper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.xclife-lb-swiper .swiper-slide,
.xclife-lb-swiper .swiper-wrapper {
  height: 100%;
}

.xclife-lb-swiper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xclife-lb-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  padding: 0;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px auto;
  cursor: pointer;
}

.xclife-lb-nav--prev {
  left: 14px;
  background-image: url("../images/arrow-hl.png");
}

.xclife-lb-nav--next {
  right: 14px;
  background-image: url("../images/arrow-hr.png");
}

.xclife-lb-nav.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}

.xclife-lightbox__media.is-single .xclife-lb-nav {
  display: none;
}

.xclife-lightbox__detail {
  padding: 16px 24px 24px;
}

.xclife-lightbox__detail.is-empty {
  display: none;
}

.xclife-lightbox__detail p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 991px) {
  .recruit-sidenav,
  .recruit-main {
    float: none;
    width: 100%;
  }

  .recruit-sidenav {
    position: static;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .recruit-sidenav li {
    float: left;
    width: calc(50% - 6px);
    margin: 0 12px 10px 0;
    box-sizing: border-box;
  }

  .recruit-sidenav li:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 575px) {
  .recruit-sidenav li {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .recruit-subhead {
    font-size: 20px;
    line-height: 36px;
    padding-left: 28px;
    background-size: 18px auto;
  }
}

@media (max-width: 980px) {
  body.recruit-page .recruit-hero {
    height: auto;
    min-height: 180px;
  }

  body.recruit-page .recruit-hero .container {
    padding-top: 80px;
    padding-bottom: 24px;
  }

  .recruit-hero__title {
    font-size: 24px;
  }

  .recruit-hero__desc {
    font-size: 14px;
    line-height: 24px;
  }

  .recruit-body {
    padding: 40px 0 56px;
  }

  .xclife-intro__copy,
  .xclife-intro__visual {
    float: none;
    width: 100%;
    padding: 0;
  }

  .xclife-intro__copy {
    margin-bottom: 20px;
  }

  .xclife-intro__copy h2 {
    font-size: 22px;
  }

  .xclife-atm-grid,
  .xclife-atm-grid.is-filtered {
    display: block;
  }

  .xclife-atm-card--feature,
  .xclife-atm-card--small {
    grid-column: auto;
    grid-row: auto;
    margin-bottom: 22px;
  }

  .xclife-collage__hero {
    height: 180px;
  }

  .xclife-collage__cell {
    height: 120px;
  }

  .recruit-section {
    padding: 22px 18px 28px;
  }

  .recruit-section + .recruit-section {
    margin-top: 16px;
  }

  .xclife-atm-card--feature .xclife-atm-card__media {
    height: 220px;
  }

  .xclife-atm-card--feature {
    margin-bottom: 22px;
  }

  .xclife-atm-card--small,
  .xclife-atm-grid.is-filtered .xclife-atm-card--feature,
  .xclife-atm-grid.is-filtered .xclife-atm-card--small {
    width: 100%;
    margin-right: 0;
  }
}
