.second-page {
  background: linear-gradient(0.39deg, #ffffff 0.25%, #f5f5f5 99.62%);
  background-image: url('../img/second-page-bg.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}
.second-header {
  width: 100%;
  height: calc(18vh - 4em);
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 2rem;
  padding: 2em 6em;
  position: relative;
}
.second-header .item {
  position: absolute;
  transform: translateX(28rem);
  display: flex;
  align-items: flex-end;
  opacity: 0.3;
  left: 0;
  padding: 0.5rem 1rem;
  width: 20rem;
  transition: all 0.3s ease-in-out, opacity 0.3s ease-in-out;
  cursor: pointer;
}
.second-header .item.active {
  opacity: 1;
  transform: translateX(0);
  left: 0;
  position: relative;
}
.second-header .item::after {
  content: '';
  position: absolute;
  bottom: -0.1rem;
  left: 0;
  width: 0;
  height: 0.1rem;
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
  transition: width 0.3s ease-in-out 0.3s;
}

.second-header .item.active::after {
  width: 100%;
}

.second-header .item h1 {
  font-size: 2em;
  font-weight: bold;
  color: #2c2c34;
}
.second-header .item span {
  font-size: 1.2em;
  color: #848484;
}
/* .second-header img {
    height: 80%;
} */
.second-content {
  height: calc(82vh - 4rem);
  position: relative;
  max-height:50rem;
  padding: 2rem 6rem;
}
.second-content .more {
  position: absolute;
  top: 0;
  left: 6em;
  width: 5.5em;
  height: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}
.second-content .more span {
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1em;
}
.second-content .more img {
  width: auto;
  height: 100%;
  object-fit: cover;
}
.second-content .second-content-time {
  height: 3.5rem;
}
.second-content .second-content-list {
  /* height: calc(100% - 5em); */
  height: calc(100% - 2em);
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3em;
}

/* 修改起始 */
.second-content .second-content-list .image {
  /* width: calc(50% - 3.05em); */
  width: 50%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeIn 1s ease-in-out;
  cursor: pointer;
}
.second-content .second-content-list .image .topHeadlineInfoContent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: bold;
  color: #fff;
  padding: 0.5rem 0.5rem;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );

  box-sizing: content-box;
  /* animation: 0.5s ease-in-out; */
  transition: all 0.3s ease-in-out;
}
.topHeadlineInfoContent span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.second-content .second-content-list .image:hover .topHeadlineInfoContent {
  padding-bottom: 2em;
  height: auto;
}
.second-content .second-content-list .image:hover .topHeadlineInfoContent span {
  display: inline;
}
.second-content .second-content-list .image .overlay {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  height: 1rem;
  width: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.second-content .second-content-list .image .overlay img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: cover;
}
.second-content .second-content-list .image:hover .overlay {
  opacity: 1;
}
/* 修改结束 */
.second-content .second-content-list ul {
  width: 0.1em;
  height: 100%;
  background-color: #bdbdbd;
}
.second-content .second-content-list .image img {
  width: 100%;
  height: auto;
  object-fit: fill;
  border-radius: 0.5em;
  aspect-ratio: 16 / 9;
}
.second-content .second-content-list .second-content-list-info {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 0.5rem;
}
.second-content .second-content-list .second-content-list-info .info-item {
  width: 100%;
  flex: 1;
  display: flex;

  align-items: center;
  background-color: #fff;
  box-shadow: 0 0.1em 0.5em rgba(0, 0, 0, 0.1);
  padding: 0.5em 1em;
  position: relative;
  max-height: 6rem;
}
.second-content
  .second-content-list
  .second-content-list-info
  .info-item
  .img-hidden {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  width: 2em;
  height: 2em;
  object-fit: cover;
  z-index: -999;
}

.second-content .second-content-list .second-content-list-info .info-item-box {
  flex: 1;
  height: 100%;
  max-height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

.second-content
  .second-content-list
  .second-content-list-info
  .info-item.active
  ::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.1em;
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
  animation: slideLeftToRight 0.3s ease-out forwards;
}
.second-content
  .second-content-list
  .second-content-list-info
  .info-item.active
  .info-item-box {
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes slideLeftToRight {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

.second-content
  .second-content-list
  .second-content-list-info
  .info-item
  .info-item-time {
  width: 6em;
}
.second-content
  .second-content-list
  .second-content-list-info
  .info-item
  .info-item-time
  .day {
  font-size: 1.2em;
  font-weight: bold;
  color: #000;
}
.second-content
  .second-content-list
  .second-content-list-info
  .info-item
  .info-item-content {
  flex: 1;
  font-size: 1em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.second-content
  .second-content-list
  .second-content-list-info
  .info-item
  .info-item-content
  a {
  color: #000;
  text-decoration: none;
}

@media (max-width: 768px) {
  .second-header .item.active {
    transform: translate(1rem, 0);
  }
  .second-header .item {
    left: 0;
    transform: translate(1rem, 100%);
  }
  .second-header {
    padding: 1rem;
    align-items: flex-start;
    height: 10rem;
  }
  .second-content {
    padding: 1rem;
    max-height:none;
    height: auto;
  }
  .second-content .more {
    left: 1rem;
  }
  .second-content .second-content-list {
    flex-direction: column;
  }
  .second-content .second-content-list ul {
    display: none;
  }
  .second-content .second-content-list .image {
    width: 100%;
  }
}