/*
  Nieuwe styling voor de vacature-overzichtspagina (filter.html), losstaand
  van de gedeelde header.css/footer.css/filter.css/jobSearchForm.css die de
  vacature-detailpagina's ook gebruiken. Alle nieuwe klassen zijn met "vh-"
  geprefixt zodat er geen overlap is met de bestaande selectors.
*/

:root {
  --vh-accent: #2E3F9E;
  --vh-accent-hover: #24337F;
  --vh-footer-navy: #12173A;
  --vh-hero-start: #F6A55D;
  --vh-hero-end: #E96B2C;
  --vh-badge-bg: #ffffff5c;
  --vh-badge-text: #fff;
  --vh-tag-kdv-bg: #EDE7FB;
  --vh-tag-kdv-text: #6C4FCE;
  --vh-tag-scholen-bg: #FDF1CC;
  --vh-tag-scholen-text: #96720A;
  --vh-tag-bijles-bg: #DCE8FE;
  --vh-tag-bijles-text: #2455D0;
  --vh-pill-bg: #F1F1F1;
  --vh-pill-text: #5B5B5B;
  --vh-card-border: #E8E8EF;
  --vh-gray: #787878;
}

/* -- Hero -- */
/* De topbalk (telefoon + Inloggen) hergebruikt bewust de bestaande
   #divPreNav-stijl uit header.css (witte tekst, rechts uitgelijnd,
   scheidingslijntjes) - alleen de inhoud (twee links) is aangepast in
   filter.html. */

header.vh-hero {
  background: linear-gradient(135deg, var(--vh-hero-start) 0%, var(--vh-hero-end) 100%);
  min-height: unset;
  padding: 25px 25px 100px;
}

header.vh-hero::after {
  content: none;
}

/* Nieuwe "Solliciteren"-knop in de desktop-nav (vervangt de oude roze
   #btnMainJobApply-stijl uit header.css; eigen klasse zodat ID-specificiteit
   van die oude regel er niet meer overheen kan winnen). */
.vh-navApplyBtn {
  background: var(--vh-accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 150px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.vh-navApplyBtn:hover {
  background: var(--vh-accent-hover);
  cursor: pointer;
  transition: 0.2s;
}

.divRow {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.vh-searchForm {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--vh-card-border);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    max-width: 1170px;
    margin: 0 auto;
    box-sizing: border-box;
    margin-top: -100px;
    z-index: 2;
    position: relative;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.vh-heroBadge {
  display: inline-flex;
  align-items: center;
  background: var(--vh-badge-bg);
  color: var(--vh-badge-text);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 150px;
  margin-bottom: 20px;
}

.vh-heroText {
  color: #fff9f2;
  max-width: 560px;
  margin-top: 15px;
  font-size: 17px;
  line-height: 1.5;
}

/* -- Search bar -- */

form.vh-searchForm {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 15px;
  align-items: center;
  background: #fff;
  max-width: 1170px;
  margin: -70px auto 0;
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}

.vh-searchField {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.vh-searchField i {
  position: absolute;
  left: 16px;
  color: var(--vh-gray);
  font-size: 14px;
  pointer-events: none;
}

.vh-searchField select,
.vh-searchField input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e2e2;
  border-radius: 150px;
  padding: 12px 16px 12px 42px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: #0b0b0b;
  appearance: none;
  background: #fff;
}

.vh-searchField input::placeholder {
  color: var(--vh-gray);
}

.vh-searchSubmitWrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

button.vh-searchSubmit {
  background: var(--vh-accent);
  color: #fff;
  border: none;
  border-radius: 150px;
  padding: 13px 26px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

button.vh-searchSubmit:hover {
  background: var(--vh-accent-hover);
  cursor: pointer;
  transition: 0.2s;
}

.vh-internalLink {
  color: var(--vh-hero-end);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.vh-internalLink:hover {
  text-decoration: underline;
  cursor: pointer;
}

.vh-searchTip {
  grid-column: 1 / -1;
  text-align: right;
  color: var(--vh-gray);
  font-size: 13px;
}

/* -- Layout -- */

section.vh-columns {
  display: grid;
  grid-template-columns: 320px 1fr;
  max-width: 1170px;
  margin: 50px auto 100px;
  gap: 30px;
  align-items: start;
}

/* -- Sidebar -- */

.vh-sidebar {
  background: #fff;
  border: 1px solid var(--vh-card-border);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 25px;
}

.vh-sidebarTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.vh-sidebarSubtitle {
  color: var(--vh-gray);
  font-size: 14px;
  margin: 5px 0 15px;
}

.vh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.vh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EDF0FB;
  color: var(--vh-accent);
  border: none;
  border-radius: 150px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.vh-chip:hover {
  background: #E1E6F8;
}

.vh-accordion {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--vh-card-border);
}

.vh-accordion > li {
  border-bottom: 1px solid var(--vh-card-border);
}

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

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

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

.vh-accordionBody {
  display: none;
  padding: 0 0 15px;
}

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

.vh-checkboxRow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
}

.vh-checkboxRow input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--vh-accent);
}

.vh-checkboxRow label {
  flex: 1;
  cursor: pointer;
}

.vh-checkboxCount {
  color: var(--vh-gray);
  font-size: 13px;
}

.vh-applyBtn {
  width: 100%;
  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;
  margin-top: 15px;
}

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

.vh-clearLink {
  display: block;
  text-align: center;
  color: var(--vh-gray);
  font-size: 14px;
  margin-top: 15px;
  text-decoration: none;
}

.vh-clearLink:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* -- Results -- */

.vh-resultsHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.vh-resultsHeader h2 {
  color: #0b0b0b;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.vh-sortSelect {
  border: 1px solid var(--vh-card-border);
  border-radius: 150px;
  padding: 8px 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  color: #0b0b0b;
  background: #fff;
  appearance: none;
}

.vh-jobList {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vh-card {
  background: #fff;
  border: 1px solid var(--vh-card-border);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 25px;
}

.vh-cardDate {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--vh-gray);
  font-size: 13px;
  margin-bottom: 8px;
}

.vh-cardDate i {
  color: #2E9E4F;
  font-size: 8px;
}

.vh-cardTitle {
  font-size: 20px;
  font-weight: 700;
  color: #0b0b0b;
  margin-bottom: 12px;
}

.vh-tagRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.vh-tag {
  display: inline-block;
  border-radius: 150px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}

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

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

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

.vh-tag.vh-tag-neutral {
  background: var(--vh-pill-bg);
  color: var(--vh-pill-text);
}

.vh-cardDescription {
  color: var(--vh-gray);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.vh-cardDivider {
  border: none;
  border-top: 1px solid var(--vh-card-border);
  margin-bottom: 15px;
}

.vh-cardMeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.vh-cardMeta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--vh-gray);
  font-size: 14px;
}

