/*
Theme Name: StellarYoung Recruitment
Theme URI: https://lefcreative.nl/
Author: Lef Creative
Author URI: https://lefcreative.nl/
Description: Child thema van Leflite voor StellarYoung Recruitment
Version: 1.0.0
License: /
License URI: /
Template: leflite
Text Domain: stellaryoung
*/

/*
General layer only: tokens, elements, components. Never per page or per section.
- Prefer custom-leftheme.json tokens over CSS; prefer theme options over both.
- One block per selector. `body ` prefix: theme component CSS loads lazily, after this file.
- Every designed component is a block of its own (functions/blocks.php, components/sy-*): its styling keys
  off the block's class, never off a class an editor has to type on a column.
- Section classes (a deliberate choice per section): hero-photo, hero-klein, section-inset.
Order: fonts, tokens, basis, layout, header, buttons, media sections, components, blocks, footer, forms, mobile.
*/

/* FONTS -------------------------------------------------------------------- */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url('fonts/plus-jakarta-sans-latin-wght-italic.woff2') format('woff2');
}

/* TOKENS ------------------------------------------------------------------- */
/* html:root: the theme prints its own variables inline after this sheet. */
html:root {
	--sy-hairline: rgba(11, 39, 68, 0.12);
	--sy-hairline-on-dark: rgba(255, 255, 255, 0.18);
	--sy-muted: #5B6B7F;
	--sy-muted-on-dark: rgba(255, 255, 255, 0.72);
	--sy-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--sy-radius-large: clamp(24px, 3vw, 40px);
	--sy-gutter: 30px;
}

/* BASIS -------------------------------------------------------------------- */
/* leflite sets overflow-x: hidden on html AND body: position sticky then never sticks. clip fixes it. */
html,
body {
	overflow-x: clip;
}

body {
	background-color: var(--white);
	color: var(--black);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body h1,
body h2,
body h3 {
	letter-spacing: -0.025em;
	text-wrap: balance;
}

/* Headings on light surfaces in Deep Navy */
body .bg-white h1,
body .bg-white h2,
body .bg-white h3,
body .bg-tertiary h1,
body .bg-tertiary h2,
body .bg-tertiary h3,
body .bg-gray h1,
body .bg-gray h2,
body .bg-gray h3,
body .bg-secondary h2 {
	color: var(--primary);
}

/* Headings on dark surfaces (also a dark card inside a light section) */
body .bg-primary h1,
body .bg-primary h2,
body .bg-primary h3,
body .bg-quaternary h2,
body .bg-quaternary h3 {
	color: var(--white);
}

body h4,
body h5 {
	letter-spacing: -0.01em;
}

body .content-wrapper p {
	text-wrap: pretty;
}

/* Key words in a heading in gold: make them bold in the editor (<strong> in h1/h2). On light the darker gold
   (3.5:1 on white = AA for large text), on dark the regular gold. */
body h1 strong,
body h2 strong {
	font-weight: inherit;
	color: var(--secondary-darkened);
}

body .bg-primary h1 strong,
body .bg-primary h2 strong,
body .bg-quaternary h1 strong,
body .bg-quaternary h2 strong {
	color: var(--secondary);
}

body .bg-secondary h1 strong,
body .bg-secondary h2 strong {
	color: inherit;
}

/* Lead: the first paragraph right after an h1 (brand line / sub heading) */
body .content-wrapper h1 + p {
	margin-top: 20px;
	font-size: 20px;
	letter-spacing: 0.01em;
	color: var(--secondary);
}

body .bg-white .content-wrapper h1 + p,
body .bg-tertiary .content-wrapper h1 + p,
body .bg-gray .content-wrapper h1 + p {
	color: var(--primary);
}

/* Lists in running text: a gold dash instead of a bullet */
body .content-wrapper ul:not([class]) {
	list-style: none;
	padding-left: 0;
}

body .content-wrapper ul:not([class]) > li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 6px;
}

body .content-wrapper ul:not([class]) > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.85em;
	width: 12px;
	height: 2px;
	background-color: var(--secondary);
}

/* Links in text */
#main .content-wrapper a:not(.btn):not(.button) {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* No outline after a mouse or touch click; keyboard users keep their focus ring */
body :focus:not(:focus-visible) {
	outline: none;
}

/* LAYOUT ------------------------------------------------------------------- */
/* A card that overlaps the next section (column option "overlappen met volgende sectie"): its section sits
   above the next one, and the next section leaves room for it. */
