/*!
Theme Name: GPM
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Positive Design
Author URI: https://positivedesign.agency/
Description: A child theme for GP Management website
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: gpm
*/

/* Theme customization starts here
-------------------------------------------------------------- */

@view-transition {
	navigation: auto;
}

input,
textarea,
button,
select,
a,
h3,
li {
	-webkit-tap-highlight-purple: rgba(0, 0, 0, 0);
}
/* Global focus and active - outline */
*:focus,
*:active {
	outline: 0;
}
*:focus-visible {
	outline: 1px solid var(--global-palette1);
}

/* prevent image user select */
img {
	-webkit-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* autofill blue background correction */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-transition: background-color 5000s ease-in-out 0s;
	transition: background-color 5000s ease-in-out 0s;
}

.bigscr {
	display: none;
}
@media (min-width: 768px) {
	.smallscr {
		display: none;
	}
	.bigscr {
		display: block;
	}
	span.bigscr {
		display: inline;
	}
}

/********** KADENCE ERROR *********/
body .wp-block-button__link {
	height: unset;
	width: unset;
}

/************* GENERAL ************/
body {
	--ld-border-color: var(--global-palette5);
}
body.color-switch-dark {
	--ld-border-color: var(--global-palette7);
}

.home .wp-block-kadence-advancedbtn.btn-arrow {
	width: 256px;
}
.btn-arrow .kb-button {
	width: 72px;
	height: 50px;
	position: relative;
}
.btn-arrow .kb-button svg {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: linear 0.3s;
	z-index: 99;
}
#secondary-menu li a,
.kb-button.kt-button span {
	position: relative;
	z-index: 99;
}
.btn-arrow .kb-button:hover svg {
	transform: translate(0%, -50%);
}
#secondary-menu li {
	position: relative;
}

.kadence-conversions-close:before,
#secondary-menu li:after,
.kb-button.kt-button::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0px;
	height: 100%;
	background-color: var(--global-palette2);
	transition: all linear 0.3s;
}
.footer-widget-area .kb-button.kt-button::after {
	background-color: var(--global-palette7);
}
.kadence-conversions-close:hover:before,
#secondary-menu li:hover:after,
.kb-button.kt-button:hover::after {
	width: 100%;
}
body .kadence-conversion-wrap:not(.mega-menu) .kadence-conversions-close {
	left: 20px !important;
	top: 20px;
	border: 1px solid var(--ld-border-color);
}
@media (width > 768px) {
	body .kadence-conversion-wrap:not(.mega-menu) .kadence-conversions-close {
		left: 50px !important;
		top: 50px;
	}
	.home h4 {
		min-width: 256px;
	}
}
@media (width <768px) {
	body .kadence-conversion-wrap:not(.mega-menu) .kadence-conversion:before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 90px;
		backdrop-filter: blur(10px);
		z-index: 1;
	}
}

/********* GENERAL Archive ********/
body:not(.home) .qlwapp {
	display: none;
}

.rank-math-breadcrumb {
	position: absolute;
	top: 102px;
	left: 24px;
	right: 0;
	z-index: 4;
}
body:is(.wp-singular, .search) .rank-math-breadcrumb {
	top: 24px;
}
.rank-math-breadcrumb > p {
	color: var(--global-palette9);
	font-size: 12px;
	max-width: 1158px;
	margin-inline: auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rank-math-breadcrumb .separator {
	font-size: 16px;
	vertical-align: middle;
	margin-inline: 4px;
}
.rank-math-breadcrumb a {
	color: var(--global-palette9);
	text-decoration: none;
	vertical-align: middle;
}
.rank-math-breadcrumb a:first-of-type {
	display: inline-block;
	width: 24px;
	height: 24px;
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='.8'%3E%3Cmask id='a' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='24' height='24'%3E%3Cpath fill='%23D9D9D9' d='M0 0h24v24H0z'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath d='M6 19h3v-6h6v6h3v-9l-6-4.5L6 10v9Zm-2 2V9l8-6 8 6v12h-7v-6h-2v6H4Z' fill='%23fff'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	font-size: 0;
}
.rank-math-breadcrumb a:first-of-type:hover {
	filter: brightness(0) saturate(100%) invert(14%) sepia(59%) saturate(5001%) hue-rotate(336deg) brightness(90%) contrast(96%);
}
.rank-math-breadcrumb .last {
	vertical-align: middle;
}

.white-line {
	background-color: #fff;
	display: inline-block;
	flex-grow: 1;
	width: 1px;
	margin: 0 auto;
}
.hero-blur .kt-inside-inner-col {
	backdrop-filter: blur(30px);
	margin: 0 -1.5rem;
}

/************* HEADER *************/
.site-header .item-is-stuck {
	backdrop-filter: blur(30px);
	transition: all linear 0.3s;
}
.site-header-main-section-left {
	column-gap: 30px;
}
.site-header-main-section-left .site-header-item {
	margin: 0;
}
body .mega-menu.kadence-conversion-wrap.kc-close-position-inside.kc-close-align-left .kadence-conversions-close {
	top: 24px;
	left: 65px;
	padding: 19px 82px 19px 30px;
	border: 1px solid var(--ld-border-color);
}
.kadence-conversions-close:hover svg {
	position: relative;
	z-index: 9999;
	transform: scale(1.4);
	transform-origin: center;
}
#mobile-drawer .drawer-header .drawer-toggle::after,
.mega-menu .kadence-conversions-close::after {
	content: 'MENU';
	position: absolute;
	font-size: 14px;
	letter-spacing: 0.1em;
	left: 56px;
	top: 19px;
	z-index: 9;
}
.site-header :is(.desktop-menu-toggle, .search-toggle, .menu-toggle-open, .search-toggle-open) {
	position: relative;
	width: 65px;
	height: 50px;
	display: block;
}
.desktop-menu-toggle .widget-toggle-icon {
	width: 22px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg width='22' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 16v-2h22v2H0Zm0-7V7h22v2H0Zm0-7V0h22v2H0Z' fill='%23fff'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: all linear 0.3s;
}
.search-toggle .widget-toggle-icon {
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg width='19' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m17.1 18-6.3-6.3A6.096 6.096 0 0 1 7 13c-1.817 0-3.354-.63-4.612-1.887C1.129 9.854.5 8.317.5 6.5c0-1.817.63-3.354 1.888-4.612C3.646.629 5.183 0 7 0c1.817 0 3.354.63 4.613 1.887C12.87 3.146 13.5 4.683 13.5 6.5a6.096 6.096 0 0 1-1.3 3.8l6.3 6.3-1.4 1.4ZM7 11c1.25 0 2.313-.438 3.188-1.313C11.062 8.813 11.5 7.75 11.5 6.5c0-1.25-.438-2.313-1.313-3.188C9.313 2.438 8.25 2 7 2c-1.25 0-2.313.438-3.188 1.313C2.938 4.186 2.5 5.25 2.5 6.5c0 1.25.438 2.313 1.313 3.188C4.686 10.562 5.75 11 7 11Z' fill='%23fff'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: all linear 0.3s;
	transform-origin: bottom right;
}
.desktop-menu-toggle:hover .widget-toggle-icon {
	background-image: url("data:image/svg+xml,%3Csvg width='22' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 16v-2h12v2H0Zm0-7V7h17v2H0Zm0-7V0h22v2H0Z' fill='%23fff'/%3E%3C/svg%3E");
}
.search-toggle:hover .widget-toggle-icon {
	rotate: 10deg;
}
.header-html-inner {
	display: flex;
	align-items: center;
}
@media (width < 768px) {
	.site-header-main-section-left {
		column-gap: 0;
	}
	.site-header :is(.desktop-menu-toggle, .search-toggle, .menu-toggle-open, .search-toggle-open) {
		width: 47px;
	}
}
.site-header :is(.desktop-menu-toggle, .search-toggle, .menu-toggle-open, .search-toggle-open):before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: var(--global-palette2);
	transition: all linear 0.3s;
}
.site-header :is(.desktop-menu-toggle, .search-toggle, .menu-toggle-open, .search-toggle-open):hover:before {
	width: 100%;
}
.site-header :is(.desktop-menu-toggle, .search-toggle, .menu-toggle-open, .search-toggle-open) span {
	z-index: 9;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.site-header .search-toggle-open svg {
	transition: all linear 0.3s;
}
.site-header .search-toggle-open:hover svg {
	transform: rotate(10deg);
	transform-origin: bottom right;
}
.site-header :is(.menu-toggle-open) svg {
	fill: #fff;
	transition: all linear 0.3s;
}
.site-header :is(.menu-toggle-open):hover svg {
	fill: transparent;
}
.site-header :is(.menu-toggle-open):hover .kadence-svg-iconset {
	background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' class='kadence-svg-icon kadence-menu-svg' fill='currentColor' width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 13h13.373a1 1 0 0 0 0-2H3a1 1 0 0 0 0 2zm0-6h18a1 1 0 0 0 0-2H3a1 1 0 0 0 0 2Zm0 12h9a1 1 0 0 0 0-2H3a1 1 0 0 0 0 2z' style='fill:%23fff'/%3E%3C/svg%3E");
}
.kb-navigation .kb-nav-link-content strong {
	margin-left: 4px;
}

/* mobile search */
#search-drawer .drawer-inner .drawer-header {
	padding: 28px 0 0 52px;
	justify-content: flex-start;
}
body .popup-drawer .drawer-header .drawer-toggle {
	padding: 12px 23px;
	border: 1px solid var(--ld-border-color);
}
body #search-drawer .drawer-inner input.search-field {
	border: 0;
	border-bottom: 1px solid var(--ld-border-color);
	border-radius: 0;
}
body #search-drawer .drawer-inner input.search-field:focus {
	box-shadow: none;
}
#search-drawer input[type='search']::-webkit-search-cancel-button {
	display: none;
}

