/*
Theme Name: Reveali io Theme
Author: Reveali
Author URI: 
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: reveali-io-theme
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.1

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
	text-decoration: none;
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
	height: stretch !important;
}

/* 
 * Vertical Alignment Fix for Columns:
 * When .wp-block-column has height: stretch !important applied, 
 * align-self: center on the column box is overridden.
 * This flex rule centers the content INSIDE .is-vertically-aligned-center columns.
 */
.wp-block-column.is-vertically-aligned-center {
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
}

/* 
 * Fix WordPress Core Global Styles Conflict:
 * Class name collision between border color setting (.has-border-color) 
 * and color preset named 'border' (.has-border-color { color: var(--wp--preset--color--border) !important; }).
 * Forces container blocks with border color to inherit proper text color instead of faint border color.
 */
.wp-block-group.has-border-color,
.wp-block-column.has-border-color,
.wp-block-columns.has-border-color,
.wp-block-cover.has-border-color,
div.has-border-color,
section.has-border-color {
	color: inherit !important;
}

/* 
 * Fit Content Styles for Row / Group blocks (Centered, Left, Right) & Tag Pill
 */
.wp-block-group.is-fit-content,
.wp-block-group.is-style-fit-content,
.fit-content {
	width: fit-content !important;
	max-width: fit-content !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.wp-block-group.is-style-fit-content-left,
.fit-content-left {
	width: fit-content !important;
	max-width: fit-content !important;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.wp-block-group.is-style-fit-content-right,
.fit-content-right {
	width: fit-content !important;
	max-width: fit-content !important;
	margin-left: auto !important;
	margin-right: 0 !important;
}

.wp-block-group.is-style-tag-pill {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 6px 16px !important;
	border-radius: 9999px !important;
}

/* 
 * Block Style: Center Last Row (.is-style-center-last-row)
 * Apply this style to Grid / Group blocks when an odd number of items causes leftover items in the last row.
 * Centers the last item without affecting standard multi-column grid layouts elsewhere on the site.
 */
.wp-block-group.is-style-center-last-row> :last-child:nth-child(3n + 1),
.is-style-center-last-row> :last-child:nth-child(3n + 1),
.center-last-row> :last-child:nth-child(3n + 1) {
	grid-column: 2 !important;
}

.wp-block-group.is-style-center-last-row> :last-child:nth-child(2n + 1),
.is-style-center-last-row> :last-child:nth-child(2n + 1),
.center-last-row> :last-child:nth-child(2n + 1) {
	grid-column: 1 / -1 !important;
	justify-self: center !important;
	width: 50% !important;
	max-width: 100% !important;
}

.wp-block-group.is-style-center-last-row> :last-child:nth-child(4n + 1),
.is-style-center-last-row> :last-child:nth-child(4n + 1),
.center-last-row> :last-child:nth-child(4n + 1) {
	grid-column: 2 / span 2 !important;
	justify-self: center !important;
}

.demo-form {
	width: 100%;
	max-width: 704px;
	margin: 0 auto;
	padding: 2.5rem;
	border: 1px solid #263b5c;
	border-radius: 16px;
	background: #08152d;
	box-sizing: border-box;
}

.demo-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

.demo-form .form-field {
	width: 100%;
}

.demo-form .form-field p {
	margin: 0px 0px 15px 0px;
}

.demo-form .full-width {
	margin-bottom: 35px;
}

.demo-form .form-input,
.demo-form .form-textarea {
	width: 100%;
	display: block;
	box-sizing: border-box;
	border: 1px solid #294263;
	border-radius: 7px;
	background: transparent;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-form .form-input {
	height: 47px;
	padding: 0 15px;
}

.demo-form .form-textarea {
	height: 126px;
	padding: 13px 15px;
	resize: vertical;
}

.demo-form .form-input::placeholder,
.demo-form .form-textarea::placeholder {
	color: #7d9bc5;
	opacity: 1;
}

.demo-form .form-input:focus,
.demo-form .form-textarea:focus {
	border-color: #3b5d86;
	box-shadow: 0 0 0 1px #3b5d86;
}

.demo-form .form-submit {
	width: 100%;
}

.demo-form .form-button {
	width: 100%;
	height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: #f9a51a;
	color: #06142c;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.demo-form .form-button:hover {
	background: #ffb52d;
}

.demo-form .form-button:active {
	transform: translateY(1px);
}

/* CF7 validation */
.demo-form .wpcf7-not-valid {
	border-color: #e74c3c;
}

/* .demo-form .wpcf7-not-valid-tip {
	display: none;
} */


.wpcf7-not-valid-tip {
	position: absolute;
}

.demo-form .text-area-container .wpcf7-not-valid-tip {
	top: 15px !important;
}

@media (max-width: 767px) {
	.demo-form .form-field p {
		margin: 0px 0px 0px 0px;
	}

	.demo-form .wpcf7-not-valid-tip {
		position: static !important;
		display: block;
		margin-top: 6px;
		line-height: 1.4;
	}

	.demo-form .text-area-container .wpcf7-not-valid-tip {
		top: auto !important;
		margin-top: 6px;
	}
}

.demo-form .field-container .wpcf7-not-valid-tip {
	font-size: 12px;
}

.demo-form .wpcf7-response-output {
	margin: 15px 0 0;
	padding: 10px 15px;
	border-radius: 6px;
	font-size: 14px;
}

/* Mobile */
@media (max-width: 767px) {
	.demo-form {
		padding: 25px 20px;
		border-radius: 12px;
	}

	.demo-form .form-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.demo-form .form-input {
		height: 48px;
	}

	.demo-form .form-textarea {
		height: 120px;
	}
}

.wpcf7-spinner {
	display: none !important;
}

/* Reset top and bottom margins on post content container */
.entry-content.wp-block-post-content,
.wp-block-post-content,
:where(.wp-block-post-content) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* 
 * Background Image Slider (Hero / Feature Section Layout)
 * Absolute positioning to top-right with smooth left-side fade gradient.
 */
.wp-block-group:has(.bg-image-slider),
section:has(.bg-image-slider) {
	position: relative !important;
	overflow: hidden !important;
}

/* Ensure foreground content stays above the background image slider */
.wp-block-group:has(.bg-image-slider)>*:not(.bg-image-slider) {
	position: relative !important;
	z-index: 2 !important;
}

.bg-image-slider {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 60% !important;
	height: 100% !important;
	z-index: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 90%, #000 100%);
	mask-image: linear-gradient(to right, transparent 0%, #000 90%, #000 100%);
}

.bg-image-slider figure,
.bg-image-slider .wp-block-image {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0;
	transition: opacity 1.5s ease-in-out !important;
	z-index: 1;
}

.bg-image-slider figure.is-active,
.bg-image-slider .wp-block-image.is-active,
.bg-image-slider:not(.is-initialized) figure:first-child,
.bg-image-slider:not(.is-initialized) .wp-block-image:first-child {
	opacity: 1 !important;
	z-index: 2 !important;
}

.bg-image-slider figure img,
.bg-image-slider .wp-block-image img,
.bg-image-slider img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center right !important;
	margin: 0 !important;
}

/* Responsive adjustments for mobile/tablet screens */
@media (max-width: 991px) {
	.bg-image-slider {
		width: 100% !important;
		opacity: 0.3 !important;
		-webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
	}
}

/* 
 * Sticky Header
 */

.sticky-header {
    position: fixed !important;
    top: 0;
    width: 100%;
/*     padding: 10px; */
    z-index: 1000;
	 box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}


/* header.site-header,
.site-header,
header.wp-block-template-part {
	position: sticky !important;
	top: 0 !important;
	z-index: 9999 !important;
} */

/* body.admin-bar header.site-header,
body.admin-bar .site-header,
body.admin-bar header.wp-block-template-part {
	top: 32px !important;
}

@media screen and (max-width: 782px) {

	body.admin-bar header.site-header,
	body.admin-bar .site-header,
	body.admin-bar header.wp-block-template-part {
		top: 46px !important;
	}
} */

/* 
 * Responsive Section Padding Override for hardcoded/inline block styles (7rem, 8rem, etc.)
 */
@media screen and (max-width: 1440px) {

	div[style*="padding-top: 7rem"],
	div[style*="padding-top:7rem"],
	div[style*="padding-top: 8rem"],
	div[style*="padding-top:8rem"] {
		padding-top: clamp(3.5rem, 6vw, 6rem) !important;
	}

	div[style*="padding-bottom: 7rem"],
	div[style*="padding-bottom:7rem"],
	div[style*="padding-bottom: 8rem"],
	div[style*="padding-bottom:8rem"] {
		padding-bottom: clamp(3.5rem, 6vw, 6rem) !important;
	}
}

@media screen and (max-width: 1024px) {

	div[style*="padding-top: 7rem"],
	div[style*="padding-top:7rem"],
	div[style*="padding-top: 8rem"],
	div[style*="padding-top:8rem"] {
		padding-top: clamp(2.5rem, 4vw, 3.5rem) !important;
	}

	div[style*="padding-bottom: 7rem"],
	div[style*="padding-bottom:7rem"],
	div[style*="padding-bottom: 8rem"],
	div[style*="padding-bottom:8rem"] {
		padding-bottom: clamp(2.5rem, 4vw, 3.5rem) !important;
	}
}

@media screen and (max-width: 767px) {

	div[style*="padding-top: 7rem"],
	div[style*="padding-top:7rem"],
	div[style*="padding-top: 8rem"],
	div[style*="padding-top:8rem"] {
		padding-top: 2rem !important;
	}

	div[style*="padding-bottom: 7rem"],
	div[style*="padding-bottom:7rem"],
	div[style*="padding-bottom: 8rem"],
	div[style*="padding-bottom:8rem"] {
		padding-bottom: 2rem !important;
	}
}

/* 
 * Scroll Entrance Animations (Section-by-Section on Scroll)
 * Add classes (e.g. fade-up, fade-in, fade-left, fade-right, zoom-in) to Gutenberg block settings under "Additional CSS Class(es)"
 */
.fade-up,
.fade-in,
.fade-left,
.fade-right,
.zoom-in,
[class*="animate-"] {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up,
.animate-fade-up {
	transform: translate3d(0, 32px, 0);
}

.fade-in,
.animate-fade-in {
	transform: translate3d(0, 0, 0);
}

.fade-left,
.animate-fade-left {
	transform: translate3d(32px, 0, 0);
}

.fade-right,
.animate-fade-right {
	transform: translate3d(-32px, 0, 0);
}

.zoom-in,
.animate-zoom-in {
	transform: scale3d(0.95, 0.95, 1);
}

/* Revealed State when block comes into view */
.fade-up.is-animated,
.fade-in.is-animated,
.fade-left.is-animated,
.fade-right.is-animated,
.zoom-in.is-animated,
[class*="animate-"].is-animated {
	opacity: 1 !important;
	transform: translate3d(0, 0, 0) scale3d(1, 1, 1) !important;
}

/* Stagger delays for child columns/cards */
.stagger-children>*:nth-child(1) {
	transition-delay: 0.08s;
}

.stagger-children>*:nth-child(2) {
	transition-delay: 0.16s;
}

.stagger-children>*:nth-child(3) {
	transition-delay: 0.24s;
}

.stagger-children>*:nth-child(4) {
	transition-delay: 0.32s;
}

.stagger-children>*:nth-child(5) {
	transition-delay: 0.40s;
}

.stagger-children>*:nth-child(6) {
	transition-delay: 0.48s;
}

/* 
 * Keep elements 100% visible inside the WordPress Admin Block Editor canvas 
 * so editing content remains easy and blocks don't disappear while building.
 */
.editor-styles-wrapper .fade-up,
.editor-styles-wrapper .fade-in,
.editor-styles-wrapper .fade-left,
.editor-styles-wrapper .fade-right,
.editor-styles-wrapper .zoom-in,
.editor-styles-wrapper [class*="animate-"] {
	opacity: 1 !important;
	transform: none !important;
}

.wpcf7 form .wpcf7-response-output {
	display: flex;
	border: none;
	justify-content: center;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.75rem;
}

.wp-block-navigation .wp-block-navigation-item,
.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
	border: 1px solid transparent;
}

.current-menu-item .wp-block-navigation-item__label {
	color: var(--wp--preset--color--primary) !important;
}

:root :where(.wp-block-button.is-style-outline--2 .wp-block-button__link),
:root :where(.wp-block-button.is-style-outline--3 .wp-block-button__link),
:root :where(.wp-block-button.is-style-outline--4 .wp-block-button__link){
	border-color: var(--wp--preset--color--border-2) !important;
}


:root :where(.wp-block-button.is-style-outline--2 .wp-block-button__link):hover,
:root :where(.wp-block-button.is-style-outline--3 .wp-block-button__link):hover,
:root :where(.wp-block-button.is-style-outline--4 .wp-block-button__link):hover{
	    border-color: var(--wp--preset--color--contrast) !important;
    background-color: var(--wp--preset--color--bg-secondary);
}

:root :where(.wp-block-button .wp-block-button__link):hover{
	       opacity: 0.9;
}

.desktop-menu {
	display: block;
}

.mobile-menu {
	display: none;
}

@media (max-width: 783px) {
	.desktop-menu {
		display: none !important;
	}

	.mobile-menu {
		display: block !important;
	}
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu .wp-block-navigation__responsive-container.is-menu-open {
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;

	width: 100% !important;
	height: 100% !important;

	padding: 0 !important;
	margin: 0 !important;

	z-index: 99999 !important;

	overflow-x: hidden !important;
	overflow-y: auto !important;
}


/* =========================================================
   RESPONSIVE DIALOG
========================================================= */

.mobile-menu .wp-block-navigation__responsive-dialog {
	position: relative !important;

	display: flex !important;
	flex-direction: column !important;

	width: 100% !important;
	min-height: 100% !important;

	margin: 0 !important;
	padding: 0 !important;
	
	gap: 0px;
}


/* =========================================================
   LOGO
========================================================= */

.mobile-menu .wp-block-navigation__responsive-dialog>.wp-block-site-logo,
.mobile-menu .mobile-menu-logo {
	display: flex !important;
	align-items: center !important;

	width: 100% !important;
	min-height: 94px !important;

	box-sizing: border-box !important;

	margin: 0 !important;

	padding: 20px 30px 25px !important;

	border-bottom: 1px solid #8d9ab2 !important;

	flex-shrink: 0 !important;
}

.mobile-menu .wp-block-site-logo img {
	display: block !important;

	width: auto !important;
	max-width: 145px !important;
	height: auto !important;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.mobile-menu .wp-block-navigation__responsive-container-close {
	position: absolute !important;

	top: 30px !important;
	right: 18px !important;

	width: 35px !important;
	height: 35px !important;

	margin: 0 !important;
	padding: 5px !important;

	z-index: 999999 !important;

	background: transparent !important;
	border: 0 !important;
}

.mobile-menu .wp-block-navigation__responsive-container-close svg {
	width: 22px !important;
	height: 22px !important;
}


/* =========================================================
   MENU CONTENT
========================================================= */

.mobile-menu .wp-block-navigation__responsive-container-content {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;

	width: 100% !important;

	margin: 0 !important;
	padding: 0 !important;
}


/* =========================================================
   NAVIGATION
========================================================= */

.mobile-menu .wp-block-navigation {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mobile-menu .wp-block-navigation__container {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;

	width: 100% !important;
	margin: 0px 0px 0px 0px !important;
	padding: 0 !important;
	gap: 0px !important;
	list-style: none !important;
}


/* =========================================================
   ALL NAVIGATION ITEMS - RESET
========================================================= */

.mobile-menu .wp-block-navigation-item {
	position: relative !important;

	box-sizing: border-box !important;

	margin: 0 !important;
	padding: 0 !important;

	list-style: none !important;
}


/* =========================================================
   TOP LEVEL ITEMS
========================================================= */

.mobile-menu .wp-block-navigation__container>.wp-block-navigation-item {
	width: 100% !important;

	border-bottom: 1px solid #8d9ab2 !important;
}


/* =========================================================
   TOP LEVEL LINK
========================================================= */

.mobile-menu .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content {

	display: flex !important;
	align-items: center !important;

	width: 100% !important;
	min-height: 62px !important;

	box-sizing: border-box !important;

	margin: 0 !important;

	padding: 0 30px !important;

	text-decoration: none !important;
}


/* =========================================================
   TOP LEVEL HAS CHILD
========================================================= */

.mobile-menu .wp-block-navigation__container>.wp-block-navigation-item.has-child {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}


/* =========================================================
   SUBMENU TOGGLE
========================================================= */

.mobile-menu .wp-block-navigation-item.has-child>.wp-block-navigation-submenu__toggle {

	position: absolute !important;

	top: 0 !important;
	right: 20px !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 45px !important;
	height: 62px !important;

	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;

	border: 0 !important;

	cursor: pointer !important;

	z-index: 5 !important;
}


/* Arrow */
.mobile-menu .wp-block-navigation-item.has-child>.wp-block-navigation-submenu__toggle svg {

	width: 16px !important;
	height: 16px !important;

	transition: transform 0.25s ease !important;
}


/* Rotate arrow when open */
.mobile-menu .wp-block-navigation-item.has-child>.wp-block-navigation-submenu__toggle[aria-expanded="true"] svg {

	transform: rotate(180deg) !important;
}


/* =========================================================
   SUBMENU
   CLOSED BY DEFAULT
========================================================= */

.mobile-menu .wp-block-navigation-item.has-child>.wp-block-navigation__submenu-container {

	position: static !important;

	display: flex !important;
	flex-direction: column !important;

	width: 100% !important;
	min-width: 0 !important;

	box-sizing: border-box !important;

	margin: 0 !important;

	/* CLOSED */
	height: 0 !important;
	max-height: 0 !important;

	/*     padding: 0 30px 0 60px !important; */
	padding: 0px !important;
	overflow: hidden !important;

	opacity: 0 !important;
	visibility: hidden !important;

	background: transparent !important;

	border: 0 !important;
	box-shadow: none !important;

	transition:
		height 0.3s ease,
		max-height 0.3s ease,
		opacity 0.2s ease,
		visibility 0.2s ease !important;
}


/* =========================================================
   SUBMENU OPEN
========================================================= */

.mobile-menu .wp-block-navigation-item.has-child>.wp-block-navigation-submenu__toggle[aria-expanded="true"]+.wp-block-navigation__submenu-container {

	height: auto !important;
	max-height: 1000px !important;

	/*     padding: 0 30px 10px 60px !important; */
	padding: 0px !important;

	overflow: visible !important;

	opacity: 1 !important;
	visibility: visible !important;
}


/* =========================================================
   SUBMENU ITEMS
========================================================= */

.mobile-menu .wp-block-navigation__submenu-container>.wp-block-navigation-item {

	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;

	width: 100% !important;

	margin: 0 !important;
	padding: 0 !important;

	border-bottom: 1px solid #8d9ab2 !important;
}


/* Last submenu item */
.mobile-menu .wp-block-navigation__submenu-container>.wp-block-navigation-item:last-child {
	border-bottom: 0 !important;
}


/* =========================================================
   SUBMENU LINKS
========================================================= */

.mobile-menu .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {

	display: flex !important;
	align-items: center !important;

	width: 100% !important;
	min-height: 62px !important;

	box-sizing: border-box !important;

	margin: 0 !important;
	padding: 0 0 0 50px !important;

	text-decoration: none !important;
}


/* =========================================================
   NESTED SUBMENU
========================================================= */

.mobile-menu .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child>.wp-block-navigation__submenu-container {

	padding-left: 20px !important;
	padding-right: 0 !important;
}


/* =========================================================
   BUTTONS
========================================================= */

.mobile-menu .wp-block-navigation__responsive-container > .wp-block-buttons {

	display: flex !important;
	flex-direction: column !important;

	width: 100% !important;

	box-sizing: border-box !important;

	margin: 0 !important;

	padding: 25px 30px 30px !important;
}

.mobile-menu .wp-block-navigation__responsive-container .wp-block-buttons .wp-block-button {

	width: 100% !important;
}

.mobile-menu .wp-block-navigation__responsive-container .wp-block-buttons .wp-block-button__link {

	width: 100% !important;

	box-sizing: border-box !important;
}


/* =========================================================
   REMOVE WORDPRESS DEFAULT SUBMENU POSITIONING
========================================================= */

.mobile-menu .wp-block-navigation__submenu-container {

	left: auto !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;
}


/* =========================================================
   MOBILE ONLY
========================================================= */

@media (min-width: 782px) {

	.mobile-menu .wp-block-navigation__responsive-container.is-menu-open {
		display: none !important;
	}

}


.go-to-top-button {
	position: fixed !important;
	right: 12px !important;
	bottom: 80px !important;

	width: 45px !important;
	height: 45px !important;

	padding: 0 !important;
	margin: 0 !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	background: var(--wp--preset--color--primary) !important;
	color: #fff !important;

	border: 0 !important;
	border-radius: 50% !important;

	z-index: 999999 !important;

	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	cursor: pointer !important;
}

.go-to-top-button.show {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	cursor: pointer !important;
}

@media (max-width: 767px) {
	.go-to-top-button {
		right: 15px !important;
		bottom: 80px !important;
		width: 42px !important;
		height: 42px !important;
	}
}


@media (max-width: 600px) {
	.mobile-flex-column {
		flex-direction: column;
	}
}

@media (max-width: 781px) {
	.news-section .column-1 {
		border-bottom-left-radius: 0px !important;
		border-top-right-radius: 1rem !important;
	}

	.news-section .column-2 {
		border-top-right-radius: 0px !important;
		border-bottom-left-radius: 1rem !important;
	}
}

/* 1093px – 1119px */
@media (min-width: 1093px) and (max-width: 1119px) {
	.grid-4-column {
		grid-template-columns: repeat(auto-fill, minmax(min(9rem, 100%), 1fr)) !important;
	}
}


/* 914px – 1092px */
@media (min-width: 914px) and (max-width: 1092px) {
	.grid-4-column {
		grid-template-columns: repeat(auto-fill, minmax(min(8rem, 100%), 1fr)) !important;
	}
}

/* 752px – 913px */
@media (min-width: 752px) and (max-width: 913px) {
	.grid-4-column {
		grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr)) !important;
	}
}

/* 608px – 751px */
@media (min-width: 608px) and (max-width: 751px) {
	.grid-4-column {
		grid-template-columns: repeat(auto-fill, minmax(min(8rem, 100%), 1fr)) !important;
	}
}


/* 544px – 607px */
@media (min-width: 544px) and (max-width: 607px) {
	.grid-4-column {
		grid-template-columns: repeat(auto-fill, minmax(min(7rem, 100%), 1fr)) !important;
	}
}

/* 544px */
@media (max-width: 543px) {
	.grid-4-column {
		grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr)) !important;
	}
}


/* 760px – 975px */
@media (min-width: 760px) and (max-width: 975px) {
	.counter-group {
		grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr)) !important;
	}
}

