.lb-box {
  width: auto;
  height: auto;
  margin: min(1vw, 15px) auto;
  position: relative;
  overflow: hidden;
}

.lb-content {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}
.lb-content > * /* This targets .aspect-box__content */ {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
}
.lb-content:before /* This pseudo element uses the padding trick to set the height. */ {
  position: relative;
  display: block;
  content: "";
  padding-top: 52.63%;
  box-sizing: border-box;
}

.lb-item {
  width: 100%;
  height: 100%;
  display: none;
  position: relative;
}

.lb-item > a {
  width: 100%;
  height: 100%;
  display: block;
}

.lb-item > a > img {
  width: 100%;
  height: 100%;
  display: block;
}

.lb-item > a > span {
  width: 100%;
  display: block;
  position: absolute;
  bottom: 0px;
  padding: min(1vw, 14.4px);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
}

@media() {
  .lb-item > a > span {
    padding: 10px;
  }
}

.lb-item.active {
  display: block;
  left: 0%;
}
.lb-item.active.left {
  left: -100%;
}
.lb-item.active.right {
  left: 100%;
}

/*  */
.lb-item.next,
.lb-item.prev {
  display: block;
  position: absolute;
  top: 0px;
}
.lb-item.next {
  left: 100%;
}
.lb-item.prev {
  left: -100%;
}
.lb-item.next.left,
.lb-item.prev.right {
  left: 0%;
}

.lb-sign {
  position: absolute;
  right: min(0.7vw, 10px);
  bottom: min(1vw, 14px);
  padding: min(0.35vw, 5px) min(0.21vw, 3px);
  border-radius: min(0.42vw, 6px);
  list-style: none;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.7);
}

.lb-sign li {
  width: min(1.53vw, 22px);
  height: min(1.4vw, 20px);
  font-size: min(1vw, 14px);
  font-weight: 500;
  line-height: min(1.4vw, 20px);
  text-align: center;
  float: left;
  color: #aaa;
  margin: auto min(0.21vw, 3px);
  border-radius: min(0.28vw, 4px);
  cursor: pointer;
}
.lb-sign li:hover {
  color: #fff;
}
.lb-sign li.active {
  color: #000;
  background-color: #ebebeb;
}

.lb-ctrl {
  line-height: 1.5;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: min(2vw, 28.8px);
  font-weight: 900;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: min(0.35vw, 5px);
  cursor: pointer;
  transition: all 0.1s linear;
}
.lb-ctrl.left {
  left: max(-3.47vw, -50px);
}
.lb-ctrl.right {
  right: max(-3.47vw, -50px);
}
.lb-box:hover .lb-ctrl.left {
  left: min(0.7vw, 10px);
}
.lb-box:hover .lb-ctrl.right {
  right: min(0.7vw, 10px);
}
.lb-ctrl:hover {
  background-color: #000;
}
