body{margin:0}.wp-site-blocks{max-width:none;padding:0;margin:0}
:root{--nb-bg:#F6F1E9;--nb-ink:#23262C;--nb-green:var(--primary,#0a4a24);--nb-line:#e3ddd2;--nb-tint:#eef2ec;--nb-link:color-mix(in srgb,var(--primary,#0a4a24) 80%,#000)}
.nb-cpt{margin:0;background:var(--nb-bg);color:var(--nb-ink);font-family:var(--text,Georgia,serif);line-height:1.6}
.nb-cpt *{box-sizing:border-box}
.nb-wrap{max-width:var(--nb-container,1140px);margin-inline:auto;padding-inline:var(--nb-pad,24px)}
.nb-breadcrumbs{font-size:13px;padding-block:14px;border-bottom:1px solid var(--nb-line);margin-bottom:clamp(20px,3.5vw,40px)}
/* On-brand focus ring across every migrated-site layer (chrome, CPT, content, breadcrumbs, design) —
   replaces the browser-default BLUE outline that looked wrong around brand-coloured buttons. currentColor
   adapts to each surface so it stays visible + accessible on light/dark/brand bands. */
:is(.nb-cpt,.nb-site,.nb-chrome,.nb-breadcrumbs,.nb-content,.nb-cpt-bespoke) :is(a,button,.btn,[role="button"],input,textarea,select):focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:3px}
.nb-breadcrumbs .nb-wrap{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-block:0}
.nb-breadcrumbs a{color:var(--nb-link);text-decoration:none}
.nb-breadcrumbs a:hover{text-decoration:underline}
.nb-breadcrumbs__sep{opacity:.4}
.nb-breadcrumbs__cur{color:var(--nb-ink);opacity:.7}
.nb-hd{border-bottom:1px solid var(--nb-line);background:var(--nb-bg)}
.nb-hd__in{display:flex;align-items:center;justify-content:space-between;padding-block:18px}
.nb-brand{font-weight:700;font-size:20px;color:var(--nb-green);text-decoration:none}
.nb-hd .wp-block-site-title{margin:0;font-size:20px}
.nb-hd .wp-block-site-title a,.nb-brand a{color:var(--nb-green);text-decoration:none;font-weight:700}
/* Logo (custom_logo) renders via wp:site-logo; when a logo image is present, hide the text wordmark. */
.nb-hd .wp-block-site-logo{margin:0;line-height:0}
.nb-hd .wp-block-site-logo img{max-height:50px;width:auto;display:block}
.nb-hd:has(.wp-block-site-logo img) :is(.nb-brand,.wp-block-site-title){display:none}
.nb-nav{display:flex;gap:22px;flex-wrap:wrap}
.nb-nav a{color:var(--nb-ink);text-decoration:none;font-size:15px}
.nb-nav a:hover{color:var(--nb-green)}
.nb-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;color:var(--nb-link);font-weight:700;margin:48px 0 8px}
/* ONE button system — ACSS-variable-driven (themeable via --primary / --base-ultra-light / --btn-* / --text)
   AND contrast-safe by construction. Replaces the 3 ad-hoc systems (.btn-primary vs the content's .btn--primary
   vs .nb-btn) whose class-name mismatch left "blue text on blue" invisible buttons. Primary = brand fill + ACSS
   light text; secondary/outline = light fill + brand text + brand border (visible on ANY band). !important so it
   wins over the LLM-generated per-site button CSS. Mirrored in content.css for standalone pages. */
