/*
 * Base: design tokens, page defaults, typography, prose, forms.
 * Compleet Trouwen door Christa.
 */

:root {
	--ct-ink: #40383a;
	--ct-ink-soft: #6e6467;
	--ct-rose: #916674;
	--ct-rose-dark: #79515e;
	--ct-rose-line: #aa8590;
	--ct-paper: #faf7f5;
	--ct-tint: #f2e8e8;
	--ct-line: #dfd2d5;
	--ct-step-line: #d9c4ca;
	--ct-white: #fff;
	--ct-font-heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--ct-font-body: Arial, Helvetica, sans-serif;
	--ct-font-serif: Georgia, "Times New Roman", serif;
	--ct-font-script: "Dancing Script", cursive;
	--ct-wrap: min(1180px, calc(100% - 80px));
	--ct-section-pad: 100px;
	--ct-admin-bar: 0px;
	/* Height of the header over a hero; follows the logo size in header.css. */
	--ct-header-h: 157px;
}

.admin-bar {
	--ct-admin-bar: 32px;
}

@media (max-width: 1000px) {
	:root {
		--ct-wrap: calc(100% - 48px);
		--ct-section-pad: 75px;
	}
}

@media (max-width: 991px) {
	:root {
		--ct-header-h: 115px;
	}
}

@media (max-width: 782px) {
	.admin-bar {
		--ct-admin-bar: 46px;
	}
}

@media (max-width: 700px) {
	:root {
		--ct-wrap: calc(100% - 40px);
		--ct-section-pad: 62px;
	}
}

/* ---------- Page ---------- */

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body.ctdc-theme {
	margin: 0;
	background: var(--ct-paper);
	color: var(--ct-ink);
	font-family: var(--ct-font-heading);
	font-size: 15px;
	line-height: 1.6;
	overflow-x: clip;
}

body.ctdc-theme *,
body.ctdc-theme *::before,
body.ctdc-theme *::after {
	box-sizing: border-box;
}

body.ctdc-theme img,
body.ctdc-theme video {
	max-width: 100%;
	height: auto;
}

body.ctdc-theme a {
	color: inherit;
}

body.ctdc-theme a:focus-visible,
body.ctdc-theme button:focus-visible,
body.ctdc-theme summary:focus-visible,
body.ctdc-theme input:focus-visible,
body.ctdc-theme select:focus-visible,
body.ctdc-theme textarea:focus-visible,
body.ctdc-theme [tabindex]:focus-visible {
	outline: 3px solid var(--ct-rose);
	outline-offset: 4px;
}

/* ---------- Content area (homepage design system) ---------- */

.ct-site {
	display: block;
	color: var(--ct-ink);
	background: var(--ct-paper);
	font-family: var(--ct-font-body);
	font-size: 17px;
	line-height: 1.75;
	overflow-x: clip;
}

.ct-site h1,
.ct-site h2,
.ct-site h3,
.ct-site h4 {
	font-family: var(--ct-font-heading);
	font-weight: 400;
	color: var(--ct-ink);
	text-transform: none;
	letter-spacing: -0.035em;
	line-height: 1.12;
	margin: 0 0 24px;
}

.ct-site h1 {
	font-size: clamp(46px, 5.5vw, 80px);
}

.ct-site h2 {
	font-size: clamp(36px, 4vw, 56px);
}

.ct-site h3 {
	font-size: 29px;
	letter-spacing: -0.02em;
}

.ct-site h4 {
	font-size: 21px;
	letter-spacing: -0.01em;
}

.ct-site p {
	margin: 0 0 24px;
}

.ct-site img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.ct-site blockquote {
	border: 0;
	padding: 0;
	margin: 0 0 25px;
	font-style: normal;
	quotes: none;
}

.ct-site cite {
	font-style: normal;
}

.ct-wrap {
	width: var(--ct-wrap);
	margin-left: auto;
	margin-right: auto;
}

.ct-eyebrow {
	display: block;
	font-family: var(--ct-font-body);
	font-size: 11px;
	line-height: 1.75;
	letter-spacing: 0.19em;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ct-rose);
	margin-bottom: 22px;
}

/* Plain-HTML buttons and links (theme templates, HTML widgets). */
body.ctdc-theme a.ct-btn,
body.ctdc-theme button.ct-btn,
body.ctdc-theme input.ct-btn,
body.ctdc-theme .ct-search-form .ct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-height: 54px;
	background: var(--ct-rose);
	color: var(--ct-white);
	padding: 13px 28px;
	border: 1px solid var(--ct-rose);
	border-radius: 4px;
	text-decoration: none;
	font-family: var(--ct-font-body);
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s;
}

body.ctdc-theme a.ct-btn:hover,
body.ctdc-theme button.ct-btn:hover,
body.ctdc-theme input.ct-btn:hover {
	background: var(--ct-rose-dark);
	border-color: var(--ct-rose-dark);
	color: var(--ct-white);
	transform: translateY(-2px);
}

