/* SleekAlgo · WordPress Maintenance & Support · client proof section
   Sits between the hero (.main-banner-section) and "Not Just a Maintenance Dashboard. A WordPress Engineering Team."
   Tokens are the live page's: cream-light #faf7f1, surface #f6f2e9, line #e3dbcc, ink #221f1c, body #6b6660, red #b8352b.
   Breakpoints follow the theme (1180 / 900 / 767) plus 540 for phones.
   Layout: Jessica Everington's video testimonial in the first third; the eyebrow, heading and a single row of
   static logo cards that scrolls sideways natively (CSS only, no JS, no autoplay, no arrows) in the other two thirds.
   901px and up: side by side. 900px and below: heading, logo row, then the video card.
   About 3.4 logo cards show on desktop and from 768 to 900px, 2.8 from 901 to 1180px, 2.4 from 541 to 767px and 1.6 on phones,
   so a cut-off card at the row's edge always signals there is more.
   !important is used only where Gutenberg's layout block-support classes or the video block's inline style would otherwise win. */

.sa-client-proof{background:#faf7f1;border-top:1px solid #0000000f;margin:0;padding-block:clamp(56px, calc(29.391px + 3.469vw), 96px);padding-inline:20px;--bleed-l:0px;--bleed-r:0px;--shown:3.4;--gap:16px}
.sa-client-proof__layout{max-width:1312px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-rows:auto auto;grid-template-areas:"video head" "video row";column-gap:32px;row-gap:24px}

.sa-client-proof__head{grid-area:head;align-self:start;display:flex;flex-direction:column;gap:14px;min-width:0}
.sa-client-proof .sa-client-proof__eyebrow{margin:0;font-family:"IBM Plex Mono",monospace;font-size:11px;font-weight:500;line-height:1.4;letter-spacing:1.2px;color:#b8352b}
.sa-client-proof .sa-client-proof__title{margin:0;font-family:"Space Grotesk",sans-serif;font-size:clamp(26px, calc(20.678px + 0.694vw), 34px);font-weight:600;line-height:1.18;letter-spacing:-0.5px;color:#221f1c;text-wrap:balance}

/* the scrolling row (bottom-aligned with the video card on desktop) */
.sa-client-proof__scroller{grid-area:row;align-self:end;display:flex !important;flex-wrap:nowrap !important;gap:var(--gap) !important;min-width:0;margin-inline:calc(var(--bleed-l) * -1) calc(var(--bleed-r) * -1);padding:0 var(--bleed-r) 16px var(--bleed-l);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:var(--bleed-l) var(--bleed-r);-webkit-overflow-scrolling:touch}
/* always-visible slim rail so mouse users can see and drag it (Chrome, Edge, Safari); Firefox gets its thin native bar */
.sa-client-proof__scroller::-webkit-scrollbar{height:6px}
.sa-client-proof__scroller::-webkit-scrollbar-track{background:#ebe4d6;border-radius:6px;margin-left:var(--bleed-l);margin-right:var(--bleed-r)}
.sa-client-proof__scroller::-webkit-scrollbar-thumb{background:#b9ae99;border-radius:6px}
.sa-client-proof__scroller::-webkit-scrollbar-thumb:hover{background:#8a8478}
@supports not selector(::-webkit-scrollbar){.sa-client-proof__scroller{scrollbar-width:thin;scrollbar-color:#b9ae99 #ebe4d6}}
.sa-client-proof__scroller:focus-visible{outline:2px solid #b8352b;outline-offset:4px;border-radius:14px}

/* Gutenberg guards: neutralise flow/flex layout spacing that core blocks add around these wrappers */
.sa-client-proof.sa-client-proof{margin-block:0 !important}
.sa-client-proof__layout > *,.sa-client-proof__head > *,.sa-client-proof__scroller > *,.sa-client-proof__card > *,.sa-client-proof__plate > *,.sa-client-proof__testimonial > *{margin-block-start:0 !important}
.sa-client-proof__layout > *{margin-block-end:0 !important}
.sa-client-proof__card,.sa-client-proof__plate,.sa-client-proof__testimonial{gap:0 !important}

/* static logo card: logo plate, then business name and country. No links anywhere. */
.sa-client-proof__card{flex:0 0 calc((100% - (var(--shown) - 0.4) * var(--gap)) / var(--shown));scroll-snap-align:start;display:flex;flex-direction:column;min-width:0;background:#f6f2e9;border:1px solid #e3dbcc;border-radius:14px;overflow:hidden}
.sa-client-proof__plate{aspect-ratio:2/1;display:flex;align-items:center;justify-content:center;background:#fffdf9;overflow:hidden}
.sa-client-proof__plate--ink{background:#221f1c}       /* white / light lettering */
.sa-client-proof__plate--capture{background:#080c0f}   /* matches the captured wordmark's own background */
.sa-client-proof__plate .sa-client-proof__logo{margin:0;flex:none;width:var(--logo-w,70%);transform:translate(var(--logo-dx,0),var(--logo-dy,0))}
.sa-client-proof__logo img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
.sa-client-proof__caption{flex:1;border-top:1px solid #e3dbcc;padding:12px 14px 14px}
.sa-client-proof .sa-client-proof__name{margin:0;font-family:"Space Grotesk",sans-serif;font-size:14px;font-weight:600;line-height:1.3;color:#221f1c}
.sa-client-proof .sa-client-proof__country,.sa-client-proof .sa-client-proof__role{margin:5px 0 0;font-family:"IBM Plex Mono",monospace;font-size:10px;font-weight:500;line-height:1.4;letter-spacing:0.9px;text-transform:uppercase;color:#6b6660}

/* video testimonial card: the site's own Custom Video Player block (sa/custom-video-player) on top, then name and role.
   The video sits flush in the card like the logo plates, so the block's rounded corners and drop shadow are switched off here. */
.sa-client-proof__testimonial{grid-area:video;align-self:stretch;display:flex;flex-direction:column;min-width:0;background:#f6f2e9;border:1px solid #e3dbcc;border-radius:14px;overflow:hidden}
.sa-client-proof__testimonial .custom-video-wrapper{border-radius:0 !important;box-shadow:none;width:100%;margin:0}
.sa-client-proof__testimonial .sa-client-proof__caption{flex:1;display:flex;flex-direction:column;justify-content:center;padding:14px 18px 16px}
.sa-client-proof__testimonial .sa-client-proof__name{font-size:15px;text-wrap:balance}

/* small laptops and landscape tablets: still side by side; the row runs to the right screen edge */
@media (max-width:1180px){
  .sa-client-proof{--shown:2.8;--gap:14px}
  .sa-client-proof__layout{column-gap:28px;row-gap:22px}
}
@media (min-width:768px) and (max-width:1180px){
  .sa-client-proof{padding-inline:40px;--bleed-r:40px}
}
/* 900px and below: heading, then the logo row (running to both screen edges), then the video card */
@media (max-width:900px){
  .sa-client-proof{--shown:3.4;--bleed-l:40px}
  .sa-client-proof__layout{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"head" "row" "video";row-gap:24px}
  .sa-client-proof__scroller{align-self:start}
  .sa-client-proof__testimonial{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:stretch}
  .sa-client-proof__testimonial .custom-video-wrapper{align-self:center}
  .sa-client-proof__testimonial .sa-client-proof__caption{border-top:0;border-left:1px solid #e3dbcc;padding:18px 22px}
}
@media (max-width:767px){
  .sa-client-proof{--shown:2.4;--gap:12px;--bleed-l:20px;--bleed-r:20px}
  .sa-client-proof__layout{row-gap:22px}
}
@media (max-width:540px){
  .sa-client-proof{--shown:1.6}
  .sa-client-proof__layout{row-gap:20px}
  .sa-client-proof__card,.sa-client-proof__testimonial{border-radius:12px}
  .sa-client-proof__testimonial{display:flex}
  .sa-client-proof__testimonial .sa-client-proof__caption{border-left:0;border-top:1px solid #e3dbcc;padding:13px 16px 15px}
}

/* Per-logo optical sizing: width of the logo box as a share of the plate width, plus centring offsets
   that compensate for transparent padding inside the original files. Never crops: every box stays inside its plate. */
.sa-logo--kozy-kingdom{--logo-w:70.6%;--logo-dx:-0.8%}
.sa-logo--knowmyfit{--logo-w:68.9%}
.sa-logo--wall-street-reports{--logo-w:62.7%}
.sa-logo--aktienwachstum{--logo-w:67.4%}
.sa-logo--aktienvoteil{--logo-w:64.7%;--logo-dx:-2.5%}
.sa-logo--transperfect{--logo-w:79.8%;--logo-dx:0.5%}
.sa-logo--dtf-virginia{--logo-w:35.2%}
.sa-logo--cci-training{--logo-w:57.7%;--logo-dy:-0.8%}
.sa-logo--annex-baseball{--logo-w:41.6%;--logo-dx:0.9%;--logo-dy:0.6%}
.sa-logo--fullbloom-greenhouse{--logo-w:77.2%}
.sa-logo--drip-marketing{--logo-w:42.4%}
.sa-logo--rollo{--logo-w:66.0%;--logo-dx:5.2%}
.sa-logo--first-choice-debt-relief{--logo-w:57.4%}
.sa-logo--u-raaw{--logo-w:47.1%}
.sa-logo--build-it-out{--logo-w:96.0%;--logo-dx:2.1%}
.sa-logo--small-cap-investments{--logo-w:65.1%;--logo-dx:1.1%;--logo-dy:1.9%}
.sa-logo--ianalyst{--logo-w:54.8%;--logo-dy:-1.0%}
.sa-logo--smartcast-group{--logo-w:70.7%}
.sa-logo--colorexpertz{--logo-w:38.6%;--logo-dy:1.6%}
.sa-logo--dome-house{--logo-w:81.5%;--logo-dx:1.6%}
.sa-logo--fullbloom-light-dep{--logo-w:79.8%;--logo-dy:3.1%}
.sa-logo--capital-gain-media{--logo-w:92.0%;--logo-dx:-4.1%;--logo-dy:1.2%}

/* Stacked written testimonials: align card edges and replace desktop dividers. */
@media (max-width:900px){
  .sa-client-proof #additional-client-testimonials > .wp-block-group{
    padding:24px 0 !important;
    border-right:0 !important;
  }
  .sa-client-proof #additional-client-testimonials > .wp-block-group + .wp-block-group{
    border-top:1px solid #ddd4c3;
  }
}