/* 
Theme Name:		 Minbutikk
Theme URI:		 https://66.no
Description:	 Minbutikk is a child theme of Astra
Author:			 Robert
Author URI:		 https://66.no
Template:		 astra
Version:		 1.0.0
Text Domain:	 minbutikk
*/

/* CSS Custom Properties */
:root {
	--font-sans-serif: "DM Sans", "Adjusted Arial Fallback", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-titling: "DM Sans", "Adjusted Arial Fallback", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--color-black: #000;
	--color-white: #fff;
	
	/* Font sizes - Mobile first */
	--font-size-xs: 0.75rem;
	--font-size-sm: 0.875rem;
	--font-size-md: 1rem;
	--font-size-lg: 1.125rem;
	--font-size-xl: 1.25rem;
	--font-size-2xl: 1.75rem;
	--font-size-3xl: 2rem;
	--font-size-4xl: 2.5rem;
	--font-size-5xl: 3rem;
	--font-size-6xl: 3.75rem;
	
	/* Line heights - Mobile first */
	--font-line-height-xs: 1.25rem;
	--font-line-height-sm: 1.5rem;
	--font-line-height-md: 1.5rem;
	--font-line-height-lg: 1.75rem;
	--font-line-height-xl: 2rem;
	--font-line-height-2xl: 2.25rem;
	--font-line-height-3xl: 2.5rem;
	--font-line-height-4xl: 3rem;
	--font-line-height-5xl: 3.5rem;
	--font-line-height-6xl: 4.25rem;
	
	/* Spacing */
	--spacing-30: 1.5rem;
	--spacing-80: 4rem;
}

@media (min-width: 1024px) {
	:root {
		--font-size-xs: 0.875rem;
		--font-size-sm: 1rem;
		--font-size-md: 1.125rem;
		--font-size-lg: 1.25rem;
		--font-size-xl: 1.5rem;
		--font-size-2xl: 2rem;
		--font-size-3xl: 2.5rem;
		--font-size-4xl: 3rem;
		--font-size-5xl: 4rem;
		--font-size-6xl: 5rem;
		
		--font-line-height-xs: 1.25rem;
		--font-line-height-sm: 1.5rem;
		--font-line-height-md: 1.75rem;
		--font-line-height-lg: 1.75rem;
		--font-line-height-xl: 2rem;
		--font-line-height-2xl: 2.5rem;
		--font-line-height-3xl: 3rem;
		--font-line-height-4xl: 3.5rem;
		--font-line-height-5xl: 4.5rem;
		--font-line-height-6xl: 5.5rem;
	}
}

/* Font Face Declarations */
@font-face {
	font-display: swap;
	font-family: DM Sans;
	font-style: normal;
	font-weight: 300;
	src: local(""), url(assets/fonts/DMSans-Light.woff2) format("woff2");
}

@font-face {
	font-display: swap;
	font-family: DM Sans;
	font-style: italic;
	font-weight: 300;
	src: local(""), url(assets/fonts/DMSans-LightItalic.woff2) format("woff2");
}

@font-face {
	font-display: swap;
	font-family: DM Sans;
	font-style: normal;
	font-weight: 400;
	src: local(""), url(assets/fonts/DMSans-Regular.woff2) format("woff2");
}

@font-face {
	font-display: swap;
	font-family: DM Sans;
	font-style: italic;
	font-weight: 400;
	src: local(""), url(assets/fonts/DMSans-Italic.woff2) format("woff2");
}

@font-face {
	font-display: swap;
	font-family: DM Sans;
	font-style: normal;
	font-weight: 500;
	src: local(""), url(assets/fonts/DMSans-Medium.woff2) format("woff2");
}

@font-face {
	font-display: swap;
	font-family: DM Sans;
	font-style: italic;
	font-weight: 500;
	src: local(""), url(assets/fonts/DMSans-MediumItalic.woff2) format("woff2");
}

@font-face {
	font-display: swap;
	font-family: DM Sans;
	font-style: normal;
	font-weight: 600;
	src: local(""), url(assets/fonts/DMSans-SemiBold.woff2) format("woff2");
}

@font-face {
	font-display: swap;
	font-family: DM Sans;
	font-style: normal;
	font-weight: 700;
	src: local(""), url(assets/fonts/DMSans-Bold.woff2) format("woff2");
}

