/*
  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 i {
  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(135deg, var(--vh-hero-start) 0%, var(--vh-hero-end) 100%);
  padding: 60px 25px;
}

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

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

.vd-subTitle {
  display: block;
  color: var(--vh-gray);
  font-weight: 600;
  margin-bottom: 10px;
}

.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 i {
  color: var(--vh-gray);
  transition: transform 0.2s ease-in-out;
}

.vd-accordionHeader.vh-open i {
  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: 25px;
}

.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 i {
  color: var(--vh-accent);
  width: 18px;
  text-align: center;
}

.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;
}

.vd-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
  color: var(--vh-gray);
  font-size: 13px;
}

.vd-rating i {
  color: #F5A623;
  font-size: 13px;
}

/* -- Waarom-grid -- */

.vd-whyCard {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 40px;
}

.vd-whyGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.vd-whyItem {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.vd-whyItem i {
  background: #EDF0FB;
  color: var(--vh-accent);
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.vd-why-kdv .vd-whyItem i {
  background: var(--vh-tag-kdv-bg);
  color: var(--vh-tag-kdv-text);
}

.vd-why-scholen .vd-whyItem i {
  background: var(--vh-tag-scholen-bg);
  color: var(--vh-tag-scholen-text);
}

.vd-why-bijles .vd-whyItem i {
  background: var(--vh-tag-bijles-bg);
  color: var(--vh-tag-bijles-text);
}

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

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

/* -- Hoe werkt het -- */

.vd-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vd-step {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 25px;
  color: #fff;
}

.vd-stepNumber {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--vh-hero-end);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 15px;
  display: none;
}

.vd-ctaCard h3, .vd-ctaCard .vd-subTitle {
  color: #000 !important;
}

.vd-step i {
  font-size: 20px;
  margin-bottom: 10px;
  display: block;
}

.vd-step h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.vd-step p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* -- Dagschema -- */

.vd-subTitle-orange {
  color: var(--vh-hero-end);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.vd-schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.vd-scheduleImageWrap {
  position: relative;
}

.vd-scheduleImageWrap::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  background: linear-gradient(135deg, var(--vh-hero-start) 0%, var(--vh-hero-end) 100%);
  border-radius: 16px;
  z-index: 0;
}

.vd-scheduleImage {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 16px;
}

.vd-scheduleList {
  background: #fff;
  border: 1px solid var(--vh-card-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.vd-scheduleItem {
  display: flex;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--vh-card-border);
}

.vd-scheduleItem:last-child {
  border-bottom: none;
}

.vd-scheduleItem span {
  color: var(--vh-hero-end);
  font-weight: 700;
  min-width: 55px;
}

/* -- Uitgelichte vacatures -- */

.vd-highlightedHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.vd-highlightedHeader h3 {
  margin: 0;
  color: #fff;
}

.vd-highlightedGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vd-jobCard {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
}

.vd-jobCard .vh-cardTitle {
  font-size: 17px;
}

.vd-jobCard .vh-cardMeta {
  gap: 15px;
  font-size: 13px;
}

/* -- Testimonials -- */

.vd-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.vd-photoCollage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.vd-photoCollage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.vd-photoCollage img:first-child {
  margin-top: 30px;
}

.vd-quoteName {
  color: var(--vh-gray);
  font-weight: 600;
  margin-bottom: 5px;
}

.vd-quoteText {
  font-size: 20px;
  font-weight: 600;
  color: #0b0b0b;
  margin: 0 0 20px;
}

.vd-quoteLink {
  color: var(--vh-accent);
  font-weight: 700;
  text-decoration: none;
}

.vd-quoteLink:hover {
  text-decoration: underline;
}

/* -- FAQ -- */

.vd-faqCard {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}

.vd-faqCard h3 {
  text-align: center;
}

.vd-faqIntro {
  color: var(--vh-gray);
  margin: 0 0 25px;
}

.vd-faqList {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.vd-faqMore {
  color: var(--vh-accent);
  font-weight: 600;
  text-decoration: none;
}

.vd-faqMore:hover {
  text-decoration: underline;
}

/* -- CTA + formulier -- */

.vd-ctaGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.vd-ctaImage {
  width: 100%;
  border-radius: 14px;
}

.vd-ctaCard {
  background: #fff;
  border-radius: 14px;
  padding: 35px;
}

.vd-ctaCard h3 {
  text-align: center;
}

.vd-ctaCard .vd-subTitle {
  text-align: center;
}

#masterJobApply {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#masterJobApply input,
#masterJobApply textarea {
  border: 1px solid var(--vh-card-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
}

#masterJobApply input[type="text"],
#masterJobApply input[type="email"],
#masterJobApply input[type="tel"] {
  border-radius: 150px;
}

#masterJobApply input[type="file"] {
  border: none;
  padding: 0;
}

#masterJobApply input[type="submit"] {
  background: var(--vh-accent);
  color: #fff;
  border: none;
  border-radius: 150px;
  padding: 13px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

#masterJobApply input[type="submit"]:hover {
  background: var(--vh-accent-hover);
}

/* -- 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,
  .vd-schedule,
  .vd-testimonials,
  .vd-ctaGrid {
    grid-template-columns: 1fr;
  }

  .vd-sideCard {
    position: static;
  }

  .vd-whyCard {
    padding: 25px;
  }

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

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

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

  .vd-scheduleImageWrap,
  .vd-ctaImage {
    order: -1;
  }
}

@media screen and (max-width: 600px) {
  .vd-steps {
    grid-template-columns: 1fr;
  }

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