/*--------------------------------------------------------------
# Common styles: Grid
--------------------------------------------------------------*/
.ona-container {
	padding-left: var(--wp--style--block-gap);
	padding-right: var(--wp--style--block-gap);
}

.wp-block-image.alignright,
.wp-block-image.alignleft {
	margin-block-end: 2em;
}

.wp-block-post-content.alignfull > :where(:not(.alignleft):not(.alignright):not(.alignfull):not([data-align=full])) {
	margin-left: auto;
	margin-right: auto;
	width: calc(100% - 2 * var(--wp--style--block-gap)) !important;
}

.wp-block-post-template,
.wp-block-query-loop,
.wp-block-post-template.is-flex-container,
.wp-block-query-loop.is-flex-container {
	display: grid;
}
.wp-block-post-template.is-layout-grid,
.wp-block-query-loop.is-layout-grid,
.wp-block-post-template.is-flex-container.is-layout-grid,
.wp-block-query-loop.is-flex-container.is-layout-grid {
	row-gap: 50px;
}
@media only screen and (min-width: 782px) {
	.wp-block-post-template.columns-2,
	.wp-block-query-loop.columns-2,
	.wp-block-post-template.is-flex-container.columns-2,
	.wp-block-query-loop.is-flex-container.columns-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wp-block-post-template.columns-3,
	.wp-block-query-loop.columns-3,
	.wp-block-post-template.is-flex-container.columns-3,
	.wp-block-query-loop.is-flex-container.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.wp-block-post-template.columns-4,
	.wp-block-query-loop.columns-4,
	.wp-block-post-template.is-flex-container.columns-4,
	.wp-block-query-loop.is-flex-container.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.wp-block-post-template.columns-5,
	.wp-block-query-loop.columns-5,
	.wp-block-post-template.is-flex-container.columns-5,
	.wp-block-query-loop.is-flex-container.columns-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
	.wp-block-post-template.columns-6,
	.wp-block-query-loop.columns-6,
	.wp-block-post-template.is-flex-container.columns-6,
	.wp-block-query-loop.is-flex-container.columns-6 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}
@media only screen and (min-width: 782px) {
	.wp-block-post-template.columns-3,
	.wp-block-query-loop.columns-3,
	.wp-block-post-template.is-flex-container.columns-3,
	.wp-block-query-loop.is-flex-container.columns-3 {
		-moz-column-gap: 50px;
		     column-gap: 50px;
	}
}
@media only screen and (min-width: 1025px) {
	.wp-block-post-template.columns-3,
	.wp-block-query-loop.columns-3,
	.wp-block-post-template.is-flex-container.columns-3,
	.wp-block-query-loop.is-flex-container.columns-3 {
		-moz-column-gap: 75px;
		     column-gap: 75px;
	}
}

@media only screen and (min-width: 600px) {
	.wp-block-post-template.is-flex-container li,
	.wp-block-query-loop.is-flex-container li {
		margin: 0;
		width: 100% !important;
		flex: 1;
	}
}
.ona-display-flex {
	display: flex;
}

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
.ona-alt-font {
	font-family: "Bestermind";
}

/*--------------------------------------------------------------
# Block Template Part
--------------------------------------------------------------*/
.wp-block-template-part {
	margin-block-start: 0 !important;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	z-index: 11;
}

.ona-header-transparent {
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 2;
}

@media only screen and (max-width: 781px) {
	.site-header .ona-header-collapse-md-down .wp-block-column {
		flex: 1 0 0 !important;
	}
}
@media only screen and (max-width: 599px) {
	.site-header .wp-block-column {
		flex: 1 0 0 !important;
	}
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.is-style-ona-header-full-height .site-header {
	min-width: 100%;
}

@media only screen and (min-width: 782px) {
	.is-style-ona-header-full-height {
		top: calc(0px + var(--wp-admin--admin-bar--position-offset, 0px));
		height: 100vh;
		position: sticky;
		z-index: 10;
	}
	.is-style-ona-header-full-height .site-header > .wp-block-group {
		height: 100vh;
	}
}
@media only screen and (max-width: 599px) {
	.items-justified-center .wp-block-navigation__responsive-container-open {
		margin-right: 0;
	}
}
.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container {
	right: auto;
}

@media only screen and (max-width: 781px) {
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
		padding-left: 0;
		padding-right: 0;
	}
}
.wp-block-navigation__submenu-container.has-background {
	padding: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	margin-top: 0 !important;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
@media only screen and (max-width: 781px) {
	.ona-hero {
		min-height: 400px !important;
	}
}

/*--------------------------------------------------------------
# Block custom styles
--------------------------------------------------------------*/
@media only screen and (max-width: 781px) {
	.ona-site-title {
		font-size: 1.5rem;
	}
}

.ona-stroke-frame > span {
	margin: 1.5rem;
	border: 1px solid #fff;
	background-color: transparent !important;
}

.ona-sticky-element {
	position: sticky;
	top: 0;
}

@media only screen and (min-width: 600px) {
	.is-style-ona-push-right-large {
		position: relative;
		z-index: 1;
		margin-right: -300px;
	}
	div.ona-negative-offset-bottom {
		margin-bottom: -100px;
		z-index: 1;
	}
	div.ona-negative-offset-right {
		margin-right: -100px;
		z-index: 1;
	}
	div.ona-negative-offset-left {
		margin-left: -100px;
		z-index: 1;
	}
	div.ona-push-left {
		margin-left: 100px;
	}
	.ona-promo-image {
		min-height: 686px;
	}
}
.mt-1 {
	margin-top: 0.25rem !important;
}

.mt-2 {
	margin-top: 0.5rem !important;
}

.mb-1 {
	margin-bottom: 0.25rem !important;
}

.mb-2 {
	margin-bottom: 0.5rem !important;
}

.wp-block-social-links .is-style-ona-social-link-padding a,
.wp-block-social-links .is-style-ona-social-link-padding button {
	padding: 0.75rem;
}

.is-style-ona-img-full-width img {
	width: 100%;
}

.is-style-ona-floating-image {
	position: absolute;
	right: -40px;
	top: 36%;
}

.ona-coffee-shop-menu-label {
	margin-right: -16px;
	white-space: nowrap;
}

.text-center {
	text-align: center;
}

.is-style-ona-align-items-center {
	align-items: center;
}

:root .is-style-no-spacing {
	margin: 0;
}

.is-style-ona-relative {
	position: relative;
}

.ona-text-letter-spacing {
	letter-spacing: var(--wp--custom--typography--letter-spacing);
}

.is-vertically-stretched {
	min-height: 100%;
}
@media only screen and (max-width: 781px) {
	.is-vertically-stretched {
		min-height: 360px;
	}
}

.ona-hover-no-border .wp-block-button__link {
	border: 0 !important;
}

#sb_instagram {
	overflow: hidden;
}

