/* Home and academic carousels share the service page's quiet control styling. */
.wl-carousel-controls {
  --wl-carousel-dot-width: 25px;
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  max-width: 100%;
  padding: 9px 13px 9px 18px;
  border: 1px solid #ffffffb0;
  border-radius: 5px;
  background: #ffffffc7;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.news-hero .wl-carousel-controls {
  border-color: #dfebf3;
  background: #f4f9fccf;
}
.wl-carousel-count {
  flex: 0 0 auto;
  min-width: 0;
  color: #88a1b0;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.wl-carousel-count b {
  color: #24709a;
  font-size: 18px;
  font-weight: 500;
}
.wl-carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
.wl-carousel-dots button,
.wl-carousel-dots button.active,
.wl-carousel-dots button.is-active {
  position: relative;
  flex: 0 0 auto;
  width: var(--wl-carousel-dot-width);
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.wl-carousel-dots button::after {
  content: '';
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: #b6d0df;
  transition: background 0.2s;
}
.wl-carousel-dots button.active::after,
.wl-carousel-dots button.is-active::after {
  background: #168ab9;
}
.wl-carousel-arrows {
  display: flex;
  gap: 6px;
}
.wl-carousel-arrows button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid #cee1ec;
  border-radius: 50%;
  color: #337ca3;
  background: #fff;
  font-size: 14px;
  line-height: 1;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.wl-carousel-arrows button:hover,
.wl-carousel-arrows button[aria-pressed='true'] {
  background: #e5f4fc;
  border-color: #a1cadf;
}
.wl-carousel-arrows .wl-carousel-pause {
  font-size: 10px;
}
@media (max-width: 640px) {
  .wl-carousel-controls {
    --wl-carousel-dot-width: 19px;
    gap: 18px;
    padding: 8px 11px 8px 14px;
  }
  .wl-carousel-count b {
    font-size: 16px;
  }
  .wl-carousel-dots {
    gap: 6px;
  }
  .wl-carousel-arrows {
    gap: 5px;
  }
  .wl-carousel-arrows button {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 360px) {
  .wl-carousel-controls {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wl-carousel-dots button::after,
  .wl-carousel-arrows button {
    transition: none;
  }
}