body section.lef-section:has(> .container > .row > .wp-block-custom-section-block-col > .col-card[style*="margin-bottom"]) {
	z-index: 2;
}

body section.lef-section:has(> .container > .row > .wp-block-custom-section-block-col > .col-card[style*="margin-bottom"]) + section.lef-section {
	padding-top: calc(var(--section-padding) / 2 + 110px);
}

/* Coloured band as a rounded panel inside the page instead of edge to edge. Class "section-inset" on the section. */
body section.lef-section.section-inset {
	margin-left: clamp(12px, 2vw, 32px);
	margin-right: clamp(12px, 2vw, 32px);
	border-radius: var(--sy-radius-large);
	overflow: hidden;
}

/* An image right under text in the same column (team photo under the intro heading) */
body .content-wrapper + .image-outer {
	margin-top: 32px;
}

/* HEADER ------------------------------------------------------------------- */
/* Header always above sections with a z-index (theme: body.fixed-header header.bg-transparent { z-index: 3 }). */
body.fixed-header header.header.navigation {
	z-index: 20;
}

body header.header .logo {
	width: auto;
}

/* Full-width header (theme_fullwidth_header): a wider side margin than the default 15px */
body header.header > .container-fluid {
	padding-left: clamp(20px, 3.5vw, 56px);
	padding-right: clamp(20px, 3.5vw, 56px);
}

/* Counter next to the menu item Vacatures (number of published vacancies) */
body .menu-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	margin-left: 6px;
	padding: 0 8px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: var(--primary);
	background-color: var(--secondary);
	border-radius: 999px;
	vertical-align: 2px;
}

body header.header .main-nav-menu > li > a {
	letter-spacing: 0.005em;
}

body header.header .sub-menu {
	border-radius: var(--general-border-radius-small);
	box-shadow: var(--general-box-shadow);
	padding: 8px 0;
}

body header.header .menu-item-has-button > a {
	padding-top: 0;
	padding-bottom: 0;
}

body header.header .menu-item-button {
	border-radius: var(--btn-border-radius);
	padding: 11px 20px;
	font-weight: 700;
	transition: background-color 0.25s var(--sy-ease);
}

body header.header .menu-item-has-button > a:hover .menu-item-button {
	background-color: var(--secondary-darkened);
}

/* the theme's sub menu toggles in the mobile menu are square */
body .mobile-navigation .sub-menu-toggle {
	border-radius: var(--general-border-radius-small);
}

/* BUTTONS ------------------------------------------------------------------ */
body .btn {
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.25s var(--sy-ease), border-color 0.25s var(--sy-ease), color 0.25s var(--sy-ease), transform 0.15s var(--sy-ease);
}

body .btn:active {
	transform: translateY(1px);
}

/* Button with an arrow (icon after the label): the arrow moves along on hover */
body .btn.position-after .icon,
body .sy-zoeker__alle .icon,
body .sy-vacatures__meer .icon {
	transition: transform 0.25s var(--sy-ease);
}

body .btn.position-after:hover .icon,
body .sy-zoeker__alle:hover .icon,
#main .sy-vacatures a.sy-vacatures__kaart:hover .sy-vacatures__meer .icon {
	transform: translateX(4px);
}

/* Outline button (bg-transparent) on dark surfaces: a light border instead of --black */
body .bg-primary .btn.bg-transparent,
body .bg-quaternary .btn.bg-transparent {
	border-color: var(--sy-hairline-on-dark);
	color: var(--white);
}

body .bg-primary .btn.bg-transparent:hover,
body .bg-quaternary .btn.bg-transparent:hover {
	border-color: var(--white);
	background-color: rgba(255, 255, 255, 0.06);
}

/* Outline button on light: navy border instead of --black. Also the small alert button in the vacancies block. */
body .bg-white .btn.bg-transparent,
body .bg-tertiary .btn.bg-transparent,
body .card-specialisme .btn.bg-transparent,
body .sy-vacatures__alert-knop {
	border-color: var(--primary);
	color: var(--primary);
}

body .bg-white .btn.bg-transparent:hover,
body .bg-tertiary .btn.bg-transparent:hover,
body .card-specialisme:hover .btn.bg-transparent,
body .sy-vacatures__alert-knop:hover {
	background-color: var(--primary);
	color: var(--white);
}

