/* Opleiding Landingspagina — Variant 1 design system */

:root {
	--op-bg: #F7F5F3;
	--op-ink: #191917;
	--op-ink-soft: rgba(25, 25, 23, .62);
	--op-accent: #191917;
	--op-accent-tint: #ECE8E1;
	--op-clay-tint: #DEF0F9;
	--op-line: rgba(25, 25, 23, .12);
	--op-card: #FFFFFF;
}

body.page-template-template-opleiding {
	background: var(--op-bg);
}

.op-hero-section,
.op-content,
.op-final-cta,
.op-sticky-bar {
	font-family: 'Open Sans', sans-serif;
}

/* ---------- Buttons ---------- */

.op-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 8px;
	font: 600 14.5px/1 'Open Sans', sans-serif;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: opacity .15s ease;
}

.op-btn:hover {
	opacity: .85;
}

.op-btn--primary {
	background: var(--op-accent);
	color: #fff !important;
}

.op-btn--outline {
	background: #fff;
	color: var(--op-ink) !important;
	border-color: var(--op-line);
}

.op-btn--text {
	padding: 14px 4px;
	color: var(--op-ink) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.op-btn--sm {
	padding: 11px 20px;
	font-size: 13px;
}

/* ---------- Placeholder marking ---------- */

.op-placeholder {
	position: relative;
	outline: 1px dashed rgba(25, 25, 23, .35);
	outline-offset: 4px;
}

.op-placeholder__tag {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 8px;
	background: #FFF3CD;
	color: #856404;
	border: 1px solid #FFEEBA;
	border-radius: 10px;
	font: 700 9.5px/1.6 'Open Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .04em;
	vertical-align: middle;
}

/* ---------- Hero ---------- */

.op-hero-section {
	background: var(--op-bg);
}

.op-hero {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: center;
	max-width: 1360px;
	margin: 0 auto;
	padding: 56px 40px 60px;
}

.op-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--op-accent-tint);
	color: var(--op-ink);
	padding: 6px 14px;
	border-radius: 20px;
	font: 600 12px/1 'Open Sans', sans-serif;
	margin-bottom: 20px;
}

.op-hero__title {
	font: 500 46px/1.12 'Montserrat', sans-serif;
	letter-spacing: -.01em;
	color: var(--op-ink);
	margin: 0 0 18px;
}

.op-hero__intro {
	font: 400 16px/1.6 'Open Sans', sans-serif;
	color: var(--op-ink-soft);
	max-width: 480px;
	margin: 0 0 28px;
}

.op-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	margin-bottom: 26px;
}

.op-hero__schedule {
	margin-top: 4px;
	display: inline-block;
	background: var(--op-card);
	border: 1px solid var(--op-line);
	border-radius: 10px;
	padding: 16px 20px;
}

.op-hero__schedule-label {
	font: 600 11px/1.4 'Open Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--op-ink-soft);
	margin: 0 0 8px;
}

.op-hero__schedule-items {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
}

.op-hero__schedule-dates {
	display: flex;
	align-items: center;
	gap: 10px;
}

.op-hero__schedule-date {
	display: flex;
	flex-direction: column;
	font: 600 14px/1.3 'Open Sans', sans-serif;
	color: var(--op-ink);
}

.op-hero__schedule-date small {
	font: 400 11px/1.5 'Open Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--op-ink-soft);
}

.op-hero__schedule-plus {
	font: 600 15px/1 'Open Sans', sans-serif;
	color: var(--op-ink-soft);
}

.op-hero__schedule-sep {
	color: var(--op-line);
	font-size: 18px;
}

.op-hero__schedule-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font: 600 12.5px/1.4 'Open Sans', sans-serif;
	color: var(--op-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.op-hero__schedule-link:hover {
	opacity: .75;
}

.op-hero__media {
	position: relative;
}

.op-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
	display: block;
}

.op-hero__rating {
	position: absolute;
	bottom: -18px;
	left: -18px;
	background: var(--op-card);
	border: 1px solid var(--op-line);
	border-radius: 10px;
	padding: 14px 18px;
	box-shadow: 0 8px 24px rgba(36, 33, 25, .12);
}

