/* home UX pass 2026-11-16 */
/* Before/after carousel: previous and next arrows (audit item 4).
   The arrows sit in a row under the photos, so they never cover a face. */
.wub-carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

/* Strong selector so the theme's pink button:hover / button:focus never wins. */
.wub-carousel-nav button.wub-carousel-btn,
.wub-carousel-nav button.wub-carousel-btn:hover,
.wub-carousel-nav button.wub-carousel-btn:focus,
.wub-carousel-nav button.wub-carousel-btn:active {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #7E663E;
  border-radius: 50%;
  background-color: #fff;
  color: #7E663E;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .wub-carousel-nav button.wub-carousel-btn:hover {
    background-color: #7E663E;
    color: #fff;
  }
}

.wub-carousel-nav button.wub-carousel-btn:focus {
  outline: none;
}

.wub-carousel-nav button.wub-carousel-btn:focus-visible {
  outline: 3px solid #7E663E;
  outline-offset: 3px;
}

.wub-carousel-nav .wub-carousel-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .wub-carousel-nav button.wub-carousel-btn {
    transition: none;
  }
  .elementor-widget-image-carousel .swiper-wrapper {
    transition-duration: 0ms !important;
  }
}

/* Polish round 2026-11-16: from 768 px up the slider sits in a row beside the office photo, and the
   photo column stretches to the slider column's height. The arrow row (16 px gap plus 48 px buttons)
   made that column 70 px taller (with a 6 px gap Elementor leaves), so the office photo grew and zoomed in. The arrow row now takes no
   height in the column (negative bottom margin) and the section gets the same 70 px at its bottom,
   so the office photo keeps its old height and crop and the arrows still sit under the photos. */
@media (min-width: 768px) {
  .elementor-element-2403eac .wub-carousel-nav {
    margin-bottom: -70px;
  }
  .elementor .elementor-element.elementor-element-91dd1c7.e-con {
    padding-bottom: 70px;
  }
}
