/*
 * NCQA Slider (2026-10) - styles for assets/js/ncqa-slider.js
 * Replaces slick.css / slick-theme.css and swiper.min.css. Brand tokens come from :root (css/style/_tokens.scss);
 * literal fallbacks match the same values.
 *   --ncqa-dark-blue-500 #003956 (arrows, dots, focus ring), --ncqa-link-blue-700 #006488 (hover)
 */

/* ---------- core ---------- */
.ncqa-slider {
  position: relative;
}
.ncqa-slider__viewport {
  overflow-x: auto !important;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ncqa-slider__viewport::-webkit-scrollbar {
  display: none;
}
.ncqa-slider__track {
  display: flex;
  flex-wrap: nowrap;
  box-sizing: border-box;
}
.ncqa-slider__slide {
  flex-shrink: 0;
  box-sizing: border-box;
  scroll-snap-align: start;
}
.ncqa-slider--hidden {
  display: none !important;
}

/* ---------- native controls (used when the slider creates its own arrows / dots) ---------- */
.ncqa-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 2px solid var(--ncqa-dark-blue-500, #003956);
  border-radius: 50%;
  background: #fff;
  color: var(--ncqa-dark-blue-500, #003956);
  cursor: pointer;
  appearance: none;
}
.ncqa-slider__prev {
  left: 0;
}
.ncqa-slider__next {
  right: 0;
}
.ncqa-slider__arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
  margin-left: 4px;
}
.ncqa-slider__next::before {
  transform: rotate(-135deg);
  margin-left: -4px;
}
.ncqa-slider__arrow:hover {
  background: var(--ncqa-dark-blue-500, #003956);
  color: #fff;
}
.ncqa-slider__arrow:disabled,
.ncqa-slider__arrow.is-disabled {
  opacity: 0.4;
  cursor: default;
  background: #fff;
  color: var(--ncqa-dark-blue-500, #003956);
}
.ncqa-slider__arrow:focus-visible,
.ncqa-slider__dot:focus-visible {
  outline: 3px solid var(--ncqa-dark-blue-500, #003956);
  outline-offset: 3px;
}
.ncqa-slider__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 12px 0 0;
  padding: 0;
}
.ncqa-slider__dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ncqa-slider__dot::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid var(--ncqa-dark-blue-500, #003956);
  border-radius: 50%;
  background: transparent;
}
.ncqa-slider__dot.is-active::before {
  background: var(--ncqa-dark-blue-500, #003956);
}

/* ---------- Slick compatibility (markup built by the $.fn.slick shim) ---------- */
.slick-slider {
  position: relative;
}
.slick-list {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
}
.slick-track {
  position: relative;
  top: 0;
  left: 0;
}
.slick-slide {
  min-height: 1px;
}
.slick-slide img {
  display: block;
}
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  transform: translate(0, -50%);
  border: 0;
  outline: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}
.slick-prev {
  left: -25px;
}
.slick-next {
  right: -25px;
}
.slick-prev:focus-visible,
.slick-next:focus-visible {
  outline: 3px solid var(--ncqa-dark-blue-500, #003956);
  outline-offset: 2px;
}
/* chevron drawn with borders (replaces the "slick" icon font); size / colour come from the page's :before rules */
.slick-prev:before,
.slick-next:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  box-sizing: border-box;
  width: 0.6em;
  height: 0.6em;
  border: solid currentColor;
  border-width: 0 0 0.14em 0.14em;
  font-size: 20px;
  line-height: 1;
  opacity: 0.75;
  color: #333;
}
.slick-prev:before {
  transform: translate(-30%, -50%) rotate(45deg);
}
.slick-next:before {
  transform: translate(-70%, -50%) rotate(-135deg);
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
  opacity: 0.25;
}
.slick-dots {
  position: absolute;
  bottom: -25px;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.slick-dots li {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  padding: 0;
}
.slick-dots li button {
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}
.slick-dots li button:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 6px;
  border-radius: 50%;
  background: #000;
  opacity: 0.25;
}
.slick-dots li.slick-active button:before {
  opacity: 0.75;
}

/* ---------- Swiper compatibility (markup kept by the theme: .swiper-container > .swiper-wrapper > .swiper-slide) ---------- */
.swiper-container {
  position: relative;
  z-index: 1;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  overflow: hidden;
  list-style: none;
}
.swiper-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  box-sizing: content-box;
  width: 100%;
  height: 100%;
}
.swiper-slide {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}
.swiper-pagination {
  position: absolute;
  z-index: 10;
  text-align: center;
  transition: 0.3s opacity;
  transform: translate3d(0, 0, 0);
}
.swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: 10px;
  left: 0;
  width: 100%;
}
.swiper-pagination-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 100%;
  background: #000;
  opacity: 0.2;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
}
.swiper-pagination-bullet-active {
  background: var(--ncqa-dark-blue-500, #003956);
  opacity: 1;
}
.swiper-pagination-bullet:focus-visible {
  outline: 3px solid var(--ncqa-dark-blue-500, #003956);
  outline-offset: 3px;
}
.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
