/*
 * White Label SEO Services page.
 *
 * Loads on page-templates/template-white-label-seo.php only, on top of
 * landing.css and seo-reseller.css. Everything is scoped to .wls-page.
 *
 * Seven of the fifteen sections needed no new component: the hero, the two
 * icon-row grids, the numbered service cards, the two photo-card grids, the
 * trust grid, the band and the FAQ are all existing components this sheet only
 * re-skins. What is genuinely new here is the partner panel, the alternating
 * AI rows, the pricing block, the spine process list, the single case study
 * and the tools split.
 */

.wls-page {
  --wls-tint: #f3f8ff;
  --wls-indigo: #4a55f0;
  --wls-coral: #f97d76;
}

/* ---------- Hero ---------- */
/* A pale blue wash rather than landing.css's flat --lp-soft, with the design's
   swirl as two off-centre radial glows. The artwork is a transparent cut-out on
   top of it, so it needs no plate of its own. */
.wls-page .wls-hero {
  background:
    radial-gradient(120% 90% at 88% 8%, #dceaff 0%, rgba(220, 234, 255, 0) 58%),
    radial-gradient(90% 80% at 8% 92%, #e7f1ff 0%, rgba(231, 241, 255, 0) 60%),
    linear-gradient(180deg, #f6faff 0%, #eef5ff 100%);
}

.wls-hero-title {
  letter-spacing: -0.025em;
}

/* The design lists the four points down one column, not two across. */
.wls-page .wls-hero-points {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.wls-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

/* The placeholder artwork is 1100px wide and .lp-hero-art stretches to its
   column, which asks for more than that past ~1900px. Same cap the Outsource
   SEO and AI SEO heroes carry. */
.wls-hero-art img {
  max-width: 700px;
  margin-inline: auto;
}

/* ---------- Trust statistics ---------- */
/* The spec's trust row is three figures; .stats-card is repeat(4, 1fr). */
.wls-page .wls-trust .stats-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(40px, 5vw, 62px) 20px;
}

.wls-stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  margin-bottom: 22px;
}

.wls-stat-ico .lp-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.wls-page .wls-trust .stat-num {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  text-transform: none;
}

.wls-page .wls-trust .plus {
  color: inherit;
}

.wls-page .wls-trust .stat-lbl {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-transform: none;
}

/* ---------- Partner panel ---------- */
.wls-partner {
  background: var(--wls-tint);
}

.wls-partner-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.wls-partner-copy .heading-main {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 18px;
}

.wls-partner-copy p {
  color: #5c6779;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 46ch;
}

/* One column of solid indigo cards. The icons are white on transparent, so the
   fill stays solid — a tint would make them invisible. */
.wls-page .wls-partner-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 0;
}

.wls-page .wls-partner-item {
  background: var(--wls-indigo);
  border-color: var(--wls-indigo);
  box-shadow: 0 10px 26px rgba(74, 85, 240, 0.22);
  align-items: center;
  padding: 26px 30px;
}

.wls-page .wls-partner-item:hover {
  border-color: var(--wls-indigo);
  box-shadow: 0 18px 40px rgba(74, 85, 240, 0.3);
}

.wls-page .wls-partner-item .lp-feature-icon {
  background: transparent;
  color: #fff;
  width: 48px;
  height: 48px;
}

.wls-page .wls-partner-item h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 6px;
}

.wls-page .wls-partner-item p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
}

/* ---------- The six services ---------- */
/* The spec puts a CTA between the lead and the grid. */
.wls-services-cta {
  margin-top: clamp(24px, 3vw, 36px);
  text-align: center;
}
/* seo-reseller.css already draws the card and the outlined numeral; the design
   only asks for the pale lavender fill it had before the shared card recipe
   landed, and for the numeral to sit tighter to the title. */
