/* Natuursteen Slab v1.44.21: material hubs, audience pages, reputation block. */
.nslab-hub, .nslab-seo-page, .nslab-rep, .nslab-about {
  --nl-primary: #3d4385; --nl-deep: #333d65; --nl-ink: #20222b; --nl-muted: #596074;
  --nl-line: #dfe1e9; --nl-wash: #f4f5f9; --nl-accent: #4756a3;
}

/* ---------- Hub block under the product grid ---------- */
.nslab-hub { padding: clamp(56px, 8vw, 112px) 0; background: var(--nl-wash); color: var(--nl-ink); }
.nslab-hub-inner { display: grid; gap: clamp(32px, 4vw, 56px); }
.nslab-eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; color: var(--nl-primary); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nslab-eyebrow i { width: 34px; height: 1px; background: var(--nl-accent); }
.nslab-hub-main { max-width: 820px; }
.nslab-hub h2 { margin: 1.5em 0 .5em; color: var(--nl-deep); font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -.03em; }
.nslab-hub-main h2:first-of-type { margin-top: .2em; }
.nslab-hub p { margin: 0 0 1em; font-size: 17px; line-height: 1.75; color: var(--nl-ink); }
.nslab-hub-aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nslab-hub-card { padding: 28px; border: 1px solid var(--nl-line); background: #fff; }
.nslab-hub-card h3 { margin: 0 0 10px; color: var(--nl-deep); font-size: 20px; letter-spacing: -.02em; }
.nslab-hub-card p { font-size: 15px; line-height: 1.65; color: var(--nl-muted); }
.nslab-hub-card a, .nslab-aud-card a { color: var(--nl-primary); font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.nslab-hub-faq { max-width: 820px; }
.nslab-hub-faq h2 { margin-top: 0; }
.nslab-hub-faq details, .nslab-faq-item { border-bottom: 1px solid var(--nl-line); }
.nslab-hub-faq summary, .nslab-faq-item summary { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; cursor: pointer; color: var(--nl-deep); font-size: 17px; font-weight: 700; line-height: 1.4; list-style: none; }
.nslab-hub-faq summary::-webkit-details-marker, .nslab-faq-item summary::-webkit-details-marker { display: none; }
.nslab-hub-faq summary::after, .nslab-faq-item summary::after { content: "+"; flex: 0 0 auto; color: var(--nl-accent); font-size: 22px; line-height: 1; }
.nslab-hub-faq details[open] summary::after, .nslab-faq-item[open] summary::after { content: "–"; }
.nslab-hub-faq details p, .nslab-faq-item p { margin: 0 0 18px; max-width: 70ch; font-size: 16px; line-height: 1.7; color: var(--nl-muted); }
.nslab-hub-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nslab-hub-links span { margin-right: 6px; color: var(--nl-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nslab-hub-links a { padding: 9px 16px; border: 1px solid var(--nl-line); border-radius: 999px; background: #fff; color: var(--nl-deep); font-size: 13px; font-weight: 600; text-decoration: none; }
.nslab-hub-links a:hover, .nslab-hub-links a:focus-visible { border-color: var(--nl-primary); color: var(--nl-primary); }
.nslab-updated { margin: 0; color: var(--nl-muted); font-size: 12px; }

/* ---------- Audience pages ---------- */
.nslab-seo-section { padding: clamp(40px, 5vw, 72px) 0; }
.nslab-seo-section:nth-of-type(odd) { background: #fff; }
.nslab-seo-section h2 { margin: 0 0 22px; color: var(--nl-deep); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.nslab-seo-copy { max-width: 880px; }
.nslab-seo-copy p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--nl-ink); }
.nslab-answer { font-size: 18px; line-height: 1.65; }
.nslab-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--nl-line); }
.nslab-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--nl-line); }
.nslab-step-no { color: var(--nl-accent); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.nslab-steps h3 { margin: 0 0 6px; color: var(--nl-deep); font-size: 21px; letter-spacing: -.02em; }
.nslab-steps p { margin: 0; max-width: 62ch; color: var(--nl-muted); line-height: 1.65; }
.nslab-aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nslab-aud-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px; border: 1px solid var(--nl-line); background: var(--nl-wash); scroll-margin-top: 110px; }
.nslab-aud-card h3 { margin: 0; color: var(--nl-deep); font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.nslab-aud-card p { margin: 0; color: var(--nl-muted); font-size: 15px; line-height: 1.6; }
.nslab-mat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--nl-line); border-left: 1px solid var(--nl-line); }
.nslab-mat-grid a { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-right: 1px solid var(--nl-line); border-bottom: 1px solid var(--nl-line); color: var(--nl-ink); text-decoration: none; transition: background .2s; }
.nslab-mat-grid a:hover, .nslab-mat-grid a:focus-visible { background: var(--nl-wash); }
.nslab-mat-grid strong { color: var(--nl-deep); font-size: 20px; letter-spacing: -.02em; }
.nslab-mat-grid span { color: var(--nl-muted); font-size: 13px; }
.nslab-faq-wrap { max-width: 880px; }
.nslab-nap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 18px; border-top: 1px solid var(--nl-line); }
.nslab-nap > div { padding: 16px 0; border-bottom: 1px solid var(--nl-line); }
.nslab-nap dt { margin: 0 0 4px; color: var(--nl-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nslab-nap dd { margin: 0; color: var(--nl-ink); font-size: 16px; line-height: 1.5; }
.nslab-nap a { color: var(--nl-primary); }

/* ---------- Reputation block ---------- */
.nslab-rep { padding: clamp(40px, 5vw, 72px) 0; background: var(--nl-wash); color: var(--nl-ink); }
.nslab-rep-inner { width: min(880px, calc(100% - 48px)); margin-inline: auto; text-align: center; }
.nslab-rep h2 { margin: 0 0 12px; color: var(--nl-deep); font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -.03em; }
.nslab-rep p { margin: 0 0 14px; color: var(--nl-muted); font-size: 16px; line-height: 1.65; }
.nslab-rep-score { color: var(--nl-deep) !important; font-size: 18px !important; }
.nslab-rep-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.nslab-rep-actions a { padding: 12px 20px; border: 1px solid var(--nl-primary); color: var(--nl-primary); font-size: 13px; font-weight: 700; text-decoration: none; }
.nslab-rep-actions a:first-child { background: var(--nl-primary); color: #fff; }
.nslab-rep-actions a:hover, .nslab-rep-actions a:focus-visible { background: var(--nl-deep); border-color: var(--nl-deep); color: #fff; }

/* Over ons: three cards */
.nslab-aud-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .nslab-aud-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nslab-aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nslab-mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .nslab-hub-aud, .nslab-aud-grid, .nslab-aud-grid--3, .nslab-mat-grid, .nslab-nap { grid-template-columns: 1fr; }
  .nslab-steps li { grid-template-columns: 44px 1fr; gap: 12px; }
  .nslab-step-no { font-size: 26px; }
}

/* ---------- Keukenblad pages: bullets + comparison table ---------- */
.nslab-bullets { margin: 18px 0 0; padding: 0; list-style: none; max-width: 880px; }
.nslab-bullets li { position: relative; margin: 0 0 12px; padding-left: 26px; font-size: 17px; line-height: 1.65; color: var(--nl-ink); }
.nslab-bullets li::before { position: absolute; left: 0; top: .7em; width: 12px; height: 1px; background: var(--nl-accent); content: ""; }
.nslab-table-wrap { overflow-x: auto; border: 1px solid var(--nl-line); background: #fff; }
.nslab-compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.nslab-compare th, .nslab-compare td { padding: 14px 16px; border-bottom: 1px solid var(--nl-line); text-align: left; vertical-align: top; }
.nslab-compare thead th { background: var(--nl-wash); color: var(--nl-deep); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nslab-compare tbody th { color: var(--nl-deep); font-weight: 700; }
.nslab-related { margin-top: 4px; }

/* ---------- Page layouts (v1.44.25): each page gets its own look ---------- */
.ed-hero-image figcaption a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }

/* hero: image left */
.nslab-hero--split-left .ed-hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); }
.nslab-hero--split-left .ed-hero-image { order: -1; }

/* hero: dark indigo */
.nslab-hero--dark .ed-hero { background: linear-gradient(135deg, #262c52 0%, #3d4385 100%); }
.nslab-hero--dark .ed-hero::before { border-color: rgba(255, 255, 255, .16); }
.nslab-hero--dark .ed-hero h1, .nslab-hero--dark .ed-hero h1 em { color: #fff; }
.nslab-hero--dark .ed-hero h1 em { color: #c9cff5; }
.nslab-hero--dark .ed-kicker, .nslab-hero--dark .ed-kicker > span + * { color: #c9cff5; }
.nslab-hero--dark .ed-kicker > span { background: #8d97d6; }
.nslab-hero--dark .ed-intro { color: #dfe2f5; }
.nslab-hero--dark .ed-button-primary { color: #262c52 !important; background: #fff; }
.nslab-hero--dark .ed-button-primary:hover { background: #e7e9fa; }
.nslab-hero--dark .ed-text-link { color: #fff !important; }
.nslab-hero--dark .ed-text-link span { color: #c9cff5; }
.nslab-hero--dark .ed-hero-image figcaption { color: #c9cff5; }

/* hero: text on top, wide image underneath */
.nslab-hero--banner .ed-hero-grid { display: block; }
.nslab-hero--banner .ed-hero-copy { max-width: 880px; padding: 0 0 8px; }
.nslab-hero--banner .ed-hero-image { margin-top: 44px; }
.nslab-hero--banner .ed-hero-image picture { height: clamp(260px, 32vw, 470px); }
.nslab-hero--banner .ed-hero::before { display: none; }
.nslab-hero--banner .nslab-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; border-top: 0; }
.nslab-hero--banner .nslab-steps li { display: block; padding: 22px 0 0; border-bottom: 0; border-top: 2px solid var(--nl-accent); }
.nslab-hero--banner .nslab-step-no { display: block; margin-bottom: 12px; }

/* sections as columns: heading left, text right */
.nslab-sec--columns .nslab-row-grid { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.nslab-sec--columns .nslab-row { border-top: 1px solid var(--nl-line); }
.nslab-sec--columns .nslab-row h2 { margin: 0; font-size: clamp(26px, 2.8vw, 38px); }
.nslab-sec--columns .nslab-row-body p { margin: 0 0 14px; max-width: 64ch; font-size: 18px; line-height: 1.75; color: var(--nl-ink); }

/* sections as cards */
.nslab-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nslab-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--nl-line); background: #fff; }
.nslab-card h2 { margin: 0 0 16px; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.nslab-card p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: var(--nl-ink); }
.nslab-card .nslab-bullets li { font-size: 15px; line-height: 1.6; }
.nslab-sec--cards .nslab-seo-section:nth-of-type(odd) { background: var(--nl-wash); }

@media (max-width: 1000px) {
  .nslab-hero--split-left .ed-hero-grid { grid-template-columns: 1fr; }
  .nslab-hero--split-left .ed-hero-image { order: 0; }
  .nslab-hero--banner .nslab-steps { grid-template-columns: 1fr; }
  .nslab-hero--banner .nslab-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
  .nslab-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .nslab-sec--columns .nslab-row-grid, .nslab-card-grid { grid-template-columns: 1fr; }
}

/* ---------- v1.44.26: hero fixes for all six audience / keukenblad pages ----------
   Cause of the messy hero: the H1 (up to 94px Georgia) was wider than its grid column, so long words such as
   "keukenbedrijven." ran underneath the photo; and the photo was a fixed 400-620px tall box that did not follow the column. */
.nslab-seo-page .ed-hero { padding: clamp(44px, 5vw, 76px) 0 clamp(52px, 6vw, 84px); }
.nslab-seo-page .ed-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.nslab-seo-page .ed-hero-copy { min-width: 0; padding: 0; }
.nslab-seo-page .ed-hero h1 { max-width: 100%; font-size: clamp(38px, 4.5vw, 68px); line-height: 1.06; letter-spacing: -.012em; overflow-wrap: break-word; text-wrap: balance; }
.nslab-seo-page .ed-hero h1 em { display: block; font-style: italic; }
.nslab-seo-page .ed-intro { max-width: 52ch; margin-top: 24px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; }
.nslab-seo-page .ed-actions { margin-top: 30px; }
.nslab-seo-page .ed-hero-image picture { height: clamp(340px, 36vw, 540px); }
.nslab-seo-page .ed-hero-image figcaption { padding-top: 14px; }

/* hero: image left (keeps the wider photo column) */
.nslab-hero--split-left .ed-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.nslab-hero--split-left .ed-hero-image { order: -1; }

/* hero: dark indigo — copy and photo share the same height, so the block reads as one piece */
.nslab-hero--dark .ed-hero-grid { align-items: stretch; }
.nslab-hero--dark .ed-hero-copy { align-self: center; }
.nslab-hero--dark .ed-hero-image { display: flex; flex-direction: column; }
.nslab-hero--dark .ed-hero-image picture { flex: 1 1 auto; min-height: 340px; height: auto; }
.nslab-hero--dark .ed-hero-image figcaption a { color: #fff; }

/* hero: banner (text on top, wide photo below) — keeps its larger heading, copy stays on one reading column */
.nslab-hero--banner .ed-hero-grid { display: block; }
.nslab-hero--banner .ed-hero h1 { max-width: 100%; font-size: clamp(40px, 5.4vw, 78px); }
.nslab-hero--banner .ed-hero h1 { text-wrap: wrap; }
.nslab-hero--banner .ed-hero h1 em { display: inline; }
.nslab-hero--banner .ed-hero-copy { max-width: 1040px; }
.nslab-hero--banner .ed-intro { max-width: 60ch; }
.nslab-hero--banner .ed-hero-image { margin-top: clamp(32px, 4vw, 48px); }

/* anchor targets (#keukenbedrijven, #architecten ...) must not hide under the top of the page */
.nslab-seo-section[id], .nslab-aud-card[id] { scroll-margin-top: 28px; }
.nslab-aud-card:target { border-color: var(--nl-primary); background: #fff; box-shadow: 0 0 0 3px rgba(61, 67, 133, .14); }

@media (max-width: 900px) {
  .nslab-seo-page .ed-hero-grid, .nslab-hero--split-left .ed-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nslab-hero--split-left .ed-hero-image { order: 0; }
  .nslab-seo-page .ed-hero-image picture, .nslab-hero--dark .ed-hero-image picture { height: clamp(280px, 62vw, 440px); min-height: 0; flex: none; }
}
@media (max-width: 720px) {
  .nslab-seo-page .ed-hero { padding: 36px 0 44px; }
  .nslab-seo-page .ed-hero h1, .nslab-hero--banner .ed-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .nslab-seo-page .ed-intro { margin-top: 18px; }
}
