/* Kreeft v4 header strips — mockup ~225px desktop, ~105px mobile (PR #878). */

:root {
  --cand-header-strip-h-desktop: 225px;
  --cand-header-strip-h-mobile: 105px;
  --kreeft-strip-bleed: calc(50% - 50vw);
  --hero-d: var(--cand-header-strip-h-desktop);
  --hero-m: var(--cand-header-strip-h-mobile);
  --kb-header-strip-h: var(--cand-header-strip-h-desktop);
  --sollic-hero-h: var(--cand-header-strip-h-desktop);
}

@media (max-width: 639px) {
  :root {
    --hero-d: var(--cand-header-strip-h-mobile);
    --kb-header-strip-h: var(--cand-header-strip-h-mobile);
    --sollic-hero-h: var(--cand-header-strip-h-mobile);
  }
}

.cand-header-strip-h {
  display: block;
  width: 100%;
  overflow: hidden;
  height: var(--cand-header-strip-h-desktop);
  min-height: var(--cand-header-strip-h-desktop);
  max-height: var(--cand-header-strip-h-desktop);
}

@media (max-width: 639px) {
  .cand-header-strip-h {
    height: var(--cand-header-strip-h-mobile);
    min-height: var(--cand-header-strip-h-mobile);
    max-height: var(--cand-header-strip-h-mobile);
  }
}

.sollicitaties-hero-strip,
.sollicitaties-page-wrap .sollicitaties-hero-strip,
.rustig-hero.kb-nearby-banner--strip,
.kb-banenkaart-header-strip,
.kb-nearby-banner--strip-wide.kb-banenkaart-header-strip,
.app-shell--banenkaart-shell .jobsy-discovery--lagen > .rustig-hero,
.app-shell--banenkaart-shell .jobsy-discovery[data-banenkaart-ssr="1"] > .kb-nearby-banner--strip,
.app-shell--banenkaart-shell .jobsy-discovery--lagen > .kb-nearby-banner--strip {
  box-sizing: border-box;
  height: var(--cand-header-strip-h-desktop);
  min-height: var(--cand-header-strip-h-desktop);
  max-height: var(--cand-header-strip-h-desktop);
  overflow: hidden;
}

@media (max-width: 639px) {
  .sollicitaties-hero-strip,
  .sollicitaties-page-wrap .sollicitaties-hero-strip,
  .rustig-hero.kb-nearby-banner--strip,
  .kb-banenkaart-header-strip,
  .kb-nearby-banner--strip-wide.kb-banenkaart-header-strip,
  .app-shell--banenkaart-shell .jobsy-discovery--lagen > .rustig-hero,
  .app-shell--banenkaart-shell .jobsy-discovery[data-banenkaart-ssr="1"] > .kb-nearby-banner--strip,
  .app-shell--banenkaart-shell .jobsy-discovery--lagen > .kb-nearby-banner--strip {
    height: var(--cand-header-strip-h-mobile);
    min-height: var(--cand-header-strip-h-mobile);
    max-height: var(--cand-header-strip-h-mobile);
  }
}

.sollicitaties-hero-strip,
.kreeft-header-strip {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  background-repeat: no-repeat;
}

.passport-page-wrap > .sollicitaties-hero-strip,
.passport-page-wrap > .kreeft-header-strip,
.kompas-hub-page-wrap > .sollicitaties-hero-strip,
.kompas-hub-page-wrap > .kreeft-header-strip,
.kompas-page-wrap > .sollicitaties-hero-strip,
.kompas-page-wrap > .kreeft-header-strip,
.ob-wizard--rustig > .ob-rustig > .ob-rustig__hero-band,
.ob-wizard--rustig > .ob-rustig > .ob-rustig__illustrated-frame,
.err-hero--kreeft-strip > .sollicitaties-hero-strip,
.pub-landing__hero--kreeft-strip > .pub-landing__kreeft-strip {
  width: 100vw;
  max-width: 100vw;
  margin-inline: var(--kreeft-strip-bleed);
  border-radius: 0;
}

.app-shell--banenkaart-shell .jobsy-discovery[data-banenkaart-ssr="1"] > .kb-banenkaart-header-strip,
.app-shell--banenkaart-shell .jobsy-discovery[data-banenkaart-ssr="1"] > .kreeft-header-strip,
.app-shell--banenkaart-shell .jobsy-discovery--lagen > .kb-banenkaart-header-strip {
  width: 100vw;
  max-width: 100vw;
  margin-inline: var(--kreeft-strip-bleed);
  border-radius: 0;
}

.ob-wizard--rustig .ob-rustig__hero-band {
  block-size: var(--cand-header-strip-h-mobile);
  max-block-size: var(--cand-header-strip-h-mobile);
}

@media (min-width: 640px) {
  .ob-wizard--rustig .ob-rustig__hero-band {
    block-size: var(--cand-header-strip-h-desktop);
    max-block-size: var(--cand-header-strip-h-desktop);
  }
}

