/* Volta Portfolio Jobs — follows docs/jobs/stijlgids.md.
   Colours and type come from the site's Elementor globals (var(--e-global-…)), hard values only as fallback,
   so the page follows any change to the house style. Everything is scoped under .vpj-root. No web fonts are
   loaded here: the site already declares FFF Acid Grotesk (@font-face in the Elementor kit). */

.vpj-root {
  --vpj-ink:   var(--e-global-color-text, #132E23);
  --vpj-brand: var(--e-global-color-secondary, #411740);
  --vpj-lime:  var(--e-global-color-primary, #CFF09D);
  --vpj-lilac: var(--e-global-color-d56b8b9, #D3CCFF);
  --vpj-light: var(--e-global-color-5510552, #F4F4F4);
  --vpj-white: var(--e-global-color-e7bc406, #FFFFFF);
  --vpj-line:  rgba(19, 46, 35, .15);
  --vpj-muted: rgba(19, 46, 35, .72);
  font-family: var(--e-global-typography-text-font-family, "FFF Acid Grotesk"), Arial, sans-serif;
  font-size: var(--e-global-typography-text-font-size, 16px);
  line-height: var(--e-global-typography-text-line-height, 26px);
  font-weight: 400;
  color: var(--vpj-ink);
  max-width: 1400px;
  margin: 0 auto;
}
.vpj-root *, .vpj-root *::before, .vpj-root *::after { box-sizing: border-box; }
.vpj-root [hidden] { display: none !important; }
.vpj-section { padding: 0 80px; }
.vpj-head { padding-top: 60px; padding-bottom: 30px; }

/* Eyebrow, as the "Jobs" label on the homepage */
.vpj-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: var(--vpj-lilac); border-radius: 5px;
  padding: 4px 10px; font-size: 14px; line-height: 20px; }
.vpj-eyebrow-dot { width: 16px; height: 16px; border-radius: 6px; background: var(--vpj-ink); }

.vpj-title { font-family: inherit; font-weight: 400; font-size: 60px; line-height: 65px; margin: 30px 0 20px; color: var(--vpj-ink); }
.vpj-count { font-size: var(--e-global-typography-0e68765-font-size, 24px); line-height: var(--e-global-typography-0e68765-line-height, 28px); margin: 0 0 10px; }
.vpj-count strong { font-weight: 700; }
.vpj-sub { margin: 0; max-width: 640px; color: var(--vpj-muted); }

/* Filters */
.vpj-filters { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: flex-end; padding-bottom: 30px; }
.vpj-field { display: flex; flex-direction: column; gap: 4px; flex: 0 1 200px; min-width: 0; }
.vpj-field-q { flex: 1 1 260px; }
.vpj-field label { font-size: 14px; line-height: 20px; }
.vpj-field input, .vpj-field select {
  font: inherit; font-size: 16px; color: var(--vpj-ink); background: var(--vpj-white);
  border: 1px solid var(--vpj-ink); border-radius: 5px; padding: 8px 10px; min-height: 42px; width: 100%;
}
.vpj-actions { display: flex; align-items: center; gap: 20px; min-height: 42px; }
.vpj-clear { color: var(--vpj-ink); font-size: 14px; }

/* Outline button with the separate arrow box (homepage "Contact us!", stijlgids §5) */
.vpj-btn { display: inline-flex; align-items: stretch; text-decoration: none !important; color: var(--vpj-ink);
  font: inherit; font-size: 14px; line-height: 20px; background: none; border: 0; padding: 0; cursor: pointer; flex: none; }
.vpj-btn > span { border: 1px solid var(--vpj-ink); border-radius: 5px; padding: 5px 10px; transition: background-color .3s, color .3s; }
.vpj-btn > .vpj-btn-arrow { box-sizing: content-box; border: 1px solid var(--vpj-ink); border-radius: 4px; width: 6px; height: 10px;
  padding: 10px 12px; margin-left: -1px; transition: background-color .3s, color .3s; }
.vpj-btn:hover > span, .vpj-btn:hover > .vpj-btn-arrow,
.vpj-btn:focus-visible > span, .vpj-btn:focus-visible > .vpj-btn-arrow { background: var(--vpj-ink); color: var(--vpj-white); }
.vpj-root a:focus-visible, .vpj-root button:focus-visible, .vpj-root input:focus-visible, .vpj-root select:focus-visible {
  outline: 2px solid var(--vpj-brand); outline-offset: 2px; }

/* List and map */
.vpj-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: 40px; align-items: start; padding-bottom: 40px; }
.vpj-list { display: flex; flex-direction: column; gap: 20px; }
.vpj-map { position: sticky; top: 100px; }

.vpj-card { background: var(--vpj-white); border: 1px solid var(--vpj-line); border-radius: 10px; padding: 20px; }
.vpj-card.vpj-selected { border-color: var(--vpj-brand); box-shadow: inset 0 0 0 1px var(--vpj-brand); }
.vpj-card-head { display: flex; align-items: center; gap: 15px; }
.vpj-logo { width: 120px; height: 40px; object-fit: contain; object-position: left center; flex: none; }
.vpj-logo-letter { width: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--vpj-light);
  font-size: 20px; font-weight: 700; }
.vpj-card-name { font-family: inherit; font-weight: 400; font-size: var(--e-global-typography-0e68765-font-size, 24px);
  line-height: var(--e-global-typography-0e68765-line-height, 28px); margin: 0; color: var(--vpj-ink); }
.vpj-card-place { margin: 0; font-size: 14px; line-height: 20px; color: var(--vpj-muted); }
.vpj-onmap { margin-left: auto; font: inherit; font-size: 14px; color: var(--vpj-ink); background: none; border: 0;
  text-decoration: underline; cursor: pointer; padding: 4px; }
.vpj-card-bio { margin: 10px 0 0; color: var(--vpj-muted); }

.vpj-jobs { list-style: none; margin: 10px 0 0; padding: 0; }
.vpj-job { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0; border-top: 1px solid var(--vpj-line); }
.vpj-job:first-child { border-top: 0; }
.vpj-job-title { font-family: inherit; font-weight: 400; font-size: var(--e-global-typography-9030324-font-size, 18px);
  line-height: var(--e-global-typography-9030324-line-height, 24px); margin: 0 0 4px; color: var(--vpj-ink); }
.vpj-job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 14px; line-height: 20px; color: var(--vpj-muted); }
.vpj-chip { background: var(--vpj-lilac); color: var(--vpj-ink); border-radius: 5px; padding: 1px 8px; }
.vpj-chip-light { background: var(--vpj-light); }
.vpj-more { margin-top: 10px; font: inherit; font-size: 14px; color: var(--vpj-ink); background: none; border: 0; padding: 4px 0;
  text-decoration: underline; cursor: pointer; }

.vpj-empty { border: 1px dashed var(--vpj-line); border-radius: 10px; padding: 30px; text-align: center; }
.vpj-empty p { margin: 0 0 15px; }

/* Static map (inline SVG) and the opt-in interactive map */
.vpj-map-static { position: relative; }
.vpj-map-svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.vpj-map-sea { fill: var(--vpj-light); }
.vpj-map-land { fill: var(--vpj-white); stroke: rgba(19, 46, 35, .35); stroke-width: 1; }
.vpj-map-land-other { fill: rgba(255, 255, 255, .55); stroke: rgba(19, 46, 35, .15); }
.vpj-map-pin circle { fill: var(--vpj-brand); stroke: var(--vpj-white); stroke-width: 2; }
.vpj-map-pin text { fill: var(--vpj-white); font-size: 12px; font-weight: 700; font-family: inherit; }
.vpj-map-also { font-size: 14px; line-height: 20px; color: var(--vpj-muted); margin: 10px 0 0; }
.vpj-map-open { margin-top: 15px; }
.vpj-map-note { font-size: 13px; line-height: 18px; color: var(--vpj-muted); margin: 8px 0 0; }
.vpj-map-live { height: 70vh; min-height: 420px; border-radius: 10px; overflow: hidden; border: 1px solid var(--vpj-line); }
.vpj-pin { background: var(--vpj-brand); color: var(--vpj-white); border: 2px solid var(--vpj-white); border-radius: 999px;
  display: grid; place-items: center; font-weight: 700; font-size: 13px; font-family: inherit; }
.vpj-pin-selected { background: var(--vpj-lime); color: var(--vpj-ink); }
.vpj-root .marker-cluster div { background: var(--vpj-brand) !important; color: var(--vpj-white) !important; font-weight: 700; }
.vpj-root .marker-cluster { background: rgba(65, 23, 64, .25) !important; }
.vpj-pop { font-family: var(--e-global-typography-text-font-family, "FFF Acid Grotesk"), Arial, sans-serif; color: #132E23; min-width: 220px; }
.vpj-pop-name { font-size: 16px; font-weight: 700; margin: 0; }
.vpj-pop-meta { font-size: 13px; margin: 0 0 6px; color: rgba(19, 46, 35, .72); }
.vpj-pop ul { list-style: none; margin: 0; padding: 0; }
.vpj-pop li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(19, 46, 35, .15); font-size: 14px; }
.vpj-pop a { color: #132E23; font-weight: 700; white-space: nowrap; }

.vpj-foot { padding-top: 0; padding-bottom: 60px; font-size: 14px; }
.vpj-foot a { color: var(--vpj-ink); }

/* Toggle list / map: only on narrow screens and only with JavaScript (jobs.js removes `hidden`) */
.vpj-toggle { display: none; gap: 0; padding-bottom: 20px; }
.vpj-toggle-btn { font: inherit; font-size: 14px; padding: 6px 16px; color: var(--vpj-ink); background: var(--vpj-white);
  border: 1px solid var(--vpj-ink); cursor: pointer; }
.vpj-toggle-btn:first-child { border-radius: 5px 0 0 5px; }
.vpj-toggle-btn:last-child { border-radius: 0 5px 5px 0; margin-left: -1px; }
.vpj-toggle-btn[aria-pressed="true"] { background: var(--vpj-ink); color: var(--vpj-white); }

/* Teaser (homepage): sentence, logos, recent roles, button. align="right" for the right-aligned Jobs section. */
.vpj-teaser { margin: 0; max-width: none; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.vpj-teaser--right { align-items: flex-end; text-align: right; }
.vpj-teaser--center { align-items: center; text-align: center; }
.vpj-teaser-text { margin: 0; max-width: 440px; }
.vpj-teaser-text strong { font-weight: 700; }
.vpj-teaser-logos { list-style: none; margin: 0; padding: 0; max-width: 440px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.vpj-teaser--right .vpj-teaser-logos { justify-content: flex-end; }
.vpj-teaser--center .vpj-teaser-logos { justify-content: center; }
.vpj-teaser-logos li { margin: 0; padding: 0; }
.vpj-teaser-logos a { display: block; border-radius: 4px; padding: 2px; }
.vpj-teaser-logos img { display: block; width: auto; max-width: 96px; height: 28px; object-fit: contain;
  filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.vpj-teaser-logos a:hover img, .vpj-teaser-logos a:focus-visible img { filter: none; opacity: 1; }
.vpj-teaser-roles { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 440px; font-size: 14px; line-height: 20px; }
.vpj-teaser-roles li { margin: 0; padding: 0; border-top: 1px solid var(--vpj-line); }
.vpj-teaser-roles li:last-child { border-bottom: 1px solid var(--vpj-line); }
.vpj-teaser-roles a { display: block; padding: 8px 0; color: var(--vpj-muted); text-decoration: none; }
.vpj-teaser-roles a:hover .vpj-teaser-role, .vpj-teaser-roles a:focus-visible .vpj-teaser-role { text-decoration: underline; }
/* Always two lines, whatever the title's length: the title, then "Company · City". */
.vpj-teaser-role { display: block; color: var(--vpj-ink); }
.vpj-teaser-meta { display: block; }
.vpj-teaser-co { font-weight: 700; color: var(--vpj-ink); }
.vpj-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 1024px) {
  .vpj-section { padding-left: 40px; padding-right: 40px; }
  .vpj-layout { grid-template-columns: 1fr; }
  .vpj-map { position: static; }
}
@media (max-width: 767px) {
  .vpj-section { padding-left: 20px; padding-right: 20px; }
  .vpj-head { padding-top: 40px; }
  .vpj-title { font-size: 34px; line-height: 40px; margin-top: 20px; }
  .vpj-count { font-size: var(--e-global-typography-0e68765-font-size, 20px); line-height: var(--e-global-typography-0e68765-line-height, 26px); }
  .vpj-filters { gap: 10px; }
  .vpj-field { flex: 1 1 calc(50% - 5px); }
  .vpj-field-q { flex: 1 1 100%; }
  .vpj-field select { padding-left: 6px; padding-right: 4px; font-size: 15px; }
  .vpj-toggle:not([hidden]) { display: flex; }
  .vpj-layout[data-view="list"] .vpj-map { display: none; }
  .vpj-layout[data-view="map"] .vpj-list { display: none; }
  .vpj-job { flex-direction: column; align-items: flex-start; gap: 10px; }
  .vpj-logo { width: 90px; height: 32px; }
  /* On a phone the section's column sits under the photo: left-aligned reads better. */
  .vpj-teaser--right, .vpj-teaser--center { align-items: flex-start; text-align: left; }
  .vpj-teaser--right .vpj-teaser-logos, .vpj-teaser--center .vpj-teaser-logos { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .vpj-root * { transition: none !important; scroll-behavior: auto !important; }
}

/* Hello Elementor (the theme of volta.ventures) styles every <button> with a pink #c36 border, and a pink fill on
   hover/focus. The plugin's buttons keep the house style: reset them here, with enough specificity to win. */
.vpj-root button, .vpj-root button:hover, .vpj-root button:focus {
  background: none; border-color: transparent; color: var(--vpj-ink); box-shadow: none; text-transform: none; }
.vpj-root .vpj-more:hover, .vpj-root .vpj-onmap:hover { text-decoration-thickness: 2px; }
.vpj-root .vpj-toggle-btn, .vpj-root .vpj-toggle-btn:hover, .vpj-root .vpj-toggle-btn:focus { border: 1px solid var(--vpj-ink); background: var(--vpj-white); }
.vpj-root .vpj-toggle-btn[aria-pressed="true"] { background: var(--vpj-ink); color: var(--vpj-white); }
.vpj-root .vpj-logo.vpj-logo-letter { width: 40px; height: 40px; }
/* The actions row (Show roles / Clear filters) takes no room when both are hidden (with JavaScript, no filter). */
.vpj-actions:not(:has(> :not([hidden]))) { display: none; }