.wls-page .wls-service {
  background: linear-gradient(160deg, #f6f6fb 0%, #f2f3fa 100%);
  padding: 26px 30px 34px;
}

.wls-page .wls-service .sr-service-num {
  margin-bottom: 14px;
}

/* seo-reseller.css justifies .sr-service p and .sr-trust-grid p. Both are
   reused here at a ~36-character measure, where justification opens visible
   word gaps — the third and fourth components on this theme to need the
   opt-out. Any further reuse at a narrow measure needs it too. */
.wls-page .wls-service p,
.wls-page .wls-why-grid p {
  text-align: left;
  hyphens: manual;
}

/* ---------- Built for agencies at every stage ---------- */
/* Three across and stacked rather than the component's icon-beside-copy row,
   which is the only thing this section changes. Unlike every other icon set on
   this page these three files are full colour, so the plate is a pale tint of
   the icon's own hue (.wls-tone-*, shared with the pricing block) and not one
   of the solid fills the white-on-transparent sets need. */
.wls-page .wls-stage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wls-page .wls-stage-card {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

/* ---------- Solutions ---------- */
/* Three across, and the section's heading and lead are the FIRST CELL rather
   than a centred banner: five solutions plus that copy block fill six cells
   exactly, so nothing is left orphaned on a second row. */
.wls-solutions {
  background: var(--wls-tint);
}

.wls-page .wls-solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.wls-solution-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(0px, 2vw, 24px);
}

.wls-solution-intro .heading-main {
  font-size: clamp(28px, 3.2vw, 42px);
  text-align: left;
  margin-bottom: 16px;
}

.wls-solution-intro p {
  color: #5c6779;
  font-size: 15.5px;
  line-height: 1.8;
  margin: 0;
}

/* Icon over copy, not beside it - the same stack .wls-stage-card makes. */
.wls-page .wls-solution {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

/* Solid coral disc: the placeholder icons are white on transparent. */
.wls-page .wls-solution .lp-feature-icon {
  background: var(--wls-coral);
  color: #fff;
  border-radius: 50%;
}

/* ---------- Future-ready AI search ---------- */
/* Three cards across, each a fixed 16:9 banner over its copy. The first pass
   was three full-bleed alternating rows, which gave each photograph half the
   viewport for a three-line definition - the artwork outweighed the text it
   was there to illustrate. The banner is a fixed ratio so the three cards line
   their copy up regardless of what the supplied files measure. */
.wls-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  margin-top: clamp(30px, 4vw, 50px);
}

.wls-ai-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--lp-card-bg);
  border: 1px solid var(--lp-card-line);
  border-radius: var(--lp-card-r);
  box-shadow: var(--lp-card-shadow);
  transition: var(--lp-lift);
}

.wls-ai-card:hover {
  transform: translateY(-4px);
  border-color: var(--lp-card-line-hover);
  box-shadow: var(--lp-card-shadow-hover);
}

.wls-ai-figure {
  margin: 0;
}

.wls-ai-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wls-ai-body {
  padding: clamp(22px, 2.2vw, 30px);
}

.wls-ai-body h3 {
  font-family: var(--heading-font);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 700;
  margin-bottom: 12px;
}

.wls-ai-body p {
  margin: 0;
  color: #5c6779;
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- Pricing ---------- */
.wls-price {
  background: linear-gradient(180deg, #fbfcff 0%, #f5f8ff 100%);
}

/* One tint definition for every plate on the page: the pricing strip, the ten
   factor chips and nothing else. Each row names its own tone in
   content-defaults.php, so adding an eleventh factor needs no new CSS. */
.wls-tone-blue {
  background: #e8f1ff;
  color: #1668ff;
}
.wls-tone-green {
  background: #e6f7ef;
  color: #1a9c66;
}
.wls-tone-amber {
  background: #fff2e2;
  color: #e07b1a;
}
.wls-tone-violet {
  background: #efeaff;
  color: #6b4bf5;
}
.wls-tone-pink {
  background: #ffe9ee;
  color: #e3486f;
}

.wls-price-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(28px, 3.4vw, 44px);
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--white);
  border: 1px solid var(--lp-card-line);
  border-radius: var(--lp-card-r);
  box-shadow: var(--lp-card-shadow);
}