.op-hero__rating-value {
	font: 700 20px/1.2 'Montserrat', sans-serif;
	color: var(--op-ink);
}

.op-hero__rating-label {
	font: 500 11px/1.4 'Open Sans', sans-serif;
	color: var(--op-ink-soft);
	max-width: 140px;
}

/* ---------- Body content (WPBakery, restyled) ---------- */

.op-content {
	background: var(--op-bg);
}

/* Jupiter's full-width-stretch JS sets an inline `left: -40px; width: <viewport>`
   on .mk-page-section-wrapper itself to break out full-bleed; constraining that
   element's width directly clamps the JS-computed width without correcting the
   offset, shoving content left. Constrain the inner content row instead so the
   section background still stretches full-bleed correctly. */
.op-content .page-section-content {
	max-width: 1360px;
	margin: 0 auto;
	box-sizing: border-box;
}

.op-content .mk-fancy-title {
	font: 600 12px/1.4 'Open Sans', sans-serif !important;
	color: var(--op-ink) !important;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin: 0 0 4px !important;
}

.op-content .mk-fancy-title span p {
	margin: 0;
}

.op-content .mk-image-inner img {
	border-radius: 14px;
}

/* Main section eyebrow labels (Wat leer je? / Voor wie? / Cursusinhoud / Cursusinformatie / FAQ)
   — standalone heading-only sections, distinct from the FAQ category headers and the
   Cursusinhoud/Vereisten sub-headings which keep their own smaller styling below. */
