/**
 * Busker Werken bij — theme styles.
 *
 * Tokens come from theme.json (--wp--preset--*). This file only adds what
 * theme.json cannot express: the slanted shapes, the logo-block border and
 * the section layouts from the design (desktop 1440, content 1280).
 */

:root {
	--busker-blauw: var(--wp--preset--color--blauw);
	--busker-lichtblauw: var(--wp--preset--color--lichtblauw);
	--busker-oranje: var(--wp--preset--color--oranje);
	--busker-lijn: var(--wp--preset--color--lijn);
	--busker-schuin: 82px;
	--busker-header-hoogte: 96px;
	--busker-header-top: 52px;
	/* One tile of the logo-block border: light-blue row on top, orange row offset below. */
	--busker-blokken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33.125' height='32' viewBox='0 0 33.125 32'%3E%3Cpath d='M2.65 0h16.56l-2.65 16H0z' fill='%23009eff'/%3E%3Cpath d='M16.65 16h16.56l-2.65 16H14z' fill='%23f49430'/%3E%3C/svg%3E");
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	padding: 12px 16px;
	z-index: 100000;
	background: var(--wp--preset--color--wit);
	color: var(--wp--preset--color--donker);
}

/* Header floats over the page; sections butt up against each other. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.busker-main--home > * + * {
	margin-block-start: 0 !important;
}

/* ---------- Generic pieces ---------- */

.is-style-eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: var(--wp--preset--font-size--small);
	font-style: italic;
	font-weight: 600;
	line-height: 20px;
}

.is-style-eyebrow::before {
	content: "";
	flex: 0 0 1px;
	height: 20px;
	background: currentColor;
}

.busker-kop > * + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

.wp-block-image.is-style-schuin img,
.wp-block-image.is-style-schuin-rechts img,
.wp-block-image.is-style-schuin-links img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wp-block-image.is-style-schuin img {
	clip-path: polygon(var(--busker-schuin) 0, 100% 0, calc(100% - var(--busker-schuin)) 100%, 0 100%);
}

.wp-block-image.is-style-schuin-rechts img {
	clip-path: polygon(0 0, 100% 0, calc(100% - var(--busker-schuin)) 100%, 0 100%);
}

.wp-block-image.is-style-schuin-links img {
	clip-path: polygon(var(--busker-schuin) 0, 100% 0, 100% 100%, 0 100%);
}

.is-style-blokkenrand {
	position: relative;
}

.is-style-blokkenrand::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	height: 32px;
	background: var(--busker-blokken) repeat-x -47px 0 / 33.125px 32px;
	pointer-events: none;
}

.wp-block-button.is-style-omlijnd .wp-block-button__link {
	background: transparent;
	color: currentColor;
	box-shadow: inset 0 0 0 1px currentColor;
}

/* Small skewed blocks used as bullets (tijdlijn) and as number blocks (stappen). */
.busker-blokje::before {
	content: "";
	display: inline-block;
	width: 13.5px;
	height: 13.3px;
	margin-inline-end: 12px;
	background: var(--wp--preset--color--logo-lichtblauw);
	transform: skewX(-9.42deg);
}

/* ---------- Header ---------- */

.busker-header {
	position: sticky;
	top: 16px;
	z-index: 50;
	margin: var(--busker-header-top) clamp(12px, 4.2vw, 60px) calc(-1 * (var(--busker-header-top) + var(--busker-header-hoogte)));
	pointer-events: none;
}

.admin-bar .busker-header {
	top: 48px;
}

