@charset "utf-8";

.live .section-top {
  margin-bottom: 25px;
}

.section-top > img {
  height: 40px;
}

.live .section-slide {
  height: 455px;
}

.sw-live {
  height: 100%;
}

.live-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.live-img {
  position: relative;
  width: 100%;
  height: 100%;
  background: lightpink;
}

.live-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 이미지 너비, 높이 상관없이 가운데 */
  height: 100%;
  transform: translate(-50%, -50%) scale(1.2);
}
.live-info {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: rgb(0, 0, 0, 0.4);
}

.live-info-top {
}

.live-info-cate {
  display: inline-block;
  line-height: 32px;
  font-size: 1.3rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 0 12px;
  margin-bottom: 10px;
}

.live-info-title {
  display: -webkit-box;
  font-size: 20px;
  line-height: 24px;
  height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 700;
  color: #fff;
}

.live-info-main {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.live-info-main > p {
  color: #fff;
}

.live-info-date {
  font-size: 2.8rem;
  line-height: 33px;
  margin-bottom: 5px;
}

.live-info-time {
  font-size: 50px;
  line-height: 60px;
  font-weight: 700;
}

.live-info-bottom {
  position: absolute;
  left: 0px;
  bottom: 20px;
  width: 100%;
  padding: 0px 20px;
}

.live-info-thumb {
  position: relative;
  width: 65px;
  height: 65px;
  float: left;
  border-radius: 3px;
  overflow: hidden;
  background: pink;
}

.live-info-thumb > img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.live-info-desc {
  float: right;
  width: calc(100% - 65px - 10px);
}

.live-info-desc-title {
  font-size: 15px;
  line-height: 18px;
  color: #fff;
  /* 한줄 말 줄임 */
  overflow: hidden;
  text-overflow: ellipsis;
  /* 줄내림 하지말라 */
  white-space: nowrap;
  margin-top: 10px;
}

.live-info-desc-price {
  font-size: 1.6rem;
  color: #fff;
  margin-top: 5px;
}

.live-info-desc-price > em {
  color: #ef3e43;
  font-size: 2rem;
  line-height: 24px;
  font-weight: 700;
  font-style: normal;
}

.live-info-desc-price > b {
  color: #fff;
  font-size: 2rem;
  line-height: 24px;
  font-weight: 700;
}

@media screen and (max-width: 1280px) {
}

@media screen and (max-width: 1024px) {
  .live .section-slide {
    height: 285px;
  }
  .live .section-slide .sw-bt {
    top: 50%;
  }
  .live-info {
    padding: 12px;
  }
  .live-info-cate {
    font-size: 10px;
    line-height: 20px;
    border-radius: 1px;
    padding: 0 7px;
  }
  .live-info-title {
    font-size: 14px;
    line-height: 17px;
    height: 34px;
  }
  .live-info-date {
    font-size: 18px;
    line-height: 21px;
    white-space: nowrap;
  }
  .live-info-time {
    font-size: 32px;
    line-height: 38px;
  }
  .live-info-desc {
    float: right;
    width: calc(100% - 40px - 10px);
  }
  .live-info-thumb {
    width: 40px;
    height: 40px;
  }
  .live-info-desc-title {
    font-size: 13px;
    margin-top: 5px;
  }
  .live-info-desc-price {
    font-size: 13px;
    white-space: nowrap;
    margin-top: 5px;
  }
  .live-info-desc-price em {
    font-size: 13px;
  }
  .live-info-desc-price b {
    font-size: 13px;
  }
}

@media screen and (max-width: 760px) {
  .live .section-slide {
    height: 230px;
  }
  .live-info {
    padding: 5px;
  }
  .live-info-title {
    font-size: 14px;
    line-height: 17px;
    height: 34px;
  }
  .live-info-date {
    font-size: 14px;
    line-height: 16px;
    white-space: nowrap;
  }
  .live-info-time {
    font-size: 24px;
    line-height: 38px;
  }
  .live-info-bottom {
    padding: 0 10px;
  }
  .live-info-desc {
    float: right;
    width: 100%;
  }
  /* 화면이 좁을 때 이미지 숨김 */
  .live-info-thumb {
    display: none;
  }
  .live-info-desc-price {
    font-size: 13px;
    white-space: nowrap;
    margin-top: 5px;
  }
}
