/* flex list */

.flex-list {
  --gap: 12px;
  --item-margin-bottom: 20px;
}

@media only screen and (min-width: 768px) {
  .flex-list {
    --gap: 0.2rem;
    --item-margin-bottom: 0.4rem;
  }
}

.flex-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--gap) * -1);
}

.flex-list > li {
  display: block;
  box-sizing: border-box;
  padding: 0 var(--gap);
  margin-bottom: var(--item-margin-bottom);
}

.flex-list.col-3 > li {
  flex: 0 0 12.5%;
  max-width: 12.5%;
}

.flex-list.col-4 > li {
  flex: 0 0 16.666666666666664%;
  max-width: 16.666666666666664%;
}

.flex-list.col-6 > li {
  flex: 0 0 25%;
  max-width: 25%;
}

.flex-list.col-8 > li {
  flex: 0 0 33.33333333333333%;
  max-width: 33.33333333333333%;
}

.flex-list.col-12 > li {
  flex: 0 0 50%;
  max-width: 50%;
}

@media only screen and (max-width: 767px) {
  .flex-list {
  }

  .flex-list > li {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .flex-list > li:last-child {
    margin-bottom: 0;
  }
}

.layui-col-space24 {
  margin: 0 -12px !important;
}

.layui-col-space24 > * {
  padding: 0 12px !important;
}

.layui-col-space32 {
  margin: 0 -16px !important;
}

.layui-col-space32 > * {
  padding: 0 16px !important;
}

.layui-col-space90 {
  margin: 0 -0.45rem !important;
}

.layui-col-space90 > * {
  padding: 0 0.45rem !important;
}

.flex {
  display: flex;
  margin: 0;
  padding: 0;
}

.flex-vertical {
  flex-direction: column;
}

.flex-rtl {
  direction: rtl;
}

.flex:empty {
  display: none;
}

.flex-gap {
  gap: 0.32rem;
}

.flex-wrap-wrap {
  flex-wrap: wrap;
}

.flex-wrap-nowrap {
  flex-wrap: nowrap;
}

.flex-wrap-wrap-reverse {
  flex-wrap: wrap-reverse;
}

.flex-align-center {
  align-items: center;
}

.flex-align-start {
  align-items: start;
}

.flex-align-end {
  align-items: end;
}

.flex-align-flex-start {
  align-items: flex-start;
}

.flex-align-flex-end {
  align-items: flex-end;
}

.flex-align-self-start {
  align-items: self-start;
}

.flex-align-self-end {
  align-items: self-end;
}

.flex-align-baseline {
  align-items: baseline;
}

.flex-align-normal {
  align-items: normal;
}

.flex-align-stretch {
  align-items: stretch;
}

.flex-justify-flex-start {
  justify-content: flex-start;
}

.flex-justify-flex-end {
  justify-content: flex-end;
}

.flex-justify-start {
  justify-content: start;
}

.flex-justify-end {
  justify-content: end;
}

.flex-justify-center {
  justify-content: center;
}

.flex-justify-space-between {
  justify-content: space-between;
}

.flex-justify-space-around {
  justify-content: space-around;
}

.flex-justify-space-evenly {
  justify-content: space-evenly;
}

.flex-justify-stretch {
  justify-content: stretch;
}

.flex-justify-normal {
  justify-content: normal;
}

.flex-justify-left {
  justify-content: left;
}

.flex-justify-right {
  justify-content: right;
}

.gradient-text {
  background-image: linear-gradient(
    90deg,
    var(--gradient-from) 0,
    var(--gradient-to) 100%
  ) !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  display: inline-block !important;
}

.list-with-dot {
  --dot-size: 0.06rem;
}

.list-with-dot p {
  position: relative;
  padding-left: 0.24rem;
}

.list-with-dot p::after {
  content: "";
  position: absolute;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background-color: currentColor;
  left: 0.04rem;
  top: 0.15rem;
}

@media only screen and (max-width: 767px) {
  .list-with-dot {
    --dot-size: 4px;
  }

  .list-with-dot p {
    position: relative;
    padding-left: 16px;
  }

  .list-with-dot p::after {
    left: 2px;
    top: 10px;
  }
}

.swiper-area {
  position: relative;
  padding-bottom: 0.6rem;
}

.pic {
  overflow: hidden;
  position: relative;
  height: auto;
}

.bgimg {
  width: 100%;
}

.upimg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s;
}

.pic:hover .upimg {
  transform: scale(1.1);
}

.pic-area.center .upimg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pic-area.center .pic:hover .upimg {
  transform: translate(-50%, -50%) scale(1.1);
}

.clip-text {
  display: inline-block;
  background-image: linear-gradient(
    to right,
    var(--gradient-from) 0,
    var(--gradient-to) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
