.rayou-cases.parta {
  padding: 76px 0 72px;
  background: #fff;
}

.rayou-cases > .container {
  width: 100%;
  max-width: 1200px !important;
  padding: 0 15px;
}

.rayou-cases .witr_section_title {
  margin: 0 0 64px;
}

.rayou-cases .witr_section_title_inner h3 {
  margin: 0;
  color: #3e3a39;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.rayou-cases #tplist {
  display: block;
  width: 100%;
  overflow: visible;
}

.rayou-cases #tplist ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rayou-cases #tplist li {
  display: block;
  width: auto;
  min-width: 0;
  margin: 0;
  border-bottom: 2px solid #dedede;
  text-align: center;
}

.rayou-cases #tplist li a {
  display: block;
  height: 100%;
  color: #3e3a39;
}

.rayou-cases #tplist li dd {
  position: relative;
  display: block;
  float: none;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f4f4;
}

.rayou-cases #tplist li dd span {
  display: none;
}

.rayou-cases #tplist li dd img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .3s ease;
}

.rayou-cases #tplist li:hover img {
  transform: scale(1.025);
}

.rayou-cases #tplist li p {
  display: flex;
  float: none;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 132px;
  margin: 0;
  padding: 20px 25px;
  overflow: visible;
  background: #fff;
  color: #3e3a39;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
  text-overflow: clip;
}

.rayou-cases #tplist li:hover p {
  background: #fff;
  color: #efa400;
}

.rayou-cases #more {
  margin: 42px 0 0;
}

.rayou-cases #more a {
  border: 1px solid #e6e6e6;
  background: #fff;
  color: #3e3a39;
}

.rayou-cases #more a:hover {
  border-color: #efa400;
  background: #efa400;
  color: #fff;
}

@media (min-width: 1500px) {
  .rayou-cases > .container {
    max-width: 1440px !important;
  }
}

@media (max-width: 991px) {
  .rayou-cases.parta {
    padding: 58px 0;
  }

  .rayou-cases .witr_section_title {
    margin-bottom: 38px;
  }

  .rayou-cases .witr_section_title_inner h3 {
    font-size: 34px;
  }

  .rayou-cases #tplist ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .rayou-cases #tplist li p {
    min-height: 102px;
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .rayou-cases.parta {
    padding: 48px 0;
  }

  .rayou-cases > .container {
    width: calc(100% - 32px);
    padding: 0;
  }

  .rayou-cases .witr_section_title {
    margin-bottom: 28px;
  }

  .rayou-cases .witr_section_title_inner h3 {
    font-size: 29px;
  }

  .rayou-cases #tplist ul {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rayou-cases #tplist li p {
    min-height: 88px;
    padding: 18px;
    font-size: 20px;
  }

  .rayou-cases #more {
    margin-top: 28px;
  }
}
