/* ==========================================================================
   Kong Oscar – nettside
   Kongegrønn, gull og pergament. Playfair Display til titler, Work Sans til tekst,
   Courier Prime til de kongelige resolusjonene.
   ========================================================================== */

:root {
	--ko-green: #152318;
	--ko-surface: #1F362F;
	--ko-line: #2F4A40;
	--ko-line-soft: #3E5E52;
	--ko-gold: #D6A94A;
	--ko-parchment: #F3E9D9;
	--ko-parchment-line: #D9CBB0;
	--ko-text: #F3E9D9;
	--ko-text-soft: #E6DCCB;
	--ko-muted: #BDB5A6;
	--ko-muted-dark: #5E5A4F;
	--ko-darkgold: #7A5A12;
	--ko-red: #9E2B25;
	--ko-display: "Playfair Display", Georgia, serif;
	--ko-sans: "Work Sans", system-ui, -apple-system, sans-serif;
	--ko-mono: "Courier Prime", ui-monospace, monospace;
	--ko-wide: 1200px;
	--ko-pad: max(20px, calc((100% - var(--ko-wide)) / 2));
	--ko-radius: 6px;
}

/* Palettklasser fra blokkredigeringen */
.has-kongegronn-color { color: var(--ko-green) !important; }
.has-flate-color { color: var(--ko-surface) !important; }
.has-gull-color { color: var(--ko-gold) !important; }
.has-pergament-color { color: var(--ko-parchment) !important; }
.has-morkgull-color { color: var(--ko-darkgold) !important; }
.has-rod-color { color: var(--ko-red) !important; }
.has-kongegronn-background-color { background-color: var(--ko-green) !important; }
.has-flate-background-color { background-color: var(--ko-surface) !important; }
.has-gull-background-color { background-color: var(--ko-gold) !important; }
.has-pergament-background-color { background-color: var(--ko-parchment) !important; }
.has-morkgull-background-color { background-color: var(--ko-darkgold) !important; }
.has-rod-background-color { background-color: var(--ko-red) !important; }

/* --------------------------------------------------------------------------
   Grunnlag
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ko-green);
	color: var(--ko-text);
	font-family: var(--ko-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--ko-gold); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .15s ease; }
a:hover { color: var(--ko-gold); }
:focus-visible { outline: 2px solid var(--ko-gold); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
strong, b { font-weight: 600; }
[x-cloak] { display: none !important; }

.ko-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ko-gold); color: var(--ko-green); padding: 10px 16px; border-radius: 4px; text-decoration: none; font-weight: 600; }
.ko-skip:focus { left: 16px; }

/* --------------------------------------------------------------------------
   Knapper (egne og Gutenberg-knapper)
   -------------------------------------------------------------------------- */
.ko-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 4px;
	border: 1px solid transparent;
	font: 600 16px/1.2 var(--ko-sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
	background: var(--ko-gold);
	color: var(--ko-green);
}
.ko-btn-gold, .wp-block-button.is-style-ko-gold .wp-block-button__link { background: var(--ko-gold); color: var(--ko-green); }
.ko-btn-gold:hover, .wp-block-button.is-style-ko-gold .wp-block-button__link:hover { background: var(--ko-parchment); color: var(--ko-green); }
.ko-btn-line, .wp-block-button.is-style-ko-line .wp-block-button__link { background: transparent; color: var(--ko-text); border-color: #6E8A7E; }
.ko-btn-line:hover, .wp-block-button.is-style-ko-line .wp-block-button__link:hover { border-color: var(--ko-gold); color: var(--ko-text); }
.wp-block-button.is-style-ko-dark .wp-block-button__link { background: var(--ko-green); color: var(--ko-parchment); }
.wp-block-button.is-style-ko-dark .wp-block-button__link:hover { background: var(--ko-surface); color: var(--ko-gold); }
.ko-light .wp-block-button.is-style-ko-line .wp-block-button__link { color: var(--ko-green); border-color: var(--ko-green); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons > .wp-block-button { margin: 0; }

/* --------------------------------------------------------------------------
   Topp
   -------------------------------------------------------------------------- */
.ko-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 35, 24, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--ko-line); }
.admin-bar .ko-header { top: 32px; }
.ko-header-inner { display: flex; align-items: center; gap: 32px; min-height: 80px; padding: 0 var(--ko-pad); }
.ko-logo { font-family: var(--ko-display); font-size: 28px; font-weight: 700; color: var(--ko-gold); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.ko-logo:hover { color: var(--ko-parchment); }
.ko-logo-small { font-size: 24px; }
.ko-nav { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.ko-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.ko-menu a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid transparent; }
.ko-menu a:hover { color: var(--ko-gold); }
.ko-menu .current-menu-item > a, .ko-menu .current_page_item > a { color: var(--ko-gold); border-bottom-color: var(--ko-gold); }
.ko-nav-tel { display: none; }
.ko-nav-sub { margin-left: 28px; padding-left: 28px; border-left: 1px solid var(--ko-line); font-size: 13px; color: var(--ko-muted); text-decoration: none; white-space: nowrap; }
.ko-nav-sub:hover { color: var(--ko-gold); }
.ko-burger { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--ko-line-soft); color: var(--ko-text); border-radius: 4px; min-height: 44px; padding: 0 14px; font: 500 15px var(--ko-sans); cursor: pointer; }
.ko-burger-lines, .ko-burger-lines::before, .ko-burger-lines::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.ko-burger-lines::before, .ko-burger-lines::after { content: ""; position: absolute; left: 0; }
.ko-burger-lines::before { top: -6px; }
.ko-burger-lines::after { top: 6px; }

@media (max-width: 1080px) {
	.ko-header-inner { gap: 16px; min-height: 68px; }
	.ko-logo { font-size: 24px; }
	.ko-header-book { margin-left: auto; min-height: 44px; padding: 0 18px; }
	.ko-burger { display: inline-flex; }
	.ko-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ko-green); border-bottom: 1px solid var(--ko-line); padding: 8px 20px 24px; flex-direction: column; align-items: stretch; }
	.ko-nav.is-open { display: flex; }
	.ko-menu { flex-direction: column; gap: 0; }
	.ko-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ko-line); font-size: 18px; }
	.ko-menu .current-menu-item > a { border-bottom-color: var(--ko-line); }
	.ko-nav-sub { display: block; margin: 16px 0 0; padding: 0; border: 0; font-size: 14px; color: var(--ko-muted, rgba(240,230,210,.7)); text-decoration: none; }
	.ko-nav-sub:hover { color: var(--ko-gold); }
	.ko-nav-tel { display: block; margin-top: 18px; color: var(--ko-gold); font-weight: 600; text-decoration: none; }
}
@media (max-width: 782px) { .admin-bar .ko-header { top: 46px; } }
@media (max-width: 600px) {
	.admin-bar .ko-header { top: 0; }
	.ko-header-book { display: none; }
	.ko-burger { margin-left: auto; }
}

/* --------------------------------------------------------------------------
   Sideoppsett: hver toppnivå-gruppe er en fullbredde seksjon
   -------------------------------------------------------------------------- */
.ko-main { display: block; }
.ko-entry > * { padding-left: var(--ko-pad); padding-right: var(--ko-pad); }
.ko-entry > .wp-block-group { padding-top: 88px; padding-bottom: 88px; }
.ko-entry > .wp-block-group + .wp-block-group:not(.has-background):not(.ko-decree) { padding-top: 0; }
.ko-entry > .ko-hero + .wp-block-group:not(.has-background) { padding-top: 16px; }
.ko-entry > .has-background + .wp-block-group:not(.has-background):not(.ko-decree) { padding-top: 104px; }
.ko-entry > .has-background + .ko-decree { margin-top: 104px !important; }

/* Tailwind i forhåndsvisningen tolker WordPress-klassen «size-full» som full høyde. Nullstill. */
.ko-entry .wp-block-image.size-full { height: auto; }
.ko-entry > .wp-block-group:last-child:not(.has-background) { padding-bottom: 104px; }
.ko-page-head { padding: 72px var(--ko-pad) 24px; }

/* WordPress sentrerer barn i «constrained»-grupper. Vi styrer bredden selv. */
.ko-entry .is-layout-constrained > * { margin-left: 0 !important; margin-right: 0 !important; max-width: none; }
.ko-entry .is-layout-flow > * , .ko-entry .is-layout-constrained > * { margin-block-start: 0; }

