
ul.subCats{
	list-style-type: none;
	margin: 1em 0 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;

	font-size: 1.25em;
	line-height: 2;
	max-width: 80%;
	overflow: hidden;
	gap: .5em;
}

ul.subCats li{
	margin: 0;
	padding: 0;
}

ul.subCats li a{
	display: block;
	padding: 0 1em;
	background:  #fff;
	border: 2px solid var(--wp--preset--color--contrast);
	text-decoration: none;
	border-radius: .5em;
}

ul.subCats li a:is(:hover,.current){
	background: var(--wp--preset--color--contrast);
	color: #fff;
}

ul.topCats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1em;
	max-width: 80%;
	margin: 0 auto;
	list-style: none;
	padding: 0;
}
ul.topCats a{
	display: block;
	position: relative;
	text-decoration: none;
	border-radius: 2em;
	overflow: hidden;
	aspect-ratio: 16/9;
	width: 100%;
}
ul.topCats a figure{
	position: absolute;
	inset: 0;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	margin: 0;
	padding: 0;
}
ul.topCats a figure:before{
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.5);
}
ul.topCats a figure span:first-child{
	position: relative;
	font-size: 2em;
	text-align: center;
	flex:1;display: flex;
	flex-direction: column;
	justify-content: center;

}
ul.topCats a figure span+span{
	position: relative;
	background: rgba(0,0,0,.5);
	color: #fff;
	padding: .5em;
	text-align: center;
	width: 100%;
}


.roulette{
	--size: min(600px,80vw);
	height: var(--size);
	width: var(--size);
	display: flex;
	justify-content:center;
	align-items: center;
	position: relative;
}
.roulette:after{
	content: 'Dreh am Rad!';
	display: block;
	position: absolute;
	inset: 10%;
	background: #aaa;
	z-index: 5;
	border-radius: 50%;

	display: flex;
	justify-content:flex-start;
	padding: 2em;
	align-items: center;
	transition: opacity 8s ease-in-out;
	opacity: 1;
}
.roulette:before{
	content: '';
	display: block;
	position: absolute;
	left: -5%;
	top: 48%;
	height: 4%;
	width: 10%;
	background: #c90;
	clip-path: polygon(0 0, 100% 50%, 100% 50%, 0 100%);
	z-index: 5;
	pointer-events: none;
}

.roulette>div{
	height: 0px;
	width: 0px;
	position: relative;
}

.roulette>div>a{
	--height: calc(var(--size) * var(--perc) * 3.25);
	display: block;
	width: calc(var(--size) / 2);
	height: var(--height);
	font-size: calc(var(--size) * var(--perc) * .5);
	padding: 0 1em;
	line-height: var(--height);
	box-sizing: border-box;
	background: #000;
	color: transparent;
	text-decoration: none;
	text-transform: capitalize;
	position: absolute;
	right: 0;
	top: calc(var(--height) * -.5);
	transform-origin: right center;
	clip-path: polygon(0 0, 100% 50%, 100% 50%, 0 100%);
	z-index: 2;
	transition: color 8s ease-in-out;
}
.roulette>div>a:nth-child(2n){
	background: #900;
	z-index: 1;
}
.roulette>div>a:last-child{
	background: #090;
	z-index: 1;
}

.roulette>div.stop{
	transition: rotate 8s ease-in-out;
	a{
		color: #fff;
	}
}
.roulette:has(.stop):after{
	opacity: 0;
	pointer-events: none;
}

.metadaten{
	display: flex;
	align-items: center;
	width: 100%;
	gap: .1em;

	time{
		flex:1;
		text-align: right;
	}
}