/* WIDGET BOX */
#tst-box {display:inline-block;width:100%;clear:both;}
#tst-box .tst-inner {float:left;clear:both;width:100%;border-radius:10px;padding:20px 16px 16px 16px;margin:24px 0;background: linear-gradient(165deg, rgb(217 241 243) 0%, rgba(231, 237, 255, 1) 65%, rgba(240, 242, 248, 1) 100%);}
#tst-box h2, body#home #tst-box h2 {width:100%;text-align:center;margin-bottom:24px;justify-content: center;}
!#tst-box .wrapper, #tst-box .listing-card-list {width:100%!important;margin:0!important;}
#tst-box .listing-card-list {width:100%!important;margin:0!important;}
#tst-box .tst-list {display:flex;width:100%;flex-direction: row; align-items: stretch;justify-content: center;flex-wrap: wrap;}
#tst-box .tst-one {background:#fff;text-align:center;width:280px;border:2px solid transparent;margin:0 12px 24px 12px;border-radius:8px;padding:24px 16px 16px 16px;box-shadow:0 4px 16px rgba(0,0,0,0.1);display: flex; flex-direction: column; align-items: stretch;justify-content: space-between;}
#tst-box .tst-one.tst-highlight {border-color:var(--mb-color-primary, #0d9ecc);}
#tst-box .tst-user {display:flex;flex-direction: column; align-content: center; align-items: center;margin-bottom:10px;}
#tst-box .tst-del {width:100%;position:relative;text-align:center;margin:20px 0 24px 0;}
#tst-box .tst-del > span {display:inline-block;width:26px;height:3px;background:var(--mb-color-primary, #0d9ecc);border-radius:100px;}
#tst-box .tst-logo {height:64px;width:64px;margin:0 0 8px 0;border-radius:100px;padding:4px;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,0.4);overflow:hidden;display:flex;align-items: center; justify-content: center;}
#tst-box .tst-logo > img {width:auto;height:auto;max-width:100%;max-height:100%;}
#tst-box .tst-name {padding:0 10px;display:flex;font-size:16px;font-weight:bold;line-height:18px;color:#333;flex-direction: row; align-items: center; justify-content: center;margin:2px 0;}
#tst-box .tst-info {display:flex;font-size:13px;line-height:16px;color:#666;flex-direction: row; align-items: center;flex-wrap: wrap;justify-content: center;}
#tst-box .tst-info .tst-udel {margin:0 6px;font-size:10px;color:#aaa;}
#tst-box .tst-rating {margin:8px 0;display:flex;align-items: center; justify-content: center;}
#tst-box .tst-rating svg {width:28px;height:28px;margin:0;fill:var(--mb-color-secondary, #ffd400);}
#tst-box .tst-rating svg.tst-star-inactive {fill:#aaa;}
#tst-box .tst-title {margin:8px 0 10px 0;font-size:17px;line-height:20px;font-weight:bold;color:#111;}
#tst-box .tst-desc {font-size:15px;line-height:22px;color:#777;font-style:italic;white-space: break-spaces;}
#tst-box .tst-link {margin:12px 0 0 0;padding:14px 0 0 0;border-top:1px solid #ddd;}
#tst-box .tst-link a {font-size:13px;line-height:14px;text-decoration:none;color:var(--mb-color-primary, #0d9ecc);font-weight:600;}
#tst-box .tst-link a:hover {text-decoration:underline;}
#tst-box .tst-link a:after {content:"\27F6";margin:0 3px;}



/* MOBILE LAYOUT */
@media screen and (max-width: 767px) {
  #tst-box .tst-one {width:calc(50% - 16px);margin:0 8px 16px 8px;}
}

@media screen and (max-width: 440px) {
  #tst-box .tst-one {width:calc(100% - 12px);margin:0 6px 12px 6px;}
}


/* RTL */
html[dir="rtl"] #tst-box .tst-link a:after {content:"\27F5";}


/* DARK MODE */
html[mode="dark"] #tst-box {background: linear-gradient(165deg,#1a3b3d 0%,#1c2240 65%,#1e1f24 100%);}
html[mode="dark"] #tst-box .tst-one {background:var(--mb-color13, #262626);}

html[mode="dark"] #tst-box .tst-title {color:var(--mb-color1, #e6e6e6);}
html[mode="dark"] #tst-box .tst-desc {color:var(--mb-color6, #969696);}
html[mode="dark"] #tst-box .tst-name {color:var(--mb-color3, #c6c6c6);}
html[mode="dark"] #tst-box .tst-info {color:var(--mb-color7, #868686);}
html[mode="dark"] #tst-box .tst-rating svg.tst-star-inactive {color:var(--mb-color10, #565656);}
html[mode="dark"] #tst-box .tst-link {border-top-color:color:var(--mb-color2, #d6d6d6);}


/* GOVPUTI: Testimonials carousel */
#tst-box .tst-wrap {
  position: relative;
  padding: 0 48px;
}

#tst-box .tst-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 18px;
  padding: 6px 2px 18px 2px;
}

#tst-box .tst-list::-webkit-scrollbar {
  display: none;
}

#tst-box .tst-list {
  scrollbar-width: none;
}

#tst-box .tst-one {
  flex: 0 0 calc((100% - 36px) / 3);
  width: auto;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

#tst-box .tst-nice-scroll-prev,
#tst-box .tst-nice-scroll-next {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.16);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mb-color-primary, #0d9ecc);
  font-size: 24px;
  line-height: 1;
  transition: 0.2s ease;
}

#tst-box .tst-nice-scroll-prev {
  left: 0;
}

#tst-box .tst-nice-scroll-next {
  right: 0;
}

#tst-box .tst-nice-scroll-prev:before {
  content: "‹";
}

#tst-box .tst-nice-scroll-next:before {
  content: "›";
}

#tst-box .tst-nice-scroll-prev:hover,
#tst-box .tst-nice-scroll-next:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

#tst-box .tst-nice-scroll-prev.disabled,
#tst-box .tst-nice-scroll-next.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Tablet */
@media screen and (max-width: 991px) {
  #tst-box .tst-one {
    flex: 0 0 calc((100% - 18px) / 2);
  }
}

/* Mobile */
@media screen and (max-width: 640px) {
  #tst-box .tst-wrap {
    padding: 0 42px;
  }

  #tst-box .tst-one {
    flex: 0 0 100%;
  }
}