/********** Desktop Menu **********/
.d-navigation {
	width: 100%;
	column-gap: 0;
	padding-block: 100px 50px;
	position: relative;
	margin-bottom: 32px;
}
.d-navigation:before {
	content: '';
	position: absolute;
	width: 1px;
	height: 100%;
	left: 50%;
	top: 0;
	background-color: var(--global-palette5);
}
.d-navigation > div {
	flex: 1 1 50%;
}
.d-nav-right nav {
	max-width: 230px;
	margin: 0 auto;
}

/* Desktop menu testimonials */
.dm-testt {
	color: #fff;
	font-family: ClashDisplay;
	font-size: 1.3em;
	letter-spacing: 0.01em;
	line-height: 1.3;
	max-width: 380px;
	margin: 0 auto 2em;
	text-wrap: balance;
}
.dm-testt .big {
	font-size: 2em;
	font-weight: 700;
	line-height: 0;
	margin-inline: 0.08em;
	position: relative;
	top: 0.25em;
}

.dm-testp {
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.dm-testp strong {
	font-family: ClashDisplay;
	font-size: 14px;
	letter-spacing: 0.01em;
}

/*********** Mobile Menu **********/
body .mobile-navigation ul {
	max-width: 235px;
	margin: 0 auto;
}
body .mobile-navigation ul li a {
	padding-inline: 0;
}
body .mobile-navigation ul li.gpm-mm a {
	font-weight: 700;
}
body .mobile-navigation ul li.gpm-mm a::before {
	content: 'GP ';
	position: relative;
	font-weight: 500;
}
body .mobile-navigation ul li.mm-dist {
	margin-bottom: 16px;
}
body .mobile-navigation ul li.mm-sep a {
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(65, 65, 65, 0.2);
}
#mobile-drawer .drawer-header {
	justify-content: flex-start;
	padding: 24px 16px;
	min-height: unset;
}
#mobile-drawer .drawer-header .drawer-toggle {
	border: 1px solid var(--ld-border-color);
}
#mobile-drawer .drawer-header .drawer-toggle::after {
	left: 49px;
	top: 17px;
}
#mobile-drawer .drawer-toggle .toggle-close-bar {
	display: none;
}
#mobile-drawer .drawer-header .drawer-toggle::before {
	content: '';
	width: 10px;
	height: 10px;
	position: absolute;
	top: 19px;
	left: 24px;
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.4 10 0 8.6 3.6 5 0 1.425l1.4-1.4 3.6 3.6 3.575-3.6 1.4 1.4L6.375 5l3.6 3.6-1.4 1.4L5 6.4 1.4 10Z' fill='%23414141'/%3E%3C/svg%3E");
}

