/* web-a-reviews-slider v1.0.2 */
/* WEB-A clients reviews carousel — brand #163E6A, RTL, no autoplay — v1.0.1 */
#testimonials .wa-reviews {
  margin-top: 34px;
}

#testimonials .wa-reviews__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#testimonials .wa-reviews__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

#testimonials .wa-reviews__viewport {
  overflow: hidden;
  width: 100%;
}

#testimonials .wa-reviews__track {
  display: flex;
  gap: 22px;
  transition: transform 0.35s ease;
  will-change: transform;
}

#testimonials .wa-reviews__track > .tcard {
  flex: 0 0 calc((100% - 44px) / 3);
  max-width: calc((100% - 44px) / 3);
  box-sizing: border-box;
  min-width: 0;
}

#testimonials .wa-reviews__track > .tcard[aria-hidden="true"] {
  visibility: hidden;
}

#testimonials .wa-reviews__btn {
  appearance: none;
  border: 1.5px solid #163E6A;
  background: #fff;
  color: #163E6A;
  border-radius: 999px;
  inline-size: 44px;
  block-size: 44px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#testimonials .wa-reviews__btn:hover:not(.is-disabled):not([aria-disabled="true"]) {
  background: #163E6A;
  color: #fff;
}

/* Johnny FAIL #1: visual disabled via aria-disabled / .is-disabled — still focusable */
#testimonials .wa-reviews__btn.is-disabled,
#testimonials .wa-reviews__btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Johnny FAIL #4: strong focus-visible ≥2px, contrast ≥3:1, offset */
#testimonials .wa-reviews__btn:focus {
  outline: none;
}
#testimonials .wa-reviews__dot:focus {
  outline: none;
}

#testimonials .wa-reviews__btn:focus-visible {
  outline: 3px solid #163E6A;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.95), 0 0 0 9px #163E6A;
}

#testimonials .wa-reviews__dot:focus-visible {
  outline: 3px solid #163E6A;
  outline-offset: 4px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #163E6A;
}

#testimonials .wa-reviews__btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

#testimonials .wa-reviews__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  list-style: none;
  padding: 0;
  margin-inline: 0;
}

#testimonials .wa-reviews__dot {
  appearance: none;
  border: 0;
  padding: 0;
  inline-size: 12px;
  block-size: 12px;
  border-radius: 50%;
  background: #c5d0dc;
  cursor: pointer;
}

#testimonials .wa-reviews__dot[aria-current="true"] {
  background: #163E6A;
  inline-size: 28px;
  border-radius: 999px;
}

#testimonials .wa-reviews__track .tcard .tby b {
  font-weight: 700;
}

@media (max-width: 900px) {
  #testimonials .wa-reviews__track > .tcard {
    flex-basis: 100%;
    max-width: 100%;
  }
}