/* Luft mellom elementer inne i grupper og kolonner */
/* Klassiske temaer legger en indre beholder i grupper. Den behandles som selve gruppen. */
.wp-block-group__inner-container { height: 100%; }
.ko-entry .wp-block-group__inner-container > * + *,
.ko-entry .wp-block-column > * + * { margin-top: 16px; }
.ko-entry .wp-block-group__inner-container > .wp-block-columns + .wp-block-columns { margin-top: 48px; }
.ko-entry .wp-block-group__inner-container > * + .wp-block-columns,
.ko-entry .wp-block-group__inner-container > * + .wp-block-buttons { margin-top: 32px; }
.ko-entry .wp-block-column > * + .wp-block-buttons { margin-top: 28px; }
.ko-entry .wp-block-group__inner-container > .ko-h2 + *, .ko-entry .wp-block-column > .ko-h2 + * { margin-top: 20px; }
.ko-entry .wp-block-group__inner-container > .ko-display + * { margin-top: 20px; }
.ko-entry .wp-block-group__inner-container > .ko-eyebrow + .ko-display { margin-top: 14px; }

/* Kolonner */
.ko-entry .wp-block-columns { display: flex; gap: 40px; margin-bottom: 0; flex-wrap: wrap; }
.ko-entry .wp-block-column { flex: 1 1 0; min-width: 0; }
@media (min-width: 782px) { .ko-entry .wp-block-columns { flex-wrap: nowrap; } }
@media (max-width: 781px) {
	.ko-entry .wp-block-columns { gap: 32px; }
	.ko-entry .wp-block-column { flex-basis: 100% !important; }
}
.are-vertically-aligned-center { align-items: center; }

/* Lys seksjon på pergament */
.ko-light { color: var(--ko-green); }
.ko-light a { color: var(--ko-green); text-decoration-color: var(--ko-darkgold); }
.ko-light a:hover { color: var(--ko-darkgold); }
.ko-light .ko-eyebrow { color: var(--ko-darkgold); }
.ko-light .ko-muted { color: var(--ko-muted-dark); }
.ko-light .ko-lined { border-top-color: var(--ko-darkgold); }

.ko-topline > .wp-block-group__inner-container > :first-child { border-top: 1px solid var(--ko-line); padding-top: 64px; }
.ko-entry > .ko-topline { padding-top: 0; }
.ko-narrow { --ko-pad: max(20px, calc((100% - 760px) / 2)); }

/* --------------------------------------------------------------------------
   Typografi
   -------------------------------------------------------------------------- */
.ko-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ko-gold); }
.ko-display { font-family: var(--ko-display); font-weight: 700; line-height: 1.06; letter-spacing: -.005em; text-wrap: balance; }
h1.ko-display { font-size: clamp(40px, 5.6vw, 68px); }
h2.ko-display { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; }
.ko-h2 { font-family: var(--ko-display); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; text-wrap: balance; }
.ko-small-title { font-family: var(--ko-sans); font-size: 19px; font-weight: 600; line-height: 1.35; }
.ko-tagline { font-family: var(--ko-display); font-style: italic; font-weight: 500; font-size: clamp(20px, 2vw, 24px); color: var(--ko-gold); }
.ko-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ko-text-soft); max-width: 34em; }
.ko-light .ko-lead { color: var(--ko-green); }
.ko-muted { color: var(--ko-muted); font-size: 16px; }
.ko-note { font-size: 15px; color: var(--ko-muted); }
.ko-lab { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ko-muted); }
.ko-light .ko-lab { color: var(--ko-darkgold); }
.ko-more a { font-weight: 600; color: var(--ko-gold); text-decoration-color: currentColor; }
.ko-more a::after { content: " →"; }
.ko-light .ko-more a { color: var(--ko-darkgold); }
.ko-todo { display: inline-block; background: var(--ko-red); color: var(--ko-parchment) !important; font: 600 12px/1.3 var(--ko-sans); letter-spacing: .02em; padding: 5px 10px; border-radius: 3px; }
.ko-entry p.ko-todo { width: fit-content; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.ko-entry > .ko-hero { padding-top: 72px; padding-bottom: 72px; }
.ko-entry > .ko-hero-plain { padding-bottom: 40px; }
.ko-hero .wp-block-column > * + * { margin-top: 22px; }
.ko-hero .ko-display + .ko-tagline { margin-top: 14px; }
.ko-hero-plain .ko-display + * { margin-top: 22px !important; }
.ko-hero-plain .ko-eyebrow + .ko-display { margin-top: 14px !important; }
.ko-hero-cols { gap: 64px !important; }
.ko-hero-img img { width: 100%; height: clamp(300px, 38vw, 520px); object-fit: cover; border-radius: var(--ko-radius); }
.ko-today { font-size: 15px; color: var(--ko-text-soft); }
/* Bildeutsnitt for høye bilder i smale felt */
.ko-hero-img img.wp-image-244 { object-position: center 70%; }
.ko-status { display: inline-flex; align-items: center; gap: 10px; }
.ko-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ko-muted); flex: none; }
.ko-status.is-open .ko-dot { background: #6FBF73; box-shadow: 0 0 0 4px rgba(111, 191, 115, .18); }
.ko-proof { font-size: 14px; color: var(--ko-muted); }
.ko-hero .ko-proof { margin-top: 8px !important; }
@media (max-width: 781px) {
	.ko-entry > .ko-hero { padding-top: 40px; padding-bottom: 48px; }
	.ko-hero-cols { gap: 32px !important; }
	.ko-hero-img img { height: 280px; }
}

/* --------------------------------------------------------------------------
   Linjekort (fire svar, anledninger, regler)
   -------------------------------------------------------------------------- */
.ko-lined { border-top: 2px solid var(--ko-gold); padding-top: 24px; }
.ko-lined > * + * { margin-top: 10px !important; }
.ko-lined p { color: var(--ko-text-soft); font-size: 16px; }
.ko-light .ko-lined p { color: var(--ko-green); }
.ko-lined .ko-more { margin-top: 14px !important; }
@media (min-width: 782px) and (max-width: 1080px) {
	.ko-four { flex-wrap: wrap !important; }
	.ko-four > .wp-block-column { flex: 1 1 calc(50% - 20px) !important; }
}

/* --------------------------------------------------------------------------
   Spill
   -------------------------------------------------------------------------- */
.ko-games { margin-top: 40px !important; }
.ko-games .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ko-radius); }
.ko-games .wp-block-column > * + * { margin-top: 12px; }
.ko-games .wp-block-image + .ko-game { margin-top: 20px; }
.ko-game { font-family: var(--ko-display); font-size: 30px; font-weight: 700; }
.ko-game a { text-decoration: none; }
.ko-game a:hover { color: var(--ko-gold); }
.ko-game-price { font-size: 15px; color: var(--ko-gold); }
.ko-games p:not(.ko-game-price) { color: var(--ko-text-soft); font-size: 16px; }

/* Anledninger */
.ko-occ { gap: 32px !important; margin-top: 40px !important; }
.ko-occ + .ko-occ { margin-top: 32px !important; }
.ko-occ .wp-block-column { border-top: 1px solid currentColor; padding-top: 20px; }
.ko-light .ko-occ .wp-block-column { border-top-color: rgba(21, 35, 24, .25); }
.ko-occ-title { font-family: var(--ko-display); font-size: 24px; font-weight: 700; }
.ko-occ-title a { text-decoration: none; }
.ko-occ-title a::after { content: " →"; font-family: var(--ko-sans); font-size: 18px; color: var(--ko-darkgold); }
.ko-occ p { font-size: 16px; }