/* Buttons centred (buttons block alignment = center) */
body .buttons-holder.alignment-center {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

/* MEDIA SECTIONS ----------------------------------------------------------- */
/* Hero "foto centraal": class "hero-photo" (home) or "hero-klein" (subpages) on a section with the image layout
   "verloop vanaf links". Photo over the full width, a navy gradient from the left behind the text, rounded
   bottom corners. */
body section.lef-section.hero-photo,
body section.lef-section.hero-klein {
	border-radius: 0 0 var(--sy-radius-large) var(--sy-radius-large);
}

body section.lef-section.hero-photo {
	min-height: clamp(640px, 86vh, 820px);
}

body section.lef-section.hero-klein {
	min-height: clamp(420px, 56vh, 560px);
}

body section.hero-photo .background-image-wrapper,
body section.hero-klein .background-image-wrapper {
	border-radius: inherit;
	overflow: hidden;
}

body section.hero-photo .background-image-wrapper .background-image,
body section.hero-klein .background-image-wrapper .background-image {
	object-position: right 35%;
}

/* a dark edge at the top keeps menu and logo readable on the sky (transparent header) */
body section.hero-photo .background-image-wrapper::before,
body section.hero-klein .background-image-wrapper::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: 1;
	height: calc(var(--fake-menu-height) * 2);
	background: linear-gradient(rgba(var(--primary-rgb), .65), rgba(var(--primary-rgb), 0));
	pointer-events: none;
}

/* gradient: solid navy behind the text (readable, also the outline button), then quickly open towards the people */
body section.hero-photo .background-image-wrapper::after,
body section.hero-klein .background-image-wrapper::after {
	z-index: 1;
	opacity: 1;
	--lef-gradient-mask: linear-gradient(to right, #000 0%, #000 30%, rgba(0, 0, 0, .55) 46%, transparent 62%);
}

/* COMPONENTS (theme) ------------------------------------------------------- */
/* Accordion (FAQ) */
body .featured-faqs .accordion,
body .accordions .accordion {
	border-bottom: 1px solid var(--sy-hairline);
	background: transparent;
}

body .featured-faqs .accordion-title,
body .accordions .accordion-title {
	padding: 22px 0;
	font-size: 19px;
	font-weight: 700;
	color: var(--primary);
}

body .featured-faqs .accordion-content,
body .accordions .accordion-content {
	padding: 0;
}

body .featured-faqs .accordion-content .content-wrapper,
body .accordions .accordion-content .content-wrapper {
	padding: 0 48px 24px 0;
}

/* BLOCKS (child theme, functions/blocks.php) -------------------------------- */
/* Sectiekop: subtitle in its own column next to the h2 (plain bold text, no eyebrow). The first column is as
   wide as 4 of the 12 grid columns, so the title lines up with an 8-column text below it. */
body .sy-sectiekop.heeft-label {
	display: grid;
	grid-template-columns: calc(33.3333% + 10px) minmax(0, 1fr);
}

body .sy-sectiekop__label {
	margin: 0;
	padding: 12px 24px 0 0;
	font-size: 19px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--primary);
}

body .bg-primary .sy-sectiekop__label {
	color: var(--white);
}

/* Vragenlijst: questions in large type, the last block is the conclusion */
body .sy-vragen__vraag {
	margin: 0;
	padding: 18px 0;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--primary);
	border-bottom: 1px solid var(--sy-hairline);
}

body .sy-vragen__conclusie {
	padding: 24px 0 18px;
}

/* Specialismekaart: photo with an extra large bottom right corner, no card surface */
body .card.card-specialisme {
	position: relative;
	background: transparent;
	border: 0;
	padding: 40px 0 0;
	box-shadow: none;
}

body .card.card-specialisme .image-outer {
	padding: 0;
}

body .card.card-specialisme .image-outer .image-holder {
	height: auto;
	min-height: 340px;
	aspect-ratio: 5 / 3;
	padding: 0;
	overflow: hidden;
	border-radius: var(--general-border-radius) var(--general-border-radius) 96px var(--general-border-radius);
}

body .card.card-specialisme .image-outer .image-holder img {
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.6s var(--sy-ease);
}

body .card.card-specialisme:hover .image-holder img {
	transform: scale(1.03);
}

body .card.card-specialisme .content-outer {
	padding: 24px 0 0;
}

body .card.card-specialisme h3 {
	font-size: var(--h3-size);
	color: var(--primary);
}

body .card.card-specialisme .excerpt-holder p {
	font-size: var(--p-size);
	line-height: var(--p-line-height);
	max-width: 56ch;
}