.kadence-color-palette-mobile-switcher {
	position: absolute;
	top: 24px;
	right: 20px;
	z-index: 9999;
}
.kadence-color-palette-switcher.kcps-style-switch.kcps-type-icon button.kadence-color-palette-toggle {
	border-radius: 100px;
	border: 1px solid var(--ld-border-color);
	background-color: transparent;
}
.kadence-color-palette-switcher svg {
	stroke: var(--global-palette1);
}
.kadence-color-palette-switcher.kcps-style-switch.kcps-type-icon button.kadence-color-palette-toggle {
	padding: 0.719em 0.8125em;
}
.kadence-color-palette-switcher.kcps-style-switch.kcps-type-icon button.kadence-color-palette-toggle .kadence-color-palette-light {
	margin-right: 1.2em;
}
.kadence-color-palette-switcher.kcps-style-switch.kcps-type-icon button.kadence-color-palette-toggle .kadence-color-palette-dark {
	margin-left: 1.2em;
}
.color-switch-light .kadence-color-palette-switcher button.kadence-color-palette-toggle:hover {
	filter: unset;
}
.kadence-color-palette-mobile-switcher .kadence-color-palette-switcher.kcps-style-switch.kcps-type-icon button.kadence-color-palette-toggle:after {
	width: 34px;
	height: 34px;
	left: 7px;
	transition: all 0.5s ease;
}
.color-switch-dark .kadence-color-palette-switcher.kcps-style-switch.kcps-type-icon button.kadence-color-palette-toggle:after {
	background: var(--global-palette4) !important;
	transform: translateX(calc(100% + 1.55em));
}
:is(.color-switch-light, .color-switch-dark) .kadence-color-palette-switcher.kcps-style-switch.kcps-type-icon button.kadence-color-palette-toggle:after {
	background: var(--global-palette5);
}
:is(.color-switch-light, .color-switch-dark)
	.kadence-color-palette-switcher.kcps-style-switch.kcps-type-icon
	button.kadence-color-palette-toggle
	:is(.kadence-color-palette-light, .kadence-color-palette-dark) {
	opacity: 1;
	z-index: 9;
}

/********* Search Results *********/
.search :is(input[type='search'], input[type='search']:focus) {
	background: transparent;
	border-width: 0 0 1px 0;
	border-color: var(--global-palette5);
	box-shadow: none;
	color: var(--global-palette1);
	padding: 14px 16px;
}
.search .wp-block-search .wp-block-search__button:not(.has-text-color) {
	background-image: linear-gradient(to left, var(--global-palette7) 0%, var(--global-palette7) 50%, var(--global-palette2) 50%, var(--global-palette2) 100%);
	background-size: 200%;
	background-position: right;
	border-radius: 0;
	color: var(--global-palette9);
	font-size: 14px;
	letter-spacing: 0.1em;
	padding: 14px 32px;
	text-transform: uppercase;
	transition: background-position 0.3s linear;
}
.search .wp-block-search .wp-block-search__button:not(.has-text-color):hover {
	background-position: left;
}

.search .category {
	background: #414141;
	color: #fff;
	font-size: 14px;
	letter-spacing: 0.1em;
	line-height: 1em;
	margin: 16px 0 0 24px;
	padding: 14px 24px;
	text-transform: uppercase;
	width: max-content;
}
.pagination .nav-links {
	display: flex;
}
.search-no-results #primary form {
	display: none;
}
.search-no-results .page-content p {
	text-align: center;
}

/**********************************
 ************** HOME **************
 *********************************/

/* small screen correction */
.kb-blocks-bg-video-container.embedded .kb-bg-video-iframe {
	min-height: 100% !important;
	aspect-ratio: 16 / 9 !important;
}

.z-on-hov {
	overflow: hidden;
}
.z-on-hov a:has(p) {
	width: fit-content;
	margin: 0 auto;
	z-index: 9;
}
.z-on-hov .kt-inside-inner-col::before {
	filter: blur(0) brightness(100%);
	transition: filter 0.4s ease-in-out;
}

.z-on-hov:hover .kt-inside-inner-col::before {
	filter: blur(5px) brightness(70%);
}
.kadence-splide-wrap .kt-post-slider-item:hover .entry-title {
	color: var(--global-palette2);
}

/*********** MOST POPULAR *********/
.wp-block-kadence-slider .wp-block-kadence-image:not(:last-child) {
	margin-bottom: 0;
}
.wp-block-kadence-slider .wp-block-kadence-image .kb-is-ratio-image {
	overflow: clip;
}
.wp-block-kadence-slider .kt-blocks-carousel .splide__slide img {
	transition: transform 0.4s ease-in-out;
}
.wp-block-kadence-slider .kt-blocks-carousel .splide__slide a:hover img {
	transform: scale(1.1);
}
.single-content .mp-supertitle {
	font-size: 12px;
	letter-spacing: 0.1em;
	margin-block: 16px 22px;
}
.single-content .mp-title {
	font-size: 28px;
	margin: 0;
}
.kb-slider-type-carousel .splide__arrows {
	display: none;
}
.kb-splide .splide__pagination,
.kb-splide ul.splide__pagination.splide__pagination {
	bottom: -50px;
	padding: 0 18px 0 0;
}
.kb-splide .splide__pagination li {
	flex-grow: 1;
}
.kb-splide .splide__pagination li button {
	--_bg-color: var(--global-palette5);
	border-radius: 0;
	height: 7px;
	margin: 0;
	padding: 2px 0;
	width: 100%;
}
.kb-splide .splide__pagination__page {
	background: linear-gradient(0deg, transparent 3px, var(--_bg-color) 3px, var(--_bg-color) 4px, transparent 4px);
	opacity: 1;
}
.color-switch-dark .kb-splide .splide__pagination__page {
	--_bg-color: var(--global-palette7);
}
.kb-splide .splide__pagination__page.is-active {
	background: var(--global-palette1);
}
.color-switch-dark .splide__pagination__page.is-active {
	background: var(--global-palette3);
}
@media (width >= 768px) {
	.kb-splide .splide__pagination {
		display: none;
	}
	.kb-slider-type-carousel .splide__arrows {
		display: flex;
		border: 1px solid var(--ld-border-color);
		width: 120px;
		height: 50px;
		position: absolute;
		right: 125px;
		top: -131px;
	}
	.color-switch-dark .kb-slider-type-carousel .splide__arrows {
		border-color: var(--global-palette7);
	}
	.kb-splide .splide__arrow {
		background: transparent;
		position: relative;
		width: 60px;
		height: 50px;
		border: 0;
		opacity: 1;
	}
	.kb-splide .splide__arrow svg {
		display: none;
	}
	.kb-splide .splide__arrow::before {
		content: '';
		width: 16px;
		height: 16px;
		top: 50%;
		transition: all 0.3s linear;
	}
	.kb-splide .splide__arrow--prev {
		left: 0;
	}
	.kb-splide .splide__arrow--prev::before {
		background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.825 9 5.6 5.6L8 16 0 8l8-8 1.425 1.4-5.6 5.6H16v2H3.825Z' fill='%23000'/%3E%3C/svg%3E%0A");
	}
	.color-switch-dark .kb-splide .splide__arrow--prev::before {
		background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.825 9 5.6 5.6L8 16 0 8l8-8 1.425 1.4-5.6 5.6H16v2H3.825Z' fill='%23fff'/%3E%3C/svg%3E%0A");
	}
	.kb-splide .splide__arrow--next {
		right: 0;
	}
	.kb-splide .splide__arrow--next::before {
		background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.175 9H0V7h12.175l-5.6-5.6L8 0l8 8-8 8-1.425-1.4 5.6-5.6Z' fill='%23000'/%3E%3C/svg%3E%0A");
	}
	.color-switch-dark .kb-splide .splide__arrow--next::before {
		background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.175 9H0V7h12.175l-5.6-5.6L8 0l8 8-8 8-1.425-1.4 5.6-5.6Z' fill='%23fff'/%3E%3C/svg%3E%0A");
	}
	.kb-splide .splide__arrow:hover {
		background: transparent;
	}
	.splide__arrows .splide__arrow--prev:hover:before {
		background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.825 9 5.6 5.6L8 16 0 8l8-8 1.425 1.4-5.6 5.6H16v2H3.825Z' fill='%23B41538'/%3E%3C/svg%3E%0A");
	}
	.splide__arrows .splide__arrow--next:hover:before {
		background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.175 9H0V7h12.175l-5.6-5.6L8 0l8 8-8 8-1.425-1.4 5.6-5.6Z' fill='%23B41538'/%3E%3C/svg%3E%0A");
	}
	.kb-splide .splide__arrow--prev:hover::before {
		margin-left: -16px;
	}
	.kb-splide .splide__arrow--next:hover::before {
		margin-right: -16px;
	}
}
@media (width < 768px) {
	.kb-advanced-slider .kb-splide .splide__list {
		margin-right: 80px !important;
	}
	.kb-advanced-slider .kb-splide .splide__track {
		margin-right: -18px;
	}
	.wp-block-kadence-postgrid {
		margin-right: -18px;
	}
	.kt-post-slider-item {
		width: 80% !important;
	}
}

