/*
Theme Name: Onokaa Starter Theme v1.6
Author: Onokaa
Author URI: https://www.onokaa.com
Tags: full-site-editing
Text Domain: onk-starter-theme
Version: 1.6.0

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

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/
/** Reset and tools **/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/** Global mixins **/
/* Policies */
[class*=-font-size] {
  line-height: unset !important;
}

.has-xs-font-size {
  font-size: var(--wp--preset--font-size--xs);
  line-height: var(--wp--custom--line-height-xs) !important;
}

.has-s-font-size{
  font-size: var(--wp--preset--font-size--s);
  line-height: var(--wp--custom--line-height-s) !important;
}

.has-default-font-size{
  font-size: var(--wp--preset--font-size--default);
  line-height: var(--wp--custom--line-height) !important;
}

.has-m-font-size{
  font-size: var(--wp--preset--font-size--m);
  line-height: var(--wp--custom--line-height-s) !important;
}

.has-large-font-size,
.has-l-font-size{
  font-size: var(--wp--preset--font-size--l);
  line-height: var(--wp--custom--line-height-xs) !important;
}

.has-xl-font-size{
  font-size: var(--wp--preset--font-size--xl);
  line-height: var(--wp--custom--line-height-xs) !important;
}

.has-xxl-font-size{
  font-size: var(--wp--preset--font-size--xxl);
  line-height: var(--wp--custom--line-height-xs) !important;
}

.has-brand-font-family {
  font-family: var(--wp--preset--font-family--brand) !important;
}

.has-text-font-family {
  font-family: var(--wp--preset--font-family--text) !important;
}

p,
.wp-block-heading,
h1 {
	text-wrap: pretty;
	word-break: normal;
    word-wrap: normal;
}

ol.wp-block-list > li{margin-top: var(--wp--custom--spacer-fluid);}


.wp-block-button .wp-block-button__link{transition: 0.5s;}
[class*="0-background-color"],
[class*="50-background-color"],
[class*="100-background-color"],
[class*="200-background-color"],
[class*="300-background-color"],
[class*="400-background-color"],
[class*="500-background-color"],
.wp-block-button .wp-block-button__link[class*="0-background-color"],
.wp-block-button .wp-block-button__link[class*="50-background-color"],
.wp-block-button .wp-block-button__link[class*="100-background-color"],
.wp-block-button .wp-block-button__link[class*="200-background-color"],
.wp-block-button .wp-block-button__link[class*="300-background-color"],
.wp-block-button .wp-block-button__link[class*="400-background-color"],
.wp-block-button .wp-block-button__link[class*="500-background-color"] {
  color: var(--wp--custom--false-black);
}

[class*="600-background-color"],
[class*="700-background-color"],
[class*="800-background-color"],
[class*="900-background-color"],
[class*="1000-background-color"],
.wp-block-button .wp-block-button__link[class*="600-background-color"],
.wp-block-button .wp-block-button__link[class*="700-background-color"],
.wp-block-button .wp-block-button__link[class*="800-background-color"],
.wp-block-button .wp-block-button__link[class*="900-background-color"],
.wp-block-button .wp-block-button__link[class*="1000-background-color"] {
  color: var(--wp--custom--false-white);
}

[class*=theme-500-background-color],
.wp-block-button .wp-block-button__link[class*=theme-500-background-color] {
  color: var(--wp--custom--false-white);
}

