/**
 * TeamQ14 – aanvullende styling bovenop theme.json.
 * Alleen wat theme.json niet kan: decoraties, clip-paths, sliders, header-gedrag, formulieren.
 */

:root {
	--tq-header-h: 88px;
	--tq-navy: var(--wp--preset--color--navy);
	--tq-orange: var(--wp--preset--color--primary);
	--tq-blue: var(--wp--preset--color--blue);
	--tq-light: var(--wp--preset--color--light-blue);
	--tq-border: var(--wp--preset--color--border);
	--tq-ease: cubic-bezier(.2, .7, .2, 1);
	--tq-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--tq-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--tq-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}

html,
body {
	overflow-x: clip;
}

/* Twee navy-secties direct onder elkaar: één doorlopend vlak, zonder naad in het brandmark. */
.is-style-navy + .is-style-navy {
	background-image: none;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wp-block-icon svg,
.tq-icon svg,
.wp-block-teamq14-vacature-meta svg {
	fill: none;
}

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

:where(.wp-site-blocks) > * {
	margin-block-start: 0;
}

.tq-content > *,
.tq-main > * {
	margin-block-start: 0;
}

.tq-content > * + * {
	margin-block-start: 0 !important;
}

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

.tq-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--tq-header-h);
	display: flex;
	align-items: center;
	color: #fff;
	background: transparent;
	transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.admin-bar .tq-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.tq-header__inner {
	width: 100%;
	gap: 1.5rem;
}

.tq-header.is-scrolled,
body:not(:has(.tq-hero)) .tq-header {
	background: #fff;
	color: var(--tq-navy);
	box-shadow: 0 1px 0 rgba(17, 24, 39, .06), 0 8px 24px -12px rgba(17, 24, 39, .18);
}

body:not(:has(.tq-hero)) .tq-main {
	padding-top: var(--tq-header-h);
}

.tq-logo__link {
	display: inline-flex;
	position: relative;
	line-height: 0;
}

.tq-logo__link img {
	width: 136px;
	height: auto;
	transition: opacity .25s ease;
}

.tq-logo__dark {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.tq-header.is-scrolled .tq-logo__light,
body:not(:has(.tq-hero)) .tq-logo__light {
	opacity: 0;
}

.tq-header.is-scrolled .tq-logo__dark,
body:not(:has(.tq-hero)) .tq-logo__dark {
	opacity: 1;
}

.tq-nav {
	--wp--style--block-gap: 1.6rem;
	font-weight: 500;
}

.tq-nav .wp-block-navigation-item__content {
	position: relative;
	padding-block: .35rem;
}

.tq-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--tq-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--tq-ease);
}

.tq-nav .wp-block-navigation-item__content:hover,
.tq-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--tq-orange);
	text-decoration: none;
}

.tq-nav .wp-block-navigation-item__content:hover::after,
.tq-nav .current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.tq-nav .wp-block-navigation__submenu-container {
	min-width: 13rem !important;
	padding: .5rem 0;
	border: 0 !important;
	color: var(--tq-navy);
	background: #fff !important;
	box-shadow: 0 16px 40px -16px rgba(20, 30, 71, .35);
}

.tq-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .55rem 1.25rem;
}

.tq-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
	display: none;
}

.tq-nav__mobile-only {
	display: none !important;
}

.tq-header__cta .wp-block-button__link {
	padding: .75rem 1.6rem;
}

/* Mobiel menu (core overlay) */
.tq-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: calc(var(--tq-header-h) + 1rem) 1.5rem 2rem;
	color: #fff;
	background: var(--tq-navy) !important;
}

.tq-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start;
	padding-top: 0;
	gap: 1.1rem;
	font-size: 1.35rem;
}

.tq-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	padding: .5rem 0 0 1rem;
	color: rgba(255, 255, 255, .85);
	background: transparent !important;
	box-shadow: none;
	font-size: 1.05rem;
}

.tq-nav .wp-block-navigation__responsive-container.is-menu-open .tq-nav__mobile-only {
	display: flex !important;
	color: var(--tq-orange);
}

.tq-nav .wp-block-navigation__responsive-container-open svg,
.tq-nav .wp-block-navigation__responsive-container-close svg {
	width: 32px;
	height: 32px;
}

@media (max-width: 781px) {
	:root {
		--tq-header-h: 72px;
	}

	.tq-header__cta {
		display: none;
	}

	.tq-header__inner {
		flex-direction: row;
	}
}

