/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

body.menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}


.ast-custom-header a{
	color: #000;
}

.ast-custom-header a:hover{
	text-decoration: underline;
}


/* Hamburger Styles */
.hamburger {
  width: 30px;
  height: 24px;
  cursor: pointer;
  position: relative;
  z-index: 999;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 5px 0;
  border-radius: 4px;
  background: #333;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


button.hamburger {
  all: unset;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 999;
}

/* Custom visible focus only on keyboard navigation */
button.hamburger:focus-visible {
  outline: 1px dotted #000;        /* Customize color/thickness */
  outline-offset: 4px;
  border-radius: 4px;
}


/* Megamenu Dropdown */
/*Position absolute*/
#astra_megamenu { 
  display: none;
  position: absolute;
  top: 100%; /* Just below the toggle button */
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.05);
}

#astra_megamenu {
  display: none;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* Optional: For internal padding/styling */
#astra_megamenu .inner {
  padding: 20px;
  background: #f3f3f3;
}

#astra_megamenu ul.menu li{
	display: block;
	font-size: 20px;
	padding: 5px 30px;
}

#astra_megamenu ul.menu li a{
	display: block;
}


.ingress{
	font-size: 21px;
	font-weight: 400;
	line-height: 27px;
	max-width: 992px;
	margin-bottom: 15px;
}

.kb-query-item .ingress{
	font-size: 18px;
	font-weight: 400;
	line-height: 27px; 
}

.home .entry-header{
	display: none;
} 

.home #primary{
	margin-top: 0px !important;
}

.page .entry-header, .post .entry-header {
    margin-bottom: 1.5em;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}


@media only screen and (min-width: 992px) {
    .entry-content > *:not(.alignwide):not(.alignfull) {
        max-width: 880px !important; /*Ønsket maksbredde på innhold, må være mindre enn innholdsbredde satt i Astra -> Tilpass -> Single Page, eller Astra ->  Tilpass ▸ Enkeltinnlegg.*/
        margin-left: auto !important; /*0px: innhold justeres til venstre, auto: innholdet sentreres*/
        margin-right: auto !important;
    }
	
	.alignwide{
		max-width: 100% !important;
	}
}

@media only screen and (max-width: 991px) {

	.alignwide{
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 100% !important;
	}
	
	.alignfull>.kt-row-layout-inner>.kt-row-column-wrap, .alignfull>.kt-row-column-wrap{
		padding-left: 40px !important;
    	padding-right: 40px !important;
	}
	
	
}


/*
Kadence:
•	Mobile: Screens less than 768 px wide
•	Tablet: Screens 768 px to 1024 px wide. 
•	Desktop: Screens greater than 1024 px wide. 

Astra
•	544px = covers all phones in portrait mode (including older devices).
•	545px–921px = covers nearly all tablets (portrait and landscape).
•	922px+ = treats larger screens as desktop/laptop.

Bootstrap 5 Breakpoints
•	Extra small	xs (implicit)	< 576px	col-12
•	Small	sm	≥ 576px	col-sm-6
•	Medium	md	≥ 768px	col-md-4
•	Large	lg	≥ 992px	col-lg-3
•	Extra large	xl	≥ 1200px	col-xl-2
•	XXL (Extra-extra large)	xxl	≥ 1400px	col-xxl-1


*/



 