/* Fallbacks for two decorative PNG files that already return 404 on the source site. */
html {
  min-height: 100%;
  background-color: #1a1a1a;
}

body {
  min-height: 100vh;
  background-color: #fff;
}

/* One approved header treatment across every public page. */
.site-header,
.main_page .site-header,
.start_page .site-header {
  background: rgba(30, 41, 59, .95) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: none;
  border-bottom: 0;
}

/* Header-only legacy wrappers must not reveal their former hero background. */
.start_page:not(:has(.search_block)) {
  background: #1e293b !important;
  background-image: none !important;
}

.site-header .menu > ul > li > a.active {
  font-weight: 500;
}

.site-header .menu > ul > li > a.active::after {
  opacity: 1;
}

/* The restored site now represents one property only, so the old shared social
   links for the former two-property project are intentionally hidden. */
.site_footer .top > .col-4:last-child,
.site_footer .bot > .share {
  display: none !important;
}

/* Use the same dark footer on every page, including the home page where the
   legacy theme previously made it transparent. */
.site_footer {
  background: #151515 !important;
}

.ui-datepicker-header {
  background-color: #111 !important;
  background-image: none !important;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  position: relative;
  background-image: none !important;
  line-height: 30px !important;
  color: transparent !important;
}

.ui-datepicker-prev::before,
.ui-datepicker-next::before {
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: 22px;
  line-height: 28px;
  text-align: center;
}

.ui-datepicker-prev::before { content: "‹"; }
.ui-datepicker-next::before { content: "›"; }

/* Keep the only remaining Belokurikha property centered in the old two-card slider. */
.slider_catalog.single-property .slick-track {
  margin-left: auto;
  margin-right: auto;
}

/* The restored home page now has one property, so it should not behave as a carousel. */
.slider_catalog.single-property > .item {
  float: none;
  width: calc(50% - 20px);
  max-width: 744px;
  margin-right: auto;
  margin-left: auto;
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .slider_catalog.single-property {
    min-height: 0;
    margin-top: 24px;
  }

  .slider_catalog.single-property > .item {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .slider_catalog.single-property .item .item_image_wrapper {
    height: 280px;
  }

  .slider_catalog.single-property .item .title {
    font-size: 30px;
    line-height: 36px;
  }

  .slider_catalog.single-property .item .location {
    font-size: 20px;
  }

  .slider_catalog.single-property .item .bt_green {
    margin-top: 32px;
  }
}

@media screen and (max-width: 479px) {
  .slider_catalog.single-property .item .item_image_wrapper {
    height: 240px;
  }
}
