/*
Theme Name: Yoga Connects
Theme URI: https://yogaconnects.eu
Description: Child theme of Twenty Twenty-Five for Yoga Connects.
Author: Kjenta Robert
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.6
Text Domain: yoga-connects
*/

/* ---------- Basics ---------- */
:root {
	--yc-radius: 28px;
	--yc-radius-sm: 22px;
	--yc-shadow: 0 18px 40px -24px rgba(31, 42, 54, 0.45);
}

h1 em, h2 em, h3 em {
	font-style: italic;
}

:where(a, button, input, .wp-element-button):focus-visible {
	outline: 2px solid var(--wp--preset--color--roze-donker);
	outline-offset: 3px;
}

.wp-element-button,
.wp-block-button__link {
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1.5px solid currentColor;
	background: transparent;
	color: var(--wp--preset--color--inkt);
	padding: calc(0.9rem - 1.5px) calc(1.6rem - 1.5px);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--inkt);
	color: var(--wp--preset--color--wit);
}

/* Roze knop (accent) */
.wp-block-button.is-style-yc-roze > .wp-block-button__link {
	background: var(--wp--preset--color--roze);
	color: var(--wp--preset--color--inkt);
	font-weight: 700;
}

.wp-block-button.is-style-yc-roze > .wp-block-button__link:hover {
	background: #F2D6D6;
}

/* ---------- Small labels ---------- */
.yc-eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--grijs);
	margin: 0;
}

.yc-hero h1 em {
	color: var(--wp--preset--color--stofblauw);
}

.wp-block-column > .yc-entry {
	height: 100%;
	box-sizing: border-box;
}

.yc-lead {
	font-size: var(--wp--preset--font-size--large);
	color: #3F4B58;
	max-width: 36ch;
}

.yc-muted {
	color: var(--wp--preset--color--grijs);
}

.yc-arrow-link a,
a.yc-arrow-link {
	font-weight: 600;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.yc-signature {
	font-family: var(--wp--preset--font-family--allura);
	font-size: 2.875rem;
	line-height: 1;
	color: var(--wp--preset--color--stofblauw);
	margin: 0;
}

/* ---------- Header ---------- */
/* Floating dark-blue bar that stays at the top while scrolling. */
header.wp-block-template-part {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 14px);
	z-index: 100;
	margin-top: 14px;
	padding-inline: var(--wp--style--root--padding-left, 24px);
	pointer-events: none;
}

.yc-header {
	pointer-events: auto;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding: 10px clamp(18px, 2.5vw, 32px) !important;
	background: var(--wp--preset--color--diepblauw);
	color: var(--wp--preset--color--wit);
	border-radius: 999px;
	box-shadow: 0 10px 30px rgba(31, 42, 54, 0.18);
}

.yc-header > .alignwide {
	max-width: none !important;
}

.yc-header .wp-block-navigation,
.yc-header .wp-block-navigation a {
	color: var(--wp--preset--color--wit);
}

.yc-header .wp-block-navigation .current-menu-item > a,
.yc-header .wp-block-navigation .current-menu-ancestor > a {
	color: var(--wp--preset--color--roze);
}

.yc-header .wp-block-button__link {
	background: var(--wp--preset--color--roze);
	color: var(--wp--preset--color--diepblauw);
}

.yc-header .wp-block-button__link:hover {
	background: var(--wp--preset--color--wit);
	color: var(--wp--preset--color--diepblauw);
}

/* Mobile overlay menu keeps a light background with dark text. */
.yc-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--mistblauw) !important;
	color: var(--wp--preset--color--inkt) !important;
}

.yc-header .wp-block-navigation__responsive-container.is-menu-open a {
	color: var(--wp--preset--color--inkt);
}

.yc-header .wp-block-site-logo img {
	height: 58px;
	width: auto;
}

.yc-header .wp-block-navigation {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

.yc-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--roze);
	text-decoration: underline;
	text-underline-offset: 6px;
}

.yc-header .wp-block-button__link {
	font-size: var(--wp--preset--font-size--small);
	padding: 0.75rem 1.4rem;
}

/* Dropdown (Voor particulieren > Workshops, Retreats) */
.yc-header .wp-block-navigation .wp-block-navigation__submenu-container {
	min-width: 220px !important;
	padding: 10px !important;
	border: 0 !important;
	border-radius: var(--yc-radius-sm);
	background: var(--wp--preset--color--wit) !important;
	box-shadow: var(--yc-shadow), 0 0 0 1px rgba(31, 42, 54, 0.06);
	top: calc(100% + 34px) !important;
	left: -12px !important;
}

/* Invisible bridge so the menu stays open while moving the mouse down. */
.yc-header .wp-block-navigation .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	inset: -36px 0 auto;
	height: 36px;
}

.yc-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 10px 14px !important;
	border-radius: 10px;
	color: var(--wp--preset--color--inkt);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.yc-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.yc-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--mistblauw);
	color: var(--wp--preset--color--diepblauw);
	text-decoration: none;
}

.yc-header .wp-block-navigation .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--stofblauw);
	font-weight: 600;
}

.yc-header .wp-block-navigation .wp-block-navigation__submenu-icon {
	width: 0.7em;
	height: 0.7em;
	margin-left: 4px;
	color: var(--wp--preset--color--roze);
}

/* Mobile overlay: submenu items as an indented list, no card. */
.yc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	box-shadow: none;
	background: transparent !important;
	padding: 0 0 0 16px !important;
}

/* ---------- Photo placeholders (cover blocks) ---------- */
.yc-photo {
	color: #4F5D6B;
	font-size: 0.875rem;
}

.yc-photo.wp-block-cover {
	align-items: flex-end;
	justify-content: flex-start;
	padding: 1.25rem;
}

.yc-photo .wp-block-cover__inner-container {
	color: inherit;
	width: auto;
}

.yc-arch {
	border-radius: 999px 999px var(--yc-radius) var(--yc-radius);
	aspect-ratio: 4 / 5;
	max-width: 480px;
	margin-inline: auto;
	overflow: hidden;
	justify-content: center !important;
	text-align: center;
}

.yc-rounded {
	border-radius: var(--yc-radius);
	overflow: hidden;
}

.yc-square {
	aspect-ratio: 1 / 1;
	max-width: 500px;
}

/* ---------- Hero ---------- */
.yc-hero-media {
	position: relative;
}

.yc-badge {
	position: absolute;
	left: 0;
	bottom: 36px;
	max-width: 240px;
	background: var(--wp--preset--color--wit);
	border-radius: 18px;
	padding: 16px 20px !important;
	box-shadow: var(--yc-shadow);
	z-index: 2;
}

