

/* Start:/local/templates/celt/components/bitrix/news.list/main_advantages_slider/style.css?17936160744406*/
/* ЦЭЛТ — мобильный слайдер «Вариант 2 — компактный». Все классы с префиксом celt-msl__ */

.celt-msl .celt-msl__swiper {
  overflow: hidden;
  border-radius: 24px;
}
.celt-msl .celt-msl__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.celt-msl .celt-msl__slide {
  display: flex;
  margin: 0;
  padding: 0;
  height: auto;
}
.celt-msl .celt-msl__slide::before { display: none; }

/* Карточка: минимум 330px, при длинном тексте растёт; все слайды выравниваются по самому высокому */
.celt-msl .celt-msl__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 330px;
  border-radius: 24px;
  overflow: hidden;
  background: #1e3a6c;
  box-shadow: 0 18px 40px -22px rgba(20, 37, 74, .55);
}
.celt-msl .celt-msl__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.celt-msl .celt-msl__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14, 28, 58, 0) 18%,
    rgba(14, 28, 58, .62) 46%,
    rgba(14, 28, 58, .95) 72%,
    #0e1c3a 100%);
  pointer-events: none;
}

/* Бейдж и счётчик */
.celt-msl .celt-msl__badge,
.celt-msl .celt-msl__count {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.celt-msl .celt-msl__badge {
  left: 14px;
  gap: 6px;
  max-width: calc(100% - 110px);
  overflow: hidden;
  text-overflow: ellipsis;
  background: #fff;
  color: #1e3a6c;
}
.celt-msl .celt-msl__badge--free::before,
.celt-msl .celt-msl__badge--diag::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.celt-msl .celt-msl__badge--free::before { background: #e5484d; }   /* Бесплатно   — белый с красной точкой */
.celt-msl .celt-msl__badge--diag::before { background: #2f7be0; }   /* Диагностика — белый с синей точкой */
.celt-msl .celt-msl__badge--sale {                                   /* Скидка      — красный */
  background: #e5484d;
  color: #fff;
  font-weight: 800;
}
.celt-msl .celt-msl__count {
  right: 14px;
  background: rgba(10, 22, 48, .6);
  color: #fff;
}

/* Текст поверх картинки; сверху отступ под бейдж, чтобы длинный текст его не перекрывал */
.celt-msl .celt-msl__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 56px 18px 18px;
}
.celt-msl .celt-msl__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.celt-msl .celt-msl__descr {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #d6e0f2;
}
.celt-msl .celt-msl__btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  background: #fff;
  color: #1e3a6c;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease;
}
.celt-msl .celt-msl__btn:hover,
.celt-msl .celt-msl__btn:focus-visible {
  background: #e8eef9;
  color: #1e3a6c;
}
.celt-msl .celt-msl__btn svg { flex-shrink: 0; }

/* Точки под слайдером */
.celt-msl .celt-msl__dots {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  width: 100%;
}
.celt-msl .celt-msl__dot {
  display: block;
  width: 6px;
  height: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #b9c6dc;
  opacity: 1;
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.celt-msl .celt-msl__dot--active {
  width: 24px;
  background: #1e3a6c;
}

/* Очень узкие экраны */
@media (max-width: 359px) {
  .celt-msl .celt-msl__card { min-height: 310px; }
  .celt-msl .celt-msl__title { font-size: 18px; }
}
/* End */
/* /local/templates/celt/components/bitrix/news.list/main_advantages_slider/style.css?17936160744406 */
