.mistri-public-testimonial-block .testimonial {
  overflow: hidden;
  position: relative;
  background-color: var(--bg-color);
  padding: 80px 0px;
}
@media (max-width: 1199px) {
  .mistri-public-testimonial-block .testimonial .image {
    width: 100%;
  }
  .mistri-public-testimonial-block .testimonial .image::after,
  .mistri-public-testimonial-block .testimonial .image::before {
    display: none;
  }
  .mistri-public-testimonial-block .testimonial .image span {
    display: none;
  }
}

@media (max-width: 967px) {

.mistri-public-testimonial-block .testimonial {
  overflow: hidden;
  position: relative;
  background-color: var(--bg-color);
  padding: 40px 0px;
}

}


@media (max-width: 767px) {
 
  .mistri-public-testimonial-block .testimonial .text {
    margin-bottom: 20px !important;
  }
  .mistri-public-testimonial-block .testimonial .section-header {
    margin-bottom: 15px !important;
  }
  .mistri-public-testimonial-block .testimonial .section-header h2 {
    font-size: 30px;
  }
}
@media (max-width: 767px) and (max-width: 767px) {
  .mistri-public-testimonial-block .testimonial .section-header h2 {
    font-size: 24px;
  }
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp {
  padding: 60px 30px;
  border: 1px solid #d9d9d9;
}
@media (max-width: 767px) {
  .mistri-public-testimonial-block .testimonial .testimonial-wrp {
    padding: 30px 15px;
  }
  .mistri-public-testimonial-block .testimonial .testimonial-wrp .mb-5 {
    margin-bottom: 20px;
  }
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .section-header {
  margin-bottom: 65px;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .section-header h5 {
  color: var(--color-primary);
  padding-bottom: 20px;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .section-header h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp {
  position: relative;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item {
  max-width: 560px;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item h3 {
  padding-bottom: 20px;
}
@media (max-width: 767px) {
  .mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item h3 {
    padding-bottom: 10px;
  }
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item h3 span {
  color: var(--color-primary);
  padding-left: 20px;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item p {
  font-size: 16px;
  line-height: 32px;
  display: -webkit-box;
  word-break: break-word;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item .author {
  margin-top: 35px;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item .author h4 {
  font-weight: 600;
  font-size: 18px;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item .author span {
  color: var(--color-primary);
  font-weight: 500;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .arry-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .arry-btn .arry-prev {
  background-color: var(--bg-color);
  text-align: center;
  font-size: 18px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  color: #d9d9d9;
  transition: all 0.3s ease-in-out;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .arry-btn .arry-prev:hover {
  background-color: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .arry-btn .arry-next {
  text-align: center;
  font-size: 18px;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  color: #fff;
  border: 1px solid var(--color-primary);
  background-color: var(--color-primary);
  margin-left: 16px;
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .arry-btn button {
  position: relative;
  text-align: center;
  width: 70px;
  height: 70px;
  line-height: 70px;
  font-size: 24px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  color: #d9d9d9;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 767px) {
  .mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .arry-btn button {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .arry-btn button:hover {
  background-color: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .arry-btn button .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  color: #d9d9d9;
  width: 15px;
  height: 15px;
  border-top: 2px solid #d9d9d9;
  border-right: 2px solid #d9d9d9;
  transform: translate(-30%, -50%) rotate(-135deg);
}
.mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .arry-btn button .left {
  transform: translate(-70%, -50%) rotate(45deg);
}
.mistri-public-testimonial-block .testimonial .image {
  max-width: 420px;
  float: right;
  position: relative;
}
@media screen and (max-width: 991px) {
  .mistri-public-testimonial-block .testimonial .image {
    margin: 0 auto;
    float: none;
  }
  .mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item p {
  font-size: 14px;
 
}
}
@media screen and (max-width: 1280px) {
  .mistri-public-testimonial-block .testimonial .image {
    width: 100%;
  }
  .mistri-public-testimonial-block .testimonial .testimonial-wrp .section-header h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
}
.mistri-public-testimonial-block .testimonial .image::before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: -80px;
  width: 1px;
  height: 100%;
  background-color: #d9d9d9;
}
.mistri-public-testimonial-block .testimonial .image::after {
  position: absolute;
  content: "";
  top: 50%;
  left: -80px;
  width: 43px;
  height: 52px;
  background-color: var(--bg-color);
  border-bottom: 1px solid #d9d9d9;
}
.mistri-public-testimonial-block .testimonial .image .swiper-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
@media (max-width: 991px) {
  .mistri-public-testimonial-block .testimonial .image .swiper-img {
    height: 210px;
    width: 210px;
    margin: 0 auto;
  }
}
.mistri-public-testimonial-block .testimonial .image .swiper-img img {
  width: 100%;
  border-radius: 100%;
}
.mistri-public-testimonial-block .testimonial .image span {
  position: absolute;
  width: 1px;
  height: 68px;
  background-color: #d9d9d9;
  top: 48%;
  left: -58px;
  z-index: 1;
  transform: rotate(-40deg);
}
.mistri-public-testimonial-block .testimonial .image .icon {
  position: absolute;
  top: 30px;
  left: -35px;
}
@media (max-width: 767px) {
  .mistri-public-testimonial-block .testimonial .image .icon {
    left: -3px;
  }
   .mistri-public-testimonial-block .testimonial .testimonial-wrp .arry-wrp .item p {
  font-size: 13px;
 
}
}
.mistri-public-testimonial-block .testimonial .image i.icon {
  font-size: 38px;
  line-height: 1;
  color: var(--color-primary);
}

@media (max-width: 767px) {
  .mistri-public-testimonial-block .testimonial .testimonial-wrp .section-header h2 {
    font-size: 24px;
    line-height: 1.4;
  }
}