.busker-header__balk {
	pointer-events: auto;
	min-height: var(--busker-header-hoogte);
	padding: 24px clamp(20px, 5.5vw, 80px);
	background: rgba(255, 255, 255, 0.95);
	border-radius: var(--wp--custom--radius--menu);
	box-shadow: var(--wp--custom--shadow--menu);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.busker-logo {
	margin: 0;
	flex-shrink: 0;
}

.busker-logo img {
	display: block;
}

.busker-header__nav {
	gap: 48px;
}

.busker-menu .wp-block-navigation-item__content {
	padding: 8px;
	color: var(--wp--preset--color--donker);
	text-decoration: none;
	line-height: 24px;
}

.busker-menu .wp-block-navigation-item__content:hover,
.busker-menu .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.busker-menu.wp-block-navigation {
	gap: 24px;
}

/* The page content sits under the floating header. */
.busker-main--pagina {
	padding-top: calc(var(--busker-header-top) + var(--busker-header-hoogte) + var(--wp--preset--spacing--70)) !important;
}

/* ---------- Hero ---------- */

.busker-hero {
	--busker-schuin: 82px;
	padding-top: calc(var(--busker-header-top) + var(--busker-header-hoogte) + 48px);
	background: linear-gradient(to bottom, var(--busker-blauw) 0 calc(100% - 59px), transparent 0);
}

.busker-hero::after {
	bottom: 59px;
}

.busker-hero__rij {
	position: relative;
	z-index: 1;
	align-items: center !important;
	margin-block: 0;
}

.busker-hero__beeld .wp-block-image {
	margin: 0;
	aspect-ratio: 737 / 540;
}

.busker-hero__tekst {
	padding-bottom: 59px;
}

.busker-hero__tekst > * + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

.busker-hero h1 {
	font-size: var(--wp--preset--font-size--section-title);
	line-height: 1.143;
	font-weight: 800;
}

/* ---------- Voordelen ---------- */

.busker-voordelen__rij {
	align-items: stretch !important;
	margin-block-end: 0;
}

.busker-voordelen__lijst {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.busker-voordelen__lijst > * {
	margin: 0 !important;
}

.busker-voordeel {
	background: var(--wp--preset--color--wit);
	border-style: solid;
}

.busker-voordeel h3 {
	margin: 0;
	font-size: var(--wp--preset--font-size--kop-s);
	line-height: 30px;
}

.busker-voordeel__icoon {
	margin: 0;
	flex: 0 0 48px;
}

.busker-fotoduo {
	--busker-schuin: 67px;
	height: 100%;
	min-height: 416px;
	gap: 0 !important;
}

.busker-fotoduo .wp-block-image {
	margin: 0;
	height: 100%;
	flex: 0 0 53.4%;
}

.busker-fotoduo .wp-block-image + .wp-block-image {
	margin-inline-start: -9.6%;
}

/* ---------- Video ---------- */

.busker-video {
	margin-block: 0;
}

.busker-video__poster {
	overflow: hidden;
}

.busker-video__poster .wp-block-cover__inner-container {
	width: auto !important;
}

.busker-video__titel {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 16px 24px;
	background: var(--wp--preset--color--licht);
	color: var(--wp--preset--color--donker);
}

.busker-video__titel span {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
}

.busker-video .wp-block-column > * + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

/* ---------- Werkdag (tijdlijn) ---------- */

.busker-werkdag .wp-block-columns {
	margin-block: 0;
}

.busker-tijdlijn > * {
	margin: 0 !important;
}

.busker-tijdlijn__stap {
	gap: 24px !important;
	padding-block: 24px;
	border-top: 1px solid var(--busker-lijn);
}

.busker-tijdlijn__stap:last-child {
	border-bottom: 1px solid var(--busker-lijn);
}

.busker-tijdlijn__tijd {
	display: flex;
	align-items: center;
	flex: 0 0 calc(23% - 24px);
	margin: 0;
	color: var(--busker-blauw);
	font-size: var(--wp--preset--font-size--kop-s);
	font-weight: 600;
	line-height: 30px;
}

.busker-tijdlijn__stap:nth-child(even) .busker-blokje::before {
	background: var(--wp--preset--color--logo-oranje);
}

.busker-tijdlijn__tekst {
	flex: 1 1 auto;
}

.busker-tijdlijn__tekst h4 {
	font-size: var(--wp--preset--font-size--body);
	line-height: 24px;
}

.busker-tijdlijn__tekst p {
	line-height: 20px;
}

/* ---------- Collega's aan het woord ---------- */

.busker-collegas {
	--busker-schuin: 82px;
	padding-bottom: 0;
}

.busker-collegas__band {
	position: relative;
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50) 0;
	background: var(--busker-blauw);
	color: var(--wp--preset--color--wit);
}

.busker-collegas__band::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 32px;
	background: var(--busker-blokken) repeat-x -47px 0 / 33.125px 32px;
}

