/* ==========================================================================
   Byggeprisguiden – designforslag F (D1-palet)
   ========================================================================== */

/* Skrifter (self-hosted, latin-subset, OFL – se assets/fonts/OFL.txt) */
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-tight-latin-600.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/inter-tight-latin-800.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
	--bpg-ink:#121C2B;--bpg-navy:#1B2F4E;--bpg-acc:#C2410C;--bpg-acc-d:#9A3412;--bpg-acc-k:#FF8A5B;
	--bpg-tint:#FFF1EA;--bpg-muted:#4A5666;--bpg-mist:#F3F5F7;--bpg-line:#E3E8EE;--bpg-note:#FFF3C4;--bpg-note-ink:#3D2E00;
	--bpg-r:14px;--bpg-r-lg:20px;
	--bpg-head:"Inter Tight",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
	--bpg-body:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
	--bpg-hdr-h:62px;
}

/* ---------- Basis (gælder hele sitet, også GeneratePress-sider) ---------- */
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--bpg-hdr-h) + 24px)}
body.bpg{font-family:var(--bpg-body);font-size:17px;line-height:1.72;color:var(--bpg-ink);background:var(--bpg-mist);text-rendering:optimizeLegibility}
body.bpg h1,body.bpg h2,body.bpg h3,body.bpg h4,body.bpg .entry-title{font-family:var(--bpg-head);letter-spacing:-.018em;color:var(--bpg-ink)}
body.bpg h1,body.bpg h2{font-weight:800}
body.bpg h3,body.bpg h4{font-weight:600}
body.bpg h1{font-size:46px;line-height:1.1}
body.bpg h2{font-size:31px;line-height:1.18}
body.bpg h3{font-size:20px;line-height:1.3}
body.bpg a{color:var(--bpg-navy);text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:rgba(194,65,12,.6)}
body.bpg a:hover{color:var(--bpg-acc-d)}
body.bpg a:focus-visible,body.bpg button:focus-visible,body.bpg summary:focus-visible,body.bpg input:focus-visible,body.bpg select:focus-visible,body.bpg textarea:focus-visible{outline:3px solid var(--bpg-acc);outline-offset:3px}
img{max-width:100%;height:auto}
.bpg-icon{width:20px;height:20px;flex:none;display:inline-block;vertical-align:middle}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;padding:0;margin:-1px}

