/* Heading Block */
.heading-block {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: var(--size-medium);
}
	.titles {}
		.heading-block .section-title {
		}
		.heading-block .page-title {
			margin: 0;
			line-height: 1.3;
		}

/* Secondary Nav */
.secondary-nav {
	font-size: 1rem;
}
	.secondary-nav ul {
		margin: 0;
		padding: 0;
	}
		.secondary-nav li {
			display: inline-block;
			font-size: 1em;
		}
		.secondary-nav li + li {
			margin-left: 1em;
		}
			.secondary-nav a {
			}

/* Notice */
p.notice {
	font-size: 1rem;

	position: relative;
	margin: 0 auto 1em;
	max-width: 25rem;
	color: var(--font-primary);
	border-radius: 0.5em;
	overflow: hidden;
}
	p.notice i {
		position: absolute;
		z-index: 2;
		top: 50%;
		left: 0.6em;
		width: 2em;
		height: 2em;
		border: 4px solid;
		border-radius: 50%;
		transform: translateY(-50%);
	}
		p.notice i::before,
		p.notice i::after {
			position: absolute;
			display: block;
			box-sizing: border-box;
		}
	p.notice > span {
		position: relative;
		z-index: 1;
		display: block;
		padding: 0.5em 0.5em 0.5em 4em;
		background-color: var(--color-panel);
	}
		p.notice > span::before {
			content: '';
			position: absolute;
			top: 0;
			bottom: 0;
			left: 0;
			display: block;
			width: 3.2em;
			background-color: white;
		}
p.notice.default {}
	p.notice.default i {}
		p.notice.default i::before,
		p.notice.default i::after {
			content: '';
			border-radius: 0.2em;
			width: 0.2em;
			background: currentColor;
			left: 0.7em;
		}
		p.notice.default i::before {
			bottom: 0.25em;
			height: 0.25em;
		}
		p.notice.default i::after {
			top: 0.25em;
			height: 0.7em;
		}
p.notice.success {}
	p.notice.success i {}
		p.notice.success i::after {
			content: '';
			left: 0.25em;
			top: -0.1em;
			width: 0.6em;
			height: 0.9em;
			border-color: currentColor;
			border-width: 0 0.2em 0.2em 0;
			border-style: solid;
			transform-origin: bottom left;
			transform: rotate(45deg);
		}
		p.notice.success > span::before {
			background-color: lightgreen;
		}
p.notice.error {}
	p.notice.error i {}
		p.notice.error i::before,
		p.notice.error i::after {
			content: '';
			top: 0.2em;
			left: 0.7em;
			width: 0.2em;
			height: 1.2em;
			background: currentColor;
			border-radius: 0.2em;
		}
		p.notice.error i::before {
			transform: rotate(45deg);
		}
		p.notice.error i::after {
			transform: rotate(-45deg);
		}
		p.notice.error > span::before {
			background-color: red;
		}


/* Dialog */
.dialog {
	position: fixed;
	z-index: 200;
	top: 50%;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 90vw;
	max-width: 600px;
	height: auto;
	max-height: 95vh;
	background-color: var(--color-light);
	border-radius: 1rem;
//	box-shadow: var(--shadow);
	transform: translateY(-50%);
	overflow: hidden;
}
	.dialog .close {
		position: absolute;
		z-index: 2;
		top: 0.5rem;
		right: 0.5rem;
		display: block;
		width: 1.75em;
		height: 1.75em;
		color: var(--color-light);
		font-size: 1rem;
		background-color: var(--color-secondary);
		border-radius: 1em;
		cursor: pointer;
	}
	.dialog .close:hover {
		background-color: var(--color-dark);
	}
		.dialog .close::before,
		.dialog .close::after {
			content: '';
			position: absolute;
			top: 0.85em;
			left: 0.55em;
			display: block;
			width: 0.7em;
			height: 0.7em;
			border: solid;
			border-width: 4px 4px 0 0;
			transform: rotate(-45deg);
		}
		.dialog .close::after {
			top: 0.15em;
			transform: rotate(135deg);
		}
	.dialog .content {
		padding: var(--size-medium);
		max-height: 90vh;
		overflow-y: auto;
	}

/* Shadow */
.shadow {
	display: none;
}
.layout--shadow .shadow {
	position: fixed;
	z-index: 100;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	background-color: rgba(0,0,0,0.6);
}

/* Filter */
#filter {
	font-size: 0.9rem;

	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1em;
	margin: 1rem 0 0;
	padding: 0;
}
.js #filter:not(.open) {
	flex-wrap: nowrap;
	overflow: hidden;
}
	#filter:not(.open)::after {
		content: '';
		position: absolute;
		z-index: 2;
		top: 0;
		bottom: 0;
		right: 0;
		left: calc(100% - 10em);
		display: block;
		background-image: linear-gradient(to right, var(--color-body-transparent), var(--color-body) 30%);
	}
	#filter li {
		display: inline-block;
	}
	#filter li._count {
		order: -2;
		font-size: 0.75em;
		line-height: 2;
		white-space: nowrap;
	}
		#filter li._count b {
			padding: 0.1em 0.2em;
			color: var(--color-light);
			font-weight: bold;
			background-color: var(--color-secondary);
			border-radius: 0.4em;
		}
		#filter a {
			display: block;
			padding: 0.6em 1.15em;
			color: var(--color-dark);
			font-size: 0.75em;
			font-weight: bold;
			line-height: 1;
			text-decoration: none;
			text-transform: uppercase;
			background-color: var(--color-panel);
			border-radius: 3em;
			white-space: nowrap;
			cursor: pointer;
		}
		#filter a:hover,
		#filter a:focus,
		#filter .selected a {
			color: var(--color-light);
			background-color: var(--color-dark);
		}
		[data-filtered=all] #filter .all a {
			color: var(--color-light);
			background-color: var(--color-dark);
		}
		#filter:not(.open) .viewmore {
			position: absolute;
			z-index: 3;
			top: 0;
			right: 0;
		}
			#filter:not(.open) .viewmore::after {
				content: '\25BC';
				position: relative;
				top: -0.05em;
				margin: 0 -0.3em 0 0.3em;
				font-size: 0.8em;
			}
		#filter.open .viewmore {
			display: none;
		}

/* Cards */
.cards {
	--threshold : 14rem;

	font-size: 1rem;

	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(var(--threshold), 1fr));
	gap: 2rem;
}
	.card {
		background-color: var(--shade-dark);
	}
		.card__title {
			margin: 0;
			padding: 0.5rem;
			color: var(--color-light);
			font-size: 1em;
			line-height: 1;
			background-color: var(--shade-dark);
		}
		.card__content {
			padding: 0.5rem;
			font-size: 0.8em;
		}
			.card__content > * + * {
				margin-top: 1rem;
			}
