/* Stemfunctie -- kleuren van de Hitlijst-huisstijl (petrol/marigold),
   los van welk thema er verder actief is. */

.muzt10-uitleg {
	font-family: "Plus Jakarta Sans", "Public Sans", system-ui, sans-serif;
	font-size: 14px;
	color: #A9C4C0;
	margin: 24px 0 16px;
}

.muzt10-lijst {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 16px 0 32px;
}

.muzt10-item {
	display: grid;
	grid-template-columns: 48px 1fr 64px;
	gap: 16px;
	align-items: start;
	padding: 16px;
	background: #16393B;
	border: 1px solid #2D5053;
}

.muzt10-item-rang {
	font-family: "Plus Jakarta Sans", "Public Sans", system-ui, sans-serif;
	font-weight: 800;
	font-size: 20px;
	color: #E8A33B;
	line-height: 1.2;
}

.muzt10-item-titel {
	font-family: "Plus Jakarta Sans", "Public Sans", system-ui, sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #F3EFE2 !important;
	margin: 0 0 8px;
}

/* Video, tekst en reacties zijn losse grid-kinderen van .muzt10-item (niet
 * meer genest in .muzt10-item-inhoud) zodat ze de volle kaartbreedte
 * gebruiken -- anders bleef er onnodig veel ruimte naast de video staan
 * door de smalle middelste grid-kolom. */
.muzt10-item-video,
.muzt10-item-tekst,
.muzt10-reacties {
	grid-column: 1 / -1;
}

.muzt10-item-video {
	/* Breekt ook uit de eigen padding van de kaart (16px) voor een
	 * randloze, goed gealigneerde video. */
	margin: 8px -16px 0;
}

.muzt10-item-video {
	/* Vaste 16:9-verhouding forceren -- de ruwe oEmbed-iframe van WordPress
	 * komt soms met afwijkende width/height-attributen terug (bijv. 1290x968),
	 * en zonder dit werd de video verticaal uitgerekt zodra hij op 100% breedte
	 * werd gezet zonder de hoogte mee te schalen. */
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.muzt10-item-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	display: block;
}

.muzt10-item-tekst {
	font-family: "Plus Jakarta Sans", "Public Sans", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #A9C4C0 !important;
	margin-top: 8px;
}

.muzt10-reacties {
	margin-top: 8px;
}

.muzt10-item-stem {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

/* Kort tooltipje: "je stemde hier al op" -- zonder dit leek een stem op een
 * item dat je (vanaf hetzelfde apparaat/netwerk) al eerder had gestemd
 * gewoon niks te doen, want het aantal ging dan terecht niet omhoog. */
.muzt10-stem-al-gestemd {
	position: absolute;
	top: -6px;
	right: 100%;
	margin-right: 8px;
	white-space: nowrap;
	background: #16393B;
	border: 1px solid #2D5053;
	color: #A9C4C0;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 8px;
	z-index: 2;
	animation: muzt10-nudge-in 200ms ease-out;
}

@media (max-width: 480px) {
	.muzt10-stem-al-gestemd {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		top: -28px;
		margin-right: 0;
	}
}

.muzt10-stem-knop {
	width: 40px;
	height: 40px;
	border: 1px solid #E8A33B;
	background: transparent;
	color: #E8A33B;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 120ms ease, color 120ms ease;
}

.muzt10-stem-knop:hover:not(:disabled) {
	background: #E8A33B;
	color: #24150A;
}

.muzt10-stem-knop:disabled,
.muzt10-item.muzt10-gestemd .muzt10-stem-knop {
	background: #E8A33B;
	color: #24150A;
	cursor: default;
	opacity: 0.9;
}

.muzt10-stem-aantal {
	font-family: "Plus Jakarta Sans", "Public Sans", system-ui, sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #F3EFE2 !important;
}

@media (max-width: 480px) {
	.muzt10-item {
		grid-template-columns: 36px 1fr 48px;
		gap: 10px;
	}
	.muzt10-item-titel {
		font-size: 17px;
	}
	.muzt10-item-video {
		margin: 8px -10px 0;
	}
}

/* Reactieformulier onder een item: het thema past een generieke
 * form-stijl toe (display:flex, align-items:stretch), waardoor het
 * tekstveld even hoog werd getrokken als de kolom -- veel te hoog. Hier op
 * een normale, compacte hoogte gezet. */
.muzt10-reactie-form {
	align-items: flex-end;
}

.muzt10-reactie-form textarea {
	height: 85px;
	resize: vertical;
}

/* ==========================================================================
   "Mis je een nummer?" -- voorstellen om een item toe te voegen aan een
   bestaand lijstje. Iedereen (niet alleen de maker) mag voorstellen; komt
   pas live na goedkeuring door de sitebeheerder.
   ========================================================================== */

.muzt10-item-voorstellen {
	margin-top: 32px;
	padding: 20px;
	background: #16393B;
	border: 1px solid #2D5053;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.muzt10-item-voorstellen-titel {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	color: #F3EFE2;
}

.muzt10-item-voorstellen-uitleg {
	margin: 0 0 14px;
	font-size: 14px;
	color: #A9C4C0;
}

.muzt10-item-voorstellen-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 480px;
}