.yc-badge p {
	margin: 0;
}

.yc-badge .yc-badge-title {
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: 1.5rem;
	line-height: 1.15;
}

/* ---------- Cards ---------- */
.yc-entry {
	border-radius: var(--yc-radius);
	padding: clamp(28px, 4vw, 44px) !important;
	min-height: 380px;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yc-entry > :last-child {
	margin-top: auto;
}

.yc-entry:hover,
.yc-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--yc-shadow);
}

.yc-entry ul {
	list-style: none;
	padding-left: 0;
}

.yc-entry li + li {
	margin-top: 0.5rem;
}

.yc-entry.has-stofblauw-background-color a {
	color: var(--wp--preset--color--wit);
}

.yc-entry.has-stofblauw-background-color .yc-eyebrow {
	color: #C6D0D8;
}

.yc-card {
	border-radius: var(--yc-radius-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yc-card > .yc-photo {
	min-height: 190px !important;
}

.yc-card-body {
	padding: 24px !important;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.yc-card-body .yc-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--roze-donker);
}

.yc-card-body > p:not(.yc-eyebrow) {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--grijs);
}

.yc-card-foot {
	margin-top: auto !important;
	padding-top: 14px;
	border-top: 1px solid #E5E1DE;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.yc-card-foot p {
	margin: 0;
}

.yc-card-foot.wp-block-group p {
	color: var(--wp--preset--color--inkt);
}

/* ---------- Retreat band ---------- */
.yc-retreat {
	border-radius: 36px;
	overflow: hidden;
}

.yc-retreat .wp-block-columns {
	gap: 0;
}

.yc-retreat-text {
	padding: clamp(36px, 6vw, 88px) !important;
}

.yc-retreat .yc-lead {
	color: #C6D0D8;
	max-width: 42ch;
}

.yc-retreat .yc-photo {
	color: #C6D0D8;
	height: 100%;
}

.yc-note {
	font-size: 0.8125rem;
	color: #A9B8C7;
}

/* ---------- Reviews ---------- */
.yc-review {
	border: 1px solid #E5E1DE;
	border-radius: var(--yc-radius-sm);
	padding: 32px !important;
}

.yc-review blockquote {
	margin: 0;
}

.yc-review blockquote::before {
	content: "\201C";
	display: block;
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: 4rem;
	line-height: 0.6;
	height: 36px;
	color: var(--wp--preset--color--stofblauw);
}

.yc-review cite {
	display: block;
	margin-top: 1rem;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	color: var(--wp--preset--color--grijs);
}

/* ---------- Footer ---------- */
.yc-footer {
	color: var(--wp--preset--color--wit);
}

.yc-footer a {
	color: #C6D0D8;
}

.yc-footer a:hover {
	color: var(--wp--preset--color--wit);
}

.yc-footer .yc-eyebrow {
	font-size: 0.75rem;
	color: #A9B8C7;
}

.yc-footer-cols {
	border-top: 1px solid var(--wp--preset--color--stofblauw);
	padding-top: 40px;
	font-size: var(--wp--preset--font-size--small);
}

.yc-footer-cols p {
	margin: 0 0 0.5rem;
}

.yc-logo-pill {
	display: inline-flex;
	padding: 0 !important;
}

.yc-logo-pill img {
	height: 76px;
	width: auto;
	display: block;
}

.yc-copyright {
	font-size: 0.8125rem;
	color: #93A3B4;
}

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.yc-header .alignwide,
	.yc-header .alignwide > .wp-block-group {
		flex-wrap: nowrap;
	}

	.yc-header .alignwide > .wp-block-group {
		gap: 14px;
	}

	.yc-header .wp-block-site-logo img {
		height: 52px;
	}

	.yc-header .wp-block-button__link {
		padding: 0.65rem 1rem;
		white-space: nowrap;
	}

	.yc-badge {
		position: relative;
		bottom: auto;
		margin-top: -48px !important;
		margin-left: 12px;
	}

	.yc-entry {
		min-height: 0;
	}

	.yc-retreat .yc-photo {
		min-height: 280px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yc-entry,
	.yc-card,
	.wp-element-button,
	.wp-block-button__link {
		transition: none;
	}

	.yc-entry:hover,
	.yc-card:hover,
	.wp-element-button:hover,
	.wp-block-button__link:hover {
		transform: none;
	}
}

/* ---------- Dark sections ---------- */
.yc-dark .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--wp--preset--color--wit);
}

.yc-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--wit);
	color: var(--wp--preset--color--inkt);
}

.yc-dark .yc-lead {
	color: #C6D0D8;
}

.yc-dark a:not(.wp-element-button) {
	color: var(--wp--preset--color--roze);
}

/* ---------- Offer cards ---------- */
.yc-offer {
	min-height: 0;
}

.yc-offer h3 {
	font-size: 2.25rem;
}

.yc-offer ul {
	list-style: disc;
	padding-left: 1.1em;
	font-size: var(--wp--preset--font-size--small);
}

.yc-entry.has-diepblauw-background-color a,
.yc-entry.has-stofblauw-background-color a {
	color: var(--wp--preset--color--wit);
}

/* ---------- Chips ---------- */
.yc-chips p {
	margin: 0;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--wp--preset--color--mistblauw);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

/* ---------- Steps ---------- */
.yc-step {
	padding: 22px 0 !important;
	border-bottom: 1px solid #E5E1DE;
}

.yc-step p {
	margin: 0;
}

.yc-step-num {
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: 2.5rem;
	line-height: 1;
	color: var(--wp--preset--color--stofblauw);
	min-width: 40px;
}

.yc-step-title {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--large);
}

/* ---------- Info rows (praktisch, profiel) ---------- */
.yc-info {
	border-top: 1px solid #E5E1DE;
}

.yc-info-row {
	padding: 18px 0 !important;
	border-bottom: 1px solid #E5E1DE;
}

.yc-info-row p {
	margin: 0;
}

.yc-info-row > p:first-child {
	flex: 0 0 34%;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--grijs);
	padding-top: 3px;
}

.yc-dark .yc-info,
.yc-dark .yc-info-row {
	border-color: #4A607A;
}

.yc-dark .yc-info-row > p:first-child {
	color: #A9B8C7;
}

/* ---------- Contact cards ---------- */
.yc-contact-card {
	border-radius: var(--yc-radius-sm);
	padding: 28px !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yc-contact-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--yc-shadow);
}