.wls-price-stat {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* The dividers are borders on the cells rather than a separate rule element,
   so a fourth figure needs no markup change. */
.wls-price-stat + .wls-price-stat {
  border-left: 1px solid var(--lp-card-line);
  padding-left: clamp(16px, 2vw, 30px);
}

.wls-price-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.wls-price-ico .lp-icon {
  width: 25px;
  height: 25px;
}

.wls-price-body {
  display: block;
  min-width: 0;
}

.wls-price-label {
  display: block;
  font-size: 13.5px;
  color: #6b7280;
}

.wls-price-value {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.25;
}

.wls-price-note {
  display: block;
  font-size: 13.5px;
  color: #6b7280;
}

.wls-price-heading {
  text-align: center;
  font-family: var(--heading-font);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  margin-top: clamp(38px, 4.5vw, 62px);
  margin-bottom: 8px;
}

.wls-price-sub {
  text-align: center;
  color: #6b7280;
  font-size: 15px;
  margin-bottom: clamp(22px, 2.6vw, 34px);
}

.wls-factor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.wls-factor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--lp-card-line);
  border-radius: 14px;
  box-shadow: var(--lp-card-shadow);
  font-size: 14px;
  line-height: 1.45;
  color: #3f4757;
  transition: var(--lp-lift);
}

.wls-factor:hover {
  transform: translateY(-4px);
  border-color: var(--lp-card-line-hover);
  box-shadow: var(--lp-card-shadow-hover);
}

.wls-factor-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.wls-factor-ico .lp-icon {
  width: 19px;
  height: 19px;
}

.wls-price-cta {
  margin-top: clamp(30px, 3.6vw, 46px);
  text-align: center;
}

.wls-price-foot {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: #8791a3;
}

/* ---------- Wider digital marketing + industries ---------- */
/* One card recipe for both photo grids. The label sits at the bottom of the
   card; hovering fades a colour wash in over the photograph and lifts the
   description up beneath the label. The two grids differ only in the wash -
   brand colour for the services, black for the industries - which is what
   tells them apart at a glance.

   The description is never removed from the document: it animates on opacity
   and transform only, so it stays in the accessibility tree and stays
   crawlable. Collapsing it with display:none, max-height or a 0fr grid row
   would each cost that for no visual gain here. */
.wls-digital {
  background: #eeeeff;
}

.wls-digital-grid,
.wls-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(30px, 4vw, 50px);
}

.wls-page .wls-digital-card,
.wls-page .wls-industry-card {
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

/* The wash. .sr-industry-card::after is the base scrim that keeps the label
   legible at rest; this is a second layer over it, at zero opacity until the
   card is hovered or focused within. */
.wls-page .wls-digital-card::before,
.wls-page .wls-industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.36s ease;
}

/* .sr-industry-card's own scrim starts at 45% and tops out at 0.62, which is
   not enough to hold a white label over a bright photograph - "PPC" over a
   sunlit laptop and "Banking" over a white phone screen both washed out.
   Deepened for these two grids only. */
.wls-page .wls-digital-card::after,
.wls-page .wls-industry-card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.92) 100%);
}

.wls-page .wls-digital-card::before {
  background: linear-gradient(180deg, rgba(126, 34, 206, 0.86) 0%, rgba(219, 39, 119, 0.86) 100%);
}

.wls-page .wls-industry-card::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.88) 100%);
}

.wls-page .wls-digital-card:hover::before,
.wls-page .wls-digital-card:focus-within::before,
.wls-page .wls-industry-card:hover::before,
.wls-page .wls-industry-card:focus-within::before {
  opacity: 1;
}

.wls-card-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px);
  text-align: center;
  color: #fff;
}

/* .sr-industry-card h3 carries the padding at rest; inside the body block the
   padding is the block's, so it is reset here. */
.wls-page .wls-card-body h3 {
  padding: 0;
  font-size: clamp(18px, 1.6vw, 23px);
}

