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

/* menu linke */
.custom-gap {
    gap: 7px !important;
}

/* mobile menu */
.wp-block-haus-mega-menu.opened .wp-block-haus-mega-menu-inner-blocks {
    margin-top: 0 !important;
}
.wp-block-haus-mega-menu.opened .haus-mega-menu-hamburger-button-close {
    width: 47px !important;
}

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

/* category archive */
.wp-block-post-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.wp-block-post-excerpt__more-text {
    margin-top: 0 !important;
    margin-bottom: 35px !important;
}
@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) {
    h1 {
        font-size: 2.8rem;
    }
    .custom-l-h1 {
        font-size: 2rem;
    }
    .fa-light {
        color: #3B3B3C !important;
    }
}