/* Shared masthead rhythm for the primary navigation pages. */
:root { --ck-nav-hero-height: 430px; }
@media (max-width: 760px) {
  :root { --ck-nav-hero-height: 360px; }
}

.ck-jobs-hero {
  display: grid;
  align-items: center;
  min-height: var(--ck-nav-hero-height);
}
.ck-jobs-hero-inner { padding-block: 32px; }
.ck-jobs-hero h1 { font-size: clamp(42px, 4.6vw, 68px); }
.ck-jobs-hero::before {
  width: min(58%, 680px);
  background-position: left top, center top;
}
@media (max-width: 760px) {
  .ck-jobs-hero::before {
    width: min(83%, 480px);
    background-image: linear-gradient(90deg, #051a40, rgba(5, 26, 64, .82) 24%, rgba(5, 26, 64, .08) 82%), url("./recruitment-building-hd.webp");
    background-position: left top, 65% top;
  }
  .ck-jobs-hero h1 { max-width: 100%; font-size: clamp(34px, 8vw, 48px); }
  .ck-jobs-hero p { max-width: min(65%, 28em); }
}
.ck-home-banner {
  display: grid;
  align-items: center;
  min-height: var(--ck-nav-hero-height);
  padding: 24px 0 64px;
  background: linear-gradient(120deg, #082760, #0e4397);
}
.ck-home-banner::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: min(100%, 1380px);
  background: url("./hero-brand-v2.webp") center 32% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 23%);
  mask-image: linear-gradient(90deg, transparent, #000 23%);
}
@media (min-width: 761px) {
  .ck-home-banner h1 { font-size: clamp(29px, 3.15vw, 44px); }
  .ck-home-banner h1 > span { font-size: clamp(55px, 5.5vw, 76px); }
  .ck-home-banner p { font-size: clamp(16px, 1.6vw, 22px); }
}
@media (max-width: 760px) {
  .ck-home-banner { align-items: start; padding: 30px 0 50px; }
  .ck-home-banner::before {
    width: 100%;
    background-position: 86% 72%;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,.38) 58%, rgba(0,0,0,.92));
    mask-image: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,.38) 58%, rgba(0,0,0,.92));
  }
  .ck-home-banner h1 { max-width: 100%; font-size: clamp(21px, 5.6vw, 30px); }
  .ck-home-banner h1 > span { font-size: clamp(44px, 10vw, 58px); margin-bottom: 6px; }
  .ck-home-banner p { max-width: min(90%, 28em); font-size: 15px; line-height: 1.65; }
  .ck-home-banner .ck-banner-actions { gap: 10px; margin-top: 20px; }
  .ck-home-banner .ck-banner-actions .ck-button { min-height: 44px; gap: 8px; padding: 10px 12px; font-size: 14px; }
}
.ck-mentors-hero,
.ck-services-hero,
.ck-cases-banner {
  display: grid;
  align-items: center;
  min-height: var(--ck-nav-hero-height);
}

.ck-mentors-hero-inner,
.ck-services-hero-inner,
.ck-cases-intro {
  padding-block: 26px 62px;
}

.ck-mentors-hero { --mentor-photo-width: min(70%, 1050px); }
.ck-services-hero { --services-photo-width: min(68%, 1020px); }
.ck-mentors-hero-visual { object-position: 50% 41%; }
.ck-services-hero-image { object-position: 56% 47%; }
.ck-cases-banner::before {
  width: min(79%, 1190px);
  background-position: center, right 46%;
}

.ck-mentors-hero .ck-breadcrumb,
.ck-services-hero .ck-breadcrumb,
.ck-cases-intro .ck-breadcrumb { margin: 0 0 16px; }

.ck-mentors-hero h1,
.ck-services-hero h1,
.ck-cases-intro h1 {
  margin: 0;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.13;
}

.ck-mentors-hero-lead,
.ck-services-hero-lead {
  margin: 14px 0 0;
  font-size: clamp(21px, 2vw, 30px);
}
.ck-cases-intro > p { margin-top: 18px; }

.ck-mentors-actions,
.ck-services-hero-actions,
.ck-cases-actions { margin-top: 21px; }

