.ck-mentors-page {
  --mentor-navy: #0a214c;
  --mentor-ink: #102650;
  --mentor-blue: #174db2;
  --mentor-muted: #4c6081;
  --mentor-line: #dce6f6;
  --mentor-pale: #f1f6ff;
  color: var(--mentor-ink);
}

.ck-mentors-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--mentor-navy);
}

.ck-mentors-hero-visual {
  position: absolute;
  inset: 0 0 0 19%;
  display: block;
  width: 81%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.ck-mentors-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, var(--mentor-navy) 19%, #0a214cf5 27%, #0a214cdf 39%, #0a214c77 54%, #0a214c0d 80%),
    linear-gradient(0deg, #081a3d56, transparent 45%);
  content: "";
  pointer-events: none;
}

.ck-mentors-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(38px, 4.4vw, 64px) 88px;
}

.ck-mentors-hero-copy { max-width: 545px; }
.ck-mentors-hero .ck-breadcrumb { margin: 0 0 25px; }
.ck-mentors-hero .ck-breadcrumb,
.ck-mentors-hero .ck-breadcrumb a { color: #d2e3ff; }
.ck-mentors-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 1.12;
  font-weight: 800;
}

.ck-mentors-hero-lead {
  margin: 18px 0 0;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
}

.ck-mentors-hero-desc { max-width: 37ch; margin: 14px 0 0; color: #d8e5fb; line-height: 1.8; }
.ck-mentors-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ck-mentors-secondary { background: #0a214c52; border-color: #a8c2e9; color: #fff; }
.ck-mentors-secondary:hover { background: #27558d; }
.ck-mentors-actions .ck-button { gap: 12px; padding-inline: 17px; }

.ck-mentors-illustration-note {
  margin: 12px 0 0;
  color: #c2d4f0;
  font-size: 11px;
}

.ck-mentors-matching figcaption {
  position: absolute;
  right: 12px;
  bottom: 9px;
  padding: 3px 8px;
  background: #102650cf;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
}

.ck-mentors-stats-wrap { position: relative; margin-top: -53px; }
.ck-mentors-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 24px 12px;
  border: 1px solid #e5edf9;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 15px 50px #10265013;
}

.ck-mentors-stats > div { display: flex; flex-direction: column-reverse; justify-content: start; gap: 6px; padding: 0 19px; }
.ck-mentors-stats > div + div { border-left: 1px solid var(--mentor-line); }
.ck-mentors-stats dd { margin: 0; font-size: clamp(23px, 3vw, 40px); color: #123171; font-weight: 800; line-height: 1.22; }
.ck-mentors-stats dt { color: var(--mentor-muted); font-size: 14px; }
.ck-mentors-source { margin: 15px 0 0; line-height: 1.65; color: var(--mentor-muted); font-size: 13px; }
.ck-mentors-source a { color: #134489; margin-left: 8px; text-decoration: underline; }

.ck-mentors-block { padding: 62px 0 4px; }
.ck-mentors-section-heading h2, .ck-mentors-matching h2 {
  margin: 0;
  font-size: clamp(27px, 3.8vw, 43px);
  line-height: 1.25;
  font-weight: 800;
}

.ck-mentors-section-heading p { max-width: 48ch; margin: 12px 0 0; line-height: 1.7; color: var(--mentor-muted); }
.ck-mentor-jump { display: flex; flex-wrap: wrap; gap: 7px 20px; margin: 16px 0 24px; }
.ck-mentor-jump a { color: var(--mentor-blue); border-bottom: 1px solid #b9cdeb; padding-block: 8px; font-size: 14px; }
.ck-mentor-jump a:hover { border-color: var(--mentor-blue); }
.ck-mentor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ck-mentor-direction {
  scroll-margin-top: 86px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--mentor-line);
  border-radius: 14px;
  background: #fff;
}

.ck-mentor-direction:target { border-color: #3e7ddb; box-shadow: 0 0 0 3px #dceaff; }
.ck-mentor-direction-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #174db2;
  background: var(--mentor-pale);
  border-radius: 8px;
}

.ck-mentor-direction-icon svg { width: 22px; height: 22px; }
.ck-mentor-direction h3 { margin: 13px 0 6px; font-size: 21px; line-height: 1.32; }
.ck-mentor-role-line { color: var(--mentor-blue); font-size: 13px; line-height: 1.5; font-weight: 650; }
.ck-mentor-direction p { margin: 12px 0; color: var(--mentor-muted); font-size: 14px; line-height: 1.7; }
.ck-mentor-direction h4 { margin: 0 0 6px; font-size: 14px; }
.ck-mentor-direction ul { margin: 0; padding-left: 18px; color: var(--mentor-muted); font-size: 14px; line-height: 1.65; }
.ck-mentor-direction li::marker { color: #3474c3; }

.ck-mentors-matching {
  margin-top: 66px;
  padding: 42px 0;
  border-block: 1px solid #e6eefc;
  background: #f4f8ff;
}

.ck-mentors-matching-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ck-mentors-matching figure { position: relative; overflow: hidden; min-width: 0; margin: 0; border-radius: 14px; background: #dce9fa; }
.ck-mentors-matching img { display: block; width: 100%; height: auto; }
.ck-mentors-matching ol { display: grid; gap: 12px; padding-left: 22px; margin: 20px 0; }
.ck-mentors-matching li::marker { color: var(--mentor-blue); font-weight: 700; }
.ck-mentors-matching h3 { margin: 0 0 3px; font-size: 16px; }
.ck-mentors-matching p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--mentor-muted); }

@media (max-width: 900px) {
  .ck-mentors-hero-copy { max-width: 460px; }
  .ck-mentor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-mentors-matching-inner { gap: 26px; }
}

@media (max-width: 660px) {
  .ck-mentors-hero { --mentor-image-height: clamp(235px, 73vw, 350px); }
  .ck-mentors-hero-visual, .ck-mentors-hero::before {
    inset: 0 0 auto;
    width: 100%;
    height: var(--mentor-image-height);
  }
  .ck-mentors-hero-visual { object-position: 58% 46%; }
  .ck-mentors-hero::before {
    background: linear-gradient(180deg, #0a214c0d 21%, #0a214c3d 38%, #0a214cd9 72%, var(--mentor-navy) 100%);
  }
  .ck-mentors-hero-inner { padding-block: clamp(145px, 45vw, 250px) 58px; }
  .ck-mentors-hero .ck-breadcrumb { margin-bottom: 14px; }
  .ck-mentors-stats-wrap { margin-top: -31px; }
  .ck-mentors-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 3px 5px; border-radius: 14px; }
  .ck-mentors-stats > div { padding: 13px 9px; }
  .ck-mentors-stats > div:nth-child(odd) { border-left: 0; }
  .ck-mentors-stats > div:nth-child(n + 3) { border-top: 1px solid var(--mentor-line); }
  .ck-mentors-stats dt { font-size: 12px; }
  .ck-mentors-block { padding-top: 43px; }
  .ck-mentors-matching { margin-top: 43px; padding-block: 31px; }
  .ck-mentors-matching-inner { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .ck-mentor-grid { grid-template-columns: 1fr; }
  .ck-mentor-direction { padding: 18px; }
  .ck-mentors-actions { gap: 9px; }
  .ck-mentors-actions .ck-button { width: 100%; }
}