.yc-contact-card p {
	margin: 0;
}

.yc-contact-card .yc-contact-value {
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: 1.625rem;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

/* ---------- Simple text pages (legal) ---------- */
.yc-text-page h2 {
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: 2.5rem;
}

.yc-todo {
	background: #F6E8E8;
	border-radius: 14px;
	padding: 16px 20px !important;
	font-size: var(--wp--preset--font-size--small);
}

/* ---------- Link page ---------- */
.yc-links .wp-block-button,
.yc-links .wp-block-button__link {
	width: 100%;
}

.yc-links .wp-block-button__link {
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}

.yc-links .wp-block-site-logo img {
	height: 96px;
	width: auto;
}

@media (max-width: 600px) {
	.yc-info-row {
		flex-wrap: wrap !important;
		gap: 4px !important;
	}

	.yc-info-row > p:first-child {
		flex-basis: 100%;
	}
}

/* ---------- Links on blue backgrounds ---------- */
.has-stofblauw-background-color a:not(.wp-element-button),
.has-diepblauw-background-color a:not(.wp-element-button) {
	color: var(--wp--preset--color--wit);
}

/* ---------- Big quote ---------- */
.yc-big-quote {
	text-align: center;
	margin-inline: auto;
}

.yc-big-quote p {
	font-size: clamp(1.75rem, 3.4vw, 2.625rem);
	line-height: 1.2;
}

.yc-big-quote cite {
	display: block;
	margin-top: 1rem;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	color: var(--wp--preset--color--grijs);
}

.yc-dark .yc-big-quote cite {
	color: #C6D0D8;
}

.yc-big-quote + .wp-block-buttons {
	margin-top: 2rem;
}

.yc-signature {
	margin-top: 0.5rem !important;
}

/* ---------- Section spacing: full-width sections sit flush ---------- */
.wp-site-blocks > footer,
.wp-site-blocks > main + * {
	margin-block-start: 0;
}

.wp-block-post-content > .alignfull + .alignfull {
	margin-block-start: 0;
}

.yc-photo.wp-block-cover:not(.is-light) {
	color: #C6D0D8;
}

.is-layout-constrained > .yc-lead {
	max-width: var(--wp--style--global--content-size);
}

.yc-square.wp-block-cover,
.yc-arch.wp-block-cover {
	min-height: 0;
	width: 100%;
	box-sizing: border-box;
}

/* ---------- Testimonials (editorial) ---------- */
.yc-testimonial .wp-block-quote {
	margin: 0;
}

.yc-testimonial .wp-block-quote p {
	margin: 0;
	text-indent: -0.42em;
}

.yc-quote-lg p {
	font-size: clamp(1.75rem, 3vw, 2.625rem);
	line-height: 1.18;
	letter-spacing: -0.01em;
}

.yc-quote-sm p {
	font-size: 1.5rem;
	line-height: 1.3;
}

.yc-testimonial:not(.yc-testimonial-lg) {
	border-top: 1px solid var(--wp--preset--color--stofblauw);
	padding-top: 28px !important;
}

.yc-testimonial:not(.yc-testimonial-lg) + .yc-testimonial {
	margin-top: 44px !important;
}

.yc-author p {
	margin: 0;
}

.yc-avatar {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 50%;
	background: var(--wp--preset--color--roze);
	color: var(--wp--preset--color--inkt);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: 1.25rem;
	line-height: 1;
}

.yc-testimonial-lg .yc-avatar {
	width: 52px;
	height: 52px;
	flex-basis: 52px;
}

.yc-author-name {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
}

.yc-author-meta {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--grijs);
}

/* ---------- Newsletter banner ---------- */
.yc-newsletter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.yc-newsletter-form input[type="email"] {
	flex: 1 1 220px;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid rgba(31, 42, 54, 0.18);
	border-radius: 999px;
	background: var(--wp--preset--color--wit);
	color: var(--wp--preset--color--inkt);
	font: inherit;
	font-size: 1rem;
	box-sizing: border-box;
}

.yc-newsletter-form input[type="email"]::placeholder {
	color: #6B7683;
}

.yc-newsletter-form button {
	min-height: 52px;
	border: 0;
	cursor: pointer;
	background: var(--wp--preset--color--diepblauw);
}

.yc-newsletter-form button:hover {
	background: var(--wp--preset--color--inkt);
}

.yc-newsletter-note {
	margin-top: 12px !important;
	font-size: 0.8125rem;
	color: #4A3F44;
}

.yc-newsletter-note a {
	color: inherit;
	text-decoration: underline;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Contact form ---------- */
.yc-form-card {
	border-radius: var(--yc-radius);
	padding: clamp(28px, 4vw, 48px) !important;
}

.yc-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 20px;
}

.yc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.yc-field[hidden] {
	display: none;
}

.yc-field--full {
	grid-column: 1 / -1;
}

.yc-field label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.yc-req {
	color: var(--wp--preset--color--roze-donker);
}

.yc-optional {
	font-weight: 400;
	color: var(--wp--preset--color--grijs);
}

.yc-form input[type="text"],
.yc-form input[type="email"],
.yc-form input[type="tel"],
.yc-form select,
.yc-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid #C9D0D8;
	border-radius: 14px;
	background: var(--wp--preset--color--warm-wit);
	color: var(--wp--preset--color--inkt);
	font: inherit;
	font-size: 1rem;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.yc-form select {
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%234C7092' stroke-width='1.8'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	cursor: pointer;
}

.yc-form textarea {
	min-height: 150px;
	resize: vertical;
}

.yc-form input:hover,
.yc-form select:hover,
.yc-form textarea:hover {
	border-color: var(--wp--preset--color--stofblauw);
}

.yc-form input:focus,
.yc-form select:focus,
.yc-form textarea:focus {
	border-color: var(--wp--preset--color--stofblauw);
	background-color: var(--wp--preset--color--wit);
	outline: 2px solid rgba(76, 112, 146, 0.25);
	outline-offset: 1px;
}

.yc-form [aria-invalid="true"] {
	border-color: #B4474C;
}

.yc-field-error {
	margin: 0;
	font-size: 0.8125rem;
	color: #A23A40;
}

.yc-form-alert {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-radius: 14px;
	background: #F6E8E8;
	color: #7E2E33;
	font-size: var(--wp--preset--font-size--small);
}

.yc-field--check {
	display: grid;
	grid-template-columns: 22px 1fr;
	align-items: start;
	column-gap: 12px;
}

.yc-field--check input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--wp--preset--color--stofblauw);
}

