/**
 * White Label SEO Services — page-only polish.
 * Loaded via seo.extra_css on /white-label-seo-services.
 * Does not change the ecommerce-seo design system; only content-fit tweaks.
 */

/* Hero trust strip — source HTML: one row of check + label items */
body.page-wlseo.page-service .hero .hero-trust.hero-trust-checks,
body.page-wlseo.page-seo-service .hero .hero-trust.hero-trust-checks {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 22px !important;
  margin-top: clamp(40px, 4.5vw, 52px) !important;
  margin-bottom: clamp(48px, 5vw, 60px) !important;
  padding-top: 0 !important;
  border-top: none !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.page-wlseo.page-service .hero .hero-trust-checks > span,
body.page-wlseo.page-seo-service .hero .hero-trust-checks > span {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
  color: #9fb6be !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  max-width: none !important;
}
body.page-wlseo.page-service .hero .hero-trust-checks > span + span::before,
body.page-wlseo.page-seo-service .hero .hero-trust-checks > span + span::before {
  content: "" !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: rgba(244, 122, 31, 0.45) !important;
  flex: 0 0 auto !important;
  margin-right: 2px !important;
}
body.page-wlseo.page-service .hero .hero-trust-checks svg,
body.page-wlseo.page-seo-service .hero .hero-trust-checks svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  margin: 0 !important;
  color: var(--signal, #f47a1f) !important;
  stroke: var(--signal, #f47a1f) !important;
  flex: 0 0 auto !important;
  display: block !important;
}
@media (max-width: 680px) {
  body.page-wlseo.page-service .hero .hero-trust-checks,
  body.page-wlseo.page-seo-service .hero .hero-trust-checks {
    gap: 10px 16px !important;
  }
  body.page-wlseo.page-service .hero .hero-trust-checks > span,
  body.page-wlseo.page-seo-service .hero .hero-trust-checks > span {
    white-space: normal !important;
  }
  body.page-wlseo.page-service .hero .hero-trust-checks > span + span::before,
  body.page-wlseo.page-seo-service .hero .hero-trust-checks > span + span::before {
    display: none !important;
  }
}

/* Space under CTA + on-page-like hero height */
body.page-wlseo.page-service .hero .hero-actions,
body.page-wlseo.page-seo-service .hero .hero-actions {
  margin: 0 0 clamp(28px, 3.5vw, 48px) !important;
}
body.page-wlseo.page-service .hero,
body.page-wlseo.page-seo-service .hero {
  padding-bottom: clamp(80px, 10vh, 128px) !important;
}
body.page-wlseo.page-service .hero .hero-copy,
body.page-wlseo.page-seo-service .hero .hero-copy {
  padding: 0 0 clamp(56px, 7vw, 96px) !important;
}

/* Intro: lead + stats card */
body.page-wlseo.page-service #intro.service-intro .dm-intro-grid,
body.page-wlseo.page-seo-service #intro.service-intro .dm-intro-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
  gap: clamp(30px, 5vw, 72px) !important;
  align-items: start !important;
}
body.page-wlseo.page-service #intro.service-intro .service-intro-h3,
body.page-wlseo.page-seo-service #intro.service-intro .service-intro-h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
  font-weight: 650 !important;
  color: var(--graphite, #0d2029) !important;
  margin: 10px 0 0 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
}
body.page-wlseo.page-service #intro.service-intro .service-intro-body p,
body.page-wlseo.page-seo-service #intro.service-intro .service-intro-body p {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  color: var(--slate, #4b5b62) !important;
  font-size: 1.06rem !important;
  line-height: 1.65 !important;
}
body.page-wlseo.page-service #intro.service-intro .service-intro-body .hl,
body.page-wlseo.page-seo-service #intro.service-intro .service-intro-body .hl {
  color: var(--signal, #f47a1f) !important;
}
body.page-wlseo.page-service #intro.service-intro .service-intro-side,
body.page-wlseo.page-seo-service #intro.service-intro .service-intro-side {
  background: var(--ink, #0a1a22) !important;
  border: 0 !important;
  border-radius: 18px !important;
  padding: clamp(26px, 3vw, 38px) !important;
  box-shadow: 0 18px 40px -24px rgba(10, 26, 34, 0.55) !important;
  position: relative !important;
  overflow: hidden !important;
}
body.page-wlseo.page-service #intro.service-intro .service-intro-side::before,
body.page-wlseo.page-seo-service #intro.service-intro .service-intro-side::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--signal, #f47a1f), #f6b26b) !important;
}
body.page-wlseo.page-service #intro.service-intro .service-intro-stats,
body.page-wlseo.page-seo-service #intro.service-intro .service-intro-stats {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 26px 20px !important;
}
body.page-wlseo.page-service #intro.service-intro .service-intro-stat .num,
body.page-wlseo.page-seo-service #intro.service-intro .service-intro-stat .num {
  font-size: clamp(2rem, 3.4vw, 2.7rem) !important;
  font-weight: 800 !important;
  color: var(--signal, #f47a1f) !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
}
body.page-wlseo.page-service #intro.service-intro .service-intro-stat .lbl,
body.page-wlseo.page-seo-service #intro.service-intro .service-intro-stat .lbl {
  display: block !important;
  margin-top: 8px !important;
  color: #9fb6be !important;
  font-size: 0.76rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

