/* Wrapper + grid */
.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 700px;
  overflow: hidden;
  position: relative;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_container h1{
  font-weight:350;
}

/* Linkerkolom achtergrondafbeelding */
.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_left {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
}

.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_left:after {
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  background: linear-gradient(90deg, rgba(28, 28, 28, 0.00) 42.88%, #1C1C1C 95.76%);
  inset: 0;
  display: block;
  pointer-events: none;
}

/* Rechterkolom */
.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  padding: 80px 20px;
  position: relative;
  z-index: 2;
  background: var(--Grey-stone, #1C1C1C);
  color: #fff;
}


.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_right p{
  margin-bottom:0;
}

/* Nieuwe H1 met twee spans */
.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_right .archief_hero_title {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  width: 100%;
  font-weight: 450;
  line-height: 1;
  margin-bottom: 0;
  color: #fff;
}

.archief_hero_title-tekst{
  font-weight:550;
}

/* (optioneel) als de taxonomy-span een link is */
.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_right .archief_hero_title .archief_hero_title-taxonomie a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_right .archief_hero_title .archief_hero_title-taxonomie a:hover {
  border-bottom-color: rgba(255,255,255,.6);
}

/* Buttons */
.fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

/* Responsive */
@media screen and (max-width: 992px) {
  .fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_container {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_left {
    min-height: 400px;
  }

  .fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_right {
    background: #1C1C1C;
    padding: 40px 20px;
  }

  .fl-page #pk_flex_content .flex_layout.archief_hero_functie .flex_layout_wrapper .archief_hero_left:after {
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.00) 42.88%, #1C1C1C 95.76%);
  }
}
