/**
 * Healthcare SEO Services page-only extras.
 * Loaded only via seo.extra_css — scoped so other pages are unaffected.
 */
html body.page-hcseo.page-service .hc-theme-page.theme-html-root {
  /* namespace hook */
}

/* FAQ — native details accordion (beats home.css .faq summary padding / ::after) */
html body.page-hcseo.page-service .hc-theme-page #faq .head {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(26px, 3vw, 40px);
  text-align: center;
}
html body.page-hcseo.page-service .hc-theme-page #faq .faq-wrap {
  max-width: 920px !important;
  width: 100% !important;
  margin: 8px auto 0 !important;
  display: grid !important;
  gap: 12px !important;
}
html body.page-hcseo.page-service .hc-theme-page #faq details.faq {
  background: #fff !important;
  border: 1px solid var(--line, #e1e9e5) !important;
  border-radius: var(--r-card, 18px) !important;
  margin: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
html body.page-hcseo.page-service .hc-theme-page #faq details.faq > summary {
  list-style: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  text-align: left !important;
  padding: 20px 22px !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  font-size: 1.02rem !important;
  color: var(--graphite, #0d2029) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.45 !important;
}
html body.page-hcseo.page-service .hc-theme-page #faq details.faq > summary::-webkit-details-marker,
html body.page-hcseo.page-service .hc-theme-page #faq details.faq > summary::marker,
html body.page-hcseo.page-service .hc-theme-page #faq details.faq > summary::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}
html body.page-hcseo.page-service .hc-theme-page #faq details.faq .tog {
  width: 26px !important;
  height: 26px !important;
  flex: none !important;
  border-radius: 50% !important;
  border: 1px solid var(--line, #e1e9e5) !important;
  display: grid !important;
  place-items: center !important;
  color: var(--signal-deep, #c45e12) !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}
html body.page-hcseo.page-service .hc-theme-page #faq details.faq[open] .tog {
  transform: rotate(45deg) !important;
  background: var(--signal, #f47a1f) !important;
  border-color: var(--signal, #f47a1f) !important;
  color: var(--signal-ink, #0a1a22) !important;
}
html body.page-hcseo.page-service .hc-theme-page #faq details.faq .ans {
  display: block !important;
  padding: 0 22px 20px !important;
  color: var(--slate, #4b5b62) !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  max-width: 74ch !important;
}
html body.page-hcseo.page-service .hc-theme-page #faq details.faq:not([open]) .ans {
  display: none !important;
}

html body.page-hcseo.page-service .hc-theme-page .sec-paper,
html body.page-hcseo.page-service .hc-theme-page .sec-mist,
html body.page-hcseo.page-service .hc-theme-page .sec-ink {
  position: relative;
}

/* hero eyebrow kept when present */

html body.page-hcseo.page-service .hero .breadcrumb,
html body.page-hcseo.page-service .hero .crumbs,
html body.page-hcseo.page-theme-html .hero .breadcrumb {
  margin: 0 0 clamp(36px, 4vw, 52px) !important;
  padding-bottom: 0 !important;
}
html body.page-hcseo.page-service .hero h1,
html body.page-hcseo.page-theme-html .hero h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

html body.page-hcseo.page-service .hero-badges.hero-trust,
html body.page-hcseo.page-service .hero-trust.hero-badges {
  margin-top: 1.25rem;
}

html body.page-hcseo.page-service #contact .contact-side .compare-list .mark.v {
  color: var(--graphite, #0d2029) !important;
}

/* Force reveal nodes visible (theme .rv starts at opacity:0) */
html body.page-hcseo.page-service .hc-theme-page .rv,
html body.page-hcseo.page-service .hc-theme-page .reveal,
html body.page-hcseo.page-service .hc-theme-page .rev,
html body.page-hcseo.page-service .hc-theme-page .fade-up {
  opacity: 1 !important;
  transform: none !important;
}

/* Card faces stay opaque / readable inside sticky stacks */
html body.page-hcseo.page-service .hc-theme-page .svc-stack-item > .pain,
html body.page-hcseo.page-service .hc-theme-page .svc-stack-item > .pain-card,
html body.page-hcseo.page-service .hc-theme-page .svc-stack-item > .svc,
html body.page-hcseo.page-service .hc-theme-page .svc-stack-item > .svc-card,
html body.page-hcseo.page-service .hc-theme-page .svc-stack-item > .proc-step,
html body.page-hcseo.page-service .hc-theme-page .svc-stack-item > .step,
html body.page-hcseo.page-service .hc-theme-page .svc-stack-item > .loop-card,
html body.page-hcseo.page-service .hc-theme-page .svc-stack-item > .tst,
html body.page-hcseo.page-service .hc-theme-page .svc-stack-item > .tst-card {
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* —— KodRank lock: visible content + GEO hero spacing + mobile cards —— */
html body.page-service .hc-theme-page .rv,
html body.page-service .hc-theme-page .rev,
html body.page-service .hc-theme-page .reveal,
html body.page-service .hc-theme-page .fade-up {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
html body.page-hcseo.page-service .hero {
  min-height: 0 !important;
  padding-top: calc(84px + 24px) !important;
  padding-bottom: clamp(36px, 4.5vw, 64px) !important;
  align-items: flex-start !important;
}
@media (min-width: 981px) {
  html body.page-hcseo.page-service .hero .hero-trust-checks {
    margin-bottom: 0 !important;
  }
  html body.page-hcseo.page-service .hero .hero-actions,
  html body.page-hcseo.page-service .hero .hero-cta {
    margin-top: clamp(52px, 6.5vh, 76px) !important;
    margin-bottom: clamp(36px, 5vw, 64px) !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #services .why-mobile-carousel:has(> .svc-grid) {
    display: contents !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #services .svc-grid,
  html body.page-hcseo.page-service .hc-theme-page.webdev-ref #services .svc-grid,
  html body.page-hcseo.page-service .hc-theme-page #services .svc-grid[data-thm-carousel],
  html body.page-hcseo.page-service .hc-theme-page #services .svc-grid.thm-mobile-carousel {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    scroll-snap-type: none !important;
    touch-action: auto !important;
    transform: none !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #services .svc-grid > * {
    flex: unset !important;
    flex-basis: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    scroll-snap-align: unset !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #services .thm-carousel-dots,
  html body.page-hcseo.page-service .hc-theme-page #services .thm-carousel-nav-wrap {
    display: none !important;
  }
}
@media (max-width: 900px) {
  html body.page-hcseo.page-service .hero {
    padding-top: calc(64px + 16px) !important;
    padding-bottom: 32px !important;
  }
}
@media (max-width: 767px) {
  html body.page-hcseo.page-service .hc-theme-page {
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  html body.page-hcseo.page-service .hc-theme-page .wrap {
    max-width: var(--maxw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--pad) !important;
    padding-right: var(--pad) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  html body.page-hcseo.page-service .hc-theme-page section {
    overflow-x: clip !important;
  }
  html body.page-hcseo.page-service .hc-theme-page .pain-grid:not([data-thm-carousel]):not(.thm-mobile-carousel):not([data-thm-stack]):not(.page-svc-stack),
  html body.page-hcseo.page-service .hc-theme-page .svc-grid:not([data-thm-carousel]):not(.thm-mobile-carousel):not(.page-svc-stack),
  html body.page-hcseo.page-service .hc-theme-page .serv-grid:not([data-thm-carousel]):not(.thm-mobile-carousel),
  html body.page-hcseo.page-service .hc-theme-page .proc-grid:not([data-thm-stack]):not(.page-svc-stack):not([data-thm-carousel]),
  html body.page-hcseo.page-service .hc-theme-page .proc:not([data-thm-stack]):not(.page-svc-stack):not([data-thm-carousel]),
  html body.page-hcseo.page-service .hc-theme-page .loop-grid:not([data-thm-carousel]):not(.thm-mobile-carousel),
  html body.page-hcseo.page-service .hc-theme-page .tst-grid:not([data-thm-carousel]):not(.thm-mobile-carousel),
  html body.page-hcseo.page-service .hc-theme-page .test-grid:not([data-thm-carousel]):not(.thm-mobile-carousel),
  html body.page-hcseo.page-service .hc-theme-page .feature-grid:not([data-thm-carousel]):not(.thm-mobile-carousel),
  html body.page-hcseo.page-service .hc-theme-page .why-grid:not([data-thm-carousel]):not(.thm-mobile-carousel),
  html body.page-hcseo.page-service .hc-theme-page .industry-grid:not([data-thm-carousel]):not(.thm-mobile-carousel),
  html body.page-hcseo.page-service .hc-theme-page .ind-grid:not([data-thm-carousel]):not(.thm-mobile-carousel) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 14px !important;
    box-sizing: border-box !important;
  }
  html body.page-hcseo.page-service .hc-theme-page .pain,
  html body.page-hcseo.page-service .hc-theme-page .pain-card,
  html body.page-hcseo.page-service .hc-theme-page .svc,
  html body.page-hcseo.page-service .hc-theme-page .svc-card,
  html body.page-hcseo.page-service .hc-theme-page .serv-card,
  html body.page-hcseo.page-service .hc-theme-page .proc-step,
  html body.page-hcseo.page-service .hc-theme-page .proc-card,
  html body.page-hcseo.page-service .hc-theme-page .step,
  html body.page-hcseo.page-service .hc-theme-page .loop-card,
  html body.page-hcseo.page-service .hc-theme-page .tst,
  html body.page-hcseo.page-service .hc-theme-page .tst-card,
  html body.page-hcseo.page-service .hc-theme-page .test-card,
  html body.page-hcseo.page-service .hc-theme-page .feat,
  html body.page-hcseo.page-service .hc-theme-page .feat-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }
}


/* —— Mobile motion: carousel + swipe-up stack (desktop untouched) —— */
/* Width only — do not restyle desktop process cards */
html body.page-hcseo.page-service .hc-theme-page #process .proc-card,
html body.page-hcseo.page-service .hc-theme-page #process .svc-stack-item > .proc-card,
html body.page-hcseo.page-service .hc-theme-page #process .proc-step,
html body.page-hcseo.page-service .hc-theme-page #process .svc-stack-item > .proc-step,
html body.page-hcseo.page-service .hc-theme-page #process .step,
html body.page-hcseo.page-service .hc-theme-page #process .svc-stack-item > .step {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 980px) {
  /* Horizontal carousels — pain / services / testimonials */
  html body.page-hcseo.page-service .hc-theme-page #services .svc-grid.thm-mobile-carousel[data-thm-carousel],
  html body.page-hcseo.page-service .hc-theme-page #services .svc-card.thm-mobile-carousel[data-thm-carousel],
  html body.page-hcseo.page-service .hc-theme-page .tst-grid.thm-mobile-carousel[data-thm-carousel],
  html body.page-hcseo.page-service .hc-theme-page .test-grid.thm-mobile-carousel[data-thm-carousel],
  html body.page-hcseo.page-service .hc-theme-page .ind-grid.thm-mobile-carousel[data-thm-carousel] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
    padding: 0 2px 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    overscroll-behavior-x: contain !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    scrollbar-width: none !important;
    touch-action: pan-x !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #services .svc-grid.thm-mobile-carousel[data-thm-carousel]::-webkit-scrollbar,
  html body.page-hcseo.page-service .hc-theme-page #services .svc-card.thm-mobile-carousel[data-thm-carousel]::-webkit-scrollbar,
  html body.page-hcseo.page-service .hc-theme-page .tst-grid.thm-mobile-carousel[data-thm-carousel]::-webkit-scrollbar,
  html body.page-hcseo.page-service .hc-theme-page .test-grid.thm-mobile-carousel[data-thm-carousel]::-webkit-scrollbar,
  html body.page-hcseo.page-service .hc-theme-page .ind-grid.thm-mobile-carousel[data-thm-carousel]::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #services .svc-grid.thm-mobile-carousel[data-thm-carousel] > *,
  html body.page-hcseo.page-service .hc-theme-page #services .svc-card.thm-mobile-carousel[data-thm-carousel] > *,
  html body.page-hcseo.page-service .hc-theme-page .tst-grid.thm-mobile-carousel[data-thm-carousel] > *,
  html body.page-hcseo.page-service .hc-theme-page .test-grid.thm-mobile-carousel[data-thm-carousel] > *,
  html body.page-hcseo.page-service .hc-theme-page .ind-grid.thm-mobile-carousel[data-thm-carousel] > * {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    overflow-wrap: anywhere !important;
  }
  html body.page-hcseo.page-service .hc-theme-page .wrap > .testi-dots.thm-carousel-dots,
  html body.page-hcseo.page-service .hc-theme-page .why-mobile-carousel + .testi-dots.thm-carousel-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  /* Process: sticky swipe-up stack (shell transparent; faces opaque) */
  html body.page-hcseo.page-service .hc-theme-page #process .proc-grid.page-svc-stack,
  html body.page-hcseo.page-service .hc-theme-page #process .proc.page-svc-stack,
  html body.page-hcseo.page-service .hc-theme-page #process .proc-grid[data-thm-stack],
  html body.page-hcseo.page-service .hc-theme-page #process .proc[data-thm-stack] {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #process .svc-stack-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #process .proc-card,
  html body.page-hcseo.page-service .hc-theme-page #process .svc-stack-item > .proc-card {
    background: #fff !important;
    border: 1px solid var(--line, #e1e9e5) !important;
    border-top: 2px solid var(--signal, #f47a1f) !important;
    border-radius: 18px !important;
    box-shadow: 0 1px 2px rgba(13, 32, 41, 0.05), 0 6px 18px -8px rgba(13, 32, 41, 0.1) !important;
    padding: 26px 24px !important;
    color: var(--graphite, #0d2029) !important;
    isolation: isolate;
    overflow: hidden !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #process .proc-card > .step {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    color: var(--signal-deep, #cd661a) !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #process .proc-card > .num {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 8px 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--graphite, #0d2029) !important;
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #process .proc-card h3 {
    color: var(--graphite, #0d2029) !important;
    font-size: 1.08rem !important;
    font-weight: 650 !important;
    margin: 0 0 8px !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #process .proc-card p {
    color: var(--slate, #4b5b62) !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
  }
}

@media (max-width: 900px) {
  html body.page-hcseo.page-service .hc-theme-page #process,
  html body.page-hcseo.page-service .hc-theme-page #pain,
  html body.page-hcseo.page-service .hc-theme-page section:has(.proc-grid[data-thm-stack]),
  html body.page-hcseo.page-service .hc-theme-page section:has(.pain-grid[data-thm-stack]) {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #process > .wrap,
  html body.page-hcseo.page-service .hc-theme-page #pain > .wrap {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #process .svc-stack-item {
    position: sticky !important;
    top: calc(var(--svc-stack-nav, 68px) + (var(--index0, 0) * var(--svc-stack-peek, 14px))) !important;
    z-index: calc(1 + var(--index0, 0)) !important;
  }

  html body.page-hcseo.page-service .hc-theme-page #pain .why-mobile-carousel:has(> .pain-grid) {
    display: contents !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #pain .pain-grid[data-thm-stack],
  html body.page-hcseo.page-service .hc-theme-page #pain .pain-grid.page-svc-stack {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin-top: 28px !important;
    padding: 0 !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    scroll-snap-type: none !important;
    touch-action: auto !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #pain .pain-grid .svc-stack-item,
  html body.page-hcseo.page-service .hc-theme-page #pain .pain-grid[data-thm-stack] > .svc-stack-item {
    position: sticky !important;
    top: calc(var(--svc-stack-nav, 68px) + (var(--index0, 0) * var(--svc-stack-peek, 14px))) !important;
    z-index: calc(1 + var(--index0, 0)) !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 0 var(--svc-stack-gap, 18px) !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #pain .pain-grid .svc-stack-item:last-child {
    margin-bottom: 0 !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #pain .pain-grid .svc-stack-item > .pain-card,
  html body.page-hcseo.page-service .hc-theme-page #pain .pain-grid[data-thm-stack] .pain-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 148px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    background: var(--ink-2, #0f2a33) !important;
    background-color: var(--ink-2, #0f2a33) !important;
    border: 1px solid var(--line-dark, rgba(255, 255, 255, 0.08)) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px -16px rgba(0, 0, 0, 0.45) !important;
    box-sizing: border-box !important;
    color: #9fb6be !important;
    padding: 24px !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #pain .pain-card h4 {
    color: #fff !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #pain .pain-card p {
    color: #9fb6be !important;
  }
  html body.page-hcseo.page-service .hc-theme-page #pain .thm-carousel-dots,
  html body.page-hcseo.page-service .hc-theme-page #pain .thm-carousel-nav-wrap {
    display: none !important;
  }
}