
@media (max-width: 600px){
  .about__slide:nth-child(10) .collage-type-5 {
    margin-top: 20px;
  }
  .about__form .form__image {
    max-width: 380px;
    width: 100%;
    bottom: -120px;
  }
  .about__cards {
    gap: 6px;
    margin-top: 20px;
  }
  .about__card {
    margin-bottom: 35px;
  }
  .about__card-label {
    padding: 2px 6px;
    margin: 4px;
  }
  .about__card-label:last-child {
    position: absolute;
    bottom: -36px;
    min-height: 30px;
    background-color: transparent;
    padding: 0;
    margin: 0;
  }
  .about__legends {
    grid-template-columns: 1fr;
    grid-template-areas: "item1" "item2" "item3";
  }
  .about__legend-block:not(:first-child) {
    margin-top: 0;
  }
  .about__legend-item {
    margin-bottom: 10px;
  }
  .about__legend-item span {
    font-size: 15px;
  }
  .about .map {
    height: 450px;
  }
  .about .ymaps-2-1-79-controls__control {
    inset: 170px 0px auto auto !important;
  }
  .card {
    width: 100%;
    margin-right: 0;
  }
  .catalog__button {
    max-width: none;
  }
  .title {
    margin-bottom: 20px;
  }
  .text-wrapper {
    font-size: 15px;
    line-height: 22px;
  }
  .contacts .map {
    margin-top: 0;
  }
  .filter__inputs {
    flex-direction: column;
  }
  .filter__inputs .button {
    flex: none;
  }
  .filter .filter-input {
    width: 100%;
  }
  .gallery__button {
    max-width: none;
  }
  .house-detail__variants .variants__scrollbar {
    display: none;
  }
  .house-detail__variants .swiper-wrapper {
    display: flex;
    flex-direction: column;
    height: fit-content;
    gap: 12px;
    transform: translate3d(0px, 0px, 0px) !important;
  }
  .house-detail__variants .container .button {
    display: block;
    margin-top: 20px;
  }
  .house-detail__buttons {
    flex-direction: column;
  }
  .house-detail__tag {
    font-size: 14px;
  }
  .houses__item-title {
    font-size: 20px;
  }
  .houses__item-title sup {
    font-size: 14px;
  }
  .houses__item-variants {
    font-size: 14px;
  }
  .houses__item-tag {
    font-size: 14px;
  }
  .hypothec__card, .hypothec .card {
    width: 100%;
    margin-right: 0;
  }
  .hypothec__card-title {
    font-size: 22px;
  }
  .hypothec .button {
    font-size: 16px;
  }
  .infrastructure__about {
    gap: 50px;
    margin-top: 60px;
  }
  .infrastructure__about-block:nth-child(1) .infrastructure__about-block-content .button {
    margin-top: 20px;
  }
  .infrastructure__about-block-title {
    font-size: 22px;
    line-height: 26px;
    margin-bottom: 10px;
  }
  .location__card {
    margin-bottom: 35px;
  }
  .location__legends-wrapper {
    gap: 10px;
  }
  .location__legend {
    flex: 0 1 90px;
  }
  .map {
    height: 400px;
    margin-top: 40px;
  }
  .ymaps-2-1-79-controls__control {
    inset: 150px 0px auto auto !important;
  }
  .news-article__buttons a {
    font-size: 14px;
  }
  .news-page .flex-row {
    row-gap: 30px;
  }
  .news-page .flex-row .card {
    width: 100%;
    margin-right: 0;
  }
  .news__button {
    max-width: none;
  }
  .partners__manager {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .partners__post {
    font-size: 14px;
  }
  .popup__close {
    transform: scale(0.8);
  }
  .popup-phone .container {
    padding: 48px clamp(16px, 5vw, 36px);
  }
  .popup-phone__subtitle {
    font-size: 16px;
    line-height: 19px;
  }
  .popup-phone__close {
    top: 14px;
    right: 14px;
  }
}