/* ==============================
	Testimonials Page
================================= */

.envira-global-part-section.sp-el-section,
.envira-global-part-column.sp-el-col {
  padding: 0px !important;
}

@media (max-width: 640px) {
  .envira-global-part-row.sp-el-row {
    padding: 0px !important;
  }
}

.org-reviews .container {
  padding-inline: 7px;
}

blockquote.review {
  align-content: flex-start;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 20px;
  position: relative;
  width: 100%;
  border-left: 0px;
}

blockquote.review:before {
  content: none;
}

blockquote.review p {
  font-weight: 400;
  margin-bottom: 0;
  padding: 0;
}

blockquote.review p strong {
  font-weight: 600;
}

blockquote.review .rating {
  background-image: url("/wp-content/themes/imagely-edd/images/five-star-rating.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 153px;
  height: 21px;
}

blockquote.review .entry-header {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-bottom: -5px;
}

blockquote.review .reviewer-name {
  color: #111827;
  font-weight: 600;
  word-break: break-word;
}

blockquote.review .review-badge {
  background-image: url("/wp-content/themes/imagely-edd/images/verified-customer-2.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 153px;
  height: 28px;
}

blockquote.review .video-pop {
  aspect-ratio: 1.78/1;
  align-items: center;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

blockquote.review .video-pop .play-button {
  box-shadow: 0 0 7.87px 0 #00000040;
  height: 70px;
  width: 70px;
  transition: all 0.1s ease-in-out;
}

blockquote.review .video-pop .play-button:before {
  border-width: 7px 7px 12px;
}

blockquote.review .video-pop img {
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: 50%;
  position: absolute;
  top: 0;
  width: 100%;
}

.highlight-feature-review {
  display: grid;
  gap: 24px;
}

@media (min-width: 981px) {
  .highlight-feature-review {
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) and (min-width: 769px) {
  .highlight-feature-review {
    grid-template-columns: repeat(2, 1fr);
  }
}

.highlight-feature-review .review {
  margin: 0;
}

@media (min-width: 981px) {
  .highlight-feature-review .review:nth-child(5n + 2) {
    grid-column: 2/4;
  }
}

@media (max-width: 980px) and (min-width: 769px) {
  .highlight-feature-review .review:last-child {
    grid-column: 1/3;
  }
}

.page-testimonials .grid-item {
  padding: 12px;
}

@media (min-width: 981px) {
  .page-testimonials .grid-item {
    width: 33.333%;
    padding: 15px;
  }

  .page-testimonials .grid-item--width2 {
    width: 66.666%;
  }
}

@media (max-width: 980px) and (min-width: 769px) {
  .page-testimonials .grid-item {
    width: 50%;
  }

  .page-testimonials .grid-item--width2 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-testimonials .grid-item {
    width: 100%;
  }
}

.page-testimonials article {
  margin-top: 18px;
  border: 0;
}

@media (min-width: 981px) {
  .page-testimonials article {
    margin-top: 35px;
  }
}

.page-testimonials .pagin {
  margin: 50px auto 30px;
  max-width: 800px;
  text-align: center;
}

.page-testimonials .load-more {
  text-align: center;
  margin-top: 30px;
}

.page-testimonials .load-more a {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.25px;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-style: dashed;
}

.page-testimonials .load-more .no-more-posts {
  font-weight: 400;
}

.page-testimonials .lds-ring {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  margin: 0 auto 25px;
}

.page-testimonials .lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  margin: 3px;
  border: 3px solid #2563EB;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #2563EB transparent transparent transparent;
}

.page-testimonials .lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.page-testimonials .lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.page-testimonials .lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
