/* Polyana v22 — only hotel teaser grid and About-the-resort section.
   Deliberately loaded after v21 to undo the forced 2-column desktop layout. */

/* DESKTOP: 9 hotels in a 3x3 grid, never stretch the ninth across the row. */
#stay-home .stay-home-wrap-v20{
  max-width: 1660px !important;
  width: calc(100% - 28px) !important;
  margin-inline: auto !important;
  padding-inline: clamp(8px, 1.25vw, 22px) !important;
}
#stay-home .stay-home-grid-v20 {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: clamp(14px,1.4vw,24px) !important;
  max-width: none !important;
  width: 100% !important;
  align-items: stretch !important;
  margin-inline: 0 !important;
}
#stay-home .stay-home-grid-v20 > .stay-card-v20:last-child:nth-child(odd) {
  grid-column: auto !important;
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
}
#stay-home .stay-card-v20 .stay-card-photo-wrap {aspect-ratio: 1.8 / 1 !important;}
#stay-home .stay-card-v20 .stay-card-body {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  grid-template-areas: 'title title' 'info action' !important;
  gap: 13px 9px !important;
  padding: 15px clamp(13px,1.15vw,22px) 18px !important;
  min-height: 175px !important;
}
#stay-home .stay-card-v20 h3 {
  font-size: clamp(23px,1.75vw,31px) !important;
  line-height: 1.1 !important;
  min-height: 0 !important;
}
#stay-home .stay-card-v20 .stay-card-info{gap:8px !important;}
#stay-home .stay-card-v20 .stay-card-rating-row {font-size:clamp(11px,.84vw,14px) !important;gap:6px !important;}
#stay-home .stay-card-v20 .stay-card-rating-row strong {font-size: 14px !important;}
#stay-home .stay-card-v20 .stay-card-rating-star {width:20px !important;height:20px !important;flex-basis:20px !important;}
#stay-home .stay-card-v20 .stay-card-meta-row{gap:6px !important;}
#stay-home .stay-card-v20 .stay-card-meta-row > span {gap:7px !important;}
#stay-home .stay-card-v20 .stay-card-meta-row img {width:22px !important;height:22px !important;flex-basis:22px !important;}
#stay-home .stay-card-v20 .stay-card-meta-row small{font-size:clamp(11px,.84vw,14px) !important;}
#stay-home .stay-card-v20 .stay-card-btn{
  min-width: 0 !important;
  width: auto !important;
  height: 51px !important;
  min-height: 51px !important;
  padding: 11px clamp(10px,1.05vw,18px) !important;
  font-size: clamp(12px,.96vw,16px) !important;
  gap: 7px !important;
  margin: 0 !important;
  border-radius: 14px !important;
}
#stay-home .stay-card-v20 .stay-card-btn img {width:15px !important;height:15px !important;}
#stay-home .stay-card-v20 .stay-card-tag {top:13px !important;left:13px !important;padding:10px 14px !important;gap:8px !important;font-size:clamp(11px,.8vw,14px) !important;max-width:calc(100% - 26px) !important;}
#stay-home .stay-card-v20 .stay-card-tag img {width:20px !important;height:20px !important;flex-basis:20px !important;}
/* A tablet has room for two. A phone uses one card per row. */
@media (min-width: 760px) and (max-width: 1169px) {
  #stay-home .stay-home-grid-v20 {grid-template-columns: repeat(2,minmax(0,1fr)) !important;}
  #stay-home .stay-card-v20 .stay-card-btn{font-size:14px !important;padding:11px 14px !important;}
}
@media (max-width: 759px) {
  #stay-home .stay-home-wrap-v20 {width:100% !important;padding-inline:clamp(12px,3.8vw,20px) !important;}
  #stay-home .stay-home-grid-v20 {grid-template-columns:minmax(0,1fr) !important;max-width:520px !important;margin-inline:auto !important;gap:16px !important;}
  #stay-home .stay-card-v20 .stay-card-photo-wrap{aspect-ratio:1.7 / 1 !important;}
  #stay-home .stay-card-v20 .stay-card-body {padding:16px 17px 19px !important;min-height:0 !important;}
  #stay-home .stay-card-v20 h3 {font-size:clamp(24px,6vw,30px) !important;}
  #stay-home .stay-card-v20 .stay-card-rating-row{font-size:13px !important;}
  #stay-home .stay-card-v20 .stay-card-meta-row small{font-size:13px !important;}
  #stay-home .stay-card-v20 .stay-card-btn{font-size:14px !important;height:51px !important;}
}
@media (min-width: 440px) and (max-width:759px){
  #stay-home .stay-card-v20 .stay-card-body {grid-template-columns:minmax(0,1fr) auto !important;grid-template-areas:'title title' 'info action' !important;}
  #stay-home .stay-card-v20 .stay-card-btn{justify-self:end !important;min-width:0 !important;width:auto !important;}
}
@media (max-width: 439px){
  #stay-home .stay-card-v20 .stay-card-body {grid-template-columns:minmax(0,1fr) !important;grid-template-areas:'title' 'info' 'action' !important;}
  #stay-home .stay-card-v20 .stay-card-btn{justify-self:stretch !important;width:100% !important;}
}

