/* Components: buttons, titles, boxes, cards, forms, icons. Values measured on the live site. */

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

.tch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 40px;
	border: 1px solid var(--tch-olive);
	border-radius: 99px;
	background: var(--tch-mist);
	color: var(--tch-olive);
	font-family: var(--tch-font-body);
	font-size: var(--tch-fs-accent);
	font-weight: 400;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.tch-btn:hover,
.tch-btn:focus-visible {
	color: var(--tch-olive-text);
}

/* Card buttons ("Bekijken", "Meer lezen"). */
.tch-btn--card {
	border: 1.2px solid var(--tch-olive-text);
}

/* Activity cards. */
.tch-btn--small {
	padding: 12px 16px;
	border: 1.2px solid var(--tch-accent);
	box-shadow: 0 5px 20px 0 rgba(196, 197, 186, .2);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

/* On the dark green band. */
.tch-btn--on-dark {
	padding: 16px 32px;
	border-color: var(--tch-cream);
	background: var(--tch-olive-text);
	box-shadow: 0 9px 20px 0 rgba(0, 0, 0, .1);
	color: var(--tch-cream);
}

.tch-btn--on-dark:hover,
.tch-btn--on-dark:focus-visible {
	color: var(--tch-mist);
}

.tch-btn--social {
	padding: 16px 32px;
}

/* Thinner outline (activities, "Terug naar Startpagina"). */
.tch-btn--thin {
	border-width: .8px;
}

.tch-btn .tch-ico {
	width: 16px;
	height: 16px;
}

@media (max-width: 767px) {
	.tch-btn--card {
		padding-inline: 24px;
	}
}

/* ---------- Titles ---------- */

.tch-title {
	margin: 0;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-title);
	font-weight: 600;
	line-height: 1;
}

.tch-title--dark {
	color: var(--tch-green-950);
}

.tch-display {
	margin: 0;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-display);
	font-weight: 600;
	line-height: 1;
	text-align: center;
}

.tch-subtitle {
	width: 50%;
	margin: 0;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-sub);
	font-weight: 500;
	line-height: 1;
}

.tch-subtitle--center {
	margin-inline: auto;
	text-align: center;
}

.tch-eyebrow {
	margin: 0;
	color: var(--tch-green-600);
	font-size: var(--tch-fs-accent);
	line-height: 1;
	text-transform: uppercase;
}

.tch-rule {
	width: 100%;
	height: 0;
	margin: 15px 0;
	border: 0;
	border-top: 1px solid var(--tch-olive-text);
}

@media (max-width: 767px) {
	.tch-display {
		line-height: 1.1;
	}

	.tch-subtitle--center {
		width: 100%;
		padding-inline: 8%;
	}
}

/* ---------- Dashed boxes (bio, newsletter, partners) ---------- */

.tch-dashed-box {
	border: 4px dashed var(--tch-olive);
	border-radius: 16px;
	background: var(--tch-sand);
}

.tch-feature {
	display: flex;
	gap: 20px;
	min-height: 52vh;
}

.tch-feature__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	min-width: 0;
	padding: 10px;
}

