:root {
	--lt-gutter-y: 0.2rem;
	--button-font-size: 1.125rem;
	--color-brand-primary-hover: var(--color-brand-primary);
}

/* Placeholder zoeken lettergrootte 18px */

.lt-search-wrap input[type="search"]::placeholder {
	font-size: 1.125rem;
}

/* Fix lijnhoogte lopende tekst */

.rte {
	line-height: var(--line-height-body);
}

/* Sectie links met chevron */

.lt-list-disc {
	margin-inline-start: 0;
}

.lt-list-disc > li {
	padding-inline-start: 0;
	margin-inline-start: 0;
}

.lt-list-disc > * + * {
	margin-top: 0.2rem;
}

.lt-list-disc > li:before {
	width: 0.875rem;
	height: 0.875rem;
	content: "";
	background-image: var(--elbo-chevron-right-red-icon);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	top: 0.3em;
}

.lt-list-disc > li a {
	text-decoration-thickness: 2px !important;
	text-underline-offset: 2px;
	transition: all 0.3s ease-in-out;
}

.lt-list-disc > li a:hover {
	color: var(--color-link);
	text-decoration-line: underline !important;
	text-decoration-color: var(--color-brand-primary);
	text-underline-offset: 4px !important;
}

.elbo-underlined-link {
	font-weight: 400;
	color: var(--color-link);
	text-decoration-thickness: 2px !important;
	text-underline-offset: 2px;
	transition: all 0.3s ease-in-out;
}

.elbo-underlined-link:hover {
	color: var(--color-link) !important;
	text-decoration-line: underline !important;
	text-decoration-color: var(--color-brand-primary) !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 4px !important;
	opacity: initial !important;
}

/* Volledige breedte afbeeldingen op mobiel */

@media (max-width: 1080px) {
	article img[alt] {
		width: 100%;
		height: auto;
		padding: 0.5rem;
	}
}

/* Fix border radius voor menu links van artikel */

.accordion {
	border-radius: 0;
}

/* Links in lopende tekst */

.lt-article__body a {
	color: var(--color-link);
	text-decoration-line: underline;
	text-decoration-color: inherit;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 2px;
	transition: all 0.3s ease-in-out;
}

.lt-article__body a:hover {
	color: var(--color-link);
	text-decoration-line: underline;
	text-underline-offset: 4px !important;
	text-decoration-color: var(--color-brand-primary);
}

/* Genummerde lijst in artikel */

.list-number > li:before,
.rte-enhanced ol > li:before,
.list-colored > li:before {
	background-color: var(--button-color-secondary);
	color: #fff;
}

article ol > li > a {
	color: var(--color-link) !important;
	text-decoration-line: underline;
	text-decoration-color: inherit;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 2px;
	transition: all 0.3s ease-in-out;
}

article ol > li > a:hover {
	color: var(--color-link);
	text-decoration-line: underline;
	text-underline-offset: 4px !important;
	text-decoration-color: var(--color-brand-primary);
}

article ul li::marker {
	color: var(--color-brand-primary);
}

/* Breadcrumbs hover */

.breadcrumbs a {
	color: var(--color-link);
	text-decoration-thickness: 2px !important;
	text-underline-offset: 2px;
	transition: all 0.3s ease-in-out;
}

.breadcrumbs a:hover {
	color: var(--color-link);
	text-decoration-line: underline;
	text-underline-offset: 4px !important;
	text-decoration-color: var(--color-brand-primary);
}

/* Scroll to top button */

.lt-scroll-to-top {
	background-color: var(--color-brand-primary);
	border: 0;
	color: #fff;
}

.lt-scroll-to-top svg {
	stroke-width: 3px;
	transform: scale(1.2);
}

.lt-scroll-to-top:hover {
	color: #fff;
}

/* Generic list style */

.rte ul:not([class]) {
	padding-left: 1.125rem;
}

.rte ul:not([class]) > li {
	margin-top: 0.2rem;
	margin-bottom: 0;
}

.rte ul:not([class]) > li::marker {
	color: var(--color-brand-primary);
}

/* Section article accordion */

section.lt-section-articles {
	background: var(--color-bg-secondary);
	padding: 1rem;
	border-radius: 10px;
}

section.lt-section-articles .lt-flow {
	line-height: 1.6;
}

section.lt-section-articles a {
	font-size: 0.875rem;
}

section.lt-section-articles .lt-article-list-item::before {
	width: 0.75rem;
	height: 0.75rem;
	top: 0.4em;
}

/* Search filters radius */

.lt-search-filters {
	border-radius: 0;
}

.lt-search-filter__link {
	border-radius: 1rem;
	padding-inline-start: 1rem !important;
	padding-inline-end: 1rem !important;
}

