/** Canonical editorial introductions, native section links and local scrolling. */
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners, .path-blog, .path-partners, .page-service-market-partners, .page-blog-term-index, .page-blog-tag, .page-blog-category, .path-web-services, .path-marketing-services, [class*="-web-services"], [class*="-marketing-services"]) #wrapper #main-content {
  --cyb-editorial-gutter: 16px;
}
@media (min-width: 768px) {
  html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners, .path-blog, .path-partners, .page-service-market-partners, .page-blog-term-index, .page-blog-tag, .page-blog-category, .path-web-services, .path-marketing-services, [class*="-web-services"], [class*="-marketing-services"]) #wrapper #main-content {
    --cyb-editorial-gutter: 24px;
  }
}
@media (min-width: 1200px) {
  html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners, .path-blog, .path-partners, .page-service-market-partners, .page-blog-term-index, .page-blog-tag, .page-blog-category, .path-web-services, .path-marketing-services, [class*="-web-services"], [class*="-marketing-services"]) #wrapper #main-content {
    --cyb-editorial-gutter: 32px;
  }
}

html body.path-node.page-node-type-service #wrapper #main-content .service-node-content > .service-editorial-intro {
  box-sizing: border-box;
  width: 100%;
  max-width: 68rem;
  min-width: 0;
  margin: 0 auto 2rem;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body.path-node.page-node-type-service #wrapper #main-content .service-node-content > .service-editorial-intro h1 {
  max-width: 30ch;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  color: #0a2f1c !important;
  -webkit-text-fill-color: #0a2f1c !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: clamp(1.75rem, 3.8vw, 2.8rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
html body.path-node.page-node-type-service #wrapper #main-content .service-editorial-intro > .summary-box,
html body.path-node.page-node-type-service #wrapper #main-content .service-editorial-intro > .summary-box :is(p, ul, ol, li) {
  box-sizing: border-box;
  max-width: 68ch;
  padding: 0 !important;
  color: #203b2d !important;
  -webkit-text-fill-color: #203b2d !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: var(--node-prose-size, 1rem) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
/* Lifted copy keeps its heading hierarchy after leaving the old card wrapper. */
html body.path-node.page-node-type-service #wrapper #main-content .service-editorial-intro > .summary-box h2 {
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  color: #0a2f1c !important;
  -webkit-text-fill-color: #0a2f1c !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: clamp(1.125rem, 2vw, 1.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-wrap: balance;
}
html body.path-node.page-node-type-service #wrapper #main-content .service-editorial-intro > .summary-box h2 * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  background: transparent !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}
html body.path-node.page-node-type-service #wrapper #main-content .service-editorial-intro > .summary-box {
  margin: 0 0 1.5rem !important;
}
html body.path-node.page-node-type-service #wrapper #main-content .service-editorial-intro > .summary-box :is(p, ul, ol) {
  margin: 0 0 0.75rem !important;
}
html body.path-node.page-node-type-service #wrapper #main-content .service-editorial-intro > .summary-box > :last-child {
  margin-bottom: 0 !important;
}
html body.path-node.page-node-type-service #wrapper #main-content .editorial-primary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.5rem;
}
html body.path-node.page-node-type-service #wrapper #main-content .editorial-primary-actions a {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
html body.path-node.page-node-type-service #wrapper #main-content .editorial-primary-actions .editorial-consultation {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #138450 !important;
  border: 1px solid #138450;
  border-radius: 8px;
  box-shadow: none !important;
  text-decoration: none;
}
html body.path-node.page-node-type-service #wrapper #main-content .editorial-primary-actions .editorial-consultation:is(:hover, :focus-visible) {
  background: #0e6c3e !important;
  border-color: #0e6c3e;
}
html body.path-node.page-node-type-service #wrapper #main-content .editorial-primary-actions .editorial-pricing-link {
  padding-inline: 0;
  color: #0e6c3e !important;
  -webkit-text-fill-color: #0e6c3e !important;
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Two presentations use one heading list; neither needs a JS navigation layer. */
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-section-navigation {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 1.5rem 0 2rem;
  padding: 1rem 0;
  border-top: 1px solid #d7e5dc;
  border-bottom: 1px solid #d7e5dc;
  color: #203b2d;
  -webkit-text-fill-color: #203b2d;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-section-navigation__desktop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-section-navigation__mobile {
  display: none;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-section-navigation :is(a, summary) {
  box-sizing: border-box;
  min-height: 44px;
  padding-block: 0.5rem;
  color: #0e6c3e !important;
  -webkit-text-fill-color: #0e6c3e !important;
  background: transparent !important;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-section-navigation a {
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content :is(.cyb-section-navigation a, .cyb-section-navigation summary, .editorial-primary-actions a, .cyb-scroll-region):focus-visible {
  outline: 3px solid #4fa36f;
  outline-offset: 4px;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content :is(.service-editorial-layout, .post-body, .partner-body) :is(h2, h3)[id],
html body.page-node-type-service #wrapper #main-content #service-pricing {
  scroll-margin-top: 9rem;
}

/* Content scrolls inside the labelled region without clipping nearby controls. */
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-scroll-region {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-inline: contain;
  scrollbar-color: #4fa36f #eaf7ee;
  scrollbar-gutter: stable;
  margin: 1rem 0;
  border: 1px solid #d7e5dc;
  border-radius: 8px;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-scroll-region__hint {
  display: block;
  margin: 0 0 0.5rem;
  color: #0e6c3e;
  -webkit-text-fill-color: #0e6c3e;
  font-size: 0.875rem;
  line-height: 1.5;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-scroll-region__hint[hidden] {
  display: none;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-scroll-region pre {
  max-width: none;
  margin: 0;
  overflow: visible;
  white-space: pre;
}
html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-scroll-region table {
  margin: 0 !important;
}
@media (max-width: 767.98px) {
  html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-section-navigation__desktop {
    display: none;
  }
  html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-section-navigation__mobile {
    display: block;
  }
  html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-section-navigation__mobile > summary {
    cursor: pointer;
    font-weight: 600;
  }
  html body:is(.page-node-type-service, .page-node-type-blog, .page-node-type-partners) #wrapper #main-content .cyb-section-navigation__mobile nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
  }
  html body.path-node.page-node-type-service #wrapper #main-content .editorial-primary-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
}