a.ct-link {
	display: inline-block;
	text-decoration: none;
	border-bottom: 1px solid var(--ct-rose-line);
	font-size: 14px;
	padding-bottom: 3px;
}

a.ct-link:hover {
	color: var(--ct-rose-dark);
	border-bottom-color: var(--ct-rose-dark);
}

/* ---------- Pages without an Elementor hero ---------- */

.ct-page-header {
	background: var(--ct-tint);
	padding: 70px 0 56px;
}

.ct-page-header .ct-eyebrow {
	color: var(--ct-rose-dark);
}

.ct-page-header .ct-page-title {
	font-size: clamp(36px, 4.4vw, 60px);
	margin-bottom: 12px;
}

.ct-page-header .ct-meta,
.ct-page-header .ct-page-intro {
	color: var(--ct-ink-soft);
	font-size: 15px;
	margin: 0;
}

.ct-section--tight {
	padding: 64px 0;
}

.ct-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 30px;
}

.ct-post-card-image img {
	height: 240px;
	border-radius: 4px;
	margin-bottom: 22px;
}

.ct-post-card-title {
	font-size: 25px !important;
	margin-bottom: 8px !important;
}

.ct-post-card-title a {
	text-decoration: none;
}

.ct-meta {
	font-size: 13px;
	color: var(--ct-ink-soft);
	margin: 0 0 14px;
}

.ct-site .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 48px;
	font-size: 15px;
}

.ct-site .nav-links a,
.ct-site .nav-links .current {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--ct-line);
	border-radius: 4px;
	text-decoration: none;
}

.ct-site .nav-links .current {
	background: var(--ct-rose);
	border-color: var(--ct-rose);
	color: var(--ct-white);
}

@media (max-width: 1000px) {
	.ct-post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 700px) {
	.ct-post-grid {
		grid-template-columns: 1fr;
	}

	.ct-page-header {
		padding: 48px 0 40px;
	}
}

/* ---------- Prose (long text, classic content) ---------- */

.ct-prose {
	max-width: 760px;
}

.ct-prose h2 {
	font-size: 28px;
	letter-spacing: -0.02em;
	margin: 48px 0 14px;
}

.ct-prose h3 {
	font-size: 22px;
	margin: 36px 0 12px;
}

.ct-prose > :first-child,
.ct-prose .elementor-widget-container > :first-child {
	margin-top: 0;
}

.ct-prose ul,
.ct-prose ol {
	padding-left: 1.3em;
	margin: 0 0 24px;
}

.ct-prose li {
	margin: 0 0 8px;
}

.ct-prose li > ol,
.ct-prose li > ul {
	margin: 8px 0 0;
}

.ct-prose a {
	color: var(--ct-rose-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.ct-featured-image img {
	border-radius: 4px;
	margin-bottom: 32px;
}

.ct-article-footer {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--ct-line);
	font-size: 15px;
}

/* WordPress content classes. */
.ct-prose .alignleft {
	float: left;
	margin: 6px 24px 16px 0;
}

.ct-prose .alignright {
	float: right;
	margin: 6px 0 16px 24px;
}

.ct-prose .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.ct-prose .wp-caption,
.ct-prose figure {
	max-width: 100%;
	margin: 0 0 24px;
}

.ct-prose .wp-caption-text,
.ct-prose figcaption {
	font-size: 13px;
	color: var(--ct-ink-soft);
	margin-top: 8px;
}

.ct-prose .gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.ct-post-card.sticky {
	border-top: 3px solid var(--ct-rose);
	padding-top: 16px;
}

.bypostauthor > .comment-body .fn {
	font-weight: 700;
}

.gallery-caption {
	font-size: 13px;
	color: var(--ct-ink-soft);
}

/* ---------- Search form ---------- */

.ct-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0;
	max-width: 520px;
}

.ct-search-field {
	flex: 1 1 220px;
	min-height: 54px;
	padding: 12px 16px;
	border: 1px solid var(--ct-line);
	border-radius: 4px;
	background: var(--ct-white);
	color: var(--ct-ink);
	font: inherit;
}

/* ---------- 404 page ---------- */

.ct-404-hero {
	position: relative;
	padding: 72px 0 88px;
	background:
		radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 42%),
		radial-gradient(circle at 85% 90%, rgba(170, 133, 144, 0.16), rgba(170, 133, 144, 0) 45%),
		var(--ct-tint);
	text-align: center;
	overflow: hidden;
}

.ct-404-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ct-404-code {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.04em;
	margin-bottom: 18px;
	font-family: var(--ct-font-heading) !important;
	font-size: clamp(110px, 19vw, 210px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--ct-rose);
}

.ct-404-rings {
	width: 1.02em;
	height: 0.85em;
	overflow: visible;
}

.ct-404-ring,
.ct-404-ring-gap {
	fill: none;
	stroke-width: 6;
	stroke-linecap: round;
}