.busker-collegas__binnen {
	max-width: 1280px;
	margin-inline: auto;
}

.busker-collegas__panel {
	display: grid;
	grid-template-columns: 40.5% 1fr;
	align-items: start;
	gap: 24px;
}

.busker-collegas__panel[hidden] {
	display: none;
}

.busker-collegas__foto {
	aspect-ratio: 519 / 467;
	margin-bottom: -71px;
	position: relative;
	z-index: 1;
}

.busker-collegas__foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	clip-path: polygon(var(--busker-schuin) 0, 100% 0, calc(100% - var(--busker-schuin)) 100%, 0 100%);
}

.busker-collegas__citaat {
	margin: 0;
	padding: 0 0 var(--wp--preset--spacing--70) 8%;
	max-width: 620px;
}

.busker-collegas__citaat .is-style-eyebrow {
	margin: 0 0 51px -60px;
}

.busker-collegas blockquote {
	margin: 0;
}

.busker-collegas blockquote p {
	margin: 0;
	font-size: var(--wp--preset--font-size--quote);
	font-style: italic;
	font-weight: 600;
	line-height: 1.21;
}

.busker-collegas figcaption {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
	font-weight: 600;
}

.busker-collegas__naam {
	font-size: var(--wp--preset--font-size--kop-s);
	line-height: 30px;
}

.busker-collegas__functie {
	font-size: var(--wp--preset--font-size--small);
	font-style: italic;
	line-height: 20px;
}

.busker-collegas__kiezer {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 138px var(--wp--preset--spacing--50) 0;
	box-sizing: content-box;
}

.busker-collegas__tabs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(200px, 266px);
	gap: 24px;
	overflow-x: auto;
	scrollbar-width: none;
}

.busker-collegas__tab {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0 0;
	border: 0;
	border-top: 1px solid var(--busker-blauw);
	background: none;
	font: inherit;
	text-align: left;
	cursor: pointer;
	color: var(--wp--preset--color--donker);
}

.busker-collegas__tab[aria-selected="true"] {
	border-top-width: 8px;
	padding-top: 16px;
}

.busker-collegas__tab[aria-selected="false"] {
	margin-top: 7px;
}

.busker-collegas__tab img {
	width: 84px;
	height: 56px;
	object-fit: cover;
	flex: 0 0 84px;
}

.busker-collegas__tabtekst {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.busker-collegas__tabnaam {
	color: var(--busker-blauw);
	font-size: var(--wp--preset--font-size--body);
	font-weight: 600;
	line-height: 24px;
}

.busker-collegas__tabfunctie {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
}

.busker-collegas__tab:focus-visible,
.busker-pijl:focus-visible {
	outline: 2px solid var(--busker-oranje);
	outline-offset: 4px;
}

.busker-collegas__pijlen {
	display: flex;
	gap: 16px;
	flex-shrink: 0;
}

.busker-pijl {
	width: 56px;
	height: 56px;
	border: 1px solid var(--busker-blauw);
	background: var(--wp--preset--color--wit);
	color: var(--busker-blauw);
	font: 600 24px/30px var(--wp--preset--font-family--jost);
	cursor: pointer;
}

.busker-pijl:hover {
	background: var(--busker-blauw);
	color: var(--wp--preset--color--wit);
}

/* ---------- Functies (vacaturekaarten) ---------- */

.busker-functies > * + * {
	margin-block-start: var(--wp--preset--spacing--60);
}

.busker-kop-rij {
	gap: 24px;
}

.busker-vacatures__raster {
	gap: 24px !important;
}

.busker-vacature-kaart {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 520px;
}

.busker-snede {
	position: relative;
	margin: 0;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--busker-lijn);
}

.busker-snede img {
	display: block;
	width: 100%;
	object-fit: cover;
}

/* Slanted bottom: orange line with a white wedge underneath. */
.busker-snede::before,
.busker-snede::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 48px;
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.busker-snede::before {
	background: var(--busker-oranje);
}

.busker-snede::after {
	background: var(--wp--preset--color--wit);
	transform: translateY(3px);
}