@font-face {
	font-display: swap;
	font-family: DM Sans;
	font-style: normal;
	font-weight: 900;
	src: local(""), url(assets/fonts/DMSans-Black.woff2) format("woff2");
}

@font-face {
	font-family: Adjusted Arial Black Fallback;
	src: local("Arial Black");
	size-adjust: 104%;
	ascent-override: 91%;
	descent-override: 23%;
	line-gap-override: normal;
}

@font-face {
	font-family: Adjusted Arial Black Fallback;
	src: local("Arial Black");
	size-adjust: 104%;
	ascent-override: 90%;
	descent-override: 20%;
	line-gap-override: 4%;
}

/* Base Styles */
html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background-color: #fff;
	color: var(--color-black);
	font-family: var(--font-sans-serif), sans-serif;
	overflow-x: hidden;
	font-size: 100%;
	font-weight: 400;
	line-height: normal;
}

*, *:after, *:before {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

h1, h2, h3, h4, p, ul, ol, dl, figure, form {
	padding: 0;
	margin: 0;
}

ul, ol {
	list-style: none;
}

a {
	color: var(--color-black);
}

/* Astra Theme Overrides */
/* Reset Astra's default container and layout styles */
#page {
	min-height: 0 !important;
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

/*
#page {
	max-width: none !important;
}

.ast-container {
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

#content.site-content {
	padding: 0 !important;
	margin: 0 !important;
}
*/

/* Remove extra height from content area */
#content.site-content {
	min-height: 0 !important;
	height: auto !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
}

.ast-container {
	min-height: 0 !important;
}

/* Remove Astra's header/footer padding */
.site-header-wrapper + #content {
	padding-top: 0 !important;
}

/* Reset Astra button styles that might interfere */
.ast-button,
button.ast-button {
	background-color: transparent;
	border: 1px solid;
	padding: 10px 20px;
	font-family: inherit;
}

/* Remove Astra border radius */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="date"],
select,
textarea {
    border-radius: 0px !important;
}

/* form page*/

.postw {
    margin-top: 5rem;
}

.postw h1 {
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 900;
}

#vtskjema h3 {
    margin-top: 3rem;
}


/* form layout  */
#vtskjema .form-row span.label {
    color: var(--ast-global-color-2, #111827);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

#vtskjema .form-row {
	box-sizing: border-box;
	margin: 0 0 1em;
}

#vtskjema .form-row-first,
#vtskjema .form-row-last {
	float: left;
	width: 48%;
}

#vtskjema .form-row-first {
	margin-right: 4%;
}

#vtskjema .form-row-wide {
	width: 100%;
	float: none;
	clear: both;
}

#vtskjema .clear {
	clear: both;
}

/* Store section (business info) */
#vtskjema .store-section {
	margin: 1.5rem 0;
	padding: 1.5rem;
	border: 1px solid #e5e5e5;
	background: rgba(192, 228, 217, 0.2);
}

/* User sections (contact persons) */
#vtskjema .user-section {
	margin: 1.5rem 0;
	padding: 1.5rem;
	border: 1px solid #e5e5e5;
	background: rgba(248, 248, 248, 0.8);
}

#vtskjema .user-section:nth-child(odd) {
	background: rgba(248, 248, 248, 0.8);
}

#vtskjema .user-section:nth-child(even) {
	background: rgba(253, 223, 237, 0.2);
}

#vtskjema .user-section:last-of-type {
	margin-bottom: 2rem;
}

@media (max-width: 768px) {
	#vtskjema .form-row-first,
	#vtskjema .form-row-last {
		float: none;
		width: 100%;
		margin-right: 0;
	}
}

/* SVG icon styling for buttons */
#vtskjema .form-row button svg.icon {
	width: 24px;
	height: 24px;
	display: inline-block;
	vertical-align: middle;
	margin-left: 8px;
	fill: currentColor;
}

#vtskjema .form-row button {
	display: inline-flex;
	align-items: center;
}

/* Spinner animation for submit buttons */
@keyframes vtSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

#vtskjema .form-row button svg.spinner {
	display: none;
	animation: vtSpin 1s linear infinite;
}

#vtskjema .form-row button.is-loading svg.spinner {
	display: inline-block;
}

#vtskjema .form-row button.is-loading svg.icon:not(.spinner) {
	display: none;
}

