/* JADS Header Extras — tagline, mededelingenbalk, genre-paneel. */

/* 1. Tagline in de top bar: dode tekst — geen link-gedrag, geen hover-kleur. */
li.jads-tagline > a.ct-menu-link {
	pointer-events: none;
	cursor: default;
}

/* 2. Mededelingenbalk: schuift over de zwarte bovenbalk, scrolt gewoon mee. */
.jads-hx-announce {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: var(--jads-red, #ff0000);
	color: #fff;
	transform: translateY(-110%);
	transition: transform 0.45s ease;
}

body.admin-bar .jads-hx-announce {
	top: 32px;
}

.jads-hx-announce.is-open {
	transform: translateY(0);
}

.jads-hx-announce__inner {
	max-width: 1290px;
	margin: 0 auto;
	padding: 0.55em 1em;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.jads-hx-announce__text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jads-hx-announce__text a:hover {
	color: #fff;
	opacity: 0.85;
}

.jads-hx-announce__close {
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 1em;
	line-height: 1;
	cursor: pointer;
	padding: 0.2em 0.4em;
	opacity: 0.85;
}

.jads-hx-announce__close:hover {
	opacity: 1;
}

/* 3a. Oud genres-dropdown verbergen (paneel vervangt het). */
li.jads-genres-parent .sub-menu {
	display: none !important;
}

li.jads-genres-parent > a svg {
	display: none !important;
}

/* 3b. Genre-paneel: backdrop + paneel dat van boven uitschuift (Syntra-stijl). */
.jads-hx-genres {
	position: fixed;
	inset: 0;
	z-index: 99990;
	background: rgba(25, 42, 61, 0.45);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.jads-hx-genres.is-open {
	opacity: 1;
}

.jads-hx-genres__panel {
	background: #fff;
	box-shadow: 0 12px 32px rgba(25, 42, 61, 0.25);
	transform: translateY(-16px);
	opacity: 0;
	transition: transform 0.28s ease, opacity 0.28s ease;
	max-height: 85vh;
	overflow-y: auto;
}

.jads-hx-genres.is-open .jads-hx-genres__panel {
	transform: translateY(0);
	opacity: 1;
}

.jads-hx-genres__inner {
	max-width: 1290px;
	margin: 0 auto;
	padding: 1.6em 1.2em 2em;
}

.jads-hx-genres__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.1em;
}

.jads-hx-genres__title {
	margin: 0;
	font-size: 1.35rem;
	color: #192a3d;
}

.jads-hx-genres__close {
	background: transparent;
	border: 0;
	font-size: 1.25rem;
	line-height: 1;
	color: #192a3d;
	cursor: pointer;
	padding: 0.25em 0.4em;
}

.jads-hx-genres__close:hover {
	color: var(--jads-red, #ff0000);
}

.jads-hx-genres__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
}

/* Outline-pills met songtelling; hover = gevuld blauw. */
.jads-hx-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	padding: 0.65em 1.35em;
	border: 2px solid #2872fa;
	border-radius: 999px;
	color: #192a3d;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}

.jads-hx-pill:hover,
.jads-hx-pill:focus-visible {
	background: #2872fa;
	color: #fff;
}

.jads-hx-pill__count {
	background: #f2f5f7;
	color: #192a3d;
	border-radius: 999px;
	font-size: 0.78em;
	font-weight: 700;
	padding: 0.15em 0.6em;
	transition: background 0.18s ease, color 0.18s ease;
}

.jads-hx-pill:hover .jads-hx-pill__count,
.jads-hx-pill:focus-visible .jads-hx-pill__count {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.jads-hx-pill--all {
	background: #2872fa;
	color: #fff;
}

.jads-hx-pill--all:hover,
.jads-hx-pill--all:focus-visible {
	background: #192a3d;
	border-color: #192a3d;
}

body.jads-hx-lock {
	overflow: hidden;
}

@media (max-width: 689.98px) {
	.jads-hx-genres__inner {
		padding: 1.2em 1em 1.5em;
	}

	.jads-hx-pill {
		padding: 0.55em 1.1em;
	}
}