.ct-404-ring--left {
	stroke: var(--ct-rose-dark);
}

.ct-404-ring--right {
	stroke: var(--ct-rose-line);
}

/* Paper-coloured halo under the overlapping arc, so the rings interlock. */
.ct-404-ring-gap {
	stroke: var(--ct-tint);
	stroke-width: 11;
	stroke-linecap: butt;
}

.ct-404-diamond {
	fill: var(--ct-white);
	stroke: var(--ct-rose-dark);
	stroke-width: 2;
	stroke-linejoin: round;
}

.ct-404-sparkle {
	fill: var(--ct-rose-line);
	transform-box: fill-box;
	transform-origin: center;
}

.ct-404-oops {
	position: absolute;
	right: -0.3em;
	top: 0.02em;
	font-family: var(--ct-font-script) !important;
	font-size: 0.24em;
	letter-spacing: 0;
	color: var(--ct-rose-dark);
	transform: rotate(-10deg);
}

.ct-404 .ct-404-title {
	max-width: 15em;
	font-size: clamp(34px, 4.6vw, 60px) !important;
	margin-bottom: 18px;
}

.ct-404 .ct-404-intro {
	max-width: 34em;
	margin: 0 0 32px;
	color: var(--ct-ink-soft);
}

.ct-404-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 28px;
}

.ct-404 .ct-search-form {
	width: 100%;
	margin: 40px auto 0;
}

.ct-404-suggest {
	padding: 72px 0 var(--ct-section-pad);
}

.ct-404 .ct-404-suggest-title {
	font-size: clamp(28px, 3vw, 38px) !important;
	text-align: center;
	margin-bottom: 36px;
}

.ct-404-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ct-404-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding: 30px 30px 56px;
	border: 1px solid var(--ct-line);
	border-radius: 4px;
	background: var(--ct-white);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ct-404-card:hover {
	border-color: var(--ct-rose-line);
	box-shadow: 0 14px 34px rgba(64, 56, 58, 0.08);
	transform: translateY(-3px);
}

.ct-404-card-title {
	font-family: var(--ct-font-heading);
	font-size: 22px;
	letter-spacing: -0.02em;
	color: var(--ct-ink);
}

.ct-404-card-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ct-ink-soft);
}

.ct-404-card-arrow {
	position: absolute;
	left: 30px;
	bottom: 22px;
	color: var(--ct-rose);
	transition: transform 0.2s;
}

.ct-404-card:hover .ct-404-card-arrow {
	transform: translateX(6px);
}

@media (max-width: 860px) {
	.ct-404-cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.ct-404-hero {
		padding: 48px 0 64px;
	}

	.ct-404-oops {
		right: -0.1em;
		top: -0.1em;
	}
}

/* ---------- Comments ---------- */

.ct-comments {
	margin-top: 64px;
}

.ct-comments-title {
	font-size: 28px !important;
}

.ct-comment-list {
	list-style: none;
	padding: 0;
}

.ct-comment-list .comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--ct-line);
}

.ct-comments input:not([type="submit"]):not([type="checkbox"]),
.ct-comments textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--ct-line);
	border-radius: 4px;
	background: var(--ct-white);
	font: inherit;
}

/* ---------- Contact Form 7 ---------- */

.ct-site .wpcf7 {
	font-family: var(--ct-font-body);
}

.ct-site .wpcf7 p {
	margin: 0 0 18px;
}

.ct-site .wpcf7 label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--ct-ink);
}

.ct-site .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.ct-site .wpcf7 select,
.ct-site .wpcf7 textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 13px 16px;
	border: 1px solid var(--ct-line);
	border-radius: 4px;
	background: var(--ct-white);
	color: var(--ct-ink);
	font-size: 16px;
	line-height: 1.5;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-site .wpcf7 textarea {
	min-height: 160px;
	resize: vertical;
}

.ct-site .wpcf7 input:focus,
.ct-site .wpcf7 textarea:focus,
.ct-site .wpcf7 select:focus {
	border-color: var(--ct-rose);
	box-shadow: 0 0 0 3px rgba(145, 102, 116, 0.18);
	outline: 0;
}

.ct-site .wpcf7 input[type="submit"] {
	min-height: 54px;
	padding: 13px 28px;
	border: 1px solid var(--ct-rose);
	border-radius: 4px;
	background: var(--ct-rose);
	color: var(--ct-white);
	font-family: var(--ct-font-body) !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s;
}

.ct-site .wpcf7 input[type="submit"]:hover {
	background: var(--ct-rose-dark);
	border-color: var(--ct-rose-dark);
	transform: translateY(-2px);
}

.ct-site .wpcf7-not-valid-tip {
	font-size: 13px;
	color: #a4262c;
	margin-top: 6px;
}

.ct-site .wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 15px;
}

.ct-site .wpcf7-spinner {
	vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
	body.ctdc-theme *,
	body.ctdc-theme *::before,
	body.ctdc-theme *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
