.categories > span {
    width: 1px;
    height: 1em;
    background: var(--textColor);
    display: inline-block;
}

h1 {
  color: var(--mainColor);
  font-weight: 600;
  text-align: center;
}

.articles {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}


.articles article {
  max-width: 400px;
  margin: unset;
  margin-bottom: 2em;
  position: relative;
}

.articles article .imgs {
  width: 400px;
  height: 244px;
  position: absolute;
}

.articles article img, .articles article .info, .scheduleImg > img, .scheduleSubImg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.articles article .info {
  width: 400px;
  height: 244px;
  position: relative;
  background: #1f1f1fbf;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.articles article .info:hover {
  background: #e4e4e4ba;
}

.articles article .info:hover p {
  color: var(--mainColor);
}

.articles article .info:hover .infoHr {
  border: solid 1px var(--mainColor);
}

.info p {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #FFF;
  margin: 0;
}

.infoHr {
  width: 80%;
  background: #FFF;
  height: 2px;
  margin: 1.6em  0 0.7em 0;
}

.info p.date {
  font-size: 1rem;
  font-weight: 400;
}

.scheduleRead {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 640px;/* 保持上下部份一致寬度 */
  max-width: 640px;
  margin: 0 auto;
}

.scheduleImg {
  width: 640px;
  height: 390px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.scheduleSubImg {
  width: 120px;
  height: 120px;
  position: relative;
  overflow: hidden;
}

.scheduleRead h3 {
  font-size: 1.5rem;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--mainColor);
  margin: 0;
  margin-top: 0.5em;
}

.scheduleHr {
  width: 60%;
  height: 1px;
  border: solid 1px var(--mainColor);
  margin: 0.5em 0;
}

.scheduleRead .date {
  color: var(--mainColor);
  margin-left: 1em;
}

.scheduleSubImgs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 10px; /* 間距 */
}

.scheduleSubImg img, .scheduleImg img {
  transition: transform 2s, opacity 1.5s ease-in-out;
  transform-origin: center center;
}

.scheduleSubImg:hover img {
  opacity: 0.7;
  transform: scale(1.2);
}

.scheduleImg:hover img {
  opacity: 0.7;
  transform: scale(1.1);
}

.buildCaseName select {
  border: solid 1px var(--mainColor);
  border-radius: 0;
  background: #FFF;
  color: var(--mainColor);
  outline: none;
  padding: 0.2em 0.5em;
  line-height: 1.2rem;
  height: 2em;
}

@media screen and (max-width: 1300px) {
  .articles article .info, .articles article .imgs {
    width: 360px;
    height: 219.6px;
  }
  .articles article {
    width: 360px;
  }
}

@media screen and (max-width: 1200px) {
  .buildingBanners > div h1 {
    font-size: 1.8rem;
  }
  .buildingBanners > div {
    margin: 1em;
  }
  .articles article .caseImg  {
    width: 392px;
    height: 206.5px;
  }
  .buildingInfo > .right, .lectureInfo > .right {
    width: 392px;
  }
  .articles article .info, .articles article .imgs {
    width: 320px;
    height: 195.2px;
  }
  .articles article {
    width: 320px;
  }
}

@media screen and (max-width: 850px) {
  .buildingBanners > div h1 {
    font-size: 1.5rem;
  }
  .buildingBanners > div {
    margin: 0.8rem;
  }
  .buildingBanners > div h2 {
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }
  .articles article .caseImg  {
    width: 313.6px;
    height: 162.5px;
  }
  .buildingInfo > .right, .lectureInfo > .right {
    width: 313.6px;
  }
}

@media screen and (max-width: 1000px) {
  .articles article .info, .articles article .imgs {
    width: 280px;
    height: 171px;
  }
  .articles article {
    width: 280px;
  }
}


@media screen and (max-width: 900px) {
  .articles article .info, .articles article .imgs {
    width: 252px;
    height: 153.72px;
  }
  .articles article {
    width: 252px;
  }
}

@media screen and (max-width: 900px) {
  .scheduleImg {
    width: 512px;
    height: 312px;
  }
  .scheduleRead {
    width: 512px;
  }
  .scheduleSubImg {
    width: 96px;
    height: 96px;
  }
  .scheduleSubImgs {
    grid-gap: 8px;
  }
}

@media screen and (max-width: 800px) {
  .scheduleImg {
    width: 384px;
    height: 234px;
  }
  .scheduleRead {
    width: 384px;
  }
  .scheduleSubImg {
    width: 72px;
    height: 72px;
  }
  .scheduleSubImgs {
    grid-gap: 6px;
  }
}

@media screen and (max-width: 750px) {
  .scheduleSubImgs {
    grid-template-columns: repeat(4, 1fr);
  }
  .scheduleSubImg {
    width: 90px;
    height: 90px;
  }
  .scheduleSubImgs {
    grid-gap: 6px;
  }
  .buildingBanners img {
    content: url('../../main/img/bn/bn04-2.jpg');
  }
}

@media screen and (max-width: 570px) {
  .articles {
    justify-content: center;
  }
  .articles article {
    width: unset;
  }
}

@media screen and (max-width: 450px) {
  .scheduleImg {
    width: 320px;
    height: 195px;
  }
  .scheduleRead {
    width: 320px;
  }
  .scheduleSubImg {
    width: 74px;
    height: 74px;
  }
  .scheduleSubImgs {
    grid-gap: 6px;
  }
}

@media screen and (max-width: 375px) {
  .articles article .info, .articles article .imgs {
    width: 320px;
    height: 192.5px;
  }
  
  .scheduleImg {
    width: 320px;
    height: 195px;
  }
}

@media screen and (max-width: 360px) {
  .scheduleImg {
    width: 256px;
    height: 156px;
  }
  .scheduleRead {
    width: 256px;
  }
  .scheduleSubImg {
    width: 58px;
    height: 58px;
  }
  .scheduleSubImgs {
    grid-gap: 6px;
  }
}

@media screen and (max-width: 320px) {
  .articles article .info, .articles article .imgs {
    width: 280px;
    height: 170.8px;
  }
}