/* the whole card is the link: the button's hit area covers the card */
body .card.card-specialisme .btn::after {
	content: '';
	position: absolute;
	inset: 0;
}

/* Banner: text left, button right */
body .card.col-card.sy-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	margin-top: 56px;
	padding: 44px 48px;
}

body .card.col-card.sy-banner .content-wrapper {
	max-width: 680px;
}

body .card.col-card.sy-banner .buttons-holder {
	flex: 0 0 auto;
	margin-top: 0;
}

/* Punten: a gold line above each point, two next to each other */
body .sy-punten {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px var(--sy-gutter);
	margin: 10px 0;
	padding: 0;
	list-style: none;
}

body .sy-punten__punt {
	position: relative;
	padding: 28px 0 36px;
	border-top: 1px solid var(--sy-hairline);
}

body .bg-primary .sy-punten__punt {
	border-top-color: var(--sy-hairline-on-dark);
}

body .sy-punten__punt::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--secondary);
}

body .sy-punten__punt h3 {
	font-size: var(--h4-size);
	margin-bottom: 10px;
}

body .sy-punten__punt p {
	margin: 0;
}

/* The text column next to a Punten block stays in view while the points scroll by */
body .row:has(> .wp-block-custom-section-block-col > .sy-punten) > .wp-block-custom-section-block-col:first-child {
	position: sticky;
	top: calc(var(--fake-menu-height) + 40px);
	align-self: flex-start;
}

body .bg-primary .sy-punten__punt p,
body .bg-primary .row:has(> .wp-block-custom-section-block-col > .sy-punten) > .wp-block-custom-section-block-col:first-child p:not(:has(strong)) {
	color: var(--sy-muted-on-dark);
}

/* Stappen: a gold line that draws itself while scrolling */
body .sy-stappen {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	column-gap: var(--sy-gutter);
	margin: 0;
	padding: 0;
	list-style: none;
}

body .sy-stappen.aantal-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .sy-stappen.aantal-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body .sy-stappen.aantal-4,
body .sy-stappen.aantal-7,
body .sy-stappen.aantal-8 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body .sy-stappen.aantal-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

body .sy-stappen__stap {
	position: relative;
	padding-top: 32px;
	margin-top: 40px;
}

body .sy-stappen__stap::before,
body .sy-stappen__stap::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: calc(var(--sy-gutter) * -1);
	height: 2px;
}

body .sy-stappen__stap::before {
	background-color: var(--sy-hairline);
}

body .sy-stappen__stap::after {
	background-color: var(--secondary);
	transform-origin: left center;
}

body .sy-stappen__stap:last-child::before,
body .sy-stappen__stap:last-child::after,
body .sy-stappen.aantal-7 .sy-stappen__stap:nth-child(4n)::before,
body .sy-stappen.aantal-7 .sy-stappen__stap:nth-child(4n)::after,
body .sy-stappen.aantal-8 .sy-stappen__stap:nth-child(4n)::before,
body .sy-stappen.aantal-8 .sy-stappen__stap:nth-child(4n)::after {
	right: 0;
}

body .sy-stappen__stap h3 {
	font-size: 19px;
	letter-spacing: -0.01em;
	color: var(--primary);
	margin-bottom: 10px;
}

body .sy-stappen__tekst,
body .sy-stappen__tekst p {
	font-size: 15px;
	line-height: 1.6;
}

body .sy-stappen__tekst > :last-child {
	margin-bottom: 0;
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		body .sy-stappen__stap::after {
			animation: sy-draw linear both;
			animation-timeline: view();
			animation-range: entry 40% cover 45%;
		}
	}
}

