/* Loaded after im-home-identity.css; the original quote is the no-JS fallback. */
.im-home-client-voice{--im-home-reviews-ready:1}
.im-home-client-voice.im-home-reviews{min-width:0;max-width:100%}
.im-home-reviews__viewport{position:relative;display:flex;align-items:flex-start;gap:0;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0;padding:0;border:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0;overscroll-behavior-x:contain;overflow-anchor:none;scrollbar-width:none;scroll-behavior:auto;-webkit-overflow-scrolling:touch}
.im-home-reviews__viewport::-webkit-scrollbar{display:none}
.im-home-reviews__slide{box-sizing:border-box;flex:0 0 100%;width:100%;min-width:0;max-width:100%;margin:0;padding:0;border:0;scroll-margin:0;scroll-snap-align:start;scroll-snap-stop:always;overflow-wrap:anywhere}
.im-home-reviews .im-home-voice-stars .im-home-reviews__empty-star{color:#cbd0c7}
#main.im-home-shortened .im-home-reviews .im-home-reviews__quote{display:block;-webkit-line-clamp:unset;overflow:visible;max-width:none;white-space:pre-wrap;overflow-wrap:anywhere}
#main.im-home-shortened .im-home-reviews .im-home-reviews__quote.is-expanded{display:block;-webkit-line-clamp:unset;overflow:visible}
.im-home-reviews__missing{margin:14px 0 18px;color:#5a5e56;font-size:18px;line-height:1.55}
.im-home-reviews__expand{display:inline-block;max-width:100%;margin:0 0 18px;padding:2px 0;border:0;border-radius:0;background:none;color:#3e594e;font:inherit;font-size:13px;font-weight:600;line-height:1.5;text-align:left;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.im-home-reviews__expand[hidden]{display:none}
.im-home-reviews__controls{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:20px}
.im-home-reviews__arrow{display:inline-grid;place-items:center;flex:0 0 44px;box-sizing:border-box;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #c9d1c8;border-radius:7px;background:transparent;color:#3e594e;font:inherit;font-size:23px;line-height:1;cursor:pointer}
.im-home-reviews__arrow:hover:not(:disabled){background:#e8eee6;border-color:#6e8a72}
.im-home-reviews__arrow:disabled{color:#92998f;border-color:#dce0d8;cursor:default;opacity:.55}
.im-home-reviews__counter{min-width:0;color:#5a5e56;font-size:13px;line-height:1.4;text-align:center;font-variant-numeric:tabular-nums}
.im-home-reviews__swipe{display:none;margin:9px 0 0;color:#6c7469;font-size:12px;line-height:1.5;text-align:center}
.im-home-reviews__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.im-home-reviews :is(.im-home-reviews__viewport,.im-home-reviews__arrow,.im-home-reviews__expand):focus-visible{outline:2px solid #3e594e;outline-offset:3px}
@media(max-width:640px),(pointer:coarse){.im-home-reviews__swipe{display:block}}
@media(max-width:640px){#main.im-home-shortened .im-home-reviews .im-home-reviews__quote{font-size:17px;line-height:1.6}.im-home-reviews__missing{font-size:17px;line-height:1.6}}

/* Match the reference carousel: one independent card with navigation outside. */
#main.im-home-shortened .im-home-review-section:has(> .im-home-reviews.im-home-side-navigation) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#main.im-home-shortened .im-home-client-voice.im-home-reviews.im-home-side-navigation {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#main.im-home-shortened .im-home-client-voice.im-home-reviews.im-home-side-navigation > :is(.im-home-voice-eyebrow, a) { margin-inline: 28px !important; }
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__frame {
  position: relative;
  box-sizing: border-box;
  width: calc(100% + 32px);
  max-width: none;
  margin-inline: -16px;
  padding-inline: 44px;
}
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__frame--single { width: 100%; margin-inline: 0; padding-inline: 0; }
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__viewport { touch-action: pan-x pan-y; max-height: none !important; }
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__slide {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 24px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fff;
}
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__quote {
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
  white-space: pre-wrap !important;
}
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__chevron {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  font: 400 46px/1 Arial, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__chevron--previous { left: 0; }
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__chevron--next { right: 0; }
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__chevron[hidden] { display: none; }
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__chevron:focus-visible { outline: 2px solid #111; outline-offset: 0; }
#main.im-home-shortened .im-home-client-voice.im-home-reviews.im-home-side-navigation .im-home-reviews__controls {
  display: flex !important;
  justify-content: center !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  order: initial !important;
}
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__controls::after { display: none !important; content: none !important; }
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__counter { min-width: 0 !important; color: #555 !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5 !important; }
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__swipe { display: block !important; margin: 8px 12px 0 !important; color: #555 !important; font-size: 14px !important; line-height: 1.5 !important; }

/* Keep mobile cards wide enough to read, with chevrons in the outer gutter. */
@media(max-width:780px){
#main.im-home-shortened .im-home-reviews.im-home-side-navigation .im-home-reviews__frame:not(.im-home-reviews__frame--single){width:calc(100% + 64px);margin-inline:-32px;padding-inline:44px}
#main.im-home-shortened .im-home-client-voice.im-home-reviews.im-home-side-navigation > :is(.im-home-voice-eyebrow, a){margin-inline:12px!important}
}



/* Full-text contract: win over historical bundled homepage overrides. */
#main.im-home-shortened #im-home-client-reviews.im-home-reviews--complete .im-home-reviews__viewport {
  min-height: 0 !important;
  max-height: none !important;
  scroll-behavior: auto !important;
  overflow-anchor: none;
}
#main.im-home-shortened #im-home-client-reviews.im-home-reviews--complete .im-home-reviews__slide {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
#main.im-home-shortened #im-home-client-reviews.im-home-reviews--complete :is(.im-home-reviews__quote, figcaption, figcaption strong, .im-home-reviews__meta) {
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
}
#main.im-home-shortened #im-home-client-reviews.im-home-reviews--complete .im-home-reviews__quote {
  display: block !important;
  max-width: none !important;
  white-space: pre-wrap !important;
}
#main.im-home-shortened #im-home-client-reviews.im-home-reviews--complete .im-home-reviews__meta {
  white-space: normal !important;
}
#main.im-home-shortened #im-home-client-reviews.im-home-reviews--complete .im-home-reviews__expand {
  display: none !important;
}
#main.im-home-shortened #im-home-client-reviews.im-home-reviews--complete .im-home-reviews__chevron:not([hidden]) {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  /* Keep navigation in view when the complete review spans several screens. */
  top: min(50%, 120px);
  color: #191919;
}
#main.im-home-shortened #im-home-client-reviews.im-home-reviews--complete .im-home-reviews__chevron:hover {
  color: #c91f2e;
}
#main.im-home-shortened #im-home-client-reviews.im-home-reviews--complete .im-home-reviews__chevron:focus-visible {
  outline: 2px solid #191919;
  outline-offset: 0;
}