/* Tall og fakta */
.ko-stats { margin-top: 36px !important; }
.ko-stat { font-family: var(--ko-display); font-size: 40px; font-weight: 700; line-height: 1.1; }
.ko-stats .wp-block-column > * + * { margin-top: 6px; }
.ko-stats .ko-todo { margin-top: 10px !important; }
@media (max-width: 781px) {
	.ko-stats { gap: 28px 20px !important; }
	.ko-entry .ko-stats > .wp-block-column { flex-basis: calc(50% - 10px) !important; }
	.ko-stat { font-size: 28px; }
	.ko-stats p:not(.ko-stat) { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   Kongelig resolusjon
   -------------------------------------------------------------------------- */
.ko-entry > .ko-decree { width: min(calc(100% - 40px), 820px); margin: 0 auto 104px !important; padding: 44px 48px !important; }
.ko-decree { font-family: var(--ko-mono); border-radius: 2px; position: relative; box-shadow: inset 0 0 0 1px rgba(21, 35, 24, .18), inset 0 0 0 8px var(--ko-parchment), inset 0 0 0 9px rgba(21, 35, 24, .35); padding: 36px 40px; }
.ko-decree-lab { font-family: var(--ko-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ko-darkgold); }
.ko-decree-text { font-family: var(--ko-mono); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; margin-top: 14px !important; }
.ko-decree-line { font-family: var(--ko-mono); font-size: 17px; line-height: 1.5; }
.ko-decree-small .wp-block-group__inner-container > * + * { margin-top: 10px !important; }
.ko-decree-small .ko-decree-lab { margin-bottom: 8px; }
.ko-decree .ko-todo { font-family: var(--ko-sans); margin-top: 18px !important; }
@media (max-width: 600px) { .ko-entry > .ko-decree { padding: 32px 26px !important; } .ko-decree { padding: 28px 24px; } }

/* --------------------------------------------------------------------------
   Priser
   -------------------------------------------------------------------------- */
.ko-pricecards { gap: 24px !important; }
.ko-pricecard { border-radius: var(--ko-radius); padding: 36px 32px !important; height: 100%; color: var(--ko-green); }
.ko-pricecard .wp-block-group__inner-container > * + * { margin-top: 0 !important; }
.ko-card-title { font-family: var(--ko-display); font-size: 32px; font-weight: 700; line-height: 1.1; }
.ko-card-sub { font-size: 14px; color: var(--ko-muted-dark); margin-top: 6px !important; }
.ko-price-big { font-family: var(--ko-display); font-size: 60px; font-weight: 700; line-height: 1; margin-top: 28px !important; font-variant-numeric: lining-nums; }
.ko-price-unit { font-size: 16px; font-weight: 500; margin-top: 8px !important; }
.ko-price-min { font-size: 15px; color: var(--ko-darkgold); font-weight: 600; margin-top: 4px !important; }
.ko-pricecard .ko-lab { margin-top: 28px !important; padding-top: 20px; border-top: 1px solid var(--ko-parchment-line); color: var(--ko-darkgold); }
.ko-share { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ko-parchment-line); font-size: 16px; margin-top: 4px !important; }
.ko-share:last-child { border-bottom: 0; }
.ko-share strong { margin-left: auto; font-variant-numeric: tabular-nums; }
.ko-people { display: inline-flex; gap: 3px; width: 64px; }
.ko-person { display: inline-block; width: 12px; height: 20px; background: var(--ko-green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'%3E%3Ccircle cx='6' cy='4' r='3.4'/%3E%3Cpath d='M1 20v-7.5C1 9.6 3.2 8.6 6 8.6s5 1 5 3.9V20z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'%3E%3Ccircle cx='6' cy='4' r='3.4'/%3E%3Cpath d='M1 20v-7.5C1 9.6 3.2 8.6 6 8.6s5 1 5 3.9V20z'/%3E%3C/svg%3E") center / contain no-repeat; }

.ko-minutes { margin-top: 32px !important; border: 1px solid var(--ko-gold); border-radius: var(--ko-radius); padding: 32px 36px !important; }
.ko-minutes .wp-block-columns { gap: 48px; align-items: center; }
.ko-minutes .ko-card-title { font-size: 26px; }
.ko-minutes p { color: var(--ko-text-soft); }
.ko-bar-wrap { margin-top: 12px !important; }
.ko-bar { display: flex; width: 100%; height: 48px; border-radius: 4px; overflow: hidden; font-size: 13px; font-weight: 600; }
.ko-bar-on { flex: 2; display: flex; align-items: center; padding: 0 14px; background: var(--ko-gold); color: var(--ko-green); }
.ko-bar-off { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 10px; color: var(--ko-muted); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(243, 233, 217, .08) 6px 12px); border: 1px dashed var(--ko-line-soft); border-left: 0; border-radius: 0 4px 4px 0; text-align: center; line-height: 1.2; }
.ko-calc { font-size: 20px; margin-top: 16px !important; color: var(--ko-text) !important; }
.ko-calc strong { color: var(--ko-gold); font-size: 24px; }
@media (max-width: 600px) { .ko-minutes { padding: 26px 22px !important; } .ko-bar-off { font-size: 12px; } }

/* Tider og prislister */
.ko-hours { list-style: none; padding: 0 !important; margin-top: 16px; border-top: 1px solid var(--ko-line); }
.ko-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--ko-line); font-variant-numeric: tabular-nums; }
.ko-hours li span:last-child { font-weight: 600; text-align: right; }
.ko-light .ko-hours, .ko-light .ko-hours li, .ko-formcard .ko-hours li { border-color: var(--ko-parchment-line); }
.ko-offer li { align-items: baseline; }
.ko-offer li span:first-child { color: var(--ko-gold); font-weight: 600; }
.ko-offer li span:last-child { font-weight: 400; font-size: 19px; }

/* Lister */
.ko-plainlist, .ko-rules { list-style: none; padding: 0; }
.ko-plainlist li { position: relative; padding-left: 22px; margin-top: 8px; }
.ko-plainlist li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 2px; background: var(--ko-gold); }
.ko-rules { counter-reset: regel; max-width: 44em; }
.ko-rules li { counter-increment: regel; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--ko-line); }
.ko-rules li:last-child { border-bottom: 0; } /* Neste seksjon har sin egen strek øverst. */
.ko-rules li::before { content: counter(regel); position: absolute; left: 0; top: 12px; width: 32px; height: 32px; border: 1px solid var(--ko-gold); border-radius: 50%; display: grid; place-items: center; font: 700 15px var(--ko-display); color: var(--ko-gold); }

/* Spørsmål og svar */
.ko-faq { gap: 48px !important; }
.ko-faq + .ko-faq { margin-top: 32px !important; }
.ko-faq .wp-block-column > * + * { margin-top: 8px; }
.ko-faq-q { font-size: 18px; font-weight: 600; font-family: var(--ko-sans); }
.ko-faq p { color: var(--ko-text-soft); font-size: 16px; }
.ko-group-faq-first { margin-top: 32px; }
.ko-topline .ko-h2 + .ko-faq { margin-top: 32px !important; }

.ko-links { display: flex; flex-wrap: wrap; gap: 6px 4px; color: var(--ko-muted); }
.ko-links a { font-weight: 500; color: var(--ko-text); }

/* --------------------------------------------------------------------------
   Kort og skjemaflater
   -------------------------------------------------------------------------- */
.ko-formcard { border-radius: var(--ko-radius); padding: 40px !important; }
.ko-formcard-dark { background: var(--ko-surface); border: 1px solid var(--ko-line); }
.ko-sidecard { border: 1px solid var(--ko-line); border-radius: var(--ko-radius); padding: 26px 28px !important; }
.ko-sidecard + .ko-sidecard { margin-top: 16px !important; }
.ko-sidecard .wp-block-group__inner-container > * + * { margin-top: 10px !important; }
.ko-sidecard p { font-size: 16px; color: var(--ko-text-soft); }
.ko-sidecard .ko-hours { margin-top: 12px !important; }
@media (max-width: 600px) { .ko-formcard { padding: 26px 20px !important; } }

/* --------------------------------------------------------------------------
   Skjemaer
   -------------------------------------------------------------------------- */
.ko-form { display: grid; gap: 22px; }
.ko-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.ko-form legend, .ko-form label, .ko-field-lab { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.ko-form .ko-req { color: var(--ko-red); margin-left: 2px; }
.ko-formcard-dark .ko-form .ko-req { color: var(--ko-gold); }
.ko-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.ko-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .ko-row, .ko-row-3 { grid-template-columns: 1fr; } }
.ko-form input[type=text], .ko-form input[type=email], .ko-form input[type=tel], .ko-form input[type=date], .ko-form input[type=number], .ko-form select, .ko-form textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 4px; font: 400 16px/1.4 var(--ko-sans);
	border: 1px solid #B9AB90; background: #FFFCF6; color: var(--ko-green); appearance: none; -webkit-appearance: none;
}
.ko-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23152318' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.ko-form textarea { min-height: 110px; resize: vertical; }
.ko-form input:focus, .ko-form select:focus, .ko-form textarea:focus { outline: 2px solid var(--ko-gold); outline-offset: 1px; border-color: var(--ko-green); }
.ko-formcard-dark .ko-form input, .ko-formcard-dark .ko-form select, .ko-formcard-dark .ko-form textarea { background-color: #16291F; border-color: var(--ko-line-soft); color: var(--ko-text); }
.ko-formcard-dark .ko-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D6A94A' stroke-width='1.6'/%3E%3C/svg%3E"); }
.ko-formcard-dark .ko-form input::placeholder, .ko-formcard-dark .ko-form textarea::placeholder { color: #8F9A91; }
.ko-formcard-dark input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.85); }

