/**
 * "Digital library list" (itgtp/library-list): the titles of a Merkliste of
 * the Digitale Bibliothek MV, each a link to its book. Two columns on wide
 * screens, one on a phone; long titles wrap.
 */
.itgtp-library {
	margin: 1.5em 0;
}
.itgtp-library-title {
	margin: 0 0 0.6em !important;
	font-size: 1.15em !important;
}
.itgtp-library-list {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	columns: 2 18em;
	column-gap: 2.5em;
}
.itgtp-library-list li {
	break-inside: avoid;
	margin: 0 0 0.55em !important;
	padding-left: 1.1em;
	position: relative;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
.itgtp-library-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.4em;
	height: 0.4em;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.45;
}
/* The site-wide `a { color: inherit !important }` would hide the links. */
.itgtp-library-list a {
	color: var(--tp-teal, #1b6d93) !important;
	font-weight: 700;
	text-decoration: none !important;
}
.itgtp-library-list a:hover {
	color: var(--tp-red, #e5332a) !important;
}
.itgtp-library-list a:focus-visible {
	outline: 2px solid var(--tp-teal, #1b6d93) !important;
	outline-offset: 2px !important;
}
.itgtp-library-note {
	font-size: 0.85em;
	opacity: 0.75;
	margin: 0 0 0.8em !important;
}

/* "Show all (n)": the titles after the first ones, behind a native
   <details> (keyboard and screen readers without a script). Its summary is
   the button; it reads "Show fewer" once open. */
.itgtp-library-rest {
	margin: 0.4em 0 0 !important;
}
.itgtp-library-toggle {
	display: inline-block;
	list-style: none;
	cursor: pointer;
	margin: 0.2em 0 0.9em;
	padding: 7px 15px;
	border: 1.5px solid var(--tp-teal, #1b6d93);
	border-radius: 999px;
	color: var(--tp-teal, #1b6d93);
	font-weight: 800;
	font-size: 0.9em;
	line-height: 1.2;
}
.itgtp-library-toggle::-webkit-details-marker {
	display: none;
}
.itgtp-library-toggle:hover {
	background: var(--tp-teal, #1b6d93);
	color: #fff;
}
.itgtp-library-toggle:focus-visible {
	outline: 2px solid var(--tp-teal, #1b6d93);
	outline-offset: 2px;
}
.itgtp-library-less,
.itgtp-library-rest[open] .itgtp-library-more {
	display: none;
}
.itgtp-library-rest[open] .itgtp-library-less {
	display: inline;
}