.yc-field--check label {
	font-weight: 400;
	color: #3F4B58;
}

.yc-field--check .yc-field-error {
	grid-column: 2;
}

.yc-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.yc-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 28px;
}

.yc-form-actions button {
	border: 0;
	cursor: pointer;
	min-height: 52px;
}

.yc-form-hint {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--grijs);
}

.yc-form-success {
	padding: 28px 32px;
	border-radius: var(--yc-radius-sm);
	background: var(--wp--preset--color--mistblauw);
	outline: none;
}

.yc-form-success p {
	margin: 0 0 8px;
}

.yc-form-success-title {
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: 2rem;
	line-height: 1.1;
}

/* Direct contact list next to the form */
.yc-direct .yc-info-row > p:first-child {
	flex-basis: 38%;
}

.yc-direct .yc-info-row a {
	font-weight: 600;
}

@media (max-width: 600px) {
	.yc-form-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Footer bottom row with social icons ---------- */
.yc-footer-bottom .yc-copyright {
	margin: 0;
}

.yc-socials.wp-block-social-links {
	gap: 18px;
	margin: 0;
}

.yc-socials .wp-social-link a {
	color: #C6D0D8;
	padding: 6px;
	min-width: 44px;
	min-height: 44px;
	box-sizing: border-box;
	justify-content: center;
}

.yc-socials .wp-social-link svg {
	width: 26px;
	height: 26px;
}

.yc-socials .wp-social-link a:hover {
	color: var(--wp--preset--color--roze);
}

.yc-footer .yc-socials.is-style-logos-only .wp-social-link a {
	color: var(--wp--preset--color--warm-wit) !important;
}

.yc-footer .yc-socials.is-style-logos-only .wp-social-link a:hover {
	color: var(--wp--preset--color--roze) !important;
}

/* ---------- Waves (section edges, a nod to the sea) ---------- */
:root {
	--yc-wave-h: 56px;
	--yc-wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 30C180 6 360 4 560 22s420 34 620 18 220-24 260-26V56H0Z'/%3E%3C/svg%3E");
	--yc-wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V24C1260 50 1060 54 860 36S440 4 240 18 40 44 0 40Z'/%3E%3C/svg%3E");
}

@media (max-width: 781px) {
	:root {
		--yc-wave-h: 28px;
	}
}

.yc-wave-top,
.yc-wave-bottom,
.yc-footer {
	--yc-wt: 0px;
	--yc-wb: 0px;
	position: relative;
	-webkit-mask:
		var(--yc-wave-top) top / 100% var(--yc-wt) no-repeat,
		linear-gradient(#000, #000) 0 calc(var(--yc-wt) - 1px) / 100% calc(100% - var(--yc-wt) - var(--yc-wb) + 2px) no-repeat,
		var(--yc-wave-bottom) bottom / 100% var(--yc-wb) no-repeat;
	mask:
		var(--yc-wave-top) top / 100% var(--yc-wt) no-repeat,
		linear-gradient(#000, #000) 0 calc(var(--yc-wt) - 1px) / 100% calc(100% - var(--yc-wt) - var(--yc-wb) + 2px) no-repeat,
		var(--yc-wave-bottom) bottom / 100% var(--yc-wb) no-repeat;
}

.yc-wave-top,
.yc-footer {
	--yc-wt: var(--yc-wave-h);
	margin-block-start: calc(-1 * var(--yc-wave-h)) !important;
}

.yc-wave-bottom {
	--yc-wb: var(--yc-wave-h);
	margin-block-end: calc(-1 * var(--yc-wave-h)) !important;
	z-index: 1;
}

/* The wave eats into the section's own padding, so add it back. */
.yc-wave-top {
	padding-top: calc(var(--wp--preset--spacing--60) + var(--yc-wave-h)) !important;
}

.yc-wave-bottom {
	padding-bottom: calc(var(--wp--preset--spacing--60) + var(--yc-wave-h)) !important;
}

.yc-footer {
	padding-top: calc(88px + var(--yc-wave-h)) !important;
}

/* ---------- Slogan ---------- */
.yc-slogan .yc-big-quote p em {
	color: var(--wp--preset--color--stofblauw);
}


/* ---------- Photo gallery (desktop grid, swipeable strip on mobile) ---------- */
.yc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
	aspect-ratio: 4 / 5;
	border-radius: var(--yc-radius-sm);
	overflow: hidden;
}

.yc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
	height: 100%;
	object-fit: cover;
}

@media (max-width: 781px) {
	.yc-gallery.wp-block-gallery.has-nested-images {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin-inline: calc(-1 * var(--wp--style--root--padding-right, 16px));
		padding-inline: var(--wp--style--root--padding-right, 16px);
	}

	.yc-gallery.wp-block-gallery.has-nested-images::-webkit-scrollbar {
		display: none;
	}

	.yc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		flex: 0 0 72%;
		width: 72%;
		scroll-snap-align: start;
	}
}

/* ---------- Clickable hero badge ---------- */
.yc-badge {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yc-badge .yc-badge-title a {
	color: inherit;
	text-decoration: none;
}

/* Same arrow as the buttons (Manrope), not the serif glyph. */
.yc-badge .yc-badge-arrow {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 1rem;
	font-weight: 600;
	vertical-align: 0.1em;
	margin-left: 2px;
}

/* Stretch the title link over the whole badge. */
.yc-badge .yc-badge-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.yc-badge:hover {
	transform: translateY(-3px);
}

.yc-badge:focus-within {
	outline: 2px solid var(--wp--preset--color--stofblauw);
	outline-offset: 3px;
}

.yc-badge .yc-badge-title a:focus {
	outline: none;
}

/* ---------- Amelia (events agenda + booking popup) in brand colours ---------- */
#amelia-container,
.amelia-v2-booking,
.am-dialog-popup,
.am-dialog-el {
	--am-c-primary: #4C7092 !important;
	--am-c-btn-prim: #4C7092 !important;
	--am-c-btn-prim-text: #FFFFFF !important;
	--am-c-btn-sec: #2C445E !important;
	--am-c-btn-sec-text: #FFFFFF !important;
	--am-c-main-heading-text: #1F2A36 !important;
	--am-c-main-text: #1F2A36 !important;
	--am-c-card-text: #1F2A36 !important;
	--am-c-card-border: #DFE6EB !important;
	--am-c-inp-border: #DFE6EB !important;
	--am-c-scroll-op30: rgba(76, 112, 146, 0.3) !important;
	--am-c-scroll-op10: rgba(76, 112, 146, 0.1) !important;
	--am-font-family: Manrope, system-ui, sans-serif !important;
	--am-rad-inp: 12px !important;
}

.yc-agenda #amelia-container {
	--am-mw-main: 100% !important;
	max-width: 100% !important;
}

