/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* ==========================================================================
   Mobility Switch
   Colours, typography, header, buttons and layout are configured in
   Uncode > Theme Options. This file only holds the webfonts and a few
   small components that have no native Uncode option.
   Palette: gold #deae4d · red #cb4653 · teal #468a99 · navy #293966
   ========================================================================== */

/* Webfonts — font stack "Avenir" in Theme Options > Typography.
   300 Book · 400 Roman (body) · 500 Medium (menu, buttons) · 900 Black (headings) */
@font-face {
	font-family: 'Avenir Web';
	src: url('fonts/avenir-book-webfont.woff2') format('woff2'),
	     url('fonts/avenir-book-webfont.woff') format('woff');
	font-weight: 100 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Avenir Web';
	src: url('fonts/avenir-roman-webfont.woff2') format('woff2'),
	     url('fonts/avenir-roman-webfont.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Avenir Web';
	src: url('fonts/avenir-medium-webfont.woff2') format('woff2'),
	     url('fonts/avenir-medium-webfont.woff') format('woff');
	font-weight: 500 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Avenir Web';
	src: url('fonts/avenir-black-webfont.woff2') format('woff2'),
	     url('fonts/avenir-black-webfont.woff') format('woff');
	font-weight: 700 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--ms-gold: #deae4d;
	--ms-red: #cb4653;
	--ms-teal: #468a99;
	--ms-navy: #293966;
	--ms-slate: #636e8b;
	--ms-radius: 25px;
	--ms-radius-lg: 40px;
}

/* --------------------------------------------------------------------------
   Rounded rows (hero, CTA, subpage headers)
   Add class "ms-rounded" or "ms-rounded-bottom" to a Row (Extra > Extra class)
   -------------------------------------------------------------------------- */
.ms-rounded-bottom,
.ms-rounded-bottom > .row-background {
	border-radius: 0 0 var(--ms-radius-lg) var(--ms-radius-lg);
	overflow: hidden;
}
.ms-rounded,
.ms-rounded > .row-background {
	border-radius: var(--ms-radius-lg);
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Colour bar (4 brand colours) — Empty Space element with class "ms-color-bar"
   -------------------------------------------------------------------------- */
.ms-color-bar {
	width: 184px;
	height: 5px !important;
	background: linear-gradient(90deg, var(--ms-gold) 0 25%, var(--ms-red) 25% 50%, var(--ms-teal) 50% 75%, var(--ms-navy) 75% 100%);
}

/* --------------------------------------------------------------------------
   Buttons — "ms-btn-arrow" adds the gold circle with a diagonal arrow
   -------------------------------------------------------------------------- */
.btn.ms-btn-arrow,
.ms-btn-arrow .btn {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}
.btn.ms-btn-arrow::after,
.ms-btn-arrow .btn::after {
	content: '';
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ms-gold) url('icons/arrow-button.svg') no-repeat center / 7px 7px;
	transition: transform .2s ease;
}
.btn.ms-btn-arrow:hover::after,
.ms-btn-arrow .btn:hover::after {
	transform: rotate(45deg);
}
/* Uncode gives palette buttons white text; the white button needs dark text */
.btn.btn-color-xsdn:not(.btn-outline) {
	color: #000 !important;
}
/* Proportions from the design: 56px high pills with a 34px arrow circle */
.btn.ms-btn-arrow {
	padding: 11px 14px 11px 23px !important;
	border-width: 0 !important;
	line-height: 34px;
}
.btn.ms-btn-outline {
	padding: 16px 30px !important;
	line-height: 22px;
}
/* Outline button keeps a transparent fill on hover (Uncode fills it white) */
.btn.btn-color-xsdn.btn-outline.ms-btn-outline:not(.btn-hover-nobg):hover,
.btn.btn-color-xsdn.btn-outline.ms-btn-outline:not(.btn-hover-nobg):focus {
	background-color: rgba(255, 255, 255, .12) !important;
	border-color: #fff !important;
	color: #fff !important;
}

/* Header call-to-action menu item: white pill with the gold arrow circle */
.navbar-cta .menu-item-button .menu-btn-container.btn {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	background: #fff !important;
	border: 0 !important;
	color: #000 !important;
	border-radius: 100px;
	padding: 11px 14px 11px 25px !important;
	font-size: 17px !important;
	line-height: 34px !important;
	letter-spacing: 0 !important;
	text-transform: none;
}
.navbar-cta .menu-item-button .menu-btn-container.btn::after {
	content: '';
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ms-gold) url('icons/arrow-button.svg') no-repeat center / 7px 7px;
	transition: transform .2s ease;
}
.navbar-cta .menu-item-button a:hover .menu-btn-container.btn::after {
	transform: rotate(45deg);
}