@media (max-width: 760px) {
  .ck-mentors-hero,
  .ck-services-hero,
  .ck-cases-banner { align-items: end; }

  .ck-mentors-hero-inner,
  .ck-services-hero-inner,
  .ck-cases-intro { padding-block: 26px 49px; }

  .ck-mentors-hero-visual, .ck-services-hero-image,
  .ck-mentors-hero::before, .ck-services-hero::before {
    inset: 0 0 auto auto;
    width: min(100%, 580px);
    height: 72%;
  }
  .ck-mentors-hero-visual { object-position: center 37%; }
  .ck-services-hero-image { object-position: 70% 54%; }
  .ck-mentors-hero::before {
    background: linear-gradient(0deg, var(--mentor-navy), #0a214c28 74%),
      linear-gradient(90deg, var(--mentor-navy), #0a214cb3 35%, #0a214c12 77%);
  }
  .ck-services-hero::before {
    background: linear-gradient(0deg, var(--services-navy), #0b234e14 73%),
      linear-gradient(90deg, var(--services-navy), #0b234eb3 35%, #0b234e12 77%);
  }
  .ck-cases-banner::before {
    width: 100%;
    background-image: linear-gradient(90deg, #09264df5, #09264dba 49%, #09264d40), url("./career-city.webp");
    background-position: center, 71% center;
  }
  .ck-mentors-hero .ck-breadcrumb, .ck-services-hero .ck-breadcrumb,
  .ck-cases-intro .ck-breadcrumb { margin-bottom: 10px; }

  .ck-mentors-hero h1, .ck-services-hero h1, .ck-cases-intro h1 {
    font-size: clamp(38px, 8vw, 48px);
  }

  .ck-mentors-hero-lead, .ck-services-hero-lead { margin-top: 9px; font-size: 20px; }
  .ck-mentors-hero-desc, .ck-services-hero-description, .ck-cases-intro > p {
    max-width: 29em;
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.65;
  }
  .ck-mentors-actions, .ck-services-hero-actions, .ck-cases-actions {
    margin-top: 16px;
    gap: 8px;
  }
  .ck-mentors-actions .ck-button, .ck-services-hero-actions .ck-button, .ck-cases-actions .ck-button {
    width: auto;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 14px;
    gap: 6px;
  }
}

@media (min-width: 761px) {
  .ck-mentors-hero-inner { padding-top: 20px; }
}
@media (max-width: 360px) {
  .ck-mentors-actions .ck-button,
  .ck-services-hero-actions .ck-button,
  .ck-cases-actions .ck-button { padding-inline: 8px; gap: 4px; font-size: 13px; }
  .ck-mentors-actions .ck-icon, .ck-services-hero-actions .ck-icon, .ck-cases-actions .ck-icon { width: 16px; }
  .ck-mentors-hero-inner, .ck-services-hero-inner, .ck-cases-intro { padding-top: 18px; }
}
.ck-editorial-hero,
.ck-about-page .ck-page-hero {
  --hero-navy: #0a214c;
  --hero-art-width: clamp(450px, 67vw, 1000px);
  min-height: var(--ck-nav-hero-height);
}
.ck-editorial-hero .ck-editorial-hero-image,
.ck-editorial-hero::before,
.ck-about-page .ck-page-hero::before {
  inset: 0 0 0 auto;
  width: var(--hero-art-width);
  height: 100%;
}
.ck-editorial-hero .ck-editorial-hero-image {
  object-fit: cover;
  object-position: 66% 35%;
}
.ck-editorial-hero--ck_guide .ck-editorial-hero-image { object-position: 68% 17%; }
.ck-editorial-hero::before {
  background: linear-gradient(90deg, var(--hero-navy), rgba(10,33,76,.90) 10%, rgba(10,33,76,.45) 34%, rgba(10,33,76,.05) 62%, transparent 85%);
}
.ck-editorial-hero .ck-editorial-hero-inner {
  min-height: var(--ck-nav-hero-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 38px;
}
.ck-editorial-hero .ck-editorial-hero-intro { max-width: min(25em, 46%); text-wrap: pretty; }
.ck-about-page .ck-page-hero {
  background: var(--hero-navy);
  display: grid;
  align-items: center;
  padding: 30px 0 58px;
}
.ck-about-page .ck-page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  opacity: 1;
  background: linear-gradient(90deg, var(--hero-navy), rgba(10,33,76,.76) 13%, rgba(10,33,76,.12) 48%, transparent 72%), url("./brand-cover.webp") center 52% / cover no-repeat;
}
.ck-about-page .ck-page-hero .ck-shell > * { max-width: 54%; }
.ck-about-page .ck-page-hero h1,
.ck-editorial-hero h1 { font-size: clamp(42px, 4vw, 64px); line-height: 1.15; }
.ck-about-page .ck-page-hero h2 { font-size: clamp(22px, 2vw, 30px); }
.ck-about-page .ck-page-hero p:last-child { font-size: clamp(15px, 1.35vw, 19px); }

@media (max-width: 760px) {
  .ck-editorial-hero .ck-editorial-hero-image,
  .ck-editorial-hero::before,
  .ck-about-page .ck-page-hero::before {
    inset: 0 0 auto;
    width: 100%;
    height: 100%;
  }
  .ck-editorial-hero .ck-editorial-hero-image {
    height: 77%;
    object-position: center 39%;
  }
  .ck-editorial-hero--ck_guide .ck-editorial-hero-image { object-position: center 23%; }
  .ck-editorial-hero::before {
    background: linear-gradient(0deg, var(--hero-navy) 17%, rgba(10,33,76,.98) 24%, rgba(10,33,76,.74) 41%, rgba(10,33,76,.18) 64%, transparent 85%);
  }
  .ck-editorial-hero .ck-editorial-hero-inner {
    justify-content: flex-end;
    padding-block: 22px 26px;
  }
  .ck-editorial-hero .ck-editorial-hero-intro {
    max-width: min(32em,100%);
    font-size: 15px;
    margin-top: 10px;
  }
  .ck-about-page .ck-page-hero {
    align-items: end;
    padding: 18px 0 55px;
  }
  .ck-about-page .ck-page-hero::before {
    background: linear-gradient(0deg, var(--hero-navy) 5%, rgba(10,33,76,.91) 31%, rgba(10,33,76,.36) 56%, rgba(10,33,76,.03) 81%), url("./brand-cover.webp") right 36% / cover no-repeat;
  }
  .ck-about-page .ck-page-hero .ck-shell > * { max-width: 100%; }
  .ck-about-page .ck-page-hero h1,
  .ck-editorial-hero h1 { font-size: clamp(36px, 7vw, 46px); }
  .ck-about-page .ck-page-hero h2 { font-size: 21px; }
  .ck-about-page .ck-page-hero .ck-kicker { margin: 0 0 7px; }
  .ck-about-page .ck-page-hero p:last-child { font-size: 14px; }
}
