/* blocks/video-testimonials/video-testimonials.scss */
@font-face {
  font-family: "BROmega";
  font-style: normal;
  font-weight: 400;
  src:
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Regular.woff2) format("woff2"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Regular.woff) format("woff"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Regular.ttf) format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "BROmega";
  font-style: normal;
  font-weight: 600;
  src:
    url(/wp-content/themes/sophie/assets/fonts/BROmega-SemiBold.woff2) format("woff2"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-SemiBold.woff) format("woff"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-SemiBold.ttf) format("truetype");
  font-display: optional;
}
@font-face {
  font-family: "BROmega";
  font-style: normal;
  font-weight: 700;
  src:
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Bold.woff2) format("woff2"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Bold.woff) format("woff"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Bold.ttf) format("truetype");
  font-display: swap;
}
:root {
  --font-primary:
    BROmega,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-size-base: 1rem;
  --line-height-normal: 1.6;
}
.video-testimonials {
  margin: 40px 0;
}
@media screen and (min-width: 992px) {
  .video-testimonials {
    margin: 60px 0;
  }
}
.video-testimonials__title {
  text-align: center;
  line-height: 1.2;
  color: #212121;
  max-width: 35.625rem;
  margin: 0 auto 1.875rem;
}
.video-testimonials__title {
  font-size: 26px;
}
@media screen and (min-width: 450px) {
  .video-testimonials__title {
    font-size: calc(26px + 10 * (100vw - 450px) / 1130);
  }
}
@media screen and (min-width: 1580px) {
  .video-testimonials__title {
    font-size: 36px;
  }
}
@media screen and (min-width: 992px) {
  .video-testimonials__title {
    line-height: 1.25;
    margin-bottom: 2.5rem;
  }
}
.video-testimonials__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media screen and (min-width: 576px) {
  .video-testimonials__items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 992px) {
  .video-testimonials__items {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
.video-testimonials__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #F3F3F1;
  border-radius: 20px;
  overflow: hidden;
  padding: 1.875rem 1.125rem;
}
@media screen and (min-width: 992px) {
  .video-testimonials__item {
    padding: 1.875rem 0.625rem;
  }
}
.video-testimonials__item-title {
  margin-top: 0;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  color: #212121;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 1.5rem;
  text-transform: capitalize;
}
@media screen and (min-width: 992px) {
  .video-testimonials__item-title {
    line-height: 1.2;
    margin-bottom: 1.625rem;
  }
}
.video-testimonials__item-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
@media screen and (min-width: 992px) {
  .video-testimonials__item-content {
    padding: 0 0.625rem;
  }
}
.video-testimonials__item-video {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 1.25rem;
  aspect-ratio: 1/1;
}
.video-testimonials__item-video--youtube {
  aspect-ratio: 16/9;
}
@media screen and (min-width: 992px) {
  .video-testimonials__item-video {
    margin-bottom: 1.875rem;
    border-radius: 14px;
  }
}
.video-testimonials__item-video[data-video-loaded=true] .video-testimonials__skeleton {
  display: none;
}
.video-testimonials__item-video[data-video-loaded=true] iframe {
  opacity: 1;
}
.video-testimonials__item-video .vidalyticsBtn {
  width: 100% !important;
  position: relative !important;
  border-radius: 10px;
  overflow: hidden;
}
.video-testimonials__item-video .vidalyticsBtn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background-image: url(../../../assets/img/icons/play.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
}
.video-testimonials__item-video .vidalyticsBtn:hover::before {
  -webkit-transform: translate(-50%, -50%) scale(1.1);
  transform: translate(-50%, -50%) scale(1.1);
  background-image: url(../../../assets/img/icons/play-hover.svg);
}
.video-testimonials__item-video .vidalyticsBtn.video-is-playing::before {
  opacity: 0;
  visibility: hidden;
}
.video-testimonials__item-video--youtube::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}
@media screen and (min-width: 992px) {
  .video-testimonials__item-video--youtube::before {
    padding-bottom: 56%;
  }
}
.video-testimonials__item-video--youtube.video-is-playing::before {
  display: none;
}
.video-testimonials__item-video:not(:has(.vidalyticsBtn)):not(.video-testimonials__item-video--youtube)::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}
@media screen and (min-width: 992px) {
  .video-testimonials__item-video:not(:has(.vidalyticsBtn)):not(.video-testimonials__item-video--youtube)::before {
    padding-bottom: 56%;
  }
}
.video-testimonials__item-video iframe,
.video-testimonials__item-video embed,
.video-testimonials__item-video object,
.video-testimonials__item-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  overflow: hidden;
}
.video-testimonials__skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, color-stop(25%, #f0f0f0), color-stop(50%, #e0e0e0), color-stop(75%, #f0f0f0));
  background:
    linear-gradient(
      90deg,
      #f0f0f0 25%,
      #e0e0e0 50%,
      #f0f0f0 75%);
  background-size: 200% 100%;
  -webkit-animation: skeleton-loading 1.5s ease-in-out infinite;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 2;
}
.video-testimonials__skeleton-play {
  width: 54px;
  height: 54px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  position: relative;
}
.video-testimonials__skeleton-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-40%, -50%);
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
@-webkit-keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.video-testimonials__item-description {
  font-size: 1rem;
  line-height: 1.46;
  color: #212121;
  margin: 0 0 1rem;
}
@media screen and (min-width: 992px) {
  .video-testimonials__item-description {
    line-height: 1.6;
  }
}
.video-testimonials__item-name {
  font-weight: 400;
  color: #666666;
  font-size: 1rem;
  margin: 0;
}
.video-testimonials__item-tags {
  margin-top: 1.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.325rem;
}
@media screen and (min-width: 992px) {
  .video-testimonials__item-tags {
    gap: 0.375rem;
  }
}
.video-testimonials__item-tag {
  border: 1px solid #666;
  border-radius: 20px;
  padding: 0.625rem 0.875rem;
  font-size: 0.75rem;
  color: #666;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -2%;
}
@media screen and (min-width: 992px) {
  .video-testimonials__item-tag {
    font-size: 0.875rem;
    letter-spacing: 0;
  }
}
.video-testimonials__button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
.video-testimonials .btn-show-more {
  min-width: 237px;
}
@media screen and (min-width: 992px) {
  .video-testimonials .btn-show-more {
    min-width: 317px;
  }
}