.ko-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.ko-choice label { margin: 0; font-weight: 500; font-size: 16px; }
.ko-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ko-choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 4px; border: 1px solid #B9AB90; background: #FFFCF6; cursor: pointer; transition: all .15s ease; }
.ko-choice input:checked + span { background: var(--ko-green); color: var(--ko-parchment); border-color: var(--ko-green); }
.ko-choice input:focus-visible + span { outline: 2px solid var(--ko-gold); outline-offset: 2px; }
.ko-formcard-dark .ko-choice span { background: #16291F; border-color: var(--ko-line-soft); }
.ko-formcard-dark .ko-choice input:checked + span { background: var(--ko-gold); color: var(--ko-green); border-color: var(--ko-gold); }

.ko-counter { display: inline-flex; align-items: stretch; border: 1px solid #B9AB90; border-radius: 4px; overflow: hidden; background: #FFFCF6; }
.ko-counter button { width: 50px; border: 0; background: transparent; color: var(--ko-green); font: 600 22px var(--ko-sans); cursor: pointer; }
.ko-counter button:hover { background: var(--ko-parchment); }
.ko-counter input[type=number] { width: 72px !important; border: 0 !important; border-left: 1px solid #B9AB90 !important; border-right: 1px solid #B9AB90 !important; border-radius: 0 !important; text-align: center; font-weight: 600 !important; -moz-appearance: textfield; }
.ko-counter input::-webkit-outer-spin-button, .ko-counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ko-tier { border-radius: 4px; padding: 16px 18px; font-size: 15px; line-height: 1.5; border-left: 4px solid var(--ko-green); background: rgba(21, 35, 24, .06); }
.ko-tier strong { display: block; font-size: 16px; margin-bottom: 2px; }
.ko-tier.is-ring { border-left-color: var(--ko-darkgold); background: rgba(214, 169, 74, .16); }
.ko-tier.is-stor { border-left-color: var(--ko-red); background: rgba(158, 43, 37, .08); }
.ko-tier .ko-btn { margin-top: 12px; min-height: 44px; }
.ko-help { font-size: 14px; color: var(--ko-muted-dark); margin-top: 6px; }
.ko-formcard-dark .ko-help { color: var(--ko-muted); }
.ko-form .ko-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ko-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ko-submit .ko-btn { min-width: 200px; }
.ko-formcard:not(.ko-formcard-dark) .ko-submit .ko-btn { background: var(--ko-green); color: var(--ko-parchment); }
.ko-formcard:not(.ko-formcard-dark) .ko-submit .ko-btn:hover { background: var(--ko-surface); color: var(--ko-gold); }
.ko-privacy { font-size: 13px; color: var(--ko-muted-dark); }
.ko-formcard-dark .ko-privacy { color: var(--ko-muted); }
.ko-melding { border-radius: var(--ko-radius); padding: 22px 24px; border: 1px solid currentColor; }
.ko-melding h3 { font-family: var(--ko-display); font-size: 26px; margin-bottom: 8px; }
.ko-melding p + p { margin-top: 8px; }
.ko-melding.is-feil { border-color: var(--ko-red); }
.ko-testmodus { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ko-red); }
.ko-formcard-dark .ko-testmodus { color: var(--ko-gold); }

/* --------------------------------------------------------------------------
   Forminator-skjemaene i samme stil som resten av siden
   -------------------------------------------------------------------------- */
.forminator-custom-form { display: grid; gap: 20px; margin: 0 !important; }
.forminator-custom-form .forminator-row { display: flex; flex-wrap: wrap; gap: 16px 20px; margin: 0 !important; }
.forminator-custom-form .forminator-row.forminator-hidden, .forminator-custom-form .forminator-col.forminator-hidden { display: none !important; }
.forminator-custom-form .forminator-col { flex: 1 1 100%; min-width: 0; padding: 0 !important; }
.forminator-custom-form .forminator-row:not(:has(.forminator-col:not(.forminator-hidden))) { display: none !important; }
.forminator-custom-form .forminator-col-6 { flex: 1 1 calc(50% - 10px); }
@media (max-width: 600px) { .forminator-custom-form .forminator-col-6 { flex-basis: 100%; } }
.forminator-custom-form .forminator-label, .forminator-custom-form legend.forminator-label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px; padding: 0; color: inherit; }
.forminator-custom-form .forminator-required { color: var(--ko-red); margin-left: 2px; }
.ko-formcard-dark .forminator-custom-form .forminator-required { color: var(--ko-gold); }
.forminator-custom-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.forminator-custom-form input.forminator-input, .forminator-custom-form select, .forminator-custom-form textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 4px; font: 400 16px/1.4 var(--ko-sans);
	border: 1px solid var(--ko-parchment-line); background: #FBF6EA; color: var(--ko-green); box-sizing: border-box;
}
.forminator-custom-form textarea { min-height: 110px; resize: vertical; }
.forminator-custom-form select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23152318' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.forminator-custom-form input:focus, .forminator-custom-form select:focus, .forminator-custom-form textarea:focus { outline: 2px solid var(--ko-gold); outline-offset: 1px; }
.ko-formcard-dark .forminator-custom-form input.forminator-input, .ko-formcard-dark .forminator-custom-form select, .ko-formcard-dark .forminator-custom-form textarea { background-color: #16291F; border-color: var(--ko-line-soft); color: var(--ko-text); }
.ko-formcard-dark .forminator-custom-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A24B' stroke-width='1.6'/%3E%3C/svg%3E"); }
.ko-formcard-dark .forminator-custom-form ::placeholder { color: #8F9A91; }
.forminator-custom-form .forminator-input-with-icon { position: relative; }
.forminator-custom-form .forminator-input-with-icon [class*="forminator-icon"] { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: .6; }
.forminator-custom-form .forminator-description, .forminator-custom-form .ko-help { display: block; font-size: 14px; color: var(--ko-muted-dark); margin-top: 6px; }
.ko-formcard-dark .forminator-custom-form .forminator-description, .ko-formcard-dark .forminator-custom-form .ko-help { color: var(--ko-muted); }
.forminator-custom-form .forminator-field-html p { margin: 0; }

/* Valg som knapper */
.forminator-custom-form .forminator-field-radio .forminator-field { display: flex; flex-wrap: wrap; gap: 10px; }
.forminator-custom-form .forminator-field-radio .forminator-label { flex-basis: 100%; }
.forminator-custom-form .forminator-field-radio .forminator-description { flex-basis: 100%; margin-top: 0; }
.forminator-custom-form .forminator-radio { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border: 1px solid var(--ko-parchment-line); border-radius: 999px; background: #FBF6EA; color: var(--ko-green); font-size: 15px; font-weight: 500; cursor: pointer; margin: 0 !important; }
.forminator-custom-form .forminator-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.forminator-custom-form .forminator-radio .forminator-radio-bullet { display: none; }
.forminator-custom-form .forminator-radio:has(input:checked) { background: var(--ko-green); color: var(--ko-parchment); border-color: var(--ko-green); }
.forminator-custom-form .forminator-radio:has(input:focus-visible) { outline: 2px solid var(--ko-gold); outline-offset: 2px; }
.ko-formcard-dark .forminator-custom-form .forminator-radio { background: #16291F; border-color: var(--ko-line-soft); color: var(--ko-text); }
.ko-formcard-dark .forminator-custom-form .forminator-radio:has(input:checked) { background: var(--ko-gold); color: var(--ko-green); border-color: var(--ko-gold); }

/* Beskjeder ved mange gjester */
.forminator-custom-form .ko-tier { border-left: 3px solid var(--ko-gold); padding: 12px 16px; background: rgba(201, 162, 75, .12); border-radius: 0 4px 4px 0; font-size: 15px; }
.forminator-custom-form .ko-tier strong { display: block; margin-bottom: 4px; }
.forminator-custom-form .ko-tier a { font-weight: 600; }

/* Knapp, feil og svar */
.forminator-custom-form .forminator-button-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 200px; padding: 0 28px; border: 0; border-radius: 4px; background: var(--ko-gold); color: var(--ko-green); font: 600 16px var(--ko-sans); cursor: pointer; }
.forminator-custom-form .forminator-button-submit:hover { background: var(--ko-parchment); }
.ko-formcard:not(.ko-formcard-dark) .forminator-custom-form .forminator-button-submit { background: var(--ko-green); color: var(--ko-parchment); }
.ko-formcard:not(.ko-formcard-dark) .forminator-custom-form .forminator-button-submit:hover { background: var(--ko-surface); color: var(--ko-gold); }
/* Butikk: bordet vi anbefaler, med pris */
.ko-product-img { margin: 0; }
.ko-product-img img { display: block; width: 100%; max-width: 440px; margin-inline: auto; border-radius: var(--ko-radius); background: #FFFFFF; }
.ko-price-line { font-size: 19px; }

/* Takkesidene (inc/takk.php) */
.ko-takk { min-height: 60vh; }
.ko-takk .wp-block-group__inner-container { max-width: 720px; }
.ko-takk-kort { margin: 28px 0 32px; padding: 0; max-width: 520px; border: 1px solid var(--ko-line); border-radius: var(--ko-radius); }
.ko-takk-kort > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 14px 18px; border-top: 1px solid var(--ko-line); }
.ko-takk-kort > div:first-child { border-top: 0; }
.ko-takk-kort dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ko-gold); }
.ko-takk-kort dd { margin: 0; font-weight: 600; }
.ko-takk .ko-takk-note { margin-top: 24px; font-size: 15px; }

/* Skjemaet er låst mens det sender (footer.php). Feltene tones ned, knappen og beskjeden står klart. */
.forminator-custom-form.ko-sender .forminator-row { opacity: .55; transition: opacity .2s; }
.forminator-custom-form.ko-sender .forminator-row:has(.forminator-button-submit) { opacity: 1; }
.forminator-custom-form .ko-sender-status { margin: 14px 0 0; font-weight: 600; font-size: 15px; }
.forminator-custom-form .ko-sender-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .forminator-custom-form.ko-sender .forminator-row { transition: none; } }

