:root {
  --teal: #043D3B;
  --teal-deep: #022B2A;
  --teal-muted: #489D96;
  --teal-quiet: rgba(243, 239, 234, 0.78);
  --cream: #F3EFEA;
  --ink: #2D2D27;
  --grey-text: #043D3B;
  --grey-derived: #625D57;
  --line: rgba(45, 45, 39, 0.14);
  --max: 1180px;
  --gutter: 1.5rem;
  --radius: 4px;
  --head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; max-width: 100%; overflow-x: hidden; }
body.cks-site {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
img { max-width: 100%; height: auto; }
.cks-wrap,
.elementor-section,
.elementor-element,
.elementor-widget-container,
.elementor-heading-title,
.cks-h1, .cks-h2, .cks-h3,
.cks-lead, p, li {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
a { color: var(--teal); }
#cks-main { min-height: 40vh; }

.cks-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.cks-header {
  background: var(--teal);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(4, 61, 59, 0.2);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Next shadow-sm */
}
/* Next: wrap flex h-[76px] gap-4 px-6 */
.cks-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px !important; gap: 1rem !important; min-width: 0; position: relative;
  width: 100%;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box;
}
/* flex 0 1 + min-width:0 was shrinking the logo box below the 158px image (nav started ~16px early). */
.cks-logo { flex: 0 0 auto; min-width: auto; max-width: none; padding-right: 0; display: flex; align-items: center; }
.cks-logo img {
  height: 36px; width: auto;
  max-width: min(220px, 58vw);
  filter: brightness(0) invert(1); display: block; object-fit: contain;
}
/* Tablet/desktop: Next logo measured ~158.2px */
@media (min-width: 768px) {
  .cks-logo img { max-width: 158px; }
}
/* Mobile-first nav (matches Next Tailwind md: = min-width 768px). */
.cks-menu-toggle {
  display: inline-flex !important;
  align-items: center; justify-content: center;
  margin-left: auto;
  flex: 0 0 auto;
  border: 1px solid var(--teal-muted) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--cream) !important;
  border-radius: var(--radius);
  padding: 0.25rem 0.75rem; /* Next py-1 px-3 */
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.6; /* inherit body rhythm like Next button */
  cursor: pointer;
  z-index: 60;
  white-space: nowrap;
  position: relative;
  box-shadow: none !important;
}
.cks-nav {
  display: none;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--teal);
  padding: 1.5rem;
  border-top: 1px solid var(--teal-muted);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  min-width: 0;
  flex: none;
  justify-content: flex-start;
}
.cks-nav.is-open { display: block; }
.cks-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
/* Beat Elementor global link colour on the teal header (top-level only). */
.cks-header .cks-menu > li > a {
  color: var(--cream) !important;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.25;
}
/* Mobile dropdowns sit on teal; desktop flyouts sit on cream. */
.cks-header .cks-menu .sub-menu a { color: var(--cream) !important; }
/*
 * Nav labels: min-width:0 was crushing "Home" → "Hom/e" at tablet.
 * Phrase-wrap (About Us / Our work) is tablet-only — desktop stays single-line.
 */
.cks-menu > li > a { white-space: normal; overflow-wrap: normal; word-break: normal; }
@media (min-width: 768px) {
  .cks-menu > li {
    flex: 0 1 auto;
    min-width: auto !important;
  }
  .cks-header .cks-menu > li > a {
    line-height: 1.6 !important;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .cks-header .cks-menu > li > a { white-space: normal !important; }
  #menu-item-99,
  #menu-item-106,
  #menu-item-110 {
    padding-right: 1rem !important; /* caret lane */
    box-sizing: content-box !important;
  }
  #menu-item-99 > a,
  #menu-item-106 > a,
  #menu-item-110 > a {
    display: inline-block !important;
    position: relative !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }
  #menu-item-99 > a { white-space: nowrap !important; }
  #menu-item-106 > a {
    max-width: 2.7rem !important;
    white-space: normal !important;
  }
  #menu-item-110 > a {
    max-width: 2.25rem !important;
    white-space: normal !important;
  }
  #menu-item-99 > a::after,
  #menu-item-106 > a::after,
  #menu-item-110 > a::after {
    position: absolute !important;
    left: 100% !important;
    right: auto !important;
    margin-left: 0.3rem !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(45deg) !important;
  }
}
@media (min-width: 1100.02px) {
  .cks-header .cks-menu > li > a { white-space: nowrap !important; }
}
.cks-partner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream) !important;
  color: var(--teal) !important;
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  white-space: nowrap;
  flex: 0 0 auto;
  text-align: center;
  box-sizing: border-box;
  margin-top: 0.5rem;
}
.cks-partner-cta:hover { background: #fff !important; text-decoration: none !important; }
.cks-menu > li.cks-nav-cta,
.cks-menu > li.cks-cta { display: none !important; } /* CTA rendered outside ul like Next */
.cks-menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.3rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-0.12rem);
  vertical-align: middle;
  flex-shrink: 0;
}
.cks-menu a:hover, .cks-menu .current-menu-item > a, .cks-menu .current-menu-ancestor > a {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--teal-quiet);
}
.cks-nav-item, .cks-menu > li { position: relative; display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.cks-sub-toggle, .cks-menu > li.menu-item-has-children > button {
  background: none; border: 0; color: var(--cream); cursor: pointer; margin-left: 0.15rem; padding: 0; line-height: 1;
  flex-shrink: 0;
}
.cks-sub, .cks-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -1.25rem;
  min-width: 17rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 12px 32px rgba(45, 45, 39, 0.18);
  z-index: 60;
}
.cks-menu > li:hover > .sub-menu, .cks-menu > li:focus-within > .sub-menu,
.cks-nav-item:hover > .cks-sub, .cks-nav-item.is-open > .cks-sub { display: block; }
.cks-sub a, .cks-menu .sub-menu a {
  display: block; padding: 0.65rem 1.25rem; color: var(--ink); text-decoration: none;
}
.cks-sub a:hover, .cks-menu .sub-menu a:hover { background: rgba(4, 61, 59, 0.08); color: var(--teal); }
.cks-footer { background: var(--ink); color: rgba(243, 239, 234, 0.78); padding: 5rem 0 3rem; font-size: 0.95rem; }
.cks-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
.cks-footer h3 { font-family: var(--head); font-weight: 500; color: var(--cream); font-size: 1rem; margin: 0 0 1.5rem; }
/* Beat Elementor kit `.elementor-kit-* a { color:#043D3B }` (teal-on-ink is unreadable). */
.cks-footer a,
.cks-footer .cks-footer-links a,
.cks-footer .cks-legal-links a,
body[class*="elementor-kit-"] .cks-footer a {
  color: rgba(243, 239, 234, 0.78) !important;
  text-decoration: none;
}
.cks-footer a:hover,
body[class*="elementor-kit-"] .cks-footer a:hover {
  color: var(--cream) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cks-footer-tag { margin: 2rem 0 0; max-width: 20rem; color: rgba(243, 239, 234, 0.6); line-height: 1.7; }
.cks-footer address { font-style: normal; margin-top: 1.75rem; line-height: 1.8; }
.cks-footer-links, .cks-legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.cks-legal-links { flex-direction: row; gap: 1.5rem; }
.cks-social { display: flex; gap: 0.85rem; margin-top: 2rem; }
.cks-social a {
  width: 38px; height: 38px; border: 1px solid rgba(243, 239, 234, 0.25); border-radius: 999px;
  display: grid; place-items: center;
}
.cks-social svg { width: 16px; height: 16px; fill: currentColor; }
.cks-footer-legal {
  grid-column: 1 / -1; border-top: 1px solid rgba(243, 239, 234, 0.2);
  margin-top: 1rem; padding-top: 1.75rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(243, 239, 234, 0.55);
}

.elementor-widget-heading .elementor-heading-title,
.cks-h1, .cks-h2, .cks-h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.015em; color: var(--teal); margin: 0; }
.cks-h1 .elementor-heading-title { font-size: clamp(2.3rem, 5vw, 3.6rem) !important; line-height: 1.22 !important; color: var(--teal) !important; font-family: var(--head) !important; font-weight: 600 !important; }
.cks-display .elementor-heading-title { font-size: clamp(2.6rem, 6vw, 4.6rem) !important; line-height: 1.28 !important; max-width: 16ch; }
.cks-h2 .elementor-heading-title { font-size: clamp(2rem, 3.6vw, 2.9rem) !important; line-height: 1.3 !important; color: var(--teal) !important; font-family: var(--head) !important; font-weight: 600 !important; }
.cks-h3 .elementor-heading-title { font-size: 1.3rem !important; line-height: 1.35 !important; font-weight: 500 !important; color: var(--teal) !important; font-family: var(--head) !important; }
.cks-light .elementor-heading-title { color: var(--cream) !important; }
/* Teal bands (incl. DFS hero): Elementor kit otherwise paints headings teal-on-teal. */
.cks-teal .elementor-heading-title,
.cks-teal .cks-h1 .elementor-heading-title,
.cks-teal .cks-h2 .elementor-heading-title,
.cks-teal .cks-h3 .elementor-heading-title,
.cks-teal .elementor-widget-text-editor,
.cks-teal .elementor-widget-text-editor *,
.cks-teal .elementor-icon-list-text {
  color: var(--cream) !important;
}
.cks-teal a:not(.elementor-button-link) { color: var(--teal-quiet) !important; }
body.cks-bare #cks-main,
.cks-main-dfs { background: #F4F1E8; padding: 0; }
body.cks-bare .cks-teal { position: relative; }
/* Default outline CTAs on teal (match Next WhatsApp / Save contact). */
.cks-teal a.elementor-button-link,
.cks-teal a.elementor-button,
.cks-teal .elementor-widget-button a {
  background: transparent !important;
  color: var(--cream) !important;
  border: 1px solid rgba(243, 239, 234, 0.6) !important;
  border-radius: 8px !important;
}
/* Primary filled CTA: first button widget in teal band, or .cks-btn-solid. */
.cks-teal .elementor-widget-button:first-of-type a,
.cks-teal a.elementor-button-link.cks-btn-solid,
.cks-teal .cks-btn-solid a.elementor-button-link,
.cks-teal .elementor-element.cks-btn-solid a {
  background: var(--cream) !important;
  color: var(--teal) !important;
  border-color: transparent !important;
  font-weight: 600 !important;
}
/* DFS campaign: hide accidental Elementor breadcrumbs. */
body.cks-bare .elementor-widget-breadcrumbs,
body.cks-bare .elementor-breadcrumb,
body.cks-bare .cks-breadcrumb,
body.cks-bare .cks-crumbs,
body.cks-bare .cks-crumbs a { display: none !important; }
body.cks-bare .elementor-element:has(.cks-crumbs),
body.cks-bare .elementor-element:has(> .elementor-widget-breadcrumbs) { display: none !important; }
.cks-eyebrow .elementor-heading-title, .cks-kicker {
  font-family: var(--head) !important; font-weight: 500 !important; font-size: 0.95rem !important; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--teal) !important;
}
.cks-lead, .cks-prose { color: var(--ink); font-size: 1.15rem; line-height: 1.7; }
/* Elementor kit defaults Roboto on text-editor — Next body copy is Inter across templates */
body.cks-site .elementor-widget-text-editor,
body.cks-site .elementor-widget-text-editor p,
body.cks-site .cks-lead,
body.cks-site .cks-lead p,
body.cks-site .cks-prose,
body.cks-site .cks-prose p {
  font-family: var(--body) !important;
}
.cks-text-link { display: inline-block; margin-top: 2.5rem; font-family: var(--head); font-weight: 500; font-size: 1.05rem; color: var(--teal); text-underline-offset: 6px; }
/* Next page sections commonly use py-20 / md:py-24|py-28 — 4.5rem was short and shifted first-viewport content. */
.cks-section.e-con { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) {
  .cks-section.e-con { padding-top: 6rem; padding-bottom: 6rem; }
}
.cks-section-tight.e-con { padding-top: 1rem; padding-bottom: 1rem; }
/* Home stack sections (not hero) — Next md:py-28 */
@media (min-width: 768px) {
  body.page-id-4 .elementor-element.cks-section:not(:has(.cks-h1)):not(:has(.cks-display)),
  body.home .elementor-element.cks-section:not(:has(.cks-h1)):not(:has(.cks-display)) {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
  }
}
/* Home capabilities: Next stacks below lg; side-by-side lg:grid-cols-[1fr_1.15fr].
   Elementor boxed containers nest children in .e-con-inner — grid must target that. */
@media (max-width: 1023.98px) {
  body.page-id-4 .cks-split:has(.cks-cap-grid),
  body.home .cks-split:has(.cks-cap-grid),
  body.page-id-4 .cks-split:has(.cks-cap-grid) > .e-con-inner,
  body.home .cks-split:has(.cks-cap-grid) > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.page-id-4 .cks-split:has(.cks-cap-grid) .cks-cap-grid,
  body.home .cks-split:has(.cks-cap-grid) .cks-cap-grid,
  body.page-id-4 .cks-split:has(.cks-cap-grid) > .e-con-inner > .e-con,
  body.home .cks-split:has(.cks-cap-grid) > .e-con-inner > .e-con {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (min-width: 1024px) {
  /* Grid the INNER only — Elementor boxed split has a single .e-con-inner child. */
  body.page-id-4 .cks-split:has(.cks-cap-grid),
  body.home .cks-split:has(.cks-cap-grid) {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.page-id-4 .cks-split:has(.cks-cap-grid) > .e-con-inner,
  body.home .cks-split:has(.cks-cap-grid) > .e-con-inner {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr !important;
    gap: 4.5rem !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.page-id-4 .cks-split:has(.cks-cap-grid) .cks-cap-grid,
  body.home .cks-split:has(.cks-cap-grid) .cks-cap-grid {
    width: 100% !important;
  }
}
/* Next cards: min-h-[110px] sm:min-h-[140px] sm:aspect-[1.15/1] — NOT a fixed 11.5rem */
.cks-cap, .cks-cap-core,
a.cks-cap, .cks-cap-core {
  min-height: 110px !important; /* mobile */
  aspect-ratio: auto;
}
@media (min-width: 640px) {
  .cks-cap, .cks-cap-core,
  a.cks-cap {
    min-height: 140px !important;
    aspect-ratio: 1.15 / 1;
  }
}
body.page-id-4 .cks-lead,
body.page-id-4 .cks-lead p,
body.home .cks-lead,
body.home .cks-lead p {
  font-family: Inter, "Segoe UI", system-ui, sans-serif !important;
  font-size: 1.2rem !important;
  line-height: 1.65 !important; /* Next computed lh on home lead */
  max-width: 38rem;
}
/* Home display H1 — match Next measured leading (~1.22) + tracking */
body.page-id-4 .cks-display .elementor-heading-title,
body.home .cks-display .elementor-heading-title {
  line-height: 1.22 !important;
  letter-spacing: -0.015em !important;
  max-width: 16ch;
}

/* Breadcrumbs — Next uses py-4 (~56px total). Elementor was stacking section + p padding/margins (~118px). */
.cks-crumbs-bar,
.elementor-element.cks-crumbs-bar,
.cks-section-tight.cks-crumbs-bar.e-con,
.cks-section-tight:has(.cks-crumbs),
.elementor-element.cks-section-tight:has(.cks-crumbs) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 1px solid rgba(45, 45, 39, 0.14);
  min-height: 0 !important;
  background: transparent !important;
}
.cks-crumbs-bar .cks-wrap,
.cks-section-tight:has(.cks-crumbs) .cks-wrap,
.cks-crumbs-bar .elementor-widget-text-editor,
.cks-section-tight:has(.cks-crumbs) .elementor-widget-text-editor,
.cks-crumbs-bar .elementor-widget-container,
.cks-section-tight:has(.cks-crumbs) .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}
.cks-crumbs,
p.cks-crumbs,
.cks-crumbs-bar p,
.cks-section-tight:has(.cks-crumbs) p,
.cks-crumbs-bar .elementor-widget-text-editor p,
.cks-section-tight:has(.cks-crumbs) .elementor-widget-text-editor p {
  margin: 0 !important;
  padding: 1rem 0 !important; /* Tailwind py-4 */
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: var(--grey-text) !important;
  border-bottom: 0 !important;
}
.cks-crumbs a,
.cks-crumbs-bar a,
.cks-section-tight:has(.cks-crumbs) a {
  color: var(--grey-text) !important;
  text-decoration: none;
}
.cks-crumbs a:hover,
.cks-crumbs-bar a:hover,
.cks-section-tight:has(.cks-crumbs) a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cks-teal.e-con { background: var(--teal); }
.cks-white.e-con { background: #fff; }
.cks-rule { border-left: 3px solid var(--teal-muted); padding-left: 1.5rem; }
.cks-step-num {
  display: block;
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--teal);
  margin: 0 0 0.5rem;
}

/* Beat Elementor .e-flex so layout classes actually form grids/columns. */
.cks-grid-2, .cks-grid-3, .cks-split,
.elementor-element.cks-grid-2,
.elementor-element.cks-grid-3,
.elementor-element.cks-split {
  display: grid !important;
  gap: 2rem;
  flex-direction: unset !important;
  flex-wrap: unset !important;
}
.cks-split, .elementor-element.cks-split { grid-template-columns: 1.1fr 1fr; align-items: start; }
.cks-grid-2, .elementor-element.cks-grid-2 { grid-template-columns: 1fr 1fr; }
.cks-grid-3, .elementor-element.cks-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cks-grid-4, .elementor-element.cks-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  flex-direction: unset !important;
}
.cks-card, .cks-story-card {
  background: #fff; border: 1px solid rgba(45, 45, 39, 0.1); border-radius: 16px; padding: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem; color: inherit; text-decoration: none;
}
.cks-story-card:hover { border-color: var(--teal-muted); transform: translateY(-2px); }
/* Case listing cards — Next uses aspect-[16/7] cover images */
.cks-story-card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 0; display: block; }
.cks-story-card strong { font-family: var(--head); font-size: 1.2rem; color: var(--ink); }
.cks-card-grid, .cks-card-grid-2,
.elementor-element.cks-card-grid,
.elementor-element.cks-card-grid-2 {
  list-style: none; margin: 0; padding: 0;
  display: grid !important; gap: 1.5rem;
  flex-direction: unset !important;
}
.cks-card-grid, .elementor-element.cks-card-grid { grid-template-columns: repeat(3, 1fr); }
.cks-card-grid-2, .elementor-element.cks-card-grid-2 { grid-template-columns: 1fr 1fr; }