/* ABOUT KRASNAYA POLYANA — screenshot layout, scope strictly to the About block. */
#about-bukovel.resort-about-section {padding: clamp(34px,4.5vw,66px) 0 52px !important;background:transparent !important;}
#about-bukovel .resort-about-wrap {
  width: calc(100% - 44px) !important;
  max-width: 1650px !important;
  margin: 0 auto !important;
}
#about-bukovel .resort-about-heading {margin: 0 auto 28px !important;}
#about-bukovel .resort-about-copy {
  box-sizing:border-box !important;
  max-width:1350px !important;
  padding:clamp(22px,2.15vw,36px) clamp(21px,4vw,72px) !important;
  margin:0 auto 22px !important;
  border:1px solid #e4e6ec !important;
  border-radius:23px !important;
  background:rgba(255,255,255,.93) !important;
  box-shadow:0 14px 38px rgba(23,31,49,.07) !important;
  text-align:center !important;
}
#about-bukovel .resort-about-copy p {
  max-width: 1070px !important;
  margin:0 auto !important;
  color:#777987 !important;
  font-size:clamp(16px,1.25vw,20px) !important;
  line-height:1.49 !important;
}
#about-bukovel .resort-about-copy p + p{margin-top:16px !important;}
#about-bukovel .resort-about-copy strong{
  display:inline !important;
  color:#131b2d !important;
  font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif !important;
  font-size:clamp(18px,1.35vw,23px) !important;
  line-height:1.3 !important;
  font-weight:800 !important;
}
#about-bukovel .resort-about-panorama{
  display:block !important;
  width:100% !important;
  height:clamp(240px,24vw,378px) !important;
  border-radius:22px !important;
  overflow:hidden !important;
  box-shadow:none !important;
}
#about-bukovel .resort-about-panorama img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 42% !important;
  filter:none !important;
}
#about-bukovel .resort-about-stats{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
  margin:18px 0 0 !important;
}
#about-bukovel .resort-about-stats article {
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:22px !important;
  min-height:114px !important;
  padding:17px 20px !important;
  border-radius:20px !important;
  background:#fff !important;
  border:1px solid #e7e8ed !important;
  box-shadow:0 8px 27px rgba(22,28,46,.055) !important;
  text-align:left !important;
}
#about-bukovel .resort-about-stat-icon {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:72px !important;
  height:72px !important;
  flex:0 0 72px !important;
  background:transparent !important;
  border-radius:50% !important;
}
#about-bukovel .resort-about-stat-icon img{
  display:block !important;
  width:72px !important;
  height:72px !important;
  object-fit:contain !important;
}
#about-bukovel .resort-about-stats article > span:last-child{display:flex !important;flex-direction:column !important;min-width:0 !important;}
#about-bukovel .resort-about-stats strong{
  color:#141b2e !important;
  font-family:Georgia,'Times New Roman',serif !important;
  font-size:clamp(22px,2vw,32px) !important;
  line-height:1.05 !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}
#about-bukovel .resort-about-stats small{
  color:#747989 !important;
  margin-top:4px !important;
  font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif !important;
  font-size:clamp(12px,1vw,16px) !important;
  line-height:1.25 !important;
}
#about-bukovel .resort-about-actions {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:14px !important;
  margin-top:23px !important;
}
#about-bukovel .resort-about-btn {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:18px !important;
  min-width:min(100%,455px) !important;
  max-width:100% !important;
  min-height:66px !important;
  padding:16px 32px !important;
  box-sizing:border-box !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#ff304a 0%,#e4052e 100%) !important;
  box-shadow:0 15px 30px rgba(217,10,45,.20) !important;
  color:#fff !important;
  font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif !important;
  font-size:clamp(16px,1.3vw,20px) !important;
  font-weight:800 !important;
  text-align:center !important;
  text-decoration:none !important;
  transition:transform .2s ease,box-shadow .2s ease;
}
#about-bukovel .resort-about-btn img {display:inline-block !important;width:24px !important;height:20px !important;object-fit:contain !important;filter:brightness(0) invert(1) !important;}
#about-bukovel .resort-about-btn:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(217,10,45,.27) !important;}
#about-bukovel .resort-about-link {color:#303a4a !important;font-size:15px !important;font-weight:500 !important;text-decoration:underline dotted !important;text-underline-offset:5px !important;}
@media (max-width:980px){
  #about-bukovel .resort-about-stats article{gap:12px !important;padding:15px 13px !important;}
  #about-bukovel .resort-about-stat-icon{width:60px !important;height:60px !important;flex-basis:60px !important;}
  #about-bukovel .resort-about-stat-icon img{width:60px !important;height:60px !important;}
}
@media (max-width:700px){
  #about-bukovel .resort-about-wrap{width:calc(100% - 26px) !important;}
  #about-bukovel .resort-about-copy{padding:20px 17px !important;border-radius:18px !important;margin-bottom:16px !important;}
  #about-bukovel .resort-about-copy p{font-size:15px !important;line-height:1.5 !important;}
  #about-bukovel .resort-about-copy strong{font-size:17px !important;}
  #about-bukovel .resort-about-panorama{height:245px !important;border-radius:17px !important;}
  #about-bukovel .resort-about-panorama img{object-position:center 44% !important;}
  #about-bukovel .resort-about-stats{grid-template-columns:1fr !important;gap:10px !important;margin-top:13px !important;}
  #about-bukovel .resort-about-stats article{justify-content:flex-start !important;min-height:86px !important;padding:13px 20px !important;}
  #about-bukovel .resort-about-stats strong{font-size:25px !important;}
  #about-bukovel .resort-about-stats small{font-size:14px !important;}
  #about-bukovel .resort-about-btn{min-height:60px !important;width:100% !important;min-width:0 !important;font-size:16px !important;padding:14px 15px !important;}
}