/* Mens skjemaet sendes: knappen sier «Sender», og den ekstra meldingsboksen til Forminator vises ikke. */
.forminator-custom-form .forminator-button-submit.forminator-button-onload { font-size: 0; cursor: wait; opacity: .85; }
.forminator-custom-form .forminator-button-submit.forminator-button-onload::after { content: "Sender"; font-size: 16px; }
.forminator-custom-form .forminator-response-message.forminator-loading { display: none !important; }
.forminator-custom-form .forminator-error-message { display: block; margin-top: 6px; font-size: 14px; color: var(--ko-red); }
.ko-formcard-dark .forminator-custom-form .forminator-error-message { color: #F0A58F; }
.forminator-custom-form .forminator-has_error input, .forminator-custom-form .forminator-has_error select, .forminator-custom-form .forminator-has_error textarea { border-color: var(--ko-red); }
.forminator-custom-form .forminator-response-message { border: 1px solid currentColor; border-radius: var(--ko-radius); padding: 18px 20px; font-size: 16px; }
.forminator-custom-form .forminator-response-message:empty, .forminator-custom-form .forminator-response-message[aria-hidden="true"] { display: none; }
.forminator-custom-form .forminator-response-message p { margin: 0; }

/* Kalender */
#ui-datepicker-div { background: var(--ko-parchment); color: var(--ko-green); border: 1px solid var(--ko-parchment-line); border-radius: 6px; padding: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); z-index: 100 !important; font: 400 14px var(--ko-sans); }
#ui-datepicker-div .ui-datepicker-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 600; }
#ui-datepicker-div { width: auto !important; min-width: 300px; }
#ui-datepicker-div .ui-datepicker-title { order: 2; display: flex; gap: 6px; }
#ui-datepicker-div select { width: auto !important; min-width: 0; min-height: 0; padding: 4px 26px 4px 8px; font-size: 14px; }
#ui-datepicker-div .ui-datepicker-prev { order: 1; } #ui-datepicker-div .ui-datepicker-next { order: 3; }
#ui-datepicker-div .ui-datepicker-prev, #ui-datepicker-div .ui-datepicker-next { cursor: pointer; padding: 4px 8px; color: var(--ko-green); text-decoration: none; }
#ui-datepicker-div table { border-collapse: collapse; }
#ui-datepicker-div th { font-size: 12px; font-weight: 600; padding: 4px; }
#ui-datepicker-div td a, #ui-datepicker-div td span { display: block; width: 34px; line-height: 34px; text-align: center; border-radius: 4px; color: var(--ko-green); text-decoration: none; }
#ui-datepicker-div td a:hover { background: rgba(201, 162, 75, .25); }
#ui-datepicker-div .ui-state-active { background: var(--ko-green); color: var(--ko-parchment) !important; }
#ui-datepicker-div .ui-state-disabled span { opacity: .35; }
/* Dager i neste måned, i siste uke. Litt dusere, men kan velges. */
#ui-datepicker-div .ui-datepicker-other-month a { color: #6F6A5E; }
#ui-datepicker-div .ui-datepicker-other-month.ui-state-disabled span { opacity: .25; }

/* Autofyll: nettleseren skal ikke gi feltene en egen bakgrunnsfarge. Feltet beholder sine egne farger. */
.forminator-custom-form input:-webkit-autofill,
.forminator-custom-form input:-webkit-autofill:hover,
.forminator-custom-form input:-webkit-autofill:focus,
.forminator-custom-form textarea:-webkit-autofill,
.forminator-custom-form select:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #FBF6EA inset; box-shadow: 0 0 0 1000px #FBF6EA inset;
	-webkit-text-fill-color: var(--ko-green); caret-color: var(--ko-green); transition: background-color 99999s ease-out 0s;
}
.forminator-custom-form input:autofill, .forminator-custom-form textarea:autofill, .forminator-custom-form select:autofill {
	box-shadow: 0 0 0 1000px #FBF6EA inset; -webkit-text-fill-color: var(--ko-green);
}
.ko-formcard-dark .forminator-custom-form input:-webkit-autofill,
.ko-formcard-dark .forminator-custom-form input:-webkit-autofill:hover,
.ko-formcard-dark .forminator-custom-form input:-webkit-autofill:focus,
.ko-formcard-dark .forminator-custom-form textarea:-webkit-autofill,
.ko-formcard-dark .forminator-custom-form select:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #16291F inset; box-shadow: 0 0 0 1000px #16291F inset;
	-webkit-text-fill-color: var(--ko-text); caret-color: var(--ko-text);
}
.ko-formcard-dark .forminator-custom-form input:autofill, .ko-formcard-dark .forminator-custom-form textarea:autofill, .ko-formcard-dark .forminator-custom-form select:autofill {
	box-shadow: 0 0 0 1000px #16291F inset; -webkit-text-fill-color: var(--ko-text);
}

/* --------------------------------------------------------------------------
   Bunn
   -------------------------------------------------------------------------- */
.ko-footer { border-top: 1px solid var(--ko-line); background: var(--ko-green); }
.ko-footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 64px var(--ko-pad) 40px; font-size: 15px; line-height: 1.8; }
.ko-footer ul { list-style: none; padding: 0; margin: 0; }
.ko-footer a { text-decoration: none; }
.ko-footer a:hover { color: var(--ko-gold); }
.ko-footer-col p + p { margin-top: 14px; }
.ko-footer-col .ko-logo { display: inline-block; margin-bottom: 10px; }
.ko-footer-lab { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ko-muted); margin-bottom: 8px !important; }
.ko-footer-today { font-size: 14px; color: var(--ko-muted); }
.ko-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px var(--ko-pad) 28px; border-top: 1px solid var(--ko-line); font-size: 13px; color: var(--ko-muted); }
.ko-footer-bottom a { color: var(--ko-muted); }
.ko-footer-legal { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
.ko-footer-samtykke { background: none; border: 0; padding: 0; font: inherit; color: var(--ko-muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ko-footer-samtykke:hover { color: var(--ko-gold); }
.ko-footer-samtykke:focus-visible { outline: 2px solid var(--ko-gold); outline-offset: 2px; }
@media (max-width: 900px) { .ko-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ko-footer-inner { grid-template-columns: 1fr; padding-top: 48px; } }

/* Fast bookingknapp på mobil */
.ko-mobilbar { display: none; }
@media (max-width: 781px) {
	.ko-mobilbar { transition: transform .25s ease, opacity .25s ease; }
	.ko-mobilbar.ko-skjult { transform: translateY(110%); opacity: 0; pointer-events: none; }
	.ko-mobilbar { display: grid; grid-template-columns: 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 35, 24, .97); border-top: 1px solid var(--ko-line); }
	.ko-mobilbar .ko-btn { min-height: 50px; }
	body.ko-har-mobilbar { padding-bottom: 74px; }
}

/* --------------------------------------------------------------------------
   Stor header (Cover-blokk over hele bredden)
   -------------------------------------------------------------------------- */
.ko-entry > .ko-cover { padding: 120px var(--ko-pad) 104px; margin: 0; align-items: flex-end; color: var(--ko-text); }
.ko-cover .wp-block-cover__image-background { object-fit: cover; }
.ko-cover .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(21, 35, 24, .94) 0%, rgba(21, 35, 24, .78) 42%, rgba(21, 35, 24, .30) 100%) !important; }
.ko-cover .wp-block-cover__inner-container { width: 100%; max-width: var(--ko-wide); margin: 0 auto; color: var(--ko-text); }
.ko-cover .wp-block-cover__inner-container > * { max-width: 680px; }
.ko-cover .wp-block-cover__inner-container > * + * { margin-top: 22px !important; }
.ko-cover .ko-display + .ko-tagline { margin-top: 14px !important; }
.ko-cover h1.ko-display { font-size: clamp(44px, 6.4vw, 84px); }
.ko-cover .ko-lead { color: var(--ko-text-soft); }
@media (max-width: 781px) {
	.ko-entry > .ko-cover { padding: 96px var(--ko-pad) 56px; min-height: 88vh !important; }
	.ko-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(21, 35, 24, .45) 0%, rgba(21, 35, 24, .82) 45%, rgba(21, 35, 24, .96) 100%) !important; }
}
@media (prefers-reduced-motion: no-preference) {
	.ko-cover .wp-block-cover__inner-container > * { animation: ko-inn .7s cubic-bezier(.2, .7, .2, 1) both; }
	.ko-cover .wp-block-cover__inner-container > *:nth-child(2) { animation-delay: .07s; }
	.ko-cover .wp-block-cover__inner-container > *:nth-child(3) { animation-delay: .14s; }
	.ko-cover .wp-block-cover__inner-container > *:nth-child(4) { animation-delay: .21s; }
	.ko-cover .wp-block-cover__inner-container > *:nth-child(n+5) { animation-delay: .28s; }
	/* Overskriften og knappene står i ro fra første bilde. */
	.ko-cover .wp-block-cover__inner-container > h1,
	.ko-cover .wp-block-cover__inner-container > .wp-block-buttons { animation: none; }
}
/* Google-score under knappene i headeren */
.ko-cover .ko-proof { color: var(--ko-text-soft); margin-top: 10px !important; }
.ko-cover .ko-today + .ko-proof { margin-top: 6px !important; }
/* Mellomstørrelse: utsnittet flyttes bort fra personen i forgrunnen. */
@media (min-width: 782px) and (max-width: 1199px) {
	.ko-cover .wp-block-cover__image-background.wp-image-221 { object-position: 82% center; }
}