@media (min-width: 600px) and (max-width: 1080px) {
	.tq-nav {
		--wp--style--block-gap: 1rem;
		font-size: .95rem;
	}
}

/* -------------------------------------------------------------------------
 * Navy-secties, brandmark en stipdecoratie
 * ---------------------------------------------------------------------- */

.is-style-navy {
	position: relative;
	color: #fff;
	background-color: var(--tq-navy);
	background-image: url(../img/brandmark-bg-1.svg);
	background-repeat: no-repeat;
	background-size: max(1400px, 120%) auto;
	background-position: 40% 35%;
}

.is-style-navy :where(h1, h2, h3, h4, h5, h6) {
	color: #fff;
}

.is-style-navy :where(p, li) {
	color: rgba(255, 255, 255, .88);
}

.is-style-navy a:where(:not(.wp-element-button)) {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--tq-orange);
	text-underline-offset: .2em;
}

.is-style-navy .is-style-outline .wp-block-button__link {
	color: var(--tq-orange);
}

.is-style-navy .is-style-outline .wp-block-button__link:hover {
	color: #fff;
	background: var(--tq-orange);
}

.has-dots {
	position: relative;
}

.has-dots::before {
	content: "";
	position: absolute;
	z-index: 1;
	width: clamp(84px, 10vw, 140px);
	aspect-ratio: 140 / 62;
	background: url(../img/pattern-1.svg) no-repeat center / contain;
	pointer-events: none;
}

.has-dots--top-left::before {
	top: 0;
	left: max(var(--wp--style--root--padding-left), calc((100% - 1110px) / 2));
	transform: translateY(-50%);
}

.has-dots--top-right::before {
	top: 0;
	right: max(var(--wp--style--root--padding-right), calc((100% - 1110px) / 2));
	transform: translateY(-50%);
}

.has-dots--bottom-left::before {
	bottom: 0;
	left: max(var(--wp--style--root--padding-left), calc((100% - 1110px) / 2));
	transform: translateY(50%);
}

/* -------------------------------------------------------------------------
 * Hero's
 * ---------------------------------------------------------------------- */

.tq-hero {
	padding-top: calc(var(--tq-header-h) + var(--wp--preset--spacing--50));
	padding-bottom: var(--wp--preset--spacing--60);
}

.tq-hero.has-dots--bottom-left::before,
.tq-hero--page::before {
	content: "";
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: max(var(--wp--style--root--padding-left), calc((100% - 1110px) / 2));
	width: clamp(84px, 10vw, 140px);
	aspect-ratio: 140 / 62;
	background: url(../img/pattern-1.svg) no-repeat center / contain;
	transform: translateY(50%);
}

.tq-hero h1 {
	margin-top: 0;
	text-wrap: balance;
}

.tq-hero__intro,
.tq-hero .wp-block-post-excerpt__excerpt {
	max-width: 38rem;
}

.tq-hero .wp-block-buttons {
	margin-top: var(--wp--preset--spacing--30);
}

.tq-hero--home {
	min-height: min(860px, 92vh);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 0;
}

.tq-hero--home::before {
	display: none;
}

