/* Local demo usability overrides; original layout and palette retained. */
.page, .page * { -webkit-user-select:text; user-select:text; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible { outline:3px solid #4c96b0!important; outline-offset:4px!important; }
.process__item > img { object-fit:contain; background:#faf8f3; }
.map-container > img { display:block; width:100%; height:100%; object-fit:cover; }
.work-steps__slide::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(180deg,rgba(250,248,242,.98) 0%,rgba(250,248,242,.92) 48%,rgba(250,248,242,0) 85%); }
.work-steps__slide.md-light-text::after { background:linear-gradient(180deg,rgba(24,48,81,.98) 0%,rgba(24,48,81,.92) 48%,rgba(24,48,81,0) 88%); }

body[data-apartment-category="1"] .catalog__item:not(:nth-child(1)) { display:none; }

body[data-apartment-category="2"] .catalog__item:not(:nth-child(2)) { display:none; }

body[data-apartment-category="3"] .catalog__item:not(:nth-child(3)) { display:none; }

body[data-apartment-category="4"] .catalog__item:not(:nth-child(4)) { display:none; }

/* Final role-preserving QA fixes */
.products__item .item-info-block h1.info-title {font-weight:inherit;}
.first.md-thanx-page .first__bg::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f8f6f0f5 0%,#f8f6f0d9 45%,#f8f6f055 100%);}
.bereg-empty {padding:32px 0;line-height:1.6;}

/* Only the two portrait blocks requested on 2026-11-16. */
.bereg-about .our-team__slide img {
  object-fit: contain;
  object-position: center center;
  background: #faf8f3;
}
.bereg-home #getconsultation .get-consultation__container {
  min-height: 43vw;
}
.bereg-home #getconsultation .get-consultation__person {
  max-height: calc(100% - 2rem);
}
.bereg-home #getconsultation .get-consultation__person .person-img {
  object-fit: contain;
  object-position: center bottom;
  width: 100%;
  height: 100%;
  left: 0;
  right: auto;
  top: auto;
  bottom: 0;
}
@media only screen and (max-width: 768px) {
  .bereg-home #getconsultation .get-consultation__container {
    min-height: 0;
    padding-bottom: 84.375vw;
  }
}