/* "Read more ↗" links (Button element, size "Standard link", class "ms-link-arrow") */
a.ms-link-arrow {
	font-weight: 900 !important;
	font-size: 16px !important;
}
a.ms-link-arrow::after {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-left: 9px;
	vertical-align: 1px;
	background: url('icons/arrow-link.svg') no-repeat center / contain;
	transition: transform .2s ease;
}
a.ms-link-arrow:hover::after {
	transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   "Sound familiar?" checklist — List element with class "ms-checklist"
   -------------------------------------------------------------------------- */
.ms-checklist ul.icons {
	margin: 0;
}
.ms-checklist ul.icons li {
	position: relative;
	background: #f3f4f7;
	border-radius: 12px;
	padding: 11px 20px 11px 54px;
	margin: 0 0 5px;
	line-height: 1.5;
}
.ms-checklist ul.icons li i {
	position: absolute;
	left: 20px;
	top: 50%;
	margin: 0 !important;
	transform: translateY(-50%);
	font-size: 17px;
	line-height: 1;
}

.ms-checklist-minus ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ms-checklist-minus ul li {
	position: relative;
	list-style: none;
	background: #f3f4f7;
	border-radius: 12px;
	padding: 11px 20px 11px 54px;
	margin: 0 0 5px;
	line-height: 1.5;
}
.ms-checklist-minus ul li::before {
	content: '';
	position: absolute;
	left: 20px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	background: url('icons/minus-circle.svg') no-repeat center / contain;
}

/* SVG icons (Icon Box > Icon media) */
.ms-icon-circle .icon-box-icon img,
.ms-pill .icon-box-icon img {
	display: block;
}

/* --------------------------------------------------------------------------
   Scenario pills — Icon Boxes with class "ms-pill" inside the image column
   (column class "ms-scenario-media"; the photo is the column background)
   -------------------------------------------------------------------------- */
.ms-pill.icon-box {
	display: flex !important;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	min-height: 53px;
	background: #fff;
	border-radius: 50px;
	padding: 9px 24px 9px 14px;
	margin-top: 9px !important;
}
.ms-pill .icon-box-icon.fa-container {
	margin-right: 10px;
}
.ms-pill .icon-box-content {
	display: flex;
	align-items: center;
	min-height: 34px;
	padding-top: 0 !important;
}
.ms-pill .icon-box-content p {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
	color: #000;
}
/* pills stick out 26px to the left of the photo, like the design */
@media (min-width: 960px) {
	.ms-scenario-media .ms-pill.icon-box {
		margin-left: -62px;
	}
}

/* --------------------------------------------------------------------------
   Process steps — Column with class "ms-step" (+ ms-step-gold/red/teal/navy)
   -------------------------------------------------------------------------- */
.ms-step .uncont {
	position: relative;
	padding-top: 31px;
}
.ms-step .uncont::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--ms-step-color, var(--ms-gold));
	z-index: 1;
}
.ms-step:not(:last-child) .uncont::after {
	content: '';
	position: absolute;
	top: 7px;
	left: 14px;
	right: -36px;
	height: 1px;
	background: #e3e5eb;
}
.ms-step-red { --ms-step-color: var(--ms-red); }
.ms-step-teal { --ms-step-color: var(--ms-teal); }
.ms-step-navy { --ms-step-color: var(--ms-navy); }
@media (max-width: 959px) {
	.ms-step:not(:last-child) .uncont::after { display: none; }
}

/* --------------------------------------------------------------------------
   Quote with red rule — Text Block containing a <blockquote>
   -------------------------------------------------------------------------- */
.ms-quote blockquote {
	border-left: 2px solid var(--ms-red);
	padding: 0 0 0 18px;
	margin: 0;
}
.ms-quote blockquote p {
	font-size: 20px;
	line-height: 1.5;
	font-style: normal;
}

/* --------------------------------------------------------------------------
   Footer menus (Custom Menu widgets inside the Footer content block)
   -------------------------------------------------------------------------- */