.muzt10-item-voorstellen-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #F3EFE2;
}

.muzt10-item-voorstellen-form input,
.muzt10-item-voorstellen-form textarea {
	background: #122F30;
	border: 1px solid #2D5053;
	color: #F3EFE2;
	padding: 10px 12px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
}

.muzt10-item-voorstellen-knop {
	background: #E8A33B;
	color: #24150A;
	border: none;
	padding: 12px 24px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	cursor: pointer;
	align-self: flex-start;
	text-decoration: none;
	display: inline-block;
}

.muzt10-item-voorstellen-knop:disabled {
	opacity: 0.6;
	cursor: default;
}

.muzt10-item-voorstellen-melding {
	margin: 0;
	font-size: 14px;
	color: #A9C4C0;
}

.muzt10-item-voorstellen-melding-ok {
	color: #E8A33B;
	font-weight: 700;
}

/* Als je vanuit de "nummer toegevoegd"-mail op de directe link klikt
   (#item-X), springt de browser er vanzelf naartoe -- dit laat 'm ook
   even opvallen tussen de rest. */
.muzt10-item:target {
	border-color: #E8A33B;
	box-shadow: 0 0 0 2px #E8A33B;
}

/* ==========================================================================
   Banner voor niet-ingelogde bezoekers op een lijstjespagina: wijst op
   accountvoordelen (eigen lijstjes, reageren, stemgeschiedenis).
   ========================================================================== */

.muzt10-account-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	justify-content: space-between;
	margin: 0 0 24px;
	padding: 16px 18px;
	background: #16393B;
	border: 1px solid #E8A33B;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.muzt10-account-banner p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #F3EFE2;
	max-width: 480px;
}

.muzt10-account-banner .muzt10-account-knop {
	flex-shrink: 0;
	padding: 10px 20px;
}

@media (max-width: 480px) {
	.muzt10-account-banner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Nudge die verschijnt na de eerste stem van een niet-ingelogde bezoeker. */
.muzt10-stem-nudge {
	position: relative;
	margin-top: 16px;
	padding: 14px 40px 14px 16px;
	background: #16393B;
	border: 1px solid #E8A33B;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #F3EFE2;
	animation: muzt10-nudge-in 200ms ease-out;
}

.muzt10-stem-nudge a {
	color: #E8A33B;
	font-weight: 700;
	text-decoration: underline;
}

.muzt10-stem-nudge-sluiten {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: none;
	color: #A9C4C0;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}

.muzt10-stem-nudge-sluiten:hover {
	color: #F3EFE2;
}

@keyframes muzt10-nudge-in {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}