/******* Do not edit this file *******
Code Snippets Manager
Saved: Jun 27 2025 | 16:28:57 */
/* Match HKB theme to WP theme */
:root {
	--hkb-button-radius: var(--wp--custom--radius--full) !important;
	--hkb-header-style-bg: var(--wp--preset--color--gray-dark) !important;
	--hkb-main-bg-color: var(--wp--preset--color--background) !important;
	--hkb-main-container-width: var(--wp--style--global--content-size) !important;
	--hkb-widget-bg: var(--wp--preset--color--foreground) !important;
	--hkb-widget-radius: var(--wp--custom--radius--medium) !important;
}

#hkb a {
	transition: color var(--wp--custom--transition--duration--fast) ease;
}

#hkb h1 {
	font-size: var(--wp--preset--font-size--2-x-large) !important;
}
#hkb h2 {
	font-size: var(--wp--preset--font-size--x-large) !important;
}
#hkb h3 {
	font-size: var(--wp--preset--font-size--large) !important;
}
#hkb h4 {
	font-size: var(--wp--preset--font-size--medium) !important;
}
#hkb h5 {
	font-size: calc(var(--wp--preset--font-size--small) * 1.125) !important;
}
#hkb h6 {
	font-size: calc(var(--wp--preset--font-size--x-small) * 1.125) !important;
	letter-spacing: 0.25px
	margin: var(--wp--preset--font-size--2-x-small) 0;
}

#hkb .hkb-mainpage__main, 
#hkb .widget {
	background-color: var(--wp--preset--color--foreground);
	padding: var(--wp--preset--spacing--40);
	margin: 0 0 var(--wp--preset--spacing--50) !important;
	border: 1px solid var(--wp--preset--color--gray-light) !important;
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--subtle-middle);
}

#hkb .hkb-archivetitle,
#hkb .widget .widget-title,
#hkb .hkb-categoryheader,
#hkb .hkb-article .hkb-article__title {
	margin: 0 0 2rem !important;
	padding: 0 0 1rem !important;
	border-bottom: 2px solid var(--wp--preset--color--gray-light) !important;
}

#hkb .hkb-archivetitle,
#hkb .widget .widget-title,
#hkb .hkb-categoryheader,
#hkb .hkb-article .hkb-article__title,
#hkb .hkb-articlepreview .hkb-articlepreview__title, 
#hkb .hkb-articlepreview .hkb-articlepreview__title a {
	font-weight: revert !important;
}

#hkb .hkb-category {
	border-bottom: none !important;
}

#hkb .hkb_widget_exit .hkb_widget_exit__btn {
	width: 100%;
	text-align: center;
	margin-top: 1em;
	transition: background 0.15s ease-in-out, color 0.15s ease-in-out;
}
#hkb .hkb_widget_exit .hkb_widget_exit__btn:hover {
	background: var(--hkb-button-bg-hover) !important;
}
#hkb .hkb_widget_exit .hkb_widget_exit__btn::before {
	content: "\f590";
	font: var(--fa-font-solid);
	margin-right: 0.5em;
}

#hkb .hkb-article,
#hkb .hkb-article .hkb-article__content {
	margin: 0 !important;
}

#hkb .hkb-feedback {
	border: none !important;
	margin: 0 !important;
}
#hkb .hkb-feedback::before {
	content: "";
	display: block;
	width: 50%;
	max-width: 128px;
	height: 0;
	margin: 0 auto 2rem;
	border-bottom: 2px solid var(--wp--preset--color--gray-light);
}

.wp-block-hb-message {
	border-radius: var(--wp--custom--radius--medium);
}

/* Rogue shadow fix */
#ht-kb-fe-embed-contents {
    box-shadow: none !important;
}

/* Rogue margin fix */
#hkb .hkb-site-search .hkb-site-search__field,
#hkb .hkb-archive {
	margin: 0 !important;
}

/* Container padding fix */
#hkb .hkb-container,
#hkb .hkb-category {
	padding: 0 !important;
}
#hkb .hkb-fullwcontainer > * {
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70) !important;
}

@media screen and (max-width: 1024px) {
	#hkb .hkb-fullwcontainer > * {
		padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--60) !important;
	}
}

@media screen and (max-width: 768px) {
	#hkb .hkb-fullwcontainer > * {
		padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) !important;
	}
	
	#hkb .hkb-subheader .hkb-site-search {
		width: auto !important;
	}
}

/* Article categories */
#hkb .hkb-article-grid {
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 2em;
}

#hkb .hkb-articlepreview {
	padding: 0 0 2em !important;
}

#hkb .hkb-categoryhead,
#hkb .hkb-categoryheader {
	align-items: center;
	gap: 1.5rem;
}

#hkb .hkb-categoryhead .hkb-categoryhead__icon,
#hkb .hkb-categoryheader .hkb-categoryheader__icon {
	display: inline-flex;
	align-items: center;
	margin-right: 0 !important;
}

#hkb .hkb-categoryhead .hkb-categoryhead__count {
	display: block !important;
	margin-left: 0 !important;
}

/* Scroll sticky TOC navigation */
@media screen and (min-width: 769px) {
	.hkb-sticky #navtoc {
		max-height: calc(100vh - 36em);
		overflow-y: scroll;
		scrollbar-width: thin;
		scrollbar-color: var(--wp--preset--color--gray-medium) var(--wp--preset--color--foreground);
	}
}

/* Restricted articles */
#hkb .hkb-article:has(.is-content-restricted) .hkb-feedback {
	display: none;
}

/* Assistant <-- NOT WORKING - THIS SNIPPET IS NOT LOADED IN IFRAME! */
.hkbfe-container-article-inside {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.hkbfe-articleheader .hkbfe-backicon {
	margin: 0;
}

.hkbfe-articleheader .hkbfe-articleheader__title {
	flex: 1;
}