/* Adelaars Video — videoslide binnen de hero-slider van het thema */

/* .slide van het thema regelt al positie, flex en padding.
   Hier alleen wat de videoslide extra nodig heeft. */

.adv-hero [hidden] {
	display: none !important;
}

.adv-hero {
	overflow: hidden;
	background: #15130f;
}

.adv-hero-beeld {
	position: absolute;
	inset: 0;
	background: #15130f;
}

.adv-hero-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.adv-hero-waas {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba( 20, 17, 12, .88 ) 0%,
		rgba( 20, 17, 12, .55 ) 42%,
		rgba( 20, 17, 12, .15 ) 72%,
		rgba( 20, 17, 12, .45 ) 100%
	);
	pointer-events: none;
}

.adv-hero-inhoud {
	position: relative;
	z-index: 2;
}

.adv-hero-titel {
	transition: opacity .2s ease;
}

.adv-hero-meta {
	font-size: .82rem;
	color: rgba( 255, 255, 255, .72 );
	margin: 0 0 1rem;
}

/* ------------------------------------------------------ afspeellijst */

.adv-hero-lijst {
	position: absolute;
	right: 2rem;
	bottom: 2rem;
	z-index: 3;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 270px;
	max-height: 62%;
	overflow-y: auto;
	background: rgba( 12, 11, 8, .62 );
	backdrop-filter: blur( 6px );
	border-radius: 9px;
	padding: 6px;
}

.adv-hero-item {
	display: block;
	width: 100%;
	padding: 9px 11px;
	background: none;
	border: none;
	border-radius: 6px;
	color: rgba( 255, 255, 255, .72 );
	font-family: inherit;
	font-size: .8rem;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
}

.adv-hero-item:hover {
	background: rgba( 255, 255, 255, .08 );
	color: #fff;
}

.adv-hero-item.is-actief {
	background: rgba( 255, 255, 255, .1 );
	color: #fff;
	font-weight: 600;
}

.adv-hero-item.is-gezien {
	color: rgba( 255, 255, 255, .45 );
}

/* het streepje dat volloopt zolang de clip speelt */

.adv-hero-balk {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: rgba( 255, 255, 255, .22 );
	margin-bottom: 7px;
	overflow: hidden;
}

.adv-hero-vulling {
	display: block;
	height: 2px;
	width: 0;
	border-radius: 2px;
	background: var( --adv-accent, #F2BE13 );
}

.adv-hero-item.is-gezien .adv-hero-vulling {
	width: 100%;
	background: rgba( 255, 255, 255, .35 );
}

.adv-hero-naam {
	display: block;
}

/* -------------------------------------------------------- geluidknop */

.adv-hero-geluid {
	position: absolute;
	left: 2rem;
	bottom: 2rem;
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba( 255, 255, 255, .3 );
	background: rgba( 12, 11, 8, .6 );
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.adv-hero-geluid:hover {
	border-color: var( --adv-accent, #F2BE13 );
	color: var( --adv-accent, #F2BE13 );
}

.adv-hero-geluid svg {
	width: 19px;
	height: 19px;
}

/* ------------------------------------------------------------ mobiel */

@media ( max-width: 900px ) {
	.adv-hero-lijst {
		right: 1.2rem;
		left: 1.2rem;
		bottom: 1.1rem;
		width: auto;
		max-height: none;
		background: none;
		backdrop-filter: none;
		padding: 0;
		display: flex;
		gap: 6px;
	}

	.adv-hero-item {
		flex: 1 1 0;
		padding: 0;
		min-width: 0;
	}

	/* Op een smal scherm blijven alleen de streepjes over. */
	.adv-hero-naam {
		display: none;
	}

	.adv-hero-item.is-actief,
	.adv-hero-item:hover {
		background: none;
	}

	.adv-hero-balk {
		margin-bottom: 0;
		height: 3px;
	}

	.adv-hero-vulling {
		height: 3px;
	}

	.adv-hero-geluid {
		left: auto;
		right: 1.2rem;
		top: 1.2rem;
		bottom: auto;
		width: 40px;
		height: 40px;
	}
}