.tq-hero--home .tq-hero__columns {
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.tq-hero--home .tq-hero__media {
	position: relative;
	z-index: 2;
	margin-bottom: calc(-1 * var(--wp--preset--spacing--50));
	margin-right: calc(-1 * max(var(--wp--style--root--padding-right), (100vw - 1110px) / 2));
}

.tq-hero--home .tq-hero__media img {
	width: 100%;
	min-height: 420px;
}

.tq-hero--page.has-media {
	padding-bottom: calc(var(--wp--preset--spacing--40) + var(--wp--preset--spacing--40));
}

.tq-hero--page.has-media .tq-hero__columns {
	align-items: flex-end;
	gap: clamp(2rem, 5vw, 5rem);
}

.tq-hero--page.has-media .tq-hero__media {
	margin-bottom: calc(-1 * var(--wp--preset--spacing--60) - var(--wp--preset--spacing--40) - var(--wp--preset--spacing--40));
	position: relative;
	z-index: 2;
}

.tq-hero--page.has-media + * {
	padding-top: calc(var(--wp--preset--spacing--60) + var(--wp--preset--spacing--40) + var(--wp--preset--spacing--40)) !important;
}

.tq-hero--page.is-centered {
	text-align: center;
}

.tq-hero--page.is-centered > * {
	margin-inline: auto;
}

.tq-hero__text {
	max-width: 760px;
}

/* Ruimte voor de hero-afbeelding die onder de navy band uitsteekt. */
.tq-hero--home + .tq-intro {
	padding-top: calc(var(--wp--preset--spacing--50) + var(--wp--preset--spacing--30)) !important;
}

.tq-intro .tq-dots-col {
	position: relative;
	min-height: 70px;
}

.tq-intro .tq-dots-col::after {
	content: "";
	position: absolute;
	right: 2rem;
	bottom: 0;
	width: 140px;
	aspect-ratio: 140 / 62;
	background: url(../img/pattern-1.svg) no-repeat center / contain;
}

@media (max-width: 781px) {
	.tq-hero--home .tq-hero__media,
	.tq-hero--page.has-media .tq-hero__media {
		margin-right: 0;
		margin-bottom: calc(-1 * var(--wp--preset--spacing--50));
	}

	.tq-hero--home .tq-hero__media img {
		min-height: 0;
	}

	.tq-intro .tq-dots-col {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * Typografie-hulpjes
 * ---------------------------------------------------------------------- */

.is-style-eyebrow {
	margin-bottom: -.5rem;
	color: var(--tq-orange) !important;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.is-style-eyebrow + :where(h1, h2, h3) {
	margin-top: .5rem;
}

.tq-arrow-link a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.tq-arrow-link a::after {
	content: "";
	width: 1em;
	height: 1em;
	background: currentColor;
	mask: var(--tq-arrow) center / contain no-repeat;
	transition: transform .2s var(--tq-ease);
}

.tq-arrow-link a:hover::after {
	transform: translateX(3px);
}

.is-style-check {
	padding-left: 0 !important;
	list-style: none;
}

.is-style-check li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: .6rem;
}

.is-style-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--tq-orange);
	-webkit-mask: none;
}

.is-style-check li::after {
	content: "";
	position: absolute;
	left: .3rem;
	top: calc(.2em + .3rem);
	width: .65rem;
	height: .65rem;
	background: #fff;
	mask: var(--tq-check) center / contain no-repeat;
}

.tq-prose > :where(h2, h3) {
	margin-top: var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--x-large);
}

.tq-prose > :where(h4, h5, h6) {
	margin-top: var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--large);
}

.tq-prose > :first-child {
	margin-top: 0;
}

.tq-prose ul:not(.is-style-check) li::marker {
	color: var(--tq-orange);
}

.tq-prose .wp-block-quote,
.is-style-navy .wp-block-quote {
	margin: var(--wp--preset--spacing--40) 0;
	padding: var(--wp--preset--spacing--40);
	color: #fff;
	background: var(--tq-navy) url(../img/brandmark-bg-2.svg) no-repeat 50% 40% / 160% auto;
	font-style: italic;
	text-align: center;
}

.tq-prose .wp-block-quote p {
	color: #fff;
}

/* -------------------------------------------------------------------------
 * Kaarten en iconen
 * ---------------------------------------------------------------------- */

.is-style-card {
	box-sizing: border-box;
	height: 100%;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	background: var(--tq-light);
}

.is-style-card > :first-child {
	margin-top: 0;
}

.is-style-card-orange {
	box-sizing: border-box;
	height: 100%;
	padding: clamp(1.75rem, 3vw, 2.25rem);
	color: #fff;
	background: var(--tq-orange);
	transition: transform .3s var(--tq-ease);
}

.is-style-card-orange p {
	color: #fff !important;
}

.is-style-card-orange:hover {
	transform: scale(1.03);
}

.is-style-notched,
.is-style-card-orange.is-notched {
	clip-path: polygon(0 0, 78% 0, 78% 10%, 100% 10%, 100% 100%, 0 100%);
}

.wp-block-image.is-style-notched,
.wp-block-post-featured-image.is-style-notched {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 42% 100%, 42% 88%, 0 88%);
}

.tq-icon {
	margin-bottom: .75rem;
	line-height: 0;
}

.tq-icon svg {
	width: 2rem;
	height: 2rem;
	stroke-width: 1.75;
}

.is-style-card-orange .tq-icon {
	color: #fff;
}

.tq-icon--primary {
	color: var(--tq-orange);
}

.tq-icon--primary svg {
	width: 2.25rem;
	height: 2.25rem;
}

/* -------------------------------------------------------------------------
 * Secties
 * ---------------------------------------------------------------------- */

