/* Gabrielsen – sider (steg 2.4). Stiler for standardblokkene med temaets klasser. Portert fra prototypen v3.18. */

.gk-page { --gk-pad: var(--wp--style--root--padding-left, 40px); --gk-line: rgba(28,27,25,.14); }
.wp-site-blocks > .gk-page, .gk-page > *, .gk-content > * { margin-block-start: 0; margin-block-end: 0; }
.gk-content { font-size: 16px; line-height: 1.75; }
.gk-content p { color: inherit; }
.gk-ptitle { max-width: 1280px; margin: 0 auto !important; padding: 48px var(--gk-pad) 24px; }

/* Seksjoner: full bredde, innhold maks 1280 px som headeren */
.gk-sec { padding: 128px max(var(--gk-pad), calc((100% - 1280px) / 2)) 96px; }
.gk-sec-b { padding-bottom: 32px; }
.gk-sec-tight { padding-top: 32px; padding-bottom: 128px; }
.gk-band { background: #E7E6E2; padding-top: 104px; padding-bottom: 104px; }
.gk-dark { background: #1C1B19; color: #F3F2EF; padding-top: 112px; padding-bottom: 112px; }
.gk-sec * { margin-block-start: 0; }

/* Typografi */
.gk-content .gk-eyebrow, .gk-eyebrow { margin: 0 0 14px; font-size: 11px; line-height: 1.6; letter-spacing: .24em; text-transform: uppercase; color: #6B6862; }
.gk-content h1 { margin: 0 0 8px; font-weight: 300; font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -.015em; }
.gk-content h2 { margin: 0 0 24px; font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.01em; }
.gk-content :is(h1, h2, h3) em { font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-weight: 400; }
.gk-content h3.gk-h3serif, .gk-content .gk-h3serif { font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: 0; }
.gk-content .gk-col > p:not([class]), .gk-content .gk-ref > p:not([class]) { font-size: 15px; line-height: 1.75; color: #4A4945; margin: 0 0 20px; }
.gk-content .gk-note { margin: 18px 0 0; font-size: 13px; line-height: 1.7; color: #6B6862; }

/* To kolonner */
.gk-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
.gk-specs { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.gk-headrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.gk-headrow h2 { margin-bottom: 0; }
.gk-prose p { margin: 0 0 20px; font-size: 16px; line-height: 1.8; color: #4A4945; }
.gk-prose p.gk-lead { font-size: 19px; line-height: 1.65; color: #1C1B19; }

/* Knapper (blokkstiler) */
.gk-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.gk-content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 26px; border-radius: 999px; border: 1px solid #1C1B19; background: transparent; color: #1C1B19; text-decoration: none; font-size: 12px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; text-align: center; transition: background .4s, color .4s, border-color .4s; }
.gk-content .wp-block-button__link:hover { background: #1C1B19; color: #F3F2EF; }
.gk-content .is-style-gk-dark .wp-block-button__link { background: #1C1B19; color: #F3F2EF; }
.gk-content .is-style-gk-dark .wp-block-button__link:hover { background: #7A5C24; border-color: #7A5C24; color: #fff; }
.gk-content .is-style-gk-pin .wp-block-button__link::before { content: ""; width: 12px; height: 15px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15' fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M6 14s5-4.6 5-8.2A5 5 0 0 0 1 5.8C1 9.4 6 14 6 14Z'/%3E%3Ccircle cx='6' cy='6' r='1.8'/%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 15' fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M6 14s5-4.6 5-8.2A5 5 0 0 0 1 5.8C1 9.4 6 14 6 14Z'/%3E%3Ccircle cx='6' cy='6' r='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.gk-dark .wp-block-button__link { border-color: rgba(243,242,239,.4); color: #F3F2EF; }
.gk-dark .wp-block-button__link:hover { background: #F3F2EF; color: #1C1B19; border-color: #F3F2EF; }
.gk-dark .is-style-gk-light .wp-block-button__link { background: #F3F2EF; border-color: #F3F2EF; color: #1C1B19; }
.gk-dark .is-style-gk-light .wp-block-button__link:hover { background: #D8B977; border-color: #D8B977; }

/* Brødsmulesti */
.gk-crumb { font-size: 12px; letter-spacing: .08em; color: #6B6862; margin-bottom: 32px; }
.gk-crumb a { text-decoration: none; color: #6B6862; }
.gk-crumb a:hover { color: #7A5C24; }
.gk-crumb .sep { margin: 0 10px; }
.gk-crumb [aria-current] { color: #1C1B19; }

/* Toppen på modellsiden */
body:has(.gk-mtop) .wp-site-blocks > header, body:has(.gk-mtop) .wp-site-blocks > .wp-block-template-part:first-child { background: #EDECE8; }
.gk-mtop { padding-top: 40px; padding-bottom: 72px; background: radial-gradient(ellipse 60% 55% at 50% 45%, #FFFFFF 0%, rgba(255,255,255,0) 70%), #EDECE8; }
.gk-mhero { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); grid-template-areas: "info media"; align-items: center; column-gap: 72px; }
.gk-h-info { grid-area: info; padding-bottom: 24px; }
.gk-mhero > .gk-galleri, .gk-mhero > .gk-gview { grid-area: media; }
.gk-content .gk-h-info .gk-sub { margin: 0 0 24px; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 26px; line-height: 1.2; color: #3A3935; }
.gk-content .gk-h-info .gk-intro { margin: 0 0 32px; font-size: 15px; line-height: 1.75; color: #4A4945; }
.gk-h-info .wp-block-buttons { margin-top: 32px; }

/* Nøkkeltall (tabell som rutenett) */
.gk-spec { margin: 0; }
.gk-spec table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--gk-line); }
.gk-spec tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gk-spec tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--gk-line); }
.gk-spec td { display: block; padding: 0; border: 0; }
.gk-spec td:first-child { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #6B6862; margin: 0 0 4px; line-height: 1.5; }
.gk-spec td:last-child { font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 24px; line-height: 1.2; color: #1C1B19; }

/* Bildegalleri: hovedbilde med miniatyrer (galleri.js). Uten skript: vanlig rutenett. */
.gk-galleri { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px !important; margin: 0; }
.gk-galleri .wp-block-image { margin: 0 !important; width: auto !important; background: #E7E6E2; position: relative; }
.gk-galleri .wp-block-image img { display: block; width: 100%; height: 220px !important; object-fit: cover; }
.gk-galleri .wp-block-image.gk-ov img { object-fit: contain; padding: 12px 0; }
.gk-galleri figcaption { position: absolute; left: 12px; bottom: 10px; margin: 0; padding: 6px 10px; background: rgba(243,242,239,.85); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #1C1B19; }
.wp-block-gallery.gk-galleri.gk-js { display: none !important; }
.wp-block-gallery.gk-galleri.gk-js > figure.wp-block-image:not(#individual-image) { display: none !important; }
.gk-view { position: relative; margin: 0 0 14px; height: clamp(520px, 58vw, 820px); background: #E7E6E2; overflow: hidden; }
.gk-view img { display: block; width: 100%; height: 100%; object-fit: contain; animation: gkFade .6s ease both; }
.gk-view img.ov { height: 90%; width: auto; max-width: 100%; margin: 0 auto; padding-top: 6%; box-sizing: content-box; }
.gk-view.is-room::before { content: ""; position: absolute; inset: -40px; background: var(--gk-bg) center / cover no-repeat; filter: blur(30px) saturate(.9); opacity: .6; }
.gk-view img.room { position: relative; object-fit: contain; }
.gk-view figcaption { z-index: 1; }
.gk-gview { position: relative; }
.gk-view { cursor: zoom-in; }
.gk-zoom { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(243,242,239,.9); color: #1C1B19; display: grid; place-items: center; cursor: pointer; padding: 0; }
.gk-zoom:hover { background: #fff; }
.gk-zoom:focus-visible { outline: 1px solid #1C1B19; outline-offset: 3px; }
html.gk-lb-open { overflow: hidden; }
.gk-lb { padding: 0; border: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: #141312; color: #fff; overflow: hidden; }
.gk-lb::backdrop { background: #141312; }
.gk-lb-sc { position: absolute; inset: 0; overflow: auto; display: flex; align-items: center; justify-content: center; -webkit-overflow-scrolling: touch; }
.gk-lb-sc img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.gk-lb.z .gk-lb-sc { display: block; }
.gk-lb.z .gk-lb-sc img { max-width: none; max-height: none; height: auto; cursor: zoom-out; }
.gk-lb button { position: absolute; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(20,19,18,.6); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 0; }
.gk-lb button:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }
.gk-lb-x { top: 14px; right: 14px; }
.gk-lb-p, .gk-lb-n { top: 50%; transform: translateY(-50%); }
.gk-lb-p { left: 14px; }
.gk-lb-n { right: 14px; }
.gk-lb-cap { position: absolute; left: 70px; right: 70px; bottom: 16px; margin: 0; text-align: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #E7E6E2; pointer-events: none; }
.gk-lb.z .gk-lb-p, .gk-lb.z .gk-lb-n, .gk-lb.z .gk-lb-cap { display: none; }
.gk-lb.lys { background: #E7E6E2; }
.gk-lb.lys .gk-lb-cap { color: #1C1B19; }
.gk-lb.lys button { background: rgba(28,27,25,.75); }
.gk-view figcaption { position: absolute; left: 20px; bottom: 18px; padding: 8px 14px; background: rgba(243,242,239,.85); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #1C1B19; }
.gk-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gk-thumb { all: unset; cursor: pointer; display: block; position: relative; overflow: hidden; height: 92px; background: #E7E6E2; outline-offset: 3px; }
.gk-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .4s, transform 1s cubic-bezier(.2,.7,.1,1); }
.gk-thumb img.ov { object-fit: contain; padding: 8px 0; box-sizing: border-box; }
.gk-thumb:hover img { opacity: 1; transform: scale(1.05); }
.gk-thumb.on img { opacity: 1; }
.gk-thumb::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #B08D4A; transition: width .5s cubic-bezier(.2,.7,.1,1); }
.gk-thumb.on::after { width: 100%; }
.gk-thumb:focus-visible { outline: 1px solid #1C1B19; }
@keyframes gkFade { from { opacity: 0 } to { opacity: 1 } }

/* Kronen */
.gk-crownimg { display: flex; justify-content: center; margin: 0 0 32px !important; }
.gk-crownimg img { display: block; width: min(100%, 560px); height: auto; }
.gk-content .gk-crowncap { margin: 0 0 28px; text-align: center; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 26px; line-height: 1.3; }
.gk-crowns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gk-crown { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px 12px; min-width: 120px; text-decoration: none; border-bottom: 1px solid var(--gk-line); transition: background .4s; }
.gk-crown img { display: block; width: 96px; height: auto; mix-blend-mode: multiply; opacity: .75; transition: opacity .4s; }
.gk-crown span { font-size: 11px; letter-spacing: .16em; color: #6B6862; }
.gk-crown:hover { background: #EDECE8; }
.gk-crown:hover img, .gk-crown.on img { opacity: 1; }
.gk-crown.on { border-bottom: 2px solid #B08D4A; }
.gk-crown.on span { color: #1C1B19; }

/* Tilvalg */
.gk-opts { margin: 0; }
.gk-opts table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--gk-line); table-layout: fixed; }
.gk-opts tr { border-bottom: 1px solid var(--gk-line); }
.gk-opts td { padding: 22px 0; border: 0; vertical-align: top; font-size: 15px; line-height: 1.7; color: #4A4945; }
.gk-opts td:first-child { width: 204px; padding-right: 24px; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 22px; line-height: 1.3; color: #1C1B19; }

/* Tekniske detaljer */
.gk-tech { margin: 0; }
.gk-tech table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--gk-line); table-layout: fixed; }
.gk-tech tr { border-bottom: 1px solid var(--gk-line); }
.gk-tech td { padding: 16px 12px 16px 0; border: 0; font-size: 14px; line-height: 1.6; color: #1C1B19; vertical-align: top; }
.gk-tech td:first-child { color: #4A4945; }
.gk-docs { padding-top: 0; }
.gk-content .gk-docs h3 { margin: 0 0 24px; font-size: 30px; }
.gk-dlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gk-line); }
.gk-dlist li { margin: 0; }
.gk-dlist a { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 4px; border-bottom: 1px solid var(--gk-line); text-decoration: none; color: #1C1B19; font-size: 15px; transition: padding .4s cubic-bezier(.2,.7,.1,1), color .3s; }
.gk-dlist a::after { content: "PDF"; margin-right: auto; color: #6B6862; font-size: 12px; letter-spacing: .1em; }
.gk-dlist a::before { content: ""; order: 2; width: 14px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16' fill='none' stroke='%23B08D4A' stroke-width='1.2'%3E%3Cpath d='M7 1v10M3 7l4 4 4-4M1 15h12'/%3E%3C/svg%3E") center / contain no-repeat; }
.gk-dlist a:hover { padding-left: 10px; color: #7A5C24; }
.gk-docs .gk-note { margin-top: 24px; }

/* Referanser */
.gk-refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.gk-ref { display: flex; flex-direction: column; gap: 12px; padding: 28px 0; border-top: 1px solid var(--gk-line); }
.gk-content .gk-ref > * { margin: 0; }
.gk-content .gk-ref .gk-eyebrow { font-size: 11px; letter-spacing: .2em; }
.gk-content .gk-more { margin: 0; }
.gk-more a { display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #1C1B19; text-decoration: none; border-bottom: 1px solid #B08D4A; padding-bottom: 4px; }
.gk-more a:hover { color: #7A5C24; }

/* Spørsmål og svar (Detaljer-blokken) */
.gk-faq { border-top: 1px solid var(--gk-line); }
.gk-faq .wp-block-details { border-bottom: 1px solid var(--gk-line); margin: 0; padding: 0; }
.gk-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 22px 0; font-size: 17px; line-height: 1.45; color: #1C1B19; transition: color .3s, padding .4s cubic-bezier(.2,.7,.1,1); }
.gk-faq summary::-webkit-details-marker { display: none; }
.gk-faq summary::after { content: ""; flex: 0 0 13px; height: 13px; background: linear-gradient(#B08D4A, #B08D4A) center / 100% 1px no-repeat, linear-gradient(#B08D4A, #B08D4A) center / 1px 100% no-repeat; transition: background-size .45s cubic-bezier(.2,.7,.1,1); }
.gk-faq details[open] summary::after { background-size: 100% 1px, 1px 0; }
.gk-faq summary:hover { padding-left: 6px; }
.gk-faq summary:focus-visible { outline: 1px solid #1C1B19; outline-offset: 4px; }
.gk-faq details[open] summary { color: #7A5C24; }
.gk-content .gk-faq details > p { margin: 0; padding: 0 48px 26px 0; font-size: 15px; line-height: 1.75; color: #4A4945; animation: gkFade .5s ease both; }
.gk-band .gk-col .wp-block-buttons { margin-top: 28px; }

/* Modellkort */
.gk-relgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.gk-mcard { display: flex; flex-direction: column; text-decoration: none; color: #1C1B19; }
.gk-mcard .ph { position: relative; height: 420px; background: #E7E6E2; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; transition: background .5s; }
.gk-mcard .ph::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #B08D4A; transition: width .6s cubic-bezier(.2,.7,.1,1); }
.gk-mcard:hover .ph { background: #EDECE8; }
.gk-mcard:hover .ph::after { width: 100%; }
.gk-mcard .ph img { display: block; height: 86%; width: auto; margin-bottom: 26px; transition: transform 1.2s cubic-bezier(.2,.7,.1,1); }
.gk-mcard:hover .ph img { transform: scale(1.03); }
.gk-mcard .tx { padding: 22px 2px 0; }
.gk-mcard .gk-eyebrow { margin: 0 0 10px; letter-spacing: .2em; }
.gk-mcard h3 { margin: 0 0 16px; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.2; letter-spacing: 0; }
.gk-mcard .more { display: inline-flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #4A4945; transition: gap .4s cubic-bezier(.2,.7,.1,1), color .3s; }
.gk-mcard:hover .more { gap: 16px; color: #7A5C24; }

/* Neste steg (mørk) */
.gk-ctarow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 48px; }
.gk-ctarow > .gk-col:first-child { flex: 1 1 520px; }
.gk-ctatext { flex: 0 1 400px; display: flex; flex-direction: column; gap: 22px; }
.gk-dark .gk-eyebrow { color: #B9B6AE; margin-bottom: 18px; }
.gk-content .gk-dark h2 { margin: 0; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.015em; color: #F3F2EF; }
.gk-dark h2 em { color: #D8B977; }
.gk-content .gk-dark .gk-ctatext p { margin: 0; font-size: 15px; line-height: 1.75; color: #CFCCC4; }


/* Pc: «Dokumentasjon» starter på linjen under «Tekniske detaljer», på høyde med tabellen (subgrid). */
@media (min-width: 1101px) {
	.gk-specs { grid-template-rows: auto auto auto 1fr; row-gap: 0; }
	.gk-specs > .gk-col:first-child { display: grid; grid-row: 1 / span 4; grid-template-rows: subgrid; align-content: start; }
	.gk-content .gk-specs > .gk-col:first-child > * { margin-top: 0; }
	.gk-content .gk-specs > .gk-col:first-child > h2 { margin-bottom: 32px; }
	.gk-content .gk-specs > .gk-col:first-child > .gk-note { margin-top: 24px; }
	.gk-specs > .gk-docs { grid-row: 3 / span 2; grid-column: 2; align-self: start; }
	.gk-content .gk-specs > .gk-docs > :first-child { margin-top: 0; }
}

/* Pad */
@media (max-width: 1100px) {
	.gk-mhero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "info"; row-gap: 48px; }
	.gk-h-info { padding-bottom: 0; }
	.gk-two, .gk-specs { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
	.gk-docs { margin-top: 0; }
	.gk-relgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Mobil */
@media (max-width: 700px) {
	.gk-sec { padding-top: 96px; padding-bottom: 72px; }
	.gk-mtop { padding-top: 24px; padding-bottom: 56px; }
	.gk-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gk-view { height: 480px; }
	.gk-galleri { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gk-relgrid, .gk-refs { grid-template-columns: minmax(0, 1fr); }
	.gk-tech td { display: block; padding: 0; }
	.gk-tech tr { display: block; padding: 14px 0; }
	.gk-tech td:first-child { margin-bottom: 4px; }
	.gk-opts td { display: block; padding: 0; }
	.gk-opts td:first-child { width: auto; padding: 22px 0 6px; }
	.gk-opts td:last-child { padding-bottom: 22px; }
	.gk-content .wp-block-button__link { letter-spacing: .1em; padding: 0 18px; }
}

/* ---------- Kategorisider (steg 2.4d) ---------- */
body:has(.gk-ctop) .wp-site-blocks > header, body:has(.gk-ctop) .wp-site-blocks > .wp-block-template-part:first-child { background: #EDECE8; }
.gk-ctop { padding-top: 56px; padding-bottom: 72px; background: radial-gradient(ellipse 70% 90% at 50% 0%, #FFFFFF 0%, rgba(255,255,255,0) 70%), #EDECE8; }
.gk-ctop .gk-crumb { margin-bottom: 40px; }
.gk-introrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.gk-introrow > .gk-col:first-child { flex: 1 1 520px; }
.gk-content .gk-introrow h1 { margin: 0; font-size: clamp(44px, 6vw, 88px); }
.gk-content .gk-introrow .gk-introtext { flex: 0 1 440px; margin: 0; font-size: 16px; line-height: 1.75; color: #4A4945; }
.gk-sec-facts { padding-top: 0; padding-bottom: 0; }
.gk-facts { margin: 0; }
.gk-facts table { width: 100%; border-collapse: collapse; }
.gk-facts tbody { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--gk-line); border-bottom: 1px solid var(--gk-line); }
.gk-facts tr { display: block; padding: 26px 24px 26px 0; }
.gk-facts tr + tr { padding-left: 24px; border-left: 1px solid var(--gk-line); }
.gk-facts td { display: block; padding: 0; border: 0; }
.gk-facts td:nth-child(1) { margin: 0 0 8px; font-size: 11px; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: #6B6862; }
.gk-facts td:nth-child(2) { font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 28px; line-height: 1.15; color: #1C1B19; }
.gk-facts td:nth-child(3) { margin-top: 6px; font-size: 12px; line-height: 1.5; letter-spacing: .04em; color: #6B6862; }
.gk-sec-models { padding-top: 80px; padding-bottom: 112px; }
.gk-gridhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 28px; margin-bottom: 48px; border-bottom: 1px solid var(--gk-line); }
.gk-content .gk-gridhead h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); }
.gk-content .gk-gridhead p, .gk-count { margin: 0; font-size: 12px; letter-spacing: .12em; color: #6B6862; }
.gk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.gk-grid .gk-mcard .ph { height: 460px; }
.gk-grid .gk-mcard .ph img { margin-bottom: 28px; }
.gk-grid .gk-mcard .tx { padding-top: 24px; }
.gk-grid .gk-mcard :is(h2, h3) { margin: 0 0 10px; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: 0; color: #1C1B19; }
.gk-mcard .ln { margin: 0 0 18px; font-size: 14px; line-height: 1.7; color: #4A4945; }
.gk-mcard[hidden] { display: none !important; }
.gk-filterrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 28px; margin-bottom: 48px; border-bottom: 1px solid var(--gk-line); }
.gk-filter { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.gk-filter[hidden] { display: none; }
.gk-filter button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 22px; color: #6B6862; transition: color .3s; }
.gk-filter button .mk { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #B08D4A; transition: background .3s, transform .4s; }
.gk-filter button .ct { font-family: var(--wp--preset--font-family--lato); font-style: normal; font-size: 11px; letter-spacing: .12em; color: #6B6862; }
.gk-filter button:hover, .gk-filter button.on { color: #1C1B19; }
.gk-filter button.on .mk { background: #B08D4A; transform: scale(1.25); }
.gk-filter button:focus-visible { outline: 1px solid #1C1B19; outline-offset: 4px; }
.gk-sec-common { background: #EDECE8; padding-top: 112px; padding-bottom: 112px; }
.gk-content .gk-sec-common > h2 { margin: 0 0 56px; max-width: 760px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
.gk-cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 80px; }
.gk-content .gk-cols2 h3 { margin: 0 0 14px; font-weight: 300; font-size: 24px; line-height: 1.25; }
.gk-content .gk-cols2 p { margin: 0 0 14px; font-size: 15px; line-height: 1.8; color: #4A4945; }
.gk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px 80px; }
.gk-content .gk-split h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); }
.gk-sec-faq { padding-top: 24px; padding-bottom: 120px; }
.gk-sec-fam { padding-top: 0; padding-bottom: 120px; }
.gk-famlist { list-style: none; margin: 0; padding: 0; }
.gk-famlist li { position: relative; display: flex; align-items: center; gap: 20px; margin: 0; padding: 26px 0; border-top: 1px solid var(--gk-line); font-size: 14px; line-height: 1.6; color: #4A4945; transition: padding .4s cubic-bezier(.2,.7,.1,1); }
.gk-famlist li:last-child { border-bottom: 1px solid var(--gk-line); }
.gk-famlist li::after { content: ""; flex: 0 0 18px; height: 10px; margin-left: auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10' fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4'/%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 18 10' fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; color: #1C1B19; }
.gk-famlist a { flex: 0 0 auto; min-width: 210px; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 30px; line-height: 1.2; color: #1C1B19; text-decoration: none; }
.gk-famlist a::before { content: ""; position: absolute; inset: 0; }
.gk-famlist li:hover { padding-left: 8px; }
.gk-famlist li:hover a, .gk-famlist li:hover::after { color: #7A5C24; }
@media (max-width: 1100px) {
	.gk-facts tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gk-facts tr:nth-child(3) { padding-left: 0; border-left: 0; }
	.gk-facts tr:nth-child(n+3) { border-top: 1px solid var(--gk-line); }
	.gk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.gk-cols2, .gk-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
	.gk-facts tbody { grid-template-columns: minmax(0, 1fr); }
	.gk-facts tr, .gk-facts tr + tr { padding-left: 0; border-left: 0; }
	.gk-facts tr + tr { border-top: 1px solid var(--gk-line); }
	.gk-grid { grid-template-columns: minmax(0, 1fr); }
	.gk-grid .gk-mcard .ph { height: 400px; }
	.gk-famlist li { flex-wrap: wrap; }
}

/* ---------- Informasjonssider (steg 2.4e) ---------- */
/* Sidene bygges av standardblokker. Utseendet ligger i assets/sider/<side>.css, avgrenset med .gk-pg-<side>. */
.gk-pg h1, .gk-pg h2, .gk-pg h3, .gk-pg h4, .gk-pg p, .gk-pg li { color: inherit; }
.gk-pg figure { margin: 0; }
.gk-content .gk-btn-full, .gk-content .gk-btn-full .wp-block-button__link { width: 100%; }
.gk-pg p, .gk-pg h1, .gk-pg h2, .gk-pg h3, .gk-pg h4, .gk-pg ul, .gk-pg ol { margin: 0; }
.gk-pg .wp-block-table table { width: 100%; border-collapse: collapse; }

/* ---------- Artikler (steg 2.4e) ---------- */
.gk-tag, .gk-tag a { display: inline-block; padding: 4px 10px; border: 1px solid rgba(176,141,74,.6); border-radius: 999px; font-size: 10px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: #7A5C24; text-decoration: none; }
.gk-tag a { padding: 0; border: 0; }
.gk-artrow .gk-tag a, .gk-pmeta .gk-tag a { display: inline-block; padding: 5px 0; margin: -5px 0; }
.gk-tag .wp-block-post-terms__separator { display: none; }
.gk-sec-arts { padding-top: 48px; padding-bottom: 120px; }
.gk-artfilter { padding-bottom: 28px; }
.gk-artfilter a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 22px; color: #6B6862; text-decoration: none; }
.gk-artfilter a .mk { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #B08D4A; }
.gk-artfilter a .ct { font-family: var(--wp--preset--font-family--lato); font-style: normal; font-size: 11px; letter-spacing: .12em; color: #6B6862; }
.gk-artfilter a:hover, .gk-artfilter a.on { color: #1C1B19; }
.gk-artfilter a.on .mk { background: #B08D4A; transform: scale(1.25); }
.gk-artlist { border-bottom: 1px solid var(--gk-line); }
.gk-artlist .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.gk-artlist .wp-block-post { margin: 0; }
.gk-artrow { position: relative; display: grid; grid-template-columns: 140px minmax(0, 1fr) 40px; gap: 24px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--gk-line); }
.gk-artrow::after { content: ""; justify-self: end; width: 22px; height: 12px; background: #1C1B19; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10' fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4'/%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 18 10' fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .4s cubic-bezier(.2,.7,.1,1); }
.gk-artrow:hover::after { transform: translateX(6px); }
.gk-artrow .dt { font-size: 12px; letter-spacing: .08em; color: #6B6862; }
.gk-content .gk-artrow h2 { margin: 10px 0 8px; font-weight: 300; font-size: 26px; line-height: 1.25; }
.gk-artrow h2 a { color: #1C1B19; text-decoration: none; transition: color .3s; }
.gk-artrow h2 a::before { content: ""; position: absolute; inset: 0; }
.gk-artrow:hover h2 a { color: #7A5C24; }
.gk-artrow .wp-block-post-excerpt { margin: 0; }
.gk-artrow .wp-block-post-excerpt__excerpt { margin: 0; font-size: 14px; line-height: 1.75; color: #4A4945; max-width: 720px; }
.gk-artrow .wp-block-post-excerpt__more-text { display: none; }
.gk-artrow .gk-tag { position: relative; z-index: 1; }
.gk-pager { display: flex; gap: 16px; justify-content: center; padding-top: 32px; font-size: 13px; letter-spacing: .08em; }
/* Enkeltartikkel */
body:has(.gk-ptop) .wp-site-blocks > header, body:has(.gk-ptop) .wp-site-blocks > .wp-block-template-part:first-child { background: #EDECE8; }
.gk-ptop { background: #EDECE8; padding-top: 56px; padding-bottom: 64px; }
.gk-ptop .gk-crumb { margin-bottom: 40px; }
.gk-pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 18px; }
.gk-pdate { font-size: 12px; letter-spacing: .08em; color: #6B6862; }
.gk-content .gk-ptitle-h { max-width: 920px; margin: 0; font-weight: 300; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.015em; }
.gk-pimg { margin: 0; background: #E7E6E2; }
.gk-pimg img { display: block; width: 100%; max-height: 640px; object-fit: cover; }
.gk-pbody { padding-top: 72px; padding-bottom: 112px; }
.gk-psplit { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px 96px; align-items: start; }
.gk-body { max-width: 740px; }
.gk-body p { margin: 0 0 20px; font-size: 18px; line-height: 1.85; color: #2E2D2A; }
.gk-body > p:first-child { font-size: 21px; line-height: 1.7; color: #1C1B19; }
.gk-content .gk-body h2 { margin: 56px 0 18px; font-weight: 300; font-size: 30px; line-height: 1.2; }
.gk-content .gk-body h3 { margin: 40px 0 14px; font-weight: 400; font-size: 22px; line-height: 1.3; }
.gk-body img { max-width: 100%; height: auto; }
.gk-body figure { margin: 32px 0; }
.gk-body ul, .gk-body ol { margin: 0 0 20px; padding-left: 22px; font-size: 18px; line-height: 1.85; color: #2E2D2A; }
.gk-paside { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: #E7E6E2; }
.gk-paside .gk-eyebrow { margin: 0; font-family: inherit; font-weight: 400; }
.gk-plist .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.gk-plist .wp-block-post { margin: 0; border-top: 1px solid var(--gk-line); }
.gk-content .gk-plist-t { margin: 0; padding: 14px 0; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-weight: 400; font-size: 21px; line-height: 1.25; }
.gk-plist-t a { color: #1C1B19; text-decoration: none; }
.gk-plist-t a:hover { color: #7A5C24; }
/* 404 */
.gk-404 { padding-top: 96px; padding-bottom: 140px; }
.gk-content .gk-404 h1 { max-width: 900px; margin: 0 0 28px; font-size: clamp(44px, 6vw, 88px); }
.gk-content .gk-404-tx { max-width: 560px; margin: 0 0 48px; font-size: 16px; line-height: 1.75; color: #4A4945; }
.gk-404-list { max-width: 900px; }
@media (max-width: 900px) { .gk-psplit { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .gk-artrow { grid-template-columns: minmax(0, 1fr); } .gk-artrow::after { display: none; } .gk-body p { font-size: 17px; } }

.gk-pg-forhandlere .gk-map > p { right: 20px; white-space: normal; }
