/*
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, 
*/

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

/* mobile menu */
@media (max-width: 767px) {
    .kb-off-canvas-close svg {
        width: 45px !important;
        height: 45px !important;
    }
    .wp-block-kadence-navigation.navigation-mobile-orientation-vertical .kb-nav-dropdown-toggle-btn svg {
        height: 30px;
        width: 30px;
    }
    .wp-block-haus-search-form input, .fa-light, .fasl {
        color: black !important;
    }
}

/* search */
.wp-block-haus-search-form input, .wp-block-haus-search-form input::placeholder, .wp-block-haus-search-form button {
    color: black !important;
}
/* search results */
@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;
    }
}
.wp-block-post-title :where(a) {
    color: black;
}

/* aktuelt */
.aktuelt a:where(:not(.wp-element-button)) {
    color: black !important;
}
.wp-block-kadence-posts .loop-entry .entry-header .entry-title a {
    color: black;
    font-weight: 600;
}
.wp-block-kadence-posts .entry-meta a {
    font-weight: 700;
    text-decoration: underline;
}
.wp-block-kadence-posts .entry-meta a:hover {
    text-decoration: none;
}
.kt-blocks-post-grid-item .kt-blocks-post-top-meta {
    margin-top: 15px;
}
.kt-blocks-post-grid-item .kt-blocks-post-top-meta .kt-blocks-categories {
    font-weight: 700 !important;
}

/* prosjektmal */
@media (max-width: 768px) {
  .remove-margin-bottom {
    margin-bottom: -1em;
  }
  .remove-margin-top {
    margin-top: -1em;
  }
}

/* Prosjekter */
.prosjekter-posts .entry-title a {
    font-size: 1.375rem !important;
    font-weight: 500 !important;
    color: #F8D286 !important;
}
.prosjekter-posts .entry-title {
    margin-top: -15px !important;
    line-height: 1 !important;
}
.wp-block-kadence-posts.grid-cols {
    row-gap: 4rem !important;
}

.custom-url .entry-title a {
    text-decoration: underline !important;
    line-height: 1.5 !important;
}
.custom-url .entry-title a:hover {
    text-decoration: none !important;
}

/* figcaption */
figcaption {
    color: #A5A2A2 !important;
    font-size: 1rem !important;
    font-style: italic !important;
}
.custom-figcaption figcaption {
    padding-left: 25px !important;
}

/* breadcrumbs */
.rank-math-breadcrumb, .rank-math-breadcrumb a:-webkit-any-link {
    font-size: 0.875rem !important;
    color: white !important;
}

/* Gul pil ved innleggs-tittel */
.prosjekter-posts .entry-title a::after {
  content: '';
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-left: 1rem;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F8D286' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}