.polestar__slider--container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  position: relative;
  overflow: hidden;
  background: #fff5de;
  background: linear-gradient(110deg, rgb(255 245 222) 75%, rgb(242 169 0 / .8) 100%);
}

.polestar__slider--container::after,
.polestar__slider--container::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 500px;
  height: 100%;
  z-index: 1;
}

.polestar__slider--container::after {
  /* background-image: url('./images/bottom_left_gradient.png'); */
  background-position: bottom;
  background-size: 100%;
  background-repeat: no-repeat;
  left: 0;
}

.polestar__slider--container::before {
  /* background-image: url('./images/bottom_right_gradient.png'); */
  background-position: bottom;
  background-size: 100%;
  background-repeat: no-repeat;
  right: 150px;
  width: 900px;
}

@media(max-width: 960px) {
  .polestar__slider--container::after,
  .polestar__slider--container::before {
    display: none;
  }
}

.polestar__slider {
  display: block;
  width: 100%;
  max-width: 1160px;
  max-height: 400px;
  min-height: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
@media(max-width: 1330px) {
  .polestar__slider {
    max-width: calc(960px - 10rem);
  }
}
@media(max-width: 960px) {
  .polestar__slider {
    user-select: none;
    min-height: 550px;
  }
}

.polestar__slider .slides {
  display: flex;
  width: 100%;
  height: 100%;
}

.polestar__slider .slides .slides__item {
  display: none;
  width: 100%;
  top: 0;
  left: 0;
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: absolute;
  padding: 2rem 0;
}

@media(max-width: 960px) {
  .polestar__slider .slides .slides__item {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    left: 0;
    gap: 1rem;
  }
}

.polestar__slider .slides .slides__item .left {
  flex: 1 1;
}
@media(max-width: 960px) {
  .polestar__slider .slides .slides__item .left {
    max-width: 100%;
    flex: 0;
  }
}

.polestar__slider .slides .slides__item .left .title {
  font-size: 25px;
  color: var(--primary-color);
  font-weight: 600;
  padding-bottom: 0;
  text-transform: initial;
}

.polestar__slider .slides .slides__item .left .description {
  font-size: 14px;
  color: var(--primary-color);
}
@media(max-width: 960px) {
  .polestar__slider .slides .slides__item .left .description {
    display: none;
  }
}

.polestar__slider .slides .slides__item .right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  flex: 1 1;
}
.right .video {
  position: relative;
  width: 100%;
  height: 300px;
}
.right .video iframe {
  user-select: none;
  touch-action:cross-slide-x;
}
.right .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.polestar__slider .slides .slides__item .right img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.entry-content .polestar__slider .nav {
  display: none;
}
@media(max-width: 960px) {
  .entry-content .polestar__slider .nav {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 0 0 1rem 0;
    gap: 1rem;
  }

  .entry-content .polestar__slider .nav li {
    height: 6px;
    width: 20px;
    background-color: #FFFFFF;
    cursor: pointer;
    list-style-type: none !important;
    box-shadow: none;
  }

  .entry-content ul .polestar__slider .nav li::marker {
    display: none;
  }
  .entry-content .polestar__slider .nav li.selected {
    background-color: var(--primary-color);
  }
}

.polestar__slider .arrow {
  display: block;
  position: absolute;
  cursor: pointer;
  z-index: 5;
}

.polestar__slider .arrow.prev img, .polestar__slider .arrow.next img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media(max-width: 960px) {
  .polestar__slider .arrow.prev,
  .polestar__slider .arrow.next {
    display: none;
  }
}

.polestar__slider .arrow.prev {
  top: 50%;
  left: -5rem;
}

.polestar__slider .arrow.prev.disabled {
  opacity: 0.5;
  cursor: initial;
}
.polestar__slider .arrow.prev img {
  transform: rotateZ(180deg);
}
.polestar__slider .arrow.prev:hover,
.polestar__slider .arrow.next:hover {
  background: none;
  opacity: .7;
}

.polestar__slider .arrow.next {
  top: 50%;
  right: -5rem;
}

.polestar__slider li.selected {
  transform: scale(1);
  box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.34);
  transition: all 0.2s;
}

.polestar__slider .learn-more-sm {
  display: none;
}

@media(max-width: 960px) {
  .polestar__slider .learn-more {
    display: none;
  }

  .polestar__slider .learn-more-sm {
    display: block;
  }

  .polestar__slider .learn-more-sm button {
    font-size: 16px;
  }
}

@keyframes media-slider-right-anim {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
@keyframes media-slider-left-anim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}
.left-anim {
  animation: media-slider-left-anim .5s ease;
}
.right-anim {
  animation: media-slider-right-anim .5s ease;
}

.polestar__slider--container
.polestar__slider:not(:has(.slides .slides__item:nth-child(2))) > .arrow {
  display: none;
}