/* Video lightbox controls */
:is(.fancybox__container,.fancybox-container) :is([data-fancybox-close],[data-carousel-prev],[data-carousel-next],[data-fancybox-prev],[data-fancybox-next],.carousel__button.is-prev,.carousel__button.is-next,.carousel__button.is-close,.f-button.is-prev,.f-button.is-next,.f-button.is-close-btn):is(:hover,:focus-visible){
  background: #167d7f!important;
  color: #fff!important;
}

.fancybox__thumbs,.fancybox-thumbs,[data-fancybox-thumbs]{
  display: none!important;
}

.fancybox-show-thumbs .fancybox-inner{
  right: 0!important;
  bottom: 0!important;
}

/* Google rating and review badge */
.gf-google-rating{
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 76px;
  box-sizing: border-box;
  font-family: Inter,sans-serif;
  line-height: 1;
}

.gf-google-rating[hidden],.gf-google-review-badge[hidden]{
  display: none;
}

.gf-google-rating--pending{
  min-height: 76px;
  box-sizing: border-box;
  visibility: hidden;
}

.gf-google-rating__logo{
  display: block;
  width: 84px;
  height: 42px;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  object-position: left center;
}

.gf-google-rating__summary{
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.gf-google-rating__stars{
  position: relative;
  display: inline-block;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 1px;
}

.gf-google-rating__stars-base{
  color: #9e9e9e;
}

.gf-google-rating__stars-fill{
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--gf-google-rating-fill,0%);
  overflow: hidden;
  color: #fbbc04;
  white-space: nowrap;
}

.gf-google-rating__text,.gf-google-rating__reviews{
  color: #777777;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.gf-google-rating__error{
  color: #747474;
}

.gf-google-review-badge{
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  font-family: Inter,sans-serif;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color .2s ease,transform .2s ease;
}

.gf-google-review-badge:hover,.gf-google-review-badge:focus{
  color: #fff;
  text-decoration: none;
}

.gf-google-review-badge__avatars{
  display: flex;
  align-items: center;
  margin-right: 12px;
  padding-left: 2px;
}

.gf-google-review-badge__avatar{
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -7px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: #d8d8d8;
  color: #555;
  font-size: 12px;
  font-weight: 700;
  box-sizing: border-box;
  overflow: hidden;
}

.gf-google-review-badge__avatar:first-child{
  margin-left: 0;
}

