.trainee-page {
  color: #183153;
  background: #f4f7fb;
}

.trainee-kicker {
  margin: 0 0 14px;
  color: #1168c8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.trainee-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #00174f;
}

.trainee-hero__image { position: absolute; inset: 0; }
.trainee-hero__image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,20,76,.96) 0%, rgba(0,28,94,.92) 48%, rgba(0,13,48,.42) 100%),
    linear-gradient(0deg, rgba(0,18,64,.72) 0%, transparent 46%);
  content: "";
}
.trainee-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.04); }

.trainee-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 720px;
  flex-direction: column;
  justify-content: center;
}

.trainee-hero__content { max-width: 800px; padding: 75px 0 170px; }
.trainee-hero .trainee-kicker { color: #7fdaf3; }
.trainee-hero h1 { margin: 0 0 26px; color: #fff; font-size: clamp(54px, 7vw, 92px); font-weight: 650; line-height: 1.05; letter-spacing: -.04em; }
.trainee-hero h1 span { color: #8ddff6; }
.trainee-hero__content > p:not(.trainee-kicker) { max-width: 680px; margin: 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.9; }
.trainee-hero__content > a { display: inline-flex; align-items: center; gap: 26px; margin-top: 35px; padding: 14px 19px 14px 23px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.trainee-hero__content > a:hover { background: #fff; color: #002794; }

.trainee-hero__stats {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.2);
}
.trainee-hero__stats > div { display: flex; min-height: 105px; align-items: center; gap: 15px; padding: 20px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.trainee-hero__stats > div:first-child { padding-left: 0; }
.trainee-hero__stats > div:last-child { border-right: 0; }
.trainee-hero__stats strong { color: #fff; font-size: 34px; font-weight: 650; }
.trainee-hero__stats span { max-width: 150px; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.5; }

.trainee-intro { padding: 115px 0; background: #fff; }
.trainee-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(55px, 9vw, 130px); }
.trainee-intro h2,
.trainee-directory__heading h2 { margin: 0; color: #10285f; font-size: clamp(38px, 4.7vw, 59px); font-weight: 650; line-height: 1.22; letter-spacing: -.025em; }
.trainee-intro__copy p { margin: 0 0 18px; color: #61728d; font-size: 17px; line-height: 1.95; }
.trainee-intro__copy a { display: inline-flex; align-items: center; gap: 14px; margin-top: 12px; color: #075fc7; font-size: 15px; font-weight: 650; text-decoration: none; }

.trainee-directory { padding: 110px 0 120px; scroll-margin-top: 90px; background: #f3f7fb; }
.trainee-directory__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; }
.trainee-directory__heading > p { max-width: 390px; margin: 0 0 8px; color: #687994; font-size: 17px; line-height: 1.85; }

.trainee-series-nav { display: grid; grid-template-columns: 1fr 180px 1fr; align-items: stretch; margin: 55px 0 20px; overflow: hidden; border: 1px solid #d4dfeb; border-radius: 25px; background: #fff; box-shadow: 0 16px 40px rgba(0,39,148,.05); }
.trainee-series-nav__button { display: flex; min-width: 0; align-items: center; gap: 18px; padding: 22px 28px; border: 0; background: #fff; color: #17386f; font: inherit; text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease; }
.trainee-series-nav__button--next { justify-content: flex-end; text-align: right; }
.trainee-series-nav__button:hover:not(:disabled) { background: #edf4ff; color: #002794; }
.trainee-series-nav__button:disabled { color: #aab5c5; cursor: not-allowed; }
.trainee-series-nav__button small,
.trainee-series-nav__button strong { display: block; }
.trainee-series-nav__button small { margin-bottom: 3px; color: #8492a6; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.trainee-series-nav__button strong { overflow: hidden; font-size: 17px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.trainee-series-nav__arrow { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 19px; }
.trainee-series-nav__current { display: flex; min-height: 126px; flex-direction: column; align-items: center; justify-content: center; padding: 14px; background: #002794; color: #fff; text-align: center; }
.trainee-series-nav__current > span { color: #8ddff6; font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.trainee-series-nav__select-wrap { position: relative; margin: 3px 0; }
.trainee-series-nav__select-wrap::after { position: absolute; top: 50%; right: -13px; width: 6px; height: 6px; border-right: 1.5px solid #8ddff6; border-bottom: 1.5px solid #8ddff6; pointer-events: none; content: ""; transform: translateY(-70%) rotate(45deg); }
.trainee-series-nav__select-wrap select { min-width: 58px; padding: 0 12px 0 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 41px; font-weight: 650; line-height: 1; text-align: center; cursor: pointer; appearance: none; }
.trainee-series-nav__select-wrap select:disabled { cursor: wait; opacity: .75; }
.trainee-series-nav__select-wrap select option { background: #fff; color: #17386f; font-size: 18px; }
.trainee-series-nav__current > small { color: rgba(255,255,255,.66); font-size: 11px; }

.trainee-loading { min-height: 270px; padding: 75px 0; border-top: 1px solid #d7e2ed; }
.trainee-loading[hidden] { display: none; }
.trainee-skeleton { display: block; overflow: hidden; background: #e2e9f1; }
.trainee-skeleton::after { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent); content: ""; transform: translateX(-100%); animation: trainee-skeleton 1.25s ease-in-out infinite; }
.trainee-skeleton__header { display: grid; grid-template-columns: 115px 1fr auto; gap: 28px; align-items: center; margin-bottom: 35px; }
.trainee-skeleton--circle { width: 105px; height: 105px; border-radius: 50%; }
.trainee-skeleton__heading-lines { display: grid; gap: 12px; }
.trainee-skeleton--title { width: min(420px,75%); height: 34px; border-radius: 9px; }
.trainee-skeleton--subtitle { width: min(290px,55%); height: 15px; border-radius: 6px; }
.trainee-skeleton--badge { width: 60px; height: 34px; border-radius: 999px; }
.trainee-skeleton-card { overflow: hidden; border: 1px solid #dee7f0; border-radius: 23px; background: #fff; }
.trainee-skeleton--image { height: 330px; }
.trainee-skeleton-card__body { display: grid; gap: 13px; padding: 24px; }
.trainee-skeleton--line-short { width: 36%; height: 12px; border-radius: 5px; }
.trainee-skeleton--line-title { width: 76%; height: 24px; border-radius: 7px; }
.trainee-skeleton--line { width: 100%; height: 14px; margin-top: 22px; border-radius: 5px; }
.trainee-skeleton--line-medium { width: 68%; height: 14px; border-radius: 5px; }
@keyframes trainee-skeleton { to { transform: translateX(100%); } }

.trainee-generation { padding: 75px 0; border-top: 1px solid #d7e2ed; }
.trainee-generation[hidden] { display: none; }
.trainee-generation__header { display: grid; grid-template-columns: 115px 1fr auto; gap: 28px; align-items: center; margin-bottom: 35px; }
.trainee-generation__number { display: flex; width: 105px; height: 105px; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #002794; color: #fff; }
.trainee-generation__number span { font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.trainee-generation__number strong { margin-top: 1px; font-size: 38px; font-weight: 600; line-height: 1; }
.trainee-generation__header h3 { margin: 0 0 5px; color: #133064; font-size: clamp(26px, 3vw, 38px); font-weight: 650; }
.trainee-generation__header p { margin: 0; color: #73839a; font-size: 15px; }
.trainee-generation__count { padding: 8px 13px; border: 1px solid #cfdae7; border-radius: 999px; background: #fff; color: #647590; font-size: 13px; }

.trainee-card { height: 100%; overflow: hidden; border: 1px solid #dee7f0; border-radius: 23px; background: #fff; box-shadow: 0 12px 34px rgba(0,39,148,.045); transition: transform .25s ease, box-shadow .25s ease; }
.trainee-card:hover { transform: translateY(-7px); box-shadow: 0 25px 55px rgba(0,39,148,.11); }
.trainee-card__image { position: relative; height: 330px; overflow: hidden; background: #dce6f0; }
.trainee-card__image::after { position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent,rgba(0,17,61,.45)); content: ""; }
.trainee-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .4s ease; }
.trainee-card:hover .trainee-card__image img { transform: scale(1.035); }
.trainee-card__image > span { position: absolute; z-index: 1; right: 15px; bottom: 15px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(0,28,96,.65); color: #fff; font-size: 11px; font-weight: 650; backdrop-filter: blur(8px); }
.trainee-card__content { padding: 24px; }
.trainee-card__content > p { margin: 0 0 5px; color: #1168c8; font-size: 13px; font-weight: 650; }
.trainee-card__content h4 { min-height: 57px; margin: 0 0 19px; color: #143164; font-size: 20px; font-weight: 650; line-height: 1.45; }
.trainee-card__education { min-height: 112px; padding-top: 17px; border-top: 1px solid #e4ebf2; }
.trainee-card__education span { display: block; margin-bottom: 6px; color: #78879b; font-size: 12px; }
.trainee-card__education strong { display: block; color: #536681; font-size: 14px; font-weight: 550; line-height: 1.65; }
.trainee-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 17px; border-top: 1px solid #e4ebf2; }
.trainee-card__footer span { color: #8390a2; font-size: 12px; }
.trainee-card__footer strong { color: #002794; font-size: 21px; font-weight: 650; }
.trainee-empty { display: flex; min-height: 250px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin-top: 35px; padding: 50px 20px; border: 1px dashed #cbd8e5; border-radius: 20px; background: #fff; color: #6a7b93; text-align: center; }
.trainee-empty[hidden] { display: none; }
.trainee-empty strong { color: #17386f; font-size: 23px; font-weight: 650; }
.trainee-empty span { font-size: 15px; }

.trainee-cta { padding: 100px 0; background: #071c4d; }
.trainee-cta .trainee-kicker { color: #7fdaf3; }
.trainee-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.trainee-cta h2 { margin: 0; color: #fff; font-size: clamp(38px, 5vw, 62px); font-weight: 650; line-height: 1.23; letter-spacing: -.03em; }
.trainee-cta__inner > a { display: inline-flex; align-items: center; gap: 28px; flex: 0 0 auto; padding: 16px 20px 16px 25px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; }
.trainee-cta__inner > a:hover { background: #fff; color: #002794; }

@media (max-width: 991px) {
  .trainee-intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .trainee-directory__heading { align-items: flex-start; flex-direction: column; }
  .trainee-series-nav { grid-template-columns: 1fr 150px 1fr; }
  .trainee-series-nav__button { padding-inline: 20px; }
  .trainee-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
  .trainee-hero,
  .trainee-hero .container { min-height: 730px; }
  .trainee-hero__image::after { background: linear-gradient(90deg,rgba(0,20,76,.94),rgba(0,19,67,.68)),linear-gradient(0deg,rgba(0,18,64,.75),transparent); }
  .trainee-hero__content { padding: 60px 0 250px; }
  .trainee-hero h1 { font-size: 49px; }
  .trainee-hero__content > p:not(.trainee-kicker) { font-size: 17px; }
  .trainee-hero__stats { grid-template-columns: 1fr; padding: 10px 0; }
  .trainee-hero__stats > div,
  .trainee-hero__stats > div:first-child { min-height: 65px; padding: 10px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .trainee-hero__stats > div:last-child { border-bottom: 0; }
  .trainee-hero__stats strong { font-size: 28px; }
  .trainee-intro,
  .trainee-directory { padding: 78px 0; }
  .trainee-series-nav { grid-template-columns: 1fr 115px 1fr; margin-top: 40px; border-radius: 20px; }
  .trainee-series-nav__button { gap: 10px; padding: 16px 12px; }
  .trainee-series-nav__arrow { width: 34px; height: 34px; flex-basis: 34px; }
  .trainee-series-nav__button small { font-size: 10px; }
  .trainee-series-nav__button strong { font-size: 14px; }
  .trainee-series-nav__current { min-height: 108px; padding-inline: 6px; }
  .trainee-series-nav__select-wrap select { min-width: 50px; font-size: 34px; }
  .trainee-series-nav__current > small { font-size: 9px; }
  .trainee-generation { padding: 55px 0; }
  .trainee-generation__header,
  .trainee-skeleton__header { grid-template-columns: 82px 1fr; gap: 17px; }
  .trainee-generation__number { width: 76px; height: 76px; }
  .trainee-generation__number strong { font-size: 28px; }
  .trainee-generation__count { display: none; }
  .trainee-skeleton--circle { width: 76px; height: 76px; }
  .trainee-skeleton--badge { display: none; }
  .trainee-card__image { height: 380px; }
  .trainee-cta { padding: 75px 0; }
}

@media (max-width: 575px) {
  .trainee-hero h1 { font-size: 43px; }
  .trainee-hero__content > a { font-size: 14px; }
  .trainee-series-nav { grid-template-columns: 1fr 92px 1fr; margin-inline: -3px; }
  .trainee-series-nav__button { padding-inline: 9px; }
  .trainee-series-nav__button span:not(.trainee-series-nav__arrow) { min-width: 0; }
  .trainee-series-nav__arrow { width: 30px; height: 30px; flex-basis: 30px; font-size: 16px; }
  .trainee-series-nav__button small { display: none; }
  .trainee-series-nav__button strong { font-size: 12px; }
  .trainee-series-nav__current > span { font-size: 7px; }
  .trainee-series-nav__current > small { font-size: 8px; }
  .trainee-generation__header h3 { font-size: 24px; }
  .trainee-generation__header p { font-size: 13px; }
  .trainee-card__image { height: 410px; }
}

@media (prefers-reduced-motion: reduce) {
  .trainee-card,
  .trainee-card__image img,
  .trainee-series-nav__button { transition: none; }
  .trainee-skeleton::after { animation: none; }
}