.yc-agenda #amelia-container .am-button {
	border-radius: 999px !important;
}

/* Amelia sets button and card colours inline; author !important wins over those. */
.amelia-v2-booking .am-button,
.am-dialog-popup .am-button,
.am-dialog-el .am-button {
	--am-c-btn-first: #4C7092 !important;
	--am-c-btn-second: #FFFFFF !important;
	--am-c-btn-first-op80: rgba(76, 112, 146, 0.8) !important;
	--am-c-btn-first-op30: rgba(76, 112, 146, 0.3) !important;
	--am-c-btn-first-op20: rgba(76, 112, 146, 0.12) !important;
}

.amelia-v2-booking .am-ec {
	--am-c-ec-primary: #4C7092 !important;
	--am-c-ec-text: #1F2A36 !important;
}

/* Visitors don't need to see how many places are left. */
.amelia-v2-booking .am-ec__info-capacity,
.am-dialog-popup .am-ec__info-capacity,
.am-dialog-el .am-ec__info-capacity {
	display: none !important;
}

/* ---------- Accordion (programme, FAQ) ---------- */
.yc-faq-list {
	border-top: 1px solid var(--wp--preset--color--mistblauw);
}

.yc-faq.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--mistblauw);
	padding: 0;
	margin: 0 !important;
}

.yc-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 22px 0;
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: 1.375rem;
	line-height: 1.25;
}

.yc-faq summary::-webkit-details-marker {
	display: none;
}

.yc-faq summary::after {
	content: "+";
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 1.25rem;
	color: var(--wp--preset--color--stofblauw);
	transition: transform 0.2s ease;
}

.yc-faq[open] summary::after {
	transform: rotate(45deg);
}

.yc-faq summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--stofblauw);
	outline-offset: 4px;
}

.yc-faq > p {
	margin: 0 0 22px;
	max-width: 70ch;
	color: var(--wp--preset--color--grijs);
}

/* Price line inside offer cards. */
.yc-offer h3 .yc-muted {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.9375rem;
}

/* A white form card inside a dark section keeps normal link colours. */
.yc-dark .yc-form-card a:not(.wp-element-button) {
	color: var(--wp--preset--color--stofblauw);
}

/* Newsletter form feedback. */
.yc-newsletter-success {
	margin: 0;
	padding: 14px 20px;
	border-radius: 999px;
	background: var(--wp--preset--color--wit);
	font-weight: 600;
	color: var(--wp--preset--color--diepblauw);
}

.yc-newsletter-error {
	margin: 10px 0 0 !important;
	font-size: 0.875rem;
	color: var(--wp--preset--color--roze-donker);
	font-weight: 600;
}

/* Link cards (404): the whole card reads as one link. */
.yc-link-card .yc-step-title a {
	color: inherit;
	text-decoration: none;
}

.yc-link-card .yc-step-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.yc-link-card {
	position: relative;
	transition: transform 0.2s ease;
}

.yc-link-card:hover {
	transform: translateY(-3px);
}

/* The section under a bottom wave sits partly behind it: give it the room back. */
.yc-wave-bottom + .wp-block-group:not(.yc-wave-top) {
	padding-top: calc(var(--wp--preset--spacing--60) + var(--yc-wave-h)) !important;
}

/* ---------- Google reviews ---------- */
.yc-google-reviews {
	margin-top: var(--wp--preset--spacing--50) !important;
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--wp--preset--color--mistblauw);
}

.yc-google-score {
	margin: 0;
	font-size: 1.125rem;
}

.yc-google-score strong {
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: 2.25rem;
	font-weight: 400;
	margin-right: 6px;
}

.yc-stars {
	color: #E0A93B;
	letter-spacing: 2px;
	margin: 0;
}

.yc-google-card .yc-stars {
	font-size: 0.9375rem;
}

.yc-google-text {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--wp--preset--color--inkt);
}

/* Back link above a workshop hero. */
.yc-back {
	font-size: 0.875rem;
	margin-bottom: 8px !important;
}

/* Google reviews directly under a section heading: no divider above. */
.yc-google-reviews.is-solo {
	margin-top: 0 !important;
	padding-top: 0;
	border-top: 0;
}

/* Concept cards: equal height, button pinned to the bottom. */
.yc-concept-card {
	display: flex;
	flex-direction: column;
}

.yc-concept-card > .yc-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.yc-concept-card > .yc-card-body > .wp-block-buttons {
	margin-top: auto !important;
	padding-top: 8px;
}

/* Review cards: author at the bottom so cards line up. */
.yc-google-card {
	display: flex;
	flex-direction: column;
}

.yc-google-card > .yc-author {
	margin-top: auto !important;
	padding-top: 6px;
}

/* Review grids become a swipeable carousel on mobile. */
@media (max-width: 781px) {
	.yc-review-grid.wp-block-group {
		display: flex !important;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 4px;
	}

	.yc-review-grid.wp-block-group::-webkit-scrollbar {
		display: none;
	}

	.yc-review-grid > * {
		flex: 0 0 82%;
		scroll-snap-align: start;
	}
}

/* Dark CTA and edition cards: inner spacing. */
.yc-offer-cta.wp-block-group,
.yc-edition.wp-block-group {
	padding: clamp(28px, 4vw, 48px) !important;
}

.yc-offer-cta .yc-lead {
	color: var(--wp--preset--color--wit);
	margin: 0;
}

.yc-offer-cta .wp-block-buttons {
	margin-top: 4px;
}

/* ---------- Intro + numbered topics (workshop pages) ---------- */
.yc-sticky-intro {
	position: sticky;
	top: 120px;
}

.yc-sticky-intro p {
	max-width: 42ch;
}

.yc-intro-text {
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--wp--preset--color--inkt);
}

.yc-feature-list > .yc-feature {
	padding: 32px 0;
	border-top: 1px solid var(--wp--preset--color--mistblauw);
	margin: 0 !important;
}

.yc-feature-list > .yc-feature:first-child {
	padding-top: 0;
	border-top: 0;
}

.yc-feature > * {
	margin: 0 !important;
	max-width: 62ch;
}

.yc-feature > .yc-step-num {
	font-size: 1.125rem;
	margin-bottom: 6px !important;
}