.tq-section {
	position: relative;
}

.tq-split {
	gap: clamp(2rem, 6vw, 6rem) !important;
}

.tq-media img {
	width: 100%;
}

.has-primary-light-background-color .is-style-eyebrow {
	color: var(--wp--preset--color--primary-dark) !important;
}

/* Logo-marquee */
.tq-logos h3 {
	margin-bottom: var(--wp--preset--spacing--40);
}

.tq-marquee {
	overflow: hidden;
	gap: 0 !important;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tq-marquee__track {
	display: flex;
	gap: 1rem;
	width: max-content;
	animation: tq-marquee var(--tq-marquee-duration, 40s) linear infinite;
}

.tq-marquee:hover .tq-marquee__track {
	animation-play-state: paused;
}

@keyframes tq-marquee {
	to {
		transform: translateX(calc(-50% - .5rem));
	}
}

@media (prefers-reduced-motion: reduce) {
	.tq-marquee__track {
		animation: none;
		flex-wrap: wrap;
		width: auto;
		justify-content: center;
	}
}

.wp-block-image.is-style-tile {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	height: 120px;
	margin: 0;
	padding: 1.25rem 1.75rem;
	border: 1px solid var(--tq-border);
	background: #fff;
}

.wp-block-image.is-style-tile img {
	max-height: 72px;
	width: auto;
	object-fit: contain;
}

/* Vakgebieden */
.tq-branch {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.tq-branch__image {
	margin-bottom: .5rem;
	overflow: hidden;
}

.tq-branch__image img {
	width: 100%;
	transition: transform .5s var(--tq-ease);
}

.tq-branch:hover .tq-branch__image img {
	transform: scale(1.05);
}

.tq-branch h3 {
	margin: 0;
}

.tq-branch h3 a {
	color: var(--tq-blue);
}

.tq-branch p {
	margin: 0;
}

.tq-branches-section h2,
.tq-vacancies > h2 {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* USP */
.tq-usp {
	padding-block: var(--wp--preset--spacing--60) !important;
}

.tq-usp .wp-block-columns {
	gap: clamp(2rem, 5vw, 4rem);
}

.tq-usp h2 {
	font-size: var(--wp--preset--font-size--xx-large);
}

/* Quotes-slider */
.tq-quotes {
	text-align: center;
}

.tq-quotes-box {
	padding: var(--wp--preset--spacing--50) clamp(1.5rem, 5vw, 4rem);
}

.tq-slider {
	gap: 0 !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.tq-slider::-webkit-scrollbar {
	display: none;
}

.tq-slide {
	flex: 0 0 100%;
	scroll-snap-align: center;
	padding-inline: clamp(.5rem, 6vw, 5rem);
}

.tq-slide__logo img {
	width: 88px;
	height: 88px;
	object-fit: contain;
	padding: .75rem;
	border-radius: 50%;
	background: #fff;
}

.tq-slide .is-style-eyebrow {
	margin-top: 1rem;
}

.wp-block-quote.is-style-testimonial {
	margin: 1rem 0 0;
	padding: 0;
	border: 0;
	text-align: center;
	background: none;
	font-style: normal;
}

.wp-block-quote.is-style-testimonial p {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.7;
}

.wp-block-quote.is-style-testimonial p::before {
	content: "“";
}

.wp-block-quote.is-style-testimonial p::after {
	content: "”";
}

.wp-block-quote.is-style-testimonial cite {
	display: block;
	margin-top: 1rem;
	color: rgba(255, 255, 255, .75);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
}

.wp-block-quote.is-style-testimonial cite strong {
	color: #fff;
	font-weight: 600;
}

.tq-slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: var(--wp--preset--spacing--30);
}

.tq-slider-nav button {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #fff;
	background: var(--tq-orange);
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease;
}

.tq-slider-nav button:disabled {
	opacity: .35;
	cursor: default;
}

.tq-slider-nav button::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	mask: var(--tq-arrow) center / contain no-repeat;
}

.tq-slider-nav .tq-slider-prev::before {
	transform: rotate(180deg);
}

.tq-slider-dots {
	display: flex;
	gap: .5rem;
}

.tq-slider-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
	transition: background-color .2s ease, transform .2s ease;
}

.tq-slider-dots span.is-active {
	background: var(--tq-orange);
	transform: scale(1.25);
}

/* Banner */
.is-style-banner {
	position: relative;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
	color: #fff;
	background: var(--tq-navy) url(../img/brandmark-bg-1.svg) no-repeat 30% 40% / 180% auto;
}

.is-style-banner :where(h2, h3) {
	margin-top: 0;
	color: #fff;
}

.is-style-banner p {
	color: rgba(255, 255, 255, .88);
}

/* CTA */
.tq-cta {
	margin-top: var(--wp--preset--spacing--50);
}

.tq-cta .wp-block-columns {
	gap: clamp(2rem, 6vw, 6rem);
}

@media (min-width: 782px) {
	.tq-cta__media {
		margin-top: calc(-1 * var(--wp--preset--spacing--60)) !important;
	}
}

/* Stappen */
.tq-steps {
	margin-top: var(--wp--preset--spacing--40);
}

.tq-steps .is-style-eyebrow {
	margin-bottom: 0;
}

.tq-steps h3 {
	margin-top: .25rem;
}

.tq-steps-section > .wp-block-heading,
.tq-steps-section > p:not(.is-style-eyebrow) {
	max-width: 760px;
	margin-inline: auto;
}

/* Tijdlijn */
.tq-timeline {
	position: relative;
	margin-top: var(--wp--preset--spacing--50);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.tq-timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: var(--tq-orange);
	transform: translateX(-50%);
}

.tq-timeline__item {
	position: relative;
	width: calc(50% - 3.5rem);
	height: auto;
	margin: 0 !important;
}

.tq-timeline__item:nth-child(even) {
	align-self: flex-end;
}

.tq-timeline__item h3 {
	margin: 0 0 .5rem;
}

.tq-timeline__item p {
	margin: 0;
}

.tq-timeline__item::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 18%;
	height: 1.5rem;
	background: #fff;
}

