/**
 * ItcSlider
 * @version 1.0.1
 * @author https://github.com/itchief
 * @copyright Alexander Maltsev 2020 - 2023
 * @license MIT (https://github.com/itchief/ui-components/blob/master/LICENSE)
 * @tutorial https://itchief.ru/javascript/slider
 */

.itc-slider {
  position: relative;
}

.itc-slider-wrapper {
  overflow: hidden;
  background-color: #eee;
}

.itc-slider-items {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.itc-slider-transition-none {
  transition: none;
}

.itc-slider-item {
  flex: 0 0 100%;
  max-width: 100%;
  user-select: none;
  will-change: transform;
}

/* кнопки влево и вправо */
.itc-slider-btn {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 50px;
  color: #fff;
  text-align: center;
  background: none;
  border: none;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.5;
  transition: 0.2s ease;
}

.itc-slider-btn-hide {
  display: none;
}

.itc-slider-btn-prev {
  left: 0;
}

.itc-slider-btn-next {
  right: 0;
}

.itc-slider-btn:hover,
.itc-slider-btn:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 1;
}

.itc-slider-btn::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 43px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  background-image: url(dev/arrow.svg);
}

.itc-slider-btn-next::before {
  transform: scaleX(-1);
}

/* индикаторы */
.itc-slider-indicators {
  position: absolute;
  right: 24px;
  bottom: 8px;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  list-style: none;
}

.itc-slider-indicator {
  flex: 0 1 auto;
  box-sizing: content-box;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 12px;
  margin-left: 13px;
  text-indent: -999px;
  background-color: rgb(255 255 255 / 20%);
  background-clip: padding-box;
  border: 1px solid #fff;
  cursor: pointer;
  transition: 0.2s ease;
}

.itc-slider-indicator:hover, 
.itc-slider-indicator:focus {
  background-color: rgb(255 255 255 / 50%);
}

.itc-slider-indicator-active {
  background-color: rgb(255 255 255 / 90%);
}

.itc-slider-text {
  position: absolute;
  left: 41px;
  bottom: 24px;
  color: #fff;
  z-index: 10;
}

.itc-slider-text h3 {

  font-family: 'Merriweather', serif;
  font-style: normal;
  font-weight: 100;
  font-size: 20px;
  line-height: 28px;
  color: #FFFFFF;
  letter-spacing: 0.03rem;
    margin-bottom: 12px;

}

.itc-slider-tags {
  display: flex;
}

.itc-slider-tag {
display: block;
border: 1px solid #fff;
padding: 0 8px;
margin-right: 11px;
border-radius: 15px;
font-family: 'Merriweather-Italic', serif;
font-style: italic;
font-weight: 400;
font-size: 14px;
line-height: 28px;
color: #FFFFFF;
  letter-spacing: 0.02rem;
  transition: 0.2s ease;
}

.itc-slider-tag:hover {
  background-color: var(--logo-tags-color);
  color: #fff;
  border-color: transparent;
  text-decoration: none;
}

@media screen and (max-width: 480px) {
  .itc-slider-text {
    display: none;
  }
}

/* ============================= */
/* FADE EFFECT */
/* ============================= */

.itc-slider-effect-fade .itc-slider-items {
  display: block;
  position: relative;
  transform: none !important;
}

.itc-slider-effect-fade .itc-slider-item {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease, filter 0.6s ease;
  width: 100%;
  filter: blur(8px);
}

.itc-slider-effect-fade .itc-slider-item.itc-slider-item-active {
  position: relative;
  opacity: 1;
  z-index: 2;
  filter: blur(0);
}