.yc-feature > h3 {
	font-size: clamp(1.5rem, 2.4vw, 1.875rem);
	line-height: 1.15;
	margin-bottom: 14px !important;
}

.yc-feature > p + p {
	margin-top: 0.9em !important;
}

@media (max-width: 781px) {
	.yc-sticky-intro {
		position: static;
	}
}

/* A wave is cut out of the section's own background: sections without a
   background colour get the page colour, otherwise the wave is invisible. */
.yc-wave-top:not(.has-background),
.yc-wave-bottom:not(.has-background) {
	background-color: var(--wp--preset--color--warm-wit);
}

/* Contact intro: wider lead text. */
.yc-lead.yc-lead-wide {
	max-width: 68ch;
}

/* Bedrijven: four wellbeing pillars fill the full width. */
.yc-pillars.is-layout-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.yc-pillars .yc-contact-card {
	padding: clamp(28px, 3vw, 40px) !important;
}

.yc-pillars .yc-step-num {
	font-size: 3rem;
	line-height: 1;
	margin-bottom: 10px !important;
}

.yc-pillars .yc-step-title {
	font-size: 1.3125rem;
	margin-bottom: 6px !important;
}

.yc-pillars .yc-contact-card p:not(.yc-step-num):not(.yc-step-title) {
	font-size: 1.0625rem;
	line-height: 1.65;
}

@media (max-width: 1080px) {
	.yc-pillars.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.yc-pillars.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* "Boek een sessie": a button in the header on desktop, inside the menu on mobile. */
.yc-header .yc-nav-cta {
	display: none !important;
}

.yc-header .is-menu-open .yc-nav-cta {
	display: flex !important;
	margin-top: 12px;
}

.yc-header .is-menu-open .yc-nav-cta a {
	background: var(--wp--preset--color--stofblauw);
	color: var(--wp--preset--color--wit) !important;
	border-radius: 999px;
	padding: 0.8rem 1.5rem !important;
	font-weight: 600;
}

@media (max-width: 599px) {
	.yc-header .wp-block-buttons {
		display: none;
	}
}

/* Mobile menu: a panel that ends right below the last item instead of filling the screen. */
.yc-header .wp-block-navigation__responsive-container.is-menu-open {
	bottom: auto !important;
	height: auto !important;
	max-height: 100dvh;
	overflow-y: auto;
	padding-bottom: 32px !important;
	border-radius: 0 0 24px 24px;
	box-shadow: 0 20px 40px rgba(31, 42, 54, 0.22);
}

/* Mobile menu with character: serif items, dividers, submenu as chips, slide-in. */
@keyframes yc-menu-in {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: none; }
}

.yc-header .is-menu-open {
	animation: yc-menu-in 0.25s ease-out;
	padding-top: 24px !important;
}

.yc-header .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 28px !important;
}

.yc-header .is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
	width: 100%;
}

.yc-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.yc-nav-cta) {
	width: 100%;
	border-bottom: 1px solid rgba(44, 68, 94, 0.14);
	padding: 14px 0;
}

.yc-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.yc-nav-cta) > .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.1;
	color: var(--wp--preset--color--diepblauw) !important;
}

.yc-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.yc-nav-cta) > .wp-block-navigation-item__content::after {
	content: " →";
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 1rem;
	color: var(--wp--preset--color--stofblauw);
	margin-left: 6px;
}

.yc-header .is-menu-open .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content::after {
	content: none;
}

.yc-header .is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	font-style: italic;
	color: var(--wp--preset--color--stofblauw) !important;
}

/* Workshops / Retreats as chips under "Voor particulieren". */
.yc-header .is-menu-open .wp-block-navigation__submenu-container {
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 8px !important;
	padding: 12px 0 0 !important;
}

.yc-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	background: var(--wp--preset--color--wit);
	color: var(--wp--preset--color--diepblauw) !important;
	border-radius: 999px;
	padding: 8px 16px !important;
	font-size: 0.9375rem;
	font-weight: 600;
}

.yc-header .is-menu-open .yc-nav-cta {
	width: 100%;
	margin-top: 24px;
}

.yc-header .is-menu-open .yc-nav-cta a {
	width: 100%;
	justify-content: center;
	background: var(--wp--preset--color--diepblauw);
	padding: 1rem 1.5rem !important;
}

.yc-header .is-menu-open .yc-nav-cta a::after {
	content: " →";
	margin-left: 6px;
}

.yc-header .is-menu-open .wp-block-navigation-item__content:focus {
	outline-offset: 4px;
	border-radius: 6px;
}

.yc-header .is-menu-open .wp-block-navigation__container > .has-child:not(.yc-nav-cta) > .wp-block-navigation-item__content::after {
	content: none;
}

.yc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container .wp-block-navigation__submenu-container {
	padding: 12px 0 0 !important;
	margin: 0 !important;
	left: 0 !important;
}

.yc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
	padding: 0 !important;
	margin: 0 !important;
	width: auto;
}

.yc-header .is-menu-open .yc-nav-cta a {
	box-sizing: border-box;
}

.yc-header .is-menu-open .yc-nav-cta a {
	display: flex !important;
	justify-content: center !important;
}

/* Mobile menu, calmer: no arrows, smaller serif, sub items as plain links. */
.yc-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.yc-nav-cta) > .wp-block-navigation-item__content::after,
.yc-header .is-menu-open .yc-nav-cta a::after {
	content: none !important;
}

.yc-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.yc-nav-cta) {
	padding: 12px 0;
	border-bottom-color: rgba(44, 68, 94, 0.1);
}

.yc-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.yc-nav-cta) > .wp-block-navigation-item__content {
	font-size: 1.625rem;
}

/* Workshops / Retreats: white chips (kept from the earlier version). */
.yc-header .is-menu-open .wp-block-navigation__submenu-container {
	gap: 8px !important;
	padding-top: 10px !important;
}

/* Mobile menu chips stay white on hover/focus (no light-blue dropdown hover). */
.yc-header .wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.yc-header .wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--roze) !important;
	color: var(--wp--preset--color--diepblauw) !important;
}

/* ---------- Over mij: colour and character ---------- */
.yc-hero-sky {
	color: var(--wp--preset--color--wit);
	padding-block: clamp(40px, 6vw, 88px) !important;
}

.yc-hero-sky .yc-eyebrow,
.yc-hero-sky .yc-lead {
	color: rgba(255, 255, 255, 0.92);
}

.yc-hero-sky h1 {
	color: var(--wp--preset--color--wit);
}

.yc-hero-sky h1 em {
	color: var(--wp--preset--color--roze);
}

