.res {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  width: 100%;
  min-height: 73rem;
  padding: 40px 0 95px 0;
  background: linear-gradient(180deg, #8D8D9F 0%, #484955 100%);
}
.res-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: var(--maxWidth);
  min-width: 1180px;
  height: auto;
}
.res-desc {
  position: relative;
  width: 100%;
  height: auto;
  color: #fff;
  font-size: 18px;
  text-align: center;
  line-height: 32px;
}
.res-desc p {
  margin: 0;
}
.res-tab-list {
  display: flex;
  justify-content: center;
}
.res-tab {
  min-width: 86px;
  height: 41px;
  line-height: 41px;
  font-size: 14px;
  color: #fff;
  border-radius: 10px 0px 10px 0px;
  text-align: center;
  border: 1px solid #FFFFFF;
  margin: 30px 10px 40px 10px;
  cursor: pointer;
  padding:0 20px;
}
.res-tab-on {
  background: #D41B19;
  border: 1px solid #D41B19;
}

.res-img-content {
  position: relative;
  width: 100%;
  height: 28.125rem;
  display: none;
}
.active {
  display: block;
}
.res-img-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.9);
}
.res-img-content-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  width: 650px;
  text-shadow: 0px 0px 5px #000000;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
}
.res-img-content-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.res-list {
  width: 100%;
  min-width: 1180px;
  margin-top: -50px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.res-item {
  position: relative;
  width: 340px;
  height: 370px;
  background: #FFFFFF;
  box-shadow: 10px 10px 20px 1px rgba(0,0,0,0.25);
  border-radius: 20px 0px 20px 0px;
  margin: 0 calc((100% - 1020px) / 2) 50px 0;
  overflow: hidden;
  cursor: pointer;
}
.res-item:nth-of-type(3n) {
  margin: 0 0 50px 0;
}
.res-item-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px 0;
}
.res-item-info {
  width: 100%;
  height: 150px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.res-item-date {
  font-size: 16px;
  font-weight: 600;
  color: #A5A5AA;
}
.res-item-title {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.res-item-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px 0px 20px 0px;
  background-color: rgba(5, 5, 5, 0.8);
  z-index: 1;
  font-size: 1.125rem;
  color: #fff;
  cursor: pointer;
  padding: 25px 20px;
  line-height: 28px;
  opacity: 0;
}

.res-item-ani-1 {
  transform: translate3d(0px, 0px, 0px) translateZ(0px);
  animation: hover-show-ani .8s ease;
  opacity: 1;
}
@keyframes hover-show-ani {
  from {
    transform: translate3d(0px, 300px, 0px) translateZ(0px);
    opacity: 0;
  }

  to {
    border-radius: 20px 0px 20px 0px;
    transform: translate3d(0px, 0px, 0px) translateZ(0px);
    opacity: 1;
  }
}
.res-item-ani-2 {
  transform: translate3d(0px, 300px, 0px) translateZ(0px);
  animation: hover-hide-ani .8s ease;
  opacity: 0;
}
@keyframes hover-hide-ani {
  from {
    border-radius: 20px 0px 20px 0px;
    transform: translate3d(0px, 0px, 0px) translateZ(0px);
    opacity: 1;
  }

  to {
    transform: translate3d(0px, 300px, 0px) translateZ(0px);
    opacity: 0;
  }
}
.res-item-hover-title {
  width: 300px;
  min-height: 56px;
  font-weight: bold;
}
.res-item-hover-desc {
  width: 300px;
  min-height: 200px;
  display: block;
  overflow:hidden; 
  text-overflow:ellipsis;
  display:-webkit-box; 
  -webkit-box-orient:vertical;
  -webkit-line-clamp:7;
  padding-top: 1rem;
  border-top: 1px solid #777777;
  margin-top: 1rem;
  text-align: justify;
}

.move-ani {
  animation: res-ani .6s normal both;
}

@keyframes res-ani {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.loading {
  position: relative;
  width: 100%;
  height: 12.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.circle-loading {
  position: relative;
  width: 100px;
  height: 100px;
  border: 2px solid #fff;
  border-top-color: rgba(255, 255, 255, 0.2);
  border-right-color: rgba(255, 255, 255, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  border-radius: 100%;
  animation: circle infinite 1s linear;
}

@keyframes circle {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.res-empty {
  position: relative;
  width: 100%;
  height: auto;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 32px;
  margin-top: 10rem;
  opacity: 0;
}
.res-empty-ani {
  animation: empty-ani .5s ease .5s  normal both;
}
@keyframes empty-ani {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (min-width: 0px) and (max-width: 768px) {
  .res {
    padding: 30px 0 80px 0;
  }
  .res-container {
    padding: 0 20px;
    min-width: 100%;
  }
  .res-desc {
    font-size: 15px;
  }
  .res-tab {
    width: 100px;
    height: 40px;
    margin: 30px 7px;
  }
  .res-img-content {
    height: 24.375rem;
  }
  .res-img-content-text {
    width: 100%;
    padding: 0 20px;
    font-size: 16px;
  }
  .res-img-content-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .res-list {
    min-width: 100%;
    flex-direction: column;
  }
  .res-item {
    width: 350px;
    margin: 0 0 50px 0;
  }
  .res-item-date {
    font-size: 14px;
  }
  .res-item-title {
    font-size: 16px;
  }
}
@media screen and (min-width: 769px) and (max-width: 959px) {
  
}

@media screen and (min-width: 960px) and (max-width: 1399px) {

}

@media screen and (min-width: 1400px) and (max-width: 1900px) {

}

@media screen and (min-width: 1901px) and (max-width: 5000px) {

}