.vh-cardMeta i {
  color: var(--vh-hero-end);
}

.vh-cardCta {
  margin-left: auto;
}

.vh-viewBtn {
  background: #fff;
  color: var(--vh-accent);
  border: 1px solid var(--vh-accent);
  border-radius: 150px;
  padding: 10px 20px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vh-viewBtn:hover {
  background: var(--vh-accent);
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

/* -- Pagination -- */

ul.vh-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

ul.vh-pagination li a,
ul.vh-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #0b0b0b;
  text-decoration: none;
  font-size: 14px;
}

ul.vh-pagination li a:hover {
  background: #F1F1F1;
  cursor: pointer;
}

ul.vh-pagination li.vh-active span {
  background: var(--vh-accent);
  color: #fff;
  font-weight: 700;
}

ul.vh-pagination li.vh-disabled span {
  color: #ccc;
}

/* -- Footer -- */

footer.vh-footer {
  background: var(--vh-footer-navy);
  color: #A9AEC4;
  padding: 50px 25px 0;
}

.vh-footerTop {
  max-width: 1170px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}

.vh-footerBrand img {
  max-width: 160px;
  margin-bottom: 15px;
}

.vh-footerBrand p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 15px;
}

.vh-footerBrand strong {
  color: #fff;
}

.vh-footerCol h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 15px;
}

.vh-footerCol ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer.vh-footer a {
  color: #A9AEC4;
  text-decoration: none;
  font-size: 14px;
}

footer.vh-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.vh-footerContact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vh-socialRow {
  display: flex;
  gap: 10px;
}

.vh-socialRow a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.vh-socialRow a:hover {
  background: var(--vh-accent);
  text-decoration: none;
}

.vh-footerBottomBar {
  max-width: 1170px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
}

.vh-footerActions {
  display: flex;
  gap: 15px;
}

.vh-btnOutline,
.vh-btnFilled {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 150px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
}

.vh-btnOutline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: none;
  cursor: pointer;
}

.vh-btnOutline:hover {
  border-color: #fff;
}

.vh-btnFilled {
  background: var(--vh-accent);
  color: #fff;
}

.vh-btnFilled:hover {
  background: var(--vh-accent-hover);
}

.vh-footerLegal {
  max-width: 1170px;
  margin: 0 auto;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vh-footerLegal ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

/* -- Media queries -- */

@media screen and (max-width: 1200px) {
  header.vh-hero {
    padding: 30px 25px 90px;
  }

  form.vh-searchForm {
    grid-template-columns: 1fr;
    width: 95%;
    margin-top: -60px;
  }

  .vh-searchSubmitWrap {
    flex-direction: column;
    align-items: stretch;
  }

  .vh-internalLink {
    justify-content: center;
  }

  .vh-searchTip {
    text-align: left;
  }

  section.vh-columns {
    grid-template-columns: 1fr;
    width: 95%;
    margin-top: 40px;
  }

  .vh-filterToggle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--vh-gray);
    font-weight: 600;
    background: none;
    border: none;
    margin-bottom: 15px;
  }

  .vh-filterToggle:hover {
    cursor: pointer;
  }

  .vh-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 20;
    border-radius: 0;
    overflow-y: auto;
  }

  .vh-sidebar.vh-drawerOpen {
    display: block;
  }

  .vh-sidebarClose {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--vh-gray);
    font-size: 18px;
  }

  .vh-sidebarClose:hover {
    color: #000;
    cursor: pointer;
  }

  .vh-footerTop {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 1201px) {
  .vh-filterToggle,
  .vh-sidebarClose {
    display: none;
  }
}

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

  .vh-footerBottomBar,
  .vh-footerLegal {
    flex-direction: column;
    align-items: flex-start;
  }
}
