/* GO APPLY base utilities: only rules the Oxygen Selectors panel cannot express cleanly.
   Everything visual lives in Oxygen (Selectors / Variables / Components). */
.ga-hidden { display: none !important; }
.ga-label-hidden > label:first-child {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Salary tools: phase / result-state visibility (set by salary.js; defaults to the locked state without JS). */
[data-ga-salary]:not([data-ga-phase="unlocked"]) [data-ga-show="unlocked"],
[data-ga-salary][data-ga-phase="unlocked"] [data-ga-show="locked"],
[data-ga-salary]:not([data-ga-state="ok"]) [data-ga-show="ok"],
[data-ga-salary]:not([data-ga-state="insufficient"]) [data-ga-show="insufficient"] { display: none !important; }

/* Motion (see assets/js/fx.js). "ga-js" is set in <head> only when motion is allowed and removed again after
   3.5 s if the script never starts, so these rules can never leave content hidden. */
.ga-js .goapply-rise { animation: none !important; opacity: 0; }
.ga-js h1.goapply-rise { opacity: 1; } /* the headline is revealed word by word */
.ga-js main h1:not(.ga-split-done) { visibility: hidden; }
.ga-js main section:first-of-type .goapply-hero-photo,
.ga-js main section:first-of-type .goapply-sub-media,
.ga-js main section:first-of-type .goapply-split-media { opacity: 0; }
.ga-js .goapply-hero-media.goapply-fade { animation: none !important; opacity: 1; }
.ga-mask { padding-bottom: 0.14em; margin-bottom: -0.14em; }

/* Decorative step numerals: printed from data-n so they are not text (see wp goapply a11y-prepare). */
.goapply-row-num::before { content: attr(data-n); }

/* Chip counts: solid colour instead of 60% opacity (contrast 4.06:1 -> 4.9:1). */
.goapply-chip .goapply-chip-count { opacity: 1; color: #526e6a; }
.goapply-chip.is-active .goapply-chip-count { color: inherit; opacity: 0.85; }

/* Very narrow phones (320 px, WCAG 1.4.10 reflow): header and wide buttons must not push the page sideways. */
@media (max-width: 359px) {
  .goapply-header .goapply-logo-img { max-width: 128px; height: auto; }
  .goapply-header-tools { gap: 4px; }
  .goapply-header .goapply-lang-item { padding-left: 8px; padding-right: 8px; }
  .goapply-btn-lg, .goapply-btn { max-width: 100%; white-space: normal; text-align: center; }
  .goapply-compare { width: 100%; table-layout: fixed; }
  .goapply-compare th, .goapply-compare td { padding-left: 8px; padding-right: 8px; font-size: 13px; overflow-wrap: anywhere; hyphens: auto; }
}

/* Slider dots never wider than the screen (iPhone 390 px overflowed in Firefox and Safari). */
.goapply-dots { max-width: 100%; flex-wrap: wrap; justify-content: center; }

/* Quote slider dots: the visible bar stays 5 px, the button is 24 px tall (WCAG 2.2 target size). */
.goapply-dots .goapply-dot { height: 24px; padding: 9.5px 0; background-clip: content-box; box-sizing: border-box; }

/* Vacancy alert form: live count line under the vakgebied choice. */
.goapply-alert-count { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: inherit; opacity: 1; }
.goapply-alert-count[data-n]:not([data-n="0"]) { font-weight: 600; }

/* Tall portraits in wide boxes: keep heads in the picture unless a focal point is set in the Media Library (inline style wins). */
.goapply-team-photo-img, .goapply-blog-image-img { object-position: 50% 20%; }


/* Salary thank-you page: an expired or unknown link shows only the message in the intro. */
[data-ga-salary][data-ga-state="expired"] [data-ga-scroll] { display: none !important; }

/* A hero or row whose photo was removed in the builder: one column instead of an empty half. */
.goapply-hero-grid:has(> :only-child),
.goapply-row:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.goapply-hero-grid > :only-child,
.goapply-row > :only-child { max-width: 760px; }

/* Six menu items (incl. the salary calculator) next to the language dropdown and the button. */
@media (min-width: 1120px) {
  .goapply-header .goapply-header-inner { gap: 20px; }
  .goapply-header #goapply-nav { gap: 18px; }
  .goapply-header .goapply-nav-link { font-size: 15px; }
  .goapply-header .goapply-header-cta { padding-left: 22px; padding-right: 22px; }
}
@media (min-width: 1120px) and (max-width: 1299px) {
  .goapply-header .goapply-header-inner { gap: 12px; }
  .goapply-header #goapply-nav { gap: 12px; }
  .goapply-header .goapply-nav-link { font-size: 14px; }
  .goapply-header .goapply-header-cta { padding-left: 16px; padding-right: 16px; }
  .goapply-header .goapply-logo-img { max-width: 112px; }
}

/* Language dropdown (shortcode [ga_lang_switcher]) */
.goapply-header .goapply-lang { position: relative; display: block; background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.goapply-lang .goapply-lang-toggle { display: none; align-items: center; gap: 8px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: inherit; background: #fff; border: 1px solid rgba(1, 48, 53, .22); border-radius: 999px; padding: 9px 14px; line-height: 1; }
.goapply-lang .goapply-lang-toggle:hover { border-color: rgba(1, 48, 53, .5); }
.goapply-lang .goapply-lang-toggle:focus-visible { outline: 2px solid #013035; outline-offset: 2px; }
.goapply-lang .goapply-lang-chevron { transition: transform .18s ease; }
.goapply-lang.is-open .goapply-lang-chevron { transform: rotate(180deg); }
.goapply-lang.is-enhanced .goapply-lang-toggle { display: inline-flex; }
.goapply-lang .goapply-lang-menu { display: flex; flex-direction: column; gap: 2px; }
.goapply-lang.is-enhanced .goapply-lang-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 176px; padding: 6px; background: #fff; border: 1px solid rgba(1, 48, 53, .14); border-radius: 14px; box-shadow: 0 14px 34px rgba(1, 48, 53, .16); }
.goapply-lang.is-enhanced.is-open .goapply-lang-menu { display: flex; }
.goapply-lang .goapply-lang-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: #013035; background: transparent; text-decoration: none; }
.goapply-lang .goapply-lang-item:hover, .goapply-lang .goapply-lang-item:focus-visible { background: #eef3f2; }
.goapply-lang .goapply-lang-item .goapply-lang-code { min-width: 24px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.goapply-lang .goapply-lang-item.is-active { background: #013035; color: #fff; }

/* Euregio map: Venlo as its own point (opens the Maastricht / Venlo card) and the home base label. */
.goapply-map .goapply-city[data-ga-pos="venlo"] { left: 60%; top: 13%; }
/* Werkgevers, Vakgebieden: 8 cards (Marketing, Quality and HR added) → 4 columns, 2 on tablet, 1 on phone. */
section .goapply-fields-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1119px) { section .goapply-fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { section .goapply-fields-grid { grid-template-columns: minmax(0, 1fr); } }
/* Name and roles are inline spans; on the wider cards they ran on, so put the roles on their own line. */
.goapply-field-card .goapply-field-name, .goapply-field-card .goapply-field-roles { display: block; }
.goapply-field-card .goapply-field-roles { margin-top: 8px; }
/* Team block: all four people (Paul added), square head-and-shoulders photos. 4 columns, 2 on tablet and phone. */
section .goapply-team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { section .goapply-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { section .goapply-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
section .goapply-team-photo { height: auto; aspect-ratio: 1 / 1; }
section .goapply-team-photo .goapply-team-photo-img { object-position: 50% 30%; }
@media (max-width: 767px) { section .goapply-team-name { font-size: 18px; margin-top: 12px; } section .goapply-team-role { font-size: 14px; } }
/* Aken lies at about the height of Luik (Paul, 12 Nov), not above Maastricht. */
.goapply-map .goapply-city-aken { top: 70%; }
.goapply-map .goapply-map-hint[data-ga-pos="home"] { position: absolute; left: 50%; top: 50%; right: auto; bottom: auto; margin: 0; transform: translate(-50%, 34px); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .9; pointer-events: none; }
.goapply-lang .goapply-lang-item .goapply-lang-name { font-weight: 500; letter-spacing: 0; text-transform: none; }

/* Button rows may wrap (long German or French labels on a 320 px screen). */
.goapply-actions { flex-wrap: wrap; }
.goapply-actions .goapply-btn { max-width: 100%; white-space: normal; text-align: center; }

/* Page numbers under post lists (vakgebied pages with more than one page of vacancies): 24×24 px targets (WCAG 2.2, 2.5.8). */
.bde-posts-navigation-numbers a,
.bde-posts-navigation-numbers .is-active,
.bde-posts-navigation-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0 8px;
  box-sizing: border-box;
}

/* Step tabs on dark (Werkgevers "In 5 stappen", Onze methode): the step number (::before) took the button's default black. */
section .goapply-steps-tabs .bde-tabs__tab,
section .goapply-method-tabs .bde-tabs__tab { color: var(--ga-on-dark); }
section .goapply-steps-tabs .bde-tabs__tab.is-active,
section .goapply-method-tabs .bde-tabs__tab.is-active { color: var(--ga-deep); }

/* FAQ: only a divider under each question (the element default drew a 2px black box), and one icon at a time
   (".goapply-faq .bde-faq__icon { display: flex }" showed + and − together). */
section .goapply-faq.bde-frequently-asked-questions .bde-faq__item { border-width: 0 0 1px; border-style: solid; border-color: var(--ga-border); margin-top: 0; }
section .goapply-faq.bde-frequently-asked-questions .bde-faq__item:first-child { border-top-width: 1px; }
section .goapply-faq .bde-faq__question .bde-faq__icon--active,
section .goapply-faq .bde-faq__question[aria-expanded="true"] .bde-faq__icon--inactive { display: none; }
section .goapply-faq .bde-faq__question[aria-expanded="true"] .bde-faq__icon--active { display: flex; }
section .goapply-faq .bde-faq__icon svg { width: 14px; height: 14px; fill: currentColor; }
/* The FAQ element itself was 600–650 px wide inside the 880 px column, so it did not line up with its heading. */
section .goapply-faq.bde-frequently-asked-questions { width: 100%; max-width: none; margin-top: 32px; }

/* Header 1024–1119 px (e.g. iPad landscape): six menu items + language + button were 100+ px too wide and pushed
   "Contact opnemen" off screen. Same layout, a little tighter. */
@media (min-width: 1024px) and (max-width: 1119px) {
  .goapply-header .goapply-header-inner { gap: 12px; }
  .goapply-header .goapply-logo-img { width: 132px; max-width: none; height: auto; }
  .goapply-header #goapply-nav { gap: 12px; }
  .goapply-header .goapply-nav-link { font-size: 14px; }
  .goapply-header .goapply-header-tools { gap: 8px; }
  .goapply-header .goapply-header-cta { padding-left: 14px; padding-right: 14px; font-size: 14px; }
}

/* Salary thank-you pages: the hero grid keeps its two columns but the form column is gone, so the heading had half the
   width and "salarisbenchmark" was clipped (Rubin, 17 Nov). The intro takes the whole row when it is alone. */
[data-ga-result] .goapply-container > .goapply-salary-intro:only-child { grid-column: 1 / -1; }
/* Salary thank-you page opened without a result: message + button back to the form (salary.js). */
[data-ga-result] .goapply-result-retry { margin-top: 24px; }