.busker-vacature-kaart__inhoud {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.busker-vacature-kaart__inhoud > * {
	margin: 0 !important;
}

.busker-vacature-kaart__inhoud > * + * {
	margin-top: 16px !important;
}

.busker-vacature-kaart__titel {
	font-size: var(--wp--preset--font-size--kop-s);
	line-height: 30px;
}

.busker-vacature-kaart__titel a {
	color: var(--busker-blauw);
	text-decoration: none;
}

.busker-details > * + * {
	margin-block-start: 8px !important;
}

.busker-details__regel p {
	margin: 0;
	line-height: 20px;
}

.busker-details__label {
	flex: 0 0 64px;
	color: var(--busker-blauw);
	font-weight: 600;
}

.busker-details__regel:has(.busker-details__waarde:empty) {
	display: none;
}

.busker-vacature-kaart__link {
	margin-top: auto !important;
	padding-top: 24px;
	color: var(--busker-blauw) !important;
	font-size: var(--wp--preset--font-size--body);
	font-weight: 600;
	text-decoration: none;
}

.busker-vacature-kaart__link:hover {
	text-decoration: underline;
}

/* ---------- Solliciteren in vier stappen ---------- */

.busker-solliciteren .wp-block-columns {
	margin-block: 0;
}

.busker-paneel {
	box-sizing: border-box;
	padding: 90px clamp(24px, 8vw, 128px) 90px 48px;
	min-height: 484px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 79px) 100%, 0 100%);
}

.busker-paneel > * + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

.busker-paneel > .has-small-font-size {
	margin-block-start: 16px;
}

.busker-stappen > * {
	margin: 0 !important;
}

.busker-stap {
	position: relative;
	gap: 24px !important;
	min-height: 112px;
}

.busker-stap:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 27px;
	top: 55px;
	bottom: 0;
	width: 2px;
	background: var(--busker-lijn);
}

.busker-stap__nummer {
	position: relative;
	flex: 0 0 56px;
	height: 47px;
	margin: 0;
	display: grid;
	place-items: center;
	color: var(--wp--preset--color--wit);
	font-size: var(--wp--preset--font-size--kop-s);
	font-weight: 600;
	line-height: 30px;
	isolation: isolate;
}

.busker-stap__nummer::before {
	content: "";
	position: absolute;
	inset: 0 3.9px;
	z-index: -1;
	background: var(--wp--preset--color--logo-lichtblauw);
	transform: skewX(-9.42deg);
}

.busker-stap:nth-child(even) .busker-stap__nummer::before {
	background: var(--wp--preset--color--logo-oranje);
}

.busker-stap__tekst {
	padding-bottom: 40px;
}

.busker-stap__tekst h3 {
	font-size: var(--wp--preset--font-size--body);
	line-height: 24px;
}

.busker-stap__tekst p {
	line-height: 20px;
}

/* ---------- Foto-band met paneel (open sollicitatie) ---------- */

.busker-fotoband {
	--busker-inhoud: min(1280px, 100% - 2 * var(--wp--preset--spacing--50));
	padding: 72px 0 !important;
	margin-bottom: var(--wp--preset--spacing--70);
	background-clip: content-box;
	background-origin: content-box;
}

.busker-fotoband__paneel {
	box-sizing: border-box;
	width: calc(var(--busker-inhoud) * 0.4906) !important;
	max-width: none !important;
	min-height: 504px;
	margin: -72px calc((100% - var(--busker-inhoud)) / 2) -72px auto !important;
	padding: 147px 100px 48px 108px;
	clip-path: polygon(81px 0, 100% 0, calc(100% - 79px) 100%, 0 100%);
}

.busker-fotoband__paneel > * + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

/* ---------- Footer ---------- */

.busker-footer p {
	margin: 0;
}

.busker-footer__kolommen {
	margin-block: 0;
}

.busker-footer__kolommen .wp-block-column > * + * {
	margin-block-start: 16px;
}

.busker-footer__links p,
.busker-footer__kop {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
}

.busker-footer__kop {
	font-style: italic;
	font-weight: 600;
}

.busker-footer__contact .has-small-font-size {
	line-height: 20px;
}

.busker-footer__contact .busker-icoonregel + .busker-icoonregel {
	margin-block-start: 10px;
}

