/* Polyana v23 — align the Hotel and About sections to the site's real content grid.
   Scope all rules to the three requested homepage sections only. */

/* Earlier v22 allowed 1650–1660px, substantially wider than .wrap (1180px). */
#stay-home .stay-home-wrap.stay-home-wrap-v20,
#about-bukovel .resort-about-wrap {
  box-sizing: border-box !important;
  width: min(1180px, calc(100% - 32px)) !important;
  max-width: 1180px !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-width: 0 !important;
}
#stay-home .stay-home-wrap-v20 > *,
#about-bukovel .resort-about-wrap > * {box-sizing: border-box; max-width: 100%; min-width: 0;}
#stay-home .stay-home-grid-v20 {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
}
#stay-home .stay-home-grid-v20 > .stay-card {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  grid-column: auto !important;
}
#stay-home .stay-card-v20 .stay-card-body {
  min-width: 0 !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
}
#stay-home .stay-card-v20 .stay-card-info {min-width: 0 !important;}
#stay-home .stay-card-v20 .stay-card-btn {white-space: nowrap !important;}

/* Match the same content edge in the wide photo and the three About fact cards. */
#about-bukovel .resort-about-panorama,
#about-bukovel .resort-about-stats,
#about-bukovel .resort-about-actions {box-sizing: border-box !important;width: 100% !important;max-width: 100% !important;min-width: 0 !important;}
#about-bukovel .resort-about-panorama img {display:block !important;width:100% !important;max-width:100% !important;}
#about-bukovel .resort-about-stats {grid-template-columns: repeat(3, minmax(0, 1fr)) !important;}

/* Map fact cards: below the map intro/interactive map, spanning the common width. */
.map-location-section .map-location-grid.wrap {
  box-sizing: border-box !important;
  width: min(1180px, calc(100% - 32px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-width: 0 !important;
}
.map-location-section .map-copy-bottom {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
}
.map-location-section .map-copy-bottom .map-facts-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 18px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-top: 22px !important;
}
.map-location-section .map-copy-bottom .map-fact-card {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 24px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 164px !important;
  padding: 23px 26px !important;
  background: rgba(255,255,255,.95) !important;
  border: 1px solid #efdde0 !important;
  border-radius: 23px !important;
  backdrop-filter: none !important;
  box-shadow: 0 14px 38px rgba(31,29,37,.055) !important;
}
.map-location-section .map-copy-bottom .map-fact-thumb {
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  width: 112px !important;
  height: 112px !important;
  flex: 0 0 112px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}
.map-location-section .map-copy-bottom .map-fact-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.map-location-section .map-copy-bottom .map-fact-copy {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
  text-align: left !important;
  line-height: 1.15 !important;
}
.map-location-section .map-copy-bottom .map-fact-copy strong {
  color: #111827 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(23px, 2.4vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em !important;
  overflow-wrap: anywhere !important;
}
.map-location-section .map-copy-bottom .map-fact-copy small {
  color: #747785 !important;
  font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
  font-size: clamp(15px, 1.45vw, 20px) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}
.map-location-section .map-copy-bottom .map-cta-row {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  padding: 0 !important;
  margin: 24px 0 0 !important;
  gap: 0 !important;
  width: 100% !important;
}
.map-location-section .map-copy-bottom .map-open-btn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 82px !important;
  padding: 18px 28px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ff1c3d 0%, #e3002c 100%) !important;
  box-shadow: 0 18px 34px rgba(216,9,41,.18) !important;
  color: #fff !important;
  font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
  font-size: clamp(18px, 2vw, 25px) !important;
  font-weight: 750 !important;
  line-height: 1.18 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.map-location-section .map-copy-bottom .map-open-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 23px 38px rgba(216,9,41,.23) !important;
}
.map-location-section .map-copy-bottom .map-open-btn span {
  color: #fff !important;
  font-size: 38px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}

/* On wide displays, the fact area spans both columns below text and live map. */
@media (min-width:1101px) {
  .map-location-section .map-location-grid.wrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    column-gap: 30px !important;
    row-gap: 0 !important;
    align-items: stretch !important;
  }
  .map-location-section .map-copy-head {grid-column: 1 !important;grid-row: 1 !important;min-width: 0 !important;}
  .map-location-section .map-visual-col {grid-column: 2 !important;grid-row: 1 !important;min-width: 0 !important;height: auto !important;}
  .map-location-section .map-visual-col .map-panel {height: auto !important;min-height: 420px !important;}
  .map-location-section .map-copy-bottom {grid-column: 1 / -1 !important;grid-row: 2 !important;}
}
/* Tablet: two hotel cards, two map facts where there is room. */
@media (min-width:760px) and (max-width:1169px) {
  #stay-home .stay-home-grid-v20 {grid-template-columns: repeat(2, minmax(0, 1fr)) !important;}
}
@media (max-width:1100px) {
  .map-location-section .map-location-grid.wrap {display: grid !important;grid-template-columns: minmax(0,1fr) !important;gap: 20px !important;}
  .map-location-section .map-copy-head,
  .map-location-section .map-visual-col,
  .map-location-section .map-copy-bottom {grid-column: 1 !important;grid-row: auto !important;}
}
@media (max-width:759px) {
  #stay-home .stay-home-grid-v20 {grid-template-columns: minmax(0,1fr) !important;gap: 16px !important;}
}
@media (max-width:780px) {
  #about-bukovel .resort-about-stats {grid-template-columns: minmax(0,1fr) !important;}
  .map-location-section .map-copy-bottom .map-facts-grid {grid-template-columns: minmax(0,1fr) !important;gap: 12px !important;}
  .map-location-section .map-copy-bottom .map-fact-card {min-height: 124px !important;padding: 17px 20px !important;gap: 16px !important;}
  .map-location-section .map-copy-bottom .map-fact-thumb {width: 84px !important;height: 84px !important;flex-basis: 84px !important;}
  .map-location-section .map-copy-bottom .map-fact-copy strong {font-size: clamp(21px, 4vw, 28px) !important;}
  .map-location-section .map-copy-bottom .map-fact-copy small {font-size: 15px !important;}
  .map-location-section .map-copy-bottom .map-cta-row {margin-top: 18px !important;}
  .map-location-section .map-copy-bottom .map-open-btn {min-height: 65px !important;padding: 15px 18px !important;font-size: clamp(15px, 4vw, 19px) !important;gap: 10px !important;}
  .map-location-section .map-copy-bottom .map-open-btn span {font-size: 27px !important;}
}
@media (max-width:440px) {
  .map-location-section .map-copy-bottom .map-fact-card {min-height: 112px !important;padding: 12px 14px !important;gap: 12px !important;}
  .map-location-section .map-copy-bottom .map-fact-thumb {width: 70px !important;height: 70px !important;flex-basis: 70px !important;}
  .map-location-section .map-copy-bottom .map-fact-copy strong {font-size: 21px !important;}
  .map-location-section .map-copy-bottom .map-fact-copy small {font-size: 14px !important;}
  #stay-home .stay-home-wrap.stay-home-wrap-v20,
  #about-bukovel .resort-about-wrap,
  .map-location-section .map-location-grid.wrap {width: calc(100% - 24px) !important;}
}