.is-style-ona-rounded {
	border-radius: 5px;
	overflow: hidden;
}

.is-style-ona-rotate-vertical {
	position: absolute;
	transform: rotate(90deg);
	transform-origin: top left;
}

/* Responsive Classes */
@media only screen and (max-width: 1024px) {
	.hide-lg-down {
		display: none !important;
	}
}
@media only screen and (max-width: 781px) {
	.is-style-ona-hide-on-tablet,
	.hide-md-down {
		display: none !important;
	}
	.collapse-md-down.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 100% !important;
	}
	.ona-md-down-justify-content-end {
		justify-content: flex-end;
	}
	.ona-md-down-justify-content-center {
		justify-content: center !important;
	}
	.ona-md-down-text-align-center {
		text-align: center;
	}
	.ona-md-down-text-align-left {
		text-align: left;
	}
	.ona-md-down-order-1 {
		order: 1;
	}
	.ona-md-down-order-2 {
		order: 2;
	}
}
@media only screen and (max-width: 599px) {
	.is-style-ona-hide-on-mobile,
	.hide-sm-down {
		display: none !important;
	}
	.ona-sm-down-height-0 {
		height: 0 !important;
	}
	.ona-sm-down-justify-content-end {
		justify-content: flex-end !important;
	}
	.ona-sm-down-justify-content-center,
	.ona-sm-down-justify-content-center .wp-block-navigation__container {
		justify-content: center !important;
	}
	.ona-sm-down-text-align-left {
		text-align: left !important;
	}
	.ona-sm-down-text-align-center {
		text-align: center !important;
	}
	.is-style-ona-sm-down-mt-2 {
		margin-top: 0.5rem !important;
	}
	.is-style-ona-sm-down-pt-28 {
		padding-top: 7rem !important;
	}
	.is-style-ona-sm-down-pt-8 {
		padding-top: 2rem !important;
	}
	.ona-sm-down-order-1 {
		order: 1;
	}
	.ona-sm-down-order-2 {
		order: 2;
	}
}
.ona-icon-box {
	display: inline-block;
}
.ona-icon-box img {
	display: block;
}

.ona-animate-background-color {
	animation: color-animate 5s infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
}
@keyframes color-animate {
	0% {
		background-color: #e8ecfe;
	}
	50% {
		background-color: #e8fef3;
	}
	100% {
		background-color: #feede8;
	}
}
/*--------------------------------------------------------------
# Block: Navigation
--------------------------------------------------------------*/
.is-style-ona-navigation-align-items-center {
	--navigation-layout-justification-setting: center !important;
}

/*--------------------------------------------------------------
# Block: Navigation Link
--------------------------------------------------------------*/
.is-style-ona-dropdown-border-none .wp-block-navigation__submenu-container {
	background-color: inherit !important;
}

/*--------------------------------------------------------------
# Block: Post
--------------------------------------------------------------*/
.is-style-ona-posts-chess-grid li {
	margin-top: 0 !important;
}
.is-style-ona-posts-chess-grid li.block-editor-block-preview__live-content:nth-child(odd) .wp-block-columns, .is-style-ona-posts-chess-grid li:nth-child(even) .wp-block-columns {
	flex-direction: row-reverse;
}

.wp-block-post {
	position: relative;
}

.wp-block-post-title {
	word-wrap: break-word;
}

h1.wp-block-post-title {
	font-size: var(--wp--preset--font-size--large);
}

