.harel-faq {
  border-bottom: 1px solid #d5d5d5;
  padding: 0.8rem 0;
}

.harel-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.harel-faq summary:focus-visible,
.harel-testimonials button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.harel-faq p {
  margin-block: 0.8rem 0;
}

.harel-testimonials__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: 1rem;
}

.harel-testimonials__controls button {
  cursor: pointer;
}

.harel-testimonials blockquote[hidden] {
  display: none;
}

/* The original content remains in the page editor for a safe opt-out. */
body[data-manage-reviews="true"] .home .home-reviews:not(.managed-reviews) {
  display: none;
}
.managed-reviews blockquote p:first-child { white-space: pre-line; }

/* The visual dots are small, while their buttons provide larger hit targets. */
.harel-carousel--ready {
  position: relative;
  text-align: center;
}

.harel-carousel--ready [hidden] {
  display: none !important;
}

.harel-carousel--ready blockquote:not([hidden]),
.harel-carousel--ready .harel-services__slide:not([hidden]) {
  animation: harel-carousel-enter 500ms ease both;
}

@keyframes harel-carousel-enter {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.harel-carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  margin-block: .5rem;
}

.harel-carousel__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.harel-carousel--ready .harel-carousel__dot,
.harel-carousel--ready .harel-carousel__arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}

.harel-carousel--ready .harel-carousel__arrow {
  /* Prevent the bidi algorithm from mirroring the already directional glyphs. */
  direction: ltr;
}

.harel-carousel--ready .harel-carousel__dot {
  width: 20px;
  height: 32px;
}

.harel-carousel__dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .3;
}

.harel-carousel__dot[aria-current]::after { opacity: 1; }
.harel-carousel--ready .harel-carousel__arrow { width: 36px; height: 36px; font-size: 2rem; line-height: 1; }
.harel-carousel--ready .harel-carousel__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .7rem;
  cursor: pointer;
}
.harel-carousel--ready button:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

/* The three photographs match the live site's service slides. */
.harel-services {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), var(--service-image-1, url('../images/service-physio.jpg'));
  background-position: center;
  background-size: cover;
}
.harel-services[data-slide="1"] {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), var(--service-image-2, url('../images/service-pilates.jpg'));
}
.harel-services[data-slide="2"] {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), var(--service-image-3, url('../images/service-home.jpg'));
}
.harel-services.harel-carousel--ready .harel-carousel__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 2.75rem;
  opacity: 1;
}
.harel-services.harel-carousel--ready .harel-carousel__dot { color: #fff; }
.harel-services .harel-carousel__dots { background: #222; border-radius: 1rem; padding-inline: .3rem; }
@media (forced-colors: active) {
  .harel-services.harel-carousel--ready .harel-carousel__arrow { border: 2px solid ButtonText; }
}

@media (prefers-reduced-motion: reduce) {
  .harel-carousel--ready blockquote:not([hidden]),
  .harel-carousel--ready .harel-services__slide:not([hidden]) { animation: none; }
}