/*********** CPT archives *********/
#hero-grid {
	--_max-height: clamp(370px, (100vw - 767px) * 999, clamp(480px, (100vw - 1024px) * 999, 700px));
}
#hero-grid .kt-row-column-wrap {
	grid-template-rows: var(--_max-height);
}
#hero-grid .wp-block-kadence-column {
	grid-row: 1;
	grid-column: 1;
}
#hero-grid .wp-block-kadence-column:first-child .kt-inside-inner-col div {
	height: var(--_max-height);
}

#hero-grid .kb-gallery-ul .kadence-blocks-gallery-item img {
	aspect-ratio: auto !important;
	filter: brightness(0.6) contrast(1.2);
}

/**********************************
 ************ LIFESTYLE ***********
 *********************************/

/* 1 - 575 - 2 - 880 - 3 - 1158 - 4 --- */
.post-type-archive-lifestyle {
	--_loop-cols: 1;
	@media (width >= 575px) {
		--_loop-cols: 2;
	}
	@media (width >= 880px) {
		--_loop-cols: 3;
	}
	@media (width >= 1158px) {
		--_loop-cols: 4;
	}
}
.post-type-archive-lifestyle #archive-container {
	grid-template-columns: repeat(var(--_loop-cols), 1fr);
	grid-auto-rows: 405px;
	gap: 30px;
}
.kb-query-item .country-flag {
	width: 60px;
	margin: 0 16px 0 0;
}
.kb-query-item .button.enquire-button {
	background: linear-gradient(to left, var(--global-palette7) 0%, var(--global-palette7) 50%, var(--global-palette2) 50%, var(--global-palette2) 100%);
	padding: 14px 24px;
	position: relative;
	z-index: 100;
}
.kb-query-item .sales-closed {
	background-color: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(10px);
	color: #000;
	cursor: default;
	font-size: 14px;
	margin-top: -3px;
	padding: 12.6px 18px;
	text-transform: uppercase;
}
.kb-query-item .kt-inside-inner-col {
	display: flex;
}
.kb-query-item .wp-block-group {
	column-gap: 0;
	min-height: 80px;
	padding: 16px 16px 0;
}
.cpt-arch-loop-text {
	backdrop-filter: blur(10px);
	border-radius: 0 0 4px 4px;
}
.kb-query-item .kt-inside-inner-col .wp-block-kadence-spacer {
	flex-grow: 1;
}
.kb-query-item .kt-inside-inner-col:has(.sales-closed) * {
	z-index: 2;
	position: relative;
}
.kb-query-item .kt-inside-inner-col:has(.sales-closed):before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 1);
	z-index: 1;
}
.lifestyle-filters.facetwp-template {
	display: none;
}

/******** Lifesyle: filters *******/
.color-switch-dark .wp-block-kadence-advancedbtn .facetwp-flyout-open.kb-button {
	border-color: var(--global-palette7);
}
body .facetwp-flyout {
	width: 800px;
	background: var(--global-palette8);
}
body .facetwp-flyout-content {
	padding: 0;
	margin: 62px 0 30px;
}
@media (width < 460px) {
	body .facetwp-flyout-content {
		margin: 43px 20px 30px;
	}
}
body .facetwp-flyout h3 {
	text-transform: uppercase;
}
.facetwp-flyout-content > h3 {
	margin: 0 0 70px 130px;
}
@media (width > 740px) {
	.facetwp-flyout-content > h3 {
		margin-left: 0;
	}
}
.facetwp-flyout-wrap {
	max-width: 418px;
	margin-inline: auto;
	left: 50%;
	transform: translateX(-50%);
}
.flyout-row.name-reset_filter h3 {
	display: none;
}
.flyout-row h3 {
	font-size: 20px;
	line-height: 1em;
	letter-spacing: 0.03em;
	color: var(--global-palette1);
	margin-bottom: 10px;
}
body :is(.facetwp-input-wrap, .fs-wrap, .facetwp-search) {
	width: 100%;
}
/* fSelect design */
.fs-search {
	display: none;
}
.facetwp-facet .fs-dropdown {
	border: 0;
}
body .fs-dropdown .fs-options {
	max-height: 222px;
	overscroll-behavior: contain;
}
.fs-options .fs-option {
	background-color: var(--global-palette5);
	border-bottom: 1px solid var(--global-palette8);
	padding: 1.2em 1.5em;
	transition: all 0.3s ease;
}
.fs-options .fs-option:hover {
	background-color: var(--global-palette4);
}
.color-switch-dark .fs-options .fs-option {
	background-color: var(--global-palette4);
}
.color-switch-dark .fs-options .fs-option:hover {
	background-color: var(--global-palette7);
}
.fs-options .fs-option.selected {
	background-color: var(--global-palette2);
	color: var(--global-palette9);
	position: relative;
}
.fs-wrap.multiple .fs-option .fs-checkbox {
	display: none;
}
.fs-options .fs-option.selected .fs-option-label::after {
	content: url("data:image/svg+xml,%3Csvg width='18' height='13' viewBox='0 0 18 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.54961 13L0.849609 7.29998L2.27461 5.87498L6.54961 10.15L15.7246 0.974976L17.1496 2.39998L6.54961 13Z' fill='white'/%3E%3C/svg%3E");
	position: absolute;
	top: 1.2em;
	right: 1.5em;
}

