/* Slick slider */
.slider .slide-item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.slider .slider-contents {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* slick infinite효과 깜빡임 제거 */
.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  transition-delay: 10ms;
}

/* slider arrow*/
:root {
  --arrow-width: 50px;
  --arrow-height: 50px;
  --arrow-ratio: unset;
  --arrow-position: 50px;
  --arrow-image: url("/themes/pes_type_c/assets/images/slide_arrow.svg");
}

.slide-prev,
.slide-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: var(--arrow-width);
  height: var(--arrow-height);
  aspect-ratio: var(--arrow-ratio);
  padding: 0;
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
  z-index: 99;
}

.slide-prev:before,
.slide-next:before {
  content: "";
  font-size: 0;
  width: inherit;
  height: inherit;
  aspect-ratio: inherit;
  display: block;
  background-image: var(--arrow-image);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.slide-prev {
  left: var(--arrow-position);
  transform: translate(0, -50%) rotate(180deg);
}

.slide-next {
  right: var(--arrow-position);
}

/* slider dots */
:root {
  --dot-position: -45px;
  --dot-width: 8px;
  --dot-height: 8px;
  --dot-gap: 10px;
  --dot-color: #eee;
  --dot-active-color: var(--color-primary);
}

.slide-dots {
  position: absolute;
  bottom: var(--dot-position);
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.slide-dots li {
  position: relative;
  display: inline-block;
  width: var(--dot-width);
  height: var(--dot-height);
  margin: 0 calc(var(--dot-gap) / 2);
  padding: 0;
  cursor: pointer;
}

.slide-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: inherit;
  height: inherit;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.slide-dots li button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  background-color: var(--dot-color);
}

.slide-dots li.slick-active {
  width: 15px;
}

.slide-dots li.slick-active button:before {
  background-color: var(--dot-active-color);
  border-radius: 50px;
}

/* slide dots number */
.slide-dots.num {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.slide-dots.num li {
  display: none;
  width: auto;
  height: auto;
  line-height: 1;
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 300;
}

.slide-dots.num li.slick-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-dots.num span {
  display: block;
  width: 15px;
  height: 1px;
  background-color: #fff;
  margin: 0 8px;
}