.tch-feature__text {
	color: var(--tch-olive-text);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.tch-feature__text p {
	margin: 0;
}

@media (max-width: 767px) {
	.tch-feature {
		flex-direction: column;
		gap: 20px;
	}

	.tch-feature__body {
		padding: 24px 24px 48px;
	}
}

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

.tch-search {
	display: flex;
	flex: 0 1 550px;
	height: 50px;
	overflow: hidden;
	border: 1px solid var(--tch-olive-text);
	border-radius: 20px;
	background: #FCFCFC;
}

.tch-search__input {
	flex: 1;
	min-width: 0;
	padding: 0 16.6667px;
	border: 0;
	background: transparent;
	color: var(--tch-olive);
	font: inherit;
	font-size: var(--tch-fs-body);
}

.tch-search__input:focus {
	outline: none;
}

.tch-search:focus-within {
	outline: 2px solid var(--tch-green-700);
	outline-offset: 2px;
}

.tch-search__submit {
	flex: none;
	min-width: 175px;
	padding: 0 16.6667px;
	border: 0;
	border-left: 1px solid #4B5828;
	border-radius: 0;
	background: var(--tch-mist);
	color: var(--tch-olive);
	font: inherit;
	font-size: var(--tch-fs-body);
	cursor: pointer;
}

.tch-search__submit:hover {
	color: var(--tch-olive-text);
}

@media (max-width: 1024px) {
	.tch-search__submit {
		min-width: 30%;
	}
}

@media (max-width: 767px) {
	.tch-search {
		flex: none;
		width: 100%;
	}
}

/* ---------- Newsletter forms ---------- */

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

.tch-newsletter__row {
	display: flex;
}

/* After sending, the page jumps to the form: keep it clear of the sticky header. */
.tch-newsletter,
.tch-contact-form {
	scroll-margin-top: 170px;
}

.tch-newsletter__input,
.tch-newsletter__submit {
	font: inherit;
}

/* Home: input and button joined in one row. */
.tch-newsletter--joined .tch-newsletter__input {
	width: 50%;
	height: 47px;
	padding: 6px 16px;
	border: 1px solid var(--tch-olive);
	border-radius: 16px 0 0 16px;
	background: var(--tch-cream);
	color: var(--tch-olive-text);
	font-size: var(--tch-fs-body);
}

.tch-newsletter--joined .tch-newsletter__submit {
	height: 47px;
	padding: 0 24px;
	border: 1px solid var(--tch-olive);
	border-left: 0;
	border-radius: 0 16px 16px 0;
	background: var(--tch-mist);
	color: var(--tch-olive);
	font-size: var(--tch-fs-accent);
	line-height: 1;
	cursor: pointer;
}

/* Footer: white pill input with the button underneath. */
.tch-newsletter--stacked .tch-newsletter__row {
	flex-direction: column;
	align-items: flex-start;
	gap: 26px;
}

.tch-newsletter--stacked .tch-newsletter__input {
	width: 100%;
	height: 47px;
	padding: 6px 16px;
	border: 0;
	border-radius: 99px;
	background: var(--tch-white);
	color: #324A6D;
	font-size: var(--tch-fs-body);
}

.tch-newsletter--stacked .tch-newsletter__submit {
	padding: 16px 40px;
	border: 1px solid var(--tch-cream);
	border-radius: 99px;
	background: var(--tch-green-900);
	color: var(--tch-cream);
	font-size: var(--tch-fs-accent);
	line-height: 1;
	cursor: pointer;
}

.tch-newsletter__submit:hover {
	color: var(--tch-olive-text);
}

.tch-newsletter--stacked .tch-newsletter__submit:hover {
	color: var(--tch-accent);
}

.tch-newsletter__input:focus-visible {
	outline: 2px solid var(--tch-green-700);
	outline-offset: 2px;
}

.tch-form-msg {
	margin: 12px 0 0;
	padding: 10px 16px;
	border-radius: 12px;
	font-size: 14px;
}

.tch-form-msg--ok {
	background: #e8f3d6;
	color: var(--tch-green-900);
}

.tch-form-msg--error {
	background: #fbe7dc;
	color: #7a2e0e;
}

/* Phone: the home form stacks, the footer button spans the column (as live). */
@media (max-width: 767px) {
	.tch-newsletter--joined .tch-newsletter__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.tch-newsletter--joined .tch-newsletter__input {
		width: 100%;
		border-radius: 16px;
	}

	.tch-newsletter--joined .tch-newsletter__submit {
		border-left: 1px solid var(--tch-olive);
		border-radius: 16px;
	}

	.tch-newsletter--stacked .tch-newsletter__submit {
		width: 100%;
	}
}

/* ---------- Organic badge ---------- */

.tch-bio p {
	margin: 0;
}

.tch-bio--box {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--tch-olive-text);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
	text-align: center;
}

.tch-bio--box .tch-bio__label {
	margin-bottom: 20px;
	color: var(--tch-green-600);
	font-size: var(--tch-fs-accent);
	line-height: 1;
	text-transform: uppercase;
}

