/*
Theme Name: The Setai St. Maarten
Theme URI: https://wordpress.org/themes/setai/
Author: the WordPress team
Author URI: https://wordpress.org
Description: The Setai St. Maarten emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: setai
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

@media screen and (min-width: 1024px) {
	html {
		font-size: 125%;
	}
}


/* Setai Styles */
.site-header {
	position: absolute;
	width: 100%;
	z-index: 3;
}

.site-header__container {
	display: grid;
	grid-template-columns: 1fr 100px 1fr;
	column-gap: 24px;
	justify-content: center;
}

@media (min-width: 1024px) {
	.site-header__container {
		grid-template-columns: 1fr 175px 1fr;
	}
}

.site-nav__container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.site-logo__container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-logo__container .wp-block-site-logo a {
	display: block;
}

.site-logo__container .wp-block-site-logo a img {
	width: 100px;
}

@media (min-width: 1024px) {
	.site-logo__container .wp-block-site-logo a img {
		width: 175px;
	}
}

.copyright__container {
	display: grid;
	justify-content: center;
}

.copyright__container .wp-block-social-links {
	justify-content: center;
}

@media (min-width: 1024px) {
	.copyright__container {
		justify-content: flex-end;
	}

	.copyright__container .wp-block-social-links {
		justify-content: flex-end;
	}
}

.hero {
	min-height: 450px;
}

@media (min-width: 1024px) {
	.hero {
		min-height: 750px;
	}
}

.grid-mosiac {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: repeat(8, 48px);
	gap: 16px;
}

.GridItemOne {
	grid-area: 1 / 1 / 5 / 5;
	margin: 0 !important;
	z-index: 2;
	overflow: hidden;
}

.GridItemTwo {
	grid-area: 2 / 4 / 9 / 7;
	margin: 0 !important;
	overflow: hidden;
}

.GridItemThree {
	grid-area: 5 / 1 / 8 / 4;
	margin: 0 !important;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.grid-mosiac {
		display: grid;
		grid-template-columns: repeat(8, 1fr);
		grid-template-rows: repeat(12, 48px);
		gap: 56px;
	}

	.GridItemOne {
		grid-area: 1 / 1 / 7 / 6;
		margin: 0 !important;
		z-index: 2;
		overflow: hidden;
	}

	.GridItemTwo {
		grid-area: 2 / 5 / 12 / 9;
		margin: 0 !important;
		overflow: hidden;
	}

	.GridItemThree {
		grid-area: 7 / 1 / 13 / 5;
		margin: 0 !important;
		overflow: hidden;
	}
}

.GridItemOne .wp-block-image,
.GridItemTwo .wp-block-image,
.GridItemThree .wp-block-image {
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.GridItemOne .wp-block-image img,
.GridItemTwo .wp-block-image img,
.GridItemThree .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
}

.site-header .site-header__container,
.section .section__container {
	max-width: var(--wp--style--global--wide-size);
	margin: 0 auto;
}

/* End Setai Styles */

.wp-block-image.is-style-rounded img {
	border-radius: 16px;
}

footer.site-footer {
	background: var(--wp--preset--color--base);
	margin-block-start: 0;
}

footer.site-footer .site-footer__container {
	max-width: var(--wp--style--global--wide-size);
	margin: 0 auto;
}

footer.site-footer .site-footer__container a {
	text-decoration: none;
}

.gform_required_legend {
	display: none !important;
}

.gfield_label {
	font-weight: bold !important;
}

.gform-button {
	border-radius: 32px !important;
	font-weight: bold !important;
}

.gform-theme--framework input[type="email"],
.gform-theme--framework input[type="text"],
.gform-theme--framework textarea {
	border: 1px solid var(--wp--preset--color--accent-1) !important;
	box-shadow: none !important;
}

.gform-theme--framework input:focus {
	outline: none !important;
}


/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* 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;
}

/* Fix for text decoration issue in Gutenberg */
h1[style*="text-decoration:none"] a,
h2[style*="text-decoration:none"] a,
h3[style*="text-decoration:none"] a,
h4[style*="text-decoration:none"] a,
h5[style*="text-decoration:none"] a,
h6[style*="text-decoration:none"] a {
    text-decoration: inherit;
}

/*
 * 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;
}

.ctrl-mobile-toggle {
	font-weight: bold;
	color: var(--wp--preset--color--contrast);
	display: grid;
	grid-template-columns: 24px max-content;
	gap: 4px;
	line-height: 1;
}

.ctrl-mobile-toggle::before {
	content: url('assets/images/menu.svg');
	line-height: 1;
	height: 24px;

}

/**
 * Box Model, Html & Body
 */
html {
	scrollbar-gutter: stable;
}

html,
body,
[canvas=container],
[data-off-canvas] {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	height: 100%;
}

/**
 * Canvas
 */
[data-canvas=container] {
	width: 100%;
	height: 100%;
	position: relative;
	background-color: var(--wp--preset--color--accent-2);
	-webkit-overflow-scrolling: touch; /* Enables momentum scrolling on iOS devices, may be removed by setting to 'auto' in your own CSS. */
}

[canvas=container]:before,
[canvas=container]:after {
	clear: both;
	content: '';
	display: table;
}

