/*
Theme Name: Maison K
Theme URI: 
Author: Perfecto Tech
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maison-k
Tags: 

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

li::marker {
    font-size: 15px;
}

strong {
	font-weight: 500 !important;
}

body.blocked-scroll,
body.blocked-scroll--panels {
	height: 100vh;
	overflow: hidden;
}

header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}

header .wp-block-navigation__responsive-container-open > svg,
header .wp-block-navigation__responsive-container-close > svg {
	display: none;
}

header .wp-block-navigation__responsive-container-open,
header .wp-block-navigation__responsive-container-close {
	width: 40px;
	height: 34px;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='36' viewBox='0 0 40 36' fill='none'%3E%3Cg style='mix-blend-mode:exclusion'%3E%3Cline x1='40' y1='0.75' x2='7.71377e-08' y2='0.750003' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3Cline x1='40' y1='17.75' x2='7.71377e-08' y2='17.75' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3Cline x1='40' y1='34.75' x2='7.71377e-08' y2='34.75' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-size: contain;
	mask-position: center;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='36' viewBox='0 0 40 36' fill='none'%3E%3Cg style='mix-blend-mode:exclusion'%3E%3Cline x1='40' y1='0.75' x2='7.71377e-08' y2='0.750003' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3Cline x1='40' y1='17.75' x2='7.71377e-08' y2='17.75' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3Cline x1='40' y1='34.75' x2='7.71377e-08' y2='34.75' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	-webkit-mask-position: center;
	background-color: currentColor;
}

header .wp-block-navigation__responsive-container-close {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='35' viewBox='0 0 40 35' fill='none'%3E%3Cg style='mix-blend-mode:exclusion'%3E%3Cline x1='36.4697' y1='34.4714' x2='2.52855' y2='0.53033' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3Cline y1='-0.75' x2='48' y2='-0.75' transform='matrix(0.707107 -0.707107 -0.707107 -0.707107 3 33.9411)' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='35' viewBox='0 0 40 35' fill='none'%3E%3Cg style='mix-blend-mode:exclusion'%3E%3Cline x1='36.4697' y1='34.4714' x2='2.52855' y2='0.53033' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3Cline y1='-0.75' x2='48' y2='-0.75' transform='matrix(0.707107 -0.707107 -0.707107 -0.707107 3 33.9411)' stroke='%23F1F1F1' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

header.covered .wp-block-site-title a {
	color: var(--wp--preset--color--accent-3);
	transition: color 0.5s ease-in-out;
}

header.covered .wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--accent-3);
	transition: color 0.5s ease-in-out;
}

header .wp-block-site-logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100001;
}

header .wp-block-navigation__responsive-container {
	left: auto;
	width: 60%;
	overflow: visible !important;
}

header .wp-block-navigation__responsive-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background-color: var(--wp--preset--color--accent-1);
	opacity: 0.5;
	pointer-events: none;
	z-index: 1;
}

header .wp-block-navigation__responsive-close, 
header .wp-block-navigation__responsive-dialog, 
header .wp-block-navigation__responsive-container-content {
	height: 100%;
}

header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	justify-content: center;
}

header .wp-block-navigation__responsive-container .wp-block-navigation-item {
	position: relative;
	padding-left: 40px;
	counter-increment: menu-item;
}

header .wp-block-navigation__responsive-container .wp-block-navigation-item::before {
	content: counter(menu-item, decimal-leading-zero);
	position: absolute;
	top: 10px;
	left: 0;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 18px;
	font-weight: 400;
	text-align: center;
}

.home-fixed-group {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0 !important;
	z-index: 0;
}

.home-cropped-group {
	transition: all 0.5s ease-in-out;
	/* clip-path: rect(45% 66% 100% 33% round 400px 400px 0% 0%); */
	mask-image: url('assets/images/arche.svg');
	mask-size: 35%;
	mask-position: center 43vh;
	mask-repeat: no-repeat;
	-webkit-mask-image: url('assets/images/arche.svg');
	-webkit-mask-size: 35%;
	-webkit-mask-position: center 43vh;
	-webkit-mask-repeat: no-repeat;
	pointer-events: none;
}

.home-cropped-group.step-1 {
	/* clip-path: rect(30% 75% 100% 25% round 400px 400px 0% 0%); */
	mask-size: 55%;
	mask-position: center 33vh;
	-webkit-mask-size: 55%;
	-webkit-mask-position: center 33vh;
}

.home-cropped-group.step-2 {
	/* clip-path: rect(10% 85% 100% 15% round 600px 600px 0% 0%); */
	mask-size: 75%;
	mask-position: center 13vh;
	-webkit-mask-size: 75%;
	-webkit-mask-position: center 13vh;
}

