/* Degero diensten polish 2026-05-27: service-page layout, contrast, spacing and mobile rhythm. */
html {
  scroll-padding-top: 104px;
}

body.page-category-diensten {
  background: #ffffff;
}

body.page-category-diensten .dg-diensten-page {
  color: #082640;
  overflow-x: clip;
}

body.page-category-diensten .dg-diensten-page section[id] {
  scroll-margin-top: 104px;
}

body.page-category-diensten .dg-diensten-page .sb-container {
  width: min(100%, 1180px);
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 36px);
}

body.page-category-diensten .dg-diensten-page .sb-hero {
  isolation: isolate;
  min-height: clamp(480px, 58vw, 640px);
  padding-block: clamp(92px, 10vw, 136px) clamp(52px, 7vw, 88px) !important;
  background: #082640 !important;
  color: #ffffff;
}

body.page-category-diensten .dg-diensten-page .sb-hero::before,
body.page-category-diensten .dg-diensten-page .sb-hero::after,
body.page-category-diensten .dg-diensten-page .sb-hero__mesh {
  display: none !important;
}

body.page-category-diensten .dg-diensten-page .sb-hero > .sb-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(320px, .78fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

body.page-category-diensten .dg-diensten-page .sb-hero__content {
  max-width: 720px;
}

body.page-category-diensten .dg-diensten-page .sb-hero__eyebrow {
  margin-bottom: 18px !important;
  border-color: rgba(142, 226, 164, .34) !important;
  background: rgba(142, 226, 164, .12) !important;
  color: #bbf7d0 !important;
  letter-spacing: 0 !important;
}

body.page-category-diensten .dg-diensten-page .sb-hero__eyebrow::before {
  background: #8ee2a4 !important;
}

body.page-category-diensten .dg-diensten-page .sb-hero__title {
  max-width: 13.5ch !important;
  margin: 0 0 18px !important;
  color: #ffffff !important;
  font-size: clamp(2.45rem, 5.5vw, 4.45rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

body.page-category-diensten .dg-diensten-page .sb-hero__subtitle,
body.page-category-diensten .dg-diensten-page .sb-hero__lead {
  max-width: 62ch;
  margin: 0;
  color: #e6f0f7 !important;
  font-size: clamp(1.03rem, 1.45vw, 1.2rem) !important;
  line-height: 1.68 !important;
}

body.page-category-diensten .dg-diensten-page .sb-hero__actions {
  gap: 12px !important;
  margin-top: 28px !important;
}

body.page-category-diensten .dg-diensten-page .sb-hero__actions .sb-btn {
  min-height: 48px;
  padding: .82rem 1.22rem !important;
  border-radius: 8px !important;
  font-weight: 900;
}

body.page-category-diensten .dg-diensten-page .sb-hero__actions .sb-btn--primary {
  border: 1px solid #8ee2a4 !important;
  background: #8ee2a4 !important;
  color: #082640 !important;
  box-shadow: 0 18px 38px -28px rgba(142, 226, 164, .82) !important;
}

body.page-category-diensten .dg-diensten-page .sb-hero__actions .sb-btn--ghost {
  border: 1px solid rgba(255, 255, 255, .34) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #ffffff !important;
}

body.page-category-diensten .dg-diensten-page .sb-hero__visual {
  position: relative;
  min-height: clamp(300px, 35vw, 470px);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 34px 76px -56px rgba(0, 0, 0, .72);
}

body.page-category-diensten .dg-diensten-page .sb-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 38, 64, .18), rgba(8, 38, 64, .02));
  pointer-events: none;
}

body.page-category-diensten .dg-diensten-page .sb-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

body.page-category-diensten .dg-diensten-page > .sb-section {
  padding-block: clamp(48px, 6vw, 76px) !important;
}

body.page-category-diensten .dg-diensten-page > .sb-section[style*="background:var(--sb-surface)"] {
  background: #f4f8f6 !important;
}

body.page-category-diensten .dg-diensten-page > .sb-section:not(.dg-seo-cluster) > .sb-container {
  display: grid;
  grid-template-columns: minmax(210px, .34fr) minmax(0, .66fr);
  column-gap: clamp(32px, 6vw, 78px);
  row-gap: 18px;
  align-items: start;
}

