.ysas-home-block-1 {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* transform: translateZ(0); */
}

.ysas-home-block-1::after {
  content: "";
  background-color: #fff;
  position: absolute;
  inset: 0;
  opacity: 1;
  animation: ysas-block1-show 1s forwards;
}

@keyframes ysas-block1-show {
  to {
    opacity: 0;
  }
}

.ysas-home-block-2,
.ysas-home-block-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.ysas-partner-block {
  --row: 1;
  --col: 4;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 2rem;
}

.ysas-partner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.ysas-partner-content img {
  width: min(var(--img-w-by-vh), var(--img-w-by-vw));
  aspect-ratio: 3 / 4;
  /* 18:24 比例 */
  height: auto;
  object-fit: cover;
  display: block;
}

.ysas-partner-content a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.ysas-partner-content a span {
  padding-bottom: 0.25rem;
}

.ysas-home-block-4 {
  display: grid;
  grid-template-columns: 40% 1fr;
  /* 左图右文 */
  gap: 16rem;
  padding: 4rem 6rem;
  min-height: 100vh;
}

.ysas-note-left {
  height: 100%;
  max-height: 100vh;
  overflow: hidden;
}

.ysas-note-swiper {
  height: 100%;
}

.ysas-note-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ysas-note-right .ysas-note-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.ysas-note-right .ysas-note-tip {
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

.ysas-note-right .ysas-note-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.ysas-note-right .ysas-note-content p {
    font-size: 1.125rem;
  line-height: 1.8;
}

@media (max-width: 1400px) {
  .ysas-home-block-4 {
    display: grid;
    grid-template-columns: 100%;
    gap: 2rem;
    padding: 4rem 6rem;
  }

  .ysas-note-left {
    width: 40%;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .ysas-note-left {
    width: 100%;
    overflow: hidden;
  }
}