/* Small structural rules extracted from template inline styles. */
/* The hero container uses height:100%; give its parent a definite responsive
 * height so pages with the shared hero template do not reserve a blank block. */
.hero {
  height: 685px;
}

@media (min-width: 1180px) and (max-width: 1500px) {
  .hero {
    height: 490px;
  }
}

@media (max-width: 760px) {
  .hero {
    height: 360px;
  }
}

.gallery-video .video-main.is-hidden {
  display: none;
}

.gallery-video .video-main.is-playing .play-icon {
  opacity: 0;
  pointer-events: none;
}

.tour-virtual,
.tour-virtual .swiper-slide {
  border-radius: 0;
}

.tour_slider_thumb .swiper-wrapper {
  justify-content: center;
}

/* The Swiper base rule sets display:block. Keep the theme's desktop/mobile
 * split explicit so responsive duplicate markup never renders twice. */
.life__mobile-box.swiper,
.blog-home__mobile-box.swiper,
.enterprises__mobile-box.swiper,
.testimonials__mobile-box.swiper {
  display: none;
}

@media (max-width: 760px) {
  .life__mobile-box.swiper,
  .blog-home__mobile-box.swiper,
  .enterprises__mobile-box.swiper,
  .testimonials__mobile-box.swiper {
    display: block;
  }
}

/* Single property pages use the desktop list on every viewport for Life and
 * Blog. They are content lists, not carousels. */
body.single-imovel .life__desk-box,
body.single-imovel .blog-home__desk-box {
  display: block;
}

body.single-imovel .life__mobile-box.swiper,
body.single-imovel .blog-home__mobile-box.swiper {
  display: none !important;
}

/* Keep the RD form clear of the fixed header when reached by a CTA. */
body.single-imovel #formulario-rd {
  scroll-margin-top: 150px;
}

.btn--primary-blue-cta {
  padding-top: 28px;
  padding-bottom: 28px;
  border: 1px solid transparent;
}

.btn--primary-blue-cta:hover {
  background-color: #fff;
  border-color: #1a2542;
  color: #1a2542;
}

body.single-imovel .single-imovel__cta {
  padding: 30px 6%;
}

@media (max-width: 1179px) {
  body.single-imovel #formulario-rd {
    scroll-margin-top: 100px;
  }
}

@media (max-width: 760px) {
  body.single-imovel .single-imovel__cta {
    padding: 24px 6%;
  }
}
