/* =========================================
   HOOF
========================================= */

form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
	background-color: var(--goud) !important;
	color: var(--wit) !important;
}

.joernaal-hoof {
	display: flex;
	background: var(--cream);
	padding: 25px 0;
	width: min(90%, calc(100% - 40px));
	margin: auto;
	gap: 40px;
}
.joernaal-left {
}
.joernaal-right {
	background: var(--donkergroen);
	padding: 30px;
	border-radius: 20px;
	color: var(--wit);
	border-bottom: solid 10px var(--goud);
	height: fit-content;
}

section.joernaal-section.joernaal-home {
	width: min(90%, calc(100% - 40px));
	padding: 25px 0;
	margin: 0 auto;
}

section.joernaal-section.joernaal-home .section {
	margin-inline: auto;
}

/* =========================================
   JOERNAAL
========================================= */

.joernaal-section {
	width: 100%;
}

/*.joernaal-section .container {
	width: min(90%, calc(100% - 40px));
	margin-inline: auto;
}*/

/* =========================================
   HEADING
========================================= */

.joernaal-heading {
	text-align: center;
	margin-bottom: 30px;
}

.joernaal-heading .tour-heading {
	color: var(--donkerblou);
	font-size: clamp(28px, 3vw, 5rem);
	font-weight: 700;
	line-height: 1.1;
}

.joernaal-heading .tour-heading span {
	font-family: "Opulent Brush", cursive;
	color: var(--rooi);
	font-size: 1.5em;
	font-weight: 400;
}

.joernaal-intro {
	max-width: 700px;
	margin: 10px auto 0;
	color: var(--donkerblou);
	font-size: var(--font-body);
	font-weight: 600;
	line-height: 1.45;
}

/* =========================================
   SLIDER WRAPPER
========================================= */

.joernaal-slider-wrap {
	position: relative;
}

/* =========================================
   POST GRID
========================================= */

.joernaal-grid {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.joernaal-grid::-webkit-scrollbar {
	display: none;
}

/* =========================================
   CARD
========================================= */

.joernaal-card {
	flex: 0 0 calc((100% - 42px) / 4);
	min-width: 0;
	scroll-snap-align: start;
	border-radius: 20px;
}

/* =========================================
   IMAGE
========================================= */

.joernaal-image {
	position: relative;
	height: 55vh;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	text-decoration: none;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.3s ease;
	border-radius: 20px;
}
.joernaal-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	border-radius: 20px;
	transition: background 0.3s ease;
	z-index: 3;
	pointer-events: none;
}

.joernaal-image:hover {
	transform: translateY(-5px);
}

.joernaal-image:hover::after {
	background: rgba(0, 0, 0, 0.12);
}

/* =========================================
   DARK GRADIENT
========================================= */

.joernaal-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 48%;

	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(0, 0, 0, 0.08) 20%,
		rgba(0, 0, 0, 0.65) 100%
	);

	z-index: 1;
	pointer-events: none;
}

/* =========================================
   CARD CONTENT
========================================= */

.joernaal-card-content {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 12px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: var(--wit);
	z-index: 2;
	font-size: 1.5rem;
}

/* =========================================
   CATEGORY / TITLE
========================================= */