/* GeneratePress-containere på almindelige sider/indlæg */
body.bpg .site.grid-container{background:transparent}
body.bpg.separate-containers .inside-article,
body.bpg.separate-containers .comments-area,
body.bpg.separate-containers .page-header,
body.bpg.separate-containers .paging-navigation,
body.bpg .one-container .site-content,
body.bpg.separate-containers .inside-right-sidebar .widget,
body.bpg.separate-containers .inside-left-sidebar .widget{background:#fff;border:1px solid var(--bpg-line);border-radius:var(--bpg-r-lg);box-shadow:0 1px 2px rgba(18,28,43,.04)}
body.bpg .entry-title a{color:var(--bpg-ink);text-decoration:none}
body.bpg .entry-meta{color:var(--bpg-muted);font-size:14px}
body.bpg .entry-content>*+h2{margin-top:1.6em}
body.bpg button,body.bpg .button,body.bpg input[type=submit],body.bpg .wp-block-button__link{background:var(--bpg-acc);color:#fff;border:0;border-radius:12px;font-weight:700;padding:.75em 1.3em}
body.bpg button:hover,body.bpg .button:hover,body.bpg input[type=submit]:hover,body.bpg .wp-block-button__link:hover{background:var(--bpg-acc-d);color:#fff}
body.bpg .bpg-bar-x,body.bpg .bpg-mmenu summary{background:transparent;color:inherit;padding:0;border-radius:0}

/* ---------- Header ---------- */
.bpg-hdr{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.6) blur(12px);-webkit-backdrop-filter:saturate(1.6) blur(12px);border-bottom:1px solid var(--bpg-line)}
.admin-bar .bpg-hdr{top:32px}
@media (max-width:782px){.admin-bar .bpg-hdr{top:46px}}
@media (max-width:600px){.admin-bar .bpg-hdr{top:0}}
.bpg-hdr-in{max-width:1200px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:24px;min-height:var(--bpg-hdr-h)}
.bpg-logo{display:flex;align-items:center;gap:10px;text-decoration:none!important;flex:none}
.bpg-logo-i{display:block}
.bpg-logo-w{font-family:var(--bpg-head);font-weight:800;font-size:21px;letter-spacing:-.018em;color:var(--bpg-ink)}
.bpg-logo-w span{color:var(--bpg-acc);font-weight:600}
.custom-logo-link img{max-height:40px;width:auto}
.bpg-mnav{margin-left:auto}
.bpg-menu{list-style:none;margin:0;padding:0;display:flex;gap:2px;align-items:center}
.bpg-menu>li{position:relative}
.bpg-menu>li>a{display:flex;align-items:center;gap:4px;font-size:15px;font-weight:600;padding:8px 12px;border-radius:10px;color:var(--bpg-ink);text-decoration:none}
.bpg-menu>li>a:hover,.bpg-menu>li:focus-within>a{background:var(--bpg-mist);color:var(--bpg-ink)}
.bpg-menu>li>a .bpg-icon{width:16px;height:16px;color:var(--bpg-muted);transition:transform .2s}
.bpg-menu>li:hover>a .bpg-icon,.bpg-menu>li:focus-within>a .bpg-icon{transform:rotate(180deg)}
.bpg-menu .sub-menu{position:absolute;top:100%;left:0;min-width:240px;list-style:none;margin:0;padding:8px;background:#fff;border:1px solid var(--bpg-line);border-radius:14px;box-shadow:0 20px 40px -18px rgba(18,28,43,.3);opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .15s,transform .15s,visibility .15s;z-index:5}
.bpg-menu>li::after{content:"";position:absolute;left:0;right:0;top:100%;height:8px}
.bpg-menu>li:hover>.sub-menu,.bpg-menu>li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(8px)}
.bpg-menu .sub-menu a{display:block;padding:8px 12px;border-radius:9px;text-decoration:none;color:var(--bpg-ink);font-size:15px}
.bpg-menu .sub-menu a:hover{background:var(--bpg-mist)}
.bpg-menu .current-menu-item>a{color:var(--bpg-acc-d)}
.bpg-allbtn{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--bpg-ink)!important;text-decoration:none!important;border:1px solid var(--bpg-line);background:var(--bpg-mist);border-radius:11px;padding:8px 14px;white-space:nowrap;flex:none}
.bpg-allbtn:hover{border-color:var(--bpg-ink)}
.bpg-allbtn .bpg-icon{width:18px;height:18px;color:var(--bpg-acc)}
.bpg-mmenu{display:none;position:relative}
.bpg-mmenu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;font-weight:600;font-size:15px;border:1px solid var(--bpg-line)!important;border-radius:11px!important;padding:8px 10px!important;color:var(--bpg-ink)!important}
.bpg-mmenu summary::-webkit-details-marker{display:none}
.bpg-mmenu-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(86vw,340px);max-height:75vh;overflow:auto;background:#fff;border:1px solid var(--bpg-line);border-radius:16px;box-shadow:0 24px 48px -20px rgba(18,28,43,.35);padding:12px}
.bpg-mmenu-list,.bpg-mmenu-list ul{list-style:none;margin:0;padding:0}
.bpg-mmenu-list>li>a{display:block;font-weight:700;padding:10px 8px;color:var(--bpg-ink);text-decoration:none}
.bpg-mmenu-list>li>a .bpg-icon{display:none}
.bpg-mmenu-list>li+li{border-top:1px solid var(--bpg-line)}
.bpg-mmenu-list ul{padding:0 0 8px 8px}
.bpg-mmenu-list ul a{display:block;padding:7px 8px;color:var(--bpg-ink);text-decoration:none;font-size:15px}
.bpg-mmenu-all{margin-top:10px;width:100%}