.nb-cpt-bespoke .btn,.nb-cpt-bespoke .nb-btn{display:inline-flex;align-items:center;gap:.5em;padding:var(--btn-pad-y,.85em) var(--btn-pad-x,1.7em);border-radius:var(--btn-radius,8px);font-weight:var(--btn-font-weight,600);font-size:.95rem;text-decoration:none;border:1px solid transparent;line-height:1.2;cursor:pointer}
.nb-cpt-bespoke .btn--primary:not(.nb-cta-btn),.nb-cpt-bespoke .btn-primary:not(.nb-cta-btn),.nb-cpt-bespoke a.btn:not(.btn--ghost):not(.btn--secondary):not(.btn-outline):not(.nb-cta-btn),.nb-cpt-bespoke .nb-btn:not(.nb-btn--ghost){background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important}
.nb-cpt-bespoke .btn--secondary:not(.nb-cta-btn),.nb-cpt-bespoke .btn--ghost:not(.nb-cta-btn),.nb-cpt-bespoke .btn-outline:not(.nb-cta-btn),.nb-cpt-bespoke .nb-btn--ghost:not(.nb-cta-btn){background:#fff!important;color:var(--nb-link)!important;border-color:var(--primary)!important}
.nb-cpt-bespoke .btn:hover,.nb-cpt-bespoke .nb-btn:hover{filter:brightness(.93)}
/* The GENERIC CPT tier must wear the brand faces too. It never sat inside .nb-site, so when a design
   scopes --ff-body/--ff-heading there, every by-side rendered in the Georgia fallback while the real
   webfont was loaded and unused on the same page. Consume the tokens here with the old fallback, so a
   design that publishes them at :root is picked up and one that does not renders exactly as before. */
.nb-cpt,.nb-single,.nb-arch{font-family:var(--ff-body,var(--nb-body-font,var(--text,Georgia,serif)))}
.nb-cpt :is(h1,h2,h3,h4),.nb-single :is(h1,h2,h3,h4),.nb-arch :is(h1,h2,h3,h4){font-family:var(--ff-heading,var(--nb-heading-font,var(--serif,Georgia,serif)))}
/* ⚠ .nb-cta-btn is excluded above: the canonical closing CTA band carries its own contrast pair (a
   light button on the dark band). These !important rules repainted it var(--primary) — EXACTLY the
   band background — so the page's one call-to-action rendered invisible on bespoke CPT pages while
   looking correct on generic ones. Same SiteCta markup; only this tier overrode it. */
/* A button following body copy had no space above it (measured margin-top 0 on every bespoke band),
   so each CTA sat welded to its paragraph. Only a button PRECEDED by content gets the space, so one
   that opens its container stays flush. */
.nb-cpt-bespoke :is(p,ul,ol,dl,h2,h3,h4) + .btn,
.nb-cpt-bespoke :is(p,ul,ol,dl,h2,h3,h4) + .nb-btn,
.nb-cpt-bespoke .nbx-prose > :is(p,ul,ol,dl) + a{margin-top:var(--space-m,1.6rem)}
.nb-cpt-bespoke .nbx-prose .btn + .btn{margin-left:.6rem}
/* Map embed inside a bespoke band. */
.nb-cpt-bespoke .nb-single__map{margin:1.25rem 0 0;border-radius:12px;overflow:hidden;border:1px solid var(--nb-line,#DFDBD1)}
.nb-cpt-bespoke .nb-single__map iframe{display:block;width:100%;height:clamp(220px,32vw,320px);border:0;filter:saturate(.92)}
.nb-cpt-bespoke :is(.nb-contact-cta,.nb-closing-card,[class*="contact-card"],[class*="info-card"]){background:#fff!important;border:1px solid rgba(0,0,0,.08)}
/* Band fills (.nb-section--paper|tint|warm|brand|dark) moved to rhythm.css's [data-fill] floor —
   one contract instead of two, and it applies on every tier rather than only inside
   .nb-cpt-bespoke. See docs/theme-architecture.md §5c. */
.nb-cpt-bespoke .vlabel,.nb-cpt-bespoke .nb-closing-card dt{color:var(--nb-link)!important}
.nb-arch h1,.nb-single h1{font-size:var(--h1,clamp(2rem,1.4rem+2.6vw,3.2rem));margin:0 0 36px;font-weight:600}
.nb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-bottom:72px}
@media(max-width:760px){.nb-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.nb-grid{grid-template-columns:1fr}}
.nb-card{display:block;text-decoration:none;color:inherit;background:var(--base-ultra-light,#fff);border:1px solid var(--nb-line);border-radius:12px;overflow:hidden;transition:box-shadow .2s}
.nb-card:hover{box-shadow:0 10px 30px rgba(0,0,0,.08)}
.nb-card__ph{aspect-ratio:4/3;background-size:cover;background-position:center;background-color:var(--nb-tint)}
.nb-card h3{margin:16px 18px 4px;font-size:19px}
.nb-card p{margin:0 18px 18px;color:color-mix(in srgb,var(--nb-ink) 64%,transparent);font-size:14px}
.nb-single__grid{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;align-items:start;padding-bottom:72px}
.nb-single__ph{aspect-ratio:4/5;background-size:cover;background-position:center;background-color:var(--nb-tint);border-radius:14px}
/* Product single gallery. CptViews::product_single() has always emitted `.nb-product__gallery` >
   `.nb-product__img` as background-image divs, but NOTHING anywhere styled them — so the boxes
   computed to height:0 and every product page rendered with no image at all, while the same
   product's thumbnail showed fine in the category grid (`.nb-card__ph`, styled above). Measured on
   /produkter/kister/akvarel-blaa-m-u-kors/: gallery 473×0. Mirrors the card/single photo idiom. */
.nb-product__gallery{display:grid;gap:12px}
.nb-product__img{aspect-ratio:4/3;background-size:cover;background-position:center;background-color:var(--nb-tint);border-radius:14px}
/* Canonical button (shared spec — see content.css): 1px border, inline-flex, .95rem, hover darkens to the
   brand --primary-hover. Keeps CPT CTAs identical to the front-page + content-page buttons. */
.nb-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;text-align:center;padding:.85em 1.7em;border-radius:var(--btn-radius,8px);background:var(--nb-green);color:#fff;text-decoration:none;font-weight:600;font-size:.95rem;border:1px solid var(--nb-green);transition:background .2s ease,color .2s ease}
.nb-btn:hover{background:var(--primary-hover);border-color:var(--primary-hover);color:#fff}
.nb-btn--ghost{background:transparent;color:var(--nb-green);border-color:var(--nb-green)}
.nb-btn--ghost:hover{background:var(--nb-green);color:#fff}
.nb-contact-cta{background:var(--nb-tint,#eef2ec);border:1px solid var(--nb-line);border-radius:12px;padding:20px;margin:0 0 24px}
.nb-contact-cta__lead{margin:0 0 12px;font-weight:600}
.nb-contact-cta__row{display:flex;flex-wrap:wrap;gap:12px}
.nb-dl{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;margin:0 0 28px}
.nb-dl dt{font-weight:700;color:var(--nb-link)}
.nb-dl dd{margin:0}
.nb-prose p{margin:0 0 14px}
.nb-cpt-body{margin-top:28px;max-width:72ch}
.nb-cpt-body h2,.nb-cpt-body h3{margin:1.3em 0 .4em;font-weight:600;line-height:1.2}
.nb-cpt-body h2{font-size:1.5rem}.nb-cpt-body h3{font-size:1.2rem}
.nb-cpt-body ul,.nb-cpt-body ol{margin:0 0 14px;padding-left:1.25em}.nb-cpt-body li{margin-bottom:6px}
.nb-cpt-body a{color:var(--nb-link);text-underline-offset:2px}
.nb-related{border-top:1px solid var(--nb-line);padding-top:20px}
.nb-related__links{display:flex;flex-wrap:wrap;gap:10px 18px}
.nb-related__links a{color:var(--nb-link);text-decoration:none}
.nb-ft{background:var(--primary);color:var(--text-light,#eaf1ec);margin-top:48px}
.nb-ft__in{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px;padding-block:48px}
.nb-ft h4{margin:0 0 12px;font-size:13px;text-transform:uppercase;letter-spacing:.1em;opacity:.85}
.nb-ft ul{list-style:none;margin:0;padding:0}
.nb-ft a{color:var(--text-light,#eaf1ec);text-decoration:none;font-size:14px;line-height:2}
.nb-ft a:hover{text-decoration:underline}
.nb-fbrand strong{font-size:20px}
.nb-fbrand .wp-block-site-title{margin:0 0 10px;font-size:20px}
.nb-fbrand .wp-block-site-title a{color:var(--text-light,#eaf1ec);text-decoration:none;font-weight:700}
.nb-fbrand .wp-block-site-tagline{margin:0;opacity:.85;font-size:14px}
@media(max-width:860px){.nb-single__grid{grid-template-columns:1fr}.nb-ft__in{grid-template-columns:1fr 1fr}}
/* Mid-content conversion CTA card (PageRender::inject_mid_cta for CPT bodies + inject_page_mid_cta for long
   pages). Defined here in the site-wide base so it's styled in BOTH CPT views and standalone pages (it was
   previously only in the CPT-views inline <style>, leaving the page mid-CTA unstyled). */
.nb-midcta{margin:32px 0;padding:22px 24px;border-radius:14px;background:var(--nb-tint,#eef2ec);border:1px solid var(--nb-line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.nb-midcta__lead{margin:0;font-weight:600;font-size:1.05rem}
/* PROSE MARGINS MUST NOT LEAK INTO THIS FLEX ROW. `.nb-midcta` is `align-items:center`, which
   centres BORDER boxes — so any vertical margin on a child silently pushes it off-centre and
   inflates the box. Both contexts had one, from different sources, and both read to the eye as
   "the padding is off" rather than as a margin:
     · CPT single — the button carried a 29.5px top margin (an ACSS bleed onto `.btn`; it is not
       in our own stylesheets, and it wins at 0,2,0 by load order). Visual padding came out 52px
       top against 23px bottom, the button sat 15px below the text's centre, and the box stood
       129px tall around 54px of content.
     · Page — the lead's own `margin:0` (0,1,0) loses to content.css's `.nb-content p{margin:0 0 1em}`
       (0,1,1), so the text sat 8px high.
   0,2,1 on each child beats both without `!important` (Constitution rule 3). Measured after:
   padding 23/23, centres aligned to 0px, box 100px. */
.nb-midcta > a.btn,
.nb-midcta > p.nb-midcta__lead{margin-block:0}
/* Blog index — nembedemand/post-index via home.html (the page_for_posts page). ACSS tokens with fallbacks;
   auto-fill grid so it reflows 3 → 2 → 1 without breakpoints. Card text links, not buttons (one .btn rule). */
.nb-postindex__intro{max-width:72ch;margin:0 0 var(--space-l,2.4rem)}
.nb-postindex__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,18rem),1fr));gap:var(--space-l,2rem);padding-bottom:var(--space-xl,3.6rem)}
.nb-postindex__card{display:flex;flex-direction:column;background:var(--base-ultra-light,#fff);border:1px solid var(--nb-line);border-radius:var(--radius-m,12px);overflow:hidden}
.nb-postindex__media{display:block;aspect-ratio:3/2;background-color:var(--nb-tint);overflow:hidden}
.nb-postindex__media .nb-postindex__img{display:block;width:100%;height:100%;object-fit:cover}
.nb-postindex__body{display:flex;flex-direction:column;flex:1;gap:var(--space-xs,.6rem);padding:var(--space-m,1.6rem)}
.nb-postindex__date{font-size:var(--text-s,.875rem);color:color-mix(in srgb,var(--nb-ink) 64%,transparent)}
.nb-postindex__card .nb-postindex__title{margin:0;font-size:var(--h4,1.3rem);line-height:1.25}
.nb-postindex__title a{color:inherit;text-decoration:none}
.nb-postindex__title a:hover{color:var(--nb-link);text-decoration:underline}
.nb-postindex__card .nb-postindex__excerpt{margin:0;color:color-mix(in srgb,var(--nb-ink) 78%,transparent)}
.nb-postindex__more{margin-top:auto;padding-top:var(--space-xs,.6rem);color:var(--nb-link);font-weight:600;text-underline-offset:2px}
.nb-postindex__empty{padding-bottom:var(--space-xl,3.6rem)}
.nb-postindex__pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-xs,.5rem);padding-bottom:var(--space-xl,3.6rem)}
.nb-postindex__pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:2.6em;padding:.45em .9em;border:1px solid var(--nb-line);border-radius:var(--btn-radius,8px);color:var(--nb-ink);text-decoration:none}
.nb-postindex__pagination a.page-numbers:hover{border-color:var(--nb-green);color:var(--nb-green)}
.nb-postindex__pagination .page-numbers.current{background:var(--nb-green);border-color:var(--nb-green);color:var(--text-light,#fff)}
.nb-postindex__pagination .page-numbers.dots{border-color:transparent}