.gf-google-review-badge__avatar-image{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gf-google-review-badge__content{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.gf-google-review-badge__rating{
  font-size: 15px;
  font-weight: 600;
  line-height: 1.05;
  white-space: nowrap;
}

.gf-google-review-badge__logo{
  display: block;
  width: 72px;
  height: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
  object-position: left center;
}

.gf-google-review-badge__logo--white{
  filter: none;
}

.gf-google-review-badge__error{
  color: #fff;
  font-family: Inter,sans-serif;
}

@media(max-width:480px){
  .gf-google-rating__summary{
    gap: 8px;
    flex-wrap: wrap;
  }
  .gf-google-rating__stars{
    font-size: 21px;
  }
  .gf-google-rating__text{
    font-size: 14px;
  }
  .gf-google-review-badge{
    min-height: 50px;
    padding: 6px 10px;
  }
  .gf-google-review-badge__avatar{
    width: 31px;
    height: 31px;
  }
  .gf-google-review-badge__rating{
    font-size: 14px;
  }
  .gf-google-review-badge__logo{
    width: 68px;
  }
}

/* Google reviews card */
.gf-google-reviews-card[hidden]{
  display: none;
}

.gf-google-reviews-card{
  display: inline-flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #B5B5B5;
  border-radius: 10px;
  background: #fff;
  color: #151515;
  font-family: Inter,sans-serif;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  transition: border-color .2s ease,box-shadow .2s ease;
}

.gf-google-reviews-card:hover,.gf-google-reviews-card:focus{
  color: #151515;
  text-decoration: none;
  border-color: #b8b8b8;
  box-shadow: 0 2px 5px rgba(0,0,0,.12);
}

.gf-google-reviews-card__icon{
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 45px;
  margin-right: 9px;
  object-fit: contain;
}

.gf-google-reviews-card__content{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.gf-google-reviews-card__label{
  color: #7a7a7a;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.gf-google-reviews-card__details{
  display: flex;
  align-items: center;
  gap: 6px;
}

.gf-google-reviews-card__rating{
  font-size: clamp(1.5625rem, 1.25rem + 1.5625vw, 3.125rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  color: #000000;
}

.gf-google-reviews-card__meta{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.gf-google-reviews-card__stars{
  color: #F4C20D;
  font-size: 18px;
  letter-spacing: -1px;
  line-height: 1;
}

.gf-google-reviews-card__count{
  color: #777;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0;
  font-weight: 500;
}

@media (max-width: 480px) {
  .gf-google-reviews-card__label {
    font-size: 18px;
  }
  .gf-google-reviews-card {
    margin-top: 20px;
    padding: 10px;
  }
}

/* Mixed reviews */
.gf-google-mixed-reviews,.gf-google-mixed-reviews .text-card,.gf-google-mixed-reviews .text-card p,.gf-google-mixed-reviews .text-card a,.gf-google-mixed-reviews .text-card strong{
  font-family: Inter,Arial,sans-serif!important;
}

.gf-google-mixed-reviews__status{
  padding: 20px;
  color: #747474;
}

.gf-google-mixed-reviews.is-ready .gf-google-mixed-reviews__status{
  display: none;
}

.gf-google-review-slide .author-img img{
  display: block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.gf-google-review-slide .gf-review-avatar-fallback{
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.gf-google-review-slide .rating{
  display: flex;
}

.gf-google-review-slide .rating .star{
  opacity: .25;
}

.gf-google-review-slide .rating .star.active{
  opacity: 1;
}

.gf-google-review-slide .posted-on-platform{
  display: block;
  max-width: 74px;
  height: auto;
}

.gf-google-review-slide .review-author-link{
  color: inherit;
  text-decoration: none;
}

.gf-google-review-slide .review-author-link:hover,.gf-google-review-slide .review-author-link:focus{
  text-decoration: underline;
}

/* Simple reviews */
.gf-google-simple-reviews{
  width: 100%;
  background: transparent;
  overflow: hidden;
}

.gf-google-simple-reviews__status{
  padding: 20px;
  color: #747474;
}

.gf-google-simple-reviews.is-ready .gf-google-simple-reviews__status{
  display: none;
}

.gf-google-simple-review__slide{
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.gf-google-simple-review__panel{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 0;
  color: #fff;
  height: 100%;
  box-sizing: border-box;
}

.gf-google-simple-review__text{
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
}

.gf-google-simple-review__author{
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

@media(max-width:480px){
  .gf-google-simple-review__text{
    font-size: 13px;
  }
}

/* Review testimonial */
.gf-review-testimonial{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 150px;
  margin: 0;
  padding: 38px 22px 18px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  background: linear-gradient(135deg,rgba(70,88,57,.92),rgba(143,157,118,.86));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(20,35,20,.14);
  color: #fff;
  box-sizing: border-box;
  overflow: visible;
}

.gf-review-testimonial__quote{
  position: absolute;
  z-index: 1;
  top: -25px;
  left: 15px;
  height: 68px;
  color: #fff;
  font-family: Georgia,serif;
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0,0,0,.08);
}

.gf-review-testimonial__text{
  position: relative;
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.28;
}

.gf-review-testimonial__author{
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
}

@media(max-width:480px){
  .gf-review-testimonial{
    min-height: 130px;
    padding: 34px 16px 15px;
    border-radius: 14px;
  }
  .gf-review-testimonial__quote{
    top: -21px;
    left: 12px;
    font-size: 78px;
  }
  .gf-review-testimonial__text{
    font-size: 14px;
  }
  .gf-review-testimonial__author{
    font-size: 11px;
  }
}
