/*
  Nieuwe styling voor de vacature-detailpagina's (vacatures_bijles.html,
  vacatures_scholen.html, vacatures_kdv.html). Losstaand van vacature.css /
  jobSearchForm.css (die niet meer gelinkt worden op deze pagina's) maar
  hergebruikt de --vh-* variabelen, tag-pills, hero-basis en footer uit
  vacatures-home.css (die dit bestand ervoor moet laden). Alle nieuwe
  klassen zijn met "vd-" geprefixt.
*/

html {
  scroll-behavior: smooth;
}

.vd-hero {
  padding: 20px 25px 40px;
  min-height: unset;
}

#divPageTitle h2 {
  font-size: 14px;
  font-weight: 500;
  color: #ffe6d1;
  margin-bottom: 10px;
}

#divPageTitle h1 {
  font-size: 34px;
  font-weight: 700;
}

.vd-heroTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

#divJobMeta {
  font-size: 15px;
}

#divJobMeta .ti {
  margin-right: 8px;
}

/* -- Section shells (vervangt .column-odd/.column-even/.column-content) -- */

.vd-sectionWhite,
.vd-sectionGray {
  padding: 60px 25px;
}

.vd-sectionWhite {
  background: #fff;
}

.vd-sectionGray {
  background: #f5f5f5;
}

.vd-sectionOrange {
  background: linear-gradient(to bottom right, #E66A2F 0%, #F17435 55%, #FAA739 100%) fixed !important;
  padding: 60px 25px;
}

.vd-sectionOrange h3,
.vd-sectionOrange .vd-subTitle {
  color: #fff;
}

.vd-section {
  max-width: 1140px;
  margin: 0 auto;
}

.vd-subTitle {
    display: block;
    color: #F17435;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 13px;
}

.vd-section h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0b0b0b;
  margin: 0 0 20px;
}

.vd-sectionOrange .vd-section h3 {
  color: #fff;
}

/* -- Intro + sidebar -- */

.vd-intro {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.vd-introImage {
  width: 100%;
  border-radius: 14px;
  margin-top: 25px;
  object-fit: cover;
  max-height: 320px;
}

.vd-accordion {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vd-accordion > li {
  background: #fff;
  border: 1px solid var(--vh-card-border);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.vd-accordionHeader {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #0b0b0b;
  cursor: pointer;
}

.vd-accordionHeader .ti {
  color: var(--vh-gray);
  transition: transform 0.2s ease-in-out;
}

.vd-accordionHeader.vh-open .ti {
  transform: rotate(180deg);
}

.vd-accordionBody {
  display: none;
  padding: 0 20px 20px;
  color: var(--vh-gray);
  line-height: 1.6;
}

.vd-accordionBody.vh-open {
  display: block;
}

.vd-accordionBody ul {
  padding-left: 20px;
  margin: 0;
}

.vd-sideCard {
  background: #fff;
  border: 1px solid var(--vh-card-border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 25px;
  position: sticky;
  top: 110px; /* onder het vastgezette hoofdmenu */
}

.vd-sideCard h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px;
}

.vd-sideCardSub {
  color: var(--vh-gray);
  font-size: 14px;
  margin: 0 0 20px;
}

.vd-sideCardMeta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.vd-sideCardMeta div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vd-sideCardMeta .ti {
  color: var(--vh-accent);
  width: 18px;
  height: 18px;
}

.vd-sideCardMeta span {
  display: block;
}

.vd-sideCardMeta small {
  display: block;
  color: var(--vh-gray);
  font-size: 12px;
}

.vd-applyBtn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: var(--vh-accent);
  color: #fff;
  border: none;
  border-radius: 150px;
  padding: 13px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  margin-bottom: 10px;
}

.vd-applyBtn:hover {
  background: var(--vh-accent-hover);
  cursor: pointer;
}

.vd-askBtn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  color: var(--vh-accent);
  border: 1px solid var(--vh-accent);
  border-radius: 150px;
  padding: 12px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.vd-askBtn:hover {
  background: #EDF0FB;
  cursor: pointer;
}



/* -- Media queries -- */

@media screen and (max-width: 1200px) {
  .vd-hero {
    padding: 25px 25px 35px;
  }

  .vd-sectionWhite,
  .vd-sectionGray,
  .vd-sectionOrange {
    padding: 40px 25px;
  }

  .vd-intro {
    grid-template-columns: 1fr;
  }

  .vd-sideCard {
    position: static;
  }
}
