:root {
	--ackb-blue: #009de0;
	--ackb-ink: #1e1a1b;
	--ackb-copy: #202020;
	--ackb-muted: #6f7478;
	--ackb-line: #e5e7e9;
	--ackb-soft: #f4f5f5;
	--ackb-shell: 1160px;
}

body.archicalc-kb-skin {
	background: #fff;
	color: var(--ackb-copy);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 25px;
}

body.archicalc-kb-skin .wp-site-blocks {
	padding-top: 0;
	padding-bottom: 0;
}

body.archicalc-kb-skin .wp-site-blocks > header,
body.archicalc-kb-skin .wp-site-blocks > footer {
	display: none;
}

body.archicalc-kb-skin main {
	margin-block-start: 0;
}

body.archicalc-kb-home main > .wp-block-group,
body.archicalc-kb-home main > .wp-block-post-content,
body.archicalc-kb-home .entry-content {
	max-width: none !important;
	padding: 0 !important;
}

.ackb-shell {
	box-sizing: border-box;
	width: min(100% - 48px, var(--ackb-shell));
	margin-inline: auto;
}

.ackb-header {
	position: relative;
	z-index: 20;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}

.ackb-header__inner {
	display: flex;
	min-height: 64px;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.ackb-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #111;
	font-size: 25px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.ackb-brand__image {
	display: block;
	width: auto;
	max-width: 190px;
	max-height: 42px;
}

.ackb-brand__mark {
	width: 0;
	height: 0;
	border-top: 13px solid transparent;
	border-bottom: 13px solid transparent;
	border-left: 20px solid var(--ackb-blue);
	transform: skewY(-8deg);
}

.ackb-nav__list,
.ackb-footer__links {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ackb-nav__list {
	align-items: center;
	gap: 30px;
}

.ackb-nav a {
	position: relative;
	color: #111;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 25px;
	text-decoration: none;
}

.ackb-nav a:hover,
.ackb-nav a:focus,
.ackb-nav a[aria-current="page"] {
	color: var(--ackb-blue);
}

.ackb-nav a[aria-current="page"]::after {
	position: absolute;
	right: 0;
	bottom: -12px;
	left: 0;
	height: 2px;
	background: currentColor;
	content: "";
}

.ackb-home {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
}

.ackb-hero,
.hkb-searchbox-wrapper {
	background: var(--ackb-blue) !important;
	color: #fff;
}

/* Heroic KB slaat de achtergrond van artikel-, categorie- en zoektemplates inline op. */
body.archicalc-kb-skin .wp-block-group.has-background[style*="background-color:#2358a1"],
body.archicalc-kb-skin .wp-block-group.has-background[style*="background-color: #2358a1"] {
	background-color: var(--ackb-blue) !important;
}

body.archicalc-kb-skin .ht_toc_item.active > .ht_toc_link,
body.archicalc-kb-skin .hkb_widget_exit__btn > .wp-block-button__link {
	background-color: var(--ackb-blue) !important;
	color: #fff !important;
}

body.archicalc-kb-skin .ht_toc_item.active > .ht_toc_link:hover,
body.archicalc-kb-skin .hkb_widget_exit__btn > .wp-block-button__link:hover {
	background-color: #008bc7 !important;
	color: #fff !important;
}

.ackb-hero__inner {
	padding-block: 64px;
	text-align: center;
}

.ackb-hero h1,
.hkb-searchbox-wrapper h1,
.hkb-searchbox-wrapper .hkb-searchbox__title {
	margin: 0 0 34px;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 45px;
	letter-spacing: -.025em;
}

.ackb-search {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	width: min(100%, 600px);
	margin-inline: auto;
	overflow: visible;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.ackb-search-results[hidden] {
	display: none;
}

.ackb-search-results {
	position: absolute;
	z-index: 40;
	top: calc(100% + 10px);
	right: 0;
	left: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ackb-line);
	border-radius: 10px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
	color: var(--ackb-copy);
	text-align: left;
}

.ackb-search-results__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--ackb-line);
	color: #000 !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 20px;
	text-decoration: none;
}

.ackb-search-results__item:last-child {
	border-bottom: 0;
}

.ackb-search-results__item:hover,
.ackb-search-results__item:focus {
	background: #eef8fd;
	color: #000 !important;
	outline: 0;
}

.ackb-search-results__item small {
	flex: 0 0 auto;
	color: var(--ackb-muted);
	font-size: 12px;
	font-weight: 400;
}

.ackb-search-results__message {
	padding: 14px 16px;
	color: var(--ackb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.ackb-search__icon {
	width: 14px;
	height: 14px;
	margin-left: 20px;
	border: 3px solid #111;
	border-radius: 50%;
}

.ackb-search__icon::after {
	display: block;
	width: 8px;
	height: 3px;
	margin: 11px 0 0 10px;
	background: #111;
	content: "";
	transform: rotate(45deg);
}

.ackb-search input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	padding: 12px 18px;
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--ackb-copy);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	outline: 0;
}

