/* PolyanaTravel: targeted correction of ONLY the hotel teaser/cards block (v21).
   Loaded after v20, deliberately scoped to #stay-home to override legacy app.css. */
#stay-home .stay-home-wrap-v20 {
  max-width: 1460px;
  margin: 0 auto;
  padding-inline: clamp(16px, 3.6vw, 48px);
}

/* A card close to the reference is ~700px wide; three skinny columns cannot fit
   the amenities and a right-hand CTA side by side. */
#stay-home .stay-home-grid-v20 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch;
}
#stay-home .stay-home-grid-v20 > .stay-card-v20:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 28px) / 2);
  justify-self: center;
}
#stay-home .stay-card-v20 {
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  overflow: hidden !important;
  border: 1px solid rgba(25, 34, 52, .085) !important;
  border-radius: 27px !important;
  background: #fff !important;
  box-shadow: 0 19px 42px rgba(22, 31, 51, .095) !important;
}
#stay-home .stay-card-v20 .stay-card-photo-wrap {
  position: relative !important;
  width: 100%;
  aspect-ratio: 2.28 / 1 !important;
  overflow: hidden;
  background: #e8ecf1;
}
#stay-home .stay-card-v20 .stay-card-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  opacity: 1 !important;
  filter: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}
/* The user wants the photograph completely crisp, ending at the body boundary. */
#stay-home .stay-card-v20 .stay-card-photo-wrap::before,
#stay-home .stay-card-v20 .stay-card-photo-wrap::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
#stay-home .stay-card-v20 .stay-card-tag {
  top: 19px !important;
  left: 20px !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 13px 21px !important;
  gap: 11px !important;
  max-width: calc(100% - 40px);
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.97) !important;
  color: #182235 !important;
  font-size: clamp(13px, 1vw, 16px) !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 22px rgba(18,30,48,.11) !important;
}
#stay-home .stay-card-v20 .stay-card-tag img {
  width: 23px !important;
  height: 23px !important;
  flex: 0 0 23px !important;
  object-fit: contain;
}
/* Two-column lower portion: left amenities and RIGHT CTA, just like the reference. */
#stay-home .stay-card-v20 .stay-card-body {
  position: relative !important;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) max-content !important;
  grid-template-areas: 'title title' 'info action' !important;
  grid-template-rows: auto 1fr !important;
  column-gap: 16px !important;
  row-gap: 19px !important;
  min-height: 211px;
  padding: 19px 29px 27px !important;
  margin-top: 0 !important;
  background: #fff !important;
  align-items: end !important;
}
#stay-home .stay-card-v20 h3 {
  grid-area: title;
  margin: 0 !important;
  color: #111a2d !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(26px, 2.2vw, 34px) !important;
  font-weight: 700 !important;
  letter-spacing: -.025em !important;
  line-height: 1.17 !important;
  text-align: left !important;
}
#stay-home .stay-card-v20 .stay-card-info {
  grid-area: info;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 11px !important;
  margin: 0 !important;
  min-width: 0;
  justify-content: flex-end !important;
}
#stay-home .stay-card-v20 .stay-card-rating-row {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 9px !important;
  color: #9297a2 !important;
  font-size: 14px !important;
  text-align: left !important;
}
#stay-home .stay-card-v20 .stay-card-rating-row strong {font-size: 16px !important; color:#344052 !important;}
#stay-home .stay-card-v20 .stay-card-rating-star {width: 21px !important; height: 21px !important; flex-basis:21px !important;}
#stay-home .stay-card-v20 .stay-card-meta-row {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 9px !important;
  margin:0 !important;
}
#stay-home .stay-card-v20 .stay-card-meta-row > span {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  gap: 10px !important;
  color:#858a95 !important;
}
#stay-home .stay-card-v20 .stay-card-meta-row img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
  object-fit: contain !important;
}
#stay-home .stay-card-v20 .stay-card-meta-row small {
  font-size: 15px !important;
  line-height: 1.2 !important;
  color: #858a95 !important;
  text-align: left !important;
}
#stay-home .stay-card-v20 .stay-card-btn {
  grid-area: action !important;
  align-self: end !important;
  justify-self: end !important;
  display: inline-flex !important;
  flex: none !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 13px !important;
  width: auto !important;
  min-width: 206px !important;
  max-width: 100% !important;
  height: 61px !important;
  min-height: 0 !important;
  padding: 14px 23px !important;
  margin: 0 0 2px !important;
  border: 0 !important;
  border-radius: 17px !important;
  background: linear-gradient(180deg,#f52441 0%,#cc0827 100%) !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  box-shadow: 0 12px 25px rgba(207,9,41,.19) !important;
  text-decoration: none !important;
}
#stay-home .stay-card-v20 .stay-card-btn:hover,
#stay-home .stay-card-v20 .stay-card-btn:focus-visible {
  background: linear-gradient(180deg,#fa354f,#d01030) !important;
  box-shadow: 0 14px 29px rgba(207,9,41,.27) !important;
}
#stay-home .stay-card-v20 .stay-card-btn img {width: 17px !important; height: 17px !important; filter: brightness(0) invert(1) !important;}