.tch-bio--box .tch-bio__logo {
	width: 210px;
	height: auto;
	margin-bottom: 20px;
}

.tch-bio--footer {
	margin-top: 25px;
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.tch-bio--footer .tch-bio__logo {
	display: block;
	width: 75%;
	height: auto;
}

/* ---------- Social icons (footer) ---------- */

.tch-social {
	display: flex;
	gap: 17px;
}

.tch-social__link {
	display: inline-flex;
	color: var(--tch-mist);
}

.tch-social__link .pencil-button__text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.tch-social__link .tch-ico {
	width: 23px;
	height: 23px;
}

@media (max-width: 1024px) {
	.tch-social__link .tch-ico {
		width: 18px;
		height: 18px;
	}
}

/* ---------- "Volg ons" block ---------- */

.tch-social-cta {
	padding-block: 10px;
}

.tch-social-cta__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-block: 180px 120px;
	padding: 10px;
	text-align: center;
}

.tch-social-cta__title {
	margin: 0;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-h4);
	font-weight: 600;
	line-height: 1;
}

.tch-social-cta__sub {
	margin: 0;
	color: var(--tch-olive-text);
	font-size: 16px;
	line-height: 24px;
}

.tch-social-cta__actions {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 12px;
	padding: 10px;
}

/* As on the live thank-you page and news posts: full page width, no outer
   padding, and its margins stay inside it (flow-root) so they add up with
   the margin of the block above instead of collapsing. */
.tch-social-cta.tch-social-cta--bare {
	display: flow-root;
	padding: 0;
}

.tch-social-cta--bare .tch-social-cta__inner.tch-container {
	width: auto;
}

@media (max-width: 1024px) {
	.tch-social-cta__title {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	.tch-social-cta__inner {
		margin-block: 120px 80px;
	}

	.tch-social-cta {
		padding-inline: 10px;
	}

	.tch-social-cta__title {
		font-size: 18px;
	}

	.tch-social-cta__actions {
		gap: 10px;
		padding: 0;
	}

	.tch-btn--social {
		padding: 16px 28px 16px 32px;
	}
}

/* ---------- News card ---------- */

.tch-news-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	border: 2.8px solid var(--tch-accent);
	border-radius: 24px;
	background: var(--tch-mist);
}

.tch-news-card__media {
	display: block;
	height: 200px;
	overflow: hidden;
	border-radius: 21px 21px 0 0;
}

.tch-news-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tch-news-card__region {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tch-news-card__date {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	margin: 8px 16px 0 0;
	padding-inline: 8px;
	color: var(--tch-olive);
	font-size: var(--tch-fs-accent);
	line-height: 1.5;
	text-transform: lowercase;
}

.tch-news-card__date .tch-icon {
	width: 16px;
	height: 18px;
}

.tch-news-card__title {
	margin: 0;
	padding-inline: 16px;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-h6);
	font-weight: 500;
	line-height: 1;
	text-align: center;
}

