/* Next View Tours Google Reviews Slider */
.nvt-ts-wrap,
.nvt-ts-wrap * {
  box-sizing: border-box;
}

.nvt-ts-wrap {
  position: relative;
  width: 100%;
  padding: 8px 52px 28px;
  font-family: Inter, Arial, sans-serif;
}

.nvt-ts-viewport {
  width: 100%;
  overflow: hidden;
}

.nvt-ts-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.nvt-ts-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  min-height: 300px;

  display: flex;
  flex-direction: column;
  align-items: stretch;

  padding: 26px 26px 22px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.05);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.nvt-ts-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 0 14px;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.nvt-ts-stars img {
  display: block;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  max-width: 16px !important;
  object-fit: contain;
  object-position: center;
}

.nvt-ts-stars img.nvt-ts-star-empty {
  opacity: 0.2;
  filter: grayscale(1);
}

.nvt-ts-title {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #1f1f1f;
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.nvt-ts-title a,
.nvt-ts-name a {
  color: inherit !important;
  text-decoration: none !important;
}

.nvt-ts-title a:hover,
.nvt-ts-name a:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.nvt-ts-text {
  margin: 0 !important;
  padding: 0 !important;
  color: #000000;
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.nvt-ts-readmore {
  display: inline;
  margin-left: 2px;
  color: #1f1f1f !important;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.nvt-ts-readmore:hover {
  color: #000000 !important;
}

.nvt-ts-author {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: auto;
  padding-top: 28px;
}

.nvt-ts-avatar-link {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none !important;
}

.nvt-ts-avatar {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  overflow: hidden;
}

.nvt-ts-author-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.nvt-ts-name {
  margin: 0 0 4px;
  padding: 0;
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.nvt-ts-country {
  margin: 0;
  padding: 0;
  color: #777777;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.nvt-ts-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid #e7e7e7 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #1f1f1f !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);

  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nvt-ts-arrow:hover {
  background: #1f1f1f !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.05);
}

.nvt-ts-arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.nvt-ts-arrow[hidden] {
  display: none !important;
}

.nvt-ts-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nvt-ts-prev {
  left: 4px;
}

.nvt-ts-next {
  right: 4px;
}

.nvt-ts-attribution {
  position: absolute;
  right: 52px;
  bottom: 5px;
  left: 52px;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;

  color: #777777;
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}

.nvt-ts-attribution a {
  color: #5f6368 !important;
  font-weight: 600;
  text-decoration: none !important;
}

.nvt-ts-attribution a:hover {
  text-decoration: underline !important;
}

@media (max-width: 1024px) {
  .nvt-ts-card {
    flex: 0 0 calc((100% - 22px) / 2);
    min-height: 390px;
  }
}

@media (max-width: 767px) {
  .nvt-ts-wrap {
    padding: 8px 38px 34px;
  }

  .nvt-ts-track {
    gap: 16px;
  }

  .nvt-ts-card {
    flex: 0 0 100%;
    min-height: 370px;
    padding: 22px 20px 20px;
    border-radius: 18px;

    display: flex;
    flex-direction: column;
  }

  .nvt-ts-title {
    font-size: 17px;
  }

  .nvt-ts-text {
    font-size: 15px;
    line-height: 1.55;
  }

  .nvt-ts-author {
    margin-top: auto;
    padding-top: 22px;
    gap: 12px;
  }

  .nvt-ts-avatar {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
  }

  .nvt-ts-name {
    font-size: 15px;
  }

  .nvt-ts-arrow {
    width: 34px;
    height: 34px;
  }

  .nvt-ts-prev {
    left: 0;
  }

  .nvt-ts-next {
    right: 0;
  }

  .nvt-ts-attribution {
    right: 38px;
    bottom: 4px;
    left: 38px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nvt-ts-track {
    transition: none;
  }
}