/**
 * Off-Canavs
 */
[data-off-canvas] {
	display: none;
	position: fixed;
	overflow: hidden;
	overflow-y: auto;
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--accent-2);
	-webkit-overflow-scrolling: touch; /* Enables momentum scrolling on iOS devices, may be removed by setting to 'auto' in your own CSS. */
}

[data-off-canvas*=top] {
	width: 100%;
	height: 255px;
	top: 0;
}

[data-off-canvas*=right] {
	width: 75%;
	height: 100%;
	top: 0;
	right: 0;
}

[data-off-canvas*=bottom] {
	width: 100%;
	height: 255px;
	bottom: 0;
}

[data-off-canvas*=left] {
	width: 75%;
	height: 100%;
	top: 0;
	left: 0;
}

[data-off-canvas*=reveal] {
	z-index: 0;
}

[data-off-canvas*=overlay] {
	z-index: 9999;
}

/* Reset any transform or margin settings for fade style panels */
[data-off-canvas*="fade"] {
	z-index: 500;
	margin: 0;
	transform: none;
	/* Optionally, ensure the panel starts with zero opacity */
	opacity: 0;
}

/**
 * Animation
 */

[data-canvas],
[data-off-canvas] {
	-webkit-transform: translate(0px, 0px);
	-ms-transform: translate(0px, 0px);
	transform: translate(0px, 0px);
	-webkit-transition: -webkit-transform 300ms;
	transition: transform 300ms;
	-webkit-backface-visibility: hidden; /* Prevents flickering, may be removed if experiencing problems with fixed background images in Chrome. */
}

[data-off-canvas*=shift][data-off-canvas*=top] {
	-webkit-transform: translate(0px, 50%);
	transform: translate(0px, 50%);
}

[data-off-canvas*=shift][data-off-canvas*=right] {
	-webkit-transform: translate(-50%, 0px);
	transform: translate(-50%, 0px);
}

[data-off-canvas*=shift][data-off-canvas*=bottom] {
	-webkit-transform: translate(0px, -50%);
	transform: translate(0px, -50%);
}

[data-off-canvas*=shift][data-off-canvas*=left] {
	-webkit-transform: translate(50%, 0px);
	transform: translate(50%, 0px);
}

body.menu-open {
	overflow: hidden !important;
}

.menu-close {
	position: absolute;
	top: 16px;
}

.menu-close a {
	display: block;
	line-height: 1;
}

/**
 * Print
 */
@media print {
	[data-canvas] {
		-webkit-transform: translate(0px, 0px) !important;
		-ms-transform: translate(0px, 0px) !important;
		transform: translate(0px, 0px) !important;
	}

	[data-off-canvas] {
		display: none !important;
	}
}

/* Styles */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap; /* Prevents the text from wrapping */
	border: 0;
}

.nav-slidebar {
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--accent-2);
	width: 100%;
	overflow: hidden;
}

.admin-bar .nav-slidebar {
	top: 46px;
}

@media (min-width: 768px) {
	.admin-bar .nav-slidebar {
		top: 32px;
	}
}

.nav-slidebar #panel-content {
	display: flex;
	height: 100%;
	width: 100%;
	justify-content: flex-start;
	align-items: flex-start;
	padding: 48px 32px 32px 32px;
	box-sizing: border-box;
}

.nav-slidebar .nav-primary {
	padding: 0;
}

.nav-slidebar .nav-primary .nav-primary-menu {
	list-style-type: none;
	padding: 0 !important;
	margin: 0 !important;
	display: grid;
	gap: 8px;
}

.nav-slidebar .nav-primary .nav-primary-menu li {
	text-align: left;
	width: 100%;
	list-style-type: none;
	line-height: 1.625;
}

.nav-slidebar .nav-primary .nav-primary-menu li.menu-item-has-children > a {
	display: grid;
	grid-template-columns: max-content 24px;
	gap: 8px;
	align-items: center;
	justify-content: flex-start;
}

.nav-slidebar .nav-primary .nav-primary-menu li.menu-item-has-children > a::after {
	content: url( 'assets/images/chevron-down.svg');
	line-height: 1;
}

.nav-slidebar .nav-primary .nav-primary-menu li.menu-item-has-children.open > a::after {
	transform: rotate(-180deg);
	-webkit-transform: rotate(-180deg);
}

.nav-slidebar .nav-primary .nav-primary-menu li a {
	color: var(--wp--preset--color--accent-2);
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: bold;
	font-size: var(--wp--preset--font-size--medium);
	text-decoration: none;
}

.nav-slidebar .nav-primary .nav-primary-menu li ul.sub-menu {
	padding: 0 0 0 8px;
	display: none;
}

.nav-slidebar .nav-primary .nav-primary-menu li ul.sub-menu.open {
	display: block;
}

.nav-slidebar .nav-primary .nav-primary-menu li ul.sub-menu li a {
	font-size: var(--wp--preset--font-size--medium);
}

/* Print */
@media print {
	[data-canvas] {
		-webkit-transform: translate(0px, 0px) !important;
		-ms-transform: translate(0px, 0px) !important;
		transform: translate(0px, 0px) !important;
	}

	[data-off-canvas] {
		display: none !important;
	}
}