/* The description takes no vertical space at rest, so the label sits where the
   scrim is darkest; it is not removed from the document to get there. The row
   animates 0fr -> 1fr, and the <span> inside is what carries overflow: hidden -
   a bare text node in a grid container becomes an anonymous grid item, which
   cannot be selected or styled, so the copy would spill out of the zero-height
   row. */
.wls-page .wls-card-body p {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition:
    grid-template-rows 0.36s ease,
    opacity 0.36s ease;
}

.wls-page .wls-card-body p > span {
  overflow: hidden;
  min-height: 0;
}

.wls-page .wls-digital-card:hover .wls-card-body p,
.wls-page .wls-digital-card:focus-within .wls-card-body p,
.wls-page .wls-industry-card:hover .wls-card-body p,
.wls-page .wls-industry-card:focus-within .wls-card-body p {
  grid-template-rows: 1fr;
  opacity: 1;
}

.wls-page .wls-digital-card:hover .wls-card-body p > span,
.wls-page .wls-digital-card:focus-within .wls-card-body p > span,
.wls-page .wls-industry-card:hover .wls-card-body p > span,
.wls-page .wls-industry-card:focus-within .wls-card-body p > span {
  padding-top: 10px;
}

/* Nothing hovers on a touch screen, so below the tablet breakpoint the wash
   and the description are simply on. Handled again in the media block below. */
@media (prefers-reduced-motion: reduce) {
  .wls-page .wls-digital-card::before,
  .wls-page .wls-industry-card::before,
  .wls-page .wls-card-body p {
    transition: none;
  }
}

/* ---------- Process ----------
   The casino page's sticky stack (`.cas-proc-*`), renamed to this page's
   prefix. Each step pins at the same offset with an opaque fill, so the next
   one rides up and covers the one before it. Pure CSS - no scroll handler, no
   scroll jacking, and it degrades to a plain numbered list without sticky. */
.wls-process {
  /* the fixed header pill, same allowance .faq-left makes */
  --wls-proc-stick: clamp(96px, 9vw, 124px);

  background: #f7fbff;
  padding-block: clamp(50px, 6vw, 90px) 0;
}

/* The rows are a numeral gutter and one paragraph, which at full container
   width left the copy hanging on the left of a very wide rule. Capped and
   centred, so the stack sits under the centred heading rather than beside it. */
.wls-proc-panel {
  max-width: 980px;
  margin-inline: auto;
  padding-top: clamp(30px, 4.5vw, 75px);
}

.wls-proc-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The opaque fill is load-bearing: without it the covered step shows through
   the one riding over it. */
.wls-proc-item {
  position: sticky;
  top: var(--wls-proc-stick);
  width: 100%;
  background: #f7fbff;
}

.wls-proc-flex {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: clamp(26px, 3.4vw, 45px) 0 clamp(34px, 4.6vw, 65px);
  border-top: 1px solid #dfe6f2;
}

/* Oversized and heavily faded: a watermark for the step rather than a label.
   The row centres both children, so on the short steps - where the numeral is
   taller than its two lines of copy - the copy no longer hangs at the top. */
