/*
Theme Name: LeadEngine Child
Template: leadengine
Theme URI: https://www.leadengine-wp.com/
Author: Key-Design
Author URI: http://themeforest.net/user/Key-Design
Description: Multi-Purpose WordPress Theme with Page Builder
Version: 1.0.3
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready

/* Below you can write your style */

/* JKC: SVG search toggle with original absolute topbar layout */
.topbar-search {
	display: inline-block;
	position: relative;
	line-height: 43px;
	vertical-align: top;
	min-width: 30px;
	width: 30px;
}

.topbar-search:has(.search-form.active),
.topbar-search.search-open {
	width: auto;
	min-width: 280px;
}

.topbar-search .toggle-search.jkc-search-toggle {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	height: 22px;
	width: 22px;
	top: 12px;
	right: 8px;
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 22px;
	font-size: 12px;
	color: inherit;
	cursor: pointer;
	z-index: 2;
}

.topbar-search .toggle-search.jkc-search-toggle:hover {
	opacity: 1;
	color: #1f1f1f;
}

.topbar-search .toggle-search.jkc-search-toggle .jkc-search-icon,
.topbar-search .toggle-search.jkc-search-toggle .jkc-close-icon {
	display: block;
	width: 12px;
	height: 12px;
}

.topbar-search .toggle-search.jkc-search-toggle .jkc-close-icon {
	display: none;
}

.topbar-search .toggle-search.jkc-search-toggle.is-open .jkc-search-icon,
.topbar-search .toggle-search.jkc-search-toggle.fa-times .jkc-search-icon {
	display: none;
}

.topbar-search .toggle-search.jkc-search-toggle.is-open .jkc-close-icon,
.topbar-search .toggle-search.jkc-search-toggle.fa-times .jkc-close-icon {
	display: block;
}

.topbar-menu-search,
.topbar-contact,
.topbar-menu,
.topbar-search,
.topbar .keydesign-cart {
	vertical-align: top;
}

/* FAQ-accordion in blogartikelen (native <details>/<summary>), JKC 2026-08-21.
   Theme-reset zet summary op display:block, waardoor het pijltje en de klikbaarheid onzichtbaar waren. */
.blog-content details {
	border: 1px solid #e3e6ea;
	border-radius: 5px;
	margin: 0 0 12px;
	background: #fff;
}

.blog-content details summary {
	display: block;
	position: relative;
	padding: 14px 48px 14px 18px;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	-webkit-user-select: none;
	user-select: none;
	outline-offset: 2px;
}

.blog-content details summary::-webkit-details-marker {
	display: none;
}

.blog-content details summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 20px;
	width: 9px;
	height: 9px;
	border-right: 2px solid #6cc4e9;
	border-bottom: 2px solid #6cc4e9;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.blog-content details[open] summary::after {
	transform: translateY(-30%) rotate(-135deg);
}

.blog-content details summary:hover {
	color: #6cc4e9;
}

.blog-content details > *:not(summary) {
	padding: 0 18px 16px;
}

.blog-content details > p:last-child,
.blog-content details > p.body-text:last-child {
	margin-bottom: 0;
	padding-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
	.blog-content details summary::after {
		transition: none;
	}
}
