/*
Theme Name: Joondumine
Author: CodeCave OÜ
Author URI: https://codecave.ee
Description: Joondumine OÜ
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

html {
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.wp-site-blocks > * + * {
    margin-top: 0 !important;
}

body .alignfull {
    margin-top: 0 !important;
}

.editor-styles-wrapper .is-layout-constrained > * + * {
    margin-top: 0 !important;
}

/**
Temporary fix for header since sticky does not work for some reason
*/
header {
    top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
    left: 0;
    right: 0;
    position: fixed;
    z-index: 10;
    background-color: #FFFFFF;
}

footer .wp-block-columns {
    margin-bottom: 0 !important;
}


/**
Temporary fix because theme.json override is not wokring at the moment
See: https://github.com/WordPress/gutenberg/issues/47431
*/
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:active {
    color: var(--wp--preset--color--black);
}

@media screen and (max-width: 781px) {

    /* hamburger button */
    .wp-block-navigation__responsive-container-open  {
        display: block !important;
        padding: 0.5rem;
    }

    /* full menu */
    .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
        display: none !important;
    }
}