.ms-footer-menu ul.menu li {
	padding: 0;
	border: 0 !important;
	line-height: 1.7;
}
.ms-footer-menu ul.menu li a {
	color: #000;
}
.ms-footer-menu ul.menu li a:hover,
.ms-footer-links a:hover {
	color: var(--ms-gold);
}
.ms-footer-links a {
	color: #000;
}
.ms-footer-links a[href^="mailto"] {
	white-space: nowrap;
}
.uncont > * + .ms-color-bar {
	margin-top: 22px !important;
}
/* Footer: a bit more air between the colour bar and the address */
.site-footer .ms-color-bar + * {
	margin-top: 32px !important;
}

/* Footer bottom line: copyright + legal links on one line */
.ms-footer-bottom .uncont {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 14px;
}
.ms-footer-bottom .uncont > .divider-wrapper {
	flex: 0 0 100%;
	margin-bottom: 18px !important;
}
.ms-footer-bottom .uncont > * {
	margin-top: 0 !important;
}
.ms-footer-bottom .uncode-vc-social p {
	margin: 0;
}
.ms-footer-bottom .ms-footer-menu ul.menu-horizontal {
	margin: 0;
	padding: 0;
}
.ms-footer-bottom .ms-footer-menu ul.menu-horizontal > li {
	display: inline-block;
	margin: 0 14px 0 0;
	padding: 0;
}
.ms-footer-bottom .ms-footer-menu ul.menu-horizontal > li::before {
	content: '|';
	margin-right: 14px;
}
.ms-footer-bottom .ms-footer-menu ul.menu-horizontal > li > a {
	padding: 0;
	color: #000;
}
.ms-footer-menu .widget,
.ms-footer-menu ul.menu {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* --------------------------------------------------------------------------
   Expertise tags (About us) — Text Block with <p class="ms-tags"><span>…</span></p>
   -------------------------------------------------------------------------- */
.ms-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ms-tags span {
	background: #f3f4f7;
	border-radius: 50px;
	padding: 8px 18px;
	font-size: 15px;
	line-height: 1.4;
}

/* Glossary and legal pages: comfortable spacing between headings */
.ms-glossary h3,
.ms-legal h2 {
	margin-top: 32px;
	margin-bottom: 6px;
}
.ms-glossary h3:first-child,
.ms-legal h2:first-child {
	margin-top: 0;
}

/* Article header (Theme Options > Post > Header "Basic") with rounded bottom */
#page-header .header-basic .header-wrapper {
	border-radius: 0 0 var(--ms-radius-lg) var(--ms-radius-lg);
	overflow: hidden;
}

/* Hero stats: 2 x 2 on phones */
@media (max-width: 569px) {
	.ms-stats .ms-stat .h3 {
		font-size: 22px !important;
	}
	.ms-stats .ms-stat .text-lead,
	.ms-stats .ms-stat p {
		font-size: 15px;
		line-height: 1.5;
	}
}

/* Article images migrated from the old blog */
.ms-article-image {
	margin: 36px 0;
}
.ms-article-image img {
	display: block;
	border-radius: 16px;
	width: auto;
	max-width: 100%;
	max-height: 560px;
	height: auto;
}
.ms-article-image figcaption {
	margin-top: 10px;
	font-size: 15px;
	color: var(--ms-slate);
}

/* CTA band on sub pages: 72px space above the image band */
.ms-cta-gap {
	margin-top: 72px;
}

/* Language switcher (EN / NL) left of the header button (child theme functions.php, WPML) */
.menu-cta-inner > li.ms-lang-switch {
	display: inline-flex !important;
	align-items: center;
	margin-right: 22px;
	vertical-align: top;
}
.menu-cta-inner > li.ms-lang-switch > a.ms-lang {
	padding: 0 !important;
	font-size: 16px !important;
	letter-spacing: .04em;
	opacity: .6;
	transition: opacity .2s ease;
}
.menu-cta-inner > li.ms-lang-switch > a.ms-lang:hover,
.menu-cta-inner > li.ms-lang-switch > a.ms-lang--active {
	opacity: 1;
}
.menu-cta-inner > li.ms-lang-switch > a.ms-lang--active {
	font-weight: 900;
}
.ms-lang-switch .ms-lang-sep {
	margin: 0 7px;
	opacity: .4;
	font-size: 16px;
	line-height: 1;
	color: #000;
}
@media (min-width: 960px) {
	#masthead.style-dark-override:not(.is_stuck) .ms-lang-switch .ms-lang-sep {
		color: #fff;
	}
}
@media (max-width: 959px) {
	.menu-cta-inner > li.ms-lang-switch {
		margin: 0;
		padding: 12px 36px;
	}
}
@media (max-width: 569px) {
	.menu-cta-inner > li.ms-lang-switch {
		padding: 12px 25px;
	}
}