.tq-timeline__item:nth-child(even)::after {
	top: auto;
	bottom: 0;
	width: 12%;
}

.tq-timeline__item::before {
	content: "";
	position: absolute;
	top: 50%;
	right: calc(-3.5rem - 10px);
	width: 20px;
	height: 20px;
	box-sizing: border-box;
	border: 2px solid var(--tq-orange);
	border-radius: 50%;
	background: var(--tq-orange);
	box-shadow: inset 0 0 0 3px #fff;
	transform: translateY(-50%);
}

.tq-timeline__item:nth-child(even)::before {
	right: auto;
	left: calc(-3.5rem - 10px);
}

@media (max-width: 781px) {
	.tq-timeline::before {
		left: 9px;
	}

	.tq-timeline__item,
	.tq-timeline__item:nth-child(even) {
		width: calc(100% - 2.5rem);
		align-self: flex-end;
	}

	.tq-timeline__item::before,
	.tq-timeline__item:nth-child(even)::before {
		right: auto;
		left: calc(-2.5rem + -1px);
	}
}

/* FAQ */
.tq-faq {
	margin-top: var(--wp--preset--spacing--30);
}

.wp-block-details.is-style-faq {
	margin: 0 !important;
	border-bottom: 1px solid var(--tq-border);
}

.wp-block-details.is-style-faq summary {
	position: relative;
	padding: 1.15rem 3rem 1.15rem 0;
	color: var(--tq-blue);
	font-weight: 600;
	font-size: 1.08rem;
	list-style: none;
	cursor: pointer;
}

.wp-block-details.is-style-faq summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.is-style-faq summary::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 32px;
	height: 32px;
	border: 1px solid var(--tq-border);
	border-radius: 50%;
	background: #fff;
	transform: translateY(-50%);
}

.wp-block-details.is-style-faq summary::before {
	content: "";
	position: absolute;
	right: 7px;
	top: 50%;
	z-index: 1;
	width: 18px;
	height: 18px;
	background: #9ca3af;
	mask: var(--tq-chevron) center / contain no-repeat;
	transform: translateY(-50%);
	transition: transform .25s var(--tq-ease), background-color .2s ease;
}

.wp-block-details.is-style-faq[open] summary::before {
	background: var(--tq-orange);
	transform: translateY(-50%) rotate(180deg);
}

.wp-block-details.is-style-faq summary:hover {
	color: var(--tq-orange);
}

.wp-block-details.is-style-faq > :not(summary) {
	margin-top: 0;
	padding-right: 3rem;
}

.wp-block-details.is-style-faq > :last-child {
	padding-bottom: 1.25rem;
}

.tq-faq-section + .tq-faq-section {
	padding-top: 0 !important;
}