/* Tellere */
.ko-entry > .ko-counters { padding-top: 44px !important; padding-bottom: 44px !important; border-bottom: 1px solid var(--ko-line); background: var(--ko-surface); }
.ko-entry > .ko-counters + .wp-block-group { padding-top: 88px !important; }
.ko-counters .wp-block-columns { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px !important; }
.ko-counters-4 .wp-block-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ko-counters .wp-block-column { text-align: center; }
.ko-counters .wp-block-column > * + * { margin-top: 6px !important; }
.ko-count { font-family: var(--ko-display); font-weight: 700; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; color: var(--ko-gold); font-variant-numeric: lining-nums tabular-nums; }
.ko-count-lab { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ko-muted); }
.ko-light .ko-counters { margin-top: 32px !important; }
.ko-light .ko-count { color: var(--ko-green); }

/* Tall rett i headeren */
.ko-cover .ko-cover-stats { margin-top: 30px !important; max-width: none !important; }
.ko-cover .ko-cover-stats .ko-count, .ko-cover .ko-cover-stats .ko-count-lab { white-space: nowrap; }
.ko-cover .ko-cover-stats .wp-block-columns { grid-template-columns: repeat(4, auto) !important; justify-content: start; gap: 0 !important; }
.ko-cover h1.ko-display { font-size: clamp(40px, 5.4vw, 76px); max-width: 860px; }
.ko-cover .ko-cover-stats .wp-block-column { text-align: left; padding: 0 32px; border-left: 1px solid var(--ko-line); }
.ko-cover .ko-cover-stats .wp-block-column:first-child { padding-left: 0; border-left: 0; }
.ko-cover .ko-cover-stats .ko-count { font-size: clamp(38px, 4.6vw, 64px); }
.ko-cover .ko-cover-stats .ko-count-lab { color: var(--ko-text-soft); }
@media (max-width: 781px) {
	.ko-cover .ko-cover-stats .wp-block-columns { grid-template-columns: repeat(2, auto) !important; gap: 20px 0 !important; }
	.ko-cover .ko-cover-stats .wp-block-column { padding: 0 20px; }
	.ko-cover .ko-cover-stats .wp-block-column:nth-child(odd) { padding-left: 0; border-left: 0; }
	.ko-cover .ko-cover-stats .wp-block-column:last-child { grid-column: auto !important; }
	.ko-cover .ko-cover-stats .ko-count { font-size: 36px; }
	.ko-cover .ko-cover-stats .ko-count-lab { font-size: 11px; letter-spacing: .08em; }
}
.ko-light .ko-count-lab { color: var(--ko-darkgold); }
@media (max-width: 781px) {
	.ko-counters .wp-block-columns, .ko-counters-4 .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px !important; }
	.ko-counters:not(.ko-counters-4) .wp-block-column:last-child { grid-column: 1 / -1; }
}

/* Galleri */
.ko-gallery.wp-block-gallery { gap: 12px !important; margin-top: 32px !important; }
.ko-gallery.wp-block-gallery .wp-block-image img { aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; border-radius: var(--ko-radius); }
.ko-gallery.wp-block-gallery .wp-block-image { margin: 0 !important; }

.ko-center { text-align: center; }
.ko-entry > .ko-center { padding-top: 24px !important; padding-bottom: 40px !important; }
.ko-center .ko-todo { margin-left: auto !important; margin-right: auto !important; }