.ona-post-body-overlap {
	padding: 3rem;
	margin-left: 10%;
	margin-right: 10%;
	width: 80%;
	bottom: 0;
	background-color: var(--wp--preset--color--background);
}
.wp-block-post-featured-image + .ona-post-body-overlap, .has-post-thumbnail .ona-post-body-overlap {
	position: absolute !important;
}
@media only screen and (min-width: 600px) {
	.ona-post-body-overlap {
		transform: translateY(120px);
	}
}
.ona-post-body-overlap--center {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
}
.ona-post-body-overlap--bottom {
	width: calc(100% - 40px);
	bottom: 20px;
	transform: none;
	margin-left: 20px;
	margin-right: 20px;
}

.wp-block-post-excerpt__more-text {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
# Block: Post Content
--------------------------------------------------------------*/
.single-post .wp-block-post-content h1,
.single-post .wp-block-post-content h2,
.single-post .wp-block-post-content h3,
.single-post .wp-block-post-content h4,
.single-post .wp-block-post-content h5,
.single-post .wp-block-post-content h6 {
	margin-top: calc(2 * var(--wp--style--block-gap));
}

/*--------------------------------------------------------------
# Block: Featured Image
--------------------------------------------------------------*/
.wp-block-post-featured-image {
	margin-top: 0;
	margin-bottom: 30px;
}

.is-style-ona-image-arc-style {
	border-radius: 500px 500px 0 0;
	overflow: hidden;
}

.is-style-ona-post-arc-style .post:nth-child(even) .wp-block-post-featured-image,
.is-style-ona-post-arc-style .wp-block-post.block-editor-block-preview__live-content:nth-child(odd) .wp-block-post-featured-image {
	border-radius: 500px 500px 0 0;
	overflow: hidden;
}

/*--------------------------------------------------------------
# Block: Quote
--------------------------------------------------------------*/
:root .wp-block-quote {
	border-left: 2px solid currentColor;
	padding: 0 0 0 1rem;
}
:root .wp-block-quote p {
	margin-bottom: 1rem;
	font-size: var(--wp--preset--font-size--medium);
	line-height: var(--wp--custom--typography--line-height--medium);
}
:root .wp-block-quote.has-text-align-center {
	border-width: 0;
	padding: 0;
}
:root .wp-block-quote.has-text-align-right {
	border: none;
	border-right: 2px solid currentColor;
	padding: 0 1rem 0 0;
}
:root .wp-block-quote cite {
	font-size: var(--wp--preset--font-size--base);
	text-align: inherit;
}

@media only screen and (min-width: 600px) {
	:root .wp-block-quote {
		padding: 0 0 0 2rem;
	}
	:root .wp-block-quote.has-text-align-right {
		padding: 0 2rem 0 0;
	}
}
/* Style: Large -------------------- */
.wp-block-quote.is-style-large p {
	font-size: var(--wp--preset--font-size--large);
	font-style: normal;
	line-height: inherit;
}

/* ------------------------------------------- */
/* Block: Embed
/* ------------------------------------------- */
.wp-block-embed.alignfull video,
.wp-block-embed .alignfull video,
.wp-block-embed.alignfull iframe,
.wp-block-embed .alignfull iframe {
	width: 100%;
}

/* ------------------------------------------- */
/* Block: Latest Posts
/* ------------------------------------------- */
.wp-block-latest-posts:not(.is-grid) li {
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.wp-block-latest-posts__post-date {
	margin-top: 12px;
	font-family: var(--wp--preset--font-family--base);
	color: var(--wp--preset--color--text-light);
	font-size: var(--wp--preset--font-size--small);
}

/* ------------------------------------------- */
/* Block: Search
/* ------------------------------------------- */
.wp-block-search__input,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	border-color: var(--wp--preset--color--stroke);
}

.wp-block-search__input {
	background-color: inherit;
	color: inherit;
}

.wp-block-search__input::-moz-placeholder {
	color: inherit;
	opacity: 1;
}

.wp-block-search__input::placeholder {
	color: inherit;
	opacity: 1;
}

.wp-block-search__input:-ms-input-placeholder {
	color: inherit;
}

.wp-block-search__input::-ms-input-placeholder {
	color: inherit;
}

.wp-block-search__button {
	cursor: pointer;
	padding: 0.375em 0.625em !important;
}

.wp-block-search__button-inside .wp-block-search__button {
	border: 0;
	background-color: transparent;
	color: inherit !important;
}

/* ------------------------------------------- */
/* Block: Pagination
/* ------------------------------------------- */
.page-numbers {
	margin: 0 5px;
}

/* ------------------------------------------- */
/* Block: Post Author
/* ------------------------------------------- */
.wp-block-post-author {
	align-items: center;
}
.wp-block-post-author__avatar {
	line-height: 1;
	margin-right: 0.5em;
}
.wp-block-post-author__avatar img {
	border-radius: 50%;
}

/* ------------------------------------------- */
/* Block: Categories List
/* ------------------------------------------- */
.wp-block-categories ul,
.wp-block-categories-list {
	padding: 0;
	list-style: none;
}