.yc-hero-sky .yc-arch {
	box-shadow: 0 24px 60px rgba(31, 42, 54, 0.35);
}

h2 em,
h3 em {
	color: var(--wp--preset--color--stofblauw);
}

.yc-dark h2 em,
.yc-sea-band h2 em {
	color: var(--wp--preset--color--roze);
}

.yc-story-photo {
	box-shadow: var(--yc-shadow);
}

/* Dark band with training numbers */
.yc-stats-head {
	margin-bottom: 40px !important;
}

.yc-stats-head .yc-eyebrow {
	color: #C6D0D8;
}

.yc-stats.is-layout-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.yc-stat {
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	padding-top: 24px;
}

.yc-stat-num {
	font-family: var(--wp--preset--font-family--instrument-serif);
	font-size: clamp(3.5rem, 7vw, 6rem);
	line-height: 1;
	color: var(--wp--preset--color--roze);
	margin: 0 0 12px !important;
}

.yc-stat-label {
	color: #DCE3EA;
	max-width: 24ch;
}

/* Sea band */
.yc-sea-band {
	color: var(--wp--preset--color--wit);
}

.yc-sea-text {
	max-width: 620px !important;
	margin-left: 0 !important;
}

.yc-sea-band .yc-eyebrow {
	color: rgba(255, 255, 255, 0.85);
}

.yc-sea-band h2 {
	color: var(--wp--preset--color--wit);
}