.busker-icoonregel {
	display: flex;
	align-items: center;
	gap: 10px;
}

.busker-icoonregel::before {
	content: "";
	flex: 0 0 20px;
	height: 20px;
	background: center / contain no-repeat;
}

.busker-icoonregel--mail::before {
	background-image: url("../icons/mail.svg");
}

.busker-icoonregel--telefoon::before {
	background-image: url("../icons/telefoon.svg");
}

.busker-footer__onderrand {
	padding-top: 24px;
	border-top: 1px solid var(--wp--preset--color--licht);
}

.busker-footer__onderrand a + a {
	margin-inline-start: 24px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
	.busker-header__nav {
		gap: 16px;
	}

	.busker-fotoband__paneel {
		width: calc(var(--busker-inhoud) * 0.6) !important;
		padding: 100px 80px 48px 90px;
	}

	.busker-collegas__citaat .is-style-eyebrow {
		margin-left: 0;
	}
}

/* ---------- Mobile (WordPress stacks columns below 782px) ---------- */

@media (max-width: 781px) {
	:root {
		--busker-header-hoogte: 72px;
		--busker-header-top: 12px;
	}

	.busker-header {
		top: 8px;
	}

	.busker-header__balk {
		padding: 16px 20px;
		border-radius: 14px;
	}

	.busker-logo img {
		width: 130px !important;
		height: auto !important;
	}

	.busker-header__cta .wp-block-button__link {
		padding: 8px 16px;
	}

	/* Hero: text first, photo overlaps the block border. */
	.busker-hero {
		--busker-schuin: 48px;
		padding-top: calc(var(--busker-header-top) + var(--busker-header-hoogte) + 40px);
		background: linear-gradient(to bottom, var(--busker-blauw) 0 calc(100% - 40px), transparent 0);
	}

	.busker-hero::after {
		bottom: 40px;
	}

	.busker-hero__tekst {
		order: -1;
		padding-bottom: 8px;
	}

	.busker-fotoduo {
		--busker-schuin: 44px;
		min-height: 280px;
	}

	.busker-video {
		padding: 24px !important;
	}

	.busker-video__poster {
		min-height: 220px !important;
	}

	.busker-video__titel {
		padding: 10px 16px;
	}

	.busker-tijdlijn__stap {
		gap: 16px !important;
	}

	.busker-tijdlijn__tijd {
		flex-basis: 96px;
		font-size: 20px;
	}

	/* Collega's: photo and quote stacked inside the blue band. */
	.busker-collegas {
		--busker-schuin: 48px;
	}

	.busker-collegas__panel {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.busker-collegas__foto {
		margin-bottom: 0;
		max-width: 420px;
	}

	.busker-collegas__citaat {
		padding: 0 0 48px;
	}

	.busker-collegas__citaat .is-style-eyebrow {
		margin: 0 0 24px;
	}

	.busker-collegas__kiezer {
		flex-direction: column;
		padding-top: 32px;
	}

	.busker-collegas__tabs {
		grid-auto-columns: minmax(180px, 1fr);
		max-width: 100%;
	}

	.busker-collegas__tab img {
		width: 56px;
		flex-basis: 56px;
		height: 40px;
	}

	.busker-functies {
		padding: 24px !important;
	}

	.busker-vacature-kaart {
		min-height: 0;
	}

	.busker-paneel {
		padding: 48px 56px 48px 24px;
		min-height: 0;
		clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
	}

	.busker-fotoband {
		padding: 0 !important;
		background-size: auto 240px !important;
		background-repeat: no-repeat;
		background-clip: border-box;
		background-origin: border-box;
		padding-top: 200px !important;
	}

	.busker-fotoband__paneel {
		width: auto !important;
		min-height: 0;
		margin: 0 var(--wp--preset--spacing--50) !important;
		padding: 48px 48px 48px 40px;
		clip-path: polygon(32px 0, 100% 0, calc(100% - 32px) 100%, 0 100%);
	}

	.busker-footer__onderrand {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
	}
}

/* Functies flows straight into the next section (design: one 96px gap). */
.busker-functies-sectie {
	padding-bottom: 0 !important;
}