/* buttons */
body .facetwp-flyout-close {
	background-image: linear-gradient(to left, var(--global-palette8) 0%, var(--global-palette8) 50%, var(--global-palette2) 50%, var(--global-palette2) 100%);
	border: 1px solid var(--ld-border-color);
	font-size: 0;
	padding: 11px 27px;
	position: absolute;
	top: clamp(33px, (100vw - 459px) * 99, 50px);
	left: clamp(20px, (100vw - 529px) * 99, 50px);
	z-index: 1;
}
body .facetwp-flyout-close::before {
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="currentColor" d="M13.957 3.457l-1.414-1.414L8 6.586 3.457 2.043 2.043 3.457 6.586 8l-4.543 4.543 1.414 1.414L8 9.414l4.543 4.543 1.414-1.414L9.414 8z"></path></svg>');
	position: relative;
	top: 6px;
}
.color-switch-dark .facetwp-flyout-close::before {
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="white" d="M13.957 3.457l-1.414-1.414L8 6.586 3.457 2.043 2.043 3.457 6.586 8l-4.543 4.543 1.414 1.414L8 9.414l4.543 4.543 1.414-1.414L9.414 8z"></path></svg>');
}

.flyout-row.name-reset_filter {
	width: 65px;
	float: left;
}
.flyout-row.name-reset_filter button {
	background-image: linear-gradient(to left, var(--global-palette8) 0%, var(--global-palette8) 50%, var(--global-palette2) 50%, var(--global-palette2) 100%);
	width: 65px;
	height: 50px;
	border: 1px solid var(--ld-border-color);
	font-size: 0;
}
.flyout-row.name-reset_filter button::after {
	content: url('data:image/svg+xml,<svg width="25" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 21c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0 1 5.5 19V6h-1V4h5V3h6v1h5v2h-1v13c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 17.5 21h-10Zm10-15h-10v13h10V6Zm-8 11h2V8h-2v9Zm4 0h2V8h-2v9Z" fill="%23414141"/></svg>');
	transition: filter 0.3s ease;
}
body:not(.color-switch-dark) .flyout-row.name-reset_filter button:hover::after {
	filter: brightness(0) saturate(100%) invert(1);
}
.color-switch-dark .flyout-row.name-reset_filter button::after {
	content: url('data:image/svg+xml,<svg width="25" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 21c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0 1 5.5 19V6h-1V4h5V3h6v1h5v2h-1v13c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 17.5 21h-10Zm10-15h-10v13h10V6Zm-8 11h2V8h-2v9Zm4 0h2V8h-2v9Z" fill="%23d1d1d1"/></svg>');
}
body .facetwp-flyout-content > button {
	background-image: linear-gradient(to left, var(--global-palette7) 0%, var(--global-palette7) 50%, var(--global-palette2) 50%, var(--global-palette2) 100%);
	height: 50px;
	max-width: calc(100% - 65px);
	width: 100%;
}
.kb-query-item .button.enquire-button,
body .facetwp-flyout-close,
.flyout-row.name-reset_filter button,
body .facetwp-flyout-content > button {
	background-size: 201%;
	background-position: right;
	transition: background-position 0.3s linear;
}
.kb-query-item .button.enquire-button:hover,
body .facetwp-flyout-close:hover,
.flyout-row.name-reset_filter button:hover,
body .facetwp-flyout-content > button:hover {
	background-position: left;
}

/* search facet */
body :is(.fs-label-wrap, input.facetwp-search) {
	background-color: transparent;
	border-width: 0 0 1px 0;
	padding: 14px 16px;
	border-color: var(--global-palette5);
}
input.facetwp-search[type='text']:focus-within,
input.facetwp-search[type='text']:focus {
	box-shadow: none;
	border-bottom: 1px solid var(--global-palette5);
}
input.facetwp-search::placeholder {
	color: var(--global-palette4);
}

/**********************************
 ********* F1 HOSPITALITY *********
 *********************************/
.post-type-archive-hospitality {
	--_loop-cols: 1;
	@media (width >= 520px) {
		--_loop-cols: 2;
	}
	@media (width >= 730px) {
		--_loop-cols: 3;
	}
	@media (width >= 970px) {
		--_loop-cols: 4;
	}
	@media (width >= 1170px) {
		--_loop-cols: 5;
	}
}
.post-type-archive-hospitality #archive-container {
	grid-template-columns: repeat(var(--_loop-cols), 1fr);
	grid-auto-rows: 405px;
	gap: 30px;
}
.post-type-archive-hospitality .kb-query-item .country-flag {
	width: 45px;
}
.post-type-archive-hospitality .kb-query-item .button.enquire-button {
	font-size: 12px;
	padding: 12px 20px;
}

.custom-archive-loop-item.entry:is(.post-1809, .post-1826) {
	border-radius: 4px;
	outline: 2px solid var(--global-palette2);
}

.entry:is(.post-1809, .post-1826) .daterow {
	position: relative;
}
.entry:is(.post-1809, .post-1826) .daterow::after {
	content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAMAAACtdX32AAAAn1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8Kd3m4AAAANHRSTlMAzS/30e/itx/689fKq5M3KOjl1rykV1E6DwXTsYB2bGcsFdyemVtFQAzq2cKMhHlhSiYIgZd68gAAARRJREFUKM910YmyQzAUgOHYEsRSO7XXcnXfzvs/202odkb1M2OGfyQHaMnyUux6FlqzTxK1FmleqytRNbHjuNgFFzf9dzbgQ/5auAVO19hJcspFFVPQGcX2+bO7RS2dYsM94gMwf++wZVQTNEFmUk8DTti/akAp9Rx40yROo+GUG2Daq1mYJcBNnPUHexpJYflcBVUQAmBhZmiKP84Xsd10RWIHLHSIK2DNZ37rV6YJInJwJ7+6jOzoIh9hQqohjqx5Br0Lh2l3QQJQ/Oj14yzMottu+IV56gZ2y7bZa/SBYZBcRds6Fp9odyU+ikOrIfEToSQUhDy6Vxk+P/gaOSblOHpy8YyMpMYNjWrzeMp8mvHP9g8VaDP1tNgfXAAAAABJRU5ErkJggg==');
	position: absolute;
	right: 0;
	top: -1px;
}