@keyframes sy-draw {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

/* Statement: a very large heading */
body .sy-statement h2 {
	font-size: clamp(48px, 7vw, 96px);
	line-height: 0.98;
	letter-spacing: -0.04em;
	margin-bottom: 20px;
}

body .sy-statement p {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

/* Afsluiter: centred, the brand line between two gold lines like in the logo */
body .sy-afsluiter .content-wrapper {
	text-align: center;
}

body .sy-afsluiter__merkregel {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 28px 0 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

body .sy-afsluiter__merkregel::before,
body .sy-afsluiter__merkregel::after {
	content: '';
	flex: 0 0 64px;
	height: 2px;
	background-color: var(--secondary);
}

/* Contactgegevens: name, address and e-mail from the company options */
body .sy-contactgegevens {
	margin: 0;
	font-style: normal;
}

body .sy-contactgegevens__naam {
	margin: 0 0 14px;
	font-family: var(--heading-font);
	font-size: var(--h4-size);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--primary);
}

body .sy-contactgegevens__regel {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 10px;
}

body .sy-contactgegevens__regel .icon {
	flex: 0 0 18px;
	margin: 5px 0 0;
	color: var(--secondary-darkened);
}

/* Vacaturezoeker: search form to the Uitzendplaats vacancy overview */
body .card.col-card:has(> .sy-zoeker) {
	width: 100%;
	box-shadow: var(--general-box-shadow);
}

body .sy-zoeker {
	margin: 0;
}

body .sy-zoeker__kop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

body .sy-zoeker__titel {
	margin: 0;
	font-family: var(--heading-font);
	font-size: var(--h4-size);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--primary);
}

#main .sy-zoeker a.sy-zoeker__alle:not(.btn) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--primary);
	text-decoration: none;
	white-space: nowrap;
}

#main .sy-zoeker a.sy-zoeker__alle:not(.btn):hover {
	color: var(--secondary-darkened);
}

body .sy-zoeker__velden {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	gap: var(--form-elements-gap-x);
	/* top aligned: an extension (password manager) that puts something in a field does not shift the row */
	align-items: start;
}

body .sy-zoeker__veld {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

body .sy-zoeker__veld label {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 21px;
	color: var(--black);
}

body .sy-zoeker__veld input,
body .sy-zoeker__veld select {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 var(--form-elements-padding-x);
	font-family: var(--body-font);
	font-size: 16px;
	color: var(--black);
	background-color: var(--white);
	border: 1px solid rgba(31, 41, 55, 0.28);
	border-radius: var(--form-elements-border-radius);
	transition: border-color 0.2s var(--sy-ease), box-shadow 0.2s var(--sy-ease);
}

/* select equal to the text fields: no browser style, own arrow */
body .sy-zoeker .sy-zoeker__veld select {
	-webkit-appearance: none;
	appearance: none;
	padding: 0 44px 0 var(--form-elements-padding-x);
	line-height: 52px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1.5l5 5 5-5%27 fill=%27none%27 stroke=%27%230B2744%27 stroke-width=%271.6%27/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}

body .sy-zoeker__veld input::placeholder {
	color: #6B7684;
}

body .sy-zoeker__veld input:focus,
body .sy-zoeker__veld select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.45);
}

body .sy-zoeker .btn {
	height: 54px;
	/* label (21px) + gap (6px): the button at the same height as the fields */
	margin: 27px 0 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	border: 0;
	cursor: pointer;
}

/* Vacatures: latest vacancies from the Uitzendplaats plugin (cards + favourite + vacancy alert) */
body .sy-vacatures {
	margin-top: 24px;
}

body .sy-vacatures__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

#main .sy-vacatures a.sy-vacatures__kaart {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 300px;
	padding: 26px 24px 24px;
	background-color: var(--white);
	border-radius: var(--card-border-radius);
	color: var(--black);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.3s var(--sy-ease), box-shadow 0.3s var(--sy-ease);
}

/* gold line at the top that runs across the card on hover; starts inside the rounding */
#main .sy-vacatures a.sy-vacatures__kaart::before {
	content: '';
	position: absolute;
	top: 0;
	left: 24px;
	width: 40px;
	height: 3px;
	background-color: var(--secondary);
	border-radius: 0 0 3px 3px;
	transition: width 0.4s var(--sy-ease);
}

#main .sy-vacatures a.sy-vacatures__kaart:hover {
	transform: translateY(-4px);
	box-shadow: var(--general-box-shadow);
}

#main .sy-vacatures a.sy-vacatures__kaart:hover::before {
	width: calc(100% - 48px);
}

body .sy-vacatures__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

body .sy-vacatures__plaats {
	display: inline-flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--sy-muted);
}

body .sy-vacatures__plaats .icon {
	margin: 3px 0 0;
	color: var(--secondary-darkened);
}

body .sy-vacatures .fav-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: -6px -6px 0 auto;
	border-radius: 50%;
	color: var(--primary);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.2s var(--sy-ease), color 0.2s var(--sy-ease);
}

body .sy-vacatures .fav-toggle .icon {
	margin: 0;
}

body .sy-vacatures .fav-toggle:hover,
body .sy-vacatures .fav-toggle.active {
	background-color: var(--tertiary);
	color: var(--secondary-darkened);
}