/* Header CTA on the white menu bar (after scrolling): keep the pill visible */
#masthead .navbar-cta .menu-item-button .menu-btn-container.btn {
	box-shadow: inset 0 0 0 1px #e3e5eb;
}
/* Menu over the header photo (transparent state): a subtle dark fade from the top and a soft text shadow,
   so the white menu items stay readable on bright photos. Once scrolled the menu is solid white.
   Phones/tablets always have the white menu bar, so this only applies from 960px. */
@media (min-width: 960px) {
	/* Once the menu sticks (after scrolling): solid white bar with a hairline (Uncode keeps it transparent) */
	#masthead.is_stuck .menu-container {
		background-color: #fff !important;
		box-shadow: 0 1px 0 #e3e5eb;
	}
	#masthead.menu-transparent:not(.is_stuck) .menu-container {
		background-image: linear-gradient(to bottom, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0));
	}
	#masthead.menu-transparent:not(.is_stuck) .menu-primary-inner > li > a {
		text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
	}
}
/* Mobile menu (white panel): same subtle border on the pill */
@media (max-width: 959px) {
	.navbar-cta .menu-item-button .menu-btn-container.btn {
		box-shadow: inset 0 0 0 1px #e3e5eb;
	}
}
/* Phones: menu items line up with the logo (25px gutter) */
@media (max-width: 569px) {
	.main-menu-container .menu-primary-inner > li > a,
	.main-menu-container .menu-primary-inner .drop-menu li > a,
	.main-menu-container .menu-cta-inner > li > a {
		padding-left: 25px !important;
		padding-right: 25px !important;
	}
}

/* Scenario pills: Uncode gives Icon Box icons an 18px top margin; text starts 58px from the pill edge */
.ms-pill .icon-box-icon.fa-container {
	margin: 0 !important;
}
.ms-pill .icon-box-content {
	padding-left: 10px !important;
}

/* Stat headings (hero USPs and the red 25+ card): compact sub text like the design (150%) */
.ms-stat .heading-text > div p,
.ms-stat .heading-text > div {
	line-height: 1.5;
}
.ms-stat-card .ms-stat .heading-text > div {
	margin-top: 9px;
}

/* --------------------------------------------------------------------------
   Phones / tablets
   -------------------------------------------------------------------------- */