/**********************************
 *********** INCENTIVES ***********
 *********************************/
.kb-query-item:is(.post-947, .post-1866, .post-1867) .kt-inside-inner-col {
	justify-content: center;
}
.kb-query-item:is(.post-1866, .post-1867) .wp-block-kadence-spacer {
	display: none;
}
body .kb-query-item:is(.post-947, .post-948, .post-1866, .post-1867) h2 {
	font-size: clamp(23px, 3vw, 28px);
	line-height: 1.2em !important;
	text-shadow: none;
	letter-spacing: 0.01em;
}
.kb-query-item:is(.post-947, .post-948, .post-1866, .post-1867) a.kb-section-link-overlay {
	pointer-events: none;
}
.kb-query-item:is(.post-947, .post-1866, .post-1867) h2 {
	color: #757575;
}
.kb-query-item.post-948 h2 {
	backdrop-filter: none;
	color: #000000;
	margin-top: 182px;
	text-align: center;
}
.kb-query-item.post-948 > .wp-block-kadence-column {
	background: #f7f7f7 no-repeat url(/wp-content/uploads/2025/04/logo-incent-cta.svg);
	background-position: top center;
	background-size: auto;
	border-radius: 4px;
}
.post-type-archive-incentive .kb-query-item:not(.post-948) .kb-buttons-wrap {
	display: none;
}
.post-type-archive-incentive .post-948 .kt-inside-inner-col {
	justify-content: flex-start;
}
.post-type-archive-incentive .kb-query-item:not(.post-948, .post-947) h2 {
	text-shadow: 0 0 50px rgb(0 0 0 / 0.3);
}

/**********************************
 *********** CPT Single ***********
 *********************************/
.cpt-single-hero .kt-row-overlay-normal {
	backdrop-filter: blur(4px);
}
body.single-auction .cpt-single-cta {
	display: none;
}
.cpt-single-cta {
	overflow: hidden;
	transition: max-height 0.7s linear;
}
.cpt-single-cta.sticky-active {
	position: sticky;
	top: 98px;
	max-height: 200px;
	z-index: 70; /* hogy a header alá/elé kerüljön igény szerint */
}
.single .single-content h2 {
	font-size: clamp(24px, (100vw - 767px) * 99, 28px);
	letter-spacing: 0.01em;
	line-height: 1;
	margin-block: 1em 0.6em;
}
.post-details :is(p, ul, h2, h3, h4, h5, .details-table, .kt_simple_share_container) {
	max-width: 350px;
	width: 100%;
	margin-inline: auto;
}
.post-details p:empty {
	display: none;
}
.single-content .details-table td {
	padding: 13px 0;
	border-bottom: 1px solid var(--global-palette4);
}
.details-table {
	border-collapse: collapse;
}
.details-table .detail-name {
	color: var(--global-palette3);
}
.details-table .detail-value {
	color: var(--global-palette1);
	text-align: right;
}
.single-content ul.key-features {
	list-style: none;
	padding-left: 0;
}
.single-content ul.key-features li {
	padding: 14px 0;
	border-bottom: 1px solid var(--global-palette4);
}

.mobile-gallery .splide .splide__arrow {
	border-radius: 0;
	height: 2em;
	opacity: 0.5;
}

.desktop-gallery {
	display: none;
}
@media (width > 768px) {
	.mobile-gallery {
		display: none;
	}
	.desktop-gallery {
		display: block;
	}
	.single .kb-gallery-ul {
		display: flex;
		flex-wrap: wrap;
	}
	body:is(.single-lifestyle, .single-hospitality)
		.kb-gallery-ul
		li:is(.kadence-blocks-gallery-item:nth-child(3n), .kadence-blocks-gallery-item:nth-child(3n - 1)) {
		max-width: 50%;
	}
	.single .kadence-blocks-gallery-item:first-of-type .kb-gallery-image-contain::before {
		content: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 18V10H2V14.6L14.6 2H10V0H18V8H16V3.4L3.4 16H8V18H0Z" fill="%23414141"/></svg>');
		background: #fff;
		padding: 18px 27px 14px;
		position: absolute;
		top: 10px;
		right: 10px;
		z-index: 2;
	}
}
.single-lifestyle.color-switch-dark .lf-det-key {
	background-color: var(--global-palette7);
}
.single .color-block {
	background-color: var(--global-palette6);
	padding: 1em 1.5em;
}

