/* Klussenbedrijf KCB - aanvullende stijlen bovenop theme.json */

/* Rechte hoeken overal */
.wp-block-button__link,
.wp-block-image img,
.wp-block-cover,
.wp-block-group {
	border-radius: 0;
}

/* Knoppen */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 44px;
}
.wp-block-button__link svg {
	width: 1.1em;
	height: 1.1em;
	flex-shrink: 0;
}
.wp-block-button.is-style-outline-geel .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--geel);
	border: 2px solid var(--wp--preset--color--geel);
}
.wp-block-button.is-style-outline-geel .wp-block-button__link:hover {
	background: var(--wp--preset--color--geel);
	color: var(--wp--preset--color--zwart);
}

/* Gele waarschuwingsstreep (scheidingslijn) */
.wp-block-separator.is-style-streep {
	border: 0;
	height: 14px;
	width: 100%;
	max-width: none;
	margin-top: 0;
	margin-bottom: 0;
	background: repeating-linear-gradient(-45deg, #F7C600 0 18px, #121212 18px 36px);
	opacity: 1;
}
.wp-block-separator.is-style-streep.is-style-streep-dun {
	height: 10px;
}

/* Labels (kleine gespatieerde kop boven een sectie) */
.wp-block-paragraph.is-style-label,
p.is-style-label,
p.is-style-label-oker {
	font-family: var(--wp--preset--font-family--barlow-condensed);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--geel);
	display: flex;
	align-items: center;
	gap: 0.7em;
	margin-bottom: 0.5rem;
}
p.is-style-label::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 3px;
	background: currentColor;
}
p.is-style-label-oker {
	color: var(--wp--preset--color--oker);
}
p.is-style-label.has-text-align-center,
p.is-style-label-oker.has-text-align-center {
	justify-content: center;
}

/* Tekstlink met gele onderstreep */
p.is-style-tekstlink a {
	font-family: var(--wp--preset--font-family--barlow-condensed);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid var(--wp--preset--color--geel);
	padding-bottom: 2px;
}
p.is-style-tekstlink a:hover {
	color: var(--wp--preset--color--geel-donker);
	border-color: var(--wp--preset--color--geel-donker);
}

/* Kaarten */
.wp-block-group.is-style-kaart {
	background: var(--wp--preset--color--wit);
	color: var(--wp--preset--color--zwart);
	border: 1px solid var(--wp--preset--color--lijn-licht);
	padding: 2rem;
	height: 100%;
	transition: transform 0.15s ease, border-color 0.15s ease;
}
.wp-block-group.is-style-kaart:hover {
	border-color: var(--wp--preset--color--geel);
	transform: translateY(-2px);
}
.wp-block-group.is-style-kaart h3,
.wp-block-group.is-style-kaart h4 {
	color: var(--wp--preset--color--zwart);
}
.wp-block-group.is-style-kaart p {
	color: var(--wp--preset--color--donkergrijs);
}
.wp-block-group.is-style-kaart p.is-style-tekstlink a {
	color: var(--wp--preset--color--oker);
}
.wp-block-group.is-style-kaart-donker {
	background: var(--wp--preset--color--zwart);
	color: var(--wp--preset--color--gebroken-wit);
	padding: 1.75rem 1.5rem;
	height: 100%;
}
.wp-block-group.is-style-gele-bovenrand {
	border-top: 6px solid var(--wp--preset--color--geel);
}

/* Iconen in kaarten (core/html met SVG) */
.kcb-icoon svg {
	width: 36px;
	height: 36px;
	display: block;
}
.kcb-icoon-groot svg {
	width: 40px;
	height: 40px;
	display: block;
	flex-shrink: 0;
}

/* Navigatie */
.wp-block-navigation .wp-block-navigation-item__content {
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
}
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--geel);
	border-bottom-color: var(--wp--preset--color--geel);
}
.wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--antraciet) !important;
	border: 1px solid var(--wp--preset--color--lijn) !important;
	border-radius: 0;
	min-width: 260px !important;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	border-bottom: 0;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
}
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--zwart);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 1.25rem;
	font-size: 1.375rem;
}

/* Topbalk */
.kcb-topbalk {
	font-size: 0.875rem;
	color: var(--wp--preset--color--grijs);
	border-bottom: 1px solid var(--wp--preset--color--lijn);
}
.kcb-topbalk .wp-block-paragraph,
.kcb-topbalk p {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin: 0;
}
.kcb-topbalk svg {
	width: 16px;
	height: 16px;
	color: var(--wp--preset--color--geel);
	flex-shrink: 0;
}
@media (max-width: 781px) {
	.kcb-topbalk {
		display: none;
	}
}

/* Header */
.kcb-header {
	border-bottom: 1px solid var(--wp--preset--color--lijn);
}
.kcb-header .wp-block-site-logo img {
	max-height: 56px;
	width: auto;
}
.kcb-logo-plaatshouder {
	width: 52px;
	height: 52px;
	background: var(--wp--preset--color--geel);
	color: var(--wp--preset--color--zwart);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--barlow-condensed);
	font-weight: 800;
	font-size: 1.375rem;
	flex-shrink: 0;
}
.kcb-header .wp-block-site-tagline {
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--grijs);
}
@media (max-width: 781px) {
	.kcb-header-belknop {
		display: none;
	}
}

/* Hero: schuine foto */
.kcb-hero-foto img {
	clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
	height: 100%;
	object-fit: cover;
}
@media (max-width: 781px) {
	.kcb-hero-foto img {
		clip-path: none;
		aspect-ratio: 16 / 10;
	}
}

