/* PolyanaTravel v30 — precise phone overrides after legacy versions. */
/* FAQ: no photographic backdrop, including legacy before/after decorations. */
body.pt-home-page section.faq-home-section.faq-v29 {
  background:#ffffff !important;
  background-color:#ffffff !important;
  background-image:none !important;
}
body.pt-home-page section.faq-home-section.faq-v29::before,
body.pt-home-page section.faq-home-section.faq-v29::after {
  background-image:none !important;
}
body.pt-home-page .faq-v29 .faq-cta .faq-cta-icon {
  box-sizing:border-box !important;
  display:flex !important;
  flex:0 0 76px !important;
  align-items:center !important;
  justify-content:center !important;
  width:76px !important;height:76px !important;
  padding:0 !important;margin:0 !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.17) !important;
  overflow:hidden !important;
}
body.pt-home-page .faq-v29 .faq-cta .faq-cta-icon img {
  display:block !important;
  flex:0 0 66px !important;
  width:66px !important;height:66px !important;
  max-width:66px !important;max-height:66px !important;
  margin:0 !important;padding:0 !important;
  object-fit:contain !important;
  transform:translate(-1.5px,3px) !important;
}
@media(min-width:1101px) {
  body .site-footer.pt-footer-v29 {
    width:100% !important;
    padding:28px 18px 32px !important;
  }
  body .site-footer.pt-footer-v29 .site-footer-panel {
    box-sizing:border-box !important;
    width:100% !important;
    max-width:none !important;
    margin:0 auto !important;
  }
}

