/* =========================================
   NUUSBRIEF SECTION
========================================= */

.nuusbrief-section {
	background-color: var(--donkergroen);
	padding: 55px 0;
}

.nuusbrief-section .container {
	width: min(100%, calc(100% - 40px));
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 0;
}

/* =========================================
   VIDEO WRAPPER & PLAYER
========================================= */

.nuusbrief-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
	border-radius: 0;
	isolation: isolate; /* Ensures rounded corners stay sharp during scaling */
}

.nuusbrief-video-player {
	display: block;
	width: 103%;
	height: 100%;
	border: 0;
	outline: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: center;
	/* Force 5% scale expansion to zoom past hard-encoded black bars in the MP4 file */
	transform: scale(1.05);
	cursor: pointer;
}

/* =========================================
   PLAY BUTTON OVERLAY
========================================= */

.nuusbrief-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	width: 76px;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	background: rgba(5, 38, 65, 0.85);
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	z-index: 5;
	transition:
		opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
		background-color 0.25s ease;
}

.nuusbrief-play i {
	margin-left: 4px;
}

.nuusbrief-play:hover,
.nuusbrief-play:focus-visible {
	transform: translate(-50%, -50%) scale(1.1);
	background: var(--rooi);
	outline: none;
}

/* Hide play button while video is active */
.nuusbrief-video.is-playing .nuusbrief-play {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.9);
}

/* =========================================
   CONTENT & MOBILE RESPONSIVENESS
========================================= */

.nuusbrief-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.nuusbrief-content .tour-heading {
	color: var(--wit);
	font-weight: 500;
}

.nuusbrief-content .tour-heading span {
	color: var(--goud);
}

.nuusbrief-title {
	margin: 0 0 35px;
	color: #fff;
	font-size: clamp(36px, 4vw, 58px);
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.nuusbrief-title span {
	display: inline-block;
	margin-left: 5px;
	color: var(--goud);
	font-family: "Opulent Brush", cursive;
	font-size: var(--font-special);
	line-height: 0.8;
	font-weight: 400;
}

.nuusbrief-card {
	width: min(100%, 470px);
	padding: 30px;
	background: var(--cream);
	border-radius: 9px;
}

.nuusbrief-text {
	margin: 0 0 22px;
	color: var(--donkerblou);
	font-size: var(--font-large);
	line-height: 1.7;
}

.nuusbrief-form-placeholder {
	width: 100%;
	min-height: 50px;
	display: flex;
	align-items: center;
	padding: 0 18px;
	background: #fff;
	border-radius: 12px;
	color: var(--donkerblou);
	font-size: var(--font-body);
}

@media (max-width: 800px) {
	.nuusbrief-section {
		padding: 45px 0;
	}

	.nuusbrief-section .container {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	/*.nuusbrief-content {
		order: 1;
	}

	.nuusbrief-video {
		order: 2;
	}*/

	.nuusbrief-title {
		margin-bottom: 25px;
		font-size: 42px;
	}

	.nuusbrief-card {
		width: 80%;
		padding: 25px;
	}
}