/* Menytabeller */
.ko-menutable { margin: 20px 0 0 !important; }
.ko-menutable table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ko-menutable th, .ko-menutable td { border: 0 !important; border-bottom: 1px solid var(--ko-line) !important; padding: 16px 12px 16px 0; text-align: left; vertical-align: top; }
.ko-menutable th { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ko-muted); padding-bottom: 10px; }
.ko-menutable td:first-child { width: 58%; color: var(--ko-text-soft); line-height: 1.5; }
.ko-menutable td:first-child strong { display: inline-block; font-family: var(--ko-display); font-size: 21px; color: var(--ko-text); margin-bottom: 4px; }
.ko-menutable td:not(:first-child), .ko-menutable th:not(:first-child) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ko-menutable td:not(:first-child) { font-weight: 600; color: var(--ko-gold); padding-top: 20px; }
.ko-light .ko-menutable th, .ko-light .ko-menutable td { border-bottom-color: var(--ko-parchment-line) !important; }
.ko-light .ko-menutable th { color: var(--ko-darkgold); }
.ko-light .ko-menutable td, .ko-light .ko-menutable td:first-child { color: var(--ko-green); }
.ko-light .ko-menutable td:not(:first-child) { color: var(--ko-green); }
.ko-roomtable td:first-child { width: auto; }
@media (max-width: 600px) {
	.ko-menutable:not(.ko-menutable-2):not(.ko-roomtable) thead { display: none; }
	.ko-menutable:not(.ko-menutable-2):not(.ko-roomtable) tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--ko-line); }
	.ko-menutable:not(.ko-menutable-2):not(.ko-roomtable) td { display: inline-block; border: 0 !important; padding: 4px 14px 0 0; }
	.ko-menutable:not(.ko-menutable-2):not(.ko-roomtable) td:first-child { display: block; width: auto; padding-bottom: 6px; }
	.ko-menutable:not(.ko-menutable-2):not(.ko-roomtable) td:nth-child(2)::before { content: "Liten "; font-weight: 400; color: var(--ko-muted); }
	.ko-menutable:not(.ko-menutable-2):not(.ko-roomtable) td:nth-child(3)::before { content: "Medium "; font-weight: 400; color: var(--ko-muted); }
	.ko-menutable:not(.ko-menutable-2):not(.ko-roomtable) td:nth-child(4)::before { content: "Stor "; font-weight: 400; color: var(--ko-muted); }
	.ko-roomtable table { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   Animasjon ved lasting
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.ko-hero .wp-block-column > * { animation: ko-inn .6s cubic-bezier(.2, .7, .2, 1) both; }
	.ko-hero .wp-block-column > *:nth-child(2) { animation-delay: .06s; }
	.ko-hero .wp-block-column > *:nth-child(3) { animation-delay: .12s; }
	.ko-hero .wp-block-column > *:nth-child(4) { animation-delay: .18s; }
	.ko-hero .wp-block-column > *:nth-child(n+5) { animation-delay: .24s; }
	.ko-hero .wp-block-column > h1,
	.ko-hero .wp-block-column > .wp-block-buttons { animation: none; }
	.ko-hero-img { animation: ko-bilde .9s ease both; }
}
@keyframes ko-inn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ko-bilde { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Forsiden: tre korte svar med ett stort faktum hver
   -------------------------------------------------------------------------- */
.ko-lined p.ko-fact { font-family: var(--ko-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; color: var(--ko-gold); }
.ko-lined .ko-small-title + .ko-fact { margin-top: 8px !important; }
.ko-lined .ko-fact + p { margin-top: 12px !important; }
.ko-facts .ko-small-title { font-size: 15px; letter-spacing: .02em; color: var(--ko-text-soft); }
@media (min-width: 782px) and (max-width: 1080px) {
	.ko-four.ko-facts { flex-wrap: nowrap !important; gap: 28px !important; }
	.ko-four.ko-facts > .wp-block-column { flex: 1 1 0 !important; }
}
@media (max-width: 781px) {
	.ko-entry .ko-facts { gap: 28px; }
	.ko-lined p.ko-fact { font-size: 28px; }
}

/* --------------------------------------------------------------------------
   Grupper: spill og plass som byggeklosser
   -------------------------------------------------------------------------- */
.ko-entry .ko-build { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px !important; margin-top: 36px !important; }
.ko-build .wp-block-column { border-top: 2px solid var(--ko-darkgold); padding-top: 20px; }
.ko-build .wp-block-column > * + * { margin-top: 6px !important; }
.ko-build-title { font-family: var(--ko-display); font-size: 26px; font-weight: 700; line-height: 1.15; }
.ko-build-meta { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--ko-darkgold); }
.ko-build p:not(.ko-build-meta) { font-size: 16px; margin-top: 10px !important; }
.ko-entry .ko-build-note { margin-top: 32px !important; max-width: 40em; }
@media (max-width: 1080px) { .ko-entry .ko-build { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px !important; } }
@media (max-width: 480px) { .ko-entry .ko-build { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Bookingskjemaet: beskjeder og bordvalg som styres av ko-booking.js
   -------------------------------------------------------------------------- */
.forminator-custom-form .ko-skjult, .forminator-custom-form .forminator-row.ko-skjult { display: none !important; }
.forminator-custom-form .ko-booknote[hidden] { display: none !important; }
.forminator-custom-form .ko-booknote.ko-help { margin-top: -8px; }
.forminator-custom-form .ko-booknote.ko-tier.is-dropin { border-left-color: var(--ko-darkgold); background: rgba(214, 169, 74, .18); }
.forminator-custom-form .ko-booknote.ko-tier.is-stengt { border-left-color: var(--ko-red); background: rgba(158, 43, 37, .08); }
.forminator-custom-form select:disabled { opacity: .6; cursor: not-allowed; }
/* Antall med − og + (bygges av ko-booking.js) */
.forminator-custom-form .ko-counter { display: inline-flex; width: auto; }
.forminator-custom-form .ko-counter button { min-width: 50px; min-height: 50px; line-height: 1; }
.forminator-custom-form .ko-counter input.forminator-input { width: 72px !important; min-height: 50px; text-align: center; font-weight: 600; -moz-appearance: textfield; }

/* --------------------------------------------------------------------------
   Lenker i brødtekst: gull, halvfet, uten strek. Strek ved hover og tastaturfokus.
   Lys bunn bruker mørk gull, fordi kronegull er for svakt på pergament.
   -------------------------------------------------------------------------- */
.ko-entry p:not(.ko-more) a, .ko-entry li a, .ko-entry td a { color: var(--ko-gold); font-weight: 600; text-decoration: none; }
.ko-entry p:not(.ko-more) a:hover, .ko-entry li a:hover, .ko-entry td a:hover,
.ko-entry p:not(.ko-more) a:focus-visible, .ko-entry li a:focus-visible, .ko-entry td a:focus-visible { color: var(--ko-gold); text-decoration: underline; text-decoration-color: currentColor; }
.ko-entry .ko-light p:not(.ko-more) a, .ko-entry .ko-light li a, .ko-entry .has-pergament-background-color p:not(.ko-more) a, .ko-entry .has-pergament-background-color li a,
.ko-entry .ko-formcard:not(.ko-formcard-dark) a { color: var(--ko-darkgold); }
.ko-entry .ko-light p:not(.ko-more) a:hover, .ko-entry .has-pergament-background-color p:not(.ko-more) a:hover, .ko-entry .ko-formcard:not(.ko-formcard-dark) a:hover { color: var(--ko-darkgold); }
/* Overskrifter som er lenker: ingen strek, gull ved hover. */
.ko-entry h2 a, .ko-entry h3 a { text-decoration: none; }
.ko-entry h2 a:hover, .ko-entry h3 a:hover, .ko-entry h2 a:focus-visible, .ko-entry h3 a:focus-visible { color: var(--ko-gold); }
.ko-entry .ko-light h3 a:hover, .ko-entry .has-pergament-background-color h3 a:hover { color: var(--ko-darkgold); }

/* Tallene i toppen toner inn, ett om gangen. Står ferdige ved redusert bevegelse. */
@keyframes ko-inn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	.ko-counters .wp-block-column { animation: ko-inn .4s ease-out both; }
	.ko-counters .wp-block-column:nth-child(2) { animation-delay: .08s; }
	.ko-counters .wp-block-column:nth-child(3) { animation-delay: .16s; }
	.ko-counters .wp-block-column:nth-child(4) { animation-delay: .24s; }
	.ko-counters .wp-block-column:nth-child(5) { animation-delay: .32s; }
}

/* Grupper-skjemaet: valget mellom å booke direkte og å sende forespørsel (ko-grupper.js). */
.forminator-custom-form .ko-direkte { margin: 4px 0 0; }
.forminator-custom-form .ko-direkte[hidden] { display: none !important; }
.forminator-custom-form .ko-direkte .ko-btn { margin-top: 12px; }
/* Fire like kort for anledninger, og en liten linje for vennegjenger under. */
.ko-occ-4 { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px !important; }
@media (max-width: 900px) { .ko-occ-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ko-occ-4 { grid-template-columns: 1fr; } }
.ko-occ-small { font-size: 15px; color: var(--ko-muted); margin-top: 8px !important; }
.ko-occ-small strong { color: var(--ko-text); font-weight: 600; }

/* Åpningstider per dag på forsiden: i dag i gull. */
.ko-hours-days li.is-today { color: var(--ko-gold); font-weight: 600; }
.ko-hours-days li em { font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-left: 6px; opacity: .85; }

/* Priskort under bildene i spillseksjonen på forsiden. */
.ko-games .ko-pricecard { margin-top: 0 !important; height: auto; padding: 28px 26px !important; border-top-left-radius: 0; border-top-right-radius: 0; }
.ko-games .wp-block-image { margin-bottom: 0 !important; }
.ko-games .wp-block-image img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* Kortet er lyst, så teksten fra den mørke spillseksjonen skal ikke arves. */
.ko-games .ko-pricecard p { color: var(--ko-green); font-size: 16px; }
.ko-games .ko-pricecard .ko-card-title a { color: inherit; text-decoration: none; }
.ko-games .ko-pricecard .ko-card-sub { color: var(--ko-muted-dark); font-size: 14px; }
.ko-games .ko-pricecard .ko-price-big { font-size: 52px; }
.ko-games .ko-pricecard .ko-price-min, .ko-games .ko-pricecard .ko-lab { color: var(--ko-darkgold); font-size: 14px; }
.ko-games .ko-pricecard .ko-share { font-size: 15px; flex-wrap: nowrap; gap: 12px; }

/* «Delt på gjengen»: personikonene tegnes her, så de ikke forsvinner når siden redigeres.
   ko-share-2 og ko-share-4 gir to og fire personer. Teksten står bare for skjermlesere (ko-sr). */
.ko-share-2::before, .ko-share-4::before {
	content: ""; flex: 0 0 auto; height: 20px; background: var(--ko-green);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 20'%3E%3Ccircle cx='6' cy='4' r='3.4'/%3E%3Cpath d='M1 20v-7.5C1 9.6 3.2 8.6 6 8.6s5 1 5 3.9V20z'/%3E%3C/svg%3E") left center / 15px 20px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 20'%3E%3Ccircle cx='6' cy='4' r='3.4'/%3E%3Cpath d='M1 20v-7.5C1 9.6 3.2 8.6 6 8.6s5 1 5 3.9V20z'/%3E%3C/svg%3E") left center / 15px 20px repeat-x;
}
.ko-share-2::before { width: 27px; }
.ko-share-4::before { width: 57px; }
/* Teksten for skjermlesere må ha en posisjonert forelder. Ellers slipper den ut av sveipraden på mobil og gjør siden for bred. */
.ko-share { position: relative; }
.ko-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Minuttene, rett under priskortene. Ingen ramme, bare luft. */
.ko-minutes-line, .ko-entry .is-layout-constrained > .ko-minutes-line { max-width: 620px !important; margin: 72px auto 0 !important; text-align: center; }
/* Priskortene like høye, med lenken nederst. */
.ko-games > .wp-block-column { display: flex; flex-direction: column; }
.ko-games .ko-pricecard { flex: 1 1 auto; display: flex; flex-direction: column; }
.ko-games .ko-pricecard > .wp-block-group__inner-container { flex: 1 1 auto; display: flex; flex-direction: column; }
.ko-games .ko-pricecard .ko-more { margin-top: auto !important; padding-top: 24px; }

/* Enklere kort: lavere bilde, mindre luft, mindre pris. */
.ko-games .wp-block-image img { aspect-ratio: 16 / 10; }
.ko-games .ko-pricecard { padding: 22px 22px 20px !important; }
.ko-games .ko-pricecard .ko-card-title { font-size: 26px; }
.ko-games .ko-pricecard .ko-price-big { font-size: 44px; margin-top: 16px !important; }
.ko-games .ko-pricecard .ko-share:first-of-type { margin-top: 16px !important; border-top: 1px solid var(--ko-parchment-line); }
.ko-games .ko-pricecard .ko-share { padding: 10px 0; }
.ko-games .ko-pricecard .ko-more { padding-top: 18px; }

/* På mobil: kortene ligger ved siden av hverandre og sveipes, så de ikke tar hele skjermen i høyden. */
@media (max-width: 781px) {
	.ko-games.wp-block-columns { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px !important; margin-right: calc(-1 * var(--ko-pad)) !important; padding-right: var(--ko-pad); padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.ko-games.wp-block-columns::-webkit-scrollbar { display: none; }
	.ko-games.wp-block-columns > .wp-block-column { flex: 0 0 74% !important; flex-basis: 74% !important; scroll-snap-align: start; }
	.ko-games .wp-block-image img { aspect-ratio: 16 / 9; }
	.ko-games .ko-pricecard { padding: 16px 16px 14px !important; }
	.ko-games .ko-pricecard .ko-card-title { font-size: 21px; }
	.ko-games .ko-pricecard .ko-card-sub, .ko-games .ko-pricecard .ko-price-unit, .ko-games .ko-pricecard .ko-price-min { font-size: 13px; }
	.ko-games .ko-pricecard .ko-price-big { font-size: 34px; margin-top: 10px !important; }
	.ko-games .ko-pricecard .ko-share { font-size: 13px; padding: 8px 0; gap: 8px; }
	.ko-games .ko-pricecard .ko-share:first-of-type { margin-top: 10px !important; }
	.ko-games .ko-pricecard .ko-more { font-size: 13px; padding-top: 12px; }
}
.ko-minutes-line .ko-minutes-title { font-family: var(--ko-display); font-size: clamp(22px, 2.4vw, 26px); font-weight: 700; color: var(--ko-text); }
.ko-minutes-line .ko-bar-wrap { margin-top: 18px !important; }
.ko-minutes-line p.ko-calc { font-size: 17px; margin-top: 14px !important; color: var(--ko-text-soft) !important; }
.ko-minutes-line .ko-calc strong { font-size: 20px; }

/* Åpningstider og «Må vi booke?»: to rolige kolonner, bare streker mellom dagene. */
.ko-info .wp-block-columns { gap: 72px !important; }
.ko-info h2.ko-small-title { font-size: 15px; letter-spacing: .02em; color: var(--ko-text-soft); }
.ko-info .ko-hours { margin-top: 14px; border-top: 0; }
.ko-info .ko-hours li { padding: 11px 0; }
.ko-info .ko-hours li:last-child { border-bottom: 0; }
.ko-info p { color: var(--ko-text-soft); font-size: 16px; }
.ko-info p.ko-fact { font-family: var(--ko-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; color: var(--ko-gold); margin-top: 14px !important; }
.ko-info .ko-fact + p { margin-top: 12px !important; }
.ko-info .ko-more { margin-top: 16px !important; }
.ko-info .ko-note { margin-top: 14px !important; font-size: 14px; }
@media (max-width: 781px) { .ko-info .wp-block-columns { gap: 48px !important; } }
.ko-games .ko-pricecard .ko-game-text { margin-top: 16px !important; font-size: 15px; color: var(--ko-muted-dark); }
.ko-pricecard .ko-more { font-size: 14px; margin-top: 24px !important; }
.ko-pricecard .ko-more a { color: var(--ko-darkgold); }

/* Minutter, enkel versjon. */
.ko-minutes-simple { text-align: center; }
.ko-minutes-simple .ko-bar-wrap { max-width: 520px; margin-left: auto !important; margin-right: auto !important; }

/* --------------------------------------------------------------------------
   Samtykkebanneret (Complianz), i husets farger. 2. november 2026.
   -------------------------------------------------------------------------- */
.cmplz-cookiebanner {
	--cmplz_banner_background_color: var(--ko-green);
	--cmplz_banner_border_color: var(--ko-line);
	--cmplz_text_color: var(--ko-text-soft);
	--cmplz_hyperlink_color: var(--ko-gold);
	--cmplz_button_border_radius: var(--ko-radius);
	--cmplz_button_accept_background_color: var(--ko-gold);
	--cmplz_button_accept_border_color: var(--ko-gold);
	--cmplz_button_accept_text_color: var(--ko-green);
	--cmplz_button_deny_background_color: transparent;
	--cmplz_button_deny_border_color: var(--ko-line-soft);
	--cmplz_button_deny_text_color: var(--ko-parchment);
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: var(--ko-line-soft);
	--cmplz_button_settings_text_color: var(--ko-parchment);
	--cmplz_slider_active_color: var(--ko-gold);
	--cmplz_slider_inactive_color: var(--ko-line-soft);
	--cmplz_slider_bullet_color: var(--ko-parchment);
	--cmplz_category_open_icon_color: var(--ko-parchment);
	--cmplz_category_header_always_active_color: var(--ko-gold);
	background: var(--ko-green) !important;
	border: 1px solid var(--ko-line) !important;
	border-radius: var(--ko-radius) !important;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .45) !important;
	color: var(--ko-text-soft) !important;
	font-family: var(--ko-sans) !important;
}
.cmplz-cookiebanner .cmplz-title { font-family: var(--ko-display) !important; font-weight: 700 !important; font-size: 20px !important; color: var(--ko-parchment) !important; }
.cmplz-cookiebanner .cmplz-message, .cmplz-cookiebanner .cmplz-message p { font-size: 15px !important; line-height: 1.55 !important; color: var(--ko-text-soft) !important; }
/* Ingen kryss: gjesten velger Godta eller Avslå. Banneret stenger ikke for siden. */
.cmplz-cookiebanner .cmplz-close { display: none !important; }
.cmplz-cookiebanner .cmplz-close svg, .cmplz-cookiebanner .cmplz-close svg path { fill: var(--ko-parchment) !important; background: transparent !important; }
.cmplz-cookiebanner .cmplz-close:hover svg path { fill: var(--ko-gold) !important; }
.cmplz-cookiebanner .cmplz-divider { border-color: var(--ko-line) !important; }
.cmplz-cookiebanner .cmplz-btn { font-family: var(--ko-sans) !important; font-weight: 600 !important; border-radius: var(--ko-radius) !important; border-width: 1px !important; border-style: solid !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--ko-gold) !important; border-color: var(--ko-gold) !important; color: var(--ko-green) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: #E2BA62 !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-deny,
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { background: transparent !important; border-color: var(--ko-line-soft) !important; color: var(--ko-parchment) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover,
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover { border-color: var(--ko-gold) !important; color: var(--ko-gold) !important; }
.cmplz-cookiebanner .cmplz-link { color: var(--ko-gold) !important; text-decoration-color: var(--ko-gold) !important; }
/* Personvernerklæringen og erklæringen om informasjonskapsler er samme side. Vis bare én lenke. */
.cmplz-cookiebanner .cmplz-link.privacy-statement { display: none !important; }
.cmplz-cookiebanner .cmplz-category { background: var(--ko-surface) !important; border-radius: var(--ko-radius) !important; }
.cmplz-cookiebanner .cmplz-category .cmplz-category-title,
.cmplz-cookiebanner .cmplz-category .cmplz-description { color: var(--ko-parchment) !important; }
.cmplz-cookiebanner .cmplz-always-active { color: var(--ko-gold) !important; }
#cmplz-manage-consent .cmplz-manage-consent { background: var(--ko-green) !important; color: var(--ko-parchment) !important; border: 1px solid var(--ko-line) !important; font-family: var(--ko-sans) !important; }