/* Cost / hiring math */
body.page-wlseo.page-service #cost.wl-cost,
body.page-wlseo.page-seo-service #cost.wl-cost {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  color: #b7cbd2 !important;
}
body.page-wlseo.page-service #cost.wl-cost::before,
body.page-wlseo.page-seo-service #cost.wl-cost::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background:
    linear-gradient(105deg, rgba(10, 26, 34, 0.96) 0%, rgba(10, 26, 34, 0.88) 48%, rgba(10, 26, 34, 0.72) 100%),
    var(--wl-cost-bg, none) center right / cover no-repeat;
  background-color: var(--ink, #0a1a22);
}
body.page-wlseo.page-service #cost.wl-cost .section-head h2,
body.page-wlseo.page-seo-service #cost.wl-cost .section-head h2 {
  color: #fff !important;
}
body.page-wlseo.page-service #cost.wl-cost .lede,
body.page-wlseo.page-seo-service #cost.wl-cost .lede {
  color: #9fb6be !important;
  max-width: 64ch !important;
}
body.page-wlseo.page-service #cost.wl-cost .wl-cost-list,
body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-list {
  list-style: none !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 14px !important;
  max-width: 820px !important;
}
body.page-wlseo.page-service #cost.wl-cost .wl-cost-list li,
body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-list li {
  position: relative !important;
  padding-left: 22px !important;
  color: #c7d6dc !important;
  font-size: 1.02rem !important;
  line-height: 1.55 !important;
}
body.page-wlseo.page-service #cost.wl-cost .wl-cost-list li::before,
body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-list li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.55em !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--signal, #f47a1f) !important;
}
body.page-wlseo.page-service #cost.wl-cost .wl-cost-list b,
body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-list b {
  color: #fff !important;
  font-weight: 650 !important;
}
body.page-wlseo.page-service #cost.wl-cost .wl-cost-closing,
body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-closing {
  margin-top: 28px !important;
  max-width: 70ch !important;
}
body.page-wlseo.page-service #cost.wl-cost .hl,
body.page-wlseo.page-seo-service #cost.wl-cost .hl {
  color: var(--signal, #f47a1f) !important;
}
body.page-wlseo.page-service #cost.wl-cost .wl-cost-stats,
body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 40px !important;
}
body.page-wlseo.page-service #cost.wl-cost .wl-cost-stat,
body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-stat {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 22px 18px !important;
}
body.page-wlseo.page-service #cost.wl-cost .wl-cost-stat .num,
body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-stat .num {
  display: block !important;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem) !important;
  font-weight: 800 !important;
  color: var(--signal, #f47a1f) !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
}
body.page-wlseo.page-service #cost.wl-cost .wl-cost-stat .lbl,
body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-stat .lbl {
  display: block !important;
  margin-top: 10px !important;
  color: #9fb6be !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
}