/******** SINGLE eve/inc/auc ******/
body.single:not(.single-lifestyle, .single-hospitality) .post-details h4 {
	color: var(--global-palette1);
	margin-top: 0;
	margin-bottom: 24px;
}
body.single:not(.single-lifestyle, .single-hospitality) .post-details hr {
	border-bottom: 1px solid var(--global-palette4);
	margin-bottom: 48px;
}
body.single:not(.single-lifestyle, .single-hospitality) .post-details hr:last-of-type {
	margin-bottom: 0;
}
/* body.single:not(.single-lifestyle, .single-hospitality) .post-details .kb-dynamic-html:has(hr) p:last-child {
	display: none;
	font-size: 0;
	line-height: 0;
} */
body.single:not(.single-lifestyle, .single-hospitality) .post-details p:not(:last-child) {
	margin-bottom: 20px;
}
.single-content .margin-center {
	margin-top: 40px;
	/* text-align: center; */
}
body .kt_simple_share_container.kt_share_shortcode {
	background-color: var(--global-palette6);
	padding-block: 24px;
}
.kt_share_shortcode .kt_simple_share_container {
	gap: 32px;
}
body .kt_simple_share_container :is(a, .kt-social-svg-icon) {
	border: none;
	width: 32px;
	height: 32px;
	background-position: center center;
	background-repeat: no-repeat;
}
body .kt_simple_share_container a .kt-social-svg-icon svg {
	display: none;
}
body .kt_simple_share_container a .kt-social-svg-icon {
	filter: invert(48%) sepia(0%) saturate(459%) hue-rotate(134deg) brightness(91%) contrast(68%);
}
body .kt_simple_share_container a:hover .kt-social-svg-icon {
	filter: invert(11%) sepia(62%) saturate(5554%) hue-rotate(337deg) brightness(110%) contrast(93%);
	scale: 1.1;
}
body .kt_simple_share_container a.kt_facebook_share .kt-social-svg-icon {
	background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 .72C6.665.72.665 6.706.665 14.08c0 6.666 4.88 12.2 11.253 13.2v-9.334H8.533V14.08h3.386v-2.947c0-3.347 1.987-5.187 5.04-5.187 1.454 0 2.974.254 2.974.254v3.293h-1.68c-1.654 0-2.174 1.027-2.174 2.08v2.507h3.707l-.6 3.866h-3.107v9.334a13.333 13.333 0 0 0 11.254-13.2c0-7.374-6-13.36-13.334-13.36Z' fill='%23000000'/%3E%3C/svg%3E");
}
body .kt_simple_share_container a.kt_linkedin_share .kt-social-svg-icon {
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.333 0A2.667 2.667 0 0 1 24 2.667v18.666A2.667 2.667 0 0 1 21.333 24H2.667A2.667 2.667 0 0 1 0 21.333V2.667A2.667 2.667 0 0 1 2.667 0h18.666Zm-.666 20.667V13.6a4.347 4.347 0 0 0-4.347-4.347c-1.133 0-2.453.694-3.093 1.734v-1.48h-3.72v11.16h3.72v-6.574a1.86 1.86 0 0 1 1.853-1.866 1.866 1.866 0 0 1 1.867 1.866v6.574h3.72ZM5.173 7.413a2.24 2.24 0 0 0 2.24-2.24c0-1.24-1-2.253-2.24-2.253A2.253 2.253 0 0 0 2.92 5.173c0 1.24 1.013 2.24 2.253 2.24Zm1.854 13.254V9.507H3.333v11.16h3.694Z' fill='%23000000'/%3E%3C/svg%3E");
}
body .kt_simple_share_container a.kt_pinterest_share .kt-social-svg-icon {
	background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.053 26.72c1.28.387 2.573.613 3.946.613A13.333 13.333 0 1 0 .666 14c0 5.667 3.56 10.533 8.587 12.453-.12-1.04-.24-2.76 0-3.946l1.533-6.587s-.387-.773-.387-2c0-1.84 1.147-3.213 2.454-3.213 1.146 0 1.68.84 1.68 1.92 0 1.146-.76 2.786-1.147 4.36-.227 1.306.693 2.453 2.027 2.453 2.373 0 4.213-2.533 4.213-6.107 0-3.2-2.293-5.386-5.587-5.386-3.76 0-5.973 2.8-5.973 5.746 0 1.147.373 2.307.987 3.067.12.08.12.187.08.387L8.746 18.6c0 .227-.147.307-.373.147-1.707-.747-2.694-3.174-2.694-5.134 0-4.213 2.987-8.04 8.747-8.04 4.587 0 8.16 3.294 8.16 7.667 0 4.587-2.84 8.267-6.907 8.267-1.293 0-2.56-.694-3.013-1.507l-.893 3.16c-.307 1.147-1.147 2.68-1.72 3.6v-.04Z' fill='%23000000'/%3E%3C/svg%3E");
}
body .kt_simple_share_container a.kt_twitter_share .kt-social-svg-icon {
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.283 10.386 23.218 0H21.1l-7.758 9.018L7.147 0H0l9.37 13.636L0 24.527h2.117l8.193-9.523 6.543 9.523H24l-9.717-14.141Zm-2.9 3.37-.95-1.357L2.88 1.594h3.252l6.096 8.72.95 1.358 7.924 11.334h-3.253l-6.466-9.249Z' fill='%23000000'/%3E%3C/svg%3E");
}
body .kt_simple_share_container a:hover {
	background: none !important;
	border: none !important;
}

/******* Mobile Menu (footer)******/
#mobile-drawer .wp-block-image {
	padding-top: 35px;
}
#mobile-drawer .mobile-html-inner p {
	color: var(--global-palette4);
	letter-spacing: 0.02em;
}
#mobile-drawer .wp-block-kadence-advancedbtn {
	margin-inline: -10px;
}

/************* FOOTER *************/
.site-footer-row.site-footer-row-columns-1 .site-footer-section {
	display: block;
}
body .footer-widget3 {
	flex: 1 1 100% !important;
}
body .footer-social {
	flex: 1 1 48%;
}
body .footer-widget4 {
	flex: 1 1 52%;
}

.footer-widget4 .kb-buttons-wrap {
	justify-content: left;
}
.site-bottom-footer-inner-wrap {
	border-top: 1px solid var(--global-palette9);
}
:is(.footer-widget1, .footer-widget2) {
	max-width: 235px;
	width: 100%;
	margin-inline: auto;
}

@media (width > 768px) {
	.site-top-footer-wrap .site-container {
		position: relative;
	}
	.site-top-footer-wrap .site-container:after {
		content: '';
		position: absolute;
		top: 0;
		left: 50%;
		width: 1px;
		height: 100%;
		background-color: var(--global-palette9);
	}
	.footer-widget2 {
		max-width: 350px;
		margin-inline: auto 0;
	}
}
@media (width < 768px) {
	.site-middle-footer-inner-wrap {
		border-top: 1px solid var(--global-palette9);
	}
}
@media (width < 380px) {
	body :is(.footer-social, .footer-widget4) {
		flex: 1 1 100%;
	}
	body .footer-widget-area.content-align-center .footer-social-inner-wrap {
		justify-content: center;
	}
	body .footer-widget4 .kb-buttons-wrap {
		justify-content: center;
	}
}
.color-switch-dark #colophon {
	background-color: #000000;
}
.color-switch-dark .gpm-footer-logo figure {
	filter: invert(94%) sepia(0%) saturate(0%) hue-rotate(101deg) brightness(91%) contrast(90%);
}
/********** SEARCH Popup **********/
.wp-block-kadence-search {
	max-width: 410px;
	margin-inline: auto;
}
.kb-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
}
.kb-search-input-wrapper > * {
	flex: 1 1 100%;
}
.kb-search-form input[type='text']:focus,
.kb-search-form .kb-search-input:focus,
.kb-search-form input[type='text']:focus-visible,
.kb-search-form .kb-search-input:focus-visible {
	box-shadow: none;
}
.kb-search-form button.kb-button {
	border-radius: 0;
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 18px 32px;
}
.kb-search-form .wp-block-kadence-advancedbtn {
	margin-left: auto;
}

/************* CONTACT ************/
.contact-content .wp-block-kadence-column {
	position: relative;
}
.contact-content .kt-svg-icons {
	position: absolute;
	top: 0;
	right: 0;
}
.contact-content .kb-button {
	min-width: 162px;
}
@media (width < 768px) {
	.contact-content .kt-svg-icons {
		left: 50%;
		transform: translateX(-50%);
		top: 50px;
	}
	.contact-addresses .kt-inside-inner-col .wp-block-kadence-advancedheading {
		max-width: 256px;
		margin-inline: auto;
	}
}
@media (width < 430px) {
	.contact-content .wp-block-group {
		flex-direction: column;
	}
	.contact-content .wp-block-group p {
		text-align: center;
	}
}