#vtskjema .form-row button.is-loading {
	opacity: 0.7;
	cursor: not-allowed;
}





/* Multi-select dropdown widget */
.ms-wrapper {
	position: relative;
	width: 100%;
}

.ms-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 40px;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-radius: 0px;
	background: #fff;
	cursor: pointer;
	font-size: inherit;
	font-family: inherit;
	line-height: 1.5;
	text-align: left;
	box-sizing: border-box;
	color: var(--ast-form-input-text, #475569);
}

.ms-trigger:hover {
	border-color: #999;
}

.ms-trigger::after {
	content: "";
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #555;
	margin-left: 10px;
	flex-shrink: 0;
}

.ms-trigger-text {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ms-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	border-radius: 0 0 0px 0px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	max-height: 350px;
	overflow-y: auto;
}

.ms-dropdown.open {
	display: block;
}

.ms-option {
	display: flex;
	align-items: center;
	padding: 8px 12px;
	cursor: pointer;
	user-select: none;
}

.ms-option:hover {
	background: #f5f5f5;
}

.ms-option input[type="checkbox"] {
	margin: 0 10px 0 0;
	cursor: pointer;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.ms-option label {
	cursor: pointer;
	flex: 1;
	margin: 0;
	font-weight: 400;
	color: var(--ast-form-input-text, #475569);
}

/* Disabled state for single-assignment roles (e.g. Butikksjef) */
.ms-option-disabled {
	opacity: 0.45;
	cursor: not-allowed;
	position: relative;
}
.ms-option-disabled label {
	cursor: not-allowed;
}
.ms-option-disabled input[type="checkbox"] {
	cursor: not-allowed;
	pointer-events: none;
}

/* Hjem/Jobb/Hjem checkbox: match multi-select widget size */
.vtcheckbox input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
	margin: 0 10px 0 0;
	vertical-align: middle;
}
.vtcheckbox label {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

/* Tooltip for disabled Butikksjef option — lives on .ms-wrapper to escape dropdown overflow */
.ms-wrapper .ms-disabled-tooltip {
	display: none;
	position: absolute;
	bottom: calc(100% + 6px);
	left: 0;
	width: max-content;
	max-width: 320px;
	background: #1a1a1a;
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
	padding: 8px 12px;
	border-radius: 0px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.35);
	z-index: 1010;
	white-space: normal;
	word-wrap: break-word;
	pointer-events: none;
}
.ms-wrapper .ms-disabled-tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 16px;
	border: 6px solid transparent;
	border-top-color: #1a1a1a;
}
.ms-wrapper.show-tooltip > .ms-disabled-tooltip {
	display: block;
}
/* Mobile: center tooltip on screen */
@media (max-width: 600px) {
	.ms-wrapper .ms-disabled-tooltip {
		position: fixed;
		bottom: auto;
		top: 50%;
		left: 16px;
		right: 16px;
		width: auto;
		max-width: none;
		transform: translateY(-50%);
		font-size: 14px;
		padding: 12px 16px;
		box-shadow: 0 4px 20px rgba(0,0,0,0.4);
		pointer-events: auto;
	}
	.ms-wrapper .ms-disabled-tooltip::after {
		display: none;
	}
}

/* Footer Styles */
.footer {
	position: relative;
	margin-top: 80px;
	background-color: var(--test-test-gradient-dark, #000);
}

.footer * {
	line-height: inherit;
}

.footer p,
.footer h2 {
	padding: 0;
	margin: 0;
}

.footer__key-numbers {
	background: inherit;
	padding: var(--spacing-80, 4rem) 20px;
	max-width: 1600px;
	margin: 0 auto;
}

@media (min-width: 770px) {
	.footer__key-numbers {
		padding: var(--spacing-80, 4rem) 48px;
		margin-bottom: 10px;
	}
}

.footer__stats {
	display: flex;
	gap: 24px;
	flex-direction: column;
	flex-wrap: wrap;
}

@media (min-width: 770px) {
	.footer__stats {
		gap: 42px;
		justify-content: center;
		align-items: start;
		flex-direction: row;
	}
}

.footer__stat {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-30, 1.5rem);
	align-items: center;
	text-align: center;
	min-width: 184px;
}