.yc-sea-band .wp-block-cover__inner-container {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

/* Mission on pink: warm white text and button */
.yc-mission .yc-big-quote p {
	color: var(--wp--preset--color--warm-wit);
}

.yc-mission .wp-block-button__link {
	background: var(--wp--preset--color--warm-wit);
	color: var(--wp--preset--color--diepblauw);
}

.yc-mission .wp-block-button__link:hover {
	background: var(--wp--preset--color--wit);
	color: var(--wp--preset--color--diepblauw);
}

@media (max-width: 781px) {
	.yc-stats.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.yc-hero-sky .yc-arch.wp-block-cover {
		max-width: 320px;
		margin-inline: auto;
	}

	.yc-story-photo.wp-block-cover {
		min-height: 420px !important;
	}
}

/* Photo hero runs up behind the floating header bar. */
:root {
	--yc-head-space: 92px;
}

body:has(.wp-block-post-content > .yc-hero-sky:first-child) header.wp-block-template-part,
body:has(.wp-block-post-content > .yc-hero-top:first-child) header.wp-block-template-part {
	margin-bottom: calc(-1 * var(--yc-head-space));
}

.wp-block-post-content > .yc-hero-top:first-child {
	padding-top: calc(var(--yc-head-space) + var(--wp--preset--spacing--50)) !important;
}

.wp-block-post-content > .yc-hero-sky:first-child {
	padding-top: calc(var(--yc-head-space) + clamp(32px, 5vw, 72px)) !important;
}

@media (max-width: 781px) {
	:root {
		--yc-head-space: 86px;
	}
}

/* Sea band: keep the button clear of the next section's wave. */
.yc-sea-band.wp-block-cover {
	padding-top: calc(var(--yc-wave-h, 56px) + 48px) !important;
	padding-bottom: calc(var(--yc-wave-h, 56px) + 64px) !important;
}

/* Lighter blue hero: keep secondary text readable. */
.yc-hero-top .yc-lead,
.yc-hero-top .yc-eyebrow {
	color: rgba(255, 255, 255, 0.9);
}

/* Retreat: interest card with the sea as background. */
.yc-sea-card.wp-block-cover {
	min-height: 0;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(31, 42, 54, 0.2);
}

.yc-sea-card .wp-block-cover__inner-container {
	width: 100%;
}

/* Bedrijven: closing request band on the sky photo. */
.yc-sky-band.wp-block-cover {
	color: var(--wp--preset--color--wit);
	padding-top: calc(var(--yc-wave-h, 56px) + 72px) !important;
	padding-bottom: calc(var(--yc-wave-h, 56px) + 72px) !important;
}

.yc-sky-band .wp-block-cover__inner-container {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

.yc-sky-band h2 {
	color: var(--wp--preset--color--wit);
}

.yc-sky-band .yc-lead,
.yc-sky-band .yc-note {
	color: rgba(255, 255, 255, 0.92);
}

/* Stofblauw section (Bedrijven > Yoga @ Work): keep everything readable. */
.yc-dark.has-stofblauw-background-color .yc-eyebrow {
	color: var(--wp--preset--color--roze);
}

.yc-dark.has-stofblauw-background-color > * > .yc-muted,
.yc-dark.has-stofblauw-background-color .wp-block-column > .yc-muted,
.yc-dark.has-stofblauw-background-color .yc-note {
	color: rgba(255, 255, 255, 0.85);
}

.yc-dark.has-stofblauw-background-color .yc-info-row > p:first-child {
	color: rgba(255, 255, 255, 0.75);
}

.yc-dark.has-stofblauw-background-color .yc-info,
.yc-dark.has-stofblauw-background-color .yc-info-row {
	border-color: rgba(255, 255, 255, 0.22);
}

/* White cards inside keep dark text. */
.yc-dark .has-wit-background-color {
	color: var(--wp--preset--color--inkt);
}

.yc-dark .has-wit-background-color .yc-step-title {
	color: var(--wp--preset--color--diepblauw);
}

.yc-dark .has-wit-background-color .yc-muted {
	color: var(--wp--preset--color--grijs);
}

/* Blue card on a blue section: use the deep blue. */
.yc-dark.has-stofblauw-background-color .has-stofblauw-background-color {
	background-color: var(--wp--preset--color--diepblauw) !important;
}

/* Over mij: photo on top of each column. */
.yc-col-photo.wp-block-cover {
	margin-bottom: 28px !important;
	box-shadow: var(--yc-shadow);
}

/* ---------- Newsletter pop-up ---------- */
.yc-popup {
	width: min(760px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: 24px;
	background: var(--wp--preset--color--warm-wit);
	color: var(--wp--preset--color--inkt);
	box-shadow: 0 30px 80px rgba(31, 42, 54, 0.35);
	overflow: hidden;
}

.yc-popup[open] {
	display: grid;
	grid-template-columns: 38% 1fr;
	animation: yc-popup-in 0.35s ease-out;
}

.yc-popup::backdrop {
	background: rgba(31, 42, 54, 0.45);
	backdrop-filter: blur(2px);
}

@keyframes yc-popup-in {
	from { opacity: 0; transform: translateY(16px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

.yc-popup-media {
	background-size: cover;
	background-position: 50% 60%;
	min-height: 220px;
}

.yc-popup-body {
	padding: clamp(28px, 4vw, 44px);
	overflow-y: auto;
}

.yc-popup-close {
	position: absolute;
	z-index: 2;
	top: 12px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--diepblauw);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.yc-popup-close:hover,
.yc-popup-close:focus-visible {
	background: var(--wp--preset--color--mistblauw);
}

.yc-popup h2 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin: 8px 0 12px;
	color: var(--wp--preset--color--diepblauw);
}

.yc-popup h2 em {
	color: var(--wp--preset--color--stofblauw);
}

.yc-popup-intro {
	margin: 0 0 20px;
	color: #3F4B58;
}

.yc-popup-form label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 6px;
}

.yc-popup-form input[type="text"],
.yc-popup-form input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.8rem 1rem;
	margin-bottom: 14px;
	border: 1px solid #D9D2CC;
	border-radius: 12px;
	background: var(--wp--preset--color--wit);
	font: inherit;
}

.yc-popup-form input:focus-visible {
	outline: 2px solid var(--wp--preset--color--stofblauw);
	outline-offset: 1px;
}

.yc-popup-form input[aria-invalid="true"] {
	border-color: var(--wp--preset--color--roze-donker);
}

.yc-popup-form .wp-element-button {
	width: 100%;
	margin-top: 4px;
	background: var(--wp--preset--color--roze);
	color: var(--wp--preset--color--diepblauw);
	border: 0;
	border-radius: 999px;
	padding: 0.9rem 1.5rem;
	font-weight: 600;
	cursor: pointer;
}

.yc-popup-form .wp-element-button:hover {
	background: var(--wp--preset--color--diepblauw);
	color: var(--wp--preset--color--wit);
}

.yc-popup-error {
	color: var(--wp--preset--color--roze-donker);
	font-size: 0.9375rem;
	margin: 0 0 10px;
}

.yc-popup-small {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--grijs);
	text-align: center;
	margin: 12px 0 0;
}

.yc-popup-success {
	padding-top: 24px;
}

@media (max-width: 640px) {
	.yc-popup[open] {
		grid-template-columns: 1fr;
		grid-template-rows: 120px 1fr;
	}

	.yc-popup-media {
		min-height: 120px;
	}

	.yc-popup-close {
		background: rgba(255, 255, 255, 0.85);
	}
}

/* Anchor links land below the sticky header bar. */
[id] {
	scroll-margin-top: 110px;
}

/* ---------- Kit forms in the site's style ---------- */
/* Kit adds its own inline styles, so these rules use !important. */
.yc-kit-form .formkit-form {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: inherit !important;
}

.yc-kit-form .formkit-form [data-style] {
	padding: 0 !important;
}

/* Our own heading and text sit around the form, so Kit's header, image and background go. */
.yc-kit-form .formkit-header,
.yc-kit-form .formkit-subheader,
.yc-kit-form .formkit-image,
.yc-kit-form .formkit-background {
	display: none !important;
}

.yc-kit-form .formkit-fields {
	display: flex !important;
	flex-direction: column;
	gap: 14px;
	margin: 0 !important;
}

.yc-kit-form .formkit-field,
.yc-kit-form .formkit-submit {
	margin: 0 !important;
	flex: 0 0 auto !important;
}

.yc-kit-form .formkit-input {
	width: 100% !important;
	box-sizing: border-box;
	padding: 0.8rem 1rem !important;
	border: 1px solid #D9D2CC !important;
	border-radius: 12px !important;
	background: var(--wp--preset--color--wit) !important;
	color: var(--wp--preset--color--inkt) !important;
	font: inherit !important;
	font-size: 1rem !important;
}

.yc-kit-form .formkit-input::placeholder {
	color: #6B7683 !important;
}

.yc-kit-form .formkit-input:focus {
	outline: 2px solid var(--wp--preset--color--stofblauw) !important;
	outline-offset: 1px;
	border-color: transparent !important;
}

.yc-kit-form .formkit-submit {
	width: 100%;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--wp--preset--color--roze) !important;
	color: var(--wp--preset--color--diepblauw) !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.yc-kit-form .formkit-submit > span {
	display: block;
	padding: 0.9rem 1.5rem !important;
}

.yc-kit-form .formkit-submit:hover {
	background: var(--wp--preset--color--diepblauw) !important;
	color: var(--wp--preset--color--wit) !important;
}

.yc-kit-form .formkit-submit:hover > span {
	background: transparent !important;
}

.yc-kit-form .formkit-guarantee,
.yc-kit-form .formkit-disclaimer {
	margin-top: 12px !important;
	font-size: 0.8125rem !important;
	color: var(--wp--preset--color--grijs) !important;
	text-align: center;
}

.yc-kit-form .formkit-alert {
	margin: 0 0 12px !important;
	padding: 12px 16px !important;
	border-radius: 12px !important;
	list-style: none;
	font-size: 0.9375rem !important;
}

.yc-kit-form .formkit-alert-error {
	background: #F6E3E3 !important;
	border-color: transparent !important;
	color: var(--wp--preset--color--roze-donker) !important;
}

.yc-kit-form .formkit-alert-success {
	background: var(--wp--preset--color--mistblauw) !important;
	border-color: transparent !important;
	color: var(--wp--preset--color--diepblauw) !important;
}

/* Newsletter banner: field and button on one line, like before. */
.yc-kit-inline .formkit-fields {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
}

.yc-kit-inline .formkit-field {
	flex: 1 1 220px !important;
}

.yc-kit-inline .formkit-input {
	min-height: 52px;
	padding: 0 22px !important;
	border-color: rgba(31, 42, 54, 0.18) !important;
	border-radius: 999px !important;
}

.yc-kit-inline .formkit-submit {
	width: auto;
	min-height: 52px;
	background: var(--wp--preset--color--diepblauw) !important;
	color: var(--wp--preset--color--wit) !important;
}

.yc-kit-inline .formkit-submit:hover {
	background: var(--wp--preset--color--inkt) !important;
}

/* Popup: the small note below the Kit form. */
.yc-popup .yc-kit-form + .yc-popup-small {
	margin-top: 12px;
}

.yc-kit-form .formkit-alert:empty {
	display: none !important;
}

.yc-kit-inline .formkit-field {
	flex: 1 1 150px !important;
}

.yc-kit-inline .formkit-submit {
	flex: 1 0 auto !important;
}