/* USP-balk */
.kcb-usp .wp-block-column {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	padding: 1.75rem 2rem;
	border-right: 1px solid rgba(18, 18, 18, 0.18);
}
.kcb-usp .wp-block-column:last-child {
	border-right: 0;
}
.kcb-usp h3,
.kcb-usp h4 {
	color: var(--wp--preset--color--zwart);
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1;
	margin: 0;
}
.kcb-usp p {
	color: var(--wp--preset--color--zwart);
	font-size: 0.9375rem;
	font-weight: 500;
	margin: 0.25rem 0 0;
}
@media (max-width: 781px) {
	.kcb-usp .wp-block-column {
		border-right: 0;
		border-bottom: 1px solid rgba(18, 18, 18, 0.18);
		padding: 1rem 0;
	}
	.kcb-usp .wp-block-column:last-child {
		border-bottom: 0;
	}
	.kcb-usp h3,
	.kcb-usp h4 {
		font-size: 1.375rem;
	}
}

/* Galerij en dienstfoto's */
.kcb-galerij .wp-block-image img,
.kcb-foto-vast img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Footer */
.kcb-footer {
	border-top: 1px solid var(--wp--preset--color--lijn);
	font-size: 0.9375rem;
	color: var(--wp--preset--color--grijs);
}
.kcb-footer a {
	color: var(--wp--preset--color--grijs);
}
.kcb-footer a:hover {
	color: var(--wp--preset--color--geel);
}
.kcb-footer h4 {
	color: var(--wp--preset--color--gebroken-wit);
	margin-bottom: 0.75rem;
}
.kcb-footer-onder {
	border-top: 1px solid var(--wp--preset--color--lijn);
	font-size: 0.875rem;
	color: #6B6B6B;
}
.kcb-footer-onder a {
	color: #6B6B6B;
}

/* Vaste bel- en WhatsApp-balk op mobiel */
.kcb-belbalk {
	display: none;
}
@media (max-width: 781px) {
	.kcb-belbalk {
		display: grid;
		grid-template-columns: 1fr 1fr;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
	}
	.kcb-belbalk .wp-block-buttons {
		display: contents;
	}
	.kcb-belbalk .wp-block-button {
		margin: 0;
	}
	.kcb-belbalk .wp-block-button__link {
		width: 100%;
		min-height: 64px;
		border-radius: 0;
		border: 0;
		font-size: 1.25rem;
	}
	.kcb-belbalk .wp-block-button.kcb-belbalk-whatsapp .wp-block-button__link {
		background: var(--wp--preset--color--antraciet);
		color: var(--wp--preset--color--gebroken-wit);
		border-top: 1px solid #333333;
	}
	body {
		padding-bottom: 64px;
	}
	.block-editor-iframe__body {
		padding-bottom: 0;
	}
}

/* Formulieren (Contact Form 7 / WPForms) in huisstijl */
.kcb-formulier input[type="text"],
.kcb-formulier input[type="email"],
.kcb-formulier input[type="tel"],
.kcb-formulier select,
.kcb-formulier textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea,
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container select,
.wpforms-container textarea {
	width: 100%;
	background: var(--wp--preset--color--wit);
	color: var(--wp--preset--color--zwart);
	border: 1px solid var(--wp--preset--color--lijn-licht);
	border-radius: 0;
	padding: 0.85rem 1rem;
	font-family: inherit;
	font-size: 1rem;
}
.wpcf7 input[type="submit"],
.wpforms-container button[type="submit"] {
	background: var(--wp--preset--color--geel);
	color: var(--wp--preset--color--zwart);
	border: 2px solid var(--wp--preset--color--geel);
	border-radius: 0;
	font-family: var(--wp--preset--font-family--barlow-condensed);
	font-weight: 700;
	font-size: 1.375rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 1rem 1.75rem;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover,
.wpforms-container button[type="submit"]:hover {
	background: var(--wp--preset--color--geel-donker);
	border-color: var(--wp--preset--color--geel-donker);
}

/* Toegankelijkheid: zichtbare focus */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--wp--preset--color--geel);
	outline-offset: 2px;
}

/* Gele bovenrand als extra klasse (combineerbaar met kaartstijl) */
.kcb-gele-bovenrand {
	border-top: 6px solid var(--wp--preset--color--geel);
}

/* Lijst zonder opsommingstekens in een kaart */
.wp-block-group.is-style-kaart .wp-block-list {
	list-style: none;
	margin: 0;
}
.wp-block-group.is-style-kaart .wp-block-list li {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--wp--preset--color--lijn-licht);
}
.wp-block-group.is-style-kaart .wp-block-list li:last-child {
	border-bottom: 0;
}
.wp-block-group.is-style-kaart .wp-block-list a {
	color: var(--wp--preset--color--zwart);
	font-weight: 500;
}
.wp-block-group.is-style-kaart .wp-block-list a:hover {
	color: var(--wp--preset--color--oker);
}

/* Query-paginering */
.wp-block-query-pagination {
	margin-top: 2rem;
	font-family: var(--wp--preset--font-family--barlow-condensed);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.wp-block-query-pagination a {
	color: var(--wp--preset--color--zwart);
	border-bottom: 2px solid var(--wp--preset--color--geel);
}
.wp-block-query-pagination .current {
	color: var(--wp--preset--color--oker);
}
