/* Header */
.transparent-header #masthead .site-main-header-wrap .site-header-row-container-inner {
	border-radius: 2em;
}
@media (min-width: 1024px) and (max-width: 1200px) {
  .main-navigation .primary-menu-container > ul li.menu-item > a {
	font-size: 14px !important;
	padding-left: 18px !important;
	padding-right: 18px !important;
}
}

/* Gør max-width smooth på SAMME element (inner) */
#masthead .site-header-row-container-inner {
	max-width: 100%;
	margin: 0 auto;
	transition: max-width 0.6s ease, border-radius 0.3s ease, box-shadow 0.3s ease, margin-top 0.3s ease;
	will-change: max-width;
}

/* Sticky: lidt luft oppe */
.item-is-fixed {
	margin-top: 1em !important;
}

/* Sticky contained */
.site-main-header-wrap.site-header-row-container.site-header-focus-item.site-header-row-layout-contained.kadence-sticky-header.item-is-fixed.item-is-stuck {
	border-radius: 2em !important;
	margin-top: 1em !important;
	transition: margin-top 0.3s ease, border-radius 0.3s ease;
}

/* Sticky fullwidth wrapper (behold som før) */
.site-main-header-wrap.site-header-row-container.site-header-focus-item.site-header-row-layout-fullwidth.kadence-sticky-header.item-is-fixed.item-is-stuck {
	margin: 0 auto !important;
	margin-top: 1em !important;
	transition: margin-top 0.3s ease, border-radius 0.3s ease;
}

/* Når sticky er aktiv OG ikke ved start: gør den smallere (SAMME inner-element) */
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.item-hidden-above) > .site-header-row-container-inner {
  max-width: 1350px;    
  border-radius: 99em !important;
  background: rgba(0, 0, 0, 0.25) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
#masthead .kadence-sticky-header.item-is-fixed {
  z-index: 9999;
}
#masthead .kadence-sticky-header > .site-header-row-container-inner {
  will-change: backdrop-filter;
}

/* Dropdown */
.header-navigation .header-menu-container ul ul.sub-menu,
.header-navigation .header-menu-container ul ul.submenu {
	border-radius: 0.5em !important;
	background: #fff !important;
}

/* Fade-in */
#masthead {
	opacity: 0;
	animation: mastheadFadeIn 1s ease-in-out forwards;
	animation-delay: 0.1s;
}

@keyframes mastheadFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Fokusskygge for mega menu */
li.kadence-menu-mega-enabled > ul {
-webkit-box-shadow: 0px 0px 0px 10000px rgba(0,0,0,0.5) !important;
-moz-box-shadow: 0px 0px 0px 10000px rgba(0,0,0,0.5) !important;
box-shadow: 0px 0px 0px 10000px rgba(0,0,0,0.5) !important;
}


/* Zoom hover effekt */
.zoom {
	transition: all 150ms ease-in-out;
}
.zoom:hover {
	transform: scale(1.015);
}

/* Divider hover change for mega menu */
.menu-divider-hover:hover .menu-divider hr.kt-divider {
  border-top-color: #fff !important;
}
.menu-divider-hover:hover .kt-svg-style-stacked .kb-svg-icon-wrap {
  color: #fff !important;         /* styrer pilens stroke (currentColor) */
  border-color: #fff !important;  /* styrer cirklen/border */
}

/* Underside titlebar */
.wp-site-blocks .page-title h1 {
	border-bottom: 1px solid #fff;
	width: 100%;
	padding-bottom: 32px;
	margin-bottom: 18px;
}
a:where(:not(.wp-element-button)) {
	text-decoration: none !important;
}

/* Footer links hover */
.wp-block-navigation-item__label:hover {
	color: var(--global-palette10) !important;
}