body.page-category-diensten .dg-diensten-page > .sb-section:not(.dg-seo-cluster) .sb-section__heading,
body.page-category-diensten .dg-diensten-page > .sb-section:not(.dg-seo-cluster) > .sb-container > h2 {
  max-width: 12ch;
  margin: 0 !important;
  color: #082640 !important;
  font-size: clamp(1.72rem, 3vw, 2.45rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

body.page-category-diensten .dg-diensten-page > .sb-section:not(.dg-seo-cluster) > .sb-container > :not(h2):not(.sb-section__heading) {
  grid-column: 2;
}

body.page-category-diensten .dg-diensten-page > .sb-section p,
body.page-category-diensten .dg-diensten-page > .sb-section p[style],
body.page-category-diensten .dg-diensten-page > .sb-section .sb-section__sub {
  max-width: 74ch !important;
  margin-top: 0 !important;
  color: #334155 !important;
  font-size: 1.02rem !important;
  line-height: 1.76 !important;
}

body.page-category-diensten .dg-diensten-page > .sb-section p + p {
  margin-top: 14px !important;
}

body.page-category-diensten .dg-diensten-page > .sb-section ol,
body.page-category-diensten .dg-diensten-page > .sb-section ul {
  max-width: 78ch;
  margin: 0;
  padding-left: 0 !important;
  color: #1f2937 !important;
  line-height: 1.68 !important;
}

body.page-category-diensten .dg-diensten-page > .sb-section ol {
  counter-reset: dg-service-step;
  display: grid;
  gap: 10px;
  list-style: none;
}

body.page-category-diensten .dg-diensten-page > .sb-section ol > li {
  counter-increment: dg-service-step;
  position: relative;
  min-height: 48px;
  padding: 12px 14px 12px 58px;
  border: 1px solid rgba(8, 38, 64, .10);
  border-radius: 8px;
  background: #ffffff;
}

body.page-category-diensten .dg-diensten-page > .sb-section ol > li::before {
  content: counter(dg-service-step);
  position: absolute;
  left: 14px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #082640;
  color: #8ee2a4;
  font-weight: 950;
}

body.page-category-diensten .dg-diensten-page > .sb-section ul:not(.sb-navbar__menu):not(.sb-navbar__submenu):not(.sb-footer__col ul):not(.dg-growth-list) {
  display: grid;
  gap: 9px;
  list-style: none;
}

body.page-category-diensten .dg-diensten-page > .sb-section ul:not(.sb-navbar__menu):not(.sb-navbar__submenu):not(.sb-footer__col ul):not(.dg-growth-list) > li {
  position: relative;
  padding-left: 30px;
}

body.page-category-diensten .dg-diensten-page > .sb-section ul:not(.sb-navbar__menu):not(.sb-navbar__submenu):not(.sb-footer__col ul):not(.dg-growth-list) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #8ee2a4;
  box-shadow: inset 0 0 0 4px #dff8e7;
}

body.page-category-diensten .dg-diensten-page .sb-grid {
  gap: 16px !important;
}

body.page-category-diensten .dg-diensten-page .sb-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.page-category-diensten .dg-diensten-page .sb-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.page-category-diensten .dg-diensten-page .sb-card,
body.page-category-diensten .dg-diensten-page .dg-growth-card,
body.page-category-diensten .dg-diensten-page .dg-seo-link {
  min-height: 100%;
  border-radius: 8px !important;
  border: 1px solid rgba(8, 38, 64, .10) !important;
  background: #ffffff !important;
  box-shadow: 0 20px 54px -48px rgba(8, 38, 64, .38) !important;
}

body.page-category-diensten .dg-diensten-page .sb-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: clamp(20px, 2.5vw, 28px) !important;
}