/* Why cards — source why-card: dark ink tiles (not white paper cards) */
body.page-wlseo.page-service #why.sec-ink .svc-card,
body.page-wlseo.page-seo-service #why.sec-ink .svc-card {
  --kr-dark: #fff;
  --kr-muted: #9fb6be;
  --kr-muted-2: #9fb6be;
  display: flex !important;
  flex-direction: column !important;
  background: var(--ink-2, #0f2a33) !important;
  background-color: var(--ink-2, #0f2a33) !important;
  border: 1px solid var(--line-dark, rgba(244, 122, 31, 0.16)) !important;
  border-radius: var(--r-card, 18px) !important;
  padding: 26px 24px !important;
  box-shadow: none !important;
  color: #9fb6be !important;
  transform: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}
body.page-wlseo.page-service #why.sec-ink .svc-card:hover,
body.page-wlseo.page-seo-service #why.sec-ink .svc-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(244, 122, 31, 0.28) !important;
}
body.page-wlseo.page-service #why.sec-ink .svc-card .tile,
body.page-wlseo.page-seo-service #why.sec-ink .svc-card .tile {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  background: rgba(244, 122, 31, 0.12) !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 0 16px !important;
  flex: 0 0 auto !important;
}
body.page-wlseo.page-service #why.sec-ink .svc-card:hover .tile,
body.page-wlseo.page-seo-service #why.sec-ink .svc-card:hover .tile {
  background: rgba(244, 122, 31, 0.18) !important;
}
body.page-wlseo.page-service #why.sec-ink .svc-card .tile svg,
body.page-wlseo.page-seo-service #why.sec-ink .svc-card .tile svg {
  width: 22px !important;
  height: 22px !important;
  color: var(--signal, #f47a1f) !important;
  stroke: var(--signal, #f47a1f) !important;
  fill: none !important;
}
body.page-wlseo.page-service #why.sec-ink .svc-card:hover .tile svg,
body.page-wlseo.page-seo-service #why.sec-ink .svc-card:hover .tile svg {
  stroke: var(--signal, #f47a1f) !important;
}
body.page-wlseo.page-service #why.sec-ink .svc-card h3,
body.page-wlseo.page-seo-service #why.sec-ink .svc-card h3 {
  color: #fff !important;
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
body.page-wlseo.page-service #why.sec-ink .svc-card p,
body.page-wlseo.page-seo-service #why.sec-ink .svc-card p {
  color: #9fb6be !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Why: clean 3-col desktop grid (source why-grid) */
@media (min-width: 901px) {
  body.page-wlseo.page-service #why .page-svc-carousel.is-desktop-grid,
  body.page-wlseo.page-service #why .page-svc-carousel,
  body.page-wlseo.page-seo-service #why .page-svc-carousel.is-desktop-grid,
  body.page-wlseo.page-seo-service #why .page-svc-carousel {
    display: block !important;
  }
  body.page-wlseo.page-service #why .svc-viewport,
  body.page-wlseo.page-seo-service #why .svc-viewport {
    overflow: visible !important;
    height: auto !important;
  }
  body.page-wlseo.page-service #why .svc-track,
  body.page-wlseo.page-seo-service #why .svc-track {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    align-items: stretch !important;
    touch-action: auto !important;
    cursor: default !important;
  }
  body.page-wlseo.page-service #why .svc-slide,
  body.page-wlseo.page-service #why .svc-card,
  body.page-wlseo.page-seo-service #why .svc-slide,
  body.page-wlseo.page-seo-service #why .svc-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    flex: none !important;
    align-self: stretch !important;
  }
  body.page-wlseo.page-service #why .svc-nav,
  body.page-wlseo.page-service #why .svc-dots,
  body.page-wlseo.page-seo-service #why .svc-nav,
  body.page-wlseo.page-seo-service #why .svc-dots {
    display: none !important;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  body.page-wlseo.page-service #why .svc-track,
  body.page-wlseo.page-seo-service #why .svc-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.page-wlseo.page-service #intro.service-intro .dm-intro-grid,
  body.page-wlseo.page-seo-service #intro.service-intro .dm-intro-grid {
    grid-template-columns: 1fr !important;
  }
  body.page-wlseo.page-service #cost.wl-cost .wl-cost-stats,
  body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.page-wlseo.page-service #why .page-svc-carousel .svc-dots:not([hidden]),
  body.page-wlseo.page-seo-service #why .page-svc-carousel .svc-dots:not([hidden]) {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }
  body.page-wlseo.page-service #why .page-svc-carousel--ink .svc-dot,
  body.page-wlseo.page-seo-service #why .page-svc-carousel--ink .svc-dot {
    background: rgba(255, 255, 255, 0.28) !important;
  }
  body.page-wlseo.page-service #why .page-svc-carousel--ink .svc-dot.is-active,
  body.page-wlseo.page-seo-service #why .page-svc-carousel--ink .svc-dot.is-active {
    background: var(--signal, #f47a1f) !important;
  }
}
@media (max-width: 560px) {
  body.page-wlseo.page-service #cost.wl-cost .wl-cost-stats,
  body.page-wlseo.page-seo-service #cost.wl-cost .wl-cost-stats {
    grid-template-columns: 1fr !important;
  }
}