.joernaal-category {
	display: block;
	color: var(--wit);
	font-weight: 600;
	line-height: 1.15;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* =========================================
   DATE
========================================= */

.joernaal-date {
	display: block;
	font-size: 13px;
	margin-top: 3px;
	color: var(--wit);
	font-weight: 500;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* =========================================
   CONTROLS
========================================= */

.joernaal-controls {
	display: flex;
	justify-content: flex-end;
	gap: 18px;
	margin-top: 10px;
}

.joernaal-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	padding: 0;
	border: 1px solid var(--donkerblou);
	border-radius: 50%;
	background: transparent;
	color: var(--donkerblou);
	font-size: 11px;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.joernaal-arrow:hover {
	background: var(--donkerblou);
	color: var(--wit);
}

.joernaal-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.joernaal-arrow:disabled:hover {
	background: transparent;
	color: var(--donkerblou);
}

/* =========================================
   ALL ARTICLES
========================================= */

.joernaal-all {
	display: flex;
	justify-content: center;
	margin-top: -18px;
	position: relative;
	z-index: 3;
}

.joernaal-all a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	min-width: 145px;
	padding: 7px 18px;
	background: #08713d;
	border-radius: 5px;
	color: var(--wit);
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 2px 0 #064d2b;
	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.joernaal-all a:hover {
	transform: translateY(-2px);
	background: #075f34;
}

.joernaal-all i {
	font-size: 11px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {
	.joernaal-section {
		padding: 0;
	}

	.page-id-22203 .hero-holder {
		height: 30vh;
	}

	.joernaal-hoof {
		flex-direction: column;
	}

	.joernaal-section .container {
		width: 100%;
	}

	.joernaal-heading {
		padding-inline: 20px;
		margin-bottom: 25px;
	}

	.joernaal-grid {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		padding: 0 20px 10px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.joernaal-grid::-webkit-scrollbar {
		display: none;
	}

	.joernaal-card {
		flex: 0 0 72vw;
		max-width: 300px;
		scroll-snap-align: start;
	}

	.joernaal-controls {
		padding-right: 20px;
	}

	.joernaal-all {
		margin-top: 5px;
	}
}

/* =========================================================
   JOERNAAL ARCHIVE / ALL ARTICLES
========================================================= */

.joernaal-archive {
	padding-bottom: 20px;
}

.joernaal-archive .joernaal-heading {
	margin-bottom: 35px;
}

.joernaal-archive .joernaal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	overflow: visible;
}

.joernaal-archive .joernaal-card {
	width: 100%;
	min-width: 0;
}

.joernaal-archive .joernaal-image {
	height: clamp(300px, 28vw, 390px);
}

@media (max-width: 1000px) {
	.joernaal-archive .joernaal-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.joernaal-archive .joernaal-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.joernaal-archive .joernaal-image {
		height: 30vh;
	}
}

@media (max-width: 500px) {
	.joernaal-archive .joernaal-grid {
		grid-template-columns: 1fr;
	}

	.joernaal-archive .joernaal-image {
		height: 30vh;
	}
}

/* =========================================================
   REISJOERNAAL - CONTACT BELOW FORM
========================================================= */

.joernaal-contact {
	margin-top: 45px;
}

.joernaal-contact-info {
	color: var(--wit);
	font-size: var(--font-body);
	line-height: 1.6;
}

.joernaal-contact-info h3 {
	margin-bottom: 18px;
	color: var(--wit);
}

.joernaal-contact-info a {
	color: var(--goud);
	text-decoration: none;
}

/* SOCIAL */

.joernaal-social {
	margin-top: 35px;
}

.joernaal-social h3 {
	margin: 0 0 20px;
	color: var(--wit);
	font-size: var(--font-body);
	font-weight: 700;
}

.joernaal-social-links {
	display: flex;
	gap: 8px;
}

.joernaal-social-links a {
	width: 42px;
	height: 42px;

	display: flex;
	align-items: center;
	justify-content: center;

	border: 1px solid #e1e1e1;
	background: #fff;

	color: #666;
	text-decoration: none;

	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.joernaal-social-links a:hover {
	background: var(--donkerblou);
	color: var(--wit);
	transform: translateY(-2px);
}

.joernaal-social-links i {
	font-size: var(--font-body);
}

/* =========================================================
   JOERNAAL PAGINATION
========================================================= */

.joernaal-pagination {
	display: flex;
	justify-content: center;
	margin-top: 45px;
}

.joernaal-pagination ul {
	display: flex;
	align-items: center;
	gap: 8px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.joernaal-pagination li {
	margin: 0;
	padding: 0;
}

.joernaal-pagination a,
.joernaal-pagination span {
	width: 38px;
	height: 38px;

	display: flex;
	align-items: center;
	justify-content: center;

	border: 1px solid var(--donkerblou);
	border-radius: 50%;

	color: var(--donkerblou);
	text-decoration: none;

	font-size: var(--font-body);
	font-weight: 600;

	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.joernaal-pagination a:hover {
	background: var(--donkerblou);
	color: var(--wit);
}

.joernaal-pagination .current {
	background: var(--rooi);
	border-color: var(--rooi);
	color: var(--wit);
}

.joernaal-pagination .prev,
.joernaal-pagination .next {
	border: none;
	font-size: 12px;
}

.joernaal-pagination .prev:hover,
.joernaal-pagination .next:hover {
	background: var(--donkerblou);
	color: var(--wit);
}

/* =========================================================
   JOERNAAL CATEGORY FILTER
========================================================= */

.joernaal-filters {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 auto 35px;
}

.joernaal-filter {
	padding: 8px 18px;
	border: 1px solid var(--donkerblou);
	border-radius: 30px;
	background: transparent;
	color: var(--donkerblou);
	font-family: inherit;
	font-size: var(--font-body);
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.joernaal-filter:hover {
	background: var(--donkerblou);
	color: var(--wit);
	transform: translateY(-2px);
}

.joernaal-filter.active {
	background: var(--rooi);
	border-color: var(--rooi);
	color: var(--wit);
}

a.joernaal-filter,
a.joernaal-filter.active {
	text-decoration: none;
}