body.page-category-diensten .dg-diensten-page .sb-card::before {
  height: 4px !important;
  background: linear-gradient(90deg, #082640, #8ee2a4) !important;
}

body.page-category-diensten .dg-diensten-page .sb-card h3,
body.page-category-diensten .dg-diensten-page .dg-growth-card h3,
body.page-category-diensten .dg-diensten-page .dg-seo-link strong {
  color: #082640 !important;
  letter-spacing: 0 !important;
  line-height: 1.22 !important;
}

body.page-category-diensten .dg-diensten-page .sb-card p,
body.page-category-diensten .dg-diensten-page .dg-growth-card p,
body.page-category-diensten .dg-diensten-page .dg-seo-link small {
  color: #334155 !important;
}

body.page-category-diensten .dg-diensten-page .sb-faq {
  display: grid;
  gap: 10px;
}

body.page-category-diensten .dg-diensten-page .sb-faq details {
  margin: 0 !important;
  border-radius: 8px !important;
  border-color: rgba(8, 38, 64, .10) !important;
  box-shadow: none !important;
}

body.page-category-diensten .dg-diensten-page .sb-faq summary {
  color: #082640 !important;
  line-height: 1.35;
}

body.page-category-diensten .dg-diensten-page .dg-growth-section,
body.page-category-diensten .dg-diensten-page .dg-seo-cluster,
body.page-category-diensten .dg-diensten-page .dg-bf-section {
  padding-block: clamp(48px, 6vw, 76px) !important;
}

body.page-category-diensten .dg-diensten-page .dg-growth-section--soft,
body.page-category-diensten .dg-diensten-page .dg-bf-section--soft {
  background: #f4f8f6 !important;
}

body.page-category-diensten .dg-diensten-page .dg-growth-grid,
body.page-category-diensten .dg-diensten-page .dg-seo-links,
body.page-category-diensten .dg-diensten-page .dg-bf-related {
  gap: 14px !important;
}

body.page-category-diensten .dg-diensten-page .dg-bf-related a,
body.page-category-diensten .dg-diensten-page .dg-growth-related a {
  min-height: 44px;
  border-radius: 8px !important;
  border: 1px solid rgba(8, 38, 64, .12) !important;
  background: #ffffff !important;
  color: #065f46 !important;
  font-weight: 900;
}

body.page-category-diensten .dg-diensten-page .dg-bf-related a:hover,
body.page-category-diensten .dg-diensten-page .dg-growth-related a:hover {
  background: #ecfdf5 !important;
  color: #082640 !important;
}

@media (max-width: 980px) {
  body.page-category-diensten .dg-diensten-page .sb-hero > .sb-container,
  body.page-category-diensten .dg-diensten-page > .sb-section:not(.dg-seo-cluster) > .sb-container {
    grid-template-columns: 1fr;
  }

  body.page-category-diensten .dg-diensten-page > .sb-section:not(.dg-seo-cluster) > .sb-container > :not(h2):not(.sb-section__heading) {
    grid-column: 1;
  }

  body.page-category-diensten .dg-diensten-page > .sb-section:not(.dg-seo-cluster) .sb-section__heading,
  body.page-category-diensten .dg-diensten-page > .sb-section:not(.dg-seo-cluster) > .sb-container > h2 {
    max-width: 18ch;
  }

  body.page-category-diensten .dg-diensten-page .sb-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 88px;
  }

  body.page-category-diensten .dg-diensten-page .sb-container {
    padding-inline: 16px;
  }

  body.page-category-diensten .dg-diensten-page .sb-hero {
    min-height: 0;
    padding-block: 86px 42px !important;
  }

  body.page-category-diensten .dg-diensten-page .sb-hero__title {
    max-width: 100% !important;
    font-size: clamp(2rem, 11vw, 3rem) !important;
  }

  body.page-category-diensten .dg-diensten-page .sb-hero__actions {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  body.page-category-diensten .dg-diensten-page .sb-hero__actions .sb-btn {
    width: 100%;
  }

  body.page-category-diensten .dg-diensten-page .sb-hero__visual {
    min-height: 220px;
  }

  body.page-category-diensten .dg-diensten-page > .sb-section {
    padding-block: 40px !important;
  }

  body.page-category-diensten .dg-diensten-page > .sb-section p,
  body.page-category-diensten .dg-diensten-page > .sb-section p[style],
  body.page-category-diensten .dg-diensten-page > .sb-section .sb-section__sub {
    font-size: .98rem !important;
    line-height: 1.68 !important;
  }

  body.page-category-diensten .dg-diensten-page .sb-grid--2,
  body.page-category-diensten .dg-diensten-page .sb-grid--4 {
    grid-template-columns: 1fr !important;
  }

  body.page-category-diensten .dg-diensten-page .sb-card {
    padding: 18px !important;
  }
}

/* Final override: the builder injects a broad asset after page CSS on these routes. */
html body.page-category-diensten main#main.dg-diensten-page section.sb-hero {
  display: block !important;
  min-height: clamp(480px, 58vw, 640px) !important;
  padding-block: clamp(92px, 10vw, 136px) clamp(52px, 7vw, 88px) !important;
  background: #082640 !important;
  color: #ffffff !important;
}

html body.page-category-diensten main#main.dg-diensten-page section.sb-hero > .sb-container {
  display: grid !important;
  grid-template-columns: minmax(0, .98fr) minmax(320px, .78fr) !important;
  gap: clamp(28px, 5vw, 76px) !important;
  align-items: center !important;
}

html body.page-category-diensten main#main.dg-diensten-page section.sb-hero .sb-hero__title {
  max-width: 13.5ch !important;
  margin: 0 0 18px !important;
  color: #ffffff !important;
  font-size: clamp(2.45rem, 5.5vw, 4.45rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

html body.page-category-diensten main#main.dg-diensten-page section.sb-hero .sb-hero__subtitle,
html body.page-category-diensten main#main.dg-diensten-page section.sb-hero .sb-hero__lead {
  max-width: 62ch !important;
  margin: 0 !important;
  color: #e6f0f7 !important;
  font-size: clamp(1.03rem, 1.45vw, 1.2rem) !important;
  line-height: 1.68 !important;
}

html body.page-category-diensten main#main.dg-diensten-page section.sb-hero .sb-hero__visual {
  display: block !important;
  position: relative !important;
  min-height: clamp(300px, 35vw, 470px) !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

html body.page-category-diensten main#main.dg-diensten-page section.sb-hero .sb-hero__visual img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}

@media (max-width: 980px) {
  html body.page-category-diensten main#main.dg-diensten-page section.sb-hero > .sb-container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  html body.page-category-diensten main#main.dg-diensten-page section.sb-hero {
    min-height: 0 !important;
    padding-block: 86px 42px !important;
  }

  html body.page-category-diensten main#main.dg-diensten-page section.sb-hero .sb-hero__title {
    max-width: 100% !important;
    font-size: clamp(2rem, 11vw, 3rem) !important;
  }

  html body.page-category-diensten main#main.dg-diensten-page section.sb-hero .sb-hero__visual {
    min-height: 220px !important;
  }
}