.home-cropped-group.step-3 {
	/* clip-path: rect(0% 95% 100% 5% round 600px 600px 0% 0%); */
	mask-size: 100%;
	mask-position: center -3vh;
	-webkit-mask-size: 100%;
	-webkit-mask-position: center -3vh;
}

.home-cropped-group.step-4 {
	/* clip-path: rect(-10% 100% 100% 0% round 0%); */
	mask-size: 200%;
	mask-position: center -40vh;
	-webkit-mask-size: 200%;
	-webkit-mask-position: center -40vh;
}

.home-cropped-group .wp-block-group {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.home-cropped-group.step-3 .wp-block-group,
.home-cropped-group.step-4 .wp-block-group {
	opacity: 1;
}

.panels {
	position: relative;
}

.panel {
	max-height: 1000px;
	transition: all 0.5s ease-in-out;
}

.panel--cropped-1 {
	min-height: 0 !important;
	max-height: 360px;
	overflow: hidden;
}

.panel--cropped-2 {
	min-height: 0 !important;
	max-height: 260px;
	overflow: hidden;
}

.panel--cropped-3 {
	min-height: 0 !important;
	max-height: 160px;
	overflow: hidden;
}

.sticky-img {
	position: sticky;
	top: 0;
}

.number-line .wp-block-list {
	min-width: 448px;
}

.wp-block-accordion-heading__toggle-icon {
	width: 36px;
    height: 36px;
	font-size: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='23' viewBox='0 0 44 23' fill='none'%3E%3Cline y1='-0.840909' x2='30.7332' y2='-0.840909' transform='matrix(0.715837 0.698267 -0.715837 0.698267 0 1.17432)' stroke='%231B1D56' stroke-width='1.68182'/%3E%3Cline y1='-0.840909' x2='30.7332' y2='-0.840909' transform='matrix(-0.715837 0.698267 0.715837 0.698267 44 1.17432)' stroke='%231B1D56' stroke-width='1.68182'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.wp-block-accordion-item.is-open > .wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
	transform: rotate(-180deg)
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
	text-decoration: none !important;
}

.gfield_label {
	font-size: 16px !important;
}

.ginput_container input,
.ginput_container textarea {
    border-top: 0 !important;
	border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.gform_button {
	padding: 18px !important;
    font-size: 20px !important;
}

footer {
	margin-block-start: 0 !important;
}

.footer-menu {
	gap: 20px 80px !important;
	max-height: 150px;
}

@media all and (max-width: 1200px) {
	.number-line {
		flex-direction: column !important;
	}
}

@media all and (max-width: 800px) {
	header > .wp-block-group {
		padding: 20px var(--wp--preset--spacing--40) !important;
	}

	header .wp-block-navigation__responsive-container {
		left: 0;
		width: 100%;
	}

	.wp-block-site-title {
		margin-left: 0 !important;
		white-space: nowrap;
	}

	.home-cropped-group {
		/* clip-path: rect(85% 100% 150% 0% round 400px 400px 0% 0%); */
		mask-size: 100%;
		mask-position: center 90vh;
		-webkit-mask-size: 100%;
		-webkit-mask-position: center 90vh;
	}

	.home-cropped-group.step-1 {
		/* clip-path: rect(30% 100% 100% 0% round 400px 400px 0% 0%); */
		mask-size: 100%;
		mask-position: center 60vh;
		-webkit-mask-size: 100%;
		-webkit-mask-position: center 60vh;
	}

	.home-cropped-group.step-2 {
		/* clip-path: rect(10% 100% 100% 0% round 600px 600px 0% 0%); */
		mask-size: 100%;
		mask-position: center 40vh;
		-webkit-mask-size: 100%;
		-webkit-mask-position: center 40vh;
	}

	.home-cropped-group.step-3 {
		/* clip-path: rect(0% 100% 100% 0% round 600px 600px 0% 0%); */
		mask-size: 150%;
		mask-position: center 10vh;
		-webkit-mask-size: 150%;
		-webkit-mask-position: center 10vh;
	}

	.home-cropped-group.step-4 {
		/* clip-path: rect(-10% 100% 100% 0% round 0%); */
		mask-size: 300%;
		mask-position: center -15vh;
		-webkit-mask-size: 200%;
		-webkit-mask-position: center -15vh;
	}

	.home-fixed-subgroup > * {
		max-width: 100% !important;
		margin-left: 0 !important;
	}

	.centered-on-mobile {
		justify-content: center !important;
	}

	.footer-menu {
		max-height: none;
	}
}