/* Reviews — single active implementation for Home/About. */
.kwr{
  padding: 94px 0 96px;
  background: #fff;
  color: #10233a;
  font-family:var(--kw-body-font);
}
.kwr-shell{
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}
.kwr-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 42px;
}
.kwr-script{
  display: block;
  margin-bottom: 7px;
  color: #c98b2b;
  font: 400 28px/1 "Great Vibes", cursive;
}
.kwr-head h2{
  margin: 0;
  color: #10233a;
  font: 400 50px/1.08 Marcellus, Georgia, serif;
}
.kwr-summary{
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.kwr-stars{
  color: #d68a00;
  font-size: 20px;
  letter-spacing: 1px;
}
.kwr-summary > b{
  font-size: 15px;
}
.kwr-summary > small{
  color: #697381;
  font-size: 11px;
}
.kwr-platform-logo{
  min-height: 44px;
  padding: 0 18px;
  border-left: 1px solid #e8e1d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #fff;
  color: #10233a;
  text-decoration: none;
  font: 700 12px/1 Manrope, Arial, sans-serif;
}
.kwr-platform-logo:last-child{
  border: 1px solid #e2d9cf;
  border-radius: 8px;
}
.kwr-platform-logo img{
  display: block;
  width: auto;
  object-fit: contain;
}
.kwr-platform-logo--trip img{
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
}
.kwr-platform-logo--google img{
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
}
.kwr-source{
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.kwr-stage{
  position: relative;
}
.kwr-viewport{
  overflow: hidden;
  padding: 3px;
}
.kwr-track{
  display: flex;
  gap: 24px;
  transition: transform .62s cubic-bezier(.22,1,.36,1);
}
.kwr-card{
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  height: 425px;
  padding: 30px 28px 22px;
  border: 1px solid #e6ddd3;
  border-radius: 12px;
  background: #fff;

  display: flex;
  flex-direction: column;
}
.kwr-card:after{
  content: "”";
  position: absolute;
  right: 22px;
  top: 10px;
  color: #eee5da;
  font: 700 39px/1 Georgia, serif;
}
.kwr-card__head{
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 84px;
  gap: 13px;
  align-items: center;
}
.kwr-avatar{
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1eee9;
  display: grid;
  place-items: center;
  color: #8b949e;
}
.kwr-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kwr-card__head h3{
  margin: 0 0 5px;
  color: #10233a;
  font: 800 16px/1.3 Manrope, Arial, sans-serif;
}
.kwr-card__head p{
  margin: 0;
  color: #79828e;
  font-size: 11.5px;
  line-height: 1.4;
}
.kwr-source-badge{
  justify-self: end;
  width: 24px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kwr-source-badge img{
  display: block;
  width: auto;
  object-fit: contain;
}
.kwr-source-badge.is-tripadvisor img{
  max-width: 74px;
  max-height: 44px;
}
.kwr-source-badge.is-google img{
  max-width: 72px;
  max-height: 32px;
}
.kwr-card__verify{
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 22px 0;
  color: #78818c;
  font-size: 12px;
}
.kwr-card__verified-dots{
  display: flex;
  gap: 3px;
}
.kwr-card__verified-dots i{
  width: 14px;
  height: 14px;
  border: 2px solid #00b67a;
  border-radius: 50%;
  position: relative;
}
.kwr-card__verified-dots i:after{
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #00b67a;
}
.kwr-card__title{
  display: block;
  margin: 0 0 9px;
  color: #10233a;
  font-size: 17px;
  line-height: 1.35;
}
/* Desktop preview: exactly 5 lines. Full text stays in JS data for the modal. */
.kwr-card__text{
  margin: 0;
  color: #27384c;
  font-size: 15px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kwr-card__foot{
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.kwr-readmore{
  padding: 10px;
  border: 0;
  background: transparent;
  color: #ca7f00;
  font: 700 14px/1 Manrope, Arial, sans-serif;
  cursor: pointer;
}
.kwr-readmore i{
  margin-left: 7px;
  font-size: 9px;
}
.kwr-nav{
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid #e5ddd2;
  border-radius: 50%;
  background: #fff;
  color: #c98b2b;
  box-shadow: 0 9px 24px rgba(16, 32, 51, 0.1);
  cursor: pointer;
}
.kwr-nav.is-prev{
  left: -24px;
}
.kwr-nav.is-next{
  right: -24px;
}
.kwr-nav:disabled{
  opacity: 0.28;
  cursor: default;
}
.kwr-notice{
  padding: 20px;
  border: 1px dashed #d5c4ac;
  background: #fff9ef;
  color: #5c4a31;
}
html.kwr-modal-open,
html.kwr-modal-open body{
  overflow: hidden !important;
}
.kwr-modal{
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 28px !important;
}
.kwr-modal.is-open{
  display: flex !important;
}
.kwr-modal__backdrop{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: rgba(8, 23, 35, 0.82) !important;
  backdrop-filter: blur(7px) !important;
  cursor: pointer !important;
}
.kwr-modal__dialog{
  position: relative !important;
  z-index: 2 !important;
  width: min(760px, calc(100vw - 48px)) !important;
  max-height: calc(100vh - 60px) !important;
  overflow-y: auto !important;
  padding: 44px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38) !important;
}
.kwr-modal__close{
  position: absolute !important;
  right: 18px !important;
  top: 18px !important;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid #e4ddd4 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #10233a !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
.kwr-modal__source{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex: 0 0 auto;
}
.kwr-modal__source img{
  display: block;
  width: auto;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
}
.kwr-modal__dialog h3{
  margin: 0;
  color: #10233a;
  font: 400 32px/1.2 Marcellus, Georgia, serif;
}
.kwr-modal__meta{
  color: #7c8590;
  font-size: 13px;
  line-height: 1.45;
}
.kwr-modal__stars{
  margin: 20px 0 16px;
  color: #d88a00;
  font-size: 20px;
  letter-spacing: 2px;
}
.kwr-modal__text{
  color: #314357;
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-line;
}
@media (max-width: 1120px) {
  .kwr-card{
    flex-basis: calc((100% - 24px) / 2);
  }
  .kwr-head{
    align-items: flex-start;
    flex-direction: column;
  }
  .kwr-summary{
    flex-wrap: wrap;
  }
  .kwr-card__text{
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }
}
@media (max-width: 720px) {
  .kwr{
    padding: 68px 0;
  }
  .kwr-shell{
    width: calc(100% - 28px);
  }
  .kwr-head h2{
    font-size: 38px;
  }
  .kwr-summary{
    gap: 8px;
  }
  .kwr-platform-logo{
    min-height: 40px;
    padding: 0 10px;
  }
  .kwr-platform-logo img{
    max-width: 112px;
    max-height: 25px;
  }
  .kwr-card{
    flex-basis: 100%;
    height: 500px;
  }
  .kwr-card__text{
    -webkit-line-clamp: 6;
    line-clamp: 6;
  }
  .kwr-source-badge{
    width: 68px;
  }
  .kwr-source-badge img{
    max-width: 64px;
    max-height: 28px;
  }
  .kwr-nav.is-prev{
    left: -8px;
  }
  .kwr-nav.is-next{
    right: -8px;
  }
  .kwr-modal{
    padding: 14px !important;
  }
  .kwr-modal__dialog{
    width: 100% !important;
    max-height: calc(100vh - 28px) !important;
    padding: 36px 24px 30px !important;
  }
  .kwr-modal__dialog h3{
    font-size: 26px;
  }
  .kwr-modal__text{
    font-size: 14px;
  }
}
/* Review modal/card refinements — active final rules. */
.kwr-card__foot{
  justify-content: flex-end;
}

/* Country + modal header: single active implementation. */
.kwr-card__meta{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 !important;
  color: #79828e !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}
.kwr-card__place,
.kwr-modal__place{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kwr-country-flag{
  display: inline-block !important;
  width: 24px !important;
  height: 18px !important;
  min-width: 24px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
  box-shadow: 0 0 0 1px rgba(16, 35, 58, 0.08);
}
.kwr-meta-dot{
  color: #b0b6be;
  margin: 0 2px;
}
.kwr-modal__header{
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 56px 22px 0 !important;
}
.kwr-modal__source{
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  margin: 0 !important;
}
.kwr-modal__source img{
  max-width: 52px !important;
  max-height: 52px !important;
}
.kwr-modal__heading{
  min-width: 0;
  flex: 1;
}
.kwr-modal__heading h3{
  margin: 0 0 7px !important;
}
.kwr-modal__meta{
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  color: #79828e !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.kwr-modal__review-link{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 13px 18px;
  border: 1px solid #c98b2b;
  border-radius: 8px;
  color: #b8730b;
  background: #fff;
  text-decoration: none;
  font: 700 12px/1 Manrope, Arial, sans-serif;
}
.kwr-modal__review-link:hover{
  background: #c98b2b;
  color: #fff;
}
.kwr-modal__review-link[hidden]{
  display: none !important;
}
@media (max-width: 720px) {
  .kwr-modal__header{
    align-items: flex-start !important;
    gap: 12px !important;
    margin-right: 44px !important;
  }
  .kwr-modal__source{
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .kwr-modal__source img{
    max-width: 40px !important;
    max-height: 40px !important;
  }
  .kwr-country-flag{
    width: 22px !important;
    height: 16px !important;
    min-width: 22px !important;
  }
}
 