/* -- Uitgelichte vacatures: 3 kaarten op de oranje sectie -- */
/* Achtergrond, verticale ruimte en zijmarges komen van de omliggende .vd-sectionOrange */

.vc-wrapper {
  --text-primary: #111827;     /* text/primary */
  --text-secondary: #4B5563;   /* text/secondary */
  --btn-bg: #3450BF;           /* button/primary/bg */
  --btn-bg-hover: #4362D2;     /* button/primary/bg-hover */
  box-sizing: border-box;
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 0;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
}
.vc-wrapper *, .vc-wrapper *::before, .vc-wrapper *::after { box-sizing: border-box; }

.vc-wrapper .vc-heading {
  margin: 0 0 48px;
  font-family: inherit;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: #FFFFFF;
}

/* Kaarten */
.vc-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ook netjes bij 1 of 2 uitgelichte vacatures */
  gap: 32px;
}
.vc-card {
  flex: 0 1 calc((100% - 64px) / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
@media (hover: hover) {
  .vc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0, 0, 0, .16); }
}

.vc-badge {
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
/* Zelfde sectorkleuren als de tags in het vacature-overzicht */
.vc-badge-purple { background: #EDE7FB; color: #6C4FCE; }
.vc-badge-yellow { background: #FDF1CC; color: #96720A; }
.vc-badge-blue { background: #DCE8FE; color: #2455D0; }

.vc-wrapper .vc-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5em; /* titels van 1 of 2 regels lijnen uit */
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}
.vc-desc {
  flex-grow: 1;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.vc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-secondary);
}
.vc-meta-location { display: inline-flex; align-items: center; gap: 6px; }
.vc-meta-pin { font-size: 16px; color: var(--icon-brand, #F17435); }
.vc-meta-price { font-weight: 700; color: var(--text-primary); }
.vc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--btn-bg);
  text-decoration: none;
}
.vc-link .ti { transition: transform .2s; }
.vc-link:hover { color: var(--btn-bg-hover); }
.vc-link:hover .ti { transform: translateX(3px); }
.vc-link:focus-visible { outline: 3px solid var(--btn-bg); outline-offset: 3px; border-radius: 4px; }

/* Knop onder de kaarten */
.vc-actions { margin-top: 48px; text-align: center; }
.vc-all {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 9999px;
  background: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
  transition: background .2s;
}
.vc-all:hover { background: #FFF3EE; }
.vc-all:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }

/* Tablet: 2 kolommen */
@media (max-width: 1024px) {
  .vc-wrapper { padding: 32px 0; }
  .vc-cards { gap: 24px; }
  .vc-card { flex-basis: calc((100% - 24px) / 2); }
}

/* Mobiel: kaarten onder elkaar, knop over de volle breedte */
@media (max-width: 767px) {
  .vc-wrapper { padding: 16px 0; }
  .vc-wrapper .vc-heading { margin-bottom: 24px; font-size: 26px; text-align: left; }
  .vc-cards { gap: 20px; }
  .vc-card { flex-basis: 100%; padding: 28px 24px; }
  .vc-wrapper .vc-title { min-height: 0; font-size: 24px; }
  .vc-actions { margin-top: 28px; }
  .vc-all { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .vc-card, .vc-link .ti, .vc-all { transition: none; }
}