/* Mobile: photo gallery is an actual one-photo carousel, not the old grid. */
@media(max-width:767px) {
  body.pt-home-page #resort-gallery .gallery-wrap {overflow:hidden !important;}
  body.pt-home-page #resort-gallery .resort-gallery-grid.is-active {
    box-sizing:border-box !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    flex-direction:row !important;
    gap:0 !important;
    align-items:stretch !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x mandatory !important;
    scroll-padding:0 !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
    overscroll-behavior-x:contain !important;
    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:100% !important;
    grid-template-columns:none !important;
    grid-template-rows:none !important;
    grid-auto-rows:auto !important;
    border-radius:20px !important;
  }
  body.pt-home-page #resort-gallery .resort-gallery-grid::-webkit-scrollbar {display:none !important;}
  body.pt-home-page #resort-gallery .resort-gallery-grid[hidden] {display:none !important;}
  body.pt-home-page #resort-gallery .resort-gallery-grid .gallery-tile,
  body.pt-home-page #resort-gallery .resort-gallery-grid .gallery-tile.gallery-tall,
  body.pt-home-page #resort-gallery .resort-gallery-grid .gallery-tile:nth-child(n) {
    position:relative !important;
    box-sizing:border-box !important;
    display:block !important;
    flex:0 0 100% !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    height:clamp(245px,73vw,345px) !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    grid-column:auto !important;
    grid-row:auto !important;
    scroll-snap-align:start !important;
    scroll-snap-stop:always !important;
    border-radius:20px !important;
    overflow:hidden !important;
  }
  body.pt-home-page #resort-gallery .gallery-tile img {
    display:block !important;
    width:100% !important;height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
  }
  body.pt-home-page #resort-gallery .pt-gallery-dots {
    display:flex !important;justify-content:center !important;align-items:center !important;
    flex-wrap:wrap !important;gap:9px !important;margin:15px auto 6px !important;
  }
  body.pt-home-page #resort-gallery .pt-gallery-dots button {
    display:block !important;width:9px !important;height:9px !important;
    padding:0 !important;margin:0 !important;border:0 !important;
    border-radius:50% !important;background:#cbd1db !important;
    cursor:pointer !important;transition:width .18s ease,background .18s ease !important;
  }
  body.pt-home-page #resort-gallery .pt-gallery-dots button.is-active {
    width:27px !important;border-radius:12px !important;background:#e7082c !important;
  }

  /* Compact first screen: existing 5-second hero slideshow remains active. */
  body.pt-home-page .home-hero .hero-stage {
    height:clamp(505px,132vw,555px) !important;
    min-height:0 !important;
    max-height:555px !important;
    background:#10192c !important;
  }
  body.pt-home-page .home-hero .hero-slide {
    position:absolute !important;inset:0 !important;
    width:100% !important;height:100% !important;
    min-height:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    align-items:stretch !important;
    overflow:hidden !important;
    opacity:0;
  }
  body.pt-home-page .home-hero .hero-slide.is-active {opacity:1;}
  body.pt-home-page .home-hero .hero-slide-content {
    box-sizing:border-box !important;
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    display:flex !important;
    flex:0 0 auto !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:91px 18px 17px !important;
    background:linear-gradient(180deg,#10192c,#111b30) !important;
    text-align:center !important;
    color:#fff !important;
    order:0 !important;
    z-index:3 !important;
  }
  body.pt-home-page .home-hero .hero-slide-content :is(h1,h2) {
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    max-width:100% !important;
    margin:0 auto 9px !important;
    padding:0 !important;
    font-size:clamp(25px,6.3vw,31px) !important;
    line-height:1.12 !important;
    letter-spacing:-.025em !important;
  }
  body.pt-home-page .home-hero .hero-slide-content p {
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    max-width:550px !important;
    margin:0 auto !important;
    font-size:clamp(13px,3.5vw,15px) !important;
    line-height:1.43 !important;
    color:#e7ebf4 !important;
  }
  body.pt-home-page .home-hero .hero-btn {
    box-sizing:border-box !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto !important;
    min-height:42px !important;
    margin:14px auto 0 !important;
    padding:10px 21px !important;
    font-size:14px !important;
    line-height:1.18 !important;
    border-radius:12px !important;
  }
  body.pt-home-page .home-hero .hero-slide-image {
    position:relative !important;
    inset:auto !important;
    display:block !important;
    order:1 !important;
    flex:1 1 0% !important;
    width:100% !important;
    height:auto !important;
    max-width:100% !important;
    min-height:0 !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center 48% !important;
  }
  body.pt-home-page .home-hero .hero-shade {display:none !important;}
  body.pt-home-page .home-hero .pt-hero-pagination {
    box-sizing:border-box !important;
    position:absolute !important;
    z-index:9 !important;
    bottom:14px !important;left:50% !important;
    transform:translateX(-50%) !important;
    display:flex !important;align-items:center !important;justify-content:center !important;
    gap:7px !important;padding:8px 12px !important;
    border-radius:24px !important;
    background:rgba(11,23,39,.42) !important;
    backdrop-filter:blur(5px) !important;
  }
  body.pt-home-page .home-hero .pt-hero-pagination button {
    width:7px !important;height:7px !important;
    flex:0 0 7px !important;
    border-radius:99px !important;
    border:0 !important;margin:0 !important;padding:0 !important;
    background:rgba(255,255,255,.60) !important;
    cursor:pointer !important;
  }
  body.pt-home-page .home-hero .pt-hero-pagination button.is-active {
    width:22px !important;flex-basis:22px !important;
    background:#fff !important;
  }

  /* Single fifth weather/lift tile centered rather than left aligned. */
  body.pt-home-page .today-section .today-stats > .today-stat-card:last-child:nth-child(odd) {
    grid-column:1 / -1 !important;
    justify-self:center !important;
    width:min(100%,260px) !important;
    max-width:260px !important;
    justify-content:center !important;
    text-align:center !important;
    flex-direction:column !important;
    align-items:center !important;
  }
  body.pt-home-page .today-section .today-stats > .today-stat-card:last-child:nth-child(odd) >img {
    display:block !important;margin:0 auto !important;
  }
  body.pt-home-page .today-section .today-stats > .today-stat-card:last-child:nth-child(odd) >div {
    display:flex !important;flex-direction:column !important;
    align-items:center !important;text-align:center !important;
    width:100% !important;
  }
  body.pt-home-page .today-section .today-stats > .today-stat-card:last-child:nth-child(odd) :is(small,strong,span) {
    text-align:center !important;
  }

  /* Prices: center labels/figures on phones without breaking detail lines. */
  body.pt-home-page #prices-home .price-card-body {
    align-items:center !important;
    text-align:center !important;
    padding:12px 18px 23px !important;
  }
  body.pt-home-page #prices-home .price-card-title {
    display:flex !important;justify-content:center !important;align-items:center !important;
    align-self:center !important;gap:10px !important;
    margin:0 auto !important;
    min-height:55px !important;
    width:100% !important;
    text-align:center !important;
  }
  body.pt-home-page #prices-home .price-card-title h3 {text-align:center !important;}
  body.pt-home-page #prices-home .price-value {
    justify-content:center !important;
    align-self:center !important;
    margin:8px auto 0 !important;
    max-width:100% !important;
    white-space:normal !important;
    text-align:center !important;
  }
  body.pt-home-page #prices-home .price-unit {width:100% !important;text-align:center !important;}
  body.pt-home-page #prices-home .price-divider {align-self:stretch !important;}
  body.pt-home-page #prices-home .price-details {
    box-sizing:border-box !important;width:min(100%,360px) !important;
    margin-left:auto !important;margin-right:auto !important;
    text-align:left !important;
  }
  body.pt-home-page #prices-home .price-detail {width:100% !important;}
  body.pt-home-page .faq-v29 .faq-cta .faq-cta-icon {width:68px !important;height:68px !important;flex-basis:68px !important;}
  body.pt-home-page .faq-v29 .faq-cta .faq-cta-icon img {width:60px !important;height:60px !important;flex-basis:60px !important;max-width:60px !important;max-height:60px !important;}
}
@media(min-width:768px){
  body.pt-home-page #resort-gallery .pt-gallery-dots,
  body.pt-home-page .home-hero .pt-hero-pagination{display:none !important;}
}
@media(prefers-reduced-motion:reduce){
  body.pt-home-page #resort-gallery .resort-gallery-grid{scroll-behavior:auto !important;}
}