.footer__stat-number {
	font-family: var(--font-titling, sans-serif);
	font-weight: 900;
	font-size: var(--font-size-6xl, 3.75rem);
	line-height: normal;
	color: var(--text-heading-heading-secondary, #f57eb6);
	margin: 0;
}

.footer__stat-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	width: 100%;
	max-width: 282px;
}

.footer__stat-title {
	font-weight: 900;
	font-size: var(--font-size-lg, 1.125rem);
	line-height: var(--font-line-height-lg, 1.75rem);
	color: var(--text-heading-heading-invert, #fff);
	margin: 0;
}

.footer__stat-description {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: var(--text-body-body-invert, #fff);
	margin: 0;
}

.footer__bottom {
	background-color: #fff;
	padding-bottom: 20px;
}

@media (min-width: 770px) {
	.footer__bottom {
		padding-bottom: 0;
	}
}

.footer__bottom-content {
	max-width: 1600px;
	margin: 0 auto;
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-direction: column;
}

@media (min-width: 770px) {
	.footer__bottom-content {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 24px;
		height: 48px;
	}
}

.footer__social {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-shrink: 0;
}

@media (min-width: 770px) {
	.footer__social {
		align-items: center;
	}
}

.footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	color: #000;
}

.footer__social-link:hover,
.footer__social-link:focus {
	opacity: 0.8;
}

.footer__info {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
	flex-wrap: wrap;
	flex-direction: column;
}

@media (min-width: 770px) {
	.footer__info {
		gap: 10px;
		text-align: center;
		flex-direction: row;
	}
}

.footer__info-text {
	font-weight: 500;
	font-size: var(--font-size-xs, 0.75rem);
	line-height: var(--font-line-height-xs, 1.25rem);
	color: #000;
	margin: 0;
	white-space: nowrap;
}

@media (min-width: 770px) {
	.footer__info-text {
		white-space: normal;
	}
}

.footer__links {
	display: flex;
	gap: 10px;
	justify-content: center;
}

@media (min-width: 770px) {
	.footer__links {
		align-items: center;
		justify-content: flex-end;
		flex-shrink: 0;
		flex-wrap: wrap;
	}
}

.footer__link {
	font-weight: 500;
	font-size: var(--font-size-xs, 0.75rem);
	line-height: var(--font-line-height-xs, 1.25rem);
	color: #000;
	text-decoration: none;
	white-space: nowrap;
}

.footer__link:hover,
.footer__link:focus {
	text-decoration: underline;
}

/* To-top button */
.to-top {
	padding: 0;
	top: -32px;
	text-align: right;
	position: absolute;
	right: 32px;
}

@media (min-width: 640px) {
	.to-top {
		display: none;
	}
}

.to-top__link {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 16px;
	border: none;
	border-radius: 48px;
	background-color: #fff;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.to-top__link:hover,
.to-top__link:focus {
	border: none;
	box-shadow: none;
	filter: brightness(0.95);
}

.to-top__link svg {
	width: 32px;
	height: 32px;
	rotate: 90deg;
}

/* Icon styles */
.icon {
	display: inline-block;
	vertical-align: middle;
	fill: currentColor;
}

.icon--bigger {
	width: 48px;
	height: 48px;
}

.icon--profile {
	fill: var(--color-primary-600, #007e45);
}

/* Header Styles */
.site-header-wrapper {
	position: relative;
	background-color: #fff;
	--header-text-primary: #000000;
	--header-text-secondary: #303030;
	--header-accent: #b85e88;
	--header-bg-menu: #f5f5f5;
	--header-shadow: 0 2px 2px rgba(0, 0, 0, .16);
	--header-hero-nav-font-size: 18px;
	--header-hero-nav-padding: 20px;
	--header-hero-nav-gap: 16px;
	--header-menu-padding-x: 20px;
	--header-menu-item-font-size: 24px;
	--search-hero-padding: 20px;
	--search-hero-field-height: 56px;
	--search-hero-input-size: 16px;
	--search-hero-icon-size: 24px;
	--header-logo-width: 200px;
	--header-compact-logo-width: 66px;
}

@media (min-width: 770px) {
	.site-header-wrapper {
		--header-hero-nav-font-size: 28px;
		--header-hero-nav-padding: 100px 60px 60px;
		--header-hero-nav-gap: 20px;
		--header-menu-padding-x: 40px;
		--header-menu-item-font-size: 30px;
		--search-hero-padding: 60px;
		--search-hero-field-height: 72px;
		--search-hero-input-size: 18px;
		--search-hero-icon-size: 32px;
	}
}

@media (min-width: 1024px) {
	.site-header-wrapper {
		--header-hero-nav-font-size: 40px;
		--header-hero-nav-padding: 160px 130px 100px;
		--header-hero-nav-gap: 24px;
		--header-menu-padding-x: 80px;
		--header-menu-item-font-size: 40px;
		--header-logo-width: 200px;
		--header-compact-logo-width: 86px;
	}
}

@media (min-width: 1200px) {
	.site-header-wrapper {
		--search-hero-padding: 100px;
		--search-hero-field-height: 88px;
		--search-hero-input-size: 20px;
		--search-hero-icon-size: 40px;
	}
}

.site-header {
	height: fit-content;
	max-width: 1600px;
	margin: 0 auto;
}

.site-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 10px;
}

@media (min-width: 960px) {
	.site-header__top {
		max-width: 1600px;
		margin: 0 auto;
	}
}

.site-header__logo {
	flex-shrink: 0;
}

.site-header__logo-image {
	max-width: 100%;
	height: auto;
}

.site-header__opening-hours {
	font-weight: 300;
	font-size: 18px;
	letter-spacing: 0.36px;
	color: var(--header-text-secondary);
	text-decoration: none;
}

.site-header__opening-hours:hover {
	text-decoration: underline;
}

.site-header__menu-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	height: 56px !important;
	padding: 18px 20px;
	background-color: #fff !important;
	border: none !important;
	box-shadow: var(--header-shadow) !important;
	cursor: pointer !important;
	font-weight: 900 !important;
	font-size: 20px !important;
	line-height: 1.4 !important;
	color: var(--header-text-secondary) !important;
}

.site-header__menu-button:hover {
	background-color: #f9f9f9 !important;
}

.site-header__menu-button:focus-visible {
	outline: 2px solid var(--header-text-primary) !important;
	outline-offset: 2px !important;
}

.site-header__menu-label {
	display: none;
}

@media (min-width: 770px) {
	.site-header__menu-label {
		display: block;
	}
}

.site-header__menu-icon {
	width: 24px;
	height: 24px;
	color: var(--header-text-secondary);
}

.site-header__nav-item {
	display: flex;
	align-items: baseline;
	gap: 4px;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 0;
}

.site-header__nav-item:hover .site-header__nav-label {
	text-decoration: underline;
}

.site-header__nav-label {
	font-weight: 700;
	line-height: 1.5;
}

.site-header__nav-count {
	font-weight: 300;
	line-height: 1.5;
}

.site-header:not(.site-header--compact) {
	--grid-spacing: 20px;
	padding-block: 20px 0;
}

.site-header:not(.site-header--compact) .site-header__top {
	flex-wrap: wrap;
	padding: 20px 10px 0;
}

.site-header:not(.site-header--compact) .site-header__logo {
	width: var(--header-logo-width);
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-header:not(.site-header--compact) .site-header__logo svg,
.site-header:not(.site-header--compact) .site-header__logo img {
	max-height: 80px;
}

.site-header:not(.site-header--compact) .site-header__opening-hours {
	order: 1;
	width: 100%;
	margin-top: 10px;
}

.site-header:not(.site-header--compact) .site-header__nav {
	display: none;
}

.site-header:not(.site-header--compact) .site-header__nav-label,
.site-header:not(.site-header--compact) .site-header__nav-count {
	color: var(--header-text-secondary);
}

.site-header:not(.site-header--compact) .site-header__nav-count {
	opacity: 0.7;
}

.site-header:not(.site-header--compact) .site-header__nav-item {
	font-size: 20px;
}

@media (min-width: 770px) {
	.site-header:not(.site-header--compact) {
		padding-block: 20px;
	}
	
	.site-header:not(.site-header--compact) .site-header__top {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		gap: 20px;
	}
	
	.site-header:not(.site-header--compact) .site-header__logo {
		justify-self: center;
	}
	
	.site-header:not(.site-header--compact) .site-header__menu-button {
		justify-self: end;
	}
	
	.site-header:not(.site-header--compact) .site-header__opening-hours {
		order: 0;
		width: auto;
		margin-top: 0;
	}
	
	.site-header:not(.site-header--compact) .site-header__menu-button {
		padding: 18px 30px;
	}
	
	.site-header:not(.site-header--compact) .site-header__nav {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 50px;
		padding: 10px 0 0;
	}
}

@media (max-width: 769px) {
	.site-header:not(.site-header--compact).site-header--startpage .site-header__nav {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 0 10px;
	}
	
	.site-header:not(.site-header--compact).site-header--startpage .site-header__nav-item {
		align-items: center;
		gap: 10px;
		height: 52px;
		padding: 10px 0;
		font-size: 28px;
	}
	
	.site-header:not(.site-header--compact).site-header--startpage .site-header__nav-label {
		line-height: 32px;
		color: var(--header-text-primary);
	}
	
	.site-header:not(.site-header--compact).site-header--startpage .site-header__nav-count {
		font-weight: 400;
		color: var(--header-accent);
		opacity: 1;
	}
}

/* Site Menu Styles */
.site-menu {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: none;
	background-color: var(--header-bg-menu);
	opacity: 0;
	transition: opacity 0.3s ease, display 0.3s ease allow-discrete;
}

.site-menu:popover-open {
	opacity: 1;
}

@starting-style {
	.site-menu:popover-open {
		opacity: 0;
	}
}

@media (min-width: 770px) {
	.site-menu {
		inset: 0 0 0 auto;
		width: auto;
		box-shadow: var(--header-shadow);
	}
}

.site-menu__container {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 50px var(--header-menu-padding-x) 0;
}

@media (min-width: 770px) {
	.site-menu__container {
		max-width: none;
		width: 596px;
	}
}

.site-menu__close {
	align-self: flex-end;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent !important;
	border: none;
	cursor: pointer;
	color: var(--header-text-secondary);
}

.site-menu__close:hover {
	color: var(--header-text-primary)!important;
}

.site-menu__close:focus-visible {
	outline: 2px solid var(--header-text-primary)!important;
	outline-offset: 2px;
}

@media (min-width: 1024px) {
	.site-menu__close {
		margin-bottom: 50px;
	}
}

.site-menu__close-icon {
	width: 32px;
	height: 32px;
}

.site-menu__content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-height: 0;
	overflow-y: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 20px 0;
	-webkit-mask-image: linear-gradient(to bottom, transparent, black 20px, black calc(100% - 20px), transparent);
	mask-image: linear-gradient(to bottom, transparent, black 20px, black calc(100% - 20px), transparent);
}

.site-menu__content::-webkit-scrollbar {
	display: none;
}

.site-menu__primary {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.site-menu__item {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding-bottom: 10px;
	text-decoration: none;
	border-bottom: 0;
}

.site-menu__item:hover .site-menu__item-label {
	text-decoration: underline;
}

.site-menu__item--large {
	font-size: var(--header-menu-item-font-size);
	font-weight: 900;
	line-height: 1.3;
}

.site-menu__item--large .site-menu__item-label {
	color: var(--header-text-primary);
}

.site-menu__item--large .site-menu__item-count {
	color: var(--header-accent);
}

.site-menu__item:not(.site-menu__item--large) .site-menu__item-label {
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	color: var(--header-text-primary);
}

.site-menu__item--search {
	align-items: center;
	padding: 0;
}

.site-menu__item--search .site-menu__search-icon {
	fill: var(--header-accent);
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	transform: translateY(-2px);
}

@media (min-width: 770px) {
	.site-menu__item--search .site-menu__search-icon {
		width: 42px;
		height: 42px;
		transform: none;
	}
}

.site-menu__divider {
	width: 100%;
	height: 0;
	margin: 20px 0;
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.site-menu__secondary {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 12px;
	padding-bottom: 40px;
}

/* Ensure form inputs always take full width */
#vtskjema .form-row .input-text {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

/* Error styling for vtskjema form */
#vtskjema .error {
	color: #c0392b;
	font-size: var(--font-size-sm);
	display: block;
	margin-top: 4px;
}

#vtskjema .input-error {
	border: 1px solid #c0392b !important;
	background-color: #fdf0ef !important;
}

#vtskjema .ms-wrapper.input-error {
	border: 1px solid #c0392b;
	border-radius: 0px;
	background-color: #fdf0ef;
}