/* Slightly larger, carefully trimmed pictograms; outlined white pills, NONE active by default. */
#stay-home .stay-home-filter-row-v20 {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap: 14px !important;
  margin: 30px 0 18px !important;
}
#stay-home .stay-home-filter-row-v20 .stay-filter-pill {
  display:inline-flex !important;
  flex: 0 0 auto;
  align-items:center !important;
  justify-content:center !important;
  gap:11px !important;
  min-height:64px !important;
  padding: 10px 22px !important;
  border: 1px solid #e4364e !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 8px 19px rgba(24,34,50,.045) !important;
  color: #182236 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
#stay-home .stay-home-filter-row-v20 .stay-filter-pill img {
  display:block !important;
  width:31px !important;
  height:31px !important;
  flex:0 0 31px !important;
  object-fit:contain !important;
  filter:none !important;
  opacity:1 !important;
}
#stay-home .stay-home-filter-row-v20 .stay-filter-pill:hover,
#stay-home .stay-home-filter-row-v20 .stay-filter-pill:focus-visible {
  background:#fff1f3 !important;
  border-color:#d80f2e !important;
  color:#182236 !important;
  box-shadow: 0 10px 25px rgba(210,30,54,.085) !important;
}
#stay-home .stay-home-filter-row-v20 .stay-filter-pill:hover img,
#stay-home .stay-home-filter-row-v20 .stay-filter-pill:focus-visible img {filter:none !important;}

@media (max-width: 1150px) {
  #stay-home .stay-home-grid-v20 {gap: 20px !important;}
  #stay-home .stay-card-v20 .stay-card-body {padding: 16px 20px 20px !important;column-gap:10px !important;}
  #stay-home .stay-card-v20 .stay-card-btn {min-width:180px !important;padding:12px 15px !important;font-size:15px !important;height:54px !important;}
  #stay-home .stay-card-v20 h3{font-size:clamp(22px,2.6vw,30px) !important;}
}
@media (max-width: 900px) {
  #stay-home .stay-home-grid-v20 {grid-template-columns:minmax(0,1fr) !important;max-width:680px;margin-inline:auto;}
  #stay-home .stay-home-grid-v20 > .stay-card-v20:last-child:nth-child(odd) {grid-column:auto;width:100%;justify-self:stretch;}
  #stay-home .stay-card-v20 .stay-card-btn {min-width:205px !important;font-size:16px !important;height:57px !important;}
  #stay-home .stay-home-filter-row-v20 {overflow:visible !important;flex-wrap:wrap !important;justify-content:center !important;}
}
@media (max-width: 520px) {
  #stay-home .stay-home-wrap-v20 {padding-inline:14px;}
  #stay-home .stay-home-grid-v20 {gap:17px !important;}
  #stay-home .stay-card-v20 {border-radius:21px !important;}
  #stay-home .stay-card-v20 .stay-card-photo-wrap {aspect-ratio:1.72 / 1 !important;}
  #stay-home .stay-card-v20 .stay-card-tag{top:12px !important;left:12px !important;padding:9px 13px !important;font-size:12px !important;max-width:calc(100% - 24px) !important;}
  #stay-home .stay-card-v20 .stay-card-body {grid-template-columns:1fr !important;grid-template-areas:'title' 'info' 'action' !important;gap:14px !important;min-height:0 !important;padding:17px 17px 18px !important;}
  #stay-home .stay-card-v20 h3 {font-size:25px !important;}
  #stay-home .stay-card-v20 .stay-card-info{gap:9px !important;}
  #stay-home .stay-card-v20 .stay-card-btn{justify-self:stretch !important;width:100% !important;min-width:0 !important;font-size:16px !important;height:52px !important;margin-top:2px !important;}
  #stay-home .stay-home-filter-row-v20 {justify-content:center !important;gap:9px !important;}
  #stay-home .stay-home-filter-row-v20 .stay-filter-pill {min-height:54px !important;padding:8px 14px !important;gap:8px !important;font-size:14px !important;}
  #stay-home .stay-home-filter-row-v20 .stay-filter-pill img {width:27px !important;height:27px !important;flex-basis:27px !important;}
}