/* Team */
.tq-team {
	margin-top: var(--wp--preset--spacing--40);
}

.tq-team__member {
	text-align: center;
}

.tq-team__member h3 {
	margin: 1rem 0 0;
}

.tq-team__photo img {
	width: 100%;
}

.tq-team__role {
	margin: .15rem 0 .5rem;
	color: var(--wp--preset--color--muted);
	text-transform: capitalize;
}

.tq-team__member .wp-block-social-links {
	justify-content: center;
}

/* Social icons */
.wp-block-social-links.is-style-tq-social {
	gap: .6rem;
}

.wp-block-social-links.is-style-tq-social .wp-social-link {
	color: #fff;
	background: var(--tq-orange) !important;
}

.wp-block-social-links.is-style-tq-social .wp-block-social-link-anchor {
	padding: .4rem;
}

.wp-block-social-links.is-style-tq-social .wp-block-social-link-anchor svg {
	width: 1rem;
	height: 1rem;
}

.wp-block-social-links.is-style-tq-social.has-visible-labels .wp-social-link {
	color: var(--wp--preset--color--body);
	background: none !important;
}

.wp-block-social-links.is-style-tq-social.has-visible-labels .wp-block-social-link-anchor {
	gap: .75rem;
	padding: 0;
}

.wp-block-social-links.is-style-tq-social.has-visible-labels .wp-block-social-link-anchor svg {
	box-sizing: content-box;
	padding: .4rem;
	border-radius: 50%;
	color: #fff;
	background: var(--tq-orange);
}

.wp-block-social-links.is-style-tq-social.has-visible-labels .wp-block-social-link-label {
	font-size: var(--wp--preset--font-size--small);
}

/* Contact / route */
.tq-contact .wp-block-columns {
	gap: clamp(2rem, 6vw, 5rem);
}

.tq-form-card {
	height: auto;
}

.tq-route {
	padding-bottom: 0 !important;
}

.tq-map {
	margin-top: var(--wp--preset--spacing--50);
	margin-inline: calc(-1 * var(--wp--style--root--padding-left));
	line-height: 0;
}

.tq-map iframe {
	width: 100%;
	height: clamp(320px, 45vw, 480px);
	border: 0;
	filter: grayscale(.2);
}

/* -------------------------------------------------------------------------
 * Vacatures
 * ---------------------------------------------------------------------- */

.tq-cards > li {
	margin: 0;
}

.tq-cards > li > .wp-block-template-part {
	height: 100%;
}

.tq-vacature-card {
	box-sizing: border-box;
	gap: .75rem;
	height: 100%;
	transition: transform .3s var(--tq-ease), box-shadow .3s var(--tq-ease);
}

.tq-vacature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -24px rgba(20, 30, 71, .45);
}

.tq-vacature-card .wp-block-post-title {
	margin: 0;
	line-height: 1.25;
}

.tq-vacature-card .wp-block-post-title a {
	color: var(--tq-blue);
}

.tq-vacature-card .wp-block-post-title a:hover {
	color: var(--tq-orange);
	text-decoration: none;
}

.tq-vacature-card .wp-block-post-excerpt {
	margin: 0;
	flex-grow: 1;
}

.tq-vacature-card .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.tq-vacature-card .wp-block-teamq14-vacature-meta {
	width: 100%;
	margin-top: .75rem;
}