.tch-news-card__excerpt {
	margin: 0;
	padding-inline: 16px;
	color: #333;
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.tch-news-card__action {
	margin: 0;
	padding: 16px 0 24px;
	text-align: center;
}

/* ---------- Carousel (news) ---------- */

.tch-carousel {
	position: relative;
}

.tch-carousel__track {
	position: relative; /* keeps hidden helper text of off-screen cards inside the track */
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.tch-carousel__track::-webkit-scrollbar {
	display: none;
}

.tch-carousel__slide {
	flex: 0 0 calc((100% - 30px) / 4);
	min-width: 0;
	scroll-snap-align: start;
}

.tch-carousel__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(68, 79, 36, .55);
	transform: translateY(-50%);
	cursor: pointer;
}

.tch-carousel__arrow:hover {
	color: var(--tch-olive);
}

.tch-carousel__arrow[disabled] {
	opacity: .25;
	cursor: default;
}

.tch-carousel__arrow .tch-icon {
	width: 25px;
	height: 25px;
	stroke-width: 2.2;
}

.tch-carousel__arrow--prev {
	left: 0;
}

.tch-carousel__arrow--next {
	right: 0;
}

@media (max-width: 1024px) {
	.tch-carousel__slide {
		flex-basis: calc((100% - 10px) / 2);
	}
}

@media (max-width: 767px) {
	.tch-carousel__slide {
		flex-basis: 100%;
	}
}

/* ---------- Activity card + staggered grid ---------- */

.tch-masonry {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 18px;
}

/* main.js sorts the cards into columns, like the live site's staggered grid. */
.tch-masonry.is-ready {
	display: flex;
}

.tch-masonry__col {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.tch-activity-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	border: 2.8px solid var(--tch-accent);
	border-radius: 12px;
	background: var(--tch-mist);
	text-align: center;
}

.tch-activity-card__region {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tch-activity-card__title {
	margin: 0;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-h7);
	font-weight: 500;
	line-height: 1;
}

.tch-activity-card__text {
	margin: 0;
	color: var(--tch-olive);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.tch-activity-card__action {
	margin: 12px 0 0;
}

@media (max-width: 1024px) {
	.tch-masonry {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.tch-masonry {
		grid-template-columns: minmax(0, 1fr);
	}

	.tch-activity-card {
		padding-inline: 46px;
	}
}

/* ---------- CSS-mask icons (inside Pencilino buttons) ---------- */

.tch-ico {
	display: inline-block;
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--tch-ico) center / contain no-repeat;
	mask: var(--tch-ico) center / contain no-repeat;
}

.tch-ico--mail { --tch-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9l5 3.5L17 9'/%3E%3Cpath d='M2 17V7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.tch-ico--phone { --tch-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.1182 14.702L14 15.5C11.2183 14.1038 9.5 12.5 8.5 10L9.26995 5.8699L7.81452 2L4.0636 2C2.93605 2 2.04814 2.93178 2.21654 4.04668C2.63695 6.83 3.87653 11.8765 7.5 15.5C11.3052 19.3052 16.7857 20.9564 19.802 21.6127C20.9668 21.8662 22 20.9575 22 19.7655L22 16.1812L18.1182 14.702Z'/%3E%3C/svg%3E"); }
.tch-ico--shop { --tch-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v9a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9'/%3E%3Cpath d='M14.8 21v-6a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v6'/%3E%3Cpath d='M2.2 9.4 3.900 3.400A.6.6 0 0 1 4.500 3h15a.6.6 0 0 1 .6.4l1.700 6c.1.300-.1.700-.5.700-1.700.2-3.900.2-5.300-.9-1.400 1.100-2.600 1.100-4 0-1.400 1.100-2.600 1.100-4 0-1.400 1.100-3.600 1.100-5.300.9-.4 0-.6-.4-.5-.7z'/%3E%3Cpath d='M8.500 3 8 8.700M15.500 3l.5 5.700'/%3E%3C/svg%3E"); }
.tch-ico--map { --tch-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 19l-5.21 1.74A.6.6 0 0 1 3 20.17V5.43a.6.6 0 0 1 .41-.57L9 3m0 16 6 2m-6-2V3m6 18 5.59-1.86a.6.6 0 0 0 .41-.57V3.83a.6.6 0 0 0-.79-.57L15 5m0 16V5m0 0L9 3'/%3E%3C/svg%3E"); }
.tch-ico--facebook { --tch-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279.14 288l14.22-92.660h-88.910v-60.130c0-25.350 12.420-50.060 52.240-50.060h40.420V6.260S260.430 0 225.360 0c-73.220 0-121.080 44.380-121.080 124.720v70.620H22.890V288h81.390v224h100.170V288z'/%3E%3C/svg%3E"); }
.tch-ico--instagram { --tch-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.500' y='2.500' width='19' height='19' rx='5.500'/%3E%3Ccircle cx='12' cy='12' r='4.300'/%3E%3Ccircle cx='17.600' cy='6.400' r='.6' fill='%23000'/%3E%3C/svg%3E"); }
