/* Reviews Carousel Embla */
/* Embla Carousel */
.embla { position: relative;}
.embla__container { display: flex; gap: 33px; }
.embla__slide { position: relative; flex: 0 0 481px; min-width: 0; height: 487px; border-radius: 10px; font-size: 16px; font-weight: 200; max-width: 100%; }
.embla__slide:not(.active) { pointer-events: none; }
.embla__slide h3 { font-size: 22px; font-weight: 500; letter-spacing: 1.1px; font-family: var(--secondary-font); margin: 0 0 7px; }

.embla .embla-btn { display: flex; gap: 20px; position: absolute; top: 15px; left: 550px; }
.embla .embla-btn button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--accent); border: 1px solid var(--accent); border-radius: 50%; color: #000; font-size: 18px; transition: .3s; background: #fff; opacity: 0.3;}
.embla .embla-btn button:hover { background: #fff; transition: .3s; opacity: 1;}

@media (max-width: 992px){
  .embla .embla-btn { left: 550px; }
}
@media (max-width: 768px){
  .embla .embla-btn { top: 90px; left: 50%; transform: translateX(-50%); }
}

/* Embla Loop */
.embla-loop .embla__container { gap: 0;  }
.embla-loop .embla__slide { padding: 0 80px; height: auto; flex: 0 0 960px; opacity: .2; transition: opacity .3s; }
.embla-loop .embla__slide.active { opacity: 1; transition: opacity .3s; }
.embla-loop .embla__slide.active .embla-loop__description { opacity: 1; transition: .3s; }
.embla-loop .embla-btn { top: auto; bottom: 0; left: 50%; transform: translateX(-50%); width: 172px; gap: 10px; justify-content: center; }
.embla-loop .embla__counter, .embla-loop .embla__next-up { font-size: 22px; font-weight: 400; letter-spacing: .44px; text-transform: uppercase; color: #000; font-family: var(--secondary-font); display: flex; align-items: center; justify-content: center; }

.embla-loop__description { opacity: 0; transition: .3s; text-align: center; margin: 62px 0 56px; font-weight: 400; }
.embla-loop__description p { margin: 0; }
.embla-loop__description h3 { color:white;font-size: 30px; text-transform: uppercase; font-weight: 400; letter-spacing: normal; position: relative; padding: 0 0 9px; margin: 0 0 22px; }
.embla-loop__description h3::after { content: ''; width: 193px; height: 2px; background: var(--primary); position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

@media (max-width: 768px){
	.embla-loop .embla__slide { padding: 0 15px; }
}


.reviews {}
.reviews-hero header h1 {color: #FFF;text-align: center;font-size: 60px;font-style: normal;font-weight: 700;}
.reviews-hero header h1 + h2 {color: #FFF;text-align: center;font-size: 24px;font-style: normal;font-weight: 600;letter-spacing: 0.48px;}
/* Reviews Carousel */
.reviews-hero .embla {padding-bottom: 45px;padding-top: 160px;}
.reviews-hero .embla .video-wrapper { border-radius: 20px; }
.reviews-hero .embla .video-wrapper::before {content: unset; background: unset;}
.reviews-hero .embla .video-wrapper::after {    width: 87.727px;height: 103.245px;filter: contrast(0.5);}
.reviews-hero .embla .video-wrapper:hover::after {filter: contrast(1);}

/* .reviews-hero .embla .embla__slide.active .video-wrapper:not(.play) {padding-bottom: 57.4%;} */
.reviews-hero .embla-loop__description {border-radius: 20px;min-height: 175px;display: flex;justify-content: center;align-items: center;gap: 43px;padding: 47px 43px 47px 66px; text-align: start;}
.reviews-hero .embla-loop .embla__slide.active {padding: 0;}
.reviews-hero .embla-loop .embla__slide.active .embla-loop__description {position: relative;background: linear-gradient(170deg, #1D1D1D 4.88%, #111 105.98%);color: #fff;background-clip: padding-box;box-sizing: border-box;}
.reviews-hero .embla-loop .embla__slide.active .embla-loop__description::before,
.reviews-hero .embla-loop .embla__slide.active .embla-loop__description::after{content: "";position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: -2;margin: -2px;margin-top: -3px;border-radius: inherit;background: var(--RV-Gradient-Dark);}
.reviews-hero .embla-loop .embla__slide.active .embla-loop__description::after {background: linear-gradient(170deg, #1D1D1D 4.88%, #111 105.98%);margin: 0;opacity: 1;z-index: -1;}
.reviews-hero .embla-loop__description p {color: #FFF;font-size: 18px;font-style: normal;font-weight: 400;line-height: 150%;letter-spacing: 0.72px;text-align: start;}
.reviews-hero .embla-loop__author-name {display: block;color: #FFF;font-size: 30px;font-style: normal;font-weight: 600;line-height: 110%;letter-spacing: 0.6px; margin-bottom: 14px;}
.reviews-hero .embla-loop__author-company {color: #00A54F;font-size: 18px;font-style: normal;font-weight: 600;line-height: 110%;letter-spacing: 0.36px;}
.reviews-hero .embla-loop .embla-btn {width: 100%;max-width: 940px;display: flex;align-items: center;column-gap: 300px;justify-content: end;}
.reviews-hero__bg-container {position: absolute;top: 0%;left: 13%;height: 100%;width: 100%;z-index: -1;}
.reviews-hero__bg-container img {height: 850px;}

@media(min-width:992px) {
  .reviews-hero .embla-loop__author-name {width: max-content;}
  .reviews-hero .embla-loop .embla__container {height: 848.75px;}
  .reviews-hero .embla__slide:not(.active) {opacity: 1; filter: brightness(0.5);}
  /* .reviews-hero .embla__slide .video-wrapper::before {content: "";position: absolute;left: 0;top: 0;background: #111111;width: 100%;height: 100%;} */
  .reviews-hero .embla .embla__slide:not(.active) .video-wrapper {padding-bottom: 41%;}
  .reviews-hero .embla .embla__slide:not(.active) {padding-top: 80px;}
}
@media(min-width:3000px) {
  .reviews-hero .embla-loop .embla__slide {flex: 0 0 1500px;}
  .reviews-hero .embla-loop .embla__container {height: 1100px;}
  .reviews-hero .embla-loop .embla-btn {max-width: 1440px;}
}
@media(max-width:991px) {
  .reviews-hero .embla-loop .embla__slide .embla-loop__description {flex-direction: column;padding: 45px 15px;margin-bottom: 0 !important;}
  .reviews-hero .embla-loop__author-author,
  .reviews-hero .embla-loop__description p {width: 100%; text-align: center;}
  .reviews-hero .embla-loop .embla-btn {padding: 0 30px;display: flex;flex-direction: column;gap: 30px;    position: static; transform: unset; max-width: 100%;padding-top: 50px;}
  .reviews-hero .embla-loop .embla-btn > a {order: 2;}
  .reviews-hero__bg-container {top: 37%;left: 50%;transform: translate(-50%, -50%);height: auto;width: 1500px;}
}

#trusted-pm-companies {padding: 300px 0;}
#trusted-pm-companies h2 {margin-bottom: 19px !important;}
#trusted-pm-companies .embla {padding: 54px 35px 90px; position: relative;}
#trusted-pm-companies .embla::before {content: "";position: absolute;left: 0;top: -1px;width: 593px;height: 102%;z-index: 1;background: linear-gradient(-270deg, #111 0%, rgba(0, 0, 0, 0.00) 95.06%);pointer-events: none;}
#trusted-pm-companies .embla::after {content: "";position: absolute;right: 0;top: -1px;width: 100%;width: 593px;height: 102%;z-index: 1;background: linear-gradient(270deg, #111 0%, rgba(0, 0, 0, 0.00) 95.06%);pointer-events: none;}
#trusted-pm-companies .embla-loop .embla__container {gap:14px; padding-left: 14px;}
#trusted-pm-companies .embla-loop .embla__slide {flex: 0 0 20%;background: #fff;display: flex;justify-content: center;align-items: center;padding: 30px;opacity: 1;border-radius: 24px;height: 203px;overflow: hidden;}
#trusted-pm-companies .embla-loop .embla__slide img {}
#trusted-pm-companies .embla-loop .embla-btn {left: 77%; z-index: 5;}

@media(max-width:1199px) {
  #trusted-pm-companies .embla-loop .embla__slide {flex: 0 0 25%; min-width: 300px;}
  #trusted-pm-companies .embla-loop .embla__slide.active {flex: 0 0 50%;}
  #trusted-pm-companies .embla::before,
  #trusted-pm-companies .embla::after {width: 20%;}
}

/* Testimonial-Reviews */
#reviews {position: relative;}
#reviews .reviews-bg-container {position: absolute;left: 0;top: 14%;z-index: -1;}
#reviews .reviews__container {padding: 0;list-style: none;display: flex;flex-wrap: wrap;gap: 35px 26px;justify-content: center;}
#reviews .reviews__container li {flex: 1 1 32%;max-width: 484px;position: relative;}
#reviews .reviews__container img {outline: 3px solid #121212;outline-offset: -2px;border-radius: 20px;}

@media(min-width: 1400px) {
  #reviews > .container {max-width: 1548px;}
}

@media(max-width: 768px) {
  .reviews__container li {flex: unset !important;max-width: 100%;}
}


/* Difference */
#difference {position: relative; padding:300px 0;}
#difference .difference__graphic {position: absolute;bottom: 23%;left: 0;width: 100%;z-index: -1;}
#difference .btn-list {display: flex; justify-content: center; margin-top: 86px;}
#difference .row {gap: 33px; justify-content: center;}
#difference .difference__box {flex: 0 0 470px;height: 353px;background: linear-gradient(170deg, #1D1D1D 4.88%, #111 105.98%);display: flex;justify-content: center;align-items: center;flex-direction: column;border-radius: 20px; padding: 0 52px;}
#difference .difference__title {width: 100%;color: #FFF;font-size: 30px;font-style: normal;font-weight: 600;line-height: 110%;letter-spacing: 0.6px; margin-bottom: 18px;}
#difference .difference__description {width:100%; color: #B1B1B1;font-size: 16px;font-style: normal;font-weight: 400;line-height: 150%;letter-spacing: 0.64px;}


#difference .difference__box:first-child {position: relative;background-clip: padding-box;}
#difference .difference__box:first-child::before,
#difference .difference__box:first-child::after{content: "";position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: -2;margin: -2px;margin-top: -2px;border-radius: inherit;background: var(--RV-Gradient-Dark);}
.reviews-hero .embla-loop .embla__slide.active .embla-loop__description::after {background: linear-gradient(170deg, #1D1D1D 4.88%, #111 105.98%);margin: 0;opacity: 1;z-index: -1;}

@media(min-width:1400px) {
  #difference > .container {max-width: 1548px;}
}

/* Case Studies */
#reviews-case-studies {margin-bottom: 150px;}
#reviews-case-studies .blog__recent-panel.all-posts .blog-post-list{
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));}
#reviews-case-studies .blog-post-list .blog-post {background: linear-gradient(170deg, #1D1D1D 4.88%, #111 105.98%);border-radius: 20px;padding: 40px 57px 69px;display: flex;flex-direction: column;min-height: 588px;}
#reviews-case-studies .blog-post .post-featured {background: #111;}
#reviews-case-studies .blog-post .post-header .post-date {color: var(--green); margin-bottom: 24px;font-size: 16px;font-style: normal;font-weight: 600;line-height: 150%;letter-spacing: 0.32px;}
#reviews-case-studies .blog-post .post-header .post-title a {font-size: 24px;font-style: normal;line-height: 110%;letter-spacing: 0.48px;}
#reviews-case-studies .blog-post .read-more {font-size: 15px;font-style: normal;line-height: 100%;letter-spacing: 0.3px;text-align: end;color: #fff;display: flex;justify-content: end;align-items: center;gap: 14px;text-transform: lowercase;font-weight: normal;}
#reviews-case-studies .blog-post .read-more i {    transform: rotate(-45deg);font-weight: bold; margin-top: auto;}
#reviews-case-studies  .post-content {height: 100%; padding-bottom: 0;}
#reviews-case-studies .blog-post .read-more:hover {color: var(--green);}
@media(min-width:1400px) {
  #reviews-case-studies > .container {max-width: 1548px;}
}
@media(max-width:991px) {
  #reviews-case-studies .blog-post-list .blog-post {padding: 25px 15px;}
  #reviews-case-studies .blog-post-list .blog-post {min-height: auto;}
  #reviews-case-studies .blog__recent-panel.all-posts .blog-post-list{grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));}
}


/* Reviews David */
#reviews-david {position: relative; margin-bottom: 150px;}
#reviews-david .reviews-david__bg {position: absolute;left: 0;top: 50%;transform: translateY(-50%);z-index: -1;}
#reviews-david .row div[class^='col']:first-child {display: flex;flex-direction: column;justify-content: center;}
#reviews-david .reviews-david__detail {    color: #FFF;font-size: 32px;font-style: normal;font-weight: 500;line-height: 110%;letter-spacing: 0.64px;}
#reviews-david h3 {margin-bottom: 27px !important;}
#reviews-david .reviews-david__detail span {display: block;}
@media(max-width:991px) {
  #reviews-david .row div[class^='col']:last-child {order: 1; display: flex; justify-content: center; margin-bottom: 35px;}
  #reviews-david .row div[class^='col']:first-child {order: 2; text-align: center;}
}

@media(min-width:992px) {
  .reviews .hbspt-form :is(.hs-form-field, .hs-dependent-field):has(.hs_region),
  .reviews .hbspt-form :is(.hs-form-field, .hs-dependent-field):has(label[id*="unit"]) {flex: 1 0 48%;}
  .reviews .inline-form__sub-text {position: absolute;left: 0px;bottom: 10px;margin: 0;padding: 0 15px; z-index: 10;}
}

@media(min-width:1400px) {
  .reviews .inline-form__sub-text {padding: 0 25px;}
}
@media(max-width:991px) {
  .reviews .hbspt-form :is(.hs-form-field, .hs-dependent-field) {flex: 1 1 100%;}
}