/********** GRAVITY FORM **********/
.gform_wrapper
	:is(.gform_validation_container, .gform_validation_errors, .gform_heading, .gfield_visibility_hidden, .hidden_label legend, .admin-hidden-markup),
.post-type-archive-incentive .enquire-about > * {
	display: none;
}
.gform_wrapper form {
	position: relative;
}

.kadence-conversion-wrap:not(.enquire-popup) .gform_wrapper {
	max-width: 410px;
	margin: 0 auto;
	position: relative;
}
body .gfield:not(.gfield--type-consent) {
	padding-bottom: 40px;
	position: relative;
}

/* floating labels */
:is(input, textarea)::placeholder {
	color: transparent;
}
.gfield:not(.gfield--type-consent) label {
	cursor: text;
	position: absolute;
	top: 14px;
	left: 15px;
	transition: all 0.3s ease;
}
.gfield:not(.gfield--type-consent):has(input:focus-within) label,
.gfield.gfield_error:not(.gfield--type-consent) label,
.gfield:not(.gfield--type-consent):has(input:not(:placeholder-shown)) label {
	font-size: 75%;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	top: 0px;
}
.gfield:not(.gfield--type-consent):has(textarea:focus-within) label,
.gfield.gfield_error:not(.gfield--type-consent):has(textarea) label,
.gfield:not(.gfield--type-consent):has(textarea:not(:placeholder-shown)) label {
	font-size: 75%;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	top: -2px;
	left: 0;
}
/* end floating labels */

body .gfield input {
	padding: 21px 16px 7px;
}
body .gfield textarea {
	padding: 14px 0 7px;
}
.gfield--type-consent {
	margin: 16px 0 0 0;
	max-width: 400px;
	padding: 10px 0 10px 32px;
	border: 0;
	line-height: 1.2;
	display: inline-block;
}

body
	:is(.gfield, .kb-search)
	:is(
		input[type='text'],
		input[type='email'],
		input[type='tel'],
		textarea,
		input[type='text']:focus-visible,
		input[type='email']:focus-visible,
		input[type='tel']:focus-visible,
		textarea:focus-visible
	) {
	background-color: transparent !important;
	border: 0;
	border-bottom: 1px solid var(--global-palette5);
	border-radius: 0;
	box-shadow: none;
	color: var(--global-palette1);
	width: 100%;
}
body .gfield.gfield_error :is(input:not([type='checkbox']), textarea) {
	border-color: var(--global-palette2);
}
.color-switch-dark .gfield.gfield_error :is(input:not([type='checkbox']), textarea) {
	border-color: color-mix(in hsl, var(--global-palette2), #fff 40%);
}
.gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
}
.gform_wrapper .gfield {
	grid-column: 1/-1;
}
.gform_wrapper :is(.enquire-title, .enquire-subtitle) {
	max-width: 410px;
	margin-inline: auto;
	text-align: center;
}
body .gform_wrapper .gfield.enquire-title {
	padding-bottom: 0;
}
body .gform_wrapper .enquire-about {
	border-bottom: 0 solid transparent;
}
body .gform_wrapper .enquire-about input[type='text'] {
	text-align: center;
	border-bottom: 0;
	color: var(--global-palette2);
}

@media (width > 640px) {
	.gform_wrapper .gform_fields {
		column-gap: 30px;
	}
	.gform_wrapper .gfield.gfield--width-half {
		grid-column: span 6;
	}
	.gform_wrapper #field_1_7 {
		grid-column: span 8;
	}
}
.kadence-conversion-wrap.enquire-popup .gform_wrapper {
	max-width: 673px;
	margin: 0 auto;
}

.gform_wrapper input[type='checkbox'] {
	position: absolute;
	left: -9999px;
	width: 1px;
}
.gform_wrapper .ginput_container_consent label {
	cursor: pointer;
	position: relative;
}
.gform_wrapper .ginput_container_consent label:before {
	content: '';
	position: absolute;
	left: -32px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	border: 1px solid var(--ld-border-color);
	transition: 0.2s linear;
}
.gform_wrapper .ginput_container_consent label:after {
	content: '';
	width: 4px;
	height: 8px;
	border-right: 2px solid var(--global-palette9);
	border-bottom: 2px solid var(--global-palette9);
	position: absolute;
	top: calc(50% - 1px);
	transform: translateY(-50%) rotate(45deg) scale(0);
	left: -26px;
	opacity: 0;
}
.gform_wrapper .ginput_container_consent input[type='checkbox']:checked + label:before {
	border-color: var(--global-palette2);
	background: var(--global-palette2);
}
.gform_wrapper .ginput_container_consent input[type='checkbox']:checked + label:after {
	opacity: 1;
	transform: translateY(-50%) rotate(45deg) scale(1);
}
/***** END GF Custom checkbox *****/

.gfield_validation_message {
	color: var(--global-palette2);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	margin-top: 6px;
}
.gfield:not(.gfield--type-consent) .gfield_validation_message {
	text-align: end;
}
.color-switch-dark :is(.gfield_validation_message, #input_2_6) {
	color: color-mix(in hsl, var(--global-palette2), #fff 40%);
}

@media (width > 768px) {
	.gform-footer {
		position: absolute;
		right: 0;
		bottom: 0;
	}
}
.gform-footer input[type='submit'] {
	background: linear-gradient(to left, var(--global-palette7) 0%, var(--global-palette7) 50%, var(--global-palette2) 50%, var(--global-palette2) 100%) right /
		200% no-repeat;
	transition: background-position 0.3s linear;
	position: relative;
	max-width: 255px;
	z-index: 10;
}
.newsletter-popup .gform-footer input[type='submit'] {
	max-width: 134px;
}
.gform-footer input[type='submit']:hover {
	background: linear-gradient(to left, var(--global-palette7) 0%, var(--global-palette7) 50%, var(--global-palette2) 50%, var(--global-palette2) 100%) left /
		200% no-repeat;
}
@media (width < 768px) {
	.gform-footer {
		margin-top: 20px;
	}
}

/* gform confirmation */
.gform_confirmation_message {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	gap: 16px;
	height: min(65dvh, 454px);
	text-align: center;
}
.gform-success-big {
	font-size: 28px;
	font-weight: 500;
	font-family: ClashDisplay;
	line-height: 1;
	margin: 0;
}
.gform_confirmation_message p {
	margin: 0;
}