.wp-block-teamq14-vacature-meta {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wp-block-teamq14-vacature-meta li {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .55rem 0;
	border-bottom: 1px solid rgba(20, 30, 71, .08);
}

.wp-block-teamq14-vacature-meta li:last-child {
	border-bottom: 0;
}

.wp-block-teamq14-vacature-meta svg {
	flex: 0 0 auto;
	width: 1.05rem;
	height: 1.05rem;
	color: var(--tq-orange);
}

.wp-block-teamq14-vacature-meta.is-layout-inline {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	margin-block: var(--wp--preset--spacing--20);
}

.wp-block-teamq14-vacature-meta.is-layout-inline li {
	padding: 0;
	border: 0;
}

.is-style-navy .wp-block-teamq14-vacature-meta li {
	color: #fff;
}

.tq-sticky {
	position: sticky;
	top: calc(var(--tq-header-h) + 1.5rem);
	height: auto;
}

.tq-button-full,
.tq-button-full .wp-block-button__link {
	width: 100%;
}

.tq-vacature-layout {
	gap: clamp(2rem, 5vw, 4rem) !important;
}

/* Filter */
.teamq14-filter {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 1rem;
	align-items: end;
	margin-bottom: var(--wp--preset--spacing--40);
	padding: 1.5rem;
	background: var(--tq-light);
}

.teamq14-filter__field label {
	display: block;
	margin-bottom: .35rem;
	color: var(--tq-blue);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.teamq14-filter select {
	width: 100%;
}

.teamq14-filter__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.teamq14-filter__reset {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.tq-query-total {
	margin-bottom: 1rem;
	color: var(--wp--preset--color--muted);
}

.tq-term-tiles {
	margin-top: var(--wp--preset--spacing--30);
}

.tq-term-tiles .wp-block-term-template {
	row-gap: 1.25rem;
	padding: 0;
	list-style: none;
}

.tq-term-tiles .wp-block-term-template > li {
	display: flex;
	margin: 0;
}

.tq-term-tiles .wp-block-term-template > li > * {
	flex: 1;
}

.tq-term-tile {
	height: 100%;
	margin: 0;
}

.tq-term-tile a {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 4.5rem;
	padding: 1rem;
	color: var(--tq-blue);
	background: var(--tq-light);
	font-size: 1.1rem;
	font-weight: 600;
	text-align: center;
	transition: background-color .2s ease, color .2s ease;
}

.tq-term-tile a:hover {
	color: #fff;
	background: var(--tq-orange);
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * Referenties
 * ---------------------------------------------------------------------- */

.tq-referentie-card {
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.tq-referentie-card__type {
	align-self: flex-end;
	margin: 0;
}

.tq-referentie-card__quote {
	flex-grow: 1;
	font-style: italic;
}

.tq-person {
	gap: 1rem;
	align-items: center;
}

.tq-person p {
	margin: 0;
}

.tq-person__name {
	color: var(--tq-blue);
	font-weight: 700;
}

.tq-person__role {
	font-size: var(--wp--preset--font-size--small);
}

article .tq-person {
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--tq-border);
}

.tq-avatar img {
	border-radius: 50%;
	background: #fff;
	object-fit: contain !important;
}

.tq-hero .tq-avatar {
	margin-bottom: 1rem;
}

.tq-hero .tq-avatar img {
	padding: .5rem;
}

.tq-read-more,
.wp-block-read-more.tq-read-more {
	display: inline-block;
	align-self: flex-start;
	padding: .7rem 1.5rem;
	border: 1px solid var(--tq-orange);
	border-radius: 999px;
	color: var(--tq-orange);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	transition: background-color .2s ease, color .2s ease;
}

.tq-read-more:hover {
	color: #fff;
	background: var(--tq-orange);
	text-decoration: none;
}

/* Blog */
.tq-post-card .wp-block-post-featured-image {
	margin: calc(-1 * clamp(1.5rem, 2.5vw, 2rem)) calc(-1 * clamp(1.5rem, 2.5vw, 2rem)) 1rem;
}

/* Paginering */
.wp-block-query-pagination {
	margin-top: var(--wp--preset--spacing--40);
	font-weight: 600;
}

.wp-block-query-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
}

.wp-block-query-pagination .page-numbers.current {
	color: #fff;
	background: var(--tq-orange);
}

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

.tq-footer {
	border-top: 1px solid var(--tq-border);
	font-size: var(--wp--preset--font-size--small);
}

.tq-footer__columns {
	gap: 2rem !important;
}

.tq-footer__title {
	margin: 0 0 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--tq-border);
	color: var(--tq-blue);
	font-size: 1rem;
}

.tq-footer__nav {
	--wp--style--block-gap: .35rem;
	font-weight: 400;
}

.tq-footer a,
.tq-footer .wp-block-navigation-item__content {
	color: var(--wp--preset--color--body);
}

.tq-footer a:hover {
	color: var(--tq-orange);
	text-decoration: none;
}

.tq-footer__vacatures .wp-block-post-template {
	display: flex;
	flex-direction: column;
	gap: .35rem;
}

.tq-footer__vacatures .wp-block-post-title {
	margin: 0;
	font-weight: 400;
	line-height: 1.4;
}

.tq-footer__bottom {
	gap: 1rem 2.5rem;
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--tq-border);
}

.tq-footer__bottom p {
	margin: 0;
}

.tq-footer__legal {
	--wp--style--block-gap: 1.5rem;
}

/* -------------------------------------------------------------------------
 * Formulieren (Forminator, design "none")
 * ---------------------------------------------------------------------- */

.teamq14-form .forminator-ui.forminator-custom-form {
	margin: 0 !important;
}

.teamq14-form .forminator-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
	margin-bottom: 1.1rem;
}