/* ---------- Layout for prisguides ---------- */
body.bpg-full .site.grid-container{max-width:none;padding:0;width:auto}
body.bpg-full .site-content{display:block;padding:0}
.bpg-wrap{max-width:1200px;margin:0 auto;padding:32px 24px 0;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.bpg-main{min-width:0}
.bpg-art{background:#fff;border:1px solid var(--bpg-line);border-radius:var(--bpg-r-lg);padding:40px 56px 48px;box-shadow:0 1px 2px rgba(18,28,43,.04)}

/* Brødkrummer og meta */
.bpg-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0 0 18px;font-size:14px;color:var(--bpg-muted)}
.bpg-crumbs li+li::before{content:"›";margin-right:6px;color:#6B7684}
.bpg-crumbs a{color:var(--bpg-muted)!important;text-decoration:none}
.bpg-crumbs a:hover{color:var(--bpg-acc-d)!important;text-decoration:underline}
.bpg-meta{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin:0 0 14px;font-size:14px;color:var(--bpg-muted)}
.bpg-meta>span{display:inline-flex;gap:6px;align-items:center}
.bpg-meta .bpg-icon{width:17px;height:17px;color:var(--bpg-acc)}
.bpg-chip{display:inline-block;background:var(--bpg-tint);color:var(--bpg-acc-d)!important;font-weight:600;border-radius:999px;padding:3px 12px;text-decoration:none!important;font-size:14px;line-height:1.5}
body.bpg .bpg-h1{font-size:46px;line-height:1.1;margin:0 0 22px}
.bpg-h1::after{content:"";display:block;width:56px;height:4px;border-radius:4px;background:var(--bpg-acc);margin-top:20px}
.bpg-byline{display:flex;gap:12px;align-items:center;font-size:14.5px;color:var(--bpg-muted);margin:0 0 22px}
.bpg-av{display:flex;flex:none}
.bpg-av span{width:34px;height:34px;border-radius:50%;background:var(--bpg-navy);color:#fff;font:700 12.5px/30px var(--bpg-body);text-align:center;border:2px solid #fff}
.bpg-av span+span{margin-left:-9px;background:var(--bpg-acc-d)}
.bpg-byline a{color:var(--bpg-ink);font-weight:600}
.bpg-byline a.bpg-byline-src{font-weight:400;color:var(--bpg-muted)}
.bpg-lead{font-size:19px;line-height:1.65;color:#26344A;margin:0 0 28px}

/* Knapper */
.bpg-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;white-space:nowrap;text-decoration:none!important;font-weight:700;cursor:pointer;min-height:48px;padding:.8em 1.4em;border:0;line-height:1.2;transition:transform .15s,background-color .15s}
.bpg-btn-cta{background:var(--bpg-acc);color:#fff!important;border-radius:12px;box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 8px 20px -10px rgba(194,65,12,.6)}
.bpg-btn-cta:hover{background:var(--bpg-acc-d);color:#fff!important}
.bpg-btn-cta:active{transform:translateY(1px)}
.bpg-btn-full{display:flex;width:100%;min-height:56px;font-size:18px}
.bpg-adnote{font-size:13px;color:var(--bpg-muted);margin:0}
.bpg-adlabel{font-weight:600}

/* Tidlig CTA-boks */
.bpg-ctabox{border:1px solid #F3C9B4;border-left:5px solid var(--bpg-acc);background:linear-gradient(180deg,#FFF8F4,#fff 70%);border-radius:var(--bpg-r);padding:22px 26px 18px;margin:0 0 20px}
.bpg-cta-title{font-family:var(--bpg-head);line-height:1.25;font-weight:600;letter-spacing:-.018em;color:var(--bpg-ink)}
.bpg-ctabox .bpg-cta-title{font-size:21px;margin:0 0 4px}
.bpg-ctabox .bpg-sub{margin:0 0 14px;font-size:15px;color:var(--bpg-muted)}
.bpg-ticks{list-style:none;display:flex;flex-wrap:wrap;gap:6px 22px;padding:0;margin:14px 0 8px;font-size:14.5px;font-weight:600}
.bpg-ticks li{display:flex;gap:7px;align-items:center;margin:0}
.bpg-ticks .bpg-icon{width:18px;height:18px;padding:3px;border-radius:50%;background:var(--bpg-tint);color:var(--bpg-acc)}

/* Indholdsfortegnelse */
.bpg-toc details{border:1px solid var(--bpg-line);border-radius:var(--bpg-r);background:#fff;margin:0 0 32px}
.bpg-toc summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:16px 20px;font-weight:700;font-size:16px}
.bpg-toc summary::-webkit-details-marker{display:none}
.bpg-toc summary .bpg-icon{color:var(--bpg-acc)}
.bpg-toc summary .bpg-chev{margin-left:auto;color:var(--bpg-ink);transition:transform .2s}
.bpg-toc details[open] summary .bpg-chev{transform:rotate(180deg)}
.bpg-toc details[open] summary{border-bottom:1px solid var(--bpg-line)}
.bpg-toc-n{font-size:13px;font-weight:600;color:var(--bpg-muted);background:var(--bpg-mist);border-radius:999px;padding:2px 10px}
.bpg-toc ol{margin:0;padding:14px 20px 16px 44px;columns:2;column-gap:36px;font-size:15.5px}
.bpg-toc li{break-inside:avoid;padding:4px 0;margin:0}
.bpg-toc li::marker{color:var(--bpg-acc);font-weight:700}
.bpg-toc a{color:var(--bpg-ink)!important;text-decoration:none}
.bpg-toc a:hover{color:var(--bpg-acc-d)!important;text-decoration:underline}

/* Billede */
.bpg-fig{margin:0 0 32px}
.bpg-fig img{width:100%;border-radius:var(--bpg-r);background:var(--bpg-mist);display:block}
.bpg-fig figcaption,.bpg-content figcaption,.bpg-content .wp-element-caption{font-size:14px;color:var(--bpg-muted);padding-top:10px}

/* Kort fortalt */
.bpg-kf{background:var(--bpg-mist);border-radius:var(--bpg-r);padding:20px 22px;margin:0 0 36px}
.bpg-kf-h{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;font-weight:700;font-size:15px}
.bpg-kf-h span{font-weight:600;font-size:12.5px;background:var(--bpg-note);color:var(--bpg-note-ink);border-radius:999px;padding:2px 10px;letter-spacing:.02em;white-space:nowrap}
.bpg-kf dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.bpg-kf dl>div{background:#fff;border-radius:12px;padding:12px 14px;border:1px solid var(--bpg-line)}
.bpg-kf dt{font-size:13px;color:var(--bpg-muted);display:flex;gap:6px;align-items:center;font-weight:400}
.bpg-kf dt .bpg-icon{width:16px;height:16px;color:var(--bpg-acc)}
.bpg-kf-v{margin:2px 0 0;font-family:var(--bpg-head);font-size:18px;font-weight:800;line-height:1.25;letter-spacing:-.018em}
.bpg-kf-v a{color:var(--bpg-ink)}
.bpg-kf-v small{display:block;font:500 12.5px/1.4 var(--bpg-body);color:var(--bpg-muted);letter-spacing:0}

/* Artikeltekst */
.bpg-content>*{margin-top:0}
.bpg-content p{margin:0 0 14px}
body.bpg .bpg-content h2{font-size:31px;line-height:1.18;margin:44px 0 14px;padding-left:16px;border-left:4px solid var(--bpg-acc)}
body.bpg .bpg-content>h2:first-child{margin-top:0}
body.bpg .bpg-content h3{font-size:20px;margin:24px 0 4px}
.bpg-content ul,.bpg-content ol{margin:0 0 18px 1.3em;padding:0}
.bpg-content li{margin:0 0 6px}
.bpg-content img{border-radius:var(--bpg-r)}
.bpg-content figure{margin:0 0 28px}
/* Tabeller (core/table) */
.bpg-content .wp-block-table{margin:18px 0 22px;border:1px solid var(--bpg-line);border-radius:var(--bpg-r);overflow-x:auto;-webkit-overflow-scrolling:touch}
.bpg-content .wp-block-table table{table-layout:auto;border-collapse:collapse;width:100%;font-size:16px;margin:0;border:0}
.bpg-content .wp-block-table thead{border:0}
.bpg-content .wp-block-table th,.bpg-content .wp-block-table td{text-align:left;padding:.8em 1em;vertical-align:top;border:0;border-top:1px solid var(--bpg-line)}
.bpg-content .wp-block-table thead th{background:var(--bpg-mist);font-size:13.5px;font-weight:600;color:var(--bpg-muted);border-top:0}
.bpg-content .wp-block-table td:last-child{font-weight:700;text-align:right;font-variant-numeric:tabular-nums;min-width:8em}
.bpg-content .wp-block-table td:nth-child(2):last-child{white-space:nowrap}
.bpg-content .wp-block-table td:nth-child(n+2){font-variant-numeric:tabular-nums}
.bpg-content .wp-block-table thead th:last-child{text-align:right}
.bpg-content .wp-block-table figcaption,.bpg-content .wp-block-table .wp-element-caption{padding:10px 16px;margin:0;font-size:13.5px;border-top:1px solid var(--bpg-line);text-align:left}
/* Liste-stilarter */
.bpg-content ol.is-style-bpg-steps{counter-reset:bpgs;list-style:none;margin-left:0}
.bpg-content ol.is-style-bpg-steps>li{counter-increment:bpgs;position:relative;padding-left:3em;margin:0 0 1em}
.bpg-content ol.is-style-bpg-steps>li::before{content:counter(bpgs);position:absolute;left:0;top:0;width:2em;height:2em;display:grid;place-items:center;border-radius:50%;font-weight:700;font-size:15px;background:var(--bpg-tint);color:var(--bpg-acc-d)}
.bpg-content ul.is-style-bpg-checks{list-style:none;margin-left:0}
.bpg-content ul.is-style-bpg-checks>li{padding-left:36px;position:relative;margin:0 0 12px}
.bpg-content ul.is-style-bpg-checks>li::before{content:"";position:absolute;left:0;top:.2em;width:24px;height:24px;border-radius:50%;background:var(--bpg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23C2410C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
/* FAQ (core/details) */
.bpg-content .wp-block-details{background:var(--bpg-mist);border-radius:12px;margin:0 0 10px;padding:0 20px}
.bpg-content .wp-block-details summary{list-style:none;cursor:pointer;padding:15px 40px 15px 0;font-weight:600;position:relative}
.bpg-content .wp-block-details summary::-webkit-details-marker{display:none}
.bpg-content .wp-block-details summary::after{content:"+";position:absolute;right:0;top:50%;margin-top:-14px;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--bpg-acc-d);font-size:20px;line-height:1;display:grid;place-items:center}
.bpg-content .wp-block-details[open] summary::after{content:"–"}
.bpg-content .wp-block-details>:not(summary){margin:0 0 1em}
.bpg-content .is-style-bpg-faq{margin:44px 0 0}
/* Eksempeldata-mærkat */
.bpg-content .bpg-ex,.bpg-ex{display:inline-block;background:var(--bpg-note);color:var(--bpg-note-ink);font:700 12px/1.4 var(--bpg-body);padding:4px 10px;border-radius:999px;letter-spacing:.04em;text-transform:uppercase}

/* CTA-bånd */
.bpg-cta{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:36px 0 44px;border-radius:var(--bpg-r);padding:22px 26px}
.bpg-cta p{margin:0}
.bpg-cta-txt{flex:1 1 auto;min-width:0}
.bpg-cta-act{flex:0 0 230px}
.bpg-cta .bpg-btn{width:100%}
.bpg-cta .bpg-cta-title{font-size:20px;margin:0 0 2px}
.bpg-cta-txt p:not(.bpg-cta-title){color:var(--bpg-muted);font-size:15px}
.bpg-cta .bpg-adnote{text-align:center;margin-top:6px}
.bpg-cta-mid{background:var(--bpg-tint);border:1px solid #F3C9B4}
.bpg-cta-bottom{background:radial-gradient(500px 220px at 100% 0,rgba(255,138,91,.3),transparent 65%),linear-gradient(135deg,var(--bpg-ink),var(--bpg-navy));padding:34px}
.bpg-cta-bottom .bpg-cta-title{color:#fff;font-size:26px}
.bpg-cta-bottom .bpg-cta-txt p:not(.bpg-cta-title),.bpg-cta-bottom .bpg-adnote{color:#C9D1DC}

/* Skribent og kilder */
.bpg-author{border-top:1px solid var(--bpg-line);padding-top:32px;margin:0}
.bpg-people{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.bpg-person{display:flex;gap:14px}
.bpg-avatar{width:52px;height:52px;flex:none;border-radius:50%;background:var(--bpg-navy);color:#fff;display:grid;place-items:center;font-weight:700;font-size:17px}
.bpg-avatar-acc{background:var(--bpg-acc-d)}
.bpg-p-name{font-weight:700;margin:0}
.bpg-p-name span{font-weight:400;color:var(--bpg-muted)}
.bpg-p-name .bpg-icon{color:var(--bpg-acc);margin:-3px 4px 0 0}
.bpg-p-bio{margin:2px 0 0;font-size:14px;color:var(--bpg-muted)}
.bpg-sources{font-size:14px;color:var(--bpg-muted);background:var(--bpg-mist);border-radius:12px;padding:14px 16px;margin:20px 0 0}
.bpg-sources p{margin:0 0 6px}.bpg-sources p:last-child{margin:0}
.bpg-sources-h strong{color:var(--bpg-ink)}

/* Relaterede */
.bpg-related{background:#fff;border:1px solid var(--bpg-line);border-radius:var(--bpg-r-lg);padding:32px 40px;margin:24px 0 0}
body.bpg .bpg-related h2{font-size:24px;margin:0 0 16px}
.bpg-related ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bpg-related li{margin:0}
.bpg-related a{display:flex;gap:14px;align-items:center;padding:14px 44px 14px 14px;border-radius:14px;border:1px solid var(--bpg-line);text-decoration:none;position:relative;height:100%}
.bpg-related a::after{content:"→";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--bpg-acc);font-weight:700}
.bpg-related a:hover{border-color:var(--bpg-acc);background:#FFFAF7}
.bpg-r-img{width:64px;height:64px;border-radius:12px;flex:none;overflow:hidden;background:var(--bpg-tint);color:var(--bpg-acc);display:grid;place-items:center}
.bpg-r-img img{width:64px;height:64px;object-fit:cover;display:block}
.bpg-r-img .bpg-icon{width:28px;height:28px}
.bpg-r-t{display:block;font-family:var(--bpg-head);font-weight:600;font-size:17px;color:var(--bpg-ink);letter-spacing:-.018em}
.bpg-r-d{display:block;font-size:14px;color:var(--bpg-muted);line-height:1.4}

/* Sticky sidebar */
.bpg-side{position:sticky;top:calc(var(--bpg-hdr-h) + 26px);display:grid;gap:16px}
.admin-bar .bpg-side{top:calc(var(--bpg-hdr-h) + 58px)}
.bpg-sc{background:#fff;border:1px solid var(--bpg-line);border-top:4px solid var(--bpg-acc);border-radius:var(--bpg-r-lg);padding:24px 24px 20px;box-shadow:0 24px 48px -28px rgba(18,28,43,.25)}
.bpg-sc .bpg-sc-e{margin:0 0 6px;font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--bpg-acc-d)}
.bpg-sc .bpg-sc-h{font-family:var(--bpg-head);color:var(--bpg-ink);font-size:27px;font-weight:800;margin:0 0 6px;line-height:1.15;letter-spacing:-.018em}
.bpg-sc p{margin:0 0 14px;font-size:15px;color:var(--bpg-muted)}
.bpg-sc ol{list-style:none;counter-reset:bpgsc;padding:0;margin:0 0 18px}
.bpg-sc li{counter-increment:bpgsc;display:grid;grid-template-columns:32px 1fr;column-gap:12px;margin:0 0 12px;font-size:15px;line-height:1.45}
.bpg-sc li::before{content:counter(bpgsc);grid-row:1/span 2;width:32px;height:32px;border-radius:50%;background:var(--bpg-tint);color:var(--bpg-acc-d);font:700 14px/32px var(--bpg-body);text-align:center}
.bpg-sc li b{font-weight:700}
.bpg-sc li span{font-size:13.5px;color:var(--bpg-muted)}
.bpg-sc .bpg-btn{width:100%;min-height:52px}
.bpg-sc .bpg-fine{font-size:13px;text-align:center;margin:10px 0 0}
.bpg-sc .bpg-adnote{text-align:center;border-top:1px solid var(--bpg-line);margin-top:12px;padding-top:10px}

/* Sticky bundbjælke */
html.bpg-has-bar body{padding-bottom:76px}
.bpg-bbar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--bpg-ink);border-top:3px solid var(--bpg-acc);color:#fff;box-shadow:0 -10px 30px -10px rgba(0,0,0,.35);transform:translateY(0);transition:transform .25s}
.bpg-bbar[hidden]{display:none}
.bpg-bbar-in{max-width:1200px;margin:0 auto;padding:10px 64px 10px 24px;display:flex;align-items:center;justify-content:center;gap:22px;position:relative}
.bpg-bar-i{width:40px;height:40px;border-radius:11px;background:rgba(255,138,91,.15);color:var(--bpg-acc-k);display:grid;place-items:center;flex:none}
.bpg-bar-i .bpg-icon{width:22px;height:22px}
.bpg-bar-t{line-height:1.25;margin:0}
.bpg-bar-t small{display:block;font-size:12.5px;color:#B9C3D0;text-transform:uppercase;letter-spacing:.06em;font-weight:700}
.bpg-bar-t strong{font-family:var(--bpg-head);font-size:19px;letter-spacing:-.018em}
.bpg-bar-t strong em{font-style:normal;color:var(--bpg-acc-k)}
.bpg-bbar .bpg-btn{min-height:46px;border-radius:999px;padding:.5em 1.4em}
.bpg-bar-ad{font-size:12px;color:#B9C3D0}
.bpg-bar-ad-m{display:none}
.bpg-bbar .bpg-bar-x{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:#C9D1DC;cursor:pointer;display:grid;place-items:center;padding:0}
.bpg-bbar .bpg-bar-x:hover{background:#1F2B3E;color:#fff}

/* Arkiv */
.bpg-archive{max-width:1200px;margin:0 auto;padding:32px 24px 0}
.bpg-archive-hdr{background:#fff;border:1px solid var(--bpg-line);border-radius:var(--bpg-r-lg);padding:36px 48px 20px;margin:0 0 24px}
.bpg-archive-hdr .bpg-lead{margin-bottom:12px}
.bpg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bpg-card{background:#fff;border:1px solid var(--bpg-line);border-radius:var(--bpg-r-lg);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.bpg-card:hover{border-color:var(--bpg-acc);box-shadow:0 18px 36px -24px rgba(18,28,43,.35)}
.bpg-card-link{display:flex;flex-direction:column;height:100%;text-decoration:none!important;color:var(--bpg-ink)!important}
.bpg-card-img{aspect-ratio:16/9;background:var(--bpg-tint);color:var(--bpg-acc);display:grid;place-items:center;overflow:hidden}
.bpg-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.bpg-card-img .bpg-icon{width:44px;height:44px}
.bpg-card-body{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px;align-items:flex-start}
.bpg-card-t{font-family:var(--bpg-head);font-weight:600;font-size:19px;line-height:1.25;letter-spacing:-.018em}
.bpg-card-p{font-weight:700;color:var(--bpg-acc-d)}
.bpg-card-p small{font-weight:500;color:var(--bpg-muted)}
.bpg-archive .pagination,.bpg-archive .nav-links{display:flex;gap:6px;justify-content:center;margin:28px 0 0}
.bpg-archive .page-numbers{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:0 12px;border-radius:11px;background:#fff;border:1px solid var(--bpg-line);text-decoration:none;color:var(--bpg-ink)}
.bpg-archive .page-numbers.current{background:var(--bpg-ink);color:#fff;border-color:var(--bpg-ink)}
.bpg-empty{background:#fff;border-radius:var(--bpg-r);padding:24px}

/* Footer */
body.bpg .site-footer{background:transparent;padding:0}
.bpg-foot{background:var(--bpg-ink);color:#C9D1DC;margin-top:56px;font-size:15px}
.bpg-foot .bpg-logo-w{color:#fff}
.bpg-foot .bpg-logo-w span{color:var(--bpg-acc-k)}
.bpg-foot-in{max-width:1200px;margin:0 auto;padding:48px 24px 16px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px}
.bpg-foot ul{list-style:none;padding:0;margin:0}
.bpg-foot li{margin:5px 0}
.bpg-foot a{color:#E3E8EE!important;text-decoration:none}
.bpg-foot a:hover{color:#fff!important;text-decoration:underline}
.bpg-f-h{font-weight:700;margin:0 0 8px;font-size:14px;color:#fff}
.bpg-foot-brand p{color:#B9C3D0;margin:12px 0 0}
.bpg-disclaimer,.bpg-copy{max-width:1200px;margin:0 auto;padding:12px 24px;font-size:13px;color:#B9C3D0}
.bpg-disclaimer{border-top:1px solid #26344A;padding-top:18px}
.bpg-copy{padding-bottom:24px}

/* ---------- Responsivt ---------- */
@media (max-width:1023px){
	.bpg-mnav{display:none}
	.bpg-mmenu{display:block}
	.bpg-allbtn{margin-left:auto;padding:8px 10px}
	.bpg-allbtn span{display:none}
	.bpg-hdr-in{padding:10px 16px;gap:10px}
	.bpg-wrap{display:block;padding:14px 12px 0}
	.bpg-side{display:none}
	.bpg-art{padding:22px 18px 28px;border-radius:18px}
	body.bpg h1,body.bpg .bpg-h1{font-size:33px;margin-bottom:18px}
	.bpg-h1::after{margin-top:16px}
	.bpg-lead{font-size:17.5px}
	.bpg-byline{align-items:flex-start}
	.bpg-ctabox{padding:18px 16px 14px}
	.bpg-ctabox .bpg-cta-title{font-size:19px}
	.bpg-ticks{flex-direction:column;gap:6px}
	.bpg-toc ol{columns:1;padding-left:40px}
	body.bpg h2,body.bpg .bpg-content h2{font-size:25px}
	body.bpg .bpg-content h2{padding-left:12px}
	.bpg-cta{flex-direction:column;align-items:stretch;padding:20px 18px}
	.bpg-cta-act{flex:none}
	.bpg-cta-bottom .bpg-cta-title{font-size:23px}
	.bpg-people,.bpg-related ul{grid-template-columns:1fr}
	.bpg-related{padding:24px 18px;border-radius:18px}
	.bpg-archive{padding:14px 12px 0}
	.bpg-archive-hdr{padding:22px 18px 10px}
	.bpg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
	.bpg-foot-in{grid-template-columns:1fr 1fr;padding:36px 18px 12px}
	.bpg-foot-brand{grid-column:1/-1}
	.bpg-bbar-in{justify-content:flex-start;gap:12px;padding:10px 52px 10px 14px}
	.bpg-bar-i,.bpg-bar-ad{display:none}
	.bpg-bar-ad-m{display:inline}
	.bpg-bar-t small{font-size:11px}
	.bpg-bar-t strong{font-size:16px}
	.bpg-bbar .bpg-btn{margin-left:auto;padding:.5em 1.1em;font-size:15px;min-height:44px}
	.bpg-bbar .bpg-bar-x{right:6px}
}
@media (max-width:600px){
	.bpg-content .wp-block-table table{font-size:14px}
	.bpg-content .wp-block-table th,.bpg-content .wp-block-table td{padding:.6em .5em}
	.bpg-content .wp-block-table td:last-child{white-space:normal;min-width:6.5em}
	.bpg-kf dl{grid-template-columns:1fr;gap:8px}
	.bpg-kf dl>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px}
	.bpg-kf dt{flex:none;max-width:45%}
	.bpg-kf-v{font-size:15.5px;text-align:right}
	.bpg-grid{grid-template-columns:1fr}
	.bpg-bar-t strong{font-size:15px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media print{.bpg-hdr,.bpg-side,.bpg-bbar,.bpg-cta,.bpg-ctabox,.bpg-foot{display:none!important}.bpg-wrap{display:block}.bpg-art{border:0;padding:0}}

/* ---------- Forside (front-page.php + blok-klasser) ---------- */
.bpg-front-c>*{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px;box-sizing:border-box}
.bpg-front-c>.bpg-hero{max-width:none;padding:0;margin:0}
body.bpg .bpg-hero{background:radial-gradient(1200px 400px at 85% -10%,rgba(255,138,91,.28),transparent 60%),linear-gradient(160deg,var(--bpg-navy),var(--bpg-ink));color:#DCE3EC}
.bpg-hero>.wp-block-group__inner-container,.bpg-hero>*{max-width:1200px;margin-left:auto;margin-right:auto}
.bpg-hero{padding:72px 24px 80px!important}
.bpg-hero>*{padding:0 24px;box-sizing:border-box}
body.bpg .bpg-hero h1,body.bpg .bpg-hero h2{color:#fff;font-size:64px;line-height:1.02;letter-spacing:-.03em;margin:0 auto 20px}
body.bpg .bpg-hero h1::after,body.bpg .bpg-hero h2::after{content:"";display:block;width:64px;height:5px;border-radius:5px;background:var(--bpg-acc-k);margin-top:22px}
.bpg-hero .bpg-eyebrow{color:var(--bpg-acc-k);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:14px;margin-bottom:14px}
.bpg-hero p{font-size:20px;line-height:1.6;max-width:760px;margin-left:0}
.bpg-hero>p:not(.bpg-eyebrow){margin-left:auto;margin-right:auto;max-width:1200px}
.bpg-hero p a{color:#fff}
.bpg-hero .wp-block-buttons{margin-top:28px;gap:12px}
body.bpg .bpg-hero .is-style-outline .wp-block-button__link{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.55)}
body.bpg .bpg-hero .is-style-outline .wp-block-button__link:hover{background:rgba(255,255,255,.08);border-color:#fff}
.bpg-hero .bpg-trust{list-style:none;display:flex;flex-wrap:wrap;gap:10px 22px;padding-top:26px!important;margin-top:0;font-size:15px;color:#C9D1DC}
.bpg-hero .bpg-trust li{display:flex;align-items:center;gap:8px}
.bpg-hero .bpg-trust li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--bpg-acc-k);flex:none}
.bpg-section{margin-top:64px!important}
body.bpg .bpg-section>h2{font-size:34px;line-height:1.15;margin:0 0 10px}
.bpg-section>p.bpg-sub{color:var(--bpg-muted);font-size:18px;margin:0 0 26px;max-width:720px}
.bpg-grid-front{margin-top:8px}
.bpg-card-all{background:var(--bpg-ink);border-color:var(--bpg-ink)}
.bpg-card-all .bpg-card-link{color:#fff!important}
.bpg-card-all .bpg-card-body{height:100%;justify-content:flex-end;padding:28px 24px;gap:10px;min-height:220px;background:radial-gradient(400px 200px at 100% 0,rgba(255,138,91,.35),transparent 70%)}
.bpg-card-all .bpg-card-t{font-size:24px;color:#fff}
.bpg-card-d{color:#C9D1DC;font-size:15px;line-height:1.5}
.bpg-card-go{font-weight:700;color:var(--bpg-acc-k)}
.bpg-steps-grid{gap:20px!important;margin-top:8px}
.bpg-step{background:#fff;border:1px solid var(--bpg-line);border-radius:var(--bpg-r-lg);padding:26px 24px!important;counter-increment:bpgstep;position:relative}
.bpg-steps-grid{counter-reset:bpgstep}
.bpg-step::before{content:counter(bpgstep);display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--bpg-tint);color:var(--bpg-acc-d);font-family:var(--bpg-head);font-weight:800;font-size:18px;margin-bottom:14px}
body.bpg .bpg-step h3{font-size:20px;margin:0 0 8px}
.bpg-step p{margin:0;color:#26344A;line-height:1.6}
.bpg-note-box{background:var(--bpg-note);color:var(--bpg-note-ink);border-radius:var(--bpg-r-lg);padding:28px 32px!important;max-width:1152px!important}
body.bpg .bpg-note-box h2{font-size:24px;margin:0 0 8px;color:var(--bpg-note-ink)}
.bpg-note-box p{margin:0 0 8px;line-height:1.65}
.bpg-note-box p:last-child{margin-bottom:0}
.bpg-note-box a{color:var(--bpg-note-ink);font-weight:700}
.bpg-front-c>.bpg-note-box{margin-left:auto;margin-right:auto}
@media (max-width:1240px){.bpg-front-c>.bpg-note-box{margin-left:24px;margin-right:24px}}
@media (max-width:900px){.bpg-grid-front{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
	.bpg-hero{padding:44px 0 52px!important}
	body.bpg .bpg-hero h1,body.bpg .bpg-hero h2{font-size:42px}
	.bpg-hero p{font-size:17.5px}
	.bpg-section{margin-top:44px!important}
	body.bpg .bpg-section>h2{font-size:27px}
	.bpg-grid-front{grid-template-columns:minmax(0,1fr)}
	.bpg-card-all .bpg-card-body{min-height:0}
	.bpg-note-box{padding:22px 20px!important}
	.bpg-front-c>.bpg-note-box{margin-left:16px;margin-right:16px}
	.bpg-hero .wp-block-button{width:100%}
	.bpg-hero .wp-block-button__link{width:100%;text-align:center}
}

/* ---------- Almindelige sider (Om, Annonceoplysning, Kontakt) ---------- */
body.bpg-page .site-main{max-width:860px;margin-left:auto;margin-right:auto}
body.bpg-page.separate-containers .inside-article{padding:44px 56px 48px}
body.bpg-page .entry-title{font-size:42px;line-height:1.1}
body.bpg-page .entry-title::after{content:"";display:block;width:56px;height:4px;border-radius:4px;background:var(--bpg-acc);margin-top:18px}
body.bpg-page .entry-content{font-size:17.5px;line-height:1.7;color:#26344A}
body.bpg-page .entry-content h2{font-size:26px;line-height:1.2}
@media (max-width:640px){
	body.bpg-page.separate-containers .inside-article{padding:28px 20px 32px}
	body.bpg-page .entry-title{font-size:32px}
}
.bpg-sources,.bpg-sources p{overflow-wrap:anywhere}
.bpg-more{margin:20px 0 0;font-weight:700}
.bpg-more a{color:var(--bpg-acc-d);text-decoration:none}
.bpg-more a:hover{text-decoration:underline}

@media (max-width:600px){.bpg-card-img:not(:has(img)){aspect-ratio:auto;height:96px}}
