/* Syndio Testimonials */
/* Selectors are prefixed with html:not(#syn#syn) (always matches <html>) to outrank
   the theme's ID-based rules like "#container .entry-content p". Sizes are in px
   because the theme sets html{font-size:10px}, which would shrink rem values. */
@property --edge-l{syntax:"<length>";initial-value:0px;inherits:false}
@property --edge-r{syntax:"<length>";initial-value:0px;inherits:false}

html:not(#syn#syn) .syn-testimonials{background:var(--syn-paper);color:var(--syn-ink);padding-top:clamp(76px,14vh,160px);padding-bottom:clamp(72px,10vh,120px)}

html:not(#syn#syn) .syn-q-view{overflow:hidden;margin-inline:calc(var(--syn-gutter) * -1);padding-inline:var(--syn-gutter);transition:height .5s var(--syn-ease)}
html:not(#syn#syn) .syn-q-view.is-carousel{cursor:grab;touch-action:pan-y;--edge-l:var(--syn-gutter);--edge-r:var(--syn-gutter);transition:--edge-l .7s var(--syn-ease),--edge-r .7s var(--syn-ease);-webkit-mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.4) calc(var(--edge-l)*.4),#000 var(--edge-l),#000 calc(100% - var(--edge-r)),transparent);mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.4) calc(var(--edge-l)*.4),#000 var(--edge-l),#000 calc(100% - var(--edge-r)),transparent)}
html:not(#syn#syn) .syn-q-view.is-drag{transition:none}
html:not(#syn#syn) .syn-q-view.is-carousel:active{cursor:grabbing}
html:not(#syn#syn) .syn-q-track{display:flex;gap:clamp(72px,10vw,136px);transition:transform .7s var(--syn-ease)}
html:not(#syn#syn) .syn-q-track.is-drag,html:not(#syn#syn) .syn-q-track.is-drag .syn-q{transition:none}

html:not(#syn#syn) .syn-q{flex:0 0 100%;min-height:0;user-select:none;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(200px,.58fr);gap:clamp(24px,4vw,68px);align-items:center;transition:opacity .7s var(--syn-ease)}
html:not(#syn#syn) .syn-q__copy{min-width:0}
html:not(#syn#syn) .syn-q blockquote{font-family:var(--syn-serif);font-weight:400;font-size:clamp(35.2px,4.5vw,70.4px);line-height:1.06;letter-spacing:-.03em;max-width:21ch;color:var(--syn-ink)}
html:not(#syn#syn) .syn-q blockquote.is-wide{max-width:none}
html:not(#syn#syn) .syn-q cite{display:flex;gap:16.8px;align-items:center;flex-wrap:nowrap;margin-top:28px;font-style:normal;font-family:var(--syn-sans)}
html:not(#syn#syn) .syn-q__logo{height:26.4px;width:auto;max-width:none;flex:none;pointer-events:none;-webkit-user-drag:none}
/* Optional per testimonial: the logo in black. */
html:not(#syn#syn) .syn-q__logo.is-black{filter:brightness(0)}
html:not(#syn#syn) .syn-q__logo.is-natural{height:auto}
html:not(#syn#syn) .syn-q__div{width:1px;height:32px;background:var(--syn-line-strong);flex:none}
html:not(#syn#syn) .syn-q__who{display:flex;flex-direction:column;gap:4.48px;min-width:0}
html:not(#syn#syn) .syn-q__name{font-weight:600;font-size:15.2px;line-height:1.15;letter-spacing:-.011em;color:var(--syn-ink)}
html:not(#syn#syn) .syn-q__role{font-weight:400;font-size:15.2px;line-height:1.15;color:var(--syn-muted)}

html:not(#syn#syn) .syn-q__fig{position:relative;aspect-ratio:4/5;width:min(100%,420px);max-height:min(52vh,460px);justify-self:end;overflow:hidden;border-radius:6px;background:var(--syn-paper-2);transform:scale(.92);transform-origin:center center;will-change:transform}
html:not(#syn#syn) .syn-q__fig img{width:100%;height:118%;max-width:none;object-fit:cover;animation:syn-qdrift 24s ease-in-out infinite alternate;pointer-events:none;-webkit-user-drag:none;transform:scale(1.02)}
@keyframes syn-qdrift{to{transform:scale(1.08) translateY(-2.2%)}}

html:not(#syn#syn) .syn-q-ctl{display:flex;align-items:center;gap:22.4px;margin-top:32px}
html:not(#syn#syn) .syn-q-arrows{display:flex;gap:7.2px}
html:not(#syn#syn) .syn-q-arrows button{width:46px;height:46px;border-radius:50%;border:1px solid var(--syn-line-strong);display:grid;place-items:center;transition:background .25s,color .25s;color:var(--syn-ink)}
html:not(#syn#syn) .syn-q-arrows button:hover{background:var(--syn-ink);color:var(--syn-paper)}
html:not(#syn#syn) .syn-q-arrows svg{width:16px;height:16px}
html:not(#syn#syn) .syn-q-dots{display:flex;gap:6.4px;align-items:center}
html:not(#syn#syn) .syn-q-dots button{width:6px;height:6px;border-radius:50%;background:rgba(22,21,19,.22);transition:all .3s}
html:not(#syn#syn) .syn-q-dots button.is-on{background:var(--syn-ink);width:22px;border-radius:8px}

html:not(#syn#syn) .syn-testimonials__cta{margin-top:48px}

@media (max-width:1000px){
  /* Mobile: each slide keeps its own height (the JS sizes the carousel to the current one). */
  html:not(#syn#syn) .syn-q-track{align-items:flex-start}
  html:not(#syn#syn) .syn-q{grid-template-columns:1fr;gap:21.6px;align-items:start;align-content:start}
  html:not(#syn#syn) .syn-q__fig{aspect-ratio:16/10;width:100%;max-height:none;justify-self:stretch}
  html:not(#syn#syn) .syn-q blockquote{font-size:clamp(32.8px,8.6vw,52px);max-width:21ch}
}
@media (prefers-reduced-motion:reduce){
  html:not(#syn#syn) .syn-q__fig{transform:none}
  html:not(#syn#syn) .syn-q__fig img{animation:none}
}
