/* Same layout as the live Accommodatie hero; photo framing stays page-specific. */
:is(#page-jobs, #page-gallerij) > .page-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  margin-top: 68px;
  min-height: clamp(29rem, 35vw, 37rem);
  padding-block: 5.5rem clamp(2rem, 4vw, 3.5rem) !important;
}
#page-jobs > .page-banner { --hero-focal: 50% 5%; --hero-scrim: .91; }
#page-gallerij > .page-banner { --hero-focal: 50% 52%; --hero-scrim: .62; }
:is(#page-jobs, #page-gallerij) > .page-banner::before {
  inset: 0;
  background-color: #0a0608;
  background-image: inherit;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--hero-focal);
  animation: none;
}
:is(#page-jobs, #page-gallerij) > .page-banner::after {
  inset: 0;
  height: auto;
  opacity: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 6, 8, var(--hero-scrim)), rgba(10, 6, 8, 0) 51%);
}
:is(#page-jobs, #page-gallerij) .banner-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  background: none;
  -webkit-text-fill-color: #f6ead1;
  filter: none;
  text-shadow: 0 2px 8px #0a0608, 0 5px 26px #0a0608 !important;
}
:is(#page-jobs, #page-gallerij) .banner-title em {
  background: none;
  color: #f1ce84;
  -webkit-text-fill-color: #f1ce84;
  filter: none;
}
@media (max-width: 768px) {
  :is(#page-jobs, #page-gallerij) > .page-banner {
    margin-top: 60px;
    min-height: clamp(19rem, 79vw, 27rem);
    padding-block: 4.5rem 1.75rem !important;
  }
  :is(#page-jobs, #page-gallerij) .banner-title { font-size: clamp(1.7rem, 8vw, 3rem) !important; }
  #page-jobs > .page-banner { --hero-focal: 41% 0%; }
  #page-gallerij > .page-banner { --hero-focal: 55% 50%; }
}