body .sy-vacatures__titel {
	margin: 0;
	font-size: 21px;
	line-height: 1.25;
	color: var(--primary);
}

body .sy-vacatures__feiten {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

body .sy-vacatures__feiten li {
	display: flex;
	align-items: center;
	gap: 8px;
}

body .sy-vacatures__feiten .icon {
	width: 14px;
	margin: 0;
	color: var(--secondary-darkened);
}

body .sy-vacatures__meer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--sy-hairline);
	font-weight: 700;
	font-size: 15px;
	color: var(--primary);
}

body .sy-vacatures__meer .icon {
	margin: 0;
}

body .sy-vacatures__leeg {
	margin: 0;
	padding: 26px 24px;
	background-color: var(--white);
	border-radius: var(--card-border-radius);
}

body .sy-vacatures__alert {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
	padding: 18px 24px;
	border: 1px solid var(--sy-hairline);
	border-radius: var(--card-border-radius);
}

body .sy-vacatures__alert p {
	margin: 0;
	flex: 1;
	font-size: 15px;
}

body .sy-vacatures__alert-icoon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	height: 40px;
	background-color: var(--primary);
	color: var(--secondary);
	border-radius: 50%;
}

/* the theme class .icon adds a right margin: the icon would not sit in the middle */
body .sy-vacatures__alert-icoon .icon {
	margin: 0;
	font-size: 16px;
}

body .sy-vacatures__alert-knop {
	flex: 0 0 auto;
	padding: 10px 18px;
	font-family: var(--btn-font);
	font-size: 15px;
	font-weight: 700;
	background: transparent;
	border: 1px solid var(--primary);
	border-radius: var(--btn-border-radius);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.25s var(--sy-ease), color 0.25s var(--sy-ease);
}

/* VACANCY PAGES (Uitzendplaats plugin: overview, filters, vacancy page, forms, alert modal) -------------- */
/* Overview: the cards of the block "Vacatures" in three columns next to the filters */
body .sy-vacatures--overzicht {
	margin-top: 0;
}

body .sy-vacatures--overzicht .sy-vacatures__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body .sy-overzicht__aantal {
	margin: 0 0 16px;
	font-weight: 700;
	color: var(--primary);
}

body .sy-overzicht__fout {
	margin: 0 0 16px;
	padding: 12px 16px;
	color: var(--error);
	background-color: var(--white);
	border-radius: var(--general-border-radius-small);
}

body #vacancies-container {
	transition: opacity 0.3s var(--sy-ease);
}

body #vacancies-container.loading {
	opacity: 0.5;
	pointer-events: none;
}

body .sy-overzicht__paginering {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

body .sy-overzicht__paginering .btn {
	margin: 0;
}

/* Filters: checkbox groups */
body .sy-filters__groep {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

body .sy-filters__groep legend {
	margin-bottom: 10px;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--primary);
}

body .sy-filters__lijst {
	margin: 0;
	padding: 0;
	list-style: none;
}

body .sy-filters__groep label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 5px 0;
	font-size: 15px;
	cursor: pointer;
}

body .sy-filters__groep input.filter {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--primary);
}

body .sy-filters__groep .term-count {
	margin-left: auto;
	font-size: 13px;
	color: var(--sy-muted);
}

body .sy-filters__reset {
	padding: 0;
	font-family: var(--body-font);
	font-size: 15px;
	font-weight: 600;
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	background: none;
	border: 0;
	cursor: pointer;
}

/* Page head without a photo: class "hero-tekst" on a navy section */
body section.lef-section.hero-tekst {
	border-radius: 0 0 var(--sy-radius-large) var(--sy-radius-large);
}

/* Vacancy page */
body .sy-vacature__terug {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 600;
}

#main .sy-vacature .sy-vacature__terug a:not(.btn) {
	color: var(--sy-muted-on-dark);
	text-decoration: none;
}

#main .sy-vacature .sy-vacature__terug a:not(.btn):hover {
	color: var(--secondary);
}

body .sy-vacature__feiten {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 22px 0 8px;
	padding: 0;
	list-style: none;
	color: var(--white);
}

body .sy-vacature__feiten li {
	display: flex;
	align-items: center;
	gap: 8px;
}

body .sy-vacature__feiten .icon {
	margin: 0;
	color: var(--secondary);
}

body .sy-vacature .buttons-holder .fav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	color: var(--white);
	border: 1px solid var(--sy-hairline-on-dark);
	border-radius: 50%;
	vertical-align: middle;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.2s var(--sy-ease), color 0.2s var(--sy-ease);
}