.wls-proc-num {
  flex: none;
  width: clamp(120px, 14vw, 200px);
  max-width: 100%;
  font-family: var(--lp-num-font);
  font-size: clamp(84px, 11vw, 160px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(22, 104, 255, 0.2);
}

/* min-width: 0 lets this flex child shrink below the paragraph's intrinsic
   width; without it the row overflows once the container narrows but the
   desktop layout still applies. */
.wls-proc-detail {
  flex: 1;
  min-width: 0;
  border-left: 1px solid #dfe6f2;
  padding-left: clamp(22px, 3.4vw, 52px);
}

.wls-proc-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(19px, 1.9vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.wls-proc-text {
  margin: clamp(14px, 1.8vw, 24px) 0 0;
  width: 100%;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.85;
  color: #5c6779;
}

/* ---------- Mid-page band ---------- */
/* The shared .band, repainted to the design's pale rose. Its two blurred white
   glows are left alone: they set explicit width and height, so overriding one
   of them means resetting all of it — and here they still read correctly. */
.wls-page .wls-band {
  background: linear-gradient(90deg, #f7eff0 0%, #f2eef6 100%);
}

/* .band's two blurred glows are pseudo-elements that paint AFTER .container in
   DOM order, so with no z-index the second one washed the tail of this heading
   out. The copy needs its own stacking context above them; the glows themselves
   are correct here and are left alone. */
.wls-page .wls-band .container {
  z-index: 1;
}

.wls-page .wls-band .trusted-heading {
  font-size: clamp(28px, 3.6vw, 46px);
}

/* ---------- Industries ---------- */
.wls-industries-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

.wls-industries-head .heading-main {
  margin-bottom: 0;
  font-size: clamp(28px, 3.4vw, 44px);
}

.wls-industries-head p {
  margin: 6px 0 0;
  color: #5c6779;
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------- Case study ----------
   The ORM and casino pages' case slider. Only the photograph travels; the copy
   is a .slider-panels stack the script cross-fades.

   slider.js's buildDots() appends the dots to the slider ROOT, so the root is
   the grid and every child is placed on it explicitly rather than by source
   order. */
.wls-case-slider {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(24px, 3.4vw, 56px);
  row-gap: 22px;
  align-items: start;
  margin-top: clamp(30px, 4vw, 52px);
}

.wls-case-stage {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  width: min(100%, 560px);
  margin-inline: auto;
}

.wls-page .wls-case-slider .slider-dots {
  grid-column: 1;
  grid-row: 2;
}

.wls-case-panels {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
}

/* Over the photograph's edges rather than under it: the stage is only as tall
   as the image, and a row of controls beneath would push the dots down. */
.wls-page .wls-case-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.wls-page .wls-case-slider .slider-prev {
  left: -18px;
}

.wls-page .wls-case-slider .slider-next {
  right: -18px;
}

/* A fixed ratio plus a cover crop is what keeps the stage from resizing as the
   track moves - the supplied case images are not guaranteed to match. */
.wls-case-figure {
  margin: 0;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--lp-card);
}

.wls-case-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.wls-case-card {
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid var(--lp-card-line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(13, 21, 38, 0.07);
}

.wls-case-card h3 {
  font-family: var(--heading-font);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

.wls-case-eyebrow {
  margin-bottom: 14px;
}

.wls-case-blocks {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  margin-top: 28px;
}

.wls-case-block {
  min-width: 0;
}

.wls-case-block dt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  color: var(--ink);
}

.wls-case-block dd {
  margin: 0;
  padding-left: 44px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #5c6779;
}

.wls-case-ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--blue);
}

.wls-case-ico .lp-icon {
  width: 22px;
  height: 22px;
}

.wls-case-block:nth-child(2) .wls-case-ico {
  color: #16a34a;
}

.wls-case-block:nth-child(3) .wls-case-ico {
  color: var(--lp-indigo);
}

/* ---------- Why choose us ---------- */
/* The layout is seo-reseller.css's .sr-trust-inner and .sr-trust-grid; the
   design only asks for a black button and a slightly tighter heading. */
.wls-why-copy .heading-main {
  font-size: clamp(28px, 3.2vw, 42px);
}

.wls-why-copy p {
  margin-bottom: clamp(26px, 3vw, 40px);
}

/* ---------- Tools ---------- */
/* A wall of vendor logos, four across. The logo files are trimmed to their own
   ink and every one has a different aspect ratio, so the tile caps HEIGHT and
   lets width follow - cap the width instead and the tall marks (Screaming
   Frog, Looker) would tower over the wordmarks beside them. */
.wls-tools {
  background: var(--wls-tint);
}

.wls-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  list-style: none;
  margin: clamp(30px, 4vw, 50px) 0 0;
  padding: 0;
}

/* Outline only, as the reference draws it: no fill and no resting shadow, just
   a grey hairline. The logos are the only ink in this section and a filled
   plate behind each one competes with them. Hover is what fills the tile. */
.wls-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(92px, 8vw, 118px);
  padding: clamp(18px, 2.2vw, 28px);
  background: transparent;
  border: 1px solid #e2e6ee;
  border-radius: 14px;
  transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.wls-tool:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: #c9d4e8;
  box-shadow: 0 16px 34px rgba(17, 24, 51, 0.1);
}

