/*
Theme Name: Haus Child
Theme URI: 
Author: Haus Byrå AS
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.3.1
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: hausbyra
Text Domain: haus
Tags: full-site-editing, 
*/

/* pages */
:where(.wp-site-blocks) > * {
    margin-block-start: 0 !important;
}

/* links */
a:-webkit-any-link:hover {
    text-decoration: none !important;
}
.underline-hover:hover {
    text-decoration: underline !important;
}

/* footer */
:where(.wp-site-blocks) > :last-child .wp-block-haus-header-links > li a {
    text-decoration: underline;
}

/* language switcher */
.lang-sw-font-weight {
    font-weight: 600 !important;
}

/* menu */
.wp-block-kadence-navigation .kb-nav-link-content:hover {
    text-decoration: underline !important;
    text-underline-offset: 5px;
}
@media (min-width: 1025px) {
    .wp-block-kadence-navigation.navigation-desktop-orientation-vertical .navigation-desktop-collapse-sub-menus-false .menu .sub-menu {
        margin-left: -8px !important;
    }
}

/* mobile menu */
.wp-block-haus-mega-menu.opened .wp-block-haus-mega-menu-inner-blocks {
    margin-top: 0 !important;
}
.wp-elements-5cc54cb55d92e5eca1395fb8daf07ea0 a:where(:not(.wp-element-button)), .wp-elements-e8c327453bdb38139558d2a75bcac066 a:where(:not(.wp-element-button)), .wp-elements-be4450902e7d52d4851b70f6c112ad09 a:where(:not(.wp-element-button)), .wp-elements-e8c327453bdb38139558d2a75bcac066 a:where(:not(.wp-element-button)), .wp-elements-9c1d39dc4b8bae3543b8bb0739c596c3 a:where(:not(.wp-element-button)) {
    font-size: 24px !important;
}

/* front page */
.wp-block-kadence-posts .entry-taxonomies a, .wp-block-kadence-posts a.post-more-link {
    color: #00757E !important;
    text-decoration: underline;
}
.wp-block-kadence-posts a.post-more-link .kadence-svg-iconset {
    display: none !important;
}
.wp-block-kadence-posts .entry-meta a {
    color: #00757E;
    font-weight: 600;
    text-decoration: underline;
}

/* category archive */
@media (max-width: 600px) {
    .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
        grid-template-columns: 1fr;
    }
}

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