body .sy-vacature .buttons-holder .fav-toggle .icon {
	margin: 0;
}

body .sy-vacature .buttons-holder .fav-toggle:hover,
body .sy-vacature .buttons-holder .fav-toggle.active {
	color: var(--primary);
	background-color: var(--secondary);
}

body .sy-vacature__zij {
	position: sticky;
	top: calc(var(--fake-menu-height) + 40px);
	align-self: flex-start;
}

/* Plugin forms (application, open registration, alert): the look of the site's own form fields */
body .uzp .uzp__form-group {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-bottom: var(--form-elements-gap-y);
}

body .uzp .uzp__control-label {
	flex: 0 0 100%;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--black);
}

body .uzp .uzp__form-group > [class*="uzp-col-"] {
	flex: 1 1 100%;
	min-width: 0;
}

body .uzp input[type="text"],
body .uzp input[type="email"],
body .uzp input[type="tel"],
body .uzp input[type="number"],
body .uzp input[type="date"],
body .uzp select,
body .uzp textarea {
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: var(--form-elements-padding-y) var(--form-elements-padding-x);
	font-family: var(--body-font);
	font-size: 16px;
	color: var(--black);
	background-color: var(--white);
	border: 1px solid rgba(31, 41, 55, 0.28);
	border-radius: var(--form-elements-border-radius);
	transition: border-color 0.2s var(--sy-ease), box-shadow 0.2s var(--sy-ease);
}

body .uzp input:focus,
body .uzp select:focus,
body .uzp textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.45);
}

body .uzp input[type="file"] {
	width: 100%;
	font-family: var(--body-font);
	font-size: 15px;
}

body .uzp .uzp__checkbox label,
body .uzp label:has(> input[type="checkbox"]) {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 4px 10px;
	font-size: 15px;
	font-weight: 400;
}

body .uzp input[type="checkbox"] {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--primary);
}

body .uzp .uzp__help-block,
body .uzp .uzp__vacancy-alerts-errors {
	font-size: 14px;
	color: var(--error);
}

body .uzp .uzp__help-block--hidden,
body .uzp .hidden,
body .uzp .uzp__form-success-message {
	display: none;
}

body .uzp:has(.uzp__form-success) .uzp__form-success-message {
	display: block;
}

/* the forms' submit button = the site's navy button */
body .uzp button[type="submit"]:not(.btn),
body .uzp .uzp-button:not(.uzp-button-show-modal) {
	display: inline-flex;
	align-items: center;
	padding: var(--btn-big-padding);
	font-family: var(--btn-font);
	font-size: var(--btn-big-font-size);
	font-weight: var(--btn-font-weight);
	color: var(--white);
	background-color: var(--primary);
	border: 0;
	border-radius: var(--btn-border-radius);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.25s var(--sy-ease);
}

body .uzp button[type="submit"]:not(.btn):hover,
body .uzp .uzp-button:not(.uzp-button-show-modal):hover {
	background-color: var(--primary-darkened);
}

/* Alert modal (markup from the plugin, opened by the bar in the block "Vacatures") */
body .uzp__vacancy-alert-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background-color: rgba(var(--primary-rgb), 0.6);
}

body .uzp__vacancy-alert-modal.show-modal {
	display: flex;
}

body .uzp__vacancy-alert-modal-content {
	width: min(640px, 100%);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 32px;
	color: var(--black);
	text-align: left;
	background-color: var(--white);
	border-radius: var(--general-border-radius);
	box-shadow: var(--general-box-shadow);
}

body .uzp__vacancy-alert-modal-title {
	margin-bottom: 8px;
	font-family: var(--heading-font);
	font-size: var(--h3-size);
	font-weight: 700;
	letter-spacing: -0.025em;
	color: var(--primary);
}

body .uzp__vacancy-alert-modal .grid,
body .uzp__vacancy-alert-modal .flex {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
	margin-bottom: 12px;
}

/* FOOTER ------------------------------------------------------------------- */
body footer#footer {
	font-size: 15px;
}

body footer#footer .footer-inner {
	border-top: 1px solid var(--sy-hairline-on-dark);
}

body footer#footer .content-wrapper img {
	max-width: 240px;
	height: auto;
	margin-bottom: 8px;
}

body footer#footer .content-wrapper p,
body footer#footer .clean-list a {
	color: var(--sy-muted-on-dark);
}