.ackb-search button {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.ackb-search:focus-within {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .4), 0 10px 30px rgba(0, 0, 0, .12);
}

.ackb-topics {
	padding-block: 62px 72px;
}

.ackb-topics > h2 {
	margin: 0 0 42px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--ackb-line);
	color: #4b4e53;
	font-family: "Roboto Slab", Georgia, serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 32px;
}

.ackb-topics__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px 34px;
}

.ackb-topic h3 {
	margin: 0 0 7px;
	font-family: "Roboto Slab", Georgia, serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 32px;
}

.ackb-topic h3 a,
.ackb-topic li a {
	color: #000 !important;
	text-decoration: none;
}

.ackb-topic h3 a {
	color: #4b4e53 !important;
	font-family: "Roboto Slab", Georgia, serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 32px;
}

.ackb-topic h3 a:hover,
.ackb-topic li a:hover,
.ackb-topic__all:hover {
	color: var(--ackb-blue);
}

.ackb-topic__count {
	display: block;
	margin-bottom: 20px;
	color: var(--ackb-muted);
	font-size: 13px;
}

.ackb-topic ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ackb-topic li {
	position: relative;
	margin: 0 0 9px;
	padding-left: 23px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 25px;
}

.ackb-topic li a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 25px;
}

.ackb-topic li::before {
	position: absolute;
	top: 2px;
	left: 2px;
	box-sizing: border-box;
	width: 12px;
	height: 15px;
	border: 1px solid #6e7377;
	border-radius: 1px;
	content: "";
}

.ackb-topic li::after {
	position: absolute;
	top: 6px;
	left: 5px;
	width: 6px;
	height: 1px;
	background: #6e7377;
	box-shadow: 0 3px 0 #6e7377;
	content: "";
}

.ackb-topic__all {
	display: inline-block;
	margin-top: 14px;
	color: #4b4e53;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 25px;
	text-decoration: none;
}

.ackb-notice,
.ackb-empty {
	grid-column: 1 / -1;
	padding: 18px 20px;
	background: #fff8d9;
	border-left: 4px solid #d9a400;
}

body.archicalc-kb-skin:not(.archicalc-kb-home) main,
body.archicalc-kb-skin:not(.archicalc-kb-home) .wp-block-post-content {
	box-sizing: border-box;
	width: min(100% - 48px, var(--ackb-shell));
	max-width: var(--ackb-shell) !important;
	margin-inline: auto;
	padding-block: 56px;
}

body.archicalc-kb-skin .hkb-article,
body.archicalc-kb-skin .hkb-category,
body.archicalc-kb-skin .hkb-mainpage-wrapper {
	font-family: Arial, Helvetica, sans-serif;
}

body.archicalc-kb-skin .hkb-article__title,
body.archicalc-kb-skin .hkb-category__title,
body.archicalc-kb-skin article h1,
body.archicalc-kb-skin article h2,
body.archicalc-kb-skin article h3 {
	font-family: "Roboto Slab", Georgia, serif;
}

body.archicalc-kb-skin article a {
	color: #007eb7;
}

.ackb-footer {
	background: var(--ackb-ink);
	color: rgba(255, 255, 255, .72);
}

.ackb-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 80px;
	padding-block: 52px;
}

.ackb-footer h2 {
	margin: 0 0 18px;
	color: #fff;
	font-family: "Roboto Slab", Georgia, serif;
	font-size: 18px;
}

.ackb-footer p {
	margin: 0 0 16px;
	line-height: 1.65;
}

.ackb-footer a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
}

.ackb-footer a:hover {
	color: #fff;
}

.ackb-footer__links {
	flex-direction: column;
	gap: 10px;
}

.ackb-footer__bottom {
	padding-block: 18px;
	background: #151213;
	font-size: 13px;
}

@media (max-width: 900px) {
	.ackb-topics__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ackb-header__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		padding-block: 18px;
	}

	.ackb-nav__list {
		flex-wrap: wrap;
		gap: 14px 22px;
	}

	.ackb-nav a[aria-current="page"]::after {
		bottom: -5px;
	}
}

@media (max-width: 600px) {
	.ackb-shell {
		width: min(100% - 32px, var(--ackb-shell));
	}

	.ackb-hero h1 {
		font-size: 28px;
		line-height: 36px;
	}

	.ackb-hero__inner {
		padding-block: 44px;
	}

	.ackb-search {
		border-radius: 999px;
	}

	.ackb-topics__grid,
	.ackb-footer__grid {
		grid-template-columns: 1fr;
	}

	.ackb-footer__grid {
		gap: 32px;
	}
}