.sollicitaties-hero-strip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sollicitaties-hero-strip .sollicitaties-hero-strip__img,
.rustig-hero.kb-nearby-banner--strip img,
.kb-banenkaart-header-strip__img,
.kb-banenkaart-header-strip__inner picture,
.kb-banenkaart-header-strip__inner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--kreeft-strip-pos, center center);
  background: none;
  background-repeat: no-repeat;
}

.sollicitaties-hero-strip .sollicitaties-hero-strip__img.desk,
.kreeft-header-strip .sollicitaties-hero-strip__img.desk {
  object-position: var(--kreeft-strip-pos, center 46%);
}

.sollicitaties-hero-strip .sollicitaties-hero-strip__img.mob,
.kreeft-header-strip .sollicitaties-hero-strip__img.mob {
  display: none;
  object-position: var(--kreeft-strip-pos, center 55%);
}

@media (max-width: 639px) {
  .sollicitaties-hero-strip .sollicitaties-hero-strip__img.desk,
  .kreeft-header-strip .sollicitaties-hero-strip__img.desk {
    display: none;
  }

  .sollicitaties-hero-strip .sollicitaties-hero-strip__img.mob,
  .kreeft-header-strip .sollicitaties-hero-strip__img.mob {
    display: block;
  }
}

@media (min-width: 640px) {
  .sollicitaties-hero-strip .sollicitaties-hero-strip__img.desk,
  .kreeft-header-strip .sollicitaties-hero-strip__img.desk {
    display: block;
  }

  .sollicitaties-hero-strip .sollicitaties-hero-strip__img.mob,
  .kreeft-header-strip .sollicitaties-hero-strip__img.mob {
    display: none;
  }
}

@media (min-width: 640px) {
  .cand-hero,
  header.cand-compact-hero.cand-hero--compact-preview-c {
    min-height: var(--cand-header-strip-h-desktop);
    height: var(--cand-header-strip-h-desktop);
    max-height: var(--cand-header-strip-h-desktop);
  }
}

.passport-ssr-greeting,
.carriere-ssr-intro,
.kompas-greeting-band,
.saved-ssr-intro {
  padding: 1rem 1.25rem 0.75rem;
  max-width: 72rem;
  margin-inline: auto;
}

.passport-ssr-greeting__title,
.kompas-greeting-band__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--brand);
}

.passport-ssr-greeting__lead,
.kompas-greeting-band__lead,
.carriere-ssr-intro__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 48rem;
}

.carriere-ssr-intro__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.app-shell--candidate:has(.kompas-page-wrap) .app-main__content,
.app-shell--candidate:has(.kompas-page-wrap) .panel-page.profile-page--candidate {
  padding-top: 0;
}

.kompas-page-wrap > .kreeft-header-strip,
.kompas-page-wrap > .sollicitaties-hero-strip {
  margin-top: 0;
}

.kompas-page-wrap > .kreeft-header-strip[data-kreeft-strip="licht-kompas"] .sollicitaties-hero-strip__img.desk {
  object-position: 50% 42%;
}

.passport-page-wrap .sollicitaties-hero-strip,
.career-page-wrap .sollicitaties-hero-strip,
.kompas-page-wrap .sollicitaties-hero-strip,
.saved-page-wrap .sollicitaties-hero-strip {
  max-width: none;
}

@media (max-width: 900px) {
  .kompas-page-wrap .kompas--ssr-hub > .kompas-hub-layout__reiskaart {
    margin-block: 0 1rem;
  }

  .kompas-page-wrap .kompas--ssr-hub > .kompas__intro--hub-mockup {
    margin-block-start: 0;
  }
}

@media (min-width: 901px) {
  .kompas-page-wrap .kompas--ssr-hub > .kompas__intro {
    padding-block-start: 1.5rem;
  }

  .kompas-page-wrap .kompas--ssr-hub > .kompas-hub-layout__reiskaart {
    margin-block-start: 10px;
  }
}

.kompas__intro--hub-mockup .kompas__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.kompas__intro--hub-mockup .kompas__heading {
  margin: 0 0 0.35rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--brand);
}

.kompas__intro--hub-mockup .kompas__lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 48rem;
}

.kompas--ssr-hub .kompas-tabs {
  margin-block-start: 0;
}

.kompas__eyebrow-zone {
  color: var(--coral, #f54a1b);
  font-weight: 700;
}

.kompas--ssr-hub .kompas--ssr-body {
  margin-block-start: 0;
}

.kompas--ssr-hub .ob-rustig__kompas-tests--hub-mockup {
  margin-block-start: 0;
}

@media (max-width: 639px) {
  .panel-page--cand-ill .cand-hero,
  .passport-page--illustrated .cand-hero,
  .career-page--illustrated .cand-hero,
  .cand-hero--with-art,
  header.cand-compact-hero.cand-hero--compact-preview-c,
  .journey.journey--overview-route > header.cand-hero--discovery-overview-v8.cand-compact-hero,
  .journey.journey--overview-route > header.cand-hero--discovery-overview-v8 {
    min-height: var(--cand-header-strip-h-mobile) !important;
    height: var(--cand-header-strip-h-mobile) !important;
    max-height: var(--cand-header-strip-h-mobile) !important;
  }
}
