/* Perforated tickets in the home reviews section. */
#reviews .reviews-pair {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 12px;
  width: 46.8vw; max-width: 100%; margin-inline: auto;
}
@media (max-width: 600px) {
  #reviews .reviews-pair { width: 92vw; }
}
#reviews.reviews-two-cards { width: auto; max-width: none; margin-inline: clamp(12px,1.5vw,24px); }
@media (min-width: 801px) {
  #reviews.reviews-two-cards {
    display: grid;
    width: 84%; margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 46.8vw);
    column-gap: 4.2vw;
    grid-template-rows: 1fr auto auto auto 1fr;
    align-items: center;
  }
  #reviews > .eyebrow {
    grid-area: 2 / 1; margin: 0; padding-top: 13px;
    border-top: 2px solid #a68b58;
  }
  #reviews > h2 { grid-area: 3 / 1; margin: 10px 0; text-wrap: balance; }
  #reviews > .reviews-two-intro { grid-area: 4 / 1; margin: 0; }
  #reviews > .reviews-pair { grid-area: 1 / 2 / 6 / 3; width: 100%; margin: 0; }
}
@media (max-width: 800px) {
  #reviews.reviews-two-cards { width: 92%; margin-inline: auto; }
  #reviews > .eyebrow { border-top: 2px solid #a68b58; padding-top: 13px; }
  #reviews > .reviews-pair { width: 100%; }
}
#reviews .review-destination {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  width: 100%; aspect-ratio: 793 / 285; padding: clamp(8px,1.1vw,18px);
  box-sizing: border-box; overflow: hidden; border-radius: 16px;
  border: 2px solid #ac8b56; background: #e6dfcf; transform: none;
}
#reviews .review-destination::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: center / cover no-repeat url("/assets/photo-golets.jpg"); transition: transform .35s, filter .35s;
}
#reviews .review-destination[href*="yandex.ru"]::before { background-image: url("/assets/ta-chingouza-background.jpg"); }
#reviews .review-landscape { display: none !important; }
#reviews .review-destination:is(:focus-visible,:active)::before { transform: scale(1.035); filter: saturate(1.14); }
@media (hover:hover) {
  #reviews .review-destination:hover::before { transform: scale(1.035); filter: saturate(1.14); }
}
#reviews .review-destination-top {
  display: inline-flex; align-items: stretch; flex: 0 1 auto; width: auto; max-width: 100%; min-width: 0;
  justify-content: start; padding: 0; gap: 0; flex-wrap: nowrap;
  background: #fff8e8; border: 1px solid #ad9265; overflow: hidden; border-radius: 9px;
  box-shadow: 0 2px 7px #112a2030; transition: transform .15s,box-shadow .15s;
}
#reviews .review-brand-gis { gap: 6px; padding: 8px 12px; align-self: center; }
#reviews .review-brand-gis img { width: 25px; height: 25px; }
#reviews .review-brand-gis b { font-size: 0; width: 70px; height: 30px; background: center / contain no-repeat url("/review-2gis-mark.svg"); }
#reviews .review-brand-yandex { align-self: center; box-sizing: content-box; width: 80px; height: auto; padding: 8px 12px; }
#reviews .review-read {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 13px 12px; color: #3e321e; background: #efd096;
  border-left: 1px dashed #8d7449; border-radius: 0; font: 600 15px/1.3 Georgia,serif;
}
#reviews .review-destination-top:hover { box-shadow: 0 0 0 2px #ffe4a8,0 4px 10px #12352e55; }
#reviews .review-destination:active .review-destination-top { transform: translateY(2px); }
@media (prefers-reduced-motion: reduce) {
  #reviews .review-destination::before, #reviews .review-destination-top { transition: none; }
  #reviews .review-destination:is(:hover,:focus-visible,:active)::before { transform: none; }
}