.has-background:not(.wp-block-button__link):not(.wp-block-navigation):not(.wp-block-navigation__responsive-container):not(.wp-block-navigation-item):not(.wp-block-navigation__submenu-container):not(.wp-block-separator):not(button),
.has-border-color:not(.wp-block-button__link):not(.wp-block-navigation):not(.wp-block-navigation__responsive-container):not(.wp-block-navigation-item):not(.wp-block-navigation__submenu-container):not(.wp-block-separator):not(picture):not(button) {
  padding: var(--wp--custom--spacer-m-fluid) var(--wp--style--root--padding-right);
}
.has-background:not(.wp-block-button__link).alignwide,
.has-border-color:not(.wp-block-button__link).alignwide {
  padding: var(--wp--custom--spacer-xl-fluid) var(--wp--style--root--padding-right);
}
@media (min-width: 1024px) {
  .has-background:not(.wp-block-button__link).alignwide,
	.has-border-color:not(.wp-block-button__link).alignwide {
    padding-left: var(--wp--custom--spacer-xl-fluid);
    padding-right: var(--wp--custom--spacer-xl-fluid);
  }
}
.has-background.alignwide:not(.wp-block-button__link) .has-background:not(.wp-block-button__link),
.has-background.alignwide:not(.wp-block-button__link) .has-border-color,
.has-border-color.alignwide:not(.wp-block-button__link) .has-background:not(.wp-block-button__link),
.has-border-color.alignwide:not(.wp-block-button__link) .has-border-color {
  padding: var(--wp--custom--spacer-m-fluid) var(--wp--style--root--padding-right);
}
.has-background:not(.wp-block-button__link):not(.wp-block-navigation):not(.wp-block-navigation__responsive-container):not(.wp-block-navigation-item):not(.wp-block-navigation__submenu-container):not(.wp-block-separator).alignfull,
.has-border-color:not(.wp-block-button__link):not(.wp-block-navigation):not(.wp-block-navigation__responsive-container):not(.wp-block-navigation-item):not(.wp-block-navigation__submenu-container):not(.wp-block-separator).alignfull{
  padding: var(--wp--custom--spacer-xl-fluid) var(--wp--style--root--padding-right);
}
.wp-block-cover.alignfull/* ,
.has-background.alignfull .has-background:not(.wp-block-button__link),
.has-background.alignfull .has-border-color:not(.wp-block-button__link),
.has-border-color.alignfull .has-background:not(.wp-block-button__link),
.has-border-color.alignfull .has-border-color:not(.wp-block-button__link) */ {
  padding: var(--wp--custom--spacer-xl-fluid) var(--wp--style--root--padding-right);
}
.wp-block-cover.alignfull.has-parallax,
.has-background.alignfull.has-parallax .has-background:not(.wp-block-button__link),
.has-background.alignfull.has-parallax .has-border-color:not(.wp-block-button__link),
.has-border-color.alignfull.has-parallax .has-background:not(.wp-block-button__link),
.has-border-color.alignfull.has-parallax .has-border-color:not(.wp-block-button__link) {
  padding: var(--wp--custom--spacer-xxl-fluid) var(--wp--style--root--padding-right);
}
/* @media (min-width: 1024px) {
	.has-background.alignfull .has-background:not(.wp-block-button__link),
	.has-background.alignfull .has-border-color:not(.wp-block-button__link),
	.has-border-color.alignfull .has-background:not(.wp-block-button__link),
	.has-border-color.alignfull .has-border-color:not(.wp-block-button__link) {
		padding-left: var(--wp--custom--spacer-xl-fluid);
		padding-right: var(--wp--custom--spacer-xl-fluid);
	}
} */

.wp-block-column .has-background:not(.wp-block-button__link):not(.wp-block-separator),
.wp-block-column .has-border-color:not(picture),
.wp-block-media-text__content .has-background:not(.wp-block-button__link):not(.wp-block-separator),
.wp-block-media-text__content .has-border-color {
  padding: var(--wp--custom--spacer-fluid);
}
.wp-block-column .has-background.alignwide,
.wp-block-column .has-border-color.alignwide,
.wp-block-media-text__content .has-background.alignwide,
.wp-block-media-text__content .has-border-color.alignwide {
  padding: var(--wp--custom--spacer-fluid);
}
.wp-block-column .has-background.alignfull,
.wp-block-column .has-border-color.alignfull,
.wp-block-media-text__content .has-background.alignfull,
.wp-block-media-text__content .has-border-color.alignfull {
  padding: var(--wp--custom--spacer-fluid);
}

.wp-block-heading + .wp-block-heading {
  margin-top: 1.62em;
}

:where(.wp-block-navigation.has-background .wp-block-navigation-item a:not(.wp-element-button)), 
:where(.wp-block-navigation.has-background .wp-block-navigation-submenu a:not(.wp-element-button)){
	padding: unset;
}

/** Gutenberg Blocks (specific Register Styles in Block file) **/
/** Contents **/
/** Layout **/
.wp-block-spacer {
  margin: 0 !important;
  height: var(--wp--custom--spacer-fluid) !important;
}
.wp-block-spacer.is-style-spacer-xs {
  height: var(--wp--custom--spacer-xs-fluid) !important;
}
.wp-block-spacer.is-style-spacer-s {
  height: var(--wp--custom--spacer-s-fluid) !important;
}
.wp-block-spacer.is-style-spacer-m {
  height: var(--wp--custom--spacer-m-fluid) !important;
}
.wp-block-spacer.is-style-spacer-l {
  height: var(--wp--custom--spacer-l-fluid) !important;
}
.wp-block-spacer.is-style-spacer-xl {
  height: var(--wp--custom--spacer-xl-fluid) !important;
}
.wp-block-spacer.is-style-spacer-xxl {
  height: var(--wp--custom--spacer-xxl-fluid) !important;
}

/** Media **/
.wp-block-media-text.is-vertically-aligned-top {
  grid-template-columns: 100% !important;
}
.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content {
  grid-column: 1;
  grid-row: 2;
}
.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media {
  grid-column: 1;
  grid-row: 1;
}
.wp-block-media-text.is-vertically-aligned-top.has-media-on-the-right {
  display: grid !important;
  column-gap: 0 !important;
  grid-template-columns: 100% !important;
}

/** Interaction **/
/** Navigation **/
/** Shared Register Styles (applied to at least 2 blocks) **/
.is-style-linked,
.linked {
  position: relative;
}
.is-style-linked a:first-of-type::before,
.linked a:first-of-type::before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100 !important;
}


@media(max-width: 781px){
	.hide-mobile{display: none !important;}
}

@media(min-width: 782px){
	.hide-desktop{display: none !important;}
}

figure.wp-block-image picture{display: inherit}