.op-content .mk-page-section-wrapper:has(#what),
.op-content .mk-page-section-wrapper:has(#content),
.op-content .mk-page-section-wrapper:has(#reviews),
.op-content .mk-page-section-wrapper:has(#info) {
	background: var(--op-bg);
}

.op-content .mk-page-section-wrapper:has(#who),
.op-content .mk-page-section-wrapper:has(#faq) {
	background: var(--op-card);
}

.op-content .mk-page-section-wrapper:has(#what) .wpb_column,
.op-content .mk-page-section-wrapper:has(#who) .wpb_column,
.op-content .mk-page-section-wrapper:has(#content) .wpb_column,
.op-content .mk-page-section-wrapper:has(#info) .wpb_column,
.op-content .mk-page-section-wrapper:has(#faq) .wpb_column,
.op-content .mk-page-section-wrapper:has(#reviews) .wpb_column {
	text-align: left !important;
}

.op-content .mk-page-section-wrapper:has(#what) .mk-fancy-title,
.op-content .mk-page-section-wrapper:has(#who) .mk-fancy-title,
.op-content .mk-page-section-wrapper:has(#content) .mk-fancy-title,
.op-content .mk-page-section-wrapper:has(#info) .mk-fancy-title,
.op-content .mk-page-section-wrapper:has(#faq) .mk-fancy-title,
.op-content .mk-page-section-wrapper:has(#reviews) .mk-fancy-title {
	display: inline-block;
	font: 700 15px/1.3 'Open Sans', sans-serif !important;
	text-align: left !important;
	margin: 0 0 4px !important;
}

/* Anchor targets for the sub-nav pills: clear both sticky bars (site header +
   op-subnav, both measured live by the inline script) plus a little breathing room. */
.op-content #what,
.op-content #who,
.op-content #content,
.op-content #reviews,
.op-content #info,
.op-content #faq {
	scroll-margin-top: calc(var(--op-header-h, 0px) + var(--op-subnav-h, 65px) + 16px);
}

/* Sub-nav — own markup via wp_nav_menu(), independent of Jupiter's header shortcode */

.op-subnav {
	position: sticky;
	/* Jupiter's global header is fixed at a variable height that shrinks on
	   deep scroll (133px -> 93px) and isn't fixed at all on mobile; the
	   inline script measures it live and sets --op-header-h accordingly. */
	top: var(--op-header-h, 0px);
	z-index: 150;
	background: var(--op-card);
	border-bottom: 1px solid var(--op-line);
}

.op-subnav__inner {
	position: relative;
	max-width: 1360px;
	margin: 0 auto;
	padding: 14px 40px;
	box-sizing: border-box;
}

.op-subnav__course-name {
	display: none;
	position: absolute;
	left: 40px;
	top: 50%;
	transform: translateY(-50%);
	font: 700 14px/1.3 'Montserrat', sans-serif;
	color: var(--op-ink);
	white-space: nowrap;
}

.op-subnav--stuck .op-subnav__course-name {
	display: block;
}

.op-subnav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.op-subnav__list li {
	list-style: none;
	margin: 0;
}

.op-subnav__list a {
	display: inline-flex;
	align-items: center;
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid var(--op-line);
	background: var(--op-card);
	color: var(--op-ink-soft);
	font: 600 12px/1.3 'Open Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .03em;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.op-subnav__list a:hover {
	background: var(--op-accent-tint);
	border-color: var(--op-accent-tint);
	color: var(--op-ink);
}

.op-subnav__list li:last-child a {
	background: var(--op-ink);
	border-color: var(--op-ink);
	color: #fff;
}

.op-subnav__list li:last-child a:hover {
	opacity: .85;
	color: #fff;
}

.op-subnav__scroll-hint {
	display: none;
}

.op-reviews-nav {
	display: none;
}

/* Wat leer je? — heading section + benefits grid */

.op-content .mk-page-section-wrapper:has(#what) {
	padding-top: 24px !important;
	padding-bottom: 0 !important;
}

.op-content .mk-page-section-wrapper:has(#what) + .vc_row-full-width + .mk-page-section-wrapper {
	background: var(--op-bg);
	padding-top: 8px !important;
	padding-bottom: 12px;
}

.op-content .mk-page-section-wrapper:has(#what) + .vc_row-full-width + .mk-page-section-wrapper .page-section-content {
	padding-top: 0 !important;
}

.op-content .mk-page-section-wrapper:has(#what) + .vc_row-full-width + .mk-page-section-wrapper .mk-text-block {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--op-line);
	border: 1px solid var(--op-line);
	border-radius: 12px;
	overflow: hidden;
}

.op-content .mk-page-section-wrapper:has(#what) + .vc_row-full-width + .mk-page-section-wrapper .mk-text-block p {
	background: var(--op-card);
	border: none;
	border-radius: 0;
	padding: 24px;
	margin: 0;
	font: 400 13.5px/1.55 'Open Sans', sans-serif !important;
	color: var(--op-ink-soft) !important;
}

.op-content .mk-page-section-wrapper:has(#what) + .vc_row-full-width + .mk-page-section-wrapper .mk-text-block p strong {
	display: block;
	font: 600 14px/1.3 'Open Sans', sans-serif;
	color: var(--op-ink);
	margin-bottom: 8px;
}

.op-content .mk-page-section-wrapper:has(#what) + .vc_row-full-width + .mk-page-section-wrapper .mk-text-block p.op-result-card {
	background: var(--op-ink);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.op-content .mk-page-section-wrapper:has(#what) + .vc_row-full-width + .mk-page-section-wrapper .mk-text-block p.op-result-card,
.op-content .mk-page-section-wrapper:has(#what) + .vc_row-full-width + .mk-page-section-wrapper .mk-text-block p.op-result-card strong {
	color: #fff !important;
}

/* Voor wie? — audience cards + lead-qualification form (left), full image (right) */

.op-content .mk-page-section-wrapper:has(#who) {
	padding-top: 24px !important;
	padding-bottom: 0 !important;
}

.op-content .mk-page-section-wrapper:has(#who) + .vc_row-full-width + .mk-page-section-wrapper .page-section-content {
	padding-top: 0 !important;
}

.op-who-cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 4px;
}

.op-who-card {
	border: 1px solid var(--op-line);
	border-radius: 12px;
	padding: 18px 22px;
	background: var(--op-card);
}

.op-who-card strong {
	display: block;
	font: 600 15px/1.3 'Montserrat', sans-serif;
	color: var(--op-ink);
	margin-bottom: 6px;
}

.op-who-card p {
	font: 400 13.5px/1.55 'Open Sans', sans-serif !important;
	color: var(--op-ink-soft) !important;
	margin: 0 !important;
}

.op-who-image {
	border-radius: 14px;
	overflow: hidden;
}

.op-who-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%);
	mask-image: linear-gradient(to bottom, transparent 0%, black 22%);
}

.op-content .mk-page-section-wrapper:has(#who) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
}

.op-content .mk-page-section-wrapper:has(#who) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row > .vc_col-sm-6 {
	display: flex !important;
	float: none !important;
	height: auto !important;
}

.op-content .mk-page-section-wrapper:has(#who) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row > .vc_col-sm-6 > .mk-text-block {
	width: 100% !important;
	flex: 1 1 auto !important;
}

.op-who-image--full {
	height: 100% !important;
}

.op-who-image--full img {
	height: 100% !important;
	-webkit-mask-image: none;
	mask-image: none;
}

.op-lead-form {
	background: var(--op-card);
	border: 1px solid var(--op-line);
	border-radius: 14px;
	padding: 28px;
	margin-top: 24px;
	box-shadow: 0 12px 28px rgba(36, 33, 25, .1);
}

.op-lead-form h3 {
	font: 600 18px/1.3 'Montserrat', sans-serif;
	color: var(--op-ink);
	margin: 0 0 6px;
}

.op-lead-form__meta {
	font: 400 12.5px/1.5 'Open Sans', sans-serif !important;
	color: var(--op-ink-soft) !important;
	margin: 0 0 22px !important;
}

.op-lead-form__field {
	margin-bottom: 18px;
}

.op-lead-form__field label {
	display: block;
	font: 600 13px/1.4 'Open Sans', sans-serif;
	color: var(--op-ink);
	margin-bottom: 10px;
}

.op-lead-form__pills {
	display: flex;
	gap: 8px;
}

.op-lead-form__pill {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid var(--op-line);
	border-radius: 8px;
	background: var(--op-card);
	color: var(--op-ink-soft);
	font: 600 13px/1.3 'Open Sans', sans-serif;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.op-lead-form__pill:hover {
	border-color: var(--op-ink);
}

.op-lead-form__pill--active {
	background: var(--op-ink);
	border-color: var(--op-ink);
	color: #fff;
}

.op-lead-form__input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--op-line);
	border-radius: 8px;
	font: 400 14px/1.4 'Open Sans', sans-serif;
	color: var(--op-ink);
	box-sizing: border-box;
}

.op-lead-form__input:focus {
	outline: none;
	border-color: var(--op-ink);
}

.op-lead-form__submit {
	width: 100%;
	padding: 14px;
	border: none;
	border-radius: 8px;
	background: var(--op-ink);
	color: #fff;
	font: 600 14px/1 'Open Sans', sans-serif;
	cursor: pointer;
	transition: opacity .15s ease;
}

.op-lead-form__submit:hover {
	opacity: .85;
}

.op-lead-form__footnote {
	text-align: center;
	font: 400 11.5px/1.5 'Open Sans', sans-serif !important;
	color: var(--op-ink-soft) !important;
	margin: 14px 0 0 !important;
}

/* Cursusinhoud */

.op-content .mk-page-section-wrapper:has(#content) {
	padding-top: 24px !important;
	padding-bottom: 0 !important;
}

.op-content .mk-page-section-wrapper:has(#content) + .vc_row-full-width + .mk-page-section-wrapper .page-section-content {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

/* Curriculum card — static, no accordion/toggle behavior */

.op-curriculum__group {
	background: var(--op-card);
	border: 1px solid var(--op-line);
	border-radius: 10px;
	overflow: hidden;
}

.op-curriculum__group-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: var(--op-bg);
}

.op-curriculum__group-title {
	font: 700 14px/1.3 'Open Sans', sans-serif;
	color: var(--op-ink);
	text-transform: uppercase;
	letter-spacing: .02em;
}

.op-curriculum__group-meta {
	font: 400 12.5px/1.3 'Open Sans', sans-serif;
	color: var(--op-ink-soft);
	margin-left: auto;
}

.op-curriculum__item {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 13px 20px;
	border-top: 1px solid var(--op-line);
}

.op-curriculum__item-title {
	font: 600 13.5px/1.4 'Open Sans', sans-serif;
	color: var(--op-ink);
}

.op-curriculum__item-desc {
	font: 400 12.5px/1.5 'Open Sans', sans-serif;
	color: var(--op-ink-soft);
}

.op-content .mk-page-section-wrapper:has(#content) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row > .vc_col-sm-6:nth-child(1) .mk-text-block p {
	font: 400 14px/1.6 'Open Sans', sans-serif !important;
	color: var(--op-ink-soft) !important;
}

.op-content .mk-page-section-wrapper:has(#content) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row > .vc_col-sm-6:nth-child(1) .mk-text-block p:first-child {
	background: var(--op-clay-tint);
	border-radius: 10px;
	padding: 18px 22px;
	margin-top: 20px !important;
	color: var(--op-ink) !important;
}

/* Cursusinhoud image gallery — wide shot + 2x2 grid beneath */

.op-content .mk-page-section-wrapper:has(#content) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	column-gap: 40px !important;
	align-items: start !important;
}

.op-content .mk-page-section-wrapper:has(#content) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row > .vc_col-sm-6 {
	width: auto !important;
	float: none !important;
	height: auto !important;
	min-height: 0 !important;
}

.op-content-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 20px;
}

.op-content-gallery__item {
	border-radius: 14px !important;
	overflow: hidden !important;
}

.op-content-gallery__item--wide {
	grid-column: span 2;
	aspect-ratio: 16 / 10;
}

.op-content-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 14px !important;
}

/* Wat cursisten zeggen — review grid (3 + 2 layout, matching homepage testimonials) */

.op-content .mk-page-section-wrapper:has(#reviews) {
	padding-top: 24px !important;
	padding-bottom: 0 !important;
}

.op-content .mk-page-section-wrapper:has(#reviews) + .vc_row-full-width + .mk-page-section-wrapper .page-section-content {
	padding-top: 0 !important;
}

.op-reviews {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

.op-review-card {
	grid-column: span 3;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: var(--op-card);
	border: 1px solid var(--op-line);
	border-radius: 12px;
	padding: 24px 26px;
	box-shadow: 0 4px 16px rgba(36, 33, 25, .04);
}

.op-reviews .op-review-card:nth-child(1),
.op-reviews .op-review-card:nth-child(2),
.op-reviews .op-review-card:nth-child(3) {
	grid-column: span 2;
}

.op-review-card__mark {
	font: 700 32px/1 Georgia, serif;
	color: rgba(25, 25, 23, .28);
}

.op-review-card__quote {
	font: 400 13.5px/1.6 'Open Sans', sans-serif !important;
	font-style: italic;
	color: var(--op-ink-soft) !important;
	margin: 0 !important;
}

.op-review-card__author {
	align-self: flex-end;
	font: 700 13px/1.3 'Open Sans', sans-serif !important;
	font-style: italic;
	color: var(--op-ink) !important;
	margin: 0 !important;
}

@media (max-width: 900px) {
	.op-reviews {
		grid-template-columns: 1fr 1fr;
	}

	.op-reviews .op-review-card,
	.op-reviews .op-review-card:nth-child(1),
	.op-reviews .op-review-card:nth-child(2),
	.op-reviews .op-review-card:nth-child(3) {
		grid-column: span 1;
	}
}

@media (max-width: 600px) {
	.op-reviews-nav {
		display: flex;
		justify-content: center;
		gap: 20px;
		margin-top: 14px;
		font: 700 18px/1 'Open Sans', sans-serif;
		color: var(--op-ink-soft);
	}

	.op-reviews {
		display: flex;
		flex-wrap: nowrap;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 4px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.op-reviews::-webkit-scrollbar {
		display: none;
	}

	.op-reviews .op-review-card,
	.op-reviews .op-review-card:nth-child(1),
	.op-reviews .op-review-card:nth-child(2),
	.op-reviews .op-review-card:nth-child(3) {
		grid-column: unset;
		flex: 0 0 85%;
		scroll-snap-align: start;
	}
}

/* Cursusinformatie / investering — .pa-courseinfo-section already tags this section */

.op-content .pa-courseinfo-section {
	max-width: 1360px;
	margin: 40px auto 0;
	padding: 0 40px 56px;
}

.op-content .mk-page-section-wrapper:has(#info) {
	padding-top: 24px !important;
	padding-bottom: 0 !important;
}

.op-content .mk-page-section-wrapper:has(#info) + .vc_row-full-width + .mk-page-section-wrapper .page-section-content {
	padding-top: 8px !important;
}

.op-courseinfo {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	border: 1px solid var(--op-line);
	border-radius: 14px !important;
	overflow: hidden !important;
}

.op-courseinfo__grid {
	padding: 32px;
	background: var(--op-card);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.op-courseinfo__label {
	display: block;
	font: 600 12px/1.6 'Open Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--op-ink-soft);
	margin-bottom: 6px;
}

.op-courseinfo__value {
	font: 400 14px/1.6 'Open Sans', sans-serif;
	color: var(--op-ink);
}

.op-courseinfo__investment {
	padding: 32px;
	background: var(--op-ink);
	color: #fff;
}

.op-courseinfo__label--dark {
	color: rgba(255, 255, 255, .6);
}

.op-courseinfo__price {
	font: 500 34px/1.2 'Montserrat', sans-serif;
	margin-bottom: 4px;
}

.op-courseinfo__price-sub {
	font: 400 12px/1.4 'Open Sans', sans-serif;
	opacity: .6;
	margin-bottom: 18px;
}

.op-content .pa-courseinfo-section .op-courseinfo__desc {
	font: 400 13px/1.7 'Open Sans', sans-serif !important;
	opacity: .85;
	color: #fff !important;
	margin: 0 0 18px !important;
}

.op-courseinfo__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 8px;
	background: #fff;
	color: var(--op-ink) !important;
	font: 600 13.5px/1 'Open Sans', sans-serif;
	text-decoration: none !important;
}

.op-courseinfo__cta:hover {
	opacity: .85;
}

/* FAQ */

.op-content .mk-page-section-wrapper:has(#faq) {
	padding-top: 24px !important;
	padding-bottom: 0 !important;
}

.op-content .mk-page-section-wrapper:has(#faq) + .vc_row-full-width + .mk-page-section-wrapper {
	background: var(--op-card);
	padding-bottom: 60px;
}

.op-content .mk-page-section-wrapper:has(#faq) + .vc_row-full-width + .mk-page-section-wrapper .page-section-content {
	padding-top: 8px !important;
}

.op-faq__controls {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 24px;
}

.op-faq__search {
	width: 100%;
	max-width: 420px;
	padding: 12px 16px;
	border: 1px solid var(--op-line);
	border-radius: 8px;
	font: 400 14px/1.4 'Open Sans', sans-serif;
	color: var(--op-ink);
	box-sizing: border-box;
}

.op-faq__search:focus {
	outline: none;
	border-color: var(--op-ink);
}

.op-faq__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.op-faq__filter {
	padding: 9px 16px;
	border: 1px solid var(--op-line);
	border-radius: 999px;
	background: var(--op-card);
	color: var(--op-ink-soft);
	font: 600 12.5px/1.3 'Open Sans', sans-serif;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.op-faq__filter:hover {
	border-color: var(--op-ink);
}

.op-faq__filter--active {
	background: var(--op-ink);
	border-color: var(--op-ink);
	color: #fff;
}

.op-faq__item {
	background: var(--op-card);
	border: 1px solid var(--op-line);
	border-radius: 10px;
	margin: 0 0 8px;
	overflow: hidden;
}

.op-faq__item[hidden] {
	display: none;
}

.op-faq__show-all {
	display: block;
	margin: 24px auto 0;
	padding: 11px 22px;
	border: 1px solid var(--op-line);
	border-radius: 999px;
	background: var(--op-card);
	color: var(--op-ink);
	font: 600 13px/1.3 'Open Sans', sans-serif;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.op-faq__show-all:hover {
	background: var(--op-ink);
	border-color: var(--op-ink);
	color: #fff;
}

.op-faq__show-all[hidden] {
	display: none;
}

.op-faq__question {
	width: 100%;
	padding: 18px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font: 600 14px/1.4 'Open Sans', sans-serif;
	color: var(--op-ink);
}

.op-faq__chevron {
	color: var(--op-ink-soft);
	transition: transform .2s ease;
	flex-shrink: 0;
}

.op-faq__item--open .op-faq__chevron {
	transform: rotate(180deg);
}

.op-faq__answer {
	padding: 0 22px 18px;
}

.op-faq__answer[hidden] {
	display: none;
}

.op-faq__answer p {
	margin: 0;
	font: 400 13.5px/1.6 'Open Sans', sans-serif;
	color: var(--op-ink-soft);
}

.op-faq__empty {
	text-align: center;
	color: var(--op-ink-soft);
	font: 400 14px/1.6 'Open Sans', sans-serif;
	padding: 20px 0;
}

/* ---------- Final CTA ---------- */

.op-final-cta {
	max-width: 900px;
	margin: 0 auto;
	padding: 56px 40px;
	text-align: center;
}

.op-final-cta h2 {
	font: 500 30px/1.25 'Montserrat', sans-serif;
	color: var(--op-ink);
	margin: 0 0 14px;
}

.op-final-cta p {
	font: 400 14.5px/1.6 'Open Sans', sans-serif;
	color: var(--op-ink-soft);
	margin: 0 0 24px;
}

.op-final-cta__ctas {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- Sticky bottom bar ---------- */

.op-sticky-bar {
	position: sticky;
	bottom: 0;
	/* Must always sit above the fixed site header (200) and sub-nav (150) — this
	   is the primary conversion element and should never be overlapped. */
	z-index: 500;
	background: var(--op-card);
	border-top: 1px solid var(--op-line);
	padding: 14px 40px;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-shadow: 0 -6px 24px rgba(36, 33, 25, .06);
}

.op-sticky-bar__text {
	font: 600 13.5px/1.4 'Open Sans', sans-serif;
	color: var(--op-ink);
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
	/* Once "Weekend 1/2" and "Locatie" wrap onto separate lines, the "·"
	   separator (meant for inline flow on desktop) just pushes Locatie out
	   of alignment with Weekend 1 above it — stack them cleanly instead. */
	.op-hero__schedule-items {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.op-hero__schedule-sep {
		display: none;
	}

	.op-subnav::after {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 56px;
		background: linear-gradient(to right, transparent, var(--op-card) 60%);
		pointer-events: none;
		opacity: 1;
		transition: opacity .2s ease;
	}

	.op-subnav--end::after {
		opacity: 0;
	}

	.op-subnav__scroll-hint {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		right: 14px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 1;
		width: 22px;
		height: 22px;
		border-radius: 50%;
		background: var(--op-ink);
		color: #fff;
		font: 700 14px/1 'Open Sans', sans-serif;
		pointer-events: none;
		opacity: 1;
		transition: opacity .2s ease;
		animation: op-subnav-nudge 1.6s ease-in-out 1s 3;
	}

	.op-subnav--end .op-subnav__scroll-hint {
		opacity: 0;
	}

	@keyframes op-subnav-nudge {
		0%, 100% { transform: translateY(-50%) translateX(0); }
		50% { transform: translateY(-50%) translateX(5px); }
	}

	/* Course name is desktop-only — no spare width for it alongside the
	   horizontally-scrolling pill row on mobile. */
	.op-subnav__course-name {
		display: none !important;
	}

	.op-subnav__inner {
		padding: 12px 20px;
	}

	.op-subnav__list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scroll-padding-left: 20px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.op-subnav__list a {
		scroll-snap-align: start;
	}

	.op-subnav__list::-webkit-scrollbar {
		display: none;
	}

	.op-hero {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 20px 20px 40px;
		text-align: left;
	}

	.op-hero__media {
		order: -1;
	}

	.op-hero__rating {
		display: none;
	}

	.op-hero__copy {
		position: relative;
		z-index: 1;
		background: var(--op-card);
		border-radius: 16px;
		box-shadow: 0 16px 40px rgba(25, 25, 23, .16);
		padding: 24px 20px;
		margin: -56px 4px 0;
	}

	.op-hero__title {
		font-size: 28px;
	}

	.op-hero__intro {
		max-width: none;
	}

	.op-hero__ctas {
		flex-direction: column;
		align-items: stretch;
	}

	.op-hero__ctas .op-btn {
		justify-content: center;
	}

	/* Cursusinhoud — the curriculum card and gallery columns still sit
	   side-by-side at every width (grid-template-columns: 1fr 1fr is set
	   unconditionally), so stack them on mobile first. */
	.op-content .mk-page-section-wrapper:has(#content) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row {
		grid-template-columns: 1fr !important;
	}

	/* Gallery — single-column stack on mobile instead of a cramped 2-column
	   grid; a consistent aspect-ratio keeps the stacked images tidy since
	   object-fit:cover with no ratio would otherwise follow each photo's own
	   natural proportions. */
	.op-content-gallery {
		grid-template-columns: 1fr;
	}

	.op-content-gallery__item,
	.op-content-gallery__item--wide {
		grid-column: span 1;
		aspect-ratio: 4 / 3;
	}

	/* Voor wie? — image becomes a faint background behind the cards/form on mobile,
	   instead of a separate stacked block. */
	.op-content .mk-page-section-wrapper:has(#who) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row {
		position: relative;
	}

	.op-content .mk-page-section-wrapper:has(#who) + .vc_row-full-width + .mk-page-section-wrapper .op-who-cards {
		padding-top: 40px;
	}

	.op-content .mk-page-section-wrapper:has(#who) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row > .vc_col-sm-6:first-child {
		position: relative;
		z-index: 1;
	}

	.op-content .mk-page-section-wrapper:has(#who) + .vc_row-full-width + .mk-page-section-wrapper .wpb_row > .vc_col-sm-6:last-child {
		position: absolute !important;
		inset: 0;
		z-index: 0;
		height: 100% !important;
	}

	.op-who-image--full img {
		opacity: .16;
	}

	.op-content .mk-page-section-wrapper:has(#what) + .vc_row-full-width + .mk-page-section-wrapper .mk-text-block {
		grid-template-columns: 1fr;
	}

	.op-content .pa-courseinfo-section {
		padding: 0 20px 40px;
	}

	.op-courseinfo {
		grid-template-columns: 1fr;
	}

	.op-courseinfo__grid {
		grid-template-columns: 1fr 1fr;
		padding: 24px;
	}

	.op-courseinfo__investment {
		padding: 24px;
	}

	.op-final-cta {
		padding: 40px 20px;
	}

	.op-final-cta__ctas {
		flex-direction: column;
	}

	.op-sticky-bar {
		display: flex;
		padding: 12px 20px;
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		gap: 10px;
	}
}

/* ---------- Footer (white, this page template only) ---------- */

body.page-template-template-opleiding #mk-footer {
	background: #fff !important;
}

body.page-template-template-opleiding #mk-footer,
body.page-template-template-opleiding #mk-footer p,
body.page-template-template-opleiding #mk-footer a {
	color: var(--op-ink-soft) !important;
}

body.page-template-template-opleiding #mk-footer .widgettitle {
	color: var(--op-ink) !important;
}
