/* Awards Slider – podium met 6 borden, actief bord staat vooraan in de spot */
@font-face {
	font-family: "Anybody";
	font-style: italic;
	font-weight: 900;
	font-display: swap;
	src: url("fonts/anybody-black-italic-latin.woff2") format("woff2");
}

.aws {
	position: relative;
	overflow: hidden;
	background: #000;
	color: #fff;
	container-type: inline-size;
	--aws-speed: 900ms;
}

/* Thema-knopstijlen (Flatsome: padding, min-height, margin, hoofdletters) neutraliseren */
.aws button {
	box-sizing: border-box;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	vertical-align: top;
}

/* Kop boven de borden, naar de PSD-tekstlaag (Anybody Black Italic) */
.aws__title {
	position: absolute;
	top: 25.5%;
	left: 0;
	right: 0;
	z-index: 15;
	margin: 0;
	padding: 0 16px;
	color: #fff;
	font-family: "Anybody", sans-serif;
	font-style: italic;
	font-weight: 900;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 0 1.2cqw rgba(0, 0, 0, .25);
	pointer-events: none;
}
.aws__title span { display: block; }
.aws__title-sm { font-size: max(1.95cqw, 13px); letter-spacing: .01em; }
.aws__title-lg { font-size: max(3.9cqw, 26px); margin: .02em 0 .04em; }

.aws__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 3000 / 1739;
	background: #000 url("img/awards-bg.webp") center / 100% 100% no-repeat;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

/* Optionele tekst bovenin, in de lege ruimte onder de spots */
.aws__content {
	position: absolute;
	inset: 6% 10% auto;
	z-index: 20;
	text-align: center;
}
.aws__content > :last-child { margin-bottom: 0; }

.aws__board {
	position: absolute;
	left: 36.633%;
	top: 56.929%;
	width: 26.733%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transition:
		left var(--aws-speed) cubic-bezier(.65, 0, .25, 1),
		top var(--aws-speed) cubic-bezier(.65, 0, .25, 1),
		width var(--aws-speed) cubic-bezier(.65, 0, .25, 1),
		opacity var(--aws-speed) ease,
		filter var(--aws-speed) ease;
	-webkit-tap-highlight-color: transparent;
}
.aws__board img {
	display: block;
	width: 100%;
	height: auto;
	pointer-events: none;
	-webkit-user-drag: none;
}
.aws__board:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
	border-radius: 6px;
}

/* Posities, overgenomen uit de PSD (3000 x 1739) */
.aws__board[data-slot="0"] { left: 36.633%; top: 56.929%; width: 26.733%; z-index: 5; cursor: default;
	filter: drop-shadow(0 1.2vw 1.6vw rgba(0, 0, 0, .55)); }
.aws__board[data-slot="1"] { left: 58.767%; top: 54.342%; width: 20.4%;   z-index: 4; filter: brightness(.9); }
.aws__board[data-slot="2"] { left: 74.3%;   top: 47.614%; width: 20.067%; z-index: 3; filter: brightness(.78); }
.aws__board[data-slot="3"] { left: 41%;     top: 49%;     width: 18%;     z-index: 1; opacity: 0; filter: brightness(.6); pointer-events: none; }
.aws__board[data-slot="4"] { left: 7.067%;  top: 47.614%; width: 20.4%;   z-index: 3; filter: brightness(.78); }
.aws__board[data-slot="5"] { left: 21.367%; top: 54.342%; width: 20.533%; z-index: 4; filter: brightness(.9); }

.aws__board:not([data-slot="0"]):not([data-slot="3"]):hover { filter: brightness(1); }

/* Pijlen */
.aws__nav {
	position: absolute;
	top: 72%;
	z-index: 10;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .2s, border-color .2s;
}
.aws__nav:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }
.aws__nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.aws__nav svg { width: 20px; height: 20px; }
.aws__nav--prev { left: 1.5%; }
.aws__nav--next { right: 1.5%; }

/* Bolletjes */
.aws__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 3.5%;
	z-index: 10;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.aws__dots li { margin: 0 !important; padding: 0; line-height: 0; list-style: none; }
.aws .aws__dots button {
	display: block;
	flex: none;
	width: 10px !important;
	height: 10px !important;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.aws__dots button[aria-current="true"] { background: #fff; transform: scale(1.25); }
.aws__dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.aws__sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Mobiel: inzoomen op het midden, zijborden lopen van het scherm af */
@media (max-width: 849px) {
	.aws { padding-bottom: 56px; }
	.aws__stage {
		width: 170%;
		margin-left: -35%;
		background-image: url("img/awards-bg-small.webp");
	}
	.aws__nav { width: 40px; height: 40px; top: auto; bottom: 8px; transform: none; }
	.aws__nav--prev { left: 16px; }
	.aws__nav--next { right: 16px; }
	.aws__dots { bottom: 23px; }
	.aws__content { inset: 4% 22% auto; }
	.aws__title { top: 9%; }
}

@media (prefers-reduced-motion: reduce) {
	.aws { --aws-speed: 1ms; }
}