.teamq14-form .forminator-col {
	flex: 1 1 14rem;
	min-width: 0;
}

.teamq14-form .forminator-label,
.teamq14-filter label {
	display: block;
	margin-bottom: .4rem;
	color: var(--tq-blue);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.teamq14-form .forminator-required {
	color: var(--tq-orange);
}

.teamq14-form input[type="text"],
.teamq14-form input[type="email"],
.teamq14-form input[type="tel"],
.teamq14-form input[type="number"],
.teamq14-form textarea,
.teamq14-form select,
.teamq14-filter select {
	box-sizing: border-box;
	width: 100%;
	padding: .8rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0;
	color: var(--wp--preset--color--ink);
	background: #fff;
	font: inherit;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.teamq14-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.teamq14-form :is(input, textarea, select):focus,
.teamq14-filter select:focus {
	border-color: var(--tq-orange);
	outline: none;
	box-shadow: 0 0 0 3px rgba(253, 96, 42, .18);
}

.teamq14-form .forminator-description,
.teamq14-form .forminator-file-upload span {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.teamq14-form .forminator-file-upload {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
	padding: .75rem;
	border: 1px dashed #d1d5db;
	background: #fff;
}

.teamq14-form .forminator-button-upload,
.teamq14-form .forminator-button:not(.forminator-button-submit) {
	padding: .55rem 1.1rem;
	border: 1px solid var(--tq-orange);
	border-radius: 999px;
	color: var(--tq-orange);
	background: #fff;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	cursor: pointer;
}

.teamq14-form .forminator-button-submit {
	padding: .9rem 2rem;
	border: 1px solid var(--tq-orange);
	border-radius: 999px;
	color: #fff;
	background: var(--tq-orange);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s ease;
}

.teamq14-form .forminator-button-submit:hover {
	background: var(--wp--preset--color--primary-dark);
}

.teamq14-form .forminator-error-message {
	display: block;
	margin-top: .35rem;
	color: #c2410c;
	font-size: var(--wp--preset--font-size--x-small);
}

.teamq14-form .forminator-has_error :is(input, textarea, select) {
	border-color: #ea580c;
}

.teamq14-form .forminator-response-message:not(:empty) {
	margin-bottom: 1rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--tq-orange);
	background: #fff;
}

.teamq14-form .forminator-checkbox,
.teamq14-form .forminator-checkbox-label {
	font-size: var(--wp--preset--font-size--small);
}

.teamq14-notice {
	padding: 1rem;
	border: 1px dashed var(--tq-orange);
	font-size: var(--wp--preset--font-size--small);
}

/* -------------------------------------------------------------------------
 * Toegankelijkheid
 * ---------------------------------------------------------------------- */

:focus-visible {
	outline: 2px solid var(--tq-orange);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* -------------------------------------------------------------------------
 * Editor
 * ---------------------------------------------------------------------- */

.editor-styles-wrapper .tq-hero {
	padding-top: var(--wp--preset--spacing--50);
}

.editor-styles-wrapper .tq-marquee {
	flex-wrap: wrap !important;
	gap: 1rem !important;
	mask-image: none;
}

.editor-styles-wrapper .tq-slider {
	flex-wrap: wrap !important;
	gap: 2rem !important;
}

/* Loopbaan in 4 kwartalen */
.tq-quarters {
	max-width: 26rem;
	margin-inline: auto;
}

.tq-quarter {
	display: flex;
	flex-direction: column;
	justify-content: center;
	aspect-ratio: 1;
	padding: 1.25rem;
	color: var(--tq-navy);
	background: #fff;
	text-align: center;
}

.tq-quarter p {
	margin: 0;
}

.tq-quarter__q {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1;
}

.tq-quarter__label {
	margin-top: .35rem !important;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tq-quarter:first-child {
	border-top-left-radius: 100% 100%;
	color: #fff;
	background: var(--tq-navy);
}

.tq-quarter.is-highlight {
	border-bottom-right-radius: 100% 100%;
	color: #fff;
	background: var(--tq-orange);
}

/* Lijn-iconen (Lucide) – de icon-API bewaart alleen paden, dus stroke via CSS. */
.wp-block-icon svg,
.wp-block-teamq14-vacature-meta svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