@media (max-width: 959px) {
	/* scenario block: less nested padding so the pills get room */
	.ms-scenario-media .uncell {
		padding: 18px !important;
	}
	.ms-scenario-media .ms-pill.icon-box {
		width: 100%;
		margin-left: 0;
		border-radius: 26px;
		padding: 9px 16px 9px 10px;
	}
	.ms-scenario-media .ms-pill .icon-box-content p {
		font-size: 14px;
	}
	.ms-scenario-space {
		--custom-height: 160px !important;
	}
	/* footer legal links on one wrapping line */
	.ms-footer-bottom .ms-footer-menu ul.menu-horizontal {
		display: block !important;
		width: 100%;
	}
	.ms-footer-bottom .ms-footer-menu ul.menu-horizontal > li {
		display: inline-block !important;
		float: none !important;
	}
	.ms-footer-bottom .ms-footer-menu ul.menu-horizontal > li:first-child::before {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Switch cards — card padding and rhythm from the design
   -------------------------------------------------------------------------- */
.ms-card > .uncol > .uncoltable > .uncell {
	padding: 24px 22px 22px 28px !important;
}
.ms-card .ms-card-text .uncont {
	justify-content: flex-start !important;
}
.ms-card .ms-card-text .uncont > :last-child {
	margin-top: auto !important;
	padding-top: 24px;
}
.ms-card .ms-card-text .ms-icon-circle {
	margin-bottom: 10px;
}
/* Desktop: the photo fills the full card height, and all cards share one height (also across rows),
   whatever the length of the title or text. A card with more text still grows. */
@media (min-width: 960px) {
	.ms-card > .uncol > .uncoltable > .uncell > .uncont,
	.ms-card > .uncol > .uncoltable > .uncell > .uncont > .row-container,
	.ms-card > .uncol > .uncoltable > .uncell > .uncont > .row-container > .row,
	.ms-card > .uncol > .uncoltable > .uncell > .uncont > .row-container > .row > .row-inner {
		height: 100%;
	}
	.ms-card > .uncol > .uncoltable > .uncell {
		height: 354px;
	}
}
@media (min-width: 1180px) {
	.ms-card > .uncol > .uncoltable > .uncell {
		height: 331px;
	}
}
@media (min-width: 1260px) {
	.ms-card > .uncol > .uncoltable > .uncell {
		height: 305px;
	}
}
@media (max-width: 959px) {
	.ms-card > .uncol > .uncoltable > .uncell {
		padding: 22px !important;
	}
	.ms-card .ms-card-photo {
		margin-bottom: 22px;
	}
}

/* Phones: slightly smaller large text, compact USPs below the hero photo */
@media (max-width: 569px) {
	.text-lead,
	.text-lead > *,
	.text-lead p {
		font-size: 17px !important;
	}
	.ms-stats-mobile .ms-stat .h3 {
		font-size: 22px !important;
	}
}

/* Body copy line height 1.6 everywhere (Uncode default is 1.75; there is no theme option for it) */
.main-container p,
.main-container li,
.main-container dd,
.main-container address,
.main-container .text-lead,
.main-container .text-lead:not(ul):not(ol) > *,
.main-container .ms-footer-menu ul.menu li {
	line-height: 1.6;
}

/* Phones: buttons stacked, close together (Uncode 2.12 adds 9px above inline buttons on phones; the button's own top margin is enough) */
@media (max-width: 569px) {
	.btn-container.btn-inline:not(.btn-inline-mobile) {
		margin-top: 0 !important;
	}
	.btn-container + .btn-container .btn.btn-top-margin {
		margin-top: 10px;
	}
}

/* Pill lists align with the text above on every screen size (Uncode adds 18px list padding on phones) */
.ms-checklist ul,
.ms-checklist ul.icons {
	padding-left: 0 !important;
	margin-left: 0 !important;
}

/* --------------------------------------------------------------------------
   Contact form (plugin "XL Creations – Contactformulier", entries under Inzendingen)
   -------------------------------------------------------------------------- */
.xlcf-form {
	display: grid;
	gap: 16px;
	margin: 0;
}
.xlcf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.xlcf-field {
	margin: 0;
}
.xlcf-field label {
	display: block;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	margin: 0 0 6px;
	color: #000;
}
.xlcf-form input[type="text"],
.xlcf-form input[type="email"],
.xlcf-form input[type="tel"],
.xlcf-form select,
.xlcf-form textarea {
	width: 100%;
	margin: 0 !important;
	background: #f3f4f7 !important;
	border: 1px solid transparent !important;
	border-radius: 12px !important;
	padding: 14px 16px !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	color: #000 !important;
	box-shadow: none !important;
	transition: border-color .2s ease, background-color .2s ease;
}
.xlcf-form textarea {
	min-height: 150px;
	resize: vertical;
}
.xlcf-form select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 18px center !important;
	padding-right: 44px !important;
}
.xlcf-form input:focus,
.xlcf-form select:focus,
.xlcf-form textarea:focus {
	background-color: #fff !important;
	border-color: var(--ms-gold) !important;
	outline: none;
}
.xlcf-form ::placeholder {
	color: #8b92a8;
	opacity: 1;
}
.xlcf-field.has-error input,
.xlcf-field.has-error select,
.xlcf-field.has-error textarea {
	border-color: var(--ms-red) !important;
}
.xlcf-error {
	display: block;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 6px;
	color: var(--ms-red);
}
.xlcf-consent {
	font-size: 15px;
	line-height: 1.5;
}
.xlcf-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}
.xlcf-consent input[type="checkbox"] {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--ms-gold);
}
.xlcf-consent a {
	text-decoration: underline;
}
/* Submit: white pill with a subtle border and the gold arrow circle */
.xlcf-form .xlcf-submit {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	justify-self: start;
	margin: 2px 0 0;
	background: #fff !important;
	border: 1px solid #dfe2ea !important;
	color: #000;
	border-radius: 100px;
	padding: 10px 14px 10px 24px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 500;
	line-height: 34px;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}