body footer#footer h6 {
	color: var(--white);
	margin-bottom: 14px;
}

body footer#footer .clean-list li {
	margin-bottom: 8px;
}

body footer#footer a {
	text-decoration: none;
	transition: color 0.2s var(--sy-ease);
}

body footer#footer a:hover {
	color: var(--secondary);
}

body footer#footer .socket {
	font-size: 14px;
	color: var(--sy-muted-on-dark);
}

body footer#footer .socket .socket-half {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
}

body footer#footer .socket ul.menu {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* MOBILE ------------------------------------------------------------------- */
@media (max-width: 1199px) {
	body .sy-vacatures__grid,
	body .sy-vacatures--overzicht .sy-vacatures__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	body .row:has(> .wp-block-custom-section-block-col > .sy-punten) > .wp-block-custom-section-block-col:first-child {
		position: static;
	}

	body .sy-sectiekop.heeft-label {
		display: block;
	}

	body .sy-sectiekop__label {
		padding: 12px 0 50px;
	}

	body .sy-vacature__zij {
		position: static;
	}

	body .card.col-card.sy-banner {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		padding: 32px 28px;
	}

	body .sy-stappen,
	body .sy-stappen[class*="aantal-"] {
		grid-template-columns: minmax(0, 1fr);
	}

	body .sy-stappen__stap {
		margin-top: 32px;
	}

	body .sy-stappen .sy-stappen__stap::before,
	body .sy-stappen .sy-stappen__stap::after {
		right: 0;
	}

	body .card.card-specialisme .image-outer .image-holder {
		min-height: 240px;
		aspect-ratio: auto;
		border-bottom-right-radius: 64px;
	}

	body .sy-vragen__vraag {
		font-size: 22px;
	}

	body section.lef-section:has(> .container > .row > .wp-block-custom-section-block-col > .col-card[style*="margin-bottom"]) + section.lef-section {
		padding-top: var(--section-padding);
	}

	/* hero: photo as a band at the top (people visible), text below it on navy, the photo fades into it */
	body section.lef-section.hero-photo,
	body section.lef-section.hero-klein {
		min-height: 0;
		padding-top: calc(var(--fake-menu-height) + 46vw);
	}

	/* the search card (margin-bottom -220px) then sticks out about 40px into the next section */
	body section.lef-section.hero-photo {
		padding-bottom: 180px;
	}

	body section.hero-photo .background-image-wrapper .background-image,
	body section.hero-klein .background-image-wrapper .background-image {
		height: calc(var(--fake-menu-height) + 62vw);
		object-position: 68% center;
	}

	body section.hero-photo .background-image-wrapper::after,
	body section.hero-klein .background-image-wrapper::after {
		--lef-gradient-mask: linear-gradient(to bottom, transparent calc(var(--fake-menu-height) + 22vw), #000 calc(var(--fake-menu-height) + 60vw));
	}

	body .sy-zoeker__velden {
		grid-template-columns: 1fr 1fr;
	}

	body .sy-zoeker .btn {
		justify-content: center;
	}
}

@media (max-width: 767px) {
	/* like the other Uitzendplaats sites: swipe sideways on phones */
	body .sy-vacatures__grid {
		display: flex;
		gap: 14px;
		margin: 0 -15px;
		padding: 4px 15px 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 15px;
	}

	#main .sy-vacatures a.sy-vacatures__kaart {
		flex: 0 0 82%;
		scroll-snap-align: start;
		min-height: 270px;
	}

	body .sy-vacatures__alert {
		flex-wrap: wrap;
	}

	/* the overview is a plain list, not a swipe row */
	body .sy-vacatures--overzicht .sy-vacatures__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	body .uzp__vacancy-alert-modal .grid,
	body .uzp__vacancy-alert-modal .flex {
		grid-template-columns: minmax(0, 1fr);
	}

	body .sy-punten {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 575px) {
	body .card.col-card {
		padding: 22px 20px;
	}

	body .sy-zoeker__kop {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	body .sy-zoeker__velden {
		grid-template-columns: 1fr;
	}

	/* theme: .card.col-card .btn { width: fit-content } (0,3,0) */
	body .sy-zoeker button.btn[type="submit"] {
		width: 100%;
		margin-top: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body .btn,
	body header.header .menu-item-button,
	#main .sy-vacatures a.sy-vacatures__kaart,
	#main .sy-vacatures a.sy-vacatures__kaart::before {
		transition: none;
	}
}
