.testi-wrapper {
  margin-top: 50px;
  margin-bottom: 200px;
}

.record-list-wrap h3 {
  font-family: "Futura Md BT", serif;
}

.record-list-wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 0;
}

.testi-item {
  text-align: center;
  padding: 16px;
}

.testi-item h3 {
  text-align: center;
  font-weight: bold;
  color: black;
}

.testi-date-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.image-testi {
  width: 250px;
  height: 250px;
  background: white;
  object-fit: cover;
  border-left: 10px solid black;
  border-right: 10px solid #C7392F;
  border-radius: 50%;
}

.testi-description {
  text-align: left;
  color: black;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.testi-main {
  margin-bottom: 50px;
  text-align: justify;
}

.read-more-testi {
  width: max-content;
  color: black;
  padding: 1rem;
  border: 1px solid black;
  border-radius: 1rem;
}

.read-more-testi:hover {
  background-color: #c8392f;
  color: #fff;
}

.testi-sitemap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.testi-sitemap a {
  color: black;
  font-size: 20px;
  font-family: "Futura Md BT", serif;
}

.testi-sitemap a:hover {
  color: #C7392F;
}

.testi-sitemap a:nth-child(7) {
  border-bottom: 1.5px black solid;
}

.testi-info {
  display: flex;
  margin-top: 25px;
  background: #C7392F;
  margin-bottom: 25px;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.testi-student-info {
  text-align: center;
  margin: 0 auto;
}

.testi-name-title {
  color: white;
  font-weight: bold;
  font-size: 28px;
}

.testi-student-info h3 {
  background: white;
  color: black;
  font-weight: bold;
  padding: 2rem 4rem;
  border-radius: 50px;
}

.testi-date-list {
  color: black;
}

.testi-date {
  color: white;
}

.back-link {
  margin-bottom: 50px;
  text-align: center;
}

.back-link a {
  color: white;
  background: black;
  padding: 1rem;
  border-radius: 1rem;
}

.back-link a:hover {
  color: white;
}

@media only screen and (min-width: 600px) {
  .record-list-wrap {
      flex-direction: row;
    }
  .record-list-wrap li {
    flex-basis: 50%;
  }
}

@media only screen and (min-width: 768px) {

  .record-list-wrap li {
    flex-basis: 33.333333%;
  }

  .testi-info {
    border-top-left-radius: 130px;
    border-bottom-left-radius: 130px;
    flex-direction: row;
    padding: 20px;
  }
  .testi-main {
    font-size: 22px;
  }
}