/* Link cards */

.lt-card:has(.lt-card__link) {
	background: #fff;
	border: 0;
}

.lt-card:has(.lt-card__link) .lt-card__link {
	display: inline-flex;
	align-items: center;
	color: var(--color-link);
}

.lt-card:has(.lt-card__link) .lt-card__link::before {
	position: relative;
	content: "";
	order: 1;
	flex: 0 0 auto;
	width: 1.875rem;
	height: 0.895rem;
	margin-left: 0.75rem;
	background: var(--elbo-arrow-right-red-icon) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.lt-card:has(.lt-card__link):hover .lt-card__link::before {
	transform: translateX(0.25rem);
}

.section-page .lt-card__link--no-overlay::after {
	display: none;
}

/* Search bar style */

.lt-search-wrap--hero input[type="submit"] {
	border-width: 2px;
	font-family: var(--font-family-heading);
	font-weight: 900;
}

.lt-search-wrap--hero input[type="submit"]:hover {
	border-color: var(--color-brand-primary);
	color: var(--color-brand-primary);
	background: #fff;
}

@media (min-width: 768px) {
	.lt-search-wrap--hero input[type="submit"],
	.lt-search-wrap--hero input[type="search"] {
		height: 3.125rem;
	}
}

/* Header style */

.lt-header {
	font-size: 1rem;
	font-weight: 500;
}

.lt-header__link:hover,
.lt-header__link:focus,
.lt-header__link:active {
	color: var(--color-brand-primary);
	opacity: 1;
}

/* Dropdown menu */
.lt-dropdown-menu {
	border-radius: 0;
}

/* Feedback knoppen */

.lt-article-vote__item {
	color: var(--color-brand-primary);
	border-color: var(--color-brand-primary);
	font-family: var(--font-family-heading);
}

.lt-article-vote__item:hover,
.lt-article-vote__item:focus,
.lt-article-vote__item:active {
	color: #fff;
	background-color: var(--color-brand-primary);
	opacity: 1;
}

/* Callout */

.callout.callout--elbo {
	background-color: #f4f5f5;
	border-radius: 0;
	border: 0;
}

.callout.callout--elbo::after {
	background-color: #f4f5f5;
	border-radius: 0;
	border: 0;
}

.callout.callout--icon-helpdesk .callout__title {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.callout.callout--icon-helpdesk .callout__title::before {
	content: "";
	height: 2.5rem;
	background-image: var(--elbo-tip-icon);
	background-position: left bottom;
	background-repeat: no-repeat;
	background-size: contain;
}

.elbo-list {
	padding-inline-start: 1.4rem;
}

.elbo-list li {
	padding-left: 0.3rem;
}

.elbo-list li ~ li {
	margin-top: 0.2rem;
}

.elbo-list--check {
	list-style-image: var(--elbo-checkmark-red-icon);
}

.elbo-list--chevron {
	list-style-image: var(--elbo-chevron-right-red-icon);
}

.callout.callout--dark::after {
	background-color: #333946;
	opacity: 1;
}

.callout.callout--dark *,
.callout.callout--dark *:hover {
	color: #fff;
	text-decoration-color: #fff;
}

.callout.callout--dark .elbo-link::before {
	background-image: var(--elbo-chevron-right-white-icon);
}

.callout.callout--dark .elbo-list--check {
	list-style-image: var(--elbo-checkmark-white-icon);
}

.callout.callout--dark .elbo-list--chevron {
	list-style-image: var(--elbo-chevron-right-white-icon);
}

.callout.callout--dark .rte ul:not([class]) > li::marker {
	color: #fff;
}

/* Link met chevron */

.elbo-link {
	display: inline-flex;
	gap: 0.5rem;
}

.elbo-link::before {
	position: relative;
	width: 0.875rem;
	height: 0.875rem;
	content: "";
	background-image: var(--elbo-chevron-right-red-icon);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	top: 0.3em;
}

/* Horizontale scroll voor tabel op mobiel */

@media screen and (max-width: 575px) {
	.table-responsive > table,
	figure.wysiwyg-table > table {
		table-layout: auto;
	}
}

/* Fix padding tabel */
[dir="ltr"] .rte table:not([class*="table"]) th:first-child,
[dir="ltr"] .rte table:not([class*="table"]) td:first-child {
	padding-left: 12px;
}

/* Fix hyphenation in tables */
.wysiwyg-table {
	hyphens: auto;
}

/* Scroll-margin van headers */
h2[id^="h_01"],
h3[id^="h_01"] {
	scroll-margin-top: 100px;
}

/* Fix opsommingslijst nummering */
ol[start] {
	counter-reset: list calc(attr(start));
}