/* Next: grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 — no Elementor 10px pad (narrows tiles) */
.cks-cap-grid, .elementor-element.cks-cap-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem !important; /* gap-4 */
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  --padding-top: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  --padding-right: 0px !important;
  box-sizing: border-box !important;
}
.cks-cap-grid > .elementor-element,
.elementor-element.cks-cap-grid > .elementor-element {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Next: p-4 sm:p-6, rounded-[16px], flex col justify-between */
.cks-cap, .cks-cap-core,
a.cks-cap {
  border-radius: 16px !important;
  padding: 1rem !important; /* p-4 mobile */
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  text-decoration: none !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
@media (min-width: 640px) {
  .cks-cap, .cks-cap-core,
  a.cks-cap {
    padding: 1.5rem !important; /* sm:p-6 */
  }
}
/* Specialist tiles: cream on teal — must beat Elementor kit link primary (#043D3B). */
.cks-cap,
a.cks-cap,
body[class*="elementor-kit-"] a.cks-cap {
  background: var(--teal) !important;
  color: var(--cream) !important;
}
.cks-cap:hover,
a.cks-cap:hover,
body[class*="elementor-kit-"] a.cks-cap:hover {
  background: #022B2A !important; /* Next hover:bg-[#022B2A] */
  color: var(--cream) !important;
}
.cks-cap:hover .cks-cap-arrow { transform: translate(2px, -2px); }
.cks-cap .cks-cap-icon,
.cks-cap svg { color: rgba(255,255,255,0.95); stroke: currentColor; flex-shrink: 0; }
.cks-cap-core { border: 1.5px solid #8B8B83 !important; color: #0B3B36 !important; background: transparent !important; }
.cks-cap-core .cks-cap-icon,
.cks-cap-core svg { color: #0B3B36 !important; stroke: currentColor; }
/* Next icon w-6 h-6 sm:w-7 sm:h-7 + mb-4/sm:mb-6 via flex space-between */
.cks-cap-icon,
.cks-cap svg.cks-cap-icon,
.cks-cap-core svg.cks-cap-icon {
  width: 24px !important;
  height: 24px !important;
  display: block;
}
@media (min-width: 640px) {
  .cks-cap-icon,
  .cks-cap svg.cks-cap-icon,
  .cks-cap-core svg.cks-cap-icon {
    width: 28px !important;
    height: 28px !important;
  }
}
/*
 * Label row: Next title span + arrow shrink-0.
 * With correct card width (~178), "Cybersecurity" (≈113px) + arrow fits one line.
 */
.cks-cap-label {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 15px !important; /* text-[15px] */
  line-height: 1.25 !important; /* leading-tight */
  margin: 0 !important;
  min-width: 0;
}
@media (min-width: 640px) {
  .cks-cap-label { font-size: 16px !important; /* sm:text-[16px] */ }
}
.cks-cap-arrow {
  font-size: 0.75rem !important; /* text-xs */
  line-height: 1 !important;
  opacity: 0.75;
  flex: 0 0 auto !important;
  transition: transform 0.15s ease;
}
.cks-legend {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important; /* gap-3 */
  margin: 2.25rem 0 0 !important; /* mt-9 */
  font-size: 0.9rem !important;
  color: var(--grey-text) !important;
}
.cks-legend span { display: inline-flex; align-items: center; gap: 0.625rem; }
.cks-swatch { width: 14px; height: 14px; border-radius: 2px; display: inline-block; flex: none; }
.cks-swatch-core { border: 1.5px solid #8B8B83; box-sizing: border-box; }
.cks-swatch-cks { background: var(--teal); }

/* Capabilities left copy only — do NOT match .cks-cap-grid (needs gap-4). */
body.page-id-4 .cks-split:has(.cks-cap-grid) > .e-con-inner > .e-con:not(.cks-cap-grid),
body.home .cks-split:has(.cks-cap-grid) > .e-con-inner > .e-con:not(.cks-cap-grid),
body.page-id-4 .cks-split:has(.cks-cap-grid) > .e-con-inner > .e-con:not(.cks-cap-grid) > .e-con-inner,
body.home .cks-split:has(.cks-cap-grid) > .e-con-inner > .e-con:not(.cks-cap-grid) > .e-con-inner {
  padding: 0 !important;
  gap: 0 !important;
  row-gap: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
  --padding-top: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  --padding-right: 0px !important;
}
body.page-id-4 .cks-split:has(.cks-cap-grid) .cks-h2 .elementor-heading-title,
body.home .cks-split:has(.cks-cap-grid) .cks-h2 .elementor-heading-title,
body.page-id-4 .cks-split:has(.cks-cap-grid) h2 .elementor-heading-title,
body.home .cks-split:has(.cks-cap-grid) h2 .elementor-heading-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem) !important;
  /* Next source leading-[1.3] but computed matches global heading ~1.22 (56.6/46.4) */
  line-height: 1.22 !important;
  letter-spacing: -0.015em !important;
  max-width: 15ch !important;
  color: var(--teal) !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
body.page-id-4 .cks-split:has(.cks-cap-grid) .elementor-widget-text-editor:not(:has(.cks-legend)),
body.home .cks-split:has(.cks-cap-grid) .elementor-widget-text-editor:not(:has(.cks-legend)),
body.page-id-4 .cks-split:has(.cks-cap-grid) .cks-lead,
body.home .cks-split:has(.cks-cap-grid) .cks-lead {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-4 .cks-split:has(.cks-cap-grid) .cks-lead p,
body.home .cks-split:has(.cks-cap-grid) .cks-lead p,
body.page-id-4 .cks-split:has(.cks-cap-grid) .elementor-widget-text-editor:not(:has(.cks-legend)) p,
body.home .cks-split:has(.cks-cap-grid) .elementor-widget-text-editor:not(:has(.cks-legend)) p {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  max-width: 32rem !important;
  color: var(--ink) !important;
  margin: 0 !important;
}
/* Next: H2 + <br/> + p → measured 27.2px (with left flex gap zeroed) */
body.page-id-4 .cks-split:has(.cks-cap-grid) .cks-h2,
body.home .cks-split:has(.cks-cap-grid) .cks-h2 {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-4 .cks-split:has(.cks-cap-grid) .cks-h2 + .elementor-widget-text-editor,
body.home .cks-split:has(.cks-cap-grid) .cks-h2 + .elementor-widget-text-editor {
  margin-top: 1.7rem !important;
  margin-bottom: 0 !important;
}
.cks-stat-icon { width: 40px; height: 40px; margin: 0 auto 0.25rem; display: block; stroke: var(--teal-quiet); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cks-stat { font-family: var(--head); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--cream); display: block; }
.cks-stat-label { color: var(--teal-quiet); display: block; margin-top: 0.75rem; }

.cks-quotes { position: relative; }
/* Home testimonials carousel — Next: md:auto-cols-[calc((100%-3rem)/2)] gap-12 */
.cks-quote-track {
  list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column;
  grid-auto-columns: 100%; gap: 3rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
@media (min-width: 768px) {
  .cks-quote-track {
    grid-auto-columns: calc((100% - 3rem) / 2) !important; /* exactly 2 visible slides */
  }
}
.cks-quote-track::-webkit-scrollbar { display: none; }
.cks-quote-track li { scroll-snap-align: start; min-width: 0; }
.cks-quote-track blockquote {
  margin: 0; padding-left: 1.5rem; border-left: 3px solid var(--teal-muted);
  background: transparent; border-radius: 0; box-shadow: none;
}
.cks-quote-track blockquote > p {
  margin: 0; font-size: 1.1rem; line-height: 1.7; color: var(--ink);
}
.cks-quote-track footer {
  margin-top: 1.25rem; font-size: 0.95rem; line-height: 1.6; color: var(--grey-text);
}
.cks-quote-track cite { font-style: normal; font-weight: 600; color: var(--ink); display: block; }
.cks-quotes-nav { display: flex; gap: 0.625rem; align-items: center; }
.cks-arrow {
  width: 44px !important; height: 44px !important; min-width: 44px !important;
  border-radius: 999px !important; border: 1.5px solid var(--teal) !important;
  background: transparent !important; color: var(--teal) !important;
  cursor: pointer; margin: 0 !important; padding: 0 !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  box-shadow: none !important; line-height: 1 !important;
}
.cks-arrow svg { width: 16px; height: 16px; display: block; }
.cks-arrow:disabled { opacity: 0.3; cursor: default; }
.cks-arrow:not(:disabled):hover { background: var(--teal) !important; color: var(--cream) !important; }

.cks-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2.5rem; padding-bottom: 0; }
.cks-filters button {
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(4,61,59,0.3) !important;
  background: transparent !important;
  padding: 0.375rem 0.875rem !important;
  cursor: pointer;
  color: var(--teal) !important;
  line-height: 1.25 !important;
}
.cks-filters button.is-active {
  background: var(--teal) !important;
  color: var(--cream) !important;
  border-color: var(--teal) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.cks-filters button:hover {
  background: var(--teal) !important;
  color: var(--cream) !important;
  border-color: var(--teal) !important;
}

/* Case listing cards — mirror Next app/case-studies/page.tsx */
.cks-case-grid { list-style: none; margin: 0; padding: 0; }
.cks-case-card {
  background: #fff;
  border: 1px solid rgba(45,45,39,0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-shadow: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cks-case-card:hover {
  border-color: var(--teal-muted);
  transform: translateY(-2px);
}
.cks-case-cover {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #E5E2DC;
  border-bottom: 1px solid #e5e5e5;
  flex: none;
}
.cks-case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  aspect-ratio: auto;
}
.cks-case-cover-empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; color: rgba(11,59,54,0.6);
}
.cks-case-body {
  padding: 2rem; /* p-8 */
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}
@media (min-width: 768px) {
  .cks-case-body { padding: 2.25rem; } /* md:p-9 */
}
/* Next: tags have no margin; <br/> before title ≈ 1.25rem */
.cks-case-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.cks-case-tag {
  font-family: var(--head); font-weight: 500; font-size: 0.8rem;
  color: var(--teal); background: rgba(4,61,59,0.08);
  padding: 0.25rem 0.75rem; border-radius: 999px;
}
.cks-case-tag-solid { color: var(--cream); background: var(--teal); }
/*
 * Next: font-medium leading-[1.3] → Poppins computes fw 600 / lh ~1.22.
 * Spacing: <br/> above + <br/> below title (not title mb alone).
 */
.cks-case-title {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.22;
  color: var(--ink);
  /* Next <br/> before (~27px) + <br/> after (~20px) */
  margin: 1.7rem 0 1.25rem;
}
.cks-case-title a { color: inherit !important; text-decoration: none; }
.cks-case-title a:hover { color: var(--teal) !important; }
.cks-case-client {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--grey-text);
}
.cks-case-standfirst {
  margin: 0.75rem 0 0; /* Next mt-3 */
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.65; /* Next leading-relaxed measured 27.72/16.8 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cks-case-results {
  margin-top: 1.5rem; /* mt-6 */
  padding-top: 1.25rem; /* pt-5 */
  border-top: 1px solid rgba(45,45,39,0.1);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.cks-case-results b {
  display: block; font-family: var(--head); font-weight: 600;
  font-size: 1.4rem; color: var(--teal); line-height: 1;
}
.cks-case-results span {
  display: block; margin-top: 0.25rem; font-size: 0.8rem;
  color: var(--grey-text); line-height: 1.25;
}
.cks-case-read {
  margin-top: auto; padding-top: 1.75rem; /* pt-7 */
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--head); font-weight: 500; font-size: 0.95rem;
  color: var(--teal) !important; text-decoration: none; align-self: flex-start;
}
.cks-case-read:hover { text-decoration: underline; text-underline-offset: 5px; }
.cks-case-read:hover .cks-case-arrow { transform: translate(2px, -2px); }
.cks-case-arrow { width: 1rem; height: 1rem; flex: none; transition: transform 0.15s ease; }

/* Insights listing cards — Next aspect-[16/9] + tag/title/standfirst/meta */
.cks-insight-grid { list-style: none; margin: 0; padding: 0; }
.cks-insight-card {
  background: #fff; border: 1px solid rgba(45,45,39,0.1); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cks-insight-card:hover { border-color: var(--teal-muted); transform: translateY(-2px); }
.cks-insight-cover {
  display: block; aspect-ratio: 16 / 9; width: 100%; background: #E4E0D8; overflow: hidden;
}
.cks-insight-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s ease;
}
.cks-insight-card:hover .cks-insight-cover img { transform: scale(1.05); }
.cks-insight-body {
  padding: 1.5rem; display: flex; flex-direction: column; flex: 1; align-items: flex-start;
}
@media (min-width: 768px) { .cks-insight-body { padding: 1.75rem; } }
.cks-insight-tag {
  font-family: var(--head); font-weight: 500; font-size: 0.8rem;
  color: var(--teal); background: rgba(4,61,59,0.08);
  padding: 0.25rem 0.75rem; border-radius: 999px;
}
.cks-insight-title {
  font-family: var(--head); font-weight: 600; font-size: 1.2rem;
  color: var(--ink);
  /* Next: title→standfirst is a 20px <br> (mt-2.5 on standfirst computes to 0) */
  margin: 0 0 1.25rem;
  width: 100%; line-height: 1.22;
}
.cks-insight-title a { color: inherit !important; text-decoration: none; }
.cks-insight-title a:hover { color: var(--teal) !important; }
.cks-insight-standfirst {
  /* Next standfirst computed mt 0 (gap owned by title mb / <br>). */
  margin: 0; font-size: 0.95rem; color: var(--grey-text);
  line-height: 1.65; width: 100%;
}
.cks-insight-title + br + .cks-insight-standfirst {
  /* br already spaces — avoid double gap */
  margin-top: 0;
}
body.page-id-6 .cks-insight-title { margin-bottom: 1.25rem !important; /* match Next <br> 20px */ }
.cks-insight-meta {
  margin-top: auto; padding-top: 1.25rem; width: 100%;
  /* Next: flex items-center gap-2.5 — nowrap. wrap made meta 2-row (+10px card height). */
  display: flex; flex-wrap: nowrap; align-items: center; gap: 0.625rem;
  font-size: 0.85rem; color: var(--grey-text);
}

/* Insights page — hero section split from listing (Elementor structure).
   Next: section.py-16/md:py-20 + wrap grid md:grid-cols-[1.1fr_1fr] gap-10/16;
   H1 and lead both occupy column 1 (Next uses a <br> spacer in column 2). */
body.page-id-6 .cks-insights-hero,
body.page-id-6 .elementor-element.cks-insights-hero {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}
@media (min-width: 768px) {
  body.page-id-6 .cks-insights-hero,
  body.page-id-6 .elementor-element.cks-insights-hero {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
  body.page-id-6 .cks-insights-hero > .cks-wrap,
  body.page-id-6 .elementor-element.cks-insights-hero > .cks-wrap {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr !important;
    gap: 4rem !important; /* md:gap-16 — measured 64px between H1 and lead */
    align-items: end !important;
    flex-direction: unset !important;
    --widgets-spacing: 0px !important;
  }
  /* Next order: H1 (col1), <br> (col2), lead (col1 row2) */
  body.page-id-6 .cks-insights-hero .cks-h1,
  body.page-id-6 .cks-insights-hero .cks-lead,
  body.page-id-6 .cks-insights-hero .elementor-widget-text-editor.cks-lead {
    grid-column: 1 !important;
    margin: 0 !important;
  }
  body.page-id-6 .cks-insights-hero .cks-insights-br-spacer {
    grid-column: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
  }
}
body.page-id-6 .cks-h1 .elementor-heading-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem) !important;
  line-height: 1.22 !important; /* match Next measured 70.272px at 57.6 */
  color: var(--teal) !important;
  max-width: 16ch;
  font-weight: 600 !important;
}
body.page-id-6 .cks-lead,
body.page-id-6 .cks-lead p,
body.page-id-6 .elementor-widget-text-editor.cks-lead,
body.page-id-6 .elementor-widget-text-editor.cks-lead p,
body.page-id-6 .cks-insights-hero .cks-h1 + .elementor-widget-text-editor,
body.page-id-6 .cks-insights-hero .cks-h1 + .elementor-widget-text-editor p {
  font-family: Inter, "Segoe UI", system-ui, sans-serif !important;
  font-size: 1.2rem !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
  max-width: 32rem;
  margin: 0 !important;
}
/* Mobile: hero is 1-col flex/stack; Elementor <br> spacer sits between H1 and lead (Next). */
@media (max-width: 767.98px) {
  body.page-id-6 .cks-insights-hero > .cks-wrap {
    display: flex !important;
    flex-direction: column !important;
    /* Next gap-10 (40px) ×2 around <br> ≈108px H1→lead; measured WP +3px — trim gap slightly */
    gap: 2.35rem !important;
  }
  body.page-id-6 .cks-insights-hero .cks-insights-br-spacer {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    line-height: 1 !important;
  }
  body.page-id-6 .cks-insights-hero .cks-insights-br-spacer p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 1rem !important;
  }
}
body.page-id-6 .cks-insights-br-spacer,
body.page-id-6 .cks-insights-br-spacer p {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/*
 * Firefox Next collapses insights-hero <br> (~0px) while WP keeps a spacer flex
 * child + 2.35rem gaps. Trim mobile hero gap so first card aligns (~27px).
 */
@supports (-moz-appearance: none) {
  @media (max-width: 767.98px) {
    body.page-id-6 .cks-insights-hero > .cks-wrap {
      gap: 1.5rem !important; /* was 2.35rem ×2 around spacer; FF br collapses */
    }
  }
}
/* Listing section — Next articles section; filters pb-10, no fake hero margin */
body.page-id-6 .cks-insights-listing,
body.page-id-6 .elementor-element.cks-insights-listing {
  padding-top: 0 !important;
  padding-bottom: 6rem !important; /* pb-24 */
}
@media (min-width: 768px) {
  body.page-id-6 .cks-insights-listing,
  body.page-id-6 .elementor-element.cks-insights-listing {
    padding-top: 0 !important; /* prior +1px left card images ~0.7px low vs Next */
  }
}
body.page-id-6 .cks-filters {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 2.5rem !important; /* pb-10 */
}
body.page-id-6 .cks-pagination {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--head);
  font-size: 1rem;
}
body.page-id-6 .cks-pagination[hidden] { display: none !important; }
body.page-id-6 .cks-pagination button {
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.125rem 0.25rem;
  color: #A3A39C;
  font: inherit;
}
body.page-id-6 .cks-pagination button.is-active {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--ink);
}
body.page-id-6 .cks-pagination button:hover { color: var(--ink); }
/* Listing only — hero padding owned by .cks-insights-hero rules above */
body.page-id-6 .elementor-element.cks-insights-listing,
body.page-id-6 .elementor-element.cks-section:has(.cks-insight-grid) {
  padding-bottom: 6rem !important;
}
body.page-id-6 .cks-filters button {
  line-height: 22px !important; /* py-1.5 + border → ~36px like Next */
}
body.page-id-6 .cks-insight-title {
  line-height: 1.22 !important;
  font-weight: 600 !important; /* Next card titles measure fw 600 */
}
body.page-id-6,
body.page-id-6 #cks-main {
  background: #F8F7F4;
}

/* Dedicated our-work / case article header closer to Next pills+H1+image */
body.cks-case-detail .cks-kicker,
body.cks-case-detail .elementor-widget-heading.cks-kicker,
.cks-case-article .cks-kicker,
.cks-case-shell .cks-kicker { display: none !important; }
/* Hide standfirst + meta row only in the H1 hero section (Next: pills → H1 → image). */
body.cks-case-detail .cks-section:has(.cks-h1) .cks-lead,
body.cks-case-detail .cks-section:has(.cks-h1) .elementor-element.cks-lead,
body.cks-case-detail .cks-section:has(.cks-h1) .cks-meta,
body.cks-case-detail .cks-section:has(.cks-h1) .elementor-widget-text-editor.cks-meta,
/* Dedicated our-work Elementor often omits cks-lead/cks-meta classes on those widgets. */
body.cks-our-work-dedicated .cks-h1 ~ .elementor-widget-text-editor,
body.cks-our-work-dedicated .elementor-element.cks-h1 ~ .elementor-widget-text-editor {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.cks-case-meta-inject {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 0; /* Next article py-12 */
  box-sizing: border-box;
}
.cks-case-meta-inject-narrow { max-width: 56rem; width: 100%; }
.cks-case-meta-inject .cks-case-pills { margin-bottom: 1.5rem; gap: 0.625rem; }
/* After pills, tighten the H1 section top padding (Next article py-12 with pills inside). */
body.cks-case-detail .cks-case-meta-inject + .cks-section,
body.cks-case-detail .cks-section:has(.cks-h1) {
  padding-top: 0 !important;
}
.cks-case-pills {
  display: flex; flex-wrap: wrap; gap: 0.625rem; margin: 0 0 1.5rem;
}
.cks-case-pill {
  display: inline-flex; align-items: center;
  font-family: var(--head); font-weight: 500;
  font-size: 0.8125rem; color: #0B3B36;
  padding: 0.375rem 0.875rem; border-radius: 999px;
  border: 1px solid rgba(45,45,39,0.18); background: rgba(255,255,255,0.7);
}
.cks-case-pill em { font-style: normal; color: #737373; margin-right: 0.35rem; font-weight: 500; }
.cks-case-pill-solid {
  background: var(--teal) !important; color: var(--cream) !important; border-color: var(--teal) !important;
  font-size: 0.8rem; padding: 0.25rem 0.75rem;
}
.cks-case-pill-soft {
  background: rgba(4,61,59,0.08) !important; color: var(--teal) !important; border-color: transparent !important;
  font-size: 0.8rem; padding: 0.25rem 0.75rem;
}
body.cks-data-case .cks-case-pill-solid,
body.cks-data-case .cks-case-pill-soft { border: 0 !important; }
/* Next our-work H1: text-3xl / sm:text-4xl / md:text-5xl (not fluid 4vw — that stalls ~31px at tablet). */
body.cks-case-detail .cks-h1 .elementor-heading-title,
.cks-case-article .cks-h1 .elementor-heading-title,
.cks-case-shell .cks-h1 .elementor-heading-title,
body.cks-our-work-dedicated .cks-h1 .elementor-heading-title {
  font-size: 1.875rem !important; /* text-3xl */
  line-height: 1.22 !important; /* Next measured 36.6/30 */
  color: #0B3B36 !important;
  letter-spacing: -0.015em !important;
  font-weight: 600 !important; /* Next Poppins bold measures ~600 in capture */
}
@media (min-width: 640px) {
  body.cks-case-detail .cks-h1 .elementor-heading-title,
  .cks-case-article .cks-h1 .elementor-heading-title,
  .cks-case-shell .cks-h1 .elementor-heading-title,
  body.cks-our-work-dedicated .cks-h1 .elementor-heading-title {
    font-size: 2.25rem !important; /* text-4xl */
  }
}
@media (min-width: 768px) {
  body.cks-case-detail .cks-h1 .elementor-heading-title,
  .cks-case-article .cks-h1 .elementor-heading-title,
  .cks-case-shell .cks-h1 .elementor-heading-title,
  body.cks-our-work-dedicated .cks-h1 .elementor-heading-title {
    font-size: 3rem !important; /* text-5xl */
  }
}
body.cks-case-detail {
  background: #F3EFEA; /* page cream; main/article band is #F9F7F2 */
}
body.cks-case-detail #cks-main,
body.cks-case-detail .cks-case-shell,
body.cks-case-detail .elementor {
  background: #F9F7F2;
}
body.cks-case-detail .cks-wrap {
  max-width: 56rem;
}
/* Collapse Elementor gap between H1 and hero image (Next img my-6 ≈ 24px). */
body.cks-our-work-dedicated .cks-section:has(.cks-h1),
body.cks-our-work-dedicated .cks-section:has(.cks-h1) > .e-con,
body.cks-our-work-dedicated .cks-section:has(.cks-h1) .cks-wrap {
  gap: 0 !important;
  row-gap: 0 !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
  --widgets-spacing-column: 0px !important;
}
body.cks-our-work-dedicated .cks-section:has(.cks-h1) .cks-h1,
body.cks-our-work-dedicated .cks-section:has(.cks-h1) .elementor-widget-heading.cks-h1 {
  margin: 0 !important;
  padding-bottom: 0 !important;
}
/* Margin lives on the img (Next my-6) — do not also pad the widget wrapper. */
body.cks-our-work-dedicated .cks-section:has(.cks-h1) .elementor-widget-image {
  margin: 0 !important;
  padding: 0 !important;
}
body.cks-our-work-dedicated .cks-section:has(.cks-h1) .elementor-element:not(.cks-h1):not(.elementor-widget-image):not(.cks-wrap):not(.e-con) {
  /* keep */
}
body.cks-our-work-dedicated .cks-case-meta-inject {
  padding-top: 3rem !important; /* Next article py-12 — no +6px; service-crumbs ol already matches Next nav height */
  padding-bottom: 0 !important;
}
/* Dedicated crumbs current: Next max-w-[280px] (service default was 240 → earlier wrap/ellipsis). */
body.cks-our-work-dedicated .cks-service-crumbs .cks-crumb-current,
body.cks-our-work-dedicated .cks-crumb-current {
  max-width: 280px !important;
  color: #0B3B36 !important;
  font-weight: 500 !important;
}
/* Next dedicated crumbs nav ≈81px; WP ol was ≈87px (taller li metrics). Match row pitch. */
body.cks-our-work-dedicated .cks-service-crumbs {
  font-size: 0.9rem !important;
}
body.cks-our-work-dedicated .cks-service-crumbs ol {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  align-items: center !important;
}
body.cks-our-work-dedicated .cks-service-crumbs li {
  line-height: 20px !important;
  font-size: 0.9rem !important;
}

/* Dedicated our-work: Next max-w-4xl article column (px-6) for ALL content sections */
body.cks-our-work-dedicated .cks-section-tight:has(.cks-crumbs) .cks-wrap,
body.cks-our-work-dedicated .cks-crumbs-bar .cks-wrap,
body.cks-our-work-dedicated .cks-case-meta-inject,
body.cks-our-work-dedicated .cks-section .cks-wrap,
body.cks-our-work-dedicated .cks-section-tight .cks-wrap {
  max-width: 56rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  width: 100%;
  box-sizing: border-box;
}
body.cks-our-work-dedicated .cks-crumbs {
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}
body.cks-our-work-dedicated .cks-crumb-current {
  color: #0B3B36 !important;
  font-weight: 500 !important;
}
body.cks-our-work-dedicated .cks-section:has(.cks-h1) img,
body.cks-our-work-dedicated .cks-section:has(.cks-h1) .elementor-widget-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 0.75rem !important; /* rounded-xl */
  border: 1px solid rgba(229, 229, 229, 0.8) !important;
  /* Next shadow-sm */
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1) !important;
  margin: 1.5rem 0 0 !important; /* top only; bottom gap handled by next section pt */
  display: block;
}
/* Data-case (non-dedicated) — Next caseStudies/[slug] layout */
body.cks-data-case .cks-wrap { max-width: 1180px; }
body.cks-data-case .cks-data-case-root { background: #F3EFEA; color: var(--ink); }
body.cks-data-case .cks-data-crumbs {
  border-bottom: 1px solid rgba(45,45,39,0.14); font-size: 0.9rem; color: var(--grey-text);
}
/* Service Elementor crumbs rebuilt as ol (see service-crumbs.php) — Next uses flex-wrap */
body:has(.cks-sub-hero) .cks-service-crumbs,
.cks-service-crumbs {
  border-bottom: 1px solid rgba(45,45,39,0.14); font-size: 0.9rem; color: var(--grey-text);
  background: #fff;
}
body:has(.cks-sub-hero) .cks-service-crumbs ol,
.cks-service-crumbs ol {
  list-style: none; margin: 0; padding: 1rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  min-width: 0;
}
.cks-service-crumbs li { min-width: 0; }
.cks-service-crumbs li:not(:first-child)::before {
  content: "/"; margin-right: 0.5rem; color: #8B8B83;
}
.cks-service-crumbs a { color: var(--grey-text) !important; text-decoration: none; }
.cks-service-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cks-service-crumbs .cks-crumb-current {
  color: var(--ink); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/*
 * Engagement crumbs only — Next keeps nowrap so the current label wraps inside the row
 * (global nowrap regresses long sub-service trails).
 */
body.page-id-14 .cks-service-crumbs ol {
  flex-wrap: nowrap !important;
}
body.page-id-14 .cks-service-crumbs .cks-crumb-current {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: hidden !important;
  white-space: normal !important;
  text-overflow: unset !important;
  line-height: 1.6 !important;
}

/* Next: ol.flex.gap-2.py-4 nowrap — current truncates; earlier items keep readable width (avoid crushing "Home") */
body.cks-data-case .cks-data-crumbs ol {
  list-style: none; margin: 0; padding: 1rem 0; display: flex; flex-wrap: nowrap; gap: 0.5rem; align-items: stretch;
  min-width: 0;
}
body.cks-data-case .cks-data-crumbs li {
  min-width: 0;
  flex: 0 1 auto; /* earlier crumbs shrink/wrap first (Next Case studies ~49px) */
}
body.cks-data-case .cks-data-crumbs li:not(:first-child)::before {
  content: "/"; margin-right: 0.5rem; color: #8B8B83;
}
body.cks-data-case .cks-data-crumbs a { color: var(--grey-text) !important; text-decoration: none; }
body.cks-data-case .cks-data-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.cks-data-case .cks-data-crumbs .cks-crumb-current {
  /* Basis 240 like Next max-w-[240px]; shrink when row is tight (375px) */
  flex: 1 1 240px;
  max-width: 240px;
  min-width: 0;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.cks-data-case .cks-data-hero { padding: 4rem 0; }
@media (min-width: 768px) { body.cks-data-case .cks-data-hero { padding: 5rem 0; } }
body.cks-data-case .cks-data-h1 {
  font-family: var(--head); font-weight: 600; color: var(--teal);
  /* Next measures 1.22 (global h1) over leading-[1.2] in practice */
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.22; max-width: 24ch; margin: 0;
  letter-spacing: -0.015em;
}
body.cks-data-case .cks-data-standfirst {
  /* Next has <br /> + mt-5; measured margin collapses — keep only the br rhythm */
  margin: 0;
  font-size: 1.2rem; line-height: 1.65; max-width: 36rem; color: var(--ink);
}
/* Next: flex flex-wrap gap-2 mb-4; pills py-1 px-3 text-[0.8rem] */
body.cks-data-case .cks-data-hero .cks-case-pills {
  gap: 0.5rem !important;
  margin: 0 0 1rem !important;
}
body.cks-data-case .cks-data-hero .cks-case-pill,
body.cks-data-case .cks-data-hero .cks-case-pill-solid,
body.cks-data-case .cks-data-hero .cks-case-pill-soft {
  padding: 0.25rem 0.75rem !important; /* py-1 px-3 */
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
body.cks-data-case .cks-data-facts h3 {
  margin: 0 !important; /* spacing comes from <br /> + p margin like Next */
}
body.cks-data-case .cks-data-facts p {
  margin: 0.25rem 0 0 !important; /* mt-1 */
}
body.cks-data-case .cks-data-facts {
  border-top: 1px solid rgba(45,45,39,0.14); border-bottom: 1px solid rgba(45,45,39,0.14);
}
body.cks-data-case .cks-data-facts ul {
  list-style: none; margin: 0; padding: 1.5rem 0; display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  body.cks-data-case .cks-data-facts ul { grid-template-columns: repeat(4, 1fr); }
}
body.cks-data-case .cks-data-facts h3 {
  font-family: var(--head); font-weight: 500; font-size: 0.85rem; color: var(--teal-muted);
  text-transform: uppercase; margin: 0; /* spacing via structural <br /> + p.mt-1 */
}
body.cks-data-case .cks-data-facts p { margin: 0.25rem 0 0; font-size: 1rem; color: var(--ink); }
body.cks-data-case .cks-data-results {
  background: var(--teal); color: var(--cream); padding: 4rem 0;
}
body.cks-data-case .cks-data-results h2 {
  font-family: var(--head); font-weight: 500; font-size: 1.1rem; line-height: 1.22; color: var(--teal-quiet);
  margin: 0; /* Next mb-8 collapses with following <br /> — measured gap ≈ br only */
}
body.cks-data-case .cks-data-article h2 {
  font-size: 1.5rem !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
  margin: 0 0 1rem !important;
}
body.cks-data-case .cks-data-results ul {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  body.cks-data-case .cks-data-results ul { grid-template-columns: repeat(3, 1fr); }
}
body.cks-data-case .cks-data-results b {
  display: block; font-family: var(--head); font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--cream);
}
body.cks-data-case .cks-data-results span {
  display: block; margin-top: 0.5rem; font-size: 0.95rem; color: var(--teal-quiet);
}
body.cks-data-case .cks-data-body { padding: 5rem 0; }
body.cks-data-case .cks-data-body-grid {
  display: grid; gap: 3.5rem; grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  body.cks-data-case .cks-data-body-grid { grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
}
body.cks-data-case .cks-data-toc { display: none; }
@media (min-width: 1024px) {
  body.cks-data-case .cks-data-toc {
    display: block; position: sticky; top: 2rem;
    border-left: 1px solid rgba(45,45,39,0.14); padding-left: 1.25rem;
  }
}
body.cks-data-case .cks-data-toc p {
  font-family: var(--head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--teal-muted); margin: 0 0 0.75rem;
}
body.cks-data-case .cks-data-toc nav { display: flex; flex-direction: column; gap: 0.5rem; }
body.cks-data-case .cks-data-toc a {
  color: var(--grey-text) !important; text-decoration: none; font-size: 0.95rem;
}
body.cks-data-case .cks-data-toc a:hover { color: var(--teal) !important; }
body.cks-data-case .cks-data-article section { margin-bottom: 3.5rem; scroll-margin-top: 2rem; }
body.cks-data-case .cks-data-article h2 {
  font-family: var(--head); font-weight: 500; font-size: 1.7rem; color: var(--teal); margin: 0 0 1rem;
}
body.cks-data-case .cks-data-article > section > p {
  font-size: 1.1rem; line-height: 1.6; color: var(--ink); margin: 0 0 1rem;
}
body.cks-data-case .cks-data-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
body.cks-data-case .cks-data-cards li {
  background: #fff; border: 1px solid rgba(45,45,39,0.1); border-radius: 12px; padding: 1.5rem;
}
body.cks-data-case .cks-data-cards h3 { font-size: 1.15rem; font-weight: 500; color: var(--ink); margin: 0; }
body.cks-data-case .cks-data-cards p { margin: 0.5rem 0 0; color: var(--grey-text); line-height: 1.625; }
body.cks-data-case .cks-data-deliverables {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  body.cks-data-case .cks-data-deliverables { grid-template-columns: 1fr 1fr; }
}
body.cks-data-case .cks-data-deliverables li {
  position: relative; padding-left: 1.25rem; color: var(--ink);
}
body.cks-data-case .cks-data-deliverables li::before {
  content: ""; position: absolute; left: 0; top: 0.5rem; width: 0.5rem; height: 0.5rem;
  border-radius: 999px; background: var(--teal);
}
body.cks-data-case .cks-data-midcta {
  border: 1px solid rgba(45,45,39,0.1); background: #fff; border-radius: 12px;
  padding: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin-bottom: 3.5rem;
}
body.cks-data-case .cks-data-midcta p {
  font-family: var(--head); font-weight: 500; color: var(--teal); font-size: 1.1rem; margin: 0;
}
body.cks-data-case .cks-data-midcta a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--head); font-weight: 500; color: var(--teal) !important;
  text-decoration: underline; text-underline-offset: 5px;
}
body.cks-data-case .cks-data-midcta-icon { flex: 0 0 auto; display: block; }
body.cks-data-case .cks-data-impact { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
body.cks-data-case .cks-data-impact li {
  border-left: 3px solid var(--teal-muted); padding-left: 1.25rem;
}
body.cks-data-case .cks-data-impact h3 { font-size: 1.15rem; font-weight: 500; margin: 0; color: var(--ink); }
body.cks-data-case .cks-data-impact p { margin: 0.25rem 0 0; font-size: 1.05rem; line-height: 1.625; color: var(--ink); }
body.cks-data-case .cks-data-confidential {
  margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(45,45,39,0.14);
  font-size: 0.9rem; color: var(--grey-text);
}
body.cks-data-case .cks-data-cta {
  background: var(--teal); color: var(--cream); padding: 5.5rem 0;
}
body.cks-data-case .cks-data-cta-grid {
  display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  body.cks-data-case .cks-data-cta-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
}
body.cks-data-case .cks-data-cta h2 {
  font-family: var(--head); font-weight: 600; color: var(--cream);
  font-size: clamp(2rem, 3.8vw, 3rem); max-width: 18ch; line-height: 1.22; margin: 0;
}
body.cks-data-case .cks-data-cta p {
  margin: 1rem 0 0; color: var(--teal-quiet); max-width: 30rem; font-size: 1.1rem;
}
body.cks-data-case .cks-data-cta-actions { justify-self: start; }
@media (min-width: 768px) { body.cks-data-case .cks-data-cta-actions { justify-self: end; } }
body.cks-data-case .cks-data-cta .cks-partner-cta {
  display: inline-flex !important; align-items: center; gap: 0.625rem; width: auto;
  background: var(--cream) !important; color: var(--teal) !important;
  font-size: 1rem; padding: 1rem 1.75rem; border-radius: 999px; text-decoration: none !important;
}
body.cks-data-case .cks-partner-cta-icon { flex: 0 0 auto; display: block; }

.cks-form { display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem 3rem; }
.field { position: relative; }
.field-wide, .cks-form-actions, .cks-form-error { grid-column: 1 / -1; }
.field input, .field textarea {
  font: inherit; font-size: 1.15rem; color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1.5px solid #8B8B83; border-radius: 0; padding: 1.4rem 0 0.6rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field label {
  position: absolute; left: 0; top: 1.5rem; font-size: 1.1rem; color: var(--grey-text); pointer-events: none;
  transition: transform 0.15s, font-size 0.15s, color 0.15s;
}
.field .req { color: var(--teal-muted); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--teal); border-bottom-width: 2px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.35rem); font-size: 0.8rem; color: var(--teal); font-family: var(--head); font-weight: 500;
}
/* Elementor kit sets button { border-radius:4px } at higher specificity — beat it */
button.cks-btn,
.cks-btn,
.elementor-button.cks-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important; /* gap-2.5 */
  background: var(--teal) !important;
  color: var(--cream) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 1rem 1.75rem !important; /* py-4 px-7 */
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none !important;
}
button.cks-btn:hover,
.cks-btn:hover { background: #022B2A !important; color: var(--cream) !important; }
button.cks-btn:focus-visible,
.cks-btn:focus-visible {
  outline: 2px solid var(--teal-muted);
  outline-offset: 3px;
}
.cks-btn .cks-btn-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
button.cks-btn:hover .cks-btn-arrow,
.cks-btn:hover .cks-btn-arrow { transform: translateX(4px); }
.cks-form-success { background: #E4ECEB; border: 1px solid rgba(4, 61, 59, 0.2); border-radius: 12px; padding: 2rem; text-align: center; }
.cks-form-error { background: #FDEDED; border: 1px solid #F5C2C7; color: #842029; padding: 1rem; border-radius: 6px; }
/* Next: flex justify-between — note far right of form row */
.cks-form-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important; /* gap-5 */
  margin-top: 0.5rem !important; /* mt-2 */
}
.cks-required-note {
  color: var(--grey-text) !important;
  font-size: 0.85rem !important;
  margin: 0 !important;
  margin-left: auto !important;
}
.cks-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.cks-faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.cks-faq summary { cursor: pointer; font-family: var(--head); font-weight: 500; color: var(--teal); }

/* Next strategy/sub-service FAQ accordion */
.cks-service-faqs {
  display: flex; flex-direction: column; gap: 1rem;
  max-width: 50rem; margin: 0 auto; width: 100%;
}
.cks-service-faq {
  background: #F8F7F3; border-radius: 8px; padding: 1.5rem; cursor: pointer;
}
.cks-service-faq > summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--head); font-weight: 500; font-size: 1.05rem; color: var(--teal);
  outline: none; cursor: pointer; gap: 1rem;
}
.cks-service-faq > summary::-webkit-details-marker { display: none; }
.cks-service-faq-q { flex: 1 1 auto; min-width: 0; }
.cks-service-faq-icon {
  flex: 0 0 auto; color: #5CB39F; display: inline-flex;
  transition: transform 0.3s ease;
}
.cks-service-faq[open] > summary .cks-service-faq-icon { transform: rotate(45deg); }
.cks-service-faq > p {
  margin: 1rem 0 0; padding-top: 1rem;
  border-top: 1px solid rgba(45,45,39,0.05);
  font-size: 0.95rem; line-height: 1.625; color: var(--grey-text);
}
.cks-meta { color: var(--grey-derived); font-size: 0.95rem; }
/* .cks-crumbs spacing/colors defined above with crumbs-bar rules */
.cks-pull { border-left: 3px solid var(--teal-muted); padding-left: 1.5rem; font-size: 1.35rem; line-height: 1.5; color: var(--teal); }
.cks-metric { font-family: var(--head); font-size: 2rem; font-weight: 600; color: var(--teal); display: block; }

/* Dedicated Our Work / case article shell */
.cks-case-shell.e-con, .cks-case-article.e-con { background: #F9F7F2; }
.cks-case-article .cks-wrap, .cks-case-shell .cks-wrap { max-width: 56rem; }
.cks-case-pill {
  display: inline-flex; align-items: center; font-size: 0.8rem; font-weight: 500;
  padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(45,45,39,0.18);
  background: rgba(255,255,255,0.7); color: #0B3B36;
  margin: 0; /* gap on .cks-case-pills handles spacing — mb here inflated wrap height */
}
.cks-case-metric {
  background: #fff; border: 1px solid rgba(229,229,229,0.8); border-radius: 12px;
  padding: 1.5rem; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.cks-case-metric .cks-metric { font-size: clamp(1.75rem, 3vw, 2.25rem); color: #0B3B36; }
.cks-case-metric span { display: block; margin-top: 0.5rem; font-size: 0.875rem; font-weight: 500; color: #525252; }
.cks-case-cta {
  background: #0B3B36; color: var(--cream); border-radius: 1rem; padding: 2.5rem; text-align: center;
}
.cks-case-cta .elementor-heading-title { color: var(--cream) !important; }
.cks-case-cta .cks-btn, .cks-case-cta .elementor-button {
  background: var(--cream); color: #0B3B36; border-radius: 999px;
}
.cks-case-cta .cks-btn:hover, .cks-case-cta .elementor-button:hover { background: #fff; }
.cks-leader-photo img,
.cks-split .elementor-widget-image img {
  width: 100%; max-width: 22rem; aspect-ratio: 4/5; object-fit: cover; object-position: top;
  border-radius: 16px; display: block;
}
.cks-best-for {
  margin-top: 2rem; padding: 1.5rem; border-left: 3px solid var(--teal);
  background: rgba(4,61,59,0.06); border-radius: 0 8px 8px 0; line-height: 1.6;
}
.cks-included-card {
  background: #fff; padding: 2rem 2.5rem; border: 1px solid rgba(45,45,39,0.1); border-radius: 16px;
}
[id="project-based"], [id="projects"], [id="retainer"], [id="dedicated-team"],
[id="what-we-do"], [id="engagement-models"], [id="contact"] { scroll-margin-top: 6rem; }
.cks-grid-4 .elementor-widget-text-editor { text-align: center; }
.cks-stat-icon + .cks-stat { margin-top: 1.25rem; }

.cks-teal-tile {
  background: var(--teal) !important;
  color: var(--cream);
  border: 0 !important;
  border-radius: 16px !important;
  padding: 2rem 2.25rem !important;
  min-height: 100%;
}
.cks-teal-tile .elementor-heading-title,
.cks-teal-tile .cks-h3 .elementor-heading-title { color: var(--cream) !important; font-weight: 500 !important; font-size: 1.2rem !important; }
.cks-teal-tile .elementor-widget-text-editor,
.cks-teal-tile p { color: var(--teal-quiet) !important; font-size: 0.95rem; line-height: 1.6; }
.cks-value-icon-wrap { margin: 0 0 0.25rem; }
.cks-value-icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(243,239,234,0.12);
  display: grid; place-items: center; margin-bottom: 1.25rem;
}
.cks-value-icon svg { width: 22px; height: 22px; color: var(--cream); stroke: var(--cream); }
.cks-li-check { list-style: none; position: relative; padding-left: 1.75rem; margin: 0.65rem 0; }
.cks-li-check .cks-check {
  position: absolute; left: 0; top: 0.2rem; width: 1.1rem; height: 1.1rem; color: var(--teal);
}
ul:has(> .cks-li-check) { list-style: none; padding-left: 0; margin: 0; }

/* Mobile defaults continued */
.cks-menu > li.menu-item-has-children > a::after { display: none; }
.cks-sub, .cks-menu .sub-menu { position: static; box-shadow: none; min-width: 0; background: transparent; display: none; }
.cks-menu > li.is-open > .sub-menu, .cks-nav-item.is-open > .cks-sub { display: block; }
.cks-sub a, .cks-menu .sub-menu a { color: var(--cream); }
.cks-partner-cta { width: 100%; }
.cks-footer-grid,
.cks-split, .elementor-element.cks-split,
.cks-grid-2, .elementor-element.cks-grid-2,
.cks-grid-3, .elementor-element.cks-grid-3,
.cks-grid-4, .elementor-element.cks-grid-4,
.cks-cap-grid, .elementor-element.cks-cap-grid,
.cks-card-grid, .elementor-element.cks-card-grid,
.cks-card-grid-2, .elementor-element.cks-card-grid-2,
.cks-form { grid-template-columns: 1fr; }
/* mobile quote track width owned by base .cks-quote-track rule */

/* Force Menu visible below md — beat any Elementor/button resets. */
@media (max-width: 767.98px) {
  .cks-header .cks-menu-toggle,
  button.cks-menu-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 3.5rem;
    min-height: 2rem;
  }
  .cks-header .cks-nav { display: none !important; }
  .cks-header .cks-nav.is-open { display: block !important; }
  .cks-header .cks-partner-cta { display: inline-flex !important; width: 100%; }
}

/* Desktop/tablet from Tailwind md (768px) upward — same as Next.js. */
@media (min-width: 768px) {
  .cks-menu-toggle { display: none !important; }
  .cks-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    padding: 0;
    border-top: 0;
    max-height: none;
    overflow: visible; /* Next CTA can paint past the padded content box */
    /* Next header is justify-between: logo | nav-cluster. Nav must NOT flex-grow
       or items pack left inside a stretched nav (laptop Home jumped from ~607 → ~291). */
    flex: 0 1 auto;
    margin-left: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 2rem;
    min-width: 0;
  }
  .cks-nav .cks-menu {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    width: max-content !important;
  }
  .cks-nav .cks-partner-cta {
    flex: 0 0 auto;
  }
  .cks-nav.is-open { display: flex; }
  .cks-menu {
    flex-direction: row;
    align-items: center;
    gap: 1.75rem; /* Next md:gap-7 ≈ 1.75rem */
  }
  .cks-nav {
    gap: 2rem; /* Next: gap-6 md:gap-8 between ul and CTA */
  }
  .cks-menu > li.menu-item-has-children > a::after { display: inline-block; }
  .cks-sub-toggle { display: none; }
  .cks-sub, .cks-menu .sub-menu {
    position: absolute;
    box-shadow: 0 12px 32px rgba(45, 45, 39, 0.18);
    min-width: 17rem;
    background: var(--cream);
  }
  .cks-menu > li.is-open > .sub-menu, .cks-nav-item.is-open > .cks-sub { display: none; }
  .cks-menu > li:hover > .sub-menu, .cks-menu > li:focus-within > .sub-menu,
  .cks-nav-item:hover > .cks-sub, .cks-nav-item.is-open > .cks-sub { display: block; }
  .cks-sub a, .cks-menu .sub-menu a { color: var(--ink); }
  .cks-header .cks-menu .sub-menu a { color: var(--ink) !important; }
  .cks-partner-cta { width: auto; margin-top: 0; }
  .cks-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  /* Match Next md: 2-col splits / 3-col drives / cards from 768 up */
  .cks-split, .elementor-element.cks-split,
  .cks-grid-2, .elementor-element.cks-grid-2 { grid-template-columns: 1fr 1fr; }
  .cks-grid-3, .elementor-element.cks-grid-3 { grid-template-columns: repeat(3, 1fr); }
  /* Cap grid 2-col also set at 640px below; keep through tablet */
  .cks-cap-grid, .elementor-element.cks-cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cks-grid-4, .elementor-element.cks-grid-4,
  .cks-card-grid, .elementor-element.cks-card-grid { grid-template-columns: repeat(2, 1fr); }
  .cks-card-grid-2, .elementor-element.cks-card-grid-2 { grid-template-columns: 1fr 1fr; }
  .cks-form { grid-template-columns: 1fr 1fr; }
  /* Do NOT use minmax(320px,1fr) here — that showed 3 narrow slides vs Next's 2 */
}

@media (min-width: 768px) and (max-width: 1100px) {
  .cks-nav { gap: 2rem; } /* Next gap-8 between ul and CTA */
  /* Next md:gap-7 — prior 1rem left extra room so About Us / Our work stayed one line and shoved CTA ~42px left */
  .cks-menu { gap: 1.75rem !important; }
  .cks-menu a { font-size: 0.95rem; } /* Next 15.2px */
  /* Keep Partner CTA at Next measured tablet size (~153×47); do not shrink padding */
  .cks-partner-cta {
    padding: 0.7rem 1.2rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    min-height: 46.7px;
  }
  .cks-menu > li.menu-item-has-children > a::after { margin-left: 0.2rem; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  /* Footer/forms can go 2-col; keep content grids matching Next md breakpoints */
  .cks-footer-grid { grid-template-columns: 1fr 1fr; }
  .cks-nav { gap: 2rem; }
  .cks-menu { gap: 1.75rem !important; }
  .cks-header-bar { gap: 1rem; }
}
@media (min-width: 768px) and (max-width: 900px) {
  .cks-nav { gap: 2rem; }
  .cks-menu { gap: 1.75rem !important; }
  .cks-menu a { font-size: 0.95rem; }
  /* Still keep CTA full size — Next does not shrink the Partner button at md */
  .cks-partner-cta {
    padding: 0.7rem 1.2rem !important;
    font-size: 0.95rem !important;
  }
  .cks-wrap.cks-header-bar { padding-left: 1.5rem; padding-right: 1.5rem; }
}
/* Insight articles: underline Insights nav like Next current route */
body.cks-insight-detail .cks-menu a[href*="/insights"] {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--teal-quiet);
}
/* Next sm:grid-cols-2 from 640px */
@media (min-width: 640px) {
  .cks-cap-grid, .elementor-element.cks-cap-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  /* Next lg:grid-cols-3 for capability tiles */
  .cks-cap-grid, .elementor-element.cks-cap-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 1025px) {
  .cks-grid-4, .elementor-element.cks-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .cks-card-grid, .elementor-element.cks-card-grid { grid-template-columns: repeat(3, 1fr); }
}

/*
 * .cks-contact-hero is shared:
 * - Case studies (page-id-7): intentional 2-col H1 | lead (Next md:grid-cols-2).
 * - Contact (page-id-9): Next uses H1 + <br/> + lead → stacked under col1.
 * Keep the default 2-col for cases; contact overrides below.
 */
.cks-contact-hero,
.elementor-element.cks-contact-hero {
  --display: grid !important;
  display: grid !important; gap: 1.5rem !important; flex-direction: unset !important;
}
@media (min-width: 768px) {
  .cks-contact-hero,
  .elementor-element.cks-contact-hero {
    --display: grid !important;
    grid-template-columns: 1.1fr 1fr !important; align-items: end !important; gap: 2rem 4rem !important;
  }
}

/* Contact / Partner with Us — Next stacked hero (same <br/> quirk as testimonials) */
body.page-id-9 .cks-contact-hero,
body.page-id-9 .elementor-element.cks-contact-hero,
body.cks-contact-page .cks-contact-hero,
body.cks-contact-page .elementor-element.cks-contact-hero {
  grid-template-columns: 1fr !important;
  gap: 6.7rem !important; /* mobile: two gap-10 + br ≈ 107px */
  row-gap: 6.7rem !important;
  column-gap: 0 !important;
  align-items: start !important;
  --gap: 6.7rem !important;
  --row-gap: 6.7rem !important;
  --column-gap: 0px !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
}
body.page-id-9 .cks-contact-hero > .cks-h1,
body.page-id-9 .elementor-element.cks-contact-hero > .cks-h1 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}
body.page-id-9 .cks-contact-hero > .cks-h1 .elementor-heading-title,
body.page-id-9 .elementor-element.cks-contact-hero > .cks-h1 .elementor-heading-title {
  max-width: 16ch !important;
  font-size: clamp(2.3rem, 5vw, 3.6rem) !important;
  line-height: 1.2 !important;
  color: var(--teal) !important;
}
body.page-id-9 .cks-contact-hero > .cks-h1 + .elementor-widget-text-editor,
body.page-id-9 .cks-contact-hero > .cks-lead,
body.page-id-9 .elementor-element.cks-contact-hero > .cks-h1 + .elementor-widget-text-editor,
body.page-id-9 .elementor-element.cks-contact-hero > .cks-lead {
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  max-width: 32rem !important;
}
body.page-id-9 .cks-contact-hero .cks-lead,
body.page-id-9 .cks-contact-hero .cks-lead p,
body.page-id-9 .cks-contact-hero > .elementor-widget-text-editor p,
body.page-id-9 .elementor-element.cks-contact-hero .cks-lead,
body.page-id-9 .elementor-element.cks-contact-hero .cks-lead p,
body.page-id-9 .elementor-element.cks-contact-hero > .elementor-widget-text-editor p {
  font-size: 1.2rem !important;
  line-height: 1.65 !important;
  max-width: 32rem !important;
  color: var(--ink) !important;
  margin: 0 !important;
}
@media (min-width: 768px) {
  body.page-id-9 .cks-contact-hero,
  body.page-id-9 .elementor-element.cks-contact-hero,
  body.cks-contact-page .cks-contact-hero,
  body.cks-contact-page .elementor-element.cks-contact-hero {
    grid-template-columns: 1.1fr 1fr !important;
    gap: 4rem !important;
    row-gap: 4rem !important;
    column-gap: 4rem !important;
    align-items: start !important;
    --gap: 4rem !important;
    --row-gap: 4rem !important;
  }
  body.page-id-9 .cks-contact-hero > .cks-h1,
  body.page-id-9 .elementor-element.cks-contact-hero > .cks-h1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  body.page-id-9 .cks-contact-hero > .cks-h1 + .elementor-widget-text-editor,
  body.page-id-9 .cks-contact-hero > .cks-lead,
  body.page-id-9 .elementor-element.cks-contact-hero > .cks-h1 + .elementor-widget-text-editor,
  body.page-id-9 .elementor-element.cks-contact-hero > .cks-lead {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}
/* Hero section pad — Next py-16 / md:py-20 */
body.page-id-9 .elementor-element.cks-section:has(.cks-contact-hero),
body.cks-contact-page .elementor-element.cks-section:has(.cks-contact-hero) {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  gap: 0 !important;
  row-gap: 0 !important;
}
@media (min-width: 768px) {
  body.page-id-9 .elementor-element.cks-section:has(.cks-contact-hero),
  body.cks-contact-page .elementor-element.cks-section:has(.cks-contact-hero) {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}
/* Contact details + form band — Next py-12 / md:py-16 */
body.page-id-9 .elementor-element.cks-section:has(.cks-contact-grid),
body.cks-contact-page .elementor-element.cks-section:has(.cks-contact-grid) {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}
@media (min-width: 768px) {
  body.page-id-9 .elementor-element.cks-section:has(.cks-contact-grid),
  body.cks-contact-page .elementor-element.cks-section:has(.cks-contact-grid) {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}
/* Map section — Next pb-24 */
body.page-id-9 .elementor-element.cks-section:has(.cks-map),
body.cks-contact-page .elementor-element.cks-section:has(.cks-map) {
  padding-top: 0 !important;
  padding-bottom: 6rem !important;
}
/* Contact meta notes match Next --grey-text (teal), not grey-derived */
body.page-id-9 .cks-muted,
body.cks-contact-page .cks-muted {
  color: var(--grey-text) !important;
}
.cks-contact-grid,
.elementor-element.cks-contact-grid {
  --display: grid !important;
  display: grid !important; gap: 3.5rem !important; align-items: start !important; flex-direction: unset !important;
}
@media (min-width: 1024px) {
  .cks-contact-grid,
  .elementor-element.cks-contact-grid {
    --display: grid !important;
    grid-template-columns: 1fr 1.4fr !important; gap: 3.5rem 6rem !important;
  }
}
/*
 * Contact details — Next: outer grid gap-7 (1.75rem); each .detail is a tight stack
 * with h3 + value mt-1 (4px). Elementor stores label + text-editor as flex siblings
 * with default gap:20 + pad:10 → ~33px label→value. Kill that; use mt-1 only.
 */
.cks-contact-details,
.elementor-element.cks-contact-details {
  display: grid !important;
  gap: 1.75rem !important; /* gap-7 */
  padding: 0 !important;
  --gap: 1.75rem !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
}
.cks-detail,
.elementor-element.cks-detail {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  row-gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
}
.cks-detail-label,
.elementor-element.cks-detail-label,
.cks-detail-label .elementor-heading-title,
.cks-detail .cks-detail-label,
.cks-detail .cks-detail-label .elementor-heading-title {
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  line-height: 1.22 !important;
  color: var(--teal-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Next value mt-1 (4px) after label */
.cks-detail > .elementor-widget-text-editor,
.cks-detail > .cks-detail-label + .elementor-widget-text-editor {
  margin: 0.25rem 0 0 !important;
  padding: 0 !important;
}
.cks-detail .elementor-widget-text-editor {
  margin: 0 !important;
  padding: 0 !important;
}
/* Primary values — Next links leading-normal; office/hours p leading-relaxed */
.cks-detail .elementor-widget-text-editor > p:not(.cks-muted),
.cks-detail .elementor-widget-text-editor p:not(.cks-muted) {
  margin: 0 !important;
  font-size: 1.1rem !important;
  color: var(--ink) !important;
  line-height: 1.625 !important; /* leading-relaxed */
}
.cks-detail a {
  color: var(--ink) !important;
  text-decoration: none !important;
  display: block !important;
  font-size: 1.1rem !important;
  line-height: 1.5 !important; /* Next leading-normal → 26.4px @1.1rem */
}
/* Office / hours body copy lives in text-editor; force Next 1.1rem + leading-relaxed */
.cks-detail .elementor-widget-text-editor,
.cks-detail .elementor-widget-text-editor .elementor-widget-container {
  font-size: 1.1rem !important;
  line-height: 1.625 !important;
  color: var(--ink) !important;
}
.cks-detail a:hover {
  color: var(--teal) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}
/* Secondary notes — must beat text-editor p {1.1rem}; Next 0.9rem + grey-text */
.cks-detail .cks-muted,
.cks-detail .elementor-widget-text-editor .cks-muted,
.cks-detail .elementor-widget-text-editor p.cks-muted,
.cks-muted {
  display: block !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  color: var(--grey-derived) !important;
  margin: 0 !important; /* measured Next phone→WA / hours→tz gap is 0 (collapsed mt-1) */
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body.page-id-9 .cks-detail .cks-muted,
body.cks-contact-page .cks-detail .cks-muted,
body.page-id-9 .cks-detail .elementor-widget-text-editor .cks-muted,
body.cks-contact-page .cks-detail .elementor-widget-text-editor .cks-muted,
body.page-id-9 .cks-muted,
body.cks-contact-page .cks-muted {
  color: var(--grey-text) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
}
/* Next: aspect-[4/3] md:aspect-[21/8] */
.cks-map {
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(45,45,39,0.1);
  background: #E4E0D8; aspect-ratio: 4 / 3; position: relative;
}
@media (min-width: 768px) {
  .cks-map { aspect-ratio: 21 / 8; }
}
.cks-map-frame {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(0.35); position: absolute; inset: 0; min-height: 0;
}
.cks-map-meta { margin-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.95rem; color: var(--grey-derived); }
.cks-map-meta a { color: var(--teal); }

/* DFS campaign — pixel-faithful to Next app/dfs/page.tsx */
.cks-dfs-page { background: #F4F1E8; color: #15201E; overflow-x: clip; }
.cks-dfs-hero { background: #043D3B; color: #F3EFEA; position: relative; overflow-x: clip; }
.cks-dfs-hero-glow { position: absolute; top: 0; right: 0; width: 500px; height: 500px; background: rgba(72,157,150,0.1); border-radius: 999px; filter: blur(48px); pointer-events: none; }
.cks-dfs-inner { max-width: 1120px; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 1; }
@media (min-width: 640px) { .cks-dfs-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .cks-dfs-inner { padding: 0 2rem; } }
.cks-dfs-inner-wide { max-width: 1180px; padding-left: 1.5rem; padding-right: 1.5rem; }
.cks-dfs-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0; border-bottom: 1px solid rgba(72,157,150,0.2);
}
.cks-dfs-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); display: block; }
@media (min-width: 640px) { .cks-dfs-logo img { height: 36px; } }
.cks-dfs-badge {
  background: #489D96; color: #043D3B; font-family: var(--head); font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.375rem 0.875rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.cks-dfs-hero-body { padding: 3rem 0 4rem; }
@media (min-width: 640px) { .cks-dfs-hero-body { padding: 4rem 0 5rem; } }
@media (min-width: 768px) { .cks-dfs-hero-body { padding: 4.25rem 0 5.5rem; } }
/* Next computed: p/h1 margin 0; rhythm from structural <br /> only (mb-* classes don't win) */
.cks-dfs-greet { color: #489D96; font-weight: 500; font-size: 18px; margin: 0; letter-spacing: 0.025em; }
.cks-dfs-spacer { display: none; }
.cks-dfs-hero-row { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 3rem; }
@media (min-width: 768px) {
  .cks-dfs-hero-row { flex-direction: row; align-items: flex-end; }
}
.cks-dfs-hero-copy { flex: 999 1 520px; width: 100%; max-width: 64rem; }
.cks-dfs-hero h1 {
  /* Next measures ~1.22 (global heading) over leading-[1.1] */
  font-family: var(--head); font-weight: 600; font-size: 34px; line-height: 1.22;
  letter-spacing: -0.01em; margin: 0; color: #F3EFEA;
}
@media (min-width: 640px) { .cks-dfs-hero h1 { font-size: 48px; } }
@media (min-width: 768px) { .cks-dfs-hero h1 { font-size: 56px; } }
.cks-dfs-lead { font-size: 17px; line-height: 1.65; max-width: 620px; margin: 0; opacity: 0.92; color: #F3EFEA; } /* Next measured lh 28.05 */
@media (min-width: 768px) { .cks-dfs-lead { font-size: 19px; } }
/* Match Next: break after "so," only from md up; keep "so your..." on one flow otherwise */
.cks-dfs-br-md { display: none; }
@media (min-width: 768px) { .cks-dfs-br-md { display: inline; } }
.cks-dfs-br-sm { display: none; }
@media (min-width: 640px) { .cks-dfs-br-sm { display: inline; } }
.cks-dfs-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.cks-dfs-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 0.5rem;
  /* Next solid: px-6 py-3.5; ghost: px-5 py-3.5 — match solid padding as default */
  padding: 0.875rem 1.5rem; font-size: 16px; text-decoration: none !important; font-weight: 600;
  line-height: 1.5; /* Next measures taller action stack (~121px vs 110) */
}
.cks-dfs-btn svg { flex-shrink: 0; }
.cks-dfs-btn-solid { background: #F3EFEA !important; color: #043D3B !important; box-shadow: 0 1px 2px rgba(0,0,0,0.06); border: 0 !important; }
.cks-dfs-btn-solid:hover { background: #fff !important; color: #043D3B !important; }
.cks-dfs-btn-ghost { background: transparent !important; color: #F3EFEA !important; border: 1px solid rgba(255,255,255,0.6) !important; padding-left: 1.25rem; padding-right: 1.25rem; }
.cks-dfs-btn-ghost:hover { background: rgba(255,255,255,0.05) !important; color: #F3EFEA !important; }
.cks-dfs-btn-ghost span, .cks-dfs-btn-ghost svg { color: #F3EFEA !important; fill: currentColor; }
.cks-dfs-card-wrap { flex: 1 1 380px; align-self: flex-end; max-width: 380px; width: 100%; margin-top: 2rem; }
@media (min-width: 768px) { .cks-dfs-card-wrap { margin-top: 0; } }
.cks-dfs-card {
  background: #2D2D27; border-radius: 0.75rem; padding: 1.25rem; display: flex; gap: 1rem; align-items: center;
  max-width: 380px; width: 100%; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  /* Next: wrap flex-basis 380px + card mt-8 (no collapse — wrap is a flex item with definite size) */
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .cks-dfs-card { margin-top: 0; }
}
.cks-dfs-card img { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; border: 2px solid #489D96; flex-shrink: 0; }
.cks-dfs-card strong { display: block; font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.25; color: #F3EFEA; }
.cks-dfs-card span { display: block; font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 500; margin-top: 0.15rem; }
.cks-dfs-card a { display: block; font-size: 14px; margin-top: 0.25rem; color: #489D96 !important; text-decoration: none; word-break: break-all; }
.cks-dfs-card a:hover { text-decoration: underline; }
.cks-dfs-card a.cks-dfs-card-tel { color: rgba(255,255,255,0.8) !important; }

.cks-dfs-band { padding: 5rem 0; }
.cks-dfs-band-cream { background: #F4F1E8; border-bottom: 1px solid rgba(229,229,229,0.6); }
.cks-dfs-band-cream2 { background: #F3EFEA; }
.cks-dfs-band-white { background: #fff; }
.cks-dfs-band-dark { background: #2D2D27; color: #F3EFEA; padding: 4rem 0; }
@media (min-width: 640px) { .cks-dfs-band-dark { padding: 5rem 0; } }
/* Next: kicker/h2 margins compute 0; rhythm from structural <br /> */
.cks-dfs-kicker { font-family: var(--head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #043D3B; margin: 0; }
.cks-dfs-kicker-muted { color: rgba(4,61,59,0.7); font-weight: 700; letter-spacing: 0.1em; margin: 0; }
.cks-dfs-band h2, .cks-dfs-h-teal {
  font-family: var(--head); font-weight: 600; font-size: 28px; line-height: 1.2; color: #15201E; margin: 0; max-width: 720px;
}
@media (min-width: 640px) { .cks-dfs-band h2, .cks-dfs-h-teal { font-size: 34px; } }
@media (min-width: 768px) { .cks-dfs-band h2, .cks-dfs-h-teal { font-size: 38px; } }
.cks-dfs-h-teal { color: #043D3B !important; }
.cks-dfs-h-cream { font-family: var(--head); font-weight: 600; font-size: 1.5rem; color: #F3EFEA; margin: 0 0 2.5rem; }
@media (min-width: 640px) { .cks-dfs-h-cream { font-size: 1.875rem; } }
.cks-dfs-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 640px) { .cks-dfs-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cks-dfs-cards { grid-template-columns: repeat(4, 1fr); } }
.cks-dfs-cards article {
  background: #fff; border-radius: 16px; padding: 1.75rem; border: 1px solid rgba(229,229,229,0.5);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04); display: flex; flex-direction: column; height: 100%;
}
.cks-dfs-ico { margin-bottom: 1rem; color: #043D3B; }
.cks-dfs-cards h3 { font-family: var(--head); font-weight: 600; font-size: 20px; margin: 0 0 0.75rem; color: #15201E; line-height: 1.35; }
@media (min-width: 640px) {
  .cks-dfs-cards h3 { min-height: 56px; } /* 2-col+ titles align; mobile single-col must not pad short titles */
}
.cks-dfs-cards p { margin: 0; font-size: 15px; line-height: 1.6; color: #625D57; flex-grow: 1; }
.cks-dfs-note { margin: 2rem 0 0; font-size: 15px; color: #043D3B; } /* mt-8 after structural <br /> */

.cks-dfs-why { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .cks-dfs-why { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.cks-dfs-why-copy .cks-dfs-h-teal { margin-bottom: 2rem; max-width: none; font-size: 1.5rem; }
@media (min-width: 640px) { .cks-dfs-why-copy .cks-dfs-h-teal { font-size: 1.875rem; } }
@media (min-width: 1024px) { .cks-dfs-why-copy .cks-dfs-h-teal { font-size: 2.25rem; } }
.cks-dfs-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; max-width: 540px; }
.cks-dfs-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
@media (min-width: 640px) { .cks-dfs-points li { font-size: 16px; } }
.cks-dfs-points li > svg { flex-shrink: 0; margin-top: 3px; color: #1D4E4A; }
.cks-dfs-points strong { font-family: var(--head); font-weight: 600; color: #1D4E4A; margin-right: 0.25rem; }
.cks-dfs-points em { font-style: normal; color: #625D57; }
.cks-dfs-why-side { display: flex; flex-direction: column; gap: 1.5rem; }
.cks-dfs-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 640px) { .cks-dfs-stat-grid { gap: 1.5rem; } }
.cks-dfs-stat { background: #F3EFEA; border-radius: 0.75rem; padding: 1.5rem; border: 1px solid rgba(229,229,229,0.8); }
.cks-dfs-stat span { display: block; font-family: var(--head); font-weight: 700; font-size: 2.25rem; color: #043D3B; line-height: 1; }
@media (min-width: 640px) { .cks-dfs-stat span { font-size: 3rem; } }
.cks-dfs-stat small { display: block; font-size: 0.75rem; color: rgba(45,45,39,0.75); margin-top: 0.5rem; font-weight: 500; }
@media (min-width: 640px) { .cks-dfs-stat small { font-size: 0.875rem; } }
.cks-dfs-panel { background: #F3EFEA; border-radius: 0.75rem; padding: 1.5rem; border: 1px solid rgba(229,229,229,0.8); }
.cks-dfs-panel h3 { font-family: var(--head); font-weight: 600; font-size: 1rem; color: #043D3B; margin: 0 0 0.5rem; }
.cks-dfs-panel p { margin: 0; font-size: 0.875rem; line-height: 1.6; color: rgba(45,45,39,0.8); }
.cks-dfs-quote { margin: 0; background: #043D3B; color: #F3EFEA; border-radius: 0.75rem; padding: 1.5rem; border: 1px solid rgba(72,157,150,0.3); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
@media (min-width: 640px) { .cks-dfs-quote { padding: 1.75rem; } }
.cks-dfs-quote p { margin: 0; font-size: 0.875rem; line-height: 1.6; font-style: italic; color: rgba(243,239,234,0.95); }
@media (min-width: 640px) { .cks-dfs-quote p { font-size: 1rem; } }
.cks-dfs-quote footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(72,157,150,0.3); display: flex; justify-content: space-between; gap: 1rem; font-size: 0.75rem; color: rgba(243,239,234,0.7); }
.cks-dfs-quote footer span:first-child { font-weight: 600; color: #489D96; }

.cks-dfs-data-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cks-dfs-data-grid { grid-template-columns: repeat(3, 1fr); } }
.cks-dfs-data-grid > div { border-top: 2px solid #489D96; padding-top: 1.25rem; }
.cks-dfs-data-grid h3 { font-family: var(--head); font-weight: 600; font-size: 1.125rem; color: #F3EFEA; margin: 0 0 0.5rem; }
.cks-dfs-data-grid p { margin: 0; font-size: 0.875rem; line-height: 1.6; color: rgba(243,239,234,0.75); }
@media (min-width: 640px) { .cks-dfs-data-grid p { font-size: 1rem; } }

.cks-dfs-contact { display: grid; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 1024px) { .cks-dfs-contact { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.cks-dfs-contact-copy .cks-dfs-h-teal { margin-bottom: 1rem; font-size: 1.5rem; }
@media (min-width: 640px) { .cks-dfs-contact-copy .cks-dfs-h-teal { font-size: 1.875rem; } }
@media (min-width: 1024px) { .cks-dfs-contact-copy .cks-dfs-h-teal { font-size: 2.25rem; } }
.cks-dfs-contact-copy > p { color: rgba(45,45,39,0.8); font-size: 1rem; line-height: 1.65; margin: 0 0 2rem; }
@media (min-width: 640px) { .cks-dfs-contact-copy > p { font-size: 1.125rem; } }
.cks-dfs-cal {
  display: inline-flex; align-items: center; background: #1D4E4A; color: #F4F1E8; font-weight: 600;
  padding: 0.875rem 1.5rem; border-radius: 4px; text-decoration: none; font-size: 16px; margin-bottom: 1.25rem;
}
.cks-dfs-cal:hover { opacity: 0.9; }
.cks-dfs-pdf { display: block; color: #1D4E4A; font-weight: 600; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 4px; }
.cks-dfs-form-card { background: #fff; border-radius: 16px; padding: 2rem; border: 1px solid rgba(229,229,229,0.8); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
@media (min-width: 640px) { .cks-dfs-form-card { padding: 2.25rem; } }
.cks-dfs-form { display: flex; flex-direction: column; gap: 1rem; }
.cks-dfs-form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cks-dfs-form-row { grid-template-columns: 1fr 1fr; } }
.cks-dfs-field label { display: block; font-size: 15px; font-weight: 600; color: #1D4E4A; margin-bottom: 0.375rem; }
.cks-dfs-field label span { color: #489D96; }
.cks-dfs-field input, .cks-dfs-field textarea {
  width: 100%; border: 1px solid #a3a3a3; background: transparent; padding: 0.625rem 1rem; border-radius: 4px;
  color: #15201E; font: inherit; box-sizing: border-box;
}
.cks-dfs-field input:focus, .cks-dfs-field textarea:focus { outline: none; border-color: #1D4E4A; }
.cks-dfs-send {
  width: 100%; background: #1D4E4A; color: #F4F1E8; font-weight: 600; padding: 0.875rem; border: 0; border-radius: 4px;
  font-size: 1rem; cursor: pointer; font-family: var(--head);
}
.cks-dfs-send:hover { opacity: 0.9; }
.cks-dfs-form-error { padding: 0.875rem; border-radius: 4px; background: #FDEDED; border: 1px solid #F5C2C7; color: #842029; font-size: 0.875rem; }
.cks-dfs-form-success { text-align: center; padding: 2rem 0; }
.cks-dfs-ok { width: 48px; height: 48px; margin: 0 auto 1rem; border-radius: 999px; background: rgba(72,157,150,0.2); color: #043D3B; display: grid; place-items: center; font-size: 1.25rem; }
.cks-dfs-form-success h3 { font-family: var(--head); color: #043D3B; margin: 0 0 0.5rem; }
.cks-dfs-form-success a { font-size: 0.75rem; font-weight: 600; color: #043D3B; }

.cks-dfs-lanka {
  background: #fff; border-radius: 16px; padding: 2rem; border: 1px solid rgba(229,229,229,0.8);
  display: flex; flex-direction: column; gap: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
@media (min-width: 768px) {
  .cks-dfs-lanka { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; }
}
.cks-dfs-lanka h2 { font-family: var(--head); font-weight: 600; font-size: 1.25rem; color: #043D3B; margin: 0; }
@media (min-width: 640px) { .cks-dfs-lanka h2 { font-size: 1.5rem; } }
.cks-dfs-lanka p { margin: 0.375rem 0 0; font-size: 0.875rem; color: rgba(45,45,39,0.8); line-height: 1.6; }
@media (min-width: 640px) { .cks-dfs-lanka p { font-size: 1rem; } }
.cks-dfs-lanka > a {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  border: 1px solid #1D4E4A; color: #1D4E4A; font-weight: 600; padding: 0.75rem 1.5rem; border-radius: 4px;
  text-decoration: none; font-size: 0.875rem; flex-shrink: 0;
}
.cks-dfs-lanka > a:hover { background: rgba(29,78,74,0.05); }

.cks-dfs-foot { background: #043D3B; color: #F3EFEA; padding: 3rem 0; border-top: 1px solid rgba(72,157,150,0.2); }
.cks-dfs-foot-top {
  display: flex; flex-direction: column; gap: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(72,157,150,0.2);
}
@media (min-width: 768px) { .cks-dfs-foot-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.cks-dfs-foot-top img { height: 28px; width: auto; filter: brightness(0) invert(1); display: block; }
@media (min-width: 640px) { .cks-dfs-foot-top img { height: 32px; } }
.cks-dfs-foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; font-size: 0.75rem; color: rgba(243,239,234,0.8); }
@media (min-width: 640px) { .cks-dfs-foot-links { font-size: 0.875rem; } }
.cks-dfs-foot-links a { color: inherit; text-decoration: none; }
.cks-dfs-foot-links a:hover { color: #fff; }
.cks-dfs-foot-links > span[aria-hidden] { color: rgba(72,157,150,0.4); display: none; }
@media (min-width: 640px) { .cks-dfs-foot-links > span[aria-hidden] { display: inline; } }
.cks-dfs-foot-bot { padding-top: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.75rem; color: rgba(243,239,234,0.6); }
@media (min-width: 640px) { .cks-dfs-foot-bot { flex-direction: row; } }
.cks-dfs-foot-bot p { margin: 0; }
.cks-dfs-camp { color: #489D96 !important; }

/* Sub-service hero (match Next teal centered band) */
/* Next sub-service hero: py-20 / md:py-28 (80px / 112px) — beat .cks-section 4.5rem */
.cks-sub-hero,
.elementor-element.cks-sub-hero,
.cks-section.cks-sub-hero.e-con {
  text-align: center;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}
@media (min-width: 768px) {
  .cks-sub-hero,
  .elementor-element.cks-sub-hero,
  .cks-section.cks-sub-hero.e-con {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
  }
}
.cks-sub-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cks-sub-hero-title .elementor-heading-title,
.cks-sub-hero .cks-h1 .elementor-heading-title,
.cks-sub-hero .cks-h1.cks-sub-hero-title .elementor-heading-title,
.cks-teal.cks-sub-hero .elementor-heading-title,
.elementor-element.cks-sub-hero .elementor-element.cks-h1 .elementor-heading-title {
  color: #ffffff !important; max-width: 28ch; margin-left: auto; margin-right: auto;
  font-size: clamp(2.3rem, 4.5vw, 3.6rem) !important; line-height: 1.22 !important; font-weight: 600 !important;
}
.cks-sub-hero .cks-h1,
.cks-sub-hero .elementor-widget-heading.cks-h1,
.cks-teal.cks-sub-hero .cks-h1 { color: #ffffff !important; }
/* Next sub-service crumbs: bg-white (strategy/consulting family) */
body:has(.cks-sub-hero) .cks-crumbs-bar,
body:has(.cks-sub-hero) .elementor-element.cks-crumbs-bar {
  background: #ffffff !important;
}
/* Next muted band #F8F7F3 — apply via Elementor class cks-sand */
.cks-sand,
.elementor-element.cks-sand,
.cks-section.cks-sand {
  background: #F8F7F3 !important;
}
/* Service/sub-service content bands: Next py-24 at all breakpoints (not only md) */
body:has(.cks-sub-hero) .cks-section.e-con:not(.cks-sub-hero):not(.cks-section-tight):not(.cks-teal),
body:has(.cks-sub-hero) .elementor-element.cks-section:not(.cks-sub-hero):not(.cks-section-tight):not(.cks-teal) {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
/* Closing CTA band: Next py-20 md:py-24 bg-[#0B3B36] (not site teal) */
body:has(.cks-sub-hero) .cks-section.cks-teal:not(.cks-sub-hero),
body:has(.cks-sub-hero) .elementor-element.cks-section.cks-teal:not(.cks-sub-hero) {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
  background: #0B3B36 !important;
}
@media (min-width: 768px) {
  body:has(.cks-sub-hero) .cks-section.cks-teal:not(.cks-sub-hero),
  body:has(.cks-sub-hero) .elementor-element.cks-section.cks-teal:not(.cks-sub-hero) {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
}
/* Service intro kickers missing from Elementor vs Next uppercase spans */
/* Sections after sub-hero often omit cks-white — match .cks-section only */
body.page-id-92 .cks-sub-hero + .cks-section .cks-h2 .elementor-heading-title::before,
body.page-id-92 .cks-sub-hero + .elementor-element.cks-section .cks-h2 .elementor-heading-title::before,
body.page-id-72 .cks-sub-hero + .cks-section .cks-h2 .elementor-heading-title::before,
body.page-id-72 .cks-sub-hero + .elementor-element.cks-section .cks-h2 .elementor-heading-title::before {
  display: block;
  font-family: var(--head);
  font-size: 0.85rem;
  font-weight: 700;
  color: #5CB39F;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  /* Next: kicker mb-4 + structural <br /> before H2 ≈ 1rem + 1.25rem */
  margin: 0 0 2.25rem;
  line-height: 1.4;
}
body.page-id-92 .cks-sub-hero + .cks-section .cks-h2 .elementor-heading-title::before,
body.page-id-92 .cks-sub-hero + .elementor-element.cks-section .cks-h2 .elementor-heading-title::before {
  content: "STRATEGY CONSULTING";
}
body.page-id-72 .cks-sub-hero + .cks-section .cks-h2 .elementor-heading-title::before,
body.page-id-72 .cks-sub-hero + .elementor-element.cks-section .cks-h2 .elementor-heading-title::before {
  content: "BEST PRACTICE BENCHMARKING STUDIES";
}
.cks-sub-hero .elementor-widget-text-editor,
.cks-sub-hero .elementor-widget-text-editor * { color: #D1E0DF !important; }
/* Kit was forcing Roboto — Next lead is Inter 1.15rem/1.7; shorter wraps shifted CTAs ~40px */
.cks-sub-hero .elementor-widget-text-editor,
.cks-sub-hero .elementor-widget-text-editor p,
.cks-sub-hero-sub,
.cks-sub-hero-sub p {
  font-family: Inter, "Segoe UI", system-ui, sans-serif !important;
  font-size: 1.15rem !important;
  line-height: 1.65 !important; /* Next measured 30.36/18.4 */
  color: #D1E0DF !important;
  max-width: 42rem;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cks-sub-hero-sub { margin: 0 auto !important; }
/* Next uses <br> spacers; Elementor e-con gap:20 on hero + inner — zero both */
.cks-sub-hero,
.elementor-element.cks-sub-hero,
.cks-section.cks-sub-hero.e-con,
.cks-sub-hero-inner,
.elementor-element.cks-sub-hero-inner,
.cks-sub-hero .cks-wrap {
  gap: 0 !important;
  row-gap: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --widgets-spacing: 0px !important;
}
.cks-sub-hero-inner > .cks-h1,
.cks-sub-hero-inner > .elementor-widget-heading,
.cks-sub-hero > .cks-wrap > .cks-h1,
.cks-sub-hero > .cks-wrap > .elementor-widget-heading {
  margin: 0 0 1.7rem !important; /* Next measured H1→lead ≈27.2px */
}
.cks-sub-hero-inner > .elementor-widget-text-editor,
.cks-sub-hero > .cks-wrap > .elementor-widget-text-editor,
.cks-sub-hero .cks-sub-hero-sub,
.cks-sub-hero .elementor-widget-text-editor p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Content bands under sub-hero: Elementor gap:20 inflated scroll height vs Next */
body:has(.cks-sub-hero) .cks-section.e-con:not(.cks-sub-hero),
body:has(.cks-sub-hero) .elementor-element.cks-section:not(.cks-sub-hero) {
  gap: 0 !important;
  row-gap: 0 !important;
  --gap: 0px !important;
}
/* CTA margin: see .cks-sub-hero-ctas block below (1.5rem + br on all sizes ≈ 2.75rem measured) */
.cks-sub-hero-ctas,
.cks-sub-hero-ctas.e-con,
.elementor-element.cks-sub-hero-ctas,
.cks-sub-hero .cks-sub-hero-ctas {
  --display: flex !important;
  --flex-direction: row !important;
  --align-items: center !important;
  --justify-content: center !important;
  display: flex !important; flex-direction: row !important; flex-wrap: wrap !important;
  align-items: center !important; justify-content: center !important; gap: 1rem !important;
  /* md+: Next lead→CTA measured ~52px (br + mt-6); 1.5rem left CTAs ~18px early at tablet */
  margin-top: 2.625rem !important;
  width: 100% !important;
}
/*
 * Next mobile CTA stack ~125px (gap-4). Elementor button widgets often inject
 * vertical margins → ~144px; zero those so only the flex gap remains.
 * Mobile measured lead→CTA ≈ 51px (br + mt-6).
 */
@media (max-width: 767.98px) {
  .cks-sub-hero-ctas,
  .cks-sub-hero-ctas.e-con,
  .elementor-element.cks-sub-hero-ctas,
  .cks-sub-hero .cks-sub-hero-ctas,
  .cks-sub-hero-inner > .cks-sub-hero-ctas {
    margin-top: 3.2rem !important;
    gap: 1rem !important;
    row-gap: 1rem !important;
    --gap: 1rem !important;
    --row-gap: 1rem !important;
    /* Elementor was adding 10px pad → stack 144px vs Next ~125px */
    padding: 0 !important;
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
    --padding-left: 0px !important;
    --padding-right: 0px !important;
  }
  .cks-sub-hero-ctas > .e-con,
  .cks-sub-hero-ctas > .elementor-element,
  .cks-sub-hero-ctas .elementor-widget,
  .cks-sub-hero-ctas .elementor-widget-button,
  .cks-sub-hero-ctas .elementor-widget-container,
  .cks-sub-hero-ctas .elementor-button-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    --margin-block-start: 0px !important;
    --margin-block-end: 0px !important;
  }
}
.cks-sub-hero-inner,
.elementor-element.cks-sub-hero-inner {
  align-items: center !important; text-align: center !important;
}
.cks-sub-hero-ctas .elementor-widget-button,
.cks-sub-hero-ctas .elementor-widget-button .elementor-button-wrapper { width: auto !important; }
.cks-sub-hero-ctas .elementor-widget-button a { width: auto !important; display: inline-flex !important; }
.cks-sub-hero a.elementor-button-link.cks-btn-solid,
.cks-sub-hero .elementor-widget-button:first-of-type a {
  background: #5CB39F !important; color: #2D2D27 !important; border: 0 !important;
  border-radius: 6px !important; padding: 0.875rem 2rem !important; font-weight: 500 !important;
  font-size: 1rem !important; line-height: 1.25 !important; min-height: 54px !important;
  align-items: center !important; box-sizing: border-box !important;
  /* Kit forces Roboto — Next hero CTAs use Poppins (narrower glyphs → ~220px vs 202px) */
  font-family: var(--head), Poppins, sans-serif !important;
}
.cks-sub-hero .elementor-widget-button:not(:first-of-type) a {
  background: transparent !important; color: #fff !important; border: 1px solid #5CB39F !important;
  border-radius: 6px !important; padding: 0.875rem 2rem !important;
  font-size: 1rem !important; line-height: 1.25 !important; min-height: 54px !important;
  align-items: center !important; box-sizing: border-box !important;
  font-family: var(--head), Poppins, sans-serif !important;
}
.cks-sub-hero-ctas > .elementor-widget-button,
.cks-sub-hero-ctas > .elementor-element,
.cks-sub-hero-ctas .elementor-widget-button,
.cks-sub-hero-ctas .elementor-widget-container,
.cks-sub-hero-ctas .elementor-button-wrapper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  --margin-block-start: 0px !important;
  --margin-block-end: 0px !important;
  --padding-top: 0px !important;
  --padding-bottom: 0px !important;
}
.cks-sub-hero-ctas,
.cks-sub-hero-ctas.e-con,
.elementor-element.cks-sub-hero-ctas {
  /* Elementor e-con default min-height/pad was adding ~10px above the buttons */
  min-height: 0 !important;
  align-items: center !important;
}
/*
 * Firefox collapses bare <br> spacers inside Next flex columns to 0px
 * (Chromium/WebKit keep ~20px). WP margins emulate the Chromium rhythm;
 * under Gecko only, drop the synthetic br gaps so WP matches Firefox Next.
 */
@supports (-moz-appearance: none) {
  .cks-sub-hero-inner > .cks-h1,
  .cks-sub-hero-inner > .elementor-widget-heading,
  .cks-sub-hero > .cks-wrap > .cks-h1,
  .cks-sub-hero > .cks-wrap > .elementor-widget-heading {
    margin-bottom: 0 !important;
  }
  .cks-sub-hero-ctas,
  .cks-sub-hero-ctas.e-con,
  .elementor-element.cks-sub-hero-ctas,
  .cks-sub-hero .cks-sub-hero-ctas,
  .cks-sub-hero-inner > .cks-sub-hero-ctas {
    margin-top: 1.5rem !important; /* Next mt-6 only; br height collapses */
    padding: 0 !important;
    min-height: 0 !important;
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
    --padding-left: 0px !important;
    --padding-right: 0px !important;
  }
  /* Next kicker mb-4 only in Firefox (following <br> collapses); Chromium keeps ~2.25rem */
  body.page-id-92 .cks-sub-hero + .cks-section .cks-h2 .elementor-heading-title::before,
  body.page-id-92 .cks-sub-hero + .elementor-element.cks-section .cks-h2 .elementor-heading-title::before,
  body.page-id-72 .cks-sub-hero + .cks-section .cks-h2 .elementor-heading-title::before,
  body.page-id-72 .cks-sub-hero + .elementor-element.cks-section .cks-h2 .elementor-heading-title::before {
    margin-bottom: 1rem !important;
  }
  @media (max-width: 767.98px) {
    .cks-sub-hero-ctas,
    .cks-sub-hero-ctas.e-con,
    .elementor-element.cks-sub-hero-ctas,
    .cks-sub-hero .cks-sub-hero-ctas,
    .cks-sub-hero-inner > .cks-sub-hero-ctas {
      margin-top: 1.5rem !important;
      padding: 0 !important;
    }
  }
}
/* Match Next: crumbs sit on page cream, not a white strip */
.cks-crumbs-bar { background: transparent !important; border-bottom: 1px solid rgba(45,45,39,0.14); }

/* Case listing: filters+grid section must not add cks-section 4.5rem top (Next has no extra band). */
body.page-id-7 .elementor-element.cks-section:has(.cks-filters),
body.page-id-7 .elementor-element.cks-section:has(.cks-case-grid),
body.page-id-7 .elementor-element.cks-section:has(.cks-card-grid) {
  padding-top: 0 !important;
  padding-bottom: 6rem !important; /* Next pb-24 */
}
body.page-id-7 .cks-contact-hero,
body.page-id-7 .elementor-element.cks-contact-hero {
  margin-bottom: 4rem !important; /* md:mb-20 */
}
@media (max-width: 767px) {
  body.page-id-7 .cks-contact-hero,
  body.page-id-7 .elementor-element.cks-contact-hero {
    margin-bottom: 4rem !important; /* mb-16 */
  }
}

/* Testimonials listing page — Next hero stacks H1 then lead (br + 2-col quirk) */
.cks-t-hero,
.elementor-element.cks-t-hero {
  --display: grid !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  /*
   * Mobile Next: 1-col grid with H1, <br/>, lead → two gap-10 rows + br ≈ 107px.
   * Elementor has only H1 + lead, so use a single row-gap matching measured Next.
   */
  gap: 6.7rem !important;
  row-gap: 6.7rem !important;
  column-gap: 0 !important;
  align-items: start !important;
  --gap: 6.7rem !important;
  --row-gap: 6.7rem !important;
  --column-gap: 0px !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
}
.cks-t-hero > .cks-h1,
.elementor-element.cks-t-hero > .cks-h1 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}
.cks-t-hero > .cks-h1 .elementor-heading-title,
.elementor-element.cks-t-hero > .cks-h1 .elementor-heading-title,
body.page-id-8 .cks-t-hero .cks-h1 .elementor-heading-title {
  max-width: 16ch !important;
  font-size: clamp(2.3rem, 5vw, 3.6rem) !important;
  line-height: 1.2 !important;
  color: var(--teal) !important;
}
.cks-t-hero > .cks-h1 + .elementor-widget-text-editor,
.cks-t-hero > .cks-lead,
.elementor-element.cks-t-hero > .cks-h1 + .elementor-widget-text-editor,
.elementor-element.cks-t-hero > .cks-lead {
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  max-width: 32rem !important;
}
.cks-t-hero .cks-lead,
.cks-t-hero .cks-lead p,
.cks-t-hero > .elementor-widget-text-editor p,
.elementor-element.cks-t-hero .cks-lead,
.elementor-element.cks-t-hero .cks-lead p,
.elementor-element.cks-t-hero > .elementor-widget-text-editor p {
  font-size: 1.2rem !important;
  line-height: 1.65 !important;
  max-width: 32rem !important;
  color: var(--ink) !important;
  margin: 0 !important;
}
.cks-cases-hero,
.elementor-element.cks-cases-hero {
  --display: grid !important; display: grid !important; gap: 2rem !important;
}
/* Case listing H1 — page uses cks-contact-hero class in Elementor (not cks-cases-hero). */
body.page-id-7 .cks-h1 .elementor-heading-title,
.cks-cases-hero .cks-h1 .elementor-heading-title,
.elementor-element.cks-cases-hero .cks-h1 .elementor-heading-title,
body.page-id-7 .cks-contact-hero .cks-h1 .elementor-heading-title {
  font-size: clamp(2.25rem, 4vw, 3rem) !important;
  line-height: 1.22 !important;
  color: #0B3B36 !important;
}
body.page-id-7 .cks-contact-hero .cks-lead,
body.page-id-7 .cks-contact-hero .cks-lead p,
.cks-cases-hero .cks-lead,
.cks-cases-hero .cks-lead p {
  color: #404040 !important;
  font-size: 1.125rem !important;
  line-height: 1.625 !important;
}
/* Hero section after crumbs: Next pt-16 / md:pt-20, no bottom pad (mb on grid instead) */
body.page-id-7 .elementor-element.cks-section:has(.cks-contact-hero),
body.cks-site .elementor-element.cks-section:has(.cks-cases-hero),
body.cks-site .elementor-element.cks-section:has(.cks-lead-hero) {
  padding-top: 4rem !important;
  padding-bottom: 0 !important;
}
@media (min-width: 768px) {
  body.page-id-7 .elementor-element.cks-section:has(.cks-contact-hero),
  body.cks-site .elementor-element.cks-section:has(.cks-cases-hero),
  body.cks-site .elementor-element.cks-section:has(.cks-lead-hero) {
    padding-top: 5rem !important;
  }
  /*
   * Next testimonials hero: md grid 1.1fr/1fr with H1, <br/>, lead as siblings —
   * br occupies col2 so lead wraps under H1. Replicate by pinning both to col1
   * with row-gap = gap-16 (4rem). Do NOT place H1|lead side-by-side.
   */
  .cks-t-hero, .elementor-element.cks-t-hero {
    grid-template-columns: 1.1fr 1fr !important;
    align-items: start !important;
    gap: 4rem !important;
    row-gap: 4rem !important;
    column-gap: 4rem !important;
    --gap: 4rem !important;
    --row-gap: 4rem !important;
  }
  .cks-t-hero > .cks-h1,
  .elementor-element.cks-t-hero > .cks-h1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .cks-t-hero > .cks-h1 + .elementor-widget-text-editor,
  .cks-t-hero > .cks-lead,
  .elementor-element.cks-t-hero > .cks-h1 + .elementor-widget-text-editor,
  .elementor-element.cks-t-hero > .cks-lead {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .cks-cases-hero, .elementor-element.cks-cases-hero,
  body.page-id-7 .cks-contact-hero, body.page-id-7 .elementor-element.cks-contact-hero {
    grid-template-columns: 1fr 1fr !important; align-items: start !important; gap: 2rem 4rem !important;
    margin-bottom: 4rem !important;
  }
  .cks-eng-hero, .elementor-element.cks-eng-hero {
    --display: grid !important; display: grid !important;
    grid-template-columns: 1.1fr 1fr !important; align-items: end !important; gap: 2.5rem 4rem !important;
  }
  .cks-eng-hero > .elementor-element:nth-child(1) { grid-column: 1; grid-row: 1; }
  .cks-eng-hero > .elementor-element:nth-child(2) { grid-column: 1; grid-row: 2; }
  .cks-eng-hero > .elementor-element:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
}
.cks-eng-hero,
.elementor-element.cks-eng-hero {
  --display: grid !important; display: grid !important;
  /* Next mobile: title col (h1 + br + h2 mt-2) then gap-10 to lead — not equal 1.25rem stack */
  gap: 0 !important;
  row-gap: 0 !important;
}
/* Next: h1 → <br 20px> → h2.mt-2 ≈ 27px; then gap-10 (40px) before lead */
.cks-eng-hero > .cks-h2,
.elementor-element.cks-eng-hero > .cks-h2 {
  margin-top: 1.7rem !important;
  margin-bottom: 0 !important;
}
.cks-eng-hero > .cks-lead,
.elementor-element.cks-eng-hero > .cks-lead,
.cks-eng-hero > .elementor-widget-text-editor.cks-lead {
  margin-top: 2.5rem !important; /* gap-10 after title stack */
  margin-bottom: 0 !important;
}
.cks-eng-hero .cks-lead p,
.elementor-element.cks-eng-hero .cks-lead p {
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  max-width: 32rem;
  color: var(--ink) !important;
  margin: 0 !important;
}
.cks-eng-hero .cks-h2 .elementor-heading-title {
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* Engagement model sections (match Next lg:grid 1fr / 1.3fr) */
.cks-eng-sec { border-top: 1px solid rgba(45,45,39,0.08); }
.cks-eng-sec--tint { background: rgba(4,61,59,0.02); }
.cks-eng-model, .elementor-element.cks-eng-model {
  --display: grid !important; display: grid !important;
  grid-template-columns: 1fr !important; gap: 3rem !important; align-items: start !important;
}
@media (min-width: 1024px) {
  .cks-eng-model, .elementor-element.cks-eng-model {
    grid-template-columns: 1fr 1.3fr !important; gap: 3rem 5rem !important;
  }
}
.cks-model-label {
  font-family: var(--head); font-weight: 500; font-size: 0.9rem;
  color: var(--teal-muted); margin: 0 0 0.35rem;
}
.cks-eng-best {
  margin-top: 2rem; padding: 1.5rem; border-left: 3px solid var(--teal);
  background: rgba(4,61,59,0.06); border-radius: 0 0.5rem 0.5rem 0;
  font-size: 1rem; color: var(--ink); line-height: 1.6;
}
.cks-eng-best b {
  display: block; font-family: var(--head); font-weight: 600;
  color: var(--teal); margin-bottom: 0.5rem; font-size: 1.1rem;
}
.cks-eng-best--white { background: #fff; box-shadow: 0 1px 2px rgba(45,45,39,0.06); }
/* Next: bg-white p-8 md:p-10 border rounded-[16px] — must beat wrap>child pad:0 */
.cks-eng-panel, .elementor-element.cks-eng-panel,
body.cks-site .elementor-element.cks-eng-panel {
  background: #fff !important;
  border: 1px solid rgba(45,45,39,0.1) !important;
  border-radius: 16px !important;
  padding: 2rem !important; /* p-8 */
  --padding-top: 2rem !important;
  --padding-right: 2rem !important;
  --padding-bottom: 2rem !important;
  --padding-left: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  box-sizing: border-box !important;
}
@media (min-width: 768px) {
  .cks-eng-panel, .elementor-element.cks-eng-panel,
  body.cks-site .elementor-element.cks-eng-panel {
    padding: 2.5rem !important; /* md:p-10 = 40px */
    --padding-top: 2.5rem !important;
    --padding-right: 2.5rem !important;
    --padding-bottom: 2.5rem !important;
    --padding-left: 2.5rem !important;
  }
}
/*
 * Panel vertical rhythm matches Next's h3 margins + explicit <br/> gaps
 * (measured desktop: included→ul 27.2, ul→how 54.4, how→p 27.2).
 * Do NOT use :nth-of-type(2) — Elementor siblings are all <div>, so the
 * second heading is not type-index 2 (that matched the list widget).
 */
body.cks-site .cks-eng-panel > .cks-h3,
body.cks-site .cks-eng-panel > .elementor-widget-heading {
  margin: 0 0 1.7rem !important; /* ~27.2px */
  padding: 0 !important;
}
body.cks-site .cks-eng-panel > .cks-h3 .elementor-heading-title,
body.cks-site .cks-eng-panel > .elementor-widget-heading .elementor-heading-title {
  font-size: 1.3rem !important;
  font-weight: 600 !important; /* Next computed medium → 600 */
  color: var(--teal) !important;
  margin: 0 !important;
  line-height: 1.22 !important;
}
body.cks-site .cks-eng-panel > .elementor-widget-heading ~ .elementor-widget-heading,
body.cks-site .cks-eng-panel > .cks-h3 ~ .cks-h3 {
  margin: 3.4rem 0 1.7rem !important; /* ul→how 54.4 + how→p 27.2 */
}
body.cks-site .cks-eng-panel > .elementor-widget-text-editor {
  margin: 0 !important;
  padding: 0 !important;
}
.cks-eng-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.cks-eng-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 1.05rem; color: var(--ink); line-height: 1.625;
}
.cks-eng-list li > span:first-child { color: var(--teal); margin-top: 0.15rem; flex: none; }
body.cks-site .cks-eng-panel > .elementor-widget-text-editor p {
  margin: 0 !important;
  font-size: 1.05rem !important;
  line-height: 1.625 !important;
  color: var(--ink) !important;
}

/*
 * Elementor e-flex columns default to ~20px gap; Next uses margin/<br/> only.
 * Stacking both inflated Best-for / CTA description positions (~+20px).
 */
body.page-id-14 .cks-eng-model > .cks-eng-col,
body.page-id-14 .cks-eng-model > .elementor-element.cks-eng-col,
body.page-id-14 .cks-eng-cta > .cks-eng-col,
body.page-id-14 .cks-eng-cta > .elementor-element.cks-eng-col {
  gap: 0 !important;
  row-gap: 0 !important;
  --gap: 0px !important;
}
/* Kill Elementor e-child 10px vertical padding on model/CTA columns (CTA was +20px tall) */
body.page-id-14 .cks-eng-cta > .cks-eng-col,
body.page-id-14 .cks-eng-cta > .elementor-element.cks-eng-col,
body.page-id-14 .cks-eng-cta > .e-con.e-child,
body.page-id-14 .cks-eng-model > .cks-eng-col:not(.cks-eng-panel),
body.page-id-14 .cks-eng-model > .elementor-element.cks-eng-col:not(.cks-eng-panel) {
  --padding-top: 0px !important;
  --padding-bottom: 0px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* Model sections: no Elementor parent flex gap between wrap and edges */
body.page-id-14 .cks-eng-sec,
body.page-id-14 .elementor-element.cks-eng-sec {
  gap: 0 !important;
  row-gap: 0 !important;
  --gap: 0px !important;
}
/* Left model column — Next h2 then <br/> then p.mt-4 → ~27.2px gap */
body.page-id-14 .cks-eng-col > .cks-h2,
body.page-id-14 .cks-eng-col > .elementor-widget-heading.cks-h2 {
  margin: 0.5rem 0 0 !important; /* mt-2 after Model label */
  padding: 0 !important;
}
body.page-id-14 .cks-eng-col > .cks-lead,
body.page-id-14 .cks-eng-col > .elementor-widget-text-editor.cks-lead {
  margin: 1.7rem 0 0 !important;
  padding: 0 !important;
}
body.page-id-14 .cks-eng-col > .cks-lead .cks-lead,
body.page-id-14 .cks-eng-col > .cks-lead p,
body.page-id-14 .cks-eng-col > .elementor-widget-text-editor.cks-lead p {
  margin: 0 !important;
  max-width: 26rem !important;
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
}
body.page-id-14 .cks-eng-col > .elementor-widget-text-editor:has(.cks-eng-best) {
  margin: 0 !important;
  padding: 0 !important;
}

/* Engagement CTA band — Next py-22 + cream Partner pill */
.cks-eng-cta, .elementor-element.cks-eng-cta {
  --display: grid !important; display: grid !important;
  grid-template-columns: 1fr !important; gap: 2.5rem !important; align-items: center !important;
}
@media (min-width: 768px) {
  .cks-eng-cta, .elementor-element.cks-eng-cta {
    grid-template-columns: 1.3fr 1fr !important; gap: 4rem !important; /* Next md:gap-16 */
  }
  .cks-eng-cta-actions { justify-self: end !important; align-self: center !important; }
}
body.page-id-14 .cks-section.cks-teal,
body.page-id-14 .elementor-element.cks-teal {
  background: var(--teal) !important;
  padding-top: 5.5rem !important; /* py-22 */
  padding-bottom: 5.5rem !important;
  gap: 0 !important;
  row-gap: 0 !important;
  --gap: 0px !important;
}
body.page-id-14 .cks-eng-cta .cks-h2,
body.page-id-14 .cks-eng-cta .elementor-widget-heading.cks-h2 {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-14 .cks-eng-cta .cks-h2 .elementor-heading-title {
  color: var(--cream) !important;
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
  max-width: 18ch !important;
  margin: 0 !important;
  text-align: left !important;
}
body.page-id-14 .cks-eng-cta .elementor-widget-text-editor {
  margin: 1.7rem 0 0 !important; /* Next <br/> gap ~27.2px */
  padding: 0 !important;
}
body.page-id-14 .cks-eng-cta .elementor-widget-text-editor p {
  margin: 0 !important;
  max-width: 30rem !important;
  font-size: 1.1rem !important;
  line-height: 1.65 !important;
  color: var(--teal-quiet) !important;
}
body.page-id-14 .cks-eng-cta-actions,
body.page-id-14 .cks-eng-cta-btn-wrap {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}
/* Root cause: btn-wrap was display:block full column width, so pill sat at column start */
body.page-id-14 .cks-eng-cta-btn-wrap {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100% !important;
}
@media (min-width: 768px) {
  body.page-id-14 .cks-eng-cta-btn-wrap {
    justify-content: flex-end !important;
  }
}
body.page-id-14 a.cks-eng-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  background: var(--cream) !important;
  color: var(--teal) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 1rem 1.75rem !important; /* py-4 px-7 */
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important; /* Next computed 25.6px */
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
body.page-id-14 a.cks-eng-cta-btn:hover {
  background: #fff !important;
  color: var(--teal) !important;
}
body.page-id-14 a.cks-eng-cta-btn .cks-eng-cta-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
body.page-id-14 a.cks-eng-cta-btn:hover .cks-eng-cta-arrow {
  transform: translateX(4px);
}

/* How to Choose — Next centered heading + 3 equal cards */
body.page-id-14 .cks-eng-choose,
body.page-id-14 .elementor-element.cks-eng-choose {
  background: #fff !important;
  border-top: 1px solid rgba(45,45,39,0.08) !important;
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
  gap: 0 !important;
  row-gap: 0 !important;
  --gap: 0px !important;
}
/* Root cause of 86px vs Next 56px: wrap flex gap 20 + title mb 56 */
body.page-id-14 .cks-eng-choose .cks-wrap,
body.page-id-14 .cks-eng-choose .elementor-element.cks-wrap {
  gap: 0 !important;
  row-gap: 0 !important;
  --gap: 0px !important;
}
body.page-id-14 .cks-eng-choose > .cks-wrap > .cks-h2,
body.page-id-14 .cks-eng-choose .cks-wrap > .cks-h2,
body.page-id-14 .cks-eng-choose .cks-wrap > .elementor-widget-heading.cks-h2 {
  margin: 0 0 3.5rem !important; /* Next mb-14 = 56px */
  padding: 0 !important;
}
body.page-id-14 .cks-eng-choose .cks-h2 .elementor-heading-title {
  text-align: center !important;
  font-size: clamp(2rem, 3.6vw, 2.9rem) !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  margin: 0 auto !important;
  max-width: 40rem !important;
}
body.page-id-14 .cks-eng-choose .cks-grid-3 {
  gap: 2rem !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-14 .cks-eng-choose .cks-card {
  background: #fff !important;
  border: 1px solid rgba(45,45,39,0.14) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; /* Tailwind shadow-sm */
  gap: 0 !important;
}
body.page-id-14 .cks-eng-choose .cks-card > .cks-h3,
body.page-id-14 .cks-eng-choose .cks-card > .elementor-widget-heading {
  margin: 0 0 1.7rem !important; /* Next mb-3 + <br/> → ~27.2px */
  padding: 0 !important;
}
body.page-id-14 .cks-eng-choose .cks-card .cks-h3 .elementor-heading-title {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: var(--teal) !important;
  margin: 0 !important;
}
body.page-id-14 .cks-eng-choose .cks-card > .elementor-widget-text-editor {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-14 .cks-eng-choose .cks-card p {
  margin: 0 !important;
  font-size: 1.05rem !important;
  line-height: 1.625 !important;
  color: var(--ink) !important;
}
body.page-id-14 .cks-eng-choose .cks-teal-muted {
  color: var(--teal-muted) !important;
  font-weight: 500 !important;
}
.cks-center { text-align: center; }
.cks-teal-muted { color: var(--teal-muted); font-weight: 500; }

/* Leadership profiles — Next hero: pt-16/20 + grid mb-16/mb-20 */
.cks-lead-hero, .elementor-element.cks-lead-hero {
  margin-bottom: 4rem !important; /* Next mb-16; vertical 10px e-child pad removed separately */
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  align-items: start !important;
}
@media (min-width: 768px) {
  .cks-lead-hero, .elementor-element.cks-lead-hero {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    margin-bottom: 5rem !important; /* md:mb-20 */
  }
}
@media (min-width: 1024px) {
  .cks-lead-hero, .elementor-element.cks-lead-hero {
    gap: 4rem !important; /* lg:gap-16 */
  }
}
/* Listing/page heroes match Next text-4xl/md:text-5xl (#0B3B36) */
.cks-lead-hero .cks-h1 .elementor-heading-title,
.elementor-element.cks-lead-hero .cks-h1 .elementor-heading-title {
  font-size: 2.25rem !important; /* text-4xl */
  line-height: 1.22 !important;
  color: #0B3B36 !important;
  font-weight: 700 !important;
}
@media (min-width: 768px) {
  .cks-lead-hero .cks-h1 .elementor-heading-title,
  .elementor-element.cks-lead-hero .cks-h1 .elementor-heading-title {
    font-size: 3rem !important; /* text-5xl */
  }
}
.cks-lead-hero .cks-lead,
.cks-lead-hero .cks-lead p {
  color: #404040 !important;
  font-family: var(--body) !important; /* kit Roboto wraps the intro one line short at 768 */
  font-size: 1rem !important;
  line-height: 1.65 !important; /* Next Inter leading-relaxed measures 29.7px at 18px */
  margin: 0 !important; /* Elementor/user-agent p margin was 16–18px inside the hero grid */
}
.cks-lead-hero .elementor-widget-container,
.cks-lead-hero .elementor-heading-title {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Elementor e-child default 10px pad: shrinks the 4:5 photo (352→332) and drops the column */
.cks-lead-hero.e-con,
.cks-lead-profile.e-con,
.cks-lead-photo.e-con,
.cks-lead-profile > .e-con.e-child,
.cks-lead-hero > .elementor-widget {
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  padding: 0 !important;
}
@media (min-width: 768px) {
  .cks-lead-hero .cks-lead,
  .cks-lead-hero .cks-lead p {
    font-size: 1.125rem !important;
  }
}
body.cks-site .elementor-element.cks-section:has(.cks-lead-hero) {
  padding-top: 4rem !important;
  padding-bottom: 0 !important;
}
@media (min-width: 768px) {
  body.cks-site .elementor-element.cks-section:has(.cks-lead-hero) {
    padding-top: 5rem !important;
  }
}
/* Profile name: Next clamp(1.8rem,3vw,2.4rem) — not global cks-h2 ~2.9rem */
.cks-lead-profile .cks-h2 .elementor-heading-title,
.elementor-element.cks-lead-profile .cks-h2 .elementor-heading-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  line-height: 1.22 !important;
  color: var(--teal) !important;
  font-weight: 600 !important;
}
/* Role line uses cks-lead in Elementor — force Next teal 1.15rem Poppins medium */
.cks-lead-profile .cks-lead,
.cks-lead-profile .cks-lead p,
.elementor-element.cks-lead-profile .cks-lead,
.elementor-element.cks-lead-profile .cks-lead p {
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1.15rem !important;
  line-height: 1.4 !important;
  color: var(--teal) !important;
  margin: 0.25rem 0 0 !important;
}
.cks-lead-profile .cks-muted,
.cks-lead-profile .cks-muted p,
.elementor-element.cks-lead-profile .cks-muted {
  font-family: var(--head) !important;
  font-weight: 400 !important;
  font-size: 1.05rem !important;
  color: var(--grey-text) !important;
  margin: 0.125rem 0 0 !important;
}
.cks-lead-profile .elementor-widget-text-editor p {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  color: var(--ink) !important;
}
.cks-lead-list .cks-lead-profile + .cks-lead-profile {
  margin-top: 4rem; padding-top: 4rem; border-top: 1px solid rgba(45,45,39,0.14);
}
.cks-lead-profile, .elementor-element.cks-lead-profile {
  --display: grid !important; display: grid !important;
  grid-template-columns: 1fr !important; gap: 3rem !important; /* Next gap-12 */
  align-items: start !important;
}
@media (min-width: 1024px) {
  .cks-lead-profile, .elementor-element.cks-lead-profile {
    grid-template-columns: 1fr 1.4fr !important; gap: 3rem 5rem !important; /* lg:gap-20 */
  }
}
/* Leadership mobile: photo full wrap width (Next w-full max-w-22rem) */
@media (max-width: 1023.98px) {
  /* Next: hero grid mb-16 then profiles — kill Elementor section/widget chrome that adds ~60px */
  body.cks-site .elementor-element.cks-section:has(.cks-lead-hero) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .cks-lead-list.cks-section,
  .elementor-element.cks-lead-list.cks-section {
    padding-top: 0 !important;
  }
  .cks-lead-profile, .elementor-element.cks-lead-profile {
    gap: 3rem !important;
    padding: 0 !important;
    margin-top: 0 !important;
  }
  .cks-lead-photo,
  .elementor-element.cks-lead-photo,
  .cks-lead-photo .elementor-widget-image,
  .cks-lead-photo .elementor-widget-container {
    max-width: 22rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .cks-lead-photo img {
    max-width: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
    object-position: top !important;
    border-radius: 16px !important;
  }
  .cks-lead-profile .cks-h2 .elementor-heading-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
  }
}
.cks-lead-photo .elementor-widget-image img,
.cks-lead-photo img {
  width: 100%; max-width: 22rem; aspect-ratio: 4/5; object-fit: cover; object-position: top;
  border-radius: 16px; display: block;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
/* Photo wrapper matches Next sticky 4:5 max-w-22rem */
.cks-lead-photo, .elementor-element.cks-lead-photo {
  max-width: 22rem; width: 100%;
  border-radius: 16px; overflow: hidden; background: #f5f5f5;
}
.cks-lead-list.cks-section,
.elementor-element.cks-lead-list.cks-section {
  padding-top: 0 !important;
  padding-bottom: 6rem !important;
}
.cks-lead-placeholder {
  aspect-ratio: 4/5; max-width: 22rem; width: 100%; border-radius: 16px;
  background: #E4E0D8; display: grid; place-items: center; text-align: center;
  color: var(--grey-text); font-size: 0.9rem; padding: 1rem; line-height: 1.45;
}
.cks-lead-meta, .elementor-element.cks-lead-meta {
  --display: grid !important; display: grid !important;
  grid-template-columns: 1fr !important; gap: 1.5rem 2.5rem !important;
  margin-top: 2rem; max-width: 36rem;
}
@media (min-width: 640px) {
  .cks-lead-meta, .elementor-element.cks-lead-meta { grid-template-columns: 1fr 1fr !important; }
}
.cks-lead-meta-item {
  border-top: 1px solid rgba(45,45,39,0.14); padding-top: 0.875rem;
}
.cks-lead-meta-item h3 {
  font-family: var(--head); font-weight: 500; font-size: 0.9rem;
  color: var(--teal-muted); margin: 0 0 0.5rem;
}
.cks-lead-meta-item p { margin: 0; font-size: 0.875rem; color: #404040; line-height: 1.5; }
.cks-lead-links { margin-top: 1.5rem; }
.cks-lead-links a {
  font-family: var(--head); font-weight: 500; color: var(--teal);
  text-decoration: underline; text-underline-offset: 6px;
}
.cks-muted { color: var(--grey-text); }
.cks-t-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.cks-t-card {
  background: #fff; border: 1px solid rgba(45,45,39,0.1); border-radius: 16px; padding: 2rem;
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  box-sizing: border-box;
}
@media (min-width: 768px) { .cks-t-card { padding: 3rem; } }
@media (min-width: 1024px) { .cks-t-card { grid-template-columns: 1.4fr 1fr; gap: 3.5rem; } }
.cks-t-quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.cks-t-quote > p {
  font-family: var(--head); font-weight: 500; font-size: 1.25rem; line-height: 1.45; color: var(--teal); margin: 0;
}
@media (min-width: 768px) { .cks-t-quote > p { font-size: 1.3rem; } }
/* Next footer uses --grey-text (#043D3B), not grey-derived */
.cks-t-quote footer { margin-top: 1.5rem; font-size: 0.95rem; color: var(--grey-text); line-height: 1.625; }
.cks-t-quote cite { font-style: normal; font-weight: 600; color: var(--ink); display: block; font-size: 1.05rem; }
.cks-t-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cks-t-tag-solid {
  font-family: var(--head); font-weight: 500; font-size: 0.8rem; color: var(--cream);
  background: var(--teal); padding: 0.25rem 0.75rem; border-radius: 999px;
}
.cks-t-tag {
  font-family: var(--head); font-weight: 500; font-size: 0.8rem; color: var(--teal);
  background: rgba(4,61,59,0.08); padding: 0.25rem 0.75rem; border-radius: 999px;
}
.cks-t-outcomes { border-top: 1px solid rgba(45,45,39,0.14); padding-top: 1.5rem; }
@media (min-width: 1024px) {
  .cks-t-outcomes { border-top: 0; border-left: 1px solid rgba(45,45,39,0.14); padding-top: 0; padding-left: 2.5rem; }
}
.cks-t-outcomes h3 {
  font-family: var(--head); font-weight: 500; font-size: 0.9rem; color: var(--teal-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0;
}
.cks-t-outcomes ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.cks-t-outcomes li {
  position: relative; padding-left: 1.25rem; font-size: 1rem; color: var(--ink); line-height: 1.4;
}
.cks-t-outcomes li::before {
  content: ""; position: absolute; left: 0; top: 0.5rem; width: 8px; height: 8px;
  border-radius: 999px; background: var(--teal);
}

/* Cards section bottom pad — Next pb-24 before CTA */
body.page-id-8 .elementor-element.cks-section:has(.cks-t-list),
body.cks-testimonials-listing .elementor-element.cks-section:has(.cks-t-list) {
  padding-top: 0 !important;
  padding-bottom: 6rem !important; /* pb-24 */
  margin: 0 !important;
}

/* Testimonials CTA — full-bleed Next py-22 band (injected at Elementor root) */
body.page-id-8 .cks-t-cta,
body.cks-testimonials-listing .cks-t-cta {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  clear: both !important;
  background: var(--teal) !important;
  color: var(--cream) !important;
  padding: 5.5rem 0 !important; /* py-22 */
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  gap: 0 !important;
}
body.page-id-8 .cks-t-cta-inner,
body.cks-testimonials-listing .cks-t-cta-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: var(--max, 1180px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
}
@media (min-width: 768px) {
  body.page-id-8 .cks-t-cta-inner,
  body.cks-testimonials-listing .cks-t-cta-inner {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
    flex-direction: unset !important;
  }
  body.page-id-8 .cks-t-cta-actions,
  body.cks-testimonials-listing .cks-t-cta-actions {
    justify-self: end !important;
  }
}
body.page-id-8 .cks-t-cta-title,
body.cks-testimonials-listing .cks-t-cta-title,
body.page-id-8 .cks-t-cta h2,
body.cks-testimonials-listing .cks-t-cta h2 {
  font-family: var(--head) !important;
  font-weight: 600 !important;
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  line-height: 1.22 !important;
  color: var(--cream) !important;
  max-width: 18ch !important;
  margin: 0 !important;
}
body.page-id-8 .cks-t-cta-lead,
body.cks-testimonials-listing .cks-t-cta-lead,
body.page-id-8 .cks-t-cta p,
body.cks-testimonials-listing .cks-t-cta p {
  /* Next: <br/> between H2 and P → measured 27.2px (mt-4 collapses with br) */
  margin: 1.7rem 0 0 !important;
  max-width: 30rem !important;
  font-size: 1.1rem !important;
  line-height: 1.65 !important;
  color: var(--teal-quiet) !important;
}
body.page-id-8 a.cks-t-cta-btn,
body.cks-testimonials-listing a.cks-t-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  background: var(--cream) !important;
  color: var(--teal) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 1rem 1.75rem !important; /* py-4 px-7 */
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  margin: 0 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
body.page-id-8 a.cks-t-cta-btn:hover,
body.cks-testimonials-listing a.cks-t-cta-btn:hover {
  background: #fff !important;
  color: var(--teal) !important;
}
body.page-id-8 a.cks-t-cta-btn .cks-t-cta-arrow,
body.cks-testimonials-listing a.cks-t-cta-btn .cks-t-cta-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
body.page-id-8 a.cks-t-cta-btn:hover .cks-t-cta-arrow,
body.cks-testimonials-listing a.cks-t-cta-btn:hover .cks-t-cta-arrow {
  transform: translateX(4px);
}
.cks-filters button {
  background: transparent; color: var(--teal); border: 1px solid rgba(4,61,59,0.3);
  font-family: var(--head); font-weight: 500; font-size: 0.85rem; padding: 0.375rem 0.875rem; border-radius: 999px; cursor: pointer;
}
.cks-filters button.is-active { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.cks-filters button:hover { background: var(--teal); color: var(--cream); border-color: var(--teal); }

/* Listing filters — match Next outline inactive / solid active */
.cks-filters button {
  font-family: var(--head) !important; font-weight: 500 !important; font-size: 0.85rem !important;
  color: var(--teal) !important; background: transparent !important;
  border: 1px solid rgba(4,61,59,0.3) !important; border-radius: 999px !important;
  padding: 0.375rem 0.875rem !important;
}
.cks-filters button.is-active {
  background: var(--teal) !important; color: var(--cream) !important; border-color: var(--teal) !important;
}

/* Case listing cards — 2 columns from md like Next */
.cks-card-grid-2, .elementor-element.cks-card-grid-2,
ul.cks-card-grid.cks-card-grid-2 { grid-template-columns: 1fr !important; }
@media (min-width: 768px) {
  .cks-card-grid-2, .elementor-element.cks-card-grid-2,
  ul.cks-card-grid.cks-card-grid-2 { grid-template-columns: 1fr 1fr !important; }
}

/* Mobile overflow guard — keep Next --gutter (1.5rem); do not shrink to 1.25rem */
@media (max-width: 767px) {
  .cks-h1 .elementor-heading-title, h1 { overflow-wrap: anywhere; }
  .cks-sub-hero-title .elementor-heading-title { max-width: 100% !important; }
}

/*
 * .cks-rule base = Next border-l column (home engagement models).
 * Card/2-col styles ONLY when the block contains outcomes (legacy HTML) —
 * applying cards globally turned home "How you can work with us" into white cards
 * with title∥description side-by-side (false-positive whole-page QA still passed).
 */
.cks-rule:has(footer),
.cks-rule:has(> ul) {
  background: #fff; border: 1px solid rgba(45,45,39,0.1) !important; border-left: 1px solid rgba(45,45,39,0.1) !important;
  border-radius: 16px; padding: 2rem; margin: 0 0 1.5rem; display: grid; gap: 1.5rem;
}
@media (min-width: 1024px) {
  .cks-rule:has(footer),
  .cks-rule:has(> ul) { grid-template-columns: 1.4fr 1fr; padding: 3rem; gap: 3rem; }
}
.cks-rule:has(footer) > p,
.cks-rule:has(> ul) > p { font-family: var(--head); font-weight: 500; font-size: 1.25rem; line-height: 1.45; color: var(--teal); margin: 0; }
.cks-rule footer { color: var(--grey-derived); font-size: 0.95rem; }
.cks-rule footer strong { display: block; color: var(--ink); font-size: 1.05rem; }
.cks-rule ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(45,45,39,0.14); padding-top: 1.5rem; }
@media (min-width: 1024px) {
  .cks-rule:has(footer) ul,
  .cks-rule:has(> ul) ul { border-top: 0; border-left: 1px solid rgba(45,45,39,0.14); padding-top: 0; padding-left: 2rem; }
}
.cks-rule ul li { position: relative; padding-left: 1.25rem; margin: 0 0 0.75rem; }
.cks-rule ul li::before { content:""; position:absolute; left:0; top:0.45rem; width:8px; height:8px; border-radius:999px; background:var(--teal); }
.cks-rule:has(footer) ul::before,
.cks-rule:has(> ul) ul::before {
  content: "OUTCOMES"; display: block; font-family: var(--head); font-size: 0.9rem; font-weight: 500;
  color: var(--teal-muted); letter-spacing: 0.08em; margin-bottom: 1rem;
}
.cks-story-card {
  display: flex; flex-direction: column; gap: 0.75rem; height: 100%;
  background: #fff; border: 1px solid rgba(45,45,39,0.1); border-radius: 16px; overflow: hidden;
  text-decoration: none; color: inherit; padding: 0 0 1.25rem;
}
.cks-story-card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; background: #E4E0D8; border-radius: 0; }
.cks-story-card .cks-kicker {
  font-family: var(--head); font-size: 0.8rem; font-weight: 500; color: var(--teal);
  background: rgba(4,61,59,0.08); display: inline-flex; align-self: flex-start;
  padding: 0.25rem 0.75rem; border-radius: 999px; margin: 0 1.25rem;
}
.cks-story-card strong {
  font-family: var(--head); font-size: 1.25rem; color: var(--teal); padding: 0 1.25rem; line-height: 1.3;
}
.cks-story-card > span:last-child { padding: 0 1.25rem; color: var(--grey-derived); font-size: 0.95rem; line-height: 1.55; }
ul.cks-card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.cks-case-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; margin: 0 0 1.5rem; }
.cks-case-pill {
  display: inline-flex; align-items: center; font-size: 0.8rem; font-weight: 500;
  padding: 0.375rem 0.875rem; border-radius: 999px; border: 1px solid rgba(45,45,39,0.18);
  background: rgba(255,255,255,0.7); color: #0B3B36;
}
.cks-case-pill em { font-style: normal; color: #737373; margin-right: 0.35rem; }

/* Force Elementor sub-hero centering (overrides e-con defaults) */
.elementor-element.cks-sub-hero,
.elementor-element.cks-sub-hero .cks-sub-hero-inner {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.elementor-element.cks-sub-hero .elementor-widget-heading,
.elementor-element.cks-sub-hero .elementor-heading-title,
.elementor-element.cks-sub-hero .elementor-widget-text-editor,
.elementor-element.cks-sub-hero .cks-sub-hero-sub {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.elementor-element.cks-sub-hero-ctas {
  flex-direction: row !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
}
.elementor-element.cks-sub-hero .elementor-widget-button:first-child a,
.elementor-element.cks-sub-hero a.cks-btn-solid {
  background: #5CB39F !important;
  color: #2D2D27 !important;
  border: 0 !important;
}

/* Filters: kill any solid fill on inactive */
.cks-filters button:not(.is-active) {
  background: transparent !important;
  color: var(--teal) !important;
  border: 1px solid rgba(4,61,59,0.3) !important;
}
.elementor-element.cks-teal,
.elementor-element.cks-sub-hero,
.e-con.cks-teal,
.e-con.cks-sub-hero {
  background-color: #043D3B !important;
  background: #043D3B !important;
}
.elementor-element.cks-sub-hero .elementor-heading-title {
  color: #fff !important;
}
.elementor-element.cks-sub-hero .cks-sub-hero-sub,
.elementor-element.cks-sub-hero .elementor-widget-text-editor,
.elementor-element.cks-sub-hero .elementor-widget-text-editor p {
  color: #D1E0DF !important;
}
/* Elementor container CSS variables for teal bands */
.e-con.cks-teal,
.e-con.cks-sub-hero,
.elementor-element.cks-teal,
.elementor-element.cks-sub-hero {
  --background-color: #043D3B !important;
  --background-color-b: #043D3B !important;
  background-color: #043D3B !important;
  background-image: none !important;
}

/* ===== Root-cause fidelity (1.6.36) ===== */

/*
 * SHARED ROOT CAUSE (measured on our-work/case-listing/insights/leadership):
 * Elementor parent `.e-con.e-parent` sets --padding-left/right: 10px.
 * That stacks on top of `.cks-wrap` gutter (1.5rem), so content left=34px / width=322
 * at 390px vs Next left=24px / width=342. Same +10px left offset at 768.
 * Fix: zero parent section horizontal padding; keep gutter only on `.cks-wrap`.
 */
body.cks-site .elementor-element.e-con.e-parent:has(.cks-wrap),
body.cks-site .elementor-element.e-con.e-parent.cks-section:has(.cks-wrap),
body.cks-site .elementor-element.e-con.e-parent.cks-section-tight:has(.cks-wrap) {
  --padding-left: 0px !important;
  --padding-right: 0px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/*
 * Shared gutter: Next `.wrap` uses px-6 (1.5rem). Elementor often stores 20px on
 * `.cks-wrap` containers and an extra 10px on nested `.e-child` columns → H1 at l=30.
 */
body.cks-site .elementor-element.e-con.cks-wrap:not(.cks-header-bar):not(.cks-footer-grid) {
  --padding-left: 1.5rem !important;
  --padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box;
}
/*
 * Zero nested column gutters inside .cks-wrap so Elementor's 10px e-child
 * padding does not stack on the wrap gutter. EXCEPT card panels that need
 * their own inset (engagement "What's included" white cards).
 * Measured root cause: .cks-eng-panel computed padding was "40px 0px".
 */
body.cks-site .elementor-element.cks-wrap > .e-con.e-child:not(.cks-eng-panel):not(.cks-card),
body.cks-site .elementor-element.e-con.cks-wrap > .e-con.e-child:not(.cks-eng-panel):not(.cks-card) {
  --padding-left: 0px !important;
  --padding-right: 0px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Next headings measure font-weight 600 even with font-bold / Elementor 700 */
body.cks-site .elementor-element.cks-h1 .elementor-heading-title,
body.cks-site .cks-h1 .elementor-heading-title,
body.cks-site h1.elementor-heading-title {
  font-weight: 600 !important;
}

/* Header bar height owned by .cks-header-bar (Next h-[76px]); do not re-override to 77px */

/* Home hero — Next pt ~96/112, pb ~64/80; margin:0 + <br/> rhythm (no flex gap) */
body.page-id-4 .elementor-element.cks-section:has(.cks-h1),
body.home .elementor-element.cks-section:has(.cks-display),
body.page-id-4 .elementor-element-c6 {
  padding-top: 6rem !important;
  padding-bottom: 4rem !important;
  gap: 0 !important;
  row-gap: 0 !important;
}
@media (min-width: 768px) {
  body.page-id-4 .elementor-element.cks-section:has(.cks-h1),
  body.home .elementor-element.cks-section:has(.cks-display),
  body.page-id-4 .elementor-element-c6 {
    padding-top: 7rem !important;
    padding-bottom: 5rem !important;
  }
}
body.page-id-4 .elementor-element.cks-section:has(.cks-h1) > .e-con,
body.page-id-4 .elementor-element.cks-section:has(.cks-display) .cks-wrap,
body.page-id-4 .elementor-element-c6 .cks-wrap,
body.page-id-4 .elementor-element-c6 > .e-con {
  gap: 0 !important;
  row-gap: 0 !important;
  --widgets-spacing: 0px !important;
}
/* Eyebrow: Next Poppins 0.95rem uppercase tracking-wide → wraps to 2 lines @390.
   Apply type on inner text; mb-3 only on the widget (avoid double margin). */
body.page-id-4 .cks-eyebrow,
body.page-id-4 .elementor-element-c1 {
  display: block !important;
  margin: 0 0 0.75rem !important; /* mb-3 */
  padding: 0 !important;
}
body.page-id-4 .cks-eyebrow p,
body.page-id-4 .cks-eyebrow .elementor-heading-title,
body.page-id-4 .elementor-element-c1 p,
body.page-id-4 .elementor-element-c1 .elementor-heading-title {
  display: block !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  letter-spacing: 0.025em !important; /* Tailwind tracking-wide */
  text-transform: uppercase !important;
  color: var(--teal) !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-4 .cks-display,
body.page-id-4 .elementor-element-c2 {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-4 br.cks-home-br {
  display: block;
  content: "";
  line-height: 1.25rem;
  margin: 0;
}
/* Next lead computed ~lh 1.65 / mt≈0 after <br/> */
body.page-id-4 .cks-lead,
body.page-id-4 .cks-lead p,
body.page-id-4 .elementor-element-c3,
body.page-id-4 .elementor-element-c3 p {
  font-size: 1.2rem !important;
  line-height: 1.65 !important;
  max-width: 38rem !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* What We Do — Next mt-10 text link (not a filled button) */
body.page-id-4 .elementor-element-c4 {
  margin: 2.5rem 0 0 !important; /* mt-10 */
  padding: 0 !important;
}
body.page-id-4 .elementor-element-c4 p { margin: 0 !important; }
body.page-id-4 .cks-text-link,
body.page-id-4 .elementor-element-c4 a {
  display: inline-block !important;
  margin-top: 0 !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1.05rem !important;
  color: var(--teal) !important;
  text-decoration: underline !important;
  text-underline-offset: 6px !important;
  text-decoration-thickness: 1.5px !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Our-work: Next crumbs are a full-bleed <nav> with border-b; inner column max-w-4xl px-6.
   Do NOT add wrap vertical padding here — .cks-crumbs already has py-4 (see above). */
body.cks-our-work-dedicated .cks-section-tight:has(.cks-crumbs),
body.cks-our-work-dedicated .elementor-element.cks-section-tight:has(.cks-crumbs),
body.cks-our-work-dedicated .cks-crumbs-bar {
  width: 100% !important;
  max-width: none !important;
  border-bottom: 1px solid rgba(45, 45, 39, 0.14) !important;
  background: #F9F7F2;
}
body.cks-our-work-dedicated .cks-section-tight:has(.cks-crumbs) .cks-wrap {
  max-width: 56rem !important;
}

/* Dedicated our-work pills — Next text-xs / md:text-sm, py-1.5 px-3.5, leading-4 */
body.cks-our-work-dedicated .cks-case-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.625rem !important; /* gap-2.5 */
  margin: 0 0 1.5rem !important; /* mb-6 */
}
body.cks-our-work-dedicated .cks-case-pill {
  font-size: 0.75rem !important;
  line-height: 1rem !important;
  padding: 0.375rem 0.875rem !important;
  white-space: nowrap;
  box-sizing: border-box;
  min-height: 0 !important;
  margin: 0 !important; /* kill Elementor/global span mb (~0.35rem) that inflated wrap height 70→81 */
}
body.cks-our-work-dedicated .cks-case-pill em {
  margin-right: 0.375rem !important; /* mr-1.5 */
  font-weight: 500 !important;
  color: #737373 !important; /* neutral-500 */
}
@media (min-width: 768px) {
  body.cks-our-work-dedicated .cks-case-pill {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
  }
}

/* After hero image, Overview follows immediately.
   Next: img my-6 + section mt-10 collapse to ~40px — do not stack both. */
body.cks-our-work-dedicated .cks-section:has(.cks-h1) {
  padding-bottom: 0 !important;
}
body.cks-our-work-dedicated .cks-section:has(.cks-h1) img,
body.cks-our-work-dedicated .cks-section:has(.cks-h1) .elementor-widget-image img {
  margin-bottom: 0 !important;
}
body.cks-our-work-dedicated .cks-section:has(.cks-h1) + .cks-section {
  padding-top: 2.5rem !important; /* collapsed my-6+mt-10 ≈ 40px */
  padding-bottom: 2.5rem !important;
  gap: 0 !important; /* Elementor gap:20 was stacking with H2 margin → +36px before body */
  row-gap: 0 !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
}
body.cks-our-work-dedicated .cks-section:has(.cks-h2) {
  gap: 0 !important;
  row-gap: 0 !important;
  --widgets-spacing: 0px !important;
}

/* Dedicated our-work section titles — Next text-2xl / md:text-3xl (#0B3B36), not global clamp ~32px */
body.cks-our-work-dedicated .cks-h2 .elementor-heading-title {
  font-size: 1.5rem !important;
  line-height: 1.22 !important; /* Next Overview h ≈29.3 @ 24px */
  color: #0B3B36 !important;
  margin: 0 !important; /* Next H2→body flush (mb-4 in source not observed in capture) */
  letter-spacing: -0.015em !important;
  font-weight: 600 !important;
}
/* Space after H2 comes from the first body paragraph margin / Next prose rhythm */
body.cks-our-work-dedicated .cks-section:has(.cks-h2) .cks-h2 {
  margin: 0 0 0 !important;
  padding: 0 !important;
}
@media (min-width: 768px) {
  body.cks-our-work-dedicated .cks-h2 .elementor-heading-title {
    font-size: 1.875rem !important; /* text-3xl */
  }
}

/* Overview body copy — Next text-base leading 26.4/16 = 1.65 */
body.cks-our-work-dedicated .cks-section:has(.cks-h2) .elementor-widget-text-editor p,
body.cks-our-work-dedicated .cks-section:has(.cks-h2) .cks-lead,
body.cks-our-work-dedicated .cks-section:has(.cks-h2) .cks-prose {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: #404040 !important; /* neutral-700 */
  margin: 0 !important;
}
/* First body block after H2 — Next has ~0 gap; keep 0. Restore tiny lead-in if H2 glyphs clip */
body.cks-our-work-dedicated .cks-section:has(.cks-h2) .cks-h2 + .elementor-widget-text-editor {
  margin-top: 0 !important;
}
@media (min-width: 768px) {
  body.cks-our-work-dedicated .cks-section:has(.cks-h2) .elementor-widget-text-editor p,
  body.cks-our-work-dedicated .cks-section:has(.cks-h2) .cks-lead,
  body.cks-our-work-dedicated .cks-section:has(.cks-h2) .cks-prose {
    font-size: 1.125rem !important;
  }
}

/* Leadership desktop sticky photo (Next lg:sticky) */
@media (min-width: 1024px) {
  .cks-lead-photo, .elementor-element.cks-lead-photo {
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}

body.page-id-7 .cks-case-grid,
body.page-id-7 ul.cks-card-grid {
  gap: 1.5rem !important;
}

/* Case listing hero — higher specificity than the clamp() rule, which was winning at 768 (4vw < 2.25rem). */
body.page-id-7 .cks-contact-hero .cks-h1 .elementor-heading-title {
  font-size: 2.25rem !important; /* text-4xl */
  line-height: 1.22 !important;
  font-weight: 600 !important;
}
@media (min-width: 768px) {
  body.page-id-7 .cks-contact-hero .cks-h1 .elementor-heading-title {
    font-size: 3rem !important; /* md:text-5xl */
    line-height: 1.22 !important;
  }
  body.page-id-7 .cks-contact-hero,
  body.page-id-7 .elementor-element.cks-contact-hero {
    gap: 2rem !important; /* md:gap-8; lg:gap-16 starts at 1024 */
    margin-bottom: 5rem !important; /* md:mb-20 */
  }
}
@media (min-width: 1024px) {
  body.page-id-7 .cks-contact-hero,
  body.page-id-7 .elementor-element.cks-contact-hero {
    gap: 2rem 4rem !important;
  }
}
/* Intro is a plain text widget (no .cks-lead), so the kit keeps Roboto at 17px. */
body.page-id-7 .cks-contact-hero .elementor-widget-text-editor,
body.page-id-7 .cks-contact-hero .elementor-widget-text-editor p {
  font-family: var(--body) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: #404040 !important;
  margin: 0 !important;
}
@media (min-width: 768px) {
  body.page-id-7 .cks-contact-hero .elementor-widget-text-editor,
  body.page-id-7 .cks-contact-hero .elementor-widget-text-editor p {
    font-size: 1.125rem !important;
  }
}
body.page-id-7 .elementor-widget-text-editor,
body.page-id-7 .elementor-widget-text-editor p {
  font-family: var(--body) !important;
}
body.page-id-7 .cks-filters button {
  line-height: 22px !important; /* py-1.5 + 1px border → 36px, matching Next */
}
body.page-id-7 .cks-contact-hero,
body.page-id-7 .elementor-element.cks-contact-hero {
  gap: 2rem !important; /* mobile grid gap-8; 768/1024 rules refine this */
}
/* Card titles — shortcode h2.cks-case-title (not Elementor heading widget) */
body.page-id-7 .cks-case-title,
body.cks-cases-listing .cks-case-title {
  font-weight: 600 !important;
  line-height: 1.22 !important;
  margin: 1.7rem 0 1.25rem !important;
}
body.page-id-7 .cks-case-grid,
body.cks-cases-listing .cks-case-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important; /* gap-6 */
  align-items: stretch !important;
  padding: 0 !important;
  list-style: none !important;
}
@media (min-width: 768px) {
  body.page-id-7 .cks-case-grid,
  body.cks-cases-listing .cks-case-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
body.page-id-7 .cks-case-card,
body.cks-cases-listing .cks-case-card {
  height: 100% !important;
  box-shadow: none !important;
}
@media (min-width: 1024px) {
  body.page-id-7 .cks-contact-hero,
  body.page-id-7 .elementor-element.cks-contact-hero {
    gap: 2rem 4rem !important;
  }
}

/* Case studies listing CTA — Next py-22 teal + cream Partner pill */
body.page-id-7 .cks-cases-cta,
body.cks-cases-listing .cks-cases-cta,
body.page-id-7 .elementor-element.cks-cases-cta {
  /* Injected <section> was computing display:inline and sitting inside prior section pad */
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  clear: both !important;
  background: var(--teal) !important;
  color: var(--cream) !important;
  padding: 5.5rem 0 !important; /* py-22; kill Elementor-like 10px sides */
  margin: 0 !important;
  border: 0 !important;
  gap: 0 !important;
  --gap: 0px !important;
  --padding-top: 5.5rem !important;
  --padding-bottom: 5.5rem !important;
  --padding-left: 0px !important;
  --padding-right: 0px !important;
}
body.page-id-7 .cks-cases-cta-wrap,
body.cks-cases-listing .cks-cases-cta-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important; /* gap-10 */
  align-items: flex-start !important;
  width: 100% !important;
  max-width: var(--max, 1180px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
}
@media (min-width: 768px) {
  body.page-id-7 .cks-cases-cta-wrap,
  body.cks-cases-listing .cks-cases-cta-wrap {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 4rem !important; /* md:gap-16 */
    align-items: center !important;
    flex-direction: unset !important;
  }
  body.page-id-7 .cks-cases-cta-actions,
  body.cks-cases-listing .cks-cases-cta-actions {
    justify-self: end !important;
  }
}
body.page-id-7 .cks-cases-cta-title,
body.cks-cases-listing .cks-cases-cta-title {
  font-family: var(--head) !important;
  font-weight: 600 !important;
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.015em !important;
  color: var(--cream) !important;
  max-width: 18ch !important;
  margin: 0 !important;
}
body.page-id-7 .cks-cases-cta-lead,
body.cks-cases-listing .cks-cases-cta-lead {
  /* Next source has mt-4 but computed/measured H2→P gap is 0 */
  margin: 0 !important;
  max-width: 30rem !important;
  font-size: 1.1rem !important;
  line-height: 1.65 !important;
  color: var(--teal-quiet) !important;
}
body.page-id-7 a.cks-cases-cta-btn,
body.cks-cases-listing a.cks-cases-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  background: var(--cream) !important;
  color: var(--teal) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 1rem 1.75rem !important; /* py-4 px-7 */
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
body.page-id-7 a.cks-cases-cta-btn:hover,
body.cks-cases-listing a.cks-cases-cta-btn:hover {
  background: #fff !important;
  color: var(--teal) !important;
}
body.page-id-7 a.cks-cases-cta-btn .cks-cases-cta-arrow,
body.cks-cases-listing a.cks-cases-cta-btn .cks-cases-cta-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
body.page-id-7 a.cks-cases-cta-btn:hover .cks-cases-cta-arrow,
body.cks-cases-listing a.cks-cases-cta-btn:hover .cks-cases-cta-arrow {
  transform: translateX(4px);
}

/* ===== Insight article (cks-insight-detail) — match Next /insights/[slug] ===== */
body.cks-insight-detail {
  background: #F8F7F4 !important;
}
body.cks-insight-detail .cks-insight-crumbs,
body.cks-insight-detail .cks-service-crumbs.cks-insight-crumbs {
  background: #F8F7F4;
  min-height: 56px !important; /* Next crumbs nav measured 56px; WP was 54.6 → -1.5px cascade */
  box-sizing: border-box !important;
}
/* Next article crumbs: single-line py-4 (~56px). WP LIs were ~46px tall (wrap/align). */
body.cks-insight-detail .cks-insight-crumbs ol {
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 1rem 0 !important;
  min-height: 55px !important; /* Next ol measured 55px */
  box-sizing: border-box !important;
}
body.cks-insight-detail .cks-insight-crumbs li {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  line-height: 1.5 !important;
  max-height: 1.5em !important;
  overflow: hidden;
}
body.cks-insight-detail .cks-insight-crumbs li:not(:first-child)::before {
  content: "/" !important;
  display: inline !important;
  margin-right: 0.5rem;
  color: #8B8B83;
  flex-shrink: 0;
}
body.cks-insight-detail .cks-insight-crumbs .cks-crumb-current {
  flex: 1 1 240px !important;
  max-width: 240px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-height: none !important;
}
body.cks-insight-detail .cks-article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6; /* Next meta ~24.3px */
  color: var(--grey-text);
  margin: 0 0 0.75rem; /* mb-3; collapses with h1 mt in Next block layout */
  font-family: var(--body);
}
body.cks-insight-detail .cks-article-meta time {
  color: var(--grey-text);
}
body.cks-insight-detail .cks-article-meta-sep {
  color: var(--grey-text);
}
body.cks-insight-detail .cks-article-cat {
  color: var(--teal);
  font-weight: 500;
}
body.cks-insight-detail br.cks-article-br {
  display: block;
  content: "";
  margin: 0;
  line-height: 1.25rem; /* ~20px Next <br /> on Chromium/WebKit */
  height: 1.25rem;
}
/*
 * Firefox collapses article <br> to 0px (Next measures ~27.2px; Chromium ~20px).
 * Use margin-bottom on all Gecko viewports. Crumb bar padding is mobile-only
 * (tablet crumbs already match without the 79px pad).
 */
@supports (-moz-appearance: none) {
  body.cks-insight-detail br.cks-article-br {
    display: block !important;
    width: 100% !important;
    height: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    margin: 0 0 1.7rem 0 !important; /* ~27.2px — FF Next measured br */
    padding: 0 !important;
    border: 0 !important;
    content: "" !important;
  }
  @media (max-width: 767.98px) {
    body.cks-insight-detail .cks-insight-crumbs,
    body.cks-insight-detail nav.cks-insight-crumbs,
    body.cks-insight-detail .cks-service-crumbs.cks-insight-crumbs,
    body.cks-insight-detail .cks-insight-crumbs ol {
      min-height: 79px !important;
      height: auto !important;
      align-items: center !important;
      box-sizing: border-box !important;
    }
  }
}
/* Optional hero/body separator (kept for future structural split; height 0 until Leave a Reply exists) */
body.cks-insight-detail .cks-article-hero-end {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
/* Elementor wrap defaults gap:20px which stacked with margins (~44px vs Next ~12px). */
body.cks-insight-detail .cks-section:has(.cks-h1) .cks-wrap,
body.cks-insight-detail .cks-section:has(.cks-h1) .e-con.cks-wrap,
body.cks-insight-detail .elementor-element.cks-wrap:has(.cks-h1),
body.cks-insight-detail .elementor-element.cks-wrap:has(.cks-article-meta) {
  gap: 0 !important;
  row-gap: 0 !important;
}
body.cks-insight-detail .cks-section:has(.cks-h1),
body.cks-insight-detail .elementor-element.cks-section:has(.cks-h1) {
  padding-top: 4rem !important; /* pt-16 */
  padding-bottom: 1.5rem !important; /* pb-6 */
  gap: 0 !important; /* Elementor default gap:20 was shifting body vs Next separate sections */
  row-gap: 0 !important;
}
body.cks-insight-detail .cks-h1 {
  margin: 0 !important; /* spacing from meta mb-3 only (flex gap disabled) */
  padding: 0 !important;
}
body.cks-insight-detail .cks-section:has(.cks-h1) .elementor-element,
body.cks-insight-detail .cks-section:has(.cks-h1) .elementor-widget {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body.cks-insight-detail .cks-h1 .elementor-heading-title {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important; /* Next measured lh 42.944 @ 35.2 */
  color: var(--ink) !important;
  /* Next ships class max-w-[54rem] but .wrap computes to 1180px — match rendered geometry */
  max-width: none;
  margin: 0 !important;
}
body.cks-insight-detail .cks-wrap:has(.cks-h1),
body.cks-insight-detail .cks-section:has(.cks-h1) .cks-wrap {
  max-width: var(--max) !important; /* 1180px — Next .wrap computed width */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
body.cks-insight-detail .cks-lead,
body.cks-insight-detail .cks-lead p {
  font-size: 1.18rem !important;
  line-height: 1.65 !important;
  color: #2D2D27 !important;
  /* Next mt-3 collapses with structural <br />; measured mt 0 — keep 0 */
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Body prose — Next class says 1.75 but computed tablet lh is 1.65 (29.568/17.92) */
body.cks-insight-detail .cks-section:has(.cks-h1) .elementor-widget-text-editor p:not(.cks-lead):not(.cks-kicker):not(.cks-meta) {
  font-size: 1.12rem !important;
  line-height: 1.65 !important;
  color: #2D2D27 !important;
  margin: 0 !important;
}
/*
 * Next splits hero (pb-6) from body wrap — ~24px after standfirst <br /> before first body <p>.
 * Only the widget immediately after the standfirst <br /> (not the lead after H1 <br />).
 */
body.cks-insight-detail .cks-section:has(.cks-h1) .elementor-widget-text-editor:has(.cks-lead) + br.cks-article-br + .elementor-widget-text-editor {
  margin-top: 1.5rem !important; /* pb-6 stand-in */
}
body.cks-insight-detail {
  background: #F8F7F4 !important;
}
body.cks-insight-detail #cks-main,
body.cks-insight-detail .elementor {
  background: #F8F7F4 !important;
}
body.cks-insight-detail blockquote,
body.cks-insight-detail .elementor-widget-text-editor blockquote {
  width: 100% !important;
  max-width: 54rem !important;
  margin: 1.5rem 0 !important; /* my-6 */
  padding: 0 0 0 1.5rem !important;
  border-left: 3px solid var(--teal) !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1.3rem !important;
  line-height: 1.45 !important;
  color: var(--teal) !important;
  font-style: italic !important;
}
body.cks-insight-detail .cks-lead {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Share bar + Leave a Reply (injected; Next mt-10 / mt-14) */
body.cks-insight-detail .cks-article-share {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem; /* mt-10 */
  padding-top: 1.5rem; /* pt-6 */
  font-size: 0.95rem;
  color: var(--ink);
}
body.cks-insight-detail .cks-article-share a {
  color: var(--ink) !important;
  text-decoration: none;
}
body.cks-insight-detail .cks-article-share a:hover { color: var(--teal) !important; }
body.cks-insight-detail .cks-article-share svg { width: 1rem; height: 1rem; display: block; }
body.cks-insight-detail .cks-article-prev {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(45, 45, 39, 0.12);
}
body.cks-insight-detail .cks-article-prev a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--ink) !important;
  text-decoration: none;
}
body.cks-insight-detail .cks-article-prev a:hover { color: var(--teal) !important; }
body.cks-insight-detail .cks-article-reply {
  margin-top: 3.5rem; /* mt-14 */
  padding-top: 2rem; /* pt-8 */
}
body.cks-insight-detail .cks-article-reply h2 {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  margin: 0 0 0.5rem !important;
  line-height: 1.22 !important;
}
body.cks-insight-detail .cks-article-reply-note {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 1.5rem !important;
}
body.cks-insight-detail .cks-article-reply-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
body.cks-insight-detail .cks-article-reply-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(45, 45, 39, 0.2);
  border-radius: 0;
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 10rem;
  box-sizing: border-box;
}
body.cks-insight-detail .cks-article-reply-form .cks-reply-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  body.cks-insight-detail .cks-article-reply-form .cks-reply-row {
    grid-template-columns: 1fr 1fr;
  }
}
body.cks-insight-detail .cks-article-reply-form input[type="text"],
body.cks-insight-detail .cks-article-reply-form input[type="email"],
body.cks-insight-detail .cks-article-reply-form input[type="url"] {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(45, 45, 39, 0.2);
  border-radius: 0;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}
body.cks-insight-detail .cks-article-reply-form .cks-reply-save {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
  font-size: 0.88rem;
  color: #555;
}
body.cks-insight-detail .cks-article-reply-form button[type="button"] {
  background: #023330;
  color: #fff;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* Solutions cards: Next 52×52 icon tile per service — unique nth-child SVGs */
body.page-id-5 .cks-card::before {
  content: "" !important;
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px;
  background-color: rgba(4, 61, 59, 0.08);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
  margin: 0 0 1.5rem 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  pointer-events: none;
}
/* Parent is Elementor .cks-grid-2; order matches Next solutionsList */
body.page-id-5 .cks-grid-2 > .cks-card:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23043D3B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 3v2M12 19v2M3 12h2M19 12h2'/%3E%3C/svg%3E");
}
body.page-id-5 .cks-grid-2 > .cks-card:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23043D3B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18'/%3E%3Cpath d='M5 16l4-5 4 3 6-8'/%3E%3Cpath d='M15 6h4v4'/%3E%3C/svg%3E");
}
body.page-id-5 .cks-grid-2 > .cks-card:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23043D3B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='6' r='2'/%3E%3Ccircle cx='19' cy='6' r='2'/%3E%3Ccircle cx='12' cy='18' r='2'/%3E%3Cpath d='M7 6h10M6 8l5 8M18 8l-5 8'/%3E%3C/svg%3E");
}
body.page-id-5 .cks-grid-2 > .cks-card:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23043D3B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4a1 1 0 0 0 1 1h3l6 4V5L7 9H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M17 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E");
}
body.page-id-5 .cks-grid-2 > .cks-card:nth-child(5)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23043D3B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-4h15L21 9'/%3E%3Cpath d='M3 9a3 3 0 0 0 6 0 3 3 0 0 0 6 0 3 3 0 0 0 6 0'/%3E%3Cpath d='M5 12v8h14v-8M10 20v-5h4v5'/%3E%3C/svg%3E");
}
body.page-id-5 .cks-grid-2 > .cks-card:nth-child(6)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23043D3B' stroke-width='1.6'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

/* ===== Solutions index (page 5) — match Next /solutions ===== */
body.page-id-5 .elementor-element.cks-section:has(.cks-h1),
body.page-id-5 .elementor-element-c20 {
  padding-top: 4rem !important; /* py-16 */
  padding-bottom: 4rem !important;
  gap: 0 !important;
  row-gap: 0 !important;
}
@media (min-width: 768px) {
  body.page-id-5 .elementor-element.cks-section:has(.cks-h1),
  body.page-id-5 .elementor-element-c20 {
    padding-top: 5rem !important; /* md:py-20 */
    padding-bottom: 5rem !important;
  }
}
/* Hero split: md:grid-cols-[1.1fr_1fr] gap-10 md:gap-16 items-end.
   c1y is e-con-full with widgets as direct children (no boxed inner). */
body.page-id-5 .elementor-element-c1y,
body.page-id-5 .elementor-element-c1y > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (min-width: 768px) {
  body.page-id-5 .elementor-element-c1y,
  body.page-id-5 .elementor-element-c1y > .e-con-inner {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr !important;
    gap: 4rem !important;
    align-items: end !important;
    flex-direction: unset !important;
  }
}
body.page-id-5 .cks-lead,
body.page-id-5 .cks-lead p {
  font-family: Inter, "Segoe UI", system-ui, sans-serif !important;
  font-size: 1.2rem !important;
  line-height: 1.65 !important; /* Next measured 31.68px @ 19.2 */
  max-width: 32rem;
  color: var(--ink) !important;
  margin: 0 !important;
}
/* Kill Elementor widget chrome in solutions hero so items-end matches Next */
body.page-id-5 .elementor-element-c1y > .elementor-element,
body.page-id-5 .elementor-element-c1y .cks-h1,
body.page-id-5 .elementor-element-c1y .elementor-widget-text-editor {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-5 .elementor-element-c1y .cks-h1 .elementor-heading-title {
  margin: 0 !important;
}
body.page-id-5 .cks-card {
  padding: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important; /* Next uses <br/> rhythm, not flex gap */
  height: 100%;
}
@media (min-width: 768px) {
  body.page-id-5 .cks-card {
    padding: 2.5rem !important; /* md:p-10 */
  }
}
/* Icon → title: Next icon@41 + br@96 → title@120 (pad 40 + 52 + ~28) */
body.page-id-5 .cks-card::before {
  margin: 0 0 1.75rem 0 !important; /* ~28px to land title ~120 */
}
body.page-id-5 .cks-card > .cks-h3,
body.page-id-5 .cks-card > .elementor-widget-heading {
  margin: 0 0 1.75rem 0 !important; /* Next h2 + <br/> (~31px to body) */
  padding: 0 !important;
}
body.page-id-5 .cks-card > .elementor-widget-text-editor {
  margin: 0 !important;
  padding: 0 !important;
}
/* Lead + Includes stack: Next flex flex-col gap-4 */
body.page-id-5 .cks-card .cks-sol-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0;
}
body.page-id-5 .cks-card .cks-sol-lead {
  font-size: 1.08rem !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
  max-width: 34rem;
  margin: 0 !important;
}
body.page-id-5 .cks-card .cks-sol-includes {
  color: var(--grey-text);
  font-size: 0.95rem;
  max-width: 34rem;
  margin: 0;
}
body.page-id-5 .cks-card .cks-sol-includes-label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem; /* mb-1 */
}
body.page-id-5 .cks-card .cks-sol-includes-list {
  display: block;
  line-height: 1.65;
}
/* Learn more: Next <a class="mt-auto pt-8"> → ~56px tall */
body.page-id-5 .cks-card > .cks-btn,
body.page-id-5 .cks-card > .elementor-widget-button {
  margin-top: auto !important;
  padding: 0 !important;
  align-self: flex-start;
}
body.page-id-5 .cks-card .cks-btn .elementor-button,
body.page-id-5 .cks-card .cks-btn a,
body.page-id-5 .cks-card a.elementor-button,
body.page-id-5 .cks-card .elementor-button-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 2rem 0 0 !important; /* pt-8 on the link itself */
  background: transparent !important;
  color: var(--teal) !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  border: 0 !important;
  min-height: 0 !important;
}
/* Cards band: Next pb-24 only (no top padding) */
body.page-id-5 .elementor-element-c2r {
  padding-top: 0 !important;
  padding-bottom: 6rem !important;
}
body.page-id-5 .cks-grid-2,
body.page-id-5 .elementor-element.cks-grid-2,
body.page-id-5 .elementor-element-c2p {
  gap: 1.5rem !important; /* Next gap-6 */
  padding: 0 !important;
  margin: 0 !important;
}
body.page-id-5 .cks-card .elementor-heading-title,
body.page-id-5 .cks-card h2 .elementor-heading-title,
body.page-id-5 .cks-card h3 .elementor-heading-title {
  font-size: 1.4rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

/* ===== Legal pages (privacy 15, terms 16) — match Next py-16 md:py-20 + max-w-[52rem] ===== */
body.page-id-15 .cks-section:has(.cks-h1),
body.page-id-15 .elementor-element.cks-section:has(.cks-h1),
body.page-id-16 .cks-section:has(.cks-h1),
body.page-id-16 .elementor-element.cks-section:has(.cks-h1) {
  padding-top: 4rem !important; /* py-16 */
  padding-bottom: 4rem !important;
  gap: 0 !important;
  border-bottom: 1px solid rgba(45, 45, 39, 0.14);
}
@media (min-width: 768px) {
  body.page-id-15 .cks-section:has(.cks-h1),
  body.page-id-15 .elementor-element.cks-section:has(.cks-h1),
  body.page-id-16 .cks-section:has(.cks-h1),
  body.page-id-16 .elementor-element.cks-section:has(.cks-h1) {
    padding-top: 5rem !important; /* md:py-20 */
    padding-bottom: 5rem !important;
  }
}
/*
 * Next marks legal wraps `wrap max-w-[52rem]`, but globals `.wrap{max-width:var(--max)}`
 * wins over the Tailwind utility — measured content width is full wrap (1132px), not 52rem.
 * Constraining WP to 52rem centered the column (~784px) and caused ~4.3% residuals.
 */
body.page-id-15 .cks-section:has(.cks-h1) .cks-wrap,
body.page-id-16 .cks-section:has(.cks-h1) .cks-wrap {
  max-width: var(--max, 1180px) !important;
  gap: 0 !important;
  row-gap: 0 !important;
}
body.page-id-15 .cks-section:has(.cks-h1) .cks-wrap > .elementor-element,
body.page-id-16 .cks-section:has(.cks-h1) .cks-wrap > .elementor-element {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-15 .cks-h1 .elementor-heading-title,
body.page-id-16 .cks-h1 .elementor-heading-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem) !important;
  line-height: 1.22 !important;
  color: var(--teal) !important;
  max-width: 16ch;
  margin: 0 !important;
}
/*
 * Next privacy/terms hero: h1 → lead → "Last updated" are flush in measured layout
 * (Tailwind mt-5/mt-4 compute to 0px here). Match measured geometry, not class names.
 */
body.page-id-15 .cks-lead,
body.page-id-15 .cks-lead p,
body.page-id-16 .cks-lead,
body.page-id-16 .cks-lead p {
  font-size: 1.2rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ink) !important;
  max-width: none !important;
}
body.page-id-15 .cks-section:has(.cks-h1) .cks-wrap > .elementor-widget-text-editor:last-child,
body.page-id-16 .cks-section:has(.cks-h1) .cks-wrap > .elementor-widget-text-editor:last-child {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-15 .cks-section:has(.cks-h1) .cks-wrap > .elementor-widget-text-editor:last-child p,
body.page-id-16 .cks-section:has(.cks-h1) .cks-wrap > .elementor-widget-text-editor:last-child p,
body.page-id-15 .cks-meta,
body.page-id-15 .cks-meta p,
body.page-id-16 .cks-meta,
body.page-id-16 .cks-meta p {
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  color: var(--grey-text) !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Legal prose band — Next space-y-12; kill Elementor gap:20 that desyncs first-viewport body */
body.page-id-15 .cks-section:not(:has(.cks-h1)),
body.page-id-15 .elementor-element.cks-section:not(:has(.cks-h1)),
body.page-id-16 .cks-section:not(:has(.cks-h1)),
body.page-id-16 .elementor-element.cks-section:not(:has(.cks-h1)) {
  gap: 0 !important;
  row-gap: 0 !important;
}
body.page-id-15 .cks-section:not(:has(.cks-h1)) .cks-wrap,
body.page-id-16 .cks-section:not(:has(.cks-h1)) .cks-wrap {
  max-width: var(--max, 1180px) !important;
  gap: 0 !important;
}
/* Topic blocks: modest top margin on headings only (full space-y-12 overshoots Elementor widget granularity) */
body.page-id-15 .cks-section:not(:has(.cks-h1)) .cks-wrap > .elementor-element,
body.page-id-16 .cks-section:not(:has(.cks-h1)) .cks-wrap > .elementor-element {
  margin: 0 !important;
  padding: 0 !important;
}
/* Elementor heading title IS the h2 — prior `h2 .elementor-heading-title` never matched (32px kit leak) */
body.page-id-15 .cks-section:not(:has(.cks-h1)) h2.elementor-heading-title,
body.page-id-15 .cks-section:not(:has(.cks-h1)) .cks-h2 .elementor-heading-title,
body.page-id-15 .cks-section:not(:has(.cks-h1)) .cks-h2 h2,
body.page-id-16 .cks-section:not(:has(.cks-h1)) h2.elementor-heading-title,
body.page-id-16 .cks-section:not(:has(.cks-h1)) .cks-h2 .elementor-heading-title,
body.page-id-16 .cks-section:not(:has(.cks-h1)) .cks-h2 h2 {
  font-size: 1.5rem !important; /* Next text-[1.5rem] */
  font-weight: 600 !important;
  line-height: 1.22 !important;
  color: var(--teal) !important;
  /* Next h2 has mb-4 in source but computed margin collapses to 0 against following <p> */
  margin: 0 !important;
}
body.page-id-15 .cks-section:not(:has(.cks-h1)) .elementor-widget-text-editor p,
body.page-id-16 .cks-section:not(:has(.cks-h1)) .elementor-widget-text-editor p {
  font-size: 1.1rem !important;
  /* Next globals `p{line-height:1.65}` overrides leading-[1.7] — match measured 29.04px */
  line-height: 1.65 !important;
  margin: 0 0 1rem 0 !important;
  color: var(--ink) !important;
}
body.page-id-15 .cks-section:not(:has(.cks-h1)) .elementor-widget-text-editor p:last-child,
body.page-id-16 .cks-section:not(:has(.cks-h1)) .elementor-widget-text-editor p:last-child {
  margin-bottom: 0 !important;
}
/* Legal lists — Next list-disc pl-6 space-y-2 text-[1.05rem]/1.6 */
body.page-id-15 .cks-section:not(:has(.cks-h1)) ul,
body.page-id-16 .cks-section:not(:has(.cks-h1)) ul {
  list-style: disc !important;
  padding-left: 1.5rem !important;
  margin: 0 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important; /* space-y-2 */
}
body.page-id-15 .cks-section:not(:has(.cks-h1)) ul li,
body.page-id-16 .cks-section:not(:has(.cks-h1)) ul li {
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  color: var(--ink) !important;
}
/* Topic blocks: Next space-y-12 (=3rem) between section groups; tighten 0.25rem to offset taller WP paragraph metrics */
body.page-id-15 .cks-section:not(:has(.cks-h1)) .cks-wrap > .elementor-widget-heading,
body.page-id-16 .cks-section:not(:has(.cks-h1)) .cks-wrap > .elementor-widget-heading {
  margin-top: 2.75rem !important;
}
body.page-id-15 .cks-section:not(:has(.cks-h1)) .cks-wrap > .elementor-widget-heading:first-child,
body.page-id-16 .cks-section:not(:has(.cks-h1)) .cks-wrap > .elementor-widget-heading:first-child {
  margin-top: 0 !important;
}
body.page-id-15 .cks-section:not(:has(.cks-h1)) .cks-legal-list-placed,
body.page-id-16 .cks-section:not(:has(.cks-h1)) .cks-legal-list-placed {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* About Us (page 11 — was incorrectly page-id-12) — Next py-16 md:py-20 + md:gap-8 */
body.page-id-11 .cks-section:has(.cks-h1),
body.page-id-11 .elementor-element.cks-section:has(.cks-h1) {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  gap: 0 !important;
  --padding-top: 4rem !important;
  --padding-bottom: 4rem !important;
}
@media (min-width: 768px) {
  body.page-id-11 .cks-section:has(.cks-h1),
  body.page-id-11 .elementor-element.cks-section:has(.cks-h1) {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    --padding-top: 5rem !important;
    --padding-bottom: 5rem !important;
  }
}
body.page-id-11 .cks-section:has(.cks-h1) .cks-wrap,
body.page-id-11 .cks-section:has(.cks-h1) .e-con {
  gap: 2rem !important; /* Next gap-8 */
  --gap: 2rem !important;
}
@media (min-width: 1024px) {
  body.page-id-11 .cks-section:has(.cks-h1) .cks-wrap,
  body.page-id-11 .cks-section:has(.cks-h1) .e-con:has(.cks-h1) {
    gap: 4rem !important; /* lg:gap-16 */
    --gap: 4rem !important;
  }
}
body.page-id-11 .cks-section:has(.cks-h1) .cks-wrap > .elementor-element,
body.page-id-11 .cks-section:has(.cks-h1) .e-con > .elementor-element {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-11 .cks-h1 .elementor-heading-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.015em !important;
  color: var(--teal) !important;
  max-width: 16ch;
  font-weight: 600 !important;
  margin: 0 !important;
}
body.page-id-11 .cks-lead,
body.page-id-11 .cks-lead p {
  font-size: 1.2rem !important;
  line-height: 1.65 !important;
  max-width: 32rem;
  margin: 0 !important;
  color: var(--ink) !important;
}
body.page-id-11 .cks-crumbs-bar,
body.page-id-11 .elementor-element.cks-crumbs-bar,
body.page-id-11 .cks-service-crumbs {
  background: transparent !important;
}

/* Service-detail heroes (pages 18–23) — Next pt-20 pb-22 mb-18 + split gap-10/16 */
body.cks-service-detail .cks-section:has(.cks-h1),
body.page-id-18 .elementor-element-c53 {
  padding-top: 5rem !important; /* pt-20 */
  padding-bottom: 5.5rem !important; /* pb-22 */
  margin-bottom: 4.5rem !important; /* mb-18 */
  gap: 0 !important;
  row-gap: 0 !important;
  border-bottom: 1px solid rgba(45, 45, 39, 0.14);
}
/* Wrap is a single full-width shell; Next's 1.1fr/1fr grid lives on the split (H1 + lead). */
body.cks-service-detail .cks-section:has(.cks-h1) .cks-wrap,
body.page-id-18 .elementor-element-c52 {
  display: block !important;
  width: 100% !important;
  max-width: var(--max, 1180px) !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 0 !important;
}
body.cks-service-detail .cks-section:has(.cks-h1) .cks-split,
body.page-id-18 .elementor-element-c51 {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important; /* gap-10 */
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
@media (min-width: 768px) {
  body.cks-service-detail .cks-section:has(.cks-h1) .cks-split,
  body.page-id-18 .elementor-element-c51 {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr !important;
    gap: 4rem !important; /* md:gap-16 */
    align-items: start !important;
    flex-direction: unset !important;
  }
}
body.cks-service-detail .cks-h1,
body.cks-service-detail .cks-h1.elementor-widget,
body.page-id-18 .elementor-element-c4z {
  width: 100% !important;
  max-width: 100% !important;
}
body.cks-service-detail .cks-h1 .elementor-heading-title,
body.cks-service-detail .cks-h1 h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem) !important;
  line-height: 1.22 !important; /* Next computed ~70.3/57.6 */
  letter-spacing: -0.015em !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  /* Next uses max-w-[16ch]; ~595px → two-line wrap for DDI headline */
  max-width: 16ch !important;
  margin: 0 !important;
}
body.cks-service-detail .cks-lead,
body.cks-service-detail .cks-lead p,
body.cks-service-detail .cks-section:has(.cks-h1) .cks-split > .elementor-widget-text-editor p,
body.page-id-18 .elementor-element-c51 .elementor-widget-text-editor p {
  font-size: 1.15rem !important;
  /* Next source leading-[1.7]; measured Inter computes ~30.36/18.4 ≈ 1.65 */
  line-height: 1.65 !important;
  max-width: 34rem;
  margin: 0 !important;
  color: var(--ink) !important;
}
/* Next "What we offer" band: pb-24 only (no top pad) */
body.cks-service-detail .cks-section:has(.cks-h1) + .cks-section,
body.page-id-18 .elementor-element-c53 + .cks-section,
body.page-id-18 .elementor-element-c58 {
  padding-top: 0 !important;
  padding-bottom: 6rem !important;
  margin-top: 0 !important;
  gap: 0 !important;
}

/* Engagement (14) + Testimonials (8) heroes — Next py-16 / md:py-20 (64/80).
   Global .cks-section used 5rem/6rem and Elementor gap:20 shifted H1 +16px on mobile. */
body.page-id-14 .elementor-element.cks-section:has(.cks-h1),
body.page-id-8 .elementor-element.cks-section:has(.cks-h1) {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  gap: 0 !important;
  row-gap: 0 !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
}
@media (min-width: 768px) {
  body.page-id-14 .elementor-element.cks-section:has(.cks-h1),
  body.page-id-8 .elementor-element.cks-section:has(.cks-h1) {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}
/* Kill Elementor widget gap on plain wraps — NOT on .cks-eng-hero / .cks-t-hero (they ARE the wrap). */
body.page-id-14 .elementor-element.cks-section:has(.cks-h1) > .e-con:not(.cks-eng-hero),
body.page-id-14 .elementor-element.cks-section:has(.cks-h1) .cks-wrap:not(.cks-eng-hero),
body.page-id-8 .elementor-element.cks-section:has(.cks-h1) > .e-con:not(.cks-t-hero),
body.page-id-8 .elementor-element.cks-section:has(.cks-h1) .cks-wrap:not(.cks-t-hero) {
  gap: 0 !important;
  row-gap: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --column-gap: 0px !important;
  --widgets-spacing: 0px !important;
}
/*
 * Engagement hero — Next: wrap grid 1.1fr/1fr items-end gap-10/md:gap-16;
 * left stack = H1 + br + H2; right = lead. Elementor stores H1/H2/lead as siblings.
 * Prior bug: section .cks-wrap { gap:0 } matched .cks-eng-hero.cks-wrap and zeroed
 * column-gap → columns 377/343 instead of Next 344/312, H2 stayed 1-line, lead short.
 */
/*
 * Mobile: Next nests H1+br+H2 then gap-10 to lead. Elementor has 3 siblings —
 * do NOT use flex gap:2.5rem (that also gaps H1→H2 → measured 67px vs Next 27px).
 */
body.page-id-14 .cks-eng-hero,
body.page-id-14 .elementor-element.cks-eng-hero {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --column-gap: 0px !important;
  width: 100% !important;
}
body.page-id-14 .cks-eng-hero > .cks-h2,
body.page-id-14 .cks-eng-hero > .elementor-widget.cks-h2 {
  margin: 1.7rem 0 0 !important; /* Next br + mt-2 */
}
body.page-id-14 .cks-eng-hero > .cks-lead,
body.page-id-14 .cks-eng-hero > .elementor-widget.cks-lead {
  margin: 2.5rem 0 0 !important; /* Next gap-10 after title stack */
}
@media (min-width: 768px) {
  body.page-id-14 .cks-eng-hero,
  body.page-id-14 .elementor-element.cks-eng-hero {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr !important;
    /*
     * Next nests H1+br+H2 in one left cell (items-end). Elementor siblings need
     * rows 1fr/auto so H1 end-aligns just above H2 when lead is taller (tablet).
     * row-gap 1.7rem = measured Next <br>~20px + h2.mt-2.
     */
    grid-template-rows: 1fr auto !important;
    gap: 1.7rem 4rem !important;
    row-gap: 1.7rem !important;
    column-gap: 4rem !important;
    --gap: 1.7rem 4rem !important;
    --row-gap: 1.7rem !important;
    --column-gap: 4rem !important;
    align-items: end !important;
    flex-direction: unset !important;
  }
  body.page-id-14 .cks-eng-hero > .cks-h1,
  body.page-id-14 .cks-eng-hero > .elementor-widget.cks-h1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: end !important;
    margin: 0 !important;
  }
  body.page-id-14 .cks-eng-hero > .cks-h2,
  body.page-id-14 .cks-eng-hero > .elementor-widget.cks-h2 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 0 !important; /* spacing from row-gap */
  }
  body.page-id-14 .cks-eng-hero > .cks-lead,
  body.page-id-14 .cks-eng-hero > .elementor-widget.cks-lead {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: end !important;
    margin: 0 !important;
  }
}
body.page-id-14 .cks-eng-hero,
body.page-id-14 .elementor-element.cks-eng-hero {
  max-width: var(--max, 1180px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
}
body.page-id-14 .cks-eng-hero .cks-h1 .elementor-heading-title {
  max-width: 16ch !important; /* Next max-w-[16ch] */
  /* Next leading-[1.2] measures 70.272/57.6 = 1.22 with next/font Poppins */
  line-height: 1.22 !important;
}
body.page-id-14 .cks-eng-hero .cks-h2 .elementor-heading-title {
  font-size: 1.5rem !important;
  line-height: 1.22 !important; /* Next measured 29.28/24 */
  font-weight: 600 !important;
  color: var(--ink) !important;
  max-width: none !important;
}
body.page-id-14 .cks-eng-hero .cks-lead,
body.page-id-14 .cks-eng-hero .cks-lead p {
  font-family: Inter, "Segoe UI", system-ui, sans-serif !important;
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  max-width: 32rem !important;
  margin: 0 !important;
  color: var(--ink) !important;
}

/* ===== Home engagement models � Next #engagement-models border-left columns ===== */
body.page-id-4 .cks-grid-3:has(.cks-rule),
body.home .cks-grid-3:has(.cks-rule),
body.page-id-4 .cks-grid-3:has(.cks-eng-model-item),
body.home .cks-grid-3:has(.cks-eng-model-item) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important; /* gap-12 */
  --gap: 3rem !important;
  --column-gap: 3rem !important;
  --row-gap: 3rem !important;
  width: 100% !important;
}
@media (min-width: 768px) {
  body.page-id-4 .cks-grid-3:has(.cks-rule),
  body.home .cks-grid-3:has(.cks-rule),
  body.page-id-4 .cks-grid-3:has(.cks-eng-model-item),
  body.home .cks-grid-3:has(.cks-eng-model-item) {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
body.page-id-4 .cks-eng-model-item,
body.home .cks-eng-model-item,
body.page-id-4 .cks-grid-3 > .cks-rule,
body.home .cks-grid-3 > .cks-rule {
  background: transparent !important;
  border: 0 !important;
  border-left: 3px solid var(--teal-muted) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0 0 1.5rem !important; /* pl-6 */
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important; /* Next list-item stretches title to column width */
  gap: 0 !important;
  grid-template-columns: none !important;
  height: auto !important;
  min-height: 0 !important;
  --display: flex !important;
  --gap: 0px !important;
}
body.page-id-4 .cks-eng-model-title,
body.home .cks-eng-model-title {
  margin: 0 !important;
  width: 100% !important;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  line-height: 1.22 !important; /* match Next computed Poppins metrics */
  font-family: var(--head) !important;
}
body.page-id-4 .cks-eng-model-link,
body.home .cks-eng-model-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  color: var(--teal) !important;
  text-decoration: none !important;
  background: none !important;
  padding: 0 !important;
}
body.page-id-4 .cks-eng-model-link:hover,
body.home .cks-eng-model-link:hover {
  text-decoration: underline !important;
  text-underline-offset: 5px !important;
}
body.page-id-4 .cks-eng-model-arrow,
body.home .cks-eng-model-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
body.page-id-4 .cks-eng-model-link:hover .cks-eng-model-arrow,
body.home .cks-eng-model-link:hover .cks-eng-model-arrow {
  transform: translate(2px, -2px);
}
body.page-id-4 .cks-eng-model-desc,
body.home .cks-eng-model-desc {
  margin: 1rem 0 0 !important; /* mt-4 */
  font-size: 1.0625rem !important;
  line-height: 1.65 !important; /* Next globals p rhythm */
  color: var(--ink) !important;
  max-width: none !important;
  width: 100% !important;
}
body.page-id-4 .cks-wrap:has(.cks-grid-3 > .cks-rule) > .cks-h2 .elementor-heading-title,
body.home .cks-wrap:has(.cks-grid-3 > .cks-rule) > .cks-h2 .elementor-heading-title,
body.page-id-4 .cks-wrap:has(.cks-eng-model-item) > .cks-h2 .elementor-heading-title,
body.home .cks-wrap:has(.cks-eng-model-item) > .cks-h2 .elementor-heading-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  max-width: 20ch !important;
}
body.page-id-4 .elementor-element-c1a a,
body.home .elementor-element-c1a a {
  display: inline-block !important;
  margin-top: 3.5rem !important; /* mt-14 */
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1.05rem !important;
  color: var(--teal) !important;
  text-decoration: underline !important;
  text-underline-offset: 6px !important;
  text-decoration-thickness: 1.5px !important;
}

/* ===== Home testimonials � Next heading|nav grid + 2-slide track ===== */
body.page-id-4 .cks-section:has(.cks-quotes),
body.home .cks-section:has(.cks-quotes),
body.page-id-4 .elementor-element.cks-section:has(.cks-quotes),
body.home .elementor-element.cks-section:has(.cks-quotes) {
  background: #fff !important;
  overflow: hidden !important;
  padding-top: 6rem !important; /* py-24 */
  padding-bottom: 6rem !important;
}
body.page-id-4 .cks-wrap:has(.cks-quotes),
body.home .cks-wrap:has(.cks-quotes) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  align-items: end !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: var(--max, 1180px) !important;
}
@media (min-width: 768px) {
  body.page-id-4 .cks-wrap:has(.cks-quotes),
  body.home .cks-wrap:has(.cks-quotes) {
    grid-template-columns: 1fr auto !important;
    column-gap: 2rem !important;
  }
}
body.page-id-4 .cks-wrap:has(.cks-quotes) > .cks-h2,
body.home .cks-wrap:has(.cks-quotes) > .cks-h2 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}
body.page-id-4 .cks-wrap:has(.cks-quotes) > .elementor-widget-text-editor,
body.home .cks-wrap:has(.cks-quotes) > .elementor-widget-text-editor {
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 1.25rem 0 0 !important; /* mt-5 after br rhythm */
  max-width: 34rem !important;
}
body.page-id-4 .cks-wrap:has(.cks-quotes) > .elementor-widget-shortcode,
body.home .cks-wrap:has(.cks-quotes) > .elementor-widget-shortcode,
body.page-id-4 .cks-wrap:has(.cks-quotes) > .elementor-widget-shortcode > .elementor-widget-container,
body.home .cks-wrap:has(.cks-quotes) > .elementor-widget-shortcode > .elementor-widget-container,
body.page-id-4 .cks-wrap:has(.cks-quotes) .cks-quotes,
body.home .cks-wrap:has(.cks-quotes) .cks-quotes {
  display: contents !important;
}
body.page-id-4 .cks-wrap:has(.cks-quotes) .cks-quotes-nav,
body.home .cks-wrap:has(.cks-quotes) .cks-quotes-nav {
  grid-column: 1 !important;
  grid-row: 3 !important;
  justify-self: start !important;
  margin-top: 1.5rem !important;
}
@media (min-width: 768px) {
  body.page-id-4 .cks-wrap:has(.cks-quotes) .cks-quotes-nav,
  body.home .cks-wrap:has(.cks-quotes) .cks-quotes-nav {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
    align-self: end !important;
    margin-top: 0 !important;
  }
}
body.page-id-4 .cks-wrap:has(.cks-quotes) .cks-quote-track,
body.home .cks-wrap:has(.cks-quotes) .cks-quote-track {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  margin-top: 3.5rem !important; /* mb-14 under heading block */
  width: 100% !important;
}
body.page-id-4 .cks-wrap:has(.cks-quotes) .cks-text-link,
body.home .cks-wrap:has(.cks-quotes) .cks-text-link {
  grid-column: 1 / -1 !important;
  grid-row: 5 !important;
  margin-top: 3.5rem !important; /* mt-14 */
}
body.page-id-4 .cks-wrap:has(.cks-quotes) > .cks-h2 .elementor-heading-title,
body.home .cks-wrap:has(.cks-quotes) > .cks-h2 .elementor-heading-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  max-width: 20ch !important;
}

/* Break Elementor shortcode wrappers so nav/track join the wrap grid (Next heading|arrows). */
body.page-id-4 .cks-wrap:has(.cks-quotes) > .elementor-widget-shortcode .elementor-shortcode,
body.home .cks-wrap:has(.cks-quotes) > .elementor-widget-shortcode .elementor-shortcode,
body.page-id-4 .cks-wrap:has(.cks-quotes) > .elementor-widget-shortcode .elementor-widget-container,
body.home .cks-wrap:has(.cks-quotes) > .elementor-widget-shortcode .elementor-widget-container {
  display: contents !important;
}
body.page-id-4 .cks-wrap:has(.cks-quotes) > .cks-h2,
body.home .cks-wrap:has(.cks-quotes) > .cks-h2,
body.page-id-4 .cks-wrap:has(.cks-quotes) > .elementor-widget-text-editor,
body.home .cks-wrap:has(.cks-quotes) > .elementor-widget-text-editor {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  justify-self: start !important;
}
body.page-id-4 .cks-wrap:has(.cks-quotes) > .cks-h2 .elementor-widget-container,
body.home .cks-wrap:has(.cks-quotes) > .cks-h2 .elementor-widget-container,
body.page-id-4 .cks-wrap:has(.cks-quotes) > .elementor-widget-text-editor .elementor-widget-container,
body.home .cks-wrap:has(.cks-quotes) > .elementor-widget-text-editor .elementor-widget-container {
  width: auto !important;
  max-width: 34rem !important;
}

/* ===== Service detail fidelity (pages 18–23) — Next solutions/[slug] + strategy-research ===== */
body.cks-service-detail .cks-section:has(.cks-svc-offer-card),
body.cks-service-detail .elementor-element.cks-section:has(.cks-svc-offer-card) {
  background: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 6rem !important; /* pb-24 */
}
/* Next "What we offer": clamp(1.8rem,3vw,2.4rem) max-w-[20ch] — not global .cks-h2 ~2.9rem */
body.cks-service-detail .cks-section:has(.cks-svc-offer-card) .cks-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
}
body.cks-service-detail .cks-section:has(.cks-svc-offer-card) .cks-h2,
body.cks-service-detail .cks-section:has(.cks-svc-offer-card) .cks-h2.elementor-widget {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.cks-service-detail .cks-section:has(.cks-svc-offer-card) .cks-h2 .elementor-heading-title,
body.cks-service-detail .cks-section:has(.cks-svc-offer-card) .cks-h2 h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  /* Next source leading-[1.3]; measured Poppins 46.85/38.4 ≈ 1.22 */
  line-height: 1.22 !important;
  letter-spacing: -0.015em !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  max-width: 20ch !important;
  margin: 0 !important;
}
/* Next: <br/> + p.mt-4 inside mb-12 intro block → ~27px H→P, 48px P→cards */
body.cks-service-detail .cks-section:has(.cks-svc-offer-card) .cks-h2 + .elementor-widget-text-editor {
  margin: 1.7rem 0 3rem !important; /* mt≈br+mt-4; mb-12 */
  padding: 0 !important;
  max-width: 34rem !important;
}
body.cks-service-detail .cks-section:has(.cks-svc-offer-card) .cks-h2 + .elementor-widget-text-editor p {
  margin: 0 !important;
  max-width: 34rem !important;
  font-size: 1.0625rem !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
}
body.cks-service-detail .cks-grid-3:has(.cks-svc-offer-card),
body.cks-service-detail .elementor-element.cks-grid-3:has(.cks-svc-offer-card) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important; /* gap-6 */
  --gap: 1.5rem !important;
  --column-gap: 1.5rem !important;
  --row-gap: 1.5rem !important;
  flex-direction: unset !important;
  width: 100% !important;
  margin-top: 0 !important;
  /* Elementor default container padding was 10px 0 → +20px section height */
  padding: 0 !important;
}
@media (min-width: 640px) {
  body.cks-service-detail .cks-grid-3:has(.cks-svc-offer-card),
  body.cks-service-detail .elementor-element.cks-grid-3:has(.cks-svc-offer-card) {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  body.cks-service-detail .cks-grid-3:has(.cks-svc-offer-card),
  body.cks-service-detail .elementor-element.cks-grid-3:has(.cks-svc-offer-card) {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
body.cks-service-detail .cks-svc-offer-card {
  background: #fff !important;
  border: 1px solid rgba(45, 45, 39, 0.1) !important;
  border-radius: 16px !important;
  padding: 2rem !important; /* p-8 */
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, transform 0.15s ease !important;
}
@media (min-width: 768px) {
  body.cks-service-detail .cks-svc-offer-card {
    padding: 2.25rem !important; /* md:p-9 */
  }
}
body.cks-service-detail .cks-svc-offer-card:hover {
  border-color: var(--teal-muted) !important;
  transform: translateY(-2px);
}
body.cks-service-detail .cks-svc-offer-icon {
  width: 2.75rem; /* w-11 */
  height: 2.75rem;
  border-radius: 10px;
  background: rgba(4, 61, 59, 0.08);
  display: grid;
  place-items: center;
  margin: 0 0 1.5rem !important; /* mb-6 */
  color: var(--teal);
  flex: none;
}
body.cks-service-detail .cks-svc-offer-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  stroke: var(--teal);
}
body.cks-service-detail .cks-svc-offer-card > .cks-h3,
body.cks-service-detail .cks-svc-offer-card > .elementor-widget-heading {
  margin: 0 0 0.875rem !important;
  padding: 0 !important;
  min-height: 3.5rem;
}
body.cks-service-detail .cks-svc-offer-card .elementor-heading-title,
body.cks-service-detail .cks-svc-offer-card h3,
body.cks-service-detail .cks-svc-offer-card h3 a {
  font-size: 1.22rem !important;
  /* Next source says font-medium; computed Poppins weight is 600 */
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  color: var(--ink) !important;
  margin: 0 !important;
}
body.cks-service-detail .cks-svc-offer-card > .elementor-widget-text-editor,
body.cks-service-detail .cks-svc-offer-card > .elementor-widget-text-editor p {
  margin: 0 !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  color: var(--grey-text) !important;
}
body.cks-service-detail .cks-learn-more-wrap {
  margin-top: auto !important;
  padding: 0 !important;
  align-self: flex-start;
}
body.cks-service-detail a.cks-learn-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 2rem 0 0 !important; /* pt-8 */
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--teal) !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  min-height: 0 !important;
}
body.cks-service-detail a.cks-learn-more:hover {
  text-decoration: underline !important;
  text-underline-offset: 5px !important;
  background: transparent !important;
  color: var(--teal) !important;
}
body.cks-service-detail a.cks-learn-more .cks-learn-more-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
body.cks-service-detail a.cks-learn-more:hover .cks-learn-more-arrow {
  transform: translate(2px, -2px);
}

/* Why Choose CKS */
body.cks-service-detail .cks-why-cks,
body.cks-service-detail .elementor-element.cks-why-cks {
  background: rgba(4, 61, 59, 0.03) !important;
  border-top: 1px solid rgba(45, 45, 39, 0.08) !important;
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
body.cks-service-detail .cks-why-cks .cks-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --widgets-spacing: 0px !important;
}
/*
 * Next: text-center max-w-[40rem] mx-auto mb-14.
 * Prior bug: margin:0 0 3.5rem + width:100% cancelled horizontal auto centering.
 */
body.cks-service-detail .cks-why-cks .cks-why-cks-title,
body.cks-service-detail .cks-why-cks .elementor-widget.cks-why-cks-title {
  display: block !important;
  /* width 100% + max-width 40rem + mx-auto → 640px centered shell like Next */
  width: 100% !important;
  max-width: 40rem !important;
  margin: 0 auto 3.5rem !important; /* mx-auto mb-14 */
  padding: 0 !important;
  align-self: center !important;
  justify-self: center !important;
  text-align: center !important;
  --container-widget-width: 100% !important;
  --width: 100% !important;
}
body.cks-service-detail .cks-why-cks .cks-why-cks-title .elementor-widget-container,
body.cks-service-detail .cks-why-cks .cks-why-cks-title .elementor-heading-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.cks-service-detail .cks-why-cks .cks-why-cks-title .elementor-heading-title {
  font-size: clamp(2rem, 3vw, 2.6rem) !important;
  /* Next source leading-[1.3]; measured Poppins ~50.75/41.6 ≈ 1.22 */
  line-height: 1.22 !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  margin: 0 !important;
}
body.cks-service-detail .cks-why-cks .cks-why-grid,
body.cks-service-detail .cks-why-cks .cks-grid-3.cks-why-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
  --gap: 1.5rem !important;
  width: 100% !important;
  flex-direction: unset !important;
  padding: 0 !important; /* kill Elementor 10px 0 container padding */
}
@media (min-width: 768px) {
  body.cks-service-detail .cks-why-cks .cks-why-grid,
  body.cks-service-detail .cks-why-cks .cks-grid-3.cks-why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  body.cks-service-detail .cks-why-cks .cks-why-grid,
  body.cks-service-detail .cks-why-cks .cks-grid-3.cks-why-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
body.cks-service-detail .cks-why-card {
  background: #fff !important;
  border: 1px solid rgba(45, 45, 39, 0.1) !important;
  border-left: 1px solid rgba(45, 45, 39, 0.1) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 1px 2px rgba(45, 45, 39, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --widgets-spacing: 0px !important;
  height: 100% !important;
  margin: 0 !important;
}
/*
 * Next why-card h3 has mb-3 in source but measured H3→P gap is 0 (margin collapses /
 * Poppins flex min-height absorbs it). Do not add widget bottom margin.
 */
body.cks-service-detail .cks-why-card > .cks-h3,
body.cks-service-detail .cks-why-card > .elementor-widget-heading {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
body.cks-service-detail .cks-why-card .elementor-heading-title,
body.cks-service-detail .cks-why-card h3 {
  font-size: 1.2rem !important;
  /* Next font-medium → computed Poppins 600 */
  font-weight: 600 !important;
  color: var(--teal) !important;
  margin: 0 !important;
  /* Next: min-h-[3rem] md:min-h-[3.25rem] — content-driven wrap, not forced breaks */
  min-height: 3rem;
  line-height: 1.22 !important; /* measured 23.42/19.2 */
}
@media (min-width: 768px) {
  body.cks-service-detail .cks-why-card .elementor-heading-title,
  body.cks-service-detail .cks-why-card h3 {
    min-height: 3.25rem;
  }
}
body.cks-service-detail .cks-why-card > .elementor-widget-text-editor,
body.cks-service-detail .cks-why-card > .elementor-widget-text-editor p,
body.cks-service-detail .cks-why-card p {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

/* Why Choose Sri Lanka */
body.cks-service-detail .cks-sri-lanka,
body.cks-service-detail .elementor-element.cks-sri-lanka {
  background: #fff !important;
  border-top: 1px solid rgba(45, 45, 39, 0.08) !important;
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
body.cks-service-detail .cks-sri-lanka-wrap {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important; /* Next gap-12 */
  align-items: start !important;
  width: 100% !important;
  max-width: var(--max, 1180px) !important;
  flex-direction: unset !important;
  padding: 0 !important;
}
/* Next: md:grid-cols-[1fr_1.5fr] gap-12; lg:gap-20 */
@media (min-width: 768px) {
  body.cks-service-detail .cks-sri-lanka-wrap {
    grid-template-columns: 1fr 1.5fr !important;
    gap: 3rem !important; /* keep gap-12 through md */
  }
}
@media (min-width: 1024px) {
  body.cks-service-detail .cks-sri-lanka-wrap {
    gap: 5rem !important; /* lg:gap-20 */
  }
}
body.cks-service-detail .cks-sri-lanka .cks-h2 .elementor-heading-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem) !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  margin: 0 !important;
  max-width: none !important;
}
body.cks-service-detail .cks-sri-lanka .elementor-widget-text-editor p {
  font-size: 1.15rem !important;
  /* Match measured Next body rhythm (~1.65) */
  line-height: 1.65 !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

/* Trust */
body.cks-service-detail .cks-trust-sec,
body.cks-service-detail .elementor-element.cks-trust-sec {
  background: rgba(4, 61, 59, 0.03) !important;
  border-top: 1px solid rgba(45, 45, 39, 0.08) !important;
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
/* Kill Elementor flex/widget gaps that stacked on top of intro mb-14 */
body.cks-service-detail .cks-trust-sec .cks-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --widgets-spacing: 0px !important;
  --widgets-spacing-row: 0px !important;
}
/* Next wraps heading + intro in max-w-[48rem] mb-14; H→P measured gap is 0 (mb-6 collapses) */
body.cks-service-detail .cks-trust-sec .cks-trust-intro {
  max-width: 48rem !important;
  width: 100% !important;
}
body.cks-service-detail .cks-trust-sec .cks-trust-intro.cks-h2,
body.cks-service-detail .cks-trust-sec .cks-trust-intro.elementor-widget-heading {
  margin: 0 !important;
  padding: 0 !important;
}
body.cks-service-detail .cks-trust-sec .cks-h2 .elementor-heading-title,
body.cks-service-detail .cks-trust-sec .cks-trust-intro .elementor-heading-title {
  font-size: clamp(2rem, 3vw, 2.6rem) !important;
  line-height: 1.22 !important; /* measured Next ~50.75/41.6 */
  font-weight: 600 !important;
  color: var(--teal) !important;
  margin: 0 !important; /* do NOT add mb-6 — Next computed gap H→P is 0 */
}
/*
 * mb-14 belongs once on the intro text widget (not also on <p>),
 * otherwise Elementor gap + dual margins → ~142px vs Next 56px.
 */
body.cks-service-detail .cks-trust-sec .cks-trust-intro.elementor-widget-text-editor {
  max-width: 48rem !important;
  margin: 0 0 3.5rem !important; /* mb-14 before card grid */
  padding: 0 !important;
}
body.cks-service-detail .cks-trust-sec .cks-trust-intro.elementor-widget-text-editor p {
  max-width: 48rem !important;
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
  margin: 0 !important;
}
body.cks-service-detail .cks-trust-sec .cks-grid-3:has(.cks-trust-card),
body.cks-service-detail .cks-trust-sec .cks-grid-3 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important; /* kill Elementor 10px 0 container padding */
}
@media (min-width: 640px) {
  body.cks-service-detail .cks-trust-sec .cks-grid-3:has(.cks-trust-card),
  body.cks-service-detail .cks-trust-sec .cks-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  body.cks-service-detail .cks-trust-sec .cks-grid-3:has(.cks-trust-card),
  body.cks-service-detail .cks-trust-sec .cks-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
body.cks-service-detail .cks-trust-card {
  background: #fff !important;
  border: 1px solid rgba(45, 45, 39, 0.1) !important;
  border-top: 3px solid var(--teal-muted) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 1px 2px rgba(45, 45, 39, 0.04) !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --widgets-spacing: 0px !important;
}
/* Next trust cards: h3 + <br/> → measured H3→P gap 27.2px (kill Elementor flex gap first) */
body.cks-service-detail .cks-trust-card > .cks-h3,
body.cks-service-detail .cks-trust-card > .elementor-widget-heading {
  margin: 0 0 1.7rem !important;
  padding: 0 !important;
}
body.cks-service-detail .cks-trust-card .elementor-heading-title {
  font-size: 1.15rem !important;
  font-weight: 600 !important; /* Next font-medium → computed 600 */
  color: var(--teal) !important;
  margin: 0 !important;
  line-height: 1.22 !important; /* measured 22.45/18.4 */
}
body.cks-service-detail .cks-trust-card > .elementor-widget-text-editor,
body.cks-service-detail .cks-trust-card > .elementor-widget-text-editor p,
body.cks-service-detail .cks-trust-card p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: var(--grey-text) !important;
  margin: 0 !important;
}

/* Service-detail CTA — shared shell */
body.cks-service-detail .cks-svc-cta,
body.cks-service-detail .elementor-element.cks-svc-cta {
  padding-top: 5.5rem !important; /* py-22 */
  padding-bottom: 5.5rem !important;
}
body.cks-service-detail .cks-svc-cta-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: var(--max, 1180px) !important;
}
@media (min-width: 768px) {
  body.cks-service-detail .cks-svc-cta-wrap {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
    flex-direction: unset !important;
  }
  body.cks-service-detail .cks-svc-cta-wrap > .cks-h2 {
    grid-column: 1 !important;
  }
  body.cks-service-detail .cks-svc-cta-btn-wrap {
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: center !important;
  }
}
body.cks-service-detail .cks-svc-cta-btn-wrap {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
}
body.cks-service-detail a.cks-svc-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  min-height: 0 !important;
}
body.cks-service-detail a.cks-svc-cta-btn .cks-svc-cta-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
body.cks-service-detail a.cks-svc-cta-btn:hover .cks-svc-cta-arrow {
  transform: translateX(4px);
}

/* Generic [slug] CTA (pages 19–23) — Next teal + cream pill */
body.cks-service-detail .cks-svc-cta-generic,
body.cks-service-detail .elementor-element.cks-svc-cta-generic {
  background: var(--teal) !important;
}
body.cks-service-detail .cks-svc-cta-generic .cks-h2 .elementor-heading-title {
  color: var(--cream) !important;
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  font-weight: 600 !important;
  /* Next source leading-[1.28]; computed at 48px is 58.56 ≈ 1.22 */
  line-height: 1.22 !important;
  letter-spacing: -0.015em !important;
  max-width: 22ch !important;
  text-align: left !important;
  margin: 0 !important;
}
body.cks-service-detail .cks-svc-cta-generic a.cks-svc-cta-btn {
  background: var(--cream) !important;
  color: var(--teal) !important;
  padding: 1rem 2rem !important; /* py-4 px-8 */
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
}
body.cks-service-detail .cks-svc-cta-generic a.cks-svc-cta-btn:hover {
  background: #fff !important;
  color: var(--teal) !important;
}

/* Strategy CTA (page 18) — Next #0B3B36 + white pill */
body.cks-service-detail .cks-svc-cta-strategy,
body.page-id-18 .cks-svc-cta,
body.page-id-18 .elementor-element.cks-svc-cta {
  background: #0B3B36 !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}
@media (min-width: 768px) {
  body.cks-service-detail .cks-svc-cta-strategy,
  body.page-id-18 .cks-svc-cta,
  body.page-id-18 .elementor-element.cks-svc-cta {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  body.cks-service-detail .cks-svc-cta-strategy .cks-svc-cta-wrap {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 3rem !important;
    grid-template-columns: none !important;
  }
  body.cks-service-detail .cks-svc-cta-strategy .cks-svc-cta-btn-wrap {
    justify-self: unset !important;
    flex-shrink: 0 !important;
  }
}
body.cks-service-detail .cks-svc-cta-strategy .cks-h2 .elementor-heading-title,
body.page-id-18 .cks-svc-cta .cks-h2 .elementor-heading-title {
  color: #fff !important;
  font-size: clamp(1.875rem, 3vw, 2.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
  letter-spacing: -0.015em !important;
  max-width: 42rem !important;
  text-align: left !important;
}
body.cks-service-detail .cks-svc-cta-strategy a.cks-svc-cta-btn {
  background: #fff !important;
  color: #0B3B36 !important;
  padding: 0.75rem 1.5rem !important; /* py-3 px-6 */
  font-size: 1rem !important;
  line-height: 1.3 !important;
}
body.cks-service-detail .cks-svc-cta-strategy a.cks-svc-cta-btn:hover {
  background: #f3f4f6 !important;
  color: #0B3B36 !important;
}

/* ===== Solutions index fidelity (page 5) � Next /solutions Learn more + fit + CTA ===== */
/* Kill green oval: .cks-btn on Elementor widget wrapper was painting teal pill behind link */
body.page-id-5 .cks-card > .cks-btn,
body.page-id-5 .cks-card > .elementor-widget-button,
body.page-id-5 .cks-card > .cks-learn-more-wrap {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: auto !important;
  align-self: flex-start !important;
  width: auto !important;
  min-height: 0 !important;
  color: inherit !important;
}
body.page-id-5 .cks-card a.cks-learn-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 2rem 0 0 !important; /* pt-8 */
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--teal) !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  min-height: 0 !important;
  width: auto !important;
}
body.page-id-5 .cks-card a.cks-learn-more:hover {
  text-decoration: underline !important;
  text-underline-offset: 5px !important;
  background: transparent !important;
  color: var(--teal) !important;
}
body.page-id-5 .cks-card a.cks-learn-more .cks-learn-more-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
body.page-id-5 .cks-card a.cks-learn-more:hover .cks-learn-more-arrow {
  transform: translate(2px, -2px);
}
body.page-id-5 .cks-card:hover {
  border-color: var(--teal-muted) !important;
  transform: translateY(-2px);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

/* How we fit into your team */
body.page-id-5 .cks-sol-fit,
body.page-id-5 .elementor-element.cks-sol-fit {
  background: #fff !important;
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
body.page-id-5 .cks-sol-fit .cks-h2 .elementor-heading-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  max-width: 20ch !important;
}
body.page-id-5 .cks-sol-fit .cks-wrap > .elementor-widget-text-editor,
body.page-id-5 .cks-sol-fit .cks-wrap > .elementor-widget-text-editor p {
  max-width: 34rem !important;
  margin-top: 1.25rem !important; /* mt-5 after br rhythm */
  font-size: 1.0625rem !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
}
body.page-id-5 .cks-sol-fit .cks-grid-3,
body.page-id-5 .cks-sol-fit .elementor-element.cks-grid-3 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important; /* gap-12 */
  --gap: 3rem !important;
  margin-top: 3.5rem !important; /* mb-14 under intro block */
  width: 100% !important;
  flex-direction: unset !important;
}
@media (min-width: 768px) {
  body.page-id-5 .cks-sol-fit .cks-grid-3,
  body.page-id-5 .cks-sol-fit .elementor-element.cks-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
body.page-id-5 .cks-sol-fit .cks-rule {
  background: transparent !important;
  border: 0 !important;
  border-left: 3px solid var(--teal-muted) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0 0 1.5rem !important;
  display: block !important;
}
body.page-id-5 .cks-sol-fit .cks-rule .elementor-heading-title,
body.page-id-5 .cks-sol-fit .cks-rule h3 {
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: var(--teal) !important;
  margin: 0 !important;
}
body.page-id-5 .cks-sol-fit .cks-rule p {
  margin: 1rem 0 0 !important;
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
  color: var(--ink) !important;
}

/* Solutions CTA � Next md:grid-cols-[1.3fr_1fr] cream Partner pill right */
body.page-id-5 .cks-sol-cta,
body.page-id-5 .elementor-element.cks-sol-cta {
  background: var(--teal) !important;
  padding-top: 5.5rem !important; /* py-22 approx */
  padding-bottom: 5.5rem !important;
}
body.page-id-5 .cks-sol-cta-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: var(--max, 1180px) !important;
}
@media (min-width: 768px) {
  body.page-id-5 .cks-sol-cta-wrap {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
    flex-direction: unset !important;
  }
  body.page-id-5 .cks-sol-cta-wrap > .cks-h2,
  body.page-id-5 .cks-sol-cta-wrap > .elementor-widget-text-editor {
    grid-column: 1 !important;
  }
  body.page-id-5 .cks-sol-cta-wrap > .cks-h2 {
    grid-row: 1 !important;
  }
  body.page-id-5 .cks-sol-cta-wrap > .elementor-widget-text-editor {
    grid-row: 2 !important;
  }
  body.page-id-5 .cks-sol-cta-btn-wrap {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
    align-self: center !important;
  }
}
body.page-id-5 .cks-sol-cta .cks-h2 .elementor-heading-title {
  color: var(--cream) !important;
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  line-height: 1.28 !important;
  letter-spacing: -0.015em !important;
  font-weight: 600 !important;
  max-width: 18ch !important;
  margin: 0 !important;
}
body.page-id-5 .cks-sol-cta .elementor-widget-text-editor p {
  margin: 1.25rem 0 0 !important;
  max-width: 30rem !important;
  font-size: 1.1rem !important;
  line-height: 1.65 !important;
  color: var(--teal-quiet) !important;
}
body.page-id-5 .cks-sol-cta-btn-wrap {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}
body.page-id-5 a.cks-sol-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  background: var(--cream) !important;
  color: var(--teal) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 1rem 1.75rem !important; /* py-4 px-7 */
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  transition: background 0.15s ease !important;
}
body.page-id-5 a.cks-sol-cta-btn:hover {
  background: #fff !important;
  color: var(--teal) !important;
}
body.page-id-5 a.cks-sol-cta-btn .cks-sol-cta-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
body.page-id-5 a.cks-sol-cta-btn:hover .cks-sol-cta-arrow {
  transform: translateX(4px);
}
/* Prevent teal-band outline CTA rules from fighting the cream pill */
body.page-id-5 .cks-sol-cta a.cks-sol-cta-btn {
  border-color: transparent !important;
}

/* ===== About Us fidelity (pages 11/12) � Next app/about/page.tsx ===== */
.cks-grid-5, .elementor-element.cks-grid-5 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.25rem !important; /* gap-5 */
  flex-direction: unset !important;
  text-align: left !important;
}
@media (min-width: 640px) {
  .cks-grid-5, .elementor-element.cks-grid-5 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  .cks-grid-5, .elementor-element.cks-grid-5 {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

body.cks-about-page .cks-about-drives,
body.cks-about-page .cks-about-why,
body.cks-about-page .cks-about-how,
body.cks-about-page .cks-about-engage,
body.cks-about-page .cks-about-values,
body.cks-about-page .cks-about-team {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
body.cks-about-page .cks-about-drives .cks-h2 .elementor-heading-title,
body.cks-about-page .cks-about-why .cks-h2 .elementor-heading-title,
body.cks-about-page .cks-about-how .cks-h2 .elementor-heading-title,
body.cks-about-page .cks-about-engage .cks-h2 .elementor-heading-title,
body.cks-about-page .cks-about-values .cks-h2 .elementor-heading-title,
body.cks-about-page .cks-about-team .cks-h2 .elementor-heading-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem) !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  margin: 0 0 3rem !important;
  text-align: left !important;
}
body.cks-about-page .cks-about-drives .cks-grid-3,
body.cks-about-page .cks-about-drives .elementor-element.cks-grid-3 {
  gap: 3rem !important; /* gap-12 */
}
body.cks-about-page .cks-about-drives .cks-rule .cks-h3 .elementor-heading-title {
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  color: var(--teal) !important;
}
body.cks-about-page .cks-about-drives .cks-rule p {
  margin: 0.75rem 0 0 !important;
  font-size: 1.1rem !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
}
body.cks-about-page .cks-about-drives .cks-rule .elementor-widget-text-editor:first-child,
body.cks-about-page .cks-about-drives .cks-rule .elementor-widget-text-editor:first-child p,
body.cks-about-page .cks-about-drives .cks-rule .elementor-widget-text-editor:first-child span {
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  color: var(--teal) !important;
  margin: 0 0 0.5rem !important;
  display: block !important;
}

/* Why We Do This */
body.cks-about-page .cks-about-why,
body.cks-about-page .elementor-element.cks-about-why {
  background: #fff !important;
}
body.cks-about-page .cks-pull {
  margin: 2rem 0 0 !important;
  padding: 0 0 0 1.5rem !important;
  border-left: 3px solid var(--teal) !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1.35rem !important;
  line-height: 1.4 !important;
  color: var(--teal) !important;
  max-width: 50rem;
  background: transparent !important;
  border-radius: 0 !important;
}
body.cks-about-page .cks-pull footer {
  margin-top: 1rem !important;
  font-family: var(--body) !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  color: var(--grey-text) !important;
}
body.cks-about-page .cks-why-grid,
body.cks-about-page .cks-about-why .cks-grid-3 {
  margin-top: 3rem !important;
  gap: 1.5rem !important;
}
body.cks-about-page .cks-why-card {
  background: #fff !important;
  border: 1px solid rgba(229, 229, 229, 0.6) !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
  box-shadow: 0 1px 2px rgba(45, 45, 39, 0.04) !important;
  text-align: left !important;
}
body.cks-about-page .cks-why-card .cks-h3 .elementor-heading-title {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #0B3B36 !important;
  margin: 0 0 0.75rem !important;
  min-height: 2.5rem;
  text-align: left !important;
}
body.cks-about-page .cks-why-card p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--ink) !important;
  margin: 0 !important;
  text-align: left !important;
}

/* How We Work � 5 equal cards, left aligned */
body.cks-about-page .cks-how-grid,
body.cks-about-page .cks-about-how .cks-grid-5 {
  gap: 1.25rem !important;
  text-align: left !important;
}
body.cks-about-page .cks-how-card,
body.cks-about-page .cks-about-how .cks-card {
  padding: 1.5rem !important;
  text-align: left !important;
  gap: 0 !important;
}
body.cks-about-page .cks-about-how .cks-card .elementor-widget-text-editor,
body.cks-about-page .cks-about-how .cks-card .cks-h3 {
  text-align: left !important;
}
body.cks-about-page .cks-about-how .cks-step,
body.cks-about-page .cks-about-how .cks-card > .elementor-widget-text-editor:first-child p {
  font-family: var(--head) !important;
  font-weight: 600 !important;
  font-size: 1.6rem !important;
  color: var(--teal) !important;
  line-height: 1 !important;
  margin: 0 0 1rem !important;
  text-align: left !important;
}
body.cks-about-page .cks-about-how .cks-h3 .elementor-heading-title {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  min-height: 3rem;
  margin: 0 0 0.5rem !important;
  text-align: left !important;
}
body.cks-about-page .cks-about-how .cks-card > .elementor-widget-text-editor:last-child p {
  font-size: 0.95rem !important;
  line-height: 1.625 !important;
  color: var(--grey-text) !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Engagement models */
body.cks-about-page .cks-about-engage,
body.cks-about-page .elementor-element.cks-about-engage {
  background: #fff !important;
}
body.cks-about-page .cks-eng-grid {
  gap: 2rem !important;
}
body.cks-about-page .cks-eng-card {
  background: #F8F7F4 !important;
  border: 1px solid rgba(45, 45, 39, 0.1) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-align: left !important;
}
body.cks-about-page .cks-eng-card .cks-h3 .elementor-heading-title {
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  color: var(--teal) !important;
  margin: 0 0 0.75rem !important;
  text-align: left !important;
}
body.cks-about-page .cks-eng-card p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--ink) !important;
  margin: 0 !important;
  text-align: left !important;
}
body.cks-about-page a.cks-about-learn {
  display: inline-flex !important;
  align-items: center !important;
  margin-top: 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #0B3B36 !important;
  text-decoration: none !important;
  background: transparent !important;
}
body.cks-about-page a.cks-about-learn:hover {
  text-decoration: underline !important;
}

/* Core Values */
body.cks-about-page .cks-about-values .cks-grid-4,
body.cks-about-page .cks-about-values .elementor-element.cks-grid-4 {
  gap: 1.5rem !important;
  text-align: left !important;
}
body.cks-about-page .cks-about-values .cks-teal-tile {
  text-align: left !important;
  padding: 2.25rem !important; /* md:p-9 */
  gap: 0 !important;
}
body.cks-about-page .cks-about-values .cks-value-icon-wrap {
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
}
body.cks-about-page .cks-about-values .cks-value-icon {
  margin: 0 !important;
}
body.cks-about-page .cks-about-values .cks-h3 .elementor-heading-title {
  font-weight: 600 !important; /* Next computed medium → 600 */
  font-size: 1.2rem !important;
  color: var(--cream) !important;
  margin: 0 !important;
  text-align: left !important;
}
body.cks-about-page .cks-about-values .cks-teal-tile > .elementor-widget-text-editor p {
  margin: 0.75rem 0 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.625 !important;
  color: var(--teal-quiet) !important;
  text-align: left !important;
}
body.cks-about-page .cks-about-values .cks-wrap {
  gap: 0 !important;
}
body.cks-about-page .cks-about-values .cks-h2 {
  margin: 0 0 0 !important;
}
body.cks-about-page .cks-about-values .cks-h2 .elementor-heading-title {
  margin: 0 !important;
}
body.cks-about-page .cks-about-values .cks-h2 + .elementor-widget-text-editor {
  margin: 1rem 0 3rem !important; /* mt-4 + mb-12 approx */
  padding: 0 !important;
}
body.cks-about-page .cks-about-values .cks-h2 + .elementor-widget-text-editor p {
  margin: 0 !important;
  max-width: 34rem !important;
  color: var(--ink) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

/* Our Team stats */
body.cks-about-page .cks-about-stats,
body.cks-about-page .cks-about-team .cks-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem !important;
  border-top: 1px solid rgba(45, 45, 39, 0.14) !important;
  padding-top: 3rem !important;
  margin-top: 0 !important;
  text-align: left !important;
}
@media (min-width: 768px) {
  body.cks-about-page .cks-about-stats,
  body.cks-about-page .cks-about-team .cks-grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 3rem !important;
  }
}
body.cks-about-page .cks-about-stat-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}
body.cks-about-page .cks-about-stat,
body.cks-about-page p.cks-about-stat {
  font-family: var(--head) !important;
  font-size: clamp(2.4rem, 4vw, 3.4rem) !important;
  font-weight: 700 !important;
  color: var(--teal) !important;
  line-height: 1 !important;
  margin: 0 0 0.75rem !important;
  display: block !important;
}
body.cks-about-page .cks-about-stat-label,
body.cks-about-page p.cks-about-stat-label {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  margin: 0 !important;
  display: block !important;
}
body.cks-about-page .cks-about-team .cks-lead,
body.cks-about-page .cks-about-team .cks-lead p {
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  max-width: 44rem !important;
  margin: 0 0 4rem !important;
  color: var(--ink) !important;
}

/* About CTA */
body.cks-about-page .cks-about-cta,
body.cks-about-page .elementor-element.cks-about-cta {
  background: var(--teal) !important;
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
}
body.cks-about-page .cks-about-cta-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: var(--max, 1180px) !important;
}
@media (min-width: 768px) {
  body.cks-about-page .cks-about-cta-wrap {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
    flex-direction: unset !important;
  }
  body.cks-about-page .cks-about-cta-wrap > .cks-h2 {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  body.cks-about-page .cks-about-cta-wrap > .elementor-widget-text-editor {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  body.cks-about-page .cks-about-cta-btn-wrap {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
    align-self: center !important;
  }
}
body.cks-about-page .cks-about-cta .cks-h2 .elementor-heading-title {
  color: var(--cream) !important;
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
  max-width: 18ch !important;
  margin: 0 !important;
  text-align: left !important;
}
body.cks-about-page .cks-about-cta .elementor-widget-text-editor p {
  margin: 1rem 0 0 !important;
  max-width: 30rem !important;
  font-size: 1.1rem !important;
  color: var(--teal-quiet) !important;
}
body.cks-about-page .cks-about-cta-btn-wrap {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
body.cks-about-page a.cks-about-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  background: var(--cream) !important;
  color: var(--teal) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 1rem 1.75rem !important;
  font-family: var(--head) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
body.cks-about-page a.cks-about-cta-btn:hover {
  background: #fff !important;
  color: var(--teal) !important;
}
body.cks-about-page a.cks-about-cta-btn .cks-about-cta-arrow {
  width: 16px; height: 16px; flex: none;
  transition: transform 0.15s ease;
}
body.cks-about-page a.cks-about-cta-btn:hover .cks-about-cta-arrow {
  transform: translateX(4px);
}
/* ===== Leadership fidelity 1.7.61 — overrides for Next app/leadership/page.tsx ===== */
body.page-id-13 .cks-lead-hero-sec,
body.page-id-58 .cks-lead-hero-sec,
body.cks-leadership-page .cks-lead-hero-sec,
body.cks-site .elementor-element.cks-section:has(.cks-lead-hero) {
  padding-top: 4rem !important;
  padding-bottom: 0 !important;
  gap: 0 !important;
  --gap: 0px !important;
}
@media (min-width: 768px) {
  body.page-id-13 .cks-lead-hero-sec,
  body.page-id-58 .cks-lead-hero-sec,
  body.cks-leadership-page .cks-lead-hero-sec,
  body.cks-site .elementor-element.cks-section:has(.cks-lead-hero) {
    padding-top: 5rem !important;
  }
}
.cks-lead-hero, .elementor-element.cks-lead-hero {
  margin-bottom: 4rem !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  align-items: start !important;
}
@media (min-width: 768px) {
  .cks-lead-hero, .elementor-element.cks-lead-hero {
    grid-template-columns: 1fr 1fr !important;
    margin-bottom: 5rem !important;
  }
}
@media (min-width: 1024px) {
  .cks-lead-hero, .elementor-element.cks-lead-hero { gap: 4rem !important; }
}
.cks-lead-hero .cks-h1 .elementor-heading-title {
  font-size: 2.25rem !important;
  line-height: 1.22 !important;
  color: #0B3B36 !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
@media (min-width: 768px) {
  .cks-lead-hero .cks-h1 .elementor-heading-title { font-size: 3rem !important; }
}
.cks-lead-hero .cks-lead, .cks-lead-hero .cks-lead p {
  color: #404040 !important;
  font-size: 1rem !important;
  line-height: 1.625 !important;
  margin: 0 !important;
}
@media (min-width: 768px) {
  .cks-lead-hero .cks-lead, .cks-lead-hero .cks-lead p { font-size: 1.125rem !important; }
}
.cks-lead-hero.e-con,
.cks-lead-profile.e-con,
.cks-lead-photo.e-con,
.cks-lead-body.e-con,
.cks-lead-profile > .e-con.e-child,
.cks-lead-hero > .elementor-widget {
  --padding-top: 0px !important; --padding-right: 0px !important;
  --padding-bottom: 0px !important; --padding-left: 0px !important;
  padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important;
}
.cks-lead-list.cks-section, .elementor-element.cks-lead-list.cks-section {
  padding-top: 0 !important; padding-bottom: 6rem !important; gap: 0 !important; --gap: 0px !important;
}
body.page-id-13 .cks-lead-list > .cks-wrap,
body.page-id-58 .cks-lead-list > .cks-wrap,
body.cks-leadership-page .cks-lead-list > .cks-wrap {
  gap: 0 !important; --gap: 0px !important;
  display: flex !important; flex-direction: column !important;
}
.cks-lead-profile, .elementor-element.cks-lead-profile {
  --display: grid !important; display: grid !important;
  grid-template-columns: 1fr !important; gap: 3rem !important; align-items: start !important;
  width: 100% !important; background: transparent !important; border: 0 !important;
  box-shadow: none !important; border-radius: 0 !important;
}
@media (min-width: 1024px) {
  .cks-lead-profile, .elementor-element.cks-lead-profile {
    grid-template-columns: 1fr 1.4fr !important; gap: 3rem 5rem !important;
  }
}
.cks-lead-profile--next, .elementor-element.cks-lead-profile--next,
.cks-lead-list .cks-lead-profile + .cks-lead-profile {
  margin-top: 6rem !important; padding-top: 4rem !important;
  border-top: 1px solid rgba(45,45,39,0.14) !important;
}
.cks-lead-photo, .elementor-element.cks-lead-photo {
  max-width: 22rem !important; width: 100% !important; border-radius: 16px !important;
  overflow: hidden !important; background: #f5f5f5 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; border: 0 !important; align-self: start !important;
}
@media (min-width: 1024px) {
  .cks-lead-photo, .elementor-element.cks-lead-photo { position: sticky !important; top: 2rem !important; }
}
.cks-lead-photo .elementor-widget-image,
.cks-lead-photo .elementor-widget-container,
.cks-lead-photo .elementor-widget-text-editor {
  margin: 0 !important; padding: 0 !important; background: transparent !important;
  box-shadow: none !important; border: 0 !important;
}
.cks-lead-photo .elementor-widget-image img, .cks-lead-photo img {
  width: 100% !important; max-width: none !important; height: auto !important;
  aspect-ratio: 4 / 5 !important; object-fit: cover !important; object-position: top !important;
  border-radius: 16px !important; display: block !important; box-shadow: none !important;
}
.cks-lead-placeholder {
  aspect-ratio: 4 / 5; max-width: 22rem; width: 100%; border-radius: 16px; background: #E4E0D8;
  display: grid; place-items: center; text-align: center; color: var(--grey-text);
  font-size: 0.9rem; padding: 1rem; line-height: 1.45; box-sizing: border-box;
}
.cks-lead-body, .elementor-element.cks-lead-body {
  display: flex !important; flex-direction: column !important; gap: 0 !important; --gap: 0px !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
}
.cks-lead-profile .cks-h2 .elementor-heading-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important; line-height: 1.22 !important;
  color: var(--teal) !important; font-weight: 600 !important; margin: 0 !important;
}
.cks-lead-role, .cks-lead-role p {
  font-family: var(--head) !important; font-weight: 500 !important; font-size: 1.15rem !important;
  line-height: 1.4 !important; color: var(--teal) !important; margin: 0.25rem 0 0 !important;
}
.cks-lead-org, .cks-lead-org p {
  font-family: var(--head) !important; font-weight: 400 !important; font-size: 1.05rem !important;
  color: var(--grey-text) !important; margin: 0.125rem 0 0 !important;
}
.cks-lead-profile .cks-lead-bio { margin: 0 !important; padding: 0 !important; max-width: 36rem !important; }
.cks-lead-profile .cks-lead-bio + .cks-lead-bio { margin-top: 1.25rem !important; }
.cks-lead-profile .cks-lead-org + .cks-lead-bio { margin-top: 2rem !important; }
.cks-lead-profile .cks-lead-bio p {
  font-size: 1.1rem !important; line-height: 1.6 !important; color: var(--ink) !important;
  margin: 0 !important; max-width: 36rem !important;
}
.cks-lead-meta-wrap { margin: 2.5rem 0 0 !important; padding: 0 !important; max-width: 36rem !important; }
ul.cks-lead-meta {
  list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important;
  grid-template-columns: 1fr !important; gap: 1.5rem 2.5rem !important; max-width: 36rem !important;
}
@media (min-width: 640px) { ul.cks-lead-meta { grid-template-columns: 1fr 1fr !important; } }
.cks-lead-meta-item {
  border-top: 1px solid rgba(45,45,39,0.14); padding-top: 0.875rem; margin: 0; list-style: none;
}
.cks-lead-meta-item h3 {
  font-family: var(--head); font-weight: 500; font-size: 0.9rem; color: var(--teal-muted); margin: 0 0 0.5rem;
}
.cks-lead-meta-item p { margin: 0.5rem 0 0; font-size: 0.875rem; color: #404040; line-height: 1.5; }
ul.cks-lead-edu {
  list-style: disc inside !important; margin: 0.5rem 0 0 !important; padding: 0 !important;
  display: grid !important; gap: 0.375rem !important;
}
ul.cks-lead-edu li { font-size: 0.875rem !important; color: #404040 !important; line-height: 1.5 !important; margin: 0 !important; }
.cks-lead-links-wrap { margin: 0 !important; padding: 0 !important; }
.cks-lead-links {
  margin-top: 1.5rem !important; display: flex !important; flex-wrap: wrap !important;
  gap: 1.5rem !important; align-items: center !important;
}
a.cks-lead-link {
  display: inline-flex !important; align-items: center !important; gap: 0.5rem !important;
  font-family: var(--head) !important; font-weight: 500 !important; color: var(--teal) !important;
  text-decoration: underline !important; text-underline-offset: 6px !important; text-decoration-thickness: 1.5px !important;
}
a.cks-lead-link:hover { text-decoration-color: var(--teal-muted) !important; }
.cks-lead-link-arrow { width: 16px; height: 16px; flex: none; }
@media (max-width: 1023.98px) {
  .cks-lead-photo, .elementor-element.cks-lead-photo { position: static !important; }
}
body.page-id-13 .cks-lead-cta, body.page-id-58 .cks-lead-cta, body.cks-leadership-page .cks-lead-cta {
  background: var(--teal) !important; padding-top: 5.5rem !important; padding-bottom: 5.5rem !important;
  gap: 0 !important; --gap: 0px !important;
}
body.page-id-13 .cks-lead-cta-grid, body.page-id-58 .cks-lead-cta-grid, body.cks-leadership-page .cks-lead-cta-grid {
  --display: grid !important; display: grid !important; grid-template-columns: 1fr !important;
  gap: 2.5rem !important; align-items: center !important;
}
@media (min-width: 768px) {
  body.page-id-13 .cks-lead-cta-grid, body.page-id-58 .cks-lead-cta-grid, body.cks-leadership-page .cks-lead-cta-grid {
    grid-template-columns: 1.3fr 1fr !important; gap: 4rem !important;
  }
  body.page-id-13 .cks-lead-cta .cks-eng-cta-actions,
  body.page-id-58 .cks-lead-cta .cks-eng-cta-actions,
  body.cks-leadership-page .cks-lead-cta .cks-eng-cta-actions {
    justify-self: end !important; align-self: center !important;
  }
}
body.page-id-13 .cks-lead-cta > .cks-wrap > .cks-eng-col,
body.page-id-58 .cks-lead-cta > .cks-wrap > .cks-eng-col,
body.cks-leadership-page .cks-lead-cta > .cks-wrap > .cks-eng-col {
  gap: 0 !important; --gap: 0px !important; padding-top: 0 !important; padding-bottom: 0 !important;
  --padding-top: 0 !important; --padding-bottom: 0 !important; background: transparent !important;
}
body.page-id-13 .cks-lead-cta .cks-h2 .elementor-heading-title,
body.page-id-58 .cks-lead-cta .cks-h2 .elementor-heading-title,
body.cks-leadership-page .cks-lead-cta .cks-h2 .elementor-heading-title {
  color: var(--cream) !important; font-size: clamp(2rem, 3.8vw, 3rem) !important;
  line-height: 1.22 !important; font-weight: 600 !important; max-width: 18ch !important; margin: 0 !important;
}
body.page-id-13 .cks-lead-cta .elementor-widget-text-editor,
body.page-id-58 .cks-lead-cta .elementor-widget-text-editor,
body.cks-leadership-page .cks-lead-cta .elementor-widget-text-editor { margin: 1.7rem 0 0 !important; padding: 0 !important; }
body.page-id-13 .cks-lead-cta .elementor-widget-text-editor p,
body.page-id-58 .cks-lead-cta .elementor-widget-text-editor p,
body.cks-leadership-page .cks-lead-cta .elementor-widget-text-editor p {
  margin: 0 !important; max-width: 30rem !important; font-size: 1.1rem !important;
  line-height: 1.65 !important; color: var(--teal-quiet) !important;
}
body.page-id-13 .cks-eng-cta-btn-wrap, body.page-id-58 .cks-eng-cta-btn-wrap, body.cks-leadership-page .cks-eng-cta-btn-wrap {
  display: flex !important; justify-content: flex-start !important; width: 100% !important;
  margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important;
}
@media (min-width: 768px) {
  body.page-id-13 .cks-eng-cta-btn-wrap, body.page-id-58 .cks-eng-cta-btn-wrap, body.cks-leadership-page .cks-eng-cta-btn-wrap {
    justify-content: flex-end !important;
  }
}
body.page-id-13 a.cks-eng-cta-btn, body.page-id-58 a.cks-eng-cta-btn, body.cks-leadership-page a.cks-eng-cta-btn {
  display: inline-flex !important; align-items: center !important; gap: 0.625rem !important;
  background: var(--cream) !important; color: var(--teal) !important; border: 0 !important;
  border-radius: 999px !important; padding: 1rem 1.75rem !important; font-family: var(--head) !important;
  font-weight: 500 !important; font-size: 1rem !important; line-height: 1.6 !important;
  text-decoration: none !important; white-space: nowrap !important; box-shadow: none !important;
}
body.page-id-13 a.cks-eng-cta-btn:hover, body.page-id-58 a.cks-eng-cta-btn:hover, body.cks-leadership-page a.cks-eng-cta-btn:hover {
  background: #fff !important; color: var(--teal) !important;
}

/* Leadership bio width + hero margin collapse fix (1.7.61b) */
body.page-id-13 .cks-lead-hero,
body.page-id-58 .cks-lead-hero,
body.cks-leadership-page .cks-lead-hero {
  margin-bottom: 0 !important;
}
body.page-id-13 .cks-lead-hero-sec,
body.page-id-58 .cks-lead-hero-sec,
body.cks-leadership-page .cks-lead-hero-sec {
  padding-bottom: 4rem !important; /* Next mb-16 after hero content */
}
@media (min-width: 768px) {
  body.page-id-13 .cks-lead-hero-sec,
  body.page-id-58 .cks-lead-hero-sec,
  body.cks-leadership-page .cks-lead-hero-sec {
    padding-bottom: 5rem !important; /* md:mb-20 */
  }
}
body.page-id-13 .cks-lead-profile .cks-lead-bio,
body.page-id-13 .cks-lead-profile .cks-lead-bio .elementor-widget-container,
body.page-id-13 .cks-lead-profile .cks-lead-bio p,
body.page-id-58 .cks-lead-profile .cks-lead-bio,
body.page-id-58 .cks-lead-profile .cks-lead-bio p,
body.cks-leadership-page .cks-lead-profile .cks-lead-bio p {
  max-width: 36rem !important;
}
body.page-id-13 .cks-lead-profile,
body.page-id-58 .cks-lead-profile,
body.cks-leadership-page .cks-lead-profile {
  gap: 5rem !important; /* Next lg:gap-20 as single gap when one row */
}
@media (max-width: 1023.98px) {
  body.page-id-13 .cks-lead-profile,
  body.page-id-58 .cks-lead-profile,
  body.cks-leadership-page .cks-lead-profile {
    gap: 3rem !important;
  }
}

/* Leadership hero spacing: keep section short like Next (margin collapse); gap via list pt */
body.page-id-13 .cks-lead-hero-sec,
body.page-id-58 .cks-lead-hero-sec,
body.cks-leadership-page .cks-lead-hero-sec {
  padding-bottom: 0 !important;
}
body.page-id-13 .cks-lead-hero,
body.page-id-58 .cks-lead-hero,
body.cks-leadership-page .cks-lead-hero {
  margin-bottom: 0 !important;
}
body.page-id-13 .cks-lead-list.cks-section,
body.page-id-58 .cks-lead-list.cks-section,
body.cks-leadership-page .cks-lead-list.cks-section {
  padding-top: 4rem !important; /* Next mb-16 after hero */
}
@media (min-width: 768px) {
  body.page-id-13 .cks-lead-list.cks-section,
  body.page-id-58 .cks-lead-list.cks-section,
  body.cks-leadership-page .cks-lead-list.cks-section {
    padding-top: 5rem !important; /* md:mb-20 */
  }
}
/* Bio max-width on widget + container (Elementor nests p) */
body.page-id-13 .cks-lead-body,
body.page-id-58 .cks-lead-body,
body.cks-leadership-page .cks-lead-body {
  max-width: none !important;
}
body.page-id-13 .cks-lead-bio.elementor-widget,
body.page-id-13 .cks-lead-bio .elementor-widget-container,
body.page-id-58 .cks-lead-bio.elementor-widget,
body.cks-leadership-page .cks-lead-bio.elementor-widget {
  max-width: 36rem !important;
}