/* Vendor logos ship in their own brand colours; resting them at 88% keeps the
   twelve reading as one wall, and hover brings the hovered one fully up. */
.wls-tool img {
  width: auto;
  max-width: 100%;
  max-height: clamp(30px, 3vw, 42px);
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.wls-tool:hover img {
  opacity: 1;
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .wls-tool,
  .wls-tool img {
    transition: none;
  }

  .wls-tool:hover {
    transform: none;
  }

  .wls-tool:hover img {
    transform: none;
  }
}

/* ---------- Reseller band ---------- */
/* The same .band as the mid-page CTA; it only carries two paragraphs instead
   of one, so the pair needs to read as a block rather than two stray lines. */
.wls-page .wls-reseller .trusted-lead + .trusted-lead {
  margin-top: -6px;
}

/* =========================================================
   Responsive - widest to narrowest, each breakpoint once.
   ========================================================= */
@media (max-width: 1200px) {
  .wls-factor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  /* Intro cell back to full width, cards two across beneath it. */
  .wls-page .wls-solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wls-solution-intro {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .wls-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wls-partner-inner,
  .wls-industries-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .wls-ai-grid,
  .wls-page .wls-stage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wls-digital-grid,
  .wls-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Nothing hovers on a touch screen, so the wash and the description are
     simply on from here down. */
  .wls-page .wls-digital-card::before,
  .wls-page .wls-industry-card::before {
    opacity: 1;
  }

  .wls-page .wls-card-body p {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .wls-page .wls-card-body p > span {
    padding-top: 10px;
  }

  /* Stacked slider: photograph, then dots, then the card. */
  .wls-case-slider {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Stacked, the stage fills the container, so arrows hung outside its edges
     sit in the page gutter - 18px of it against a 14px gutter at 320px, which
     is 4px of horizontal overflow. Inside the photograph from here down. */
  .wls-page .wls-case-slider .slider-prev {
    left: 10px;
  }

  .wls-page .wls-case-slider .slider-next {
    right: 10px;
  }

  .wls-case-stage,
  .wls-page .wls-case-slider .slider-dots,
  .wls-case-panels {
    grid-column: 1;
  }

  .wls-case-stage {
    grid-row: 1;
  }

  .wls-page .wls-case-slider .slider-dots {
    grid-row: 2;
  }

  .wls-case-panels {
    grid-row: 3;
  }

  .wls-price-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  /* stacked, the dividers become rules between rows rather than columns */
  .wls-price-stat + .wls-price-stat {
    border-left: 0;
    border-top: 1px solid var(--lp-card-line);
    padding-left: 0;
    padding-top: 18px;
  }

  /* Three figures do not divide into two columns, so they go straight to one
     stack here rather than leaving an orphan on a second row. */
  .wls-page .wls-trust .stats-card {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 34px;
  }

  .wls-page .wls-trust .stat + .stat::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .wls-page .wls-solution-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wls-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wls-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* A 120px numeral gutter plus its indent leaves no measure for the copy on a
     phone, so the numeral moves above the detail and the divider goes with it. */
  .wls-proc-flex {
    display: block;
  }

  .wls-proc-num {
    width: auto;
    margin-bottom: 2px;
  }

  .wls-proc-detail {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .wls-digital-grid,
  .wls-industry-grid,
  .wls-factor-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wls-page .wls-trust .stats-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .wls-page .wls-trust .stat + .stat::before {
    display: none;
  }

  .wls-case-card {
    padding: 18px 16px;
  }

  .wls-case-block dd {
    padding-left: 0;
  }
}