/* 584px – 759px */
@media (min-width: 584px) and (max-width: 759px) {
	.counter-group {
		grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)) !important;
	}
}

/*  583px */
@media (max-width: 583px) {
	.counter-group {
		grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr)) !important;
	}
}

/* 784px – 851px */
@media (min-width: 784px) and (max-width: 851px) {
	.desktop-menu .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation__container{
		    column-gap: 8px;
	}
}

.site-footer {
	margin-top: 0px !important;
}

.on-hover {
    transition: transform 0.3s ease;
}

.on-hover:hover {
    transform: translateY(-5px) !important;
}


.on-hover-side {
    transition: transform 0.3s ease;
}

.on-hover-side:hover {
    transform: translateX(-5px) !important;
}


footer a:hover{
	color: var(--wp--preset--color--contrast);
}

.arrow-animation {
    animation: arrowUpDown 1.5s ease-in-out infinite;
}

@keyframes arrowUpDown {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.wp-block-social-link-anchor{
	font-size: 20px !important;
}

@media (min-width: 784px) {
    .desktop-menu .wp-block-navigation-item.has-child
    > .wp-block-navigation__submenu-container {
        opacity: 0;
        visibility: hidden;
		z-index: 999999999999;
    }
}


@media (max-width: 1100px) {
	.cost-box{
		position: relative !important;
    	right: 0 !important;
    	margin-bottom: 1rem !important;
    	width: 100% !important;
    	margin-left: 0 !important;
    	margin-right: 0 !important;
    	max-width: 100% !important;
	}
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.grecaptcha-badge{
	z-index: 9999999999;
}
