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

/* 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 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;
	transition: margin-top 0.3s ease, border-radius 0.3s ease;
}
#masthead .kadence-sticky-header.item-is-stuck {
	margin-top: 1em !important;
}

/* Sticky fullwidth wrapper */
.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);
}
@media (max-width: 1024px) {
	#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.item-hidden-above) > .site-header-row-container-inner {
		margin: 0 16px;
	}
}
#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;
}

.page-title.post-home-title.archive-title {
	border-bottom: 1px solid #fff;
	width: 100%;
	padding-bottom: 32px;
	margin-bottom: 18px;
	font-size: 50px;
	line-height: 1.3;
}
@media (max-width: 1024px) {
	.page-title.post-home-title.archive-title {
		font-size: 40px;
		line-height: 1.4;
	}
}
@media (max-width: 767px) {
	.page-title.post-home-title.archive-title {
		font-size: 30px;
		line-height: 1.5;
	}
}

.wp-site-blocks .post-title h1 {
	border-bottom: 1px solid #fff;
	width: 100%;
	padding-bottom: 32px;
	margin-bottom: 18px;
	font-size: 50px;
	line-height: 1.3;
}
@media (max-width: 1024px) {
	.wp-site-blocks .post-title h1 {
		font-size: 40px;
    	line-height: 1.4;
	}
}
@media (max-width: 767px) {
	.wp-site-blocks .post-title h1 {
		font-size: 30px;
    	line-height: 1.5;
	}
}
.hero-container.site-container {
  max-width: 100%;
}

a:where(:not(.wp-element-button)) {
	text-decoration: none !important;
}

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

/* Mobilmenu */
.mobile-navigation ul.has-collapse-sub-nav .sub-menu.show-drawer {
	background: var(--global-palette7);
}