.xlcf-submit__icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ms-gold) url('icons/arrow-button.svg') no-repeat center / 7px 7px;
	transition: transform .2s ease;
}
.xlcf-form .xlcf-submit:hover,
.xlcf-form .xlcf-submit:focus-visible {
	background: #f7f8fa !important;
	border-color: #c9cdd8 !important;
}
.xlcf-form .xlcf-submit:hover .xlcf-submit__icon {
	transform: rotate(45deg);
}
.xlcf-notice {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 16px;
	line-height: 1.6;
}
.xlcf-notice--success {
	background: var(--ms-tint-teal, #eef5f7);
	color: #000;
}
.xlcf-notice--error {
	background: #fbf0f1;
	color: #000;
}
@media (max-width: 569px) {
	.xlcf-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Phones: 25px gutters instead of Uncode's 36px (no theme option for this)
   -------------------------------------------------------------------------- */
@media (max-width: 569px) {
	.row-container .row.single-h-padding {
		padding-left: 25px !important;
		padding-right: 25px !important;
	}
	.menu-container .col-lg-0.logo-container {
		padding-left: 25px !important;
		padding-right: 25px !important;
	}
	.uncell.single-block-padding {
		padding: 25px !important;
	}
	/* hero photos: darker so the copy stays readable, photo focus slightly right */
	.ms-hero .block-bg-overlay,
	.ms-page-hero .block-bg-overlay {
		background: rgba(0, 0, 0, .5) !important;
	}
	.ms-hero .background-inner {
		background-position: 70% center !important;
	}
}

/* Breadcrumbs in sub page headers (Uncode Breadcrumbs element) */
.ms-breadcrumbs,
.ms-breadcrumbs a {
	color: rgba(255, 255, 255, .8) !important;
}
.ms-breadcrumbs a:hover {
	color: #fff !important;
}

/* --------------------------------------------------------------------------
   Simple page template (service pages + About): free text in one Text Block
   with the class "ms-prose". Just type headings (H2/H3), paragraphs, lists and quotes.
   -------------------------------------------------------------------------- */
.ms-prose > :first-child {
	margin-top: 0 !important;
}
.ms-prose h2 {
	font-size: 30px;
	line-height: 1.2;
	margin-top: 54px;
}
.ms-prose h3 {
	font-size: 23px;
	line-height: 1.3;
	margin-top: 32px;
}
.ms-prose h2 + p,
.ms-prose h3 + p,
.ms-prose h2 + ul,
.ms-prose h3 + ul,
.ms-prose h2 + ol,
.ms-prose h3 + ol {
	margin-top: 14px;
}
.ms-prose ul,
.ms-prose ol {
	padding-left: 0 !important;
	margin-left: 0 !important;
	list-style: none;
}
.ms-prose ul li,
.ms-prose ol li,
.ms-card-list li {
	list-style: none !important;
}
.ms-prose ul li::marker,
.ms-prose ol li::marker,
.ms-card-list li::marker {
	content: '';
}
.ms-prose ul li,
.ms-prose ol li {
	position: relative;
	padding-left: 22px;
	line-height: 1.6;
}
.ms-prose ul li + li,
.ms-prose ol li + li {
	margin-top: 8px;
}
.ms-prose ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ms-accent, var(--ms-gold));
}
.ms-prose ol {
	counter-reset: ms-step;
}
.ms-prose ol li {
	counter-increment: ms-step;
}
.ms-prose ol li {
	padding-left: 30px;
}
.ms-prose ol li::before {
	content: counter(ms-step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--ms-accent, var(--ms-gold));
}
.ms-prose blockquote {
	border-left: 2px solid var(--ms-red);
	padding: 0 0 0 18px;
	margin: 32px 0 0;
}
.ms-prose blockquote p {
	font-size: 20px;
	line-height: 1.5;
	font-style: normal;
}
@media (max-width: 569px) {
	.ms-prose h2 {
		font-size: 25px;
		margin-top: 42px;
	}
	.ms-prose h3 {
		font-size: 20px;
	}
}

/* Side card list ("At a glance"): line check icons from the Figma icon style */
.ms-card-list ul {
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
}
.ms-card-list li {
	position: relative;
	padding-left: 30px;
	line-height: 1.6;
}
.ms-card-list li + li {
	margin-top: 10px;
}
.ms-card-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	background: var(--ms-accent, #1d1d1b);
	-webkit-mask: url('icons/check-circle.svg') no-repeat center / contain;
	mask: url('icons/check-circle.svg') no-repeat center / contain;
}

/* Red card under Saskia's photo (About + Contact): white text, list and links */
.ms-red-card .ms-card-list li::before {
	background: #fff;
}
.ms-red-card a,
.ms-red-card-links a {
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ms-red-card .heading-text .h6,
.ms-red-card .heading-text h6,
.ms-red-card .heading-text .text-small {
	opacity: .85;
}

/* Accent colour per switch page (row class ms-accent-*): bullets, numbers, checks and the button arrow */
.ms-accent-msgl { --ms-accent: var(--ms-gold); }
.ms-accent-msnv { --ms-accent: var(--ms-navy); }
.ms-accent-mstl { --ms-accent: var(--ms-teal); }
.ms-accent-msrd { --ms-accent: var(--ms-red); }
.ms-accent-msdk { --ms-accent: #1c2237; }
.ms-accent .btn.ms-btn-arrow::after,
.ms-accent .ms-btn-arrow .btn::after {
	background-color: var(--ms-accent);
}
/* Icon Box with the title next to the icon (side card "At a glance") */
.ms-icon-title .icon-box-heading {
	margin: 0 !important;
}
.ms-icon-title .icon-box-content {
	padding-left: 14px !important;
}.ms-icon-title.icon-box {
	display: flex !important;
	align-items: center;
}
.ms-icon-title .icon-box-heading > * {
	margin: 0 !important;
}

/* "25 years" block: photo, red card and portrait 18px apart (Columns gap 0.5x), 72px between them and the text */
@media (min-width: 960px) {
	.ms-about-text > .uncol {
		padding-left: 54px;
	}
}
/* Blog posts: the article already ends with 72px, so the logo row (Content Block after posts) needs no extra space on top */
.post-after .ms-logos .row {
	padding-top: 0 !important;
}
/* No logos yet (the logo row is hidden): the CTA band directly follows the article's own 72px */
.post-after > .ms-cta-gap:first-child {
	margin-top: 0 !important;
}

/* --------------------------------------------------------------------------
   Blog posts: calm typographic top instead of an image header
   (Theme Options > Post: Header none, title in content; breadcrumbs via functions.php)
   -------------------------------------------------------------------------- */
.single-post .post-title-wrapper {
	margin-bottom: 0;
}
/* Order: title, intro (excerpt), image, details, content (functions.php) */
.single-post .post-title-wrapper > .post-info {
	display: none;
}
.ms-post-intro {
	margin-top: 22px;
}
.ms-post-intro p {
	font-size: 19px;
	line-height: 1.6;
	margin: 0;
}
.ms-post-image {
	margin: 36px 0 0;
}
.ms-post-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: 16px;
}
.ms-post-details {
	margin: 16px 0 42px;
}
.ms-post-details .post-info {
	margin: 0;
	color: var(--ms-slate);
}
.ms-post-details .author-info {
	display: none;
}
@media (max-width: 569px) {
	.ms-post-intro p {
		font-size: 17px;
	}
}
.ms-post-breadcrumbs::before {
	content: '';
	display: block;
	width: 184px;
	height: 5px;
	margin-bottom: 28px;
	background: linear-gradient(90deg, var(--ms-gold) 0 25%, var(--ms-red) 25% 50%, var(--ms-teal) 50% 75%, var(--ms-navy) 75% 100%);
}
.ms-post-breadcrumbs {
	margin-bottom: 14px;
	font-size: 15px;
	color: var(--ms-slate);
}
.ms-post-breadcrumbs .breadcrumb {
	margin: 0;
	padding: 0;
	text-align: left;
}
/* The title follows directly, so the last crumb (the title) is left out */
.ms-post-breadcrumbs .breadcrumb > li:last-child {
	display: none;
}
.ms-post-breadcrumbs a {
	color: var(--ms-slate) !important;
}
.single-post .post-title {
	font-size: 36px !important;
	line-height: 1.15 !important;
	margin-top: 0;
}
.single-post .post-info .author-info {
	display: none;
}
.single-post .post-info {
	color: var(--ms-slate);
}
@media (max-width: 569px) {
	.single-post .post-title {
		font-size: 27px !important;
	}
}

/* Phones: blog posts use the same 25px side gutter as the pages */
@media (max-width: 569px) {
	.single-post .post-content > .row-container > .row.row-parent {
		padding-left: 25px !important;
		padding-right: 25px !important;
	}
}

/* Footer: logo scales down in a narrow column; the long e-mail address may wrap on small desktops */
.site-footer .uncode-single-media,
.site-footer .uncode-single-media-wrapper,
.site-footer .uncode-single-media .icon-media,
.site-footer .uncode-single-media img {
	max-width: 100%;
	height: auto;
}
.site-footer a[href^="mailto:"] {
	overflow-wrap: anywhere;
}

/* Blog posts: image next to the text. In the editor: select the image and choose "Align left" or "Align right". */
.single-post .post-content .alignright,
.single-post .post-content .alignleft {
	width: 42%;
	margin-top: 6px;
	margin-bottom: 24px;
}
.single-post .post-content .alignright {
	float: right;
	margin-left: 36px;
}
.single-post .post-content .alignleft {
	float: left;
	margin-right: 36px;
}
.single-post .post-content .alignright img,
.single-post .post-content .alignleft img,
.single-post .post-content img.alignright,
.single-post .post-content img.alignleft {
	width: 100%;
	height: auto;
	max-height: none;
	border-radius: 16px;
}
/* A new section always starts below a floated image */
.single-post .post-content h2,
.single-post .post-content h3 {
	clear: both;
}
.single-post .post-content .uncode_text_column::after,
.single-post .post-content .uncont::after {
	content: '';
	display: table;
	clear: both;
}
@media (max-width: 767px) {
	.single-post .post-content .alignright,
	.single-post .post-content .alignleft {
		float: none;
		width: 100%;
		margin: 24px 0;
	}
}

/* --------------------------------------------------------------------------
   Knowledge: category filters as pills with a subtle border.
   A dot in the switch colour; the active pill takes the switch tint.
   (filter-cat-3 Insight, -4 International, -5 Electric, -6 Alternative transport)
   -------------------------------------------------------------------------- */
.ms-posts .grid-filters ul.menu-smart {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 36px !important;
}
.ms-posts .grid-filters ul.menu-smart > li {
	margin: 0 !important;
	padding: 0 !important;
}
.ms-posts .grid-filters ul.menu-smart > li > span {
	display: block;
	padding: 0 !important;
}
.ms-posts .grid-filters .grid-nav-link {
	--pill-accent: #1c2237;
	--pill-tint: #f3f4f7;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 8px 18px !important;
	border: 1px solid #dfe2ea;
	border-radius: 100px;
	background: #fff;
	color: #000 !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: border-color .2s ease, background-color .2s ease;
}
.ms-posts .filter-cat-3 .grid-nav-link { --pill-accent: var(--ms-gold); --pill-tint: #fbf5ea; }
.ms-posts .filter-cat-4 .grid-nav-link { --pill-accent: var(--ms-navy); --pill-tint: #eff1f5; }
.ms-posts .filter-cat-5 .grid-nav-link { --pill-accent: var(--ms-teal); --pill-tint: #eef5f7; }
.ms-posts .filter-cat-6 .grid-nav-link { --pill-accent: var(--ms-red); --pill-tint: #fbf0f1; }
.ms-posts .filter-cat .grid-nav-link::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pill-accent);
}
.ms-posts .grid-filters .grid-nav-link:hover,
.ms-posts .grid-filters .grid-nav-link:focus-visible {
	border-color: #c9cdd8;
	background: #f7f8fa;
	outline: none;
}
.ms-posts .grid-filters .grid-nav-link.active {
	border-color: var(--pill-accent);
	background: var(--pill-tint);
}
@media (max-width: 959px) {
	.ms-posts .grid-filters ul.menu-smart {
		margin-bottom: 0 !important; /* Uncode already adds the space below the filters here */
	}
}
/* Square or upright featured image (e.g. a quote graphic): own shape, not cropped */
.ms-post-image--natural img {
	aspect-ratio: auto;
	object-fit: contain;
	width: auto;
	max-width: 100%;
	max-height: 440px;
}
