._form:not([data-input-errors]) ._err {
  display: none;
}
input.error,
select.error {
  border-color: red;
}
.color-black * {
  color: #504d4f;
}

.b-s-presintation__img {
  max-height: none !important;
}
.p-estate-finder .b-house-item__btn-more-str {
  display: none;
}
.dnone {
  display: none !important;
}
.b-articles .js-load-more:first-child {
  margin-top: 50px;
}

.b-card-offer_third {
  background-size: cover;
}
.developer-gray-title span {
  color: #504d4f !important;
}
.b-map {
  filter: grayscale(0.7);
  -ms-filter: grayscale(0.7);
  -webkit-filter: grayscale(0.7);
  -moz-filter: grayscale(0.7);
  -o-filter: grayscale(0.7);
}

.im-popup {
  z-index: 2000;
}
.alert-area {
  z-index: 2200;
  bottom: 5px;
}

.b-s-territory__text.classic-text {
  margin-bottom: 70px;
}

.b-gradient-white__bg {
  background: linear-gradient(180deg, #fff 40%, #f5f5f5 100%);
  height: 40px;
}

.p-main .b-selection {
  padding-bottom: 42vw;
}

@media (min-width: 1024px) {
  .b-s-territory__text.classic-text {
    margin-bottom: 96px;
  }
  .alert-area {
    bottom: 50px;
  }
}

a.b-label-title.b-label-title_green {
  text-decoration: none;
}

a.b-tag {
  text-decoration: none;
}

.uppercase {
  text-transform: uppercase;
}

.grapesjs_callback_form {
  background-image: url(../img/stories.jpg);
}

@media (max-width: 359px) {
  .l-header {
    gap: 8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .l-header__l {
    gap: 4px;
  }

  .l-header__l .b-btn-icon,
  .l-header__l .b-burger {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
}

/* Personal data policy: responsive table */
@media (max-width: 767px) {
  table.privacy-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  table.privacy-table thead {
    display: none;
  }
  table.privacy-table tbody {
    display: block;
    width: 100%;
  }
  table.privacy-table tbody tr {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #d5d7cd;
    border-radius: 8px;
    box-sizing: border-box;
  }
  table.privacy-table tbody td {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px 0;
    border: 0;
    background: none;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }
  table.privacy-table tbody td + td {
    border-top: 1px solid #d5d7cd;
  }
  table.privacy-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #686460;
    font-weight: 400;
  }
  table.privacy-table tbody td:first-child {
    font-weight: 600;
    padding-top: 0;
  }
  table.privacy-table tbody td:last-child {
    padding-bottom: 0;
  }
}
/* Условия обработки персональных данных — Desktop */
@media screen and (min-width: 768px) {
  table.privacy-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 20px 0 30px;
    font-size: 16px;
    line-height: 1.6;
  }

  table.privacy-table th,
  table.privacy-table td {
    padding: 16px 20px;
    border: 1px solid #d5d7cd;
    background-image: none;
    vertical-align: top;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }

  table.privacy-table th {
    background-color: #e5e7dd;
    font-weight: 600;
    color: #454545;
  }

  table.privacy-table th:nth-child(1) {
    width: 25%;
  }

  table.privacy-table th:nth-child(2) {
    width: 50%;
  }

  table.privacy-table th:nth-child(3) {
    width: 25%;
  }

  table.privacy-table tbody td:first-child {
    font-weight: 500;
  }

  table.privacy-table tbody tr:nth-child(even) {
    background-color: rgba(150, 160, 105, 0.05);
  }
}

/* News card text: clamp to 2 lines with ellipsis */
.b-news-sm__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1024px) {
  .b-fs__content .b-title-1 .text-beige {
    display: block;
  }
  .b-gradient-white__bg {
    background: linear-gradient(180deg, #fff 40%, #f5f5f5 100%);
    height: 20px;
  }

  .p-main .b-selection {
    padding-bottom: 55vw;
  }
}
