.ws-tripadvisor-summary {
  width: 100%;
  margin: 0;
  color: #003b2b;
}

.ws-tripadvisor-summary-preview .ws-reviews__layout-head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  margin: 0 0 16px;
}

.ws-tripadvisor-summary-preview .ws-reviews__heading-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  justify-self: end;
  gap: 8px;
  width: min(100%, 390px);
  min-width: 0;
  margin: 0;
  padding: 16px 0;
  text-align: left;
}

.ws-tripadvisor-summary-preview .ws-reviews__heading-block h2,
.ws-tripadvisor-summary-preview .ws-reviews__heading-block span {
  margin: 0;
  text-align: left;
}

.ws-tripadvisor-summary-preview .ws-reviews__heading-block span {
  display: block;
  width: 100%;
}

.ws-tripadvisor-summary__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 104px;
  height: 100%;
  padding: 18px 22px;
  border: 1px solid #d8dfdc;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 59, 43, .07);
}

.ws-tripadvisor-summary h2 {
  flex: 0 0 auto;
  margin: 0;
  color: #003b2b;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.2;
}

.ws-tripadvisor-summary__widget {
  min-width: 190px;
  min-height: 42px;
  background: #fff;
}

.ws-tripadvisor-summary__widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-tripadvisor-summary__widget a {
  color: #006b55;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ws-tripadvisor-native-hidden {
  display: none !important;
}

.ws-tripadvisor-summary-preview .ws-tripadvisor-recommended-hidden,
.ws-tripadvisor-summary-preview .elementor-element-eef7add[aria-hidden="true"] {
  display: none !important;
}

@media (max-width: 900px) {
  .ws-tripadvisor-summary-preview .ws-reviews__layout-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ws-tripadvisor-summary-preview .ws-reviews__heading-block {
    grid-row: 1;
    padding: 0;
  }

  .ws-tripadvisor-summary-preview .ws-reviews__layout-head .ws-tripadvisor-summary {
    grid-row: 2;
  }
}

@media (max-width: 767px) {
  .ws-tripadvisor-summary {
    margin: 0;
  }

  .ws-tripadvisor-summary__inner {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }

  .ws-tripadvisor-summary h2 {
    font-size: 21px;
  }
}
