/*
 * Document list. Colors and type come from the theme (currentColor, inherit); the Elementor widget's style controls
 * override them. The wrapper class keeps the selectors above the parent theme's reset.
 */
.kennmal-documents {
	--kennmal-documents-gap: 0.5em;
	--kennmal-documents-icon-size: 1.25em;
}

.kennmal-documents .kennmal-documents__title {
	margin: 0 0 0.75em;
}

.kennmal-documents .kennmal-documents__group + .kennmal-documents__group {
	margin-top: 1.5em;
}

.kennmal-documents .kennmal-documents__group-title {
	margin: 0 0 0.5em;
}

.kennmal-documents .kennmal-documents__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kennmal-documents .kennmal-documents__item {
	margin: 0 0 var(--kennmal-documents-gap);
	padding: 0;
}

.kennmal-documents .kennmal-documents__item:last-child {
	margin-bottom: 0;
}

.kennmal-documents .kennmal-documents__link {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.5em;
	text-decoration: none;
	color: inherit;
}

.kennmal-documents .kennmal-documents__link:hover .kennmal-documents__name,
.kennmal-documents .kennmal-documents__link:focus-visible .kennmal-documents__name {
	text-decoration: underline;
}

.kennmal-documents .kennmal-documents__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.kennmal-documents .kennmal-documents__icon {
	flex: 0 0 auto;
	width: var(--kennmal-documents-icon-size);
	height: var(--kennmal-documents-icon-size);
	margin-top: 0.1em;
}

.kennmal-documents .kennmal-documents__meta {
	opacity: 0.7;
	font-size: 0.85em;
	white-space: nowrap;
	align-self: center;
}
