.objects-item.inside .top .block-top_justify-start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: nowrap;
}

.objects-item.inside .top .block-top_justify-start .left_justify-start {
    display: flex;
    align-items: center;
    gap: 44px;
    flex: 0 0 auto;
    min-width: 0;
    margin-bottom: 0;
}

.objects-item.inside .top .catalog-sort-controls p {
    width: auto;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.objects-item.inside .top .catalog-sort-controls a {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.objects-item.inside .top .catalog-sort-controls__direction {
    font-size: 0.8em;
    line-height: 1;
}

.objects-item.inside .top .block-top_justify-start .right_d-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
}

.objects-item.inside .top .block-top_justify-start .right_d-flex > p {
    width: auto;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.objects-item.inside .middle .test-block,
.objects-item.inside .middle .item-price,
.objects-item.inside .middle .item-price .block,
.objects-item.inside .middle .item-price .catalog-offer-card__image,
.objects-item.inside .middle .item-price .catalog-offer-card__gallery,
.objects-item.inside .middle .item-price .catalog-offer-card__photo,
.objects-item.inside .middle .item-price .images-grid,
.objects-item.inside .middle .item-price .text-item,
.objects-item.inside .middle .item-price .person-block,
.objects-item.inside .middle .item-price .price-text {
    box-sizing: border-box;
}

.objects-item.inside .middle .test-block {
    min-width: 0;
}

.objects-item.inside .middle .item-price .block {
    display: grid;
    grid-template-columns: minmax(230px, 252px) minmax(0, 1fr) minmax(170px, 28%);
    align-items: stretch;
}

.objects-item.inside .middle .item-price .catalog-offer-card__image {
    display: block;
    width: 100%;
    min-width: 0;
}

.objects-item.inside .middle .item-price .catalog-offer-card__gallery {
    display: block;
    position: relative;
    width: 100%;
    max-width: none !important;
    min-height: 260px;
    overflow: hidden;
    background-color: #f4f4f4;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.objects-item.inside .middle .item-price .catalog-offer-card__gallery .swiper-wrapper,
.objects-item.inside .middle .item-price .catalog-offer-card__gallery .swiper-slide {
    min-height: 260px;
}

.objects-item.inside .middle .item-price .catalog-offer-card__photo {
    display: block;
    width: 100% !important;
    height: 260px !important;
    object-fit: cover;
    background-color: #f4f4f4;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.objects-item.inside .middle .item-price .catalog-offer-card__photo--stub {
    object-fit: contain;
    background-size: 112px 112px;
}

.objects-item.inside .middle .item-price .images-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 8px 8px 0;
}

.objects-item.inside .middle .item-price .catalog-offer-card__thumb {
    width: 100%;
    min-width: 0;
}

.objects-item.inside .middle .item-price .text-item,
.objects-item.inside .middle .item-price .person-block {
    min-width: 0;
}

.objects-item.inside .middle .item-price .text-item p,
.objects-item.inside .middle .item-price .text-item a,
.objects-item.inside .middle .item-price .person-block,
.objects-item.inside .middle .item-price .person-block * {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.objects-item.inside .middle .item-price .block .text-item p.catalog-offer-card__address,
.objects-item.inside .middle .item-price .block .text-item p.catalog-offer-card__description {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

.objects-item.inside .middle .item-price .person-block .person-name,
.objects-item.inside .middle .item-price .person-block .person-job {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

.objects-item.inside .middle .item-price .person-block a.person-image,
.objects-item.inside .middle .item-price .person-block a.person-name {
    color: inherit;
    text-decoration: none;
}

.objects-item.inside .middle .item-price .person-block a.person-image {
    display: inline-block;
}

.objects-item.inside .middle .item-price .person-block a.person-name {
    display: block;
}

.objects-item.inside .middle .item-price .person-block .person-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 146px;
    max-width: 100% !important;
    min-height: 38px;
    height: auto !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.objects-item.inside .middle .item-price .person-block .person-button::after {
    display: none !important;
}

.objects-item.inside .middle .item-price .price-text {
    display: grid;
    gap: 8px;
}

.objects-item.inside .middle .item-price .price-text .bottom-price-text {
    display: flex;
    align-items: center;
    gap: 14px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .objects-item.inside .middle .test-block {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .objects-item.inside .middle .item-price .block {
        grid-template-columns: minmax(220px, 34%) minmax(0, 1fr) minmax(170px, 28%);
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__photo {
        height: 250px !important;
    }

    .objects-item.inside .middle .item-price .text-item {
        padding: 18px 16px;
    }

    .objects-item.inside .middle .item-price .text-item .head-item {
        font-size: 24px;
        line-height: 1.15;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__address {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__description {
        font-size: 14px !important;
        line-height: 1.15 !important;
    }

    .objects-item.inside .middle .item-price .person-block .person-button {
        min-width: 138px;
        padding-right: 8px !important;
        padding-left: 8px !important;
        font-size: 13px !important;
    }

    .objects-item.inside .middle .item-price .price-text .top-price-text .top-price {
        font-size: 26px;
        line-height: 1.1;
    }

    .objects-item.inside .middle .item-price .price-text .top-price-text .bottom-price {
        font-size: 16px;
    }

}

@media (max-width: 767px) {
    .objects-item.inside {
        overflow-x: hidden;
    }

    .objects-item.inside .top .block-top_justify-start {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start;
        gap: 12px;
    }

    .objects-item.inside .top .block-top_justify-start .left_justify-start {
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
        gap: 16px;
        margin: 0 !important;
        padding: 0 !important;
    }

    .objects-item.inside .top .catalog-sort-controls p {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto !important;
    }

    .objects-item.inside .top .block-top_justify-start .right_d-flex {
        width: auto !important;
        max-width: none !important;
        flex: 1 1 auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .objects-item.inside .top .catalog-sort-controls a {
        font-size: 14px !important;
        line-height: 1.15 !important;
    }

    .objects-item.inside .top .block-top_justify-start .right_d-flex > p {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
    }

    .objects-item.inside .middle .row-objects-item {
        display: block;
    }

    .objects-item.inside .middle .test-block,
    .objects-item.inside .middle .col-left-objects-item {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }

    .objects-item.inside .middle .item-price {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
    }

    .objects-item.inside .middle .item-price .block {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        min-height: 0;
        padding-right: 0;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
    }

    .objects-item.inside .middle .item-price .block:after,
    .objects-item.inside .middle .item-price .block:before {
        display: none !important;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__image {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__gallery {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0;
        min-width: 0 !important;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__gallery .swiper-wrapper,
    .objects-item.inside .middle .item-price .catalog-offer-card__gallery .swiper-slide {
        min-height: 0;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__photo {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 10;
        max-height: 230px;
        object-fit: cover;
        background-size: contain;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__photo--stub {
        background-size: 82px 82px;
    }

    .objects-item.inside .middle .item-price .images-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        width: 100% !important;
        max-width: 100% !important;
        padding: 7px 7px 0;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__thumb {
        height: 44px !important;
    }

    .objects-item.inside .middle .item-price .text-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 14px 14px 8px;
        overflow: hidden;
    }

    .objects-item.inside .middle .item-price .text-item .plosh {
        font-size: 15px !important;
        line-height: 1.15;
        margin-bottom: 8px !important;
    }

    .objects-item.inside .middle .item-price .text-item .head-item {
        font-size: 22px;
        line-height: 1.15 !important;
        padding-bottom: 8px;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__address {
        display: block !important;
        width: 100% !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__description {
        display: block !important;
        width: 100% !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
    }

    .objects-item.inside .middle .item-price .price-text {
        gap: 8px;
        padding-top: 2px;
    }

    .objects-item.inside .middle .item-price .price-text .top-price-text {
        margin-right: 0;
        margin-bottom: 0 !important;
    }

    .objects-item.inside .middle .item-price .price-text .top-price-text .top-price {
        font-size: 26px;
        line-height: 1.1;
    }

    .objects-item.inside .middle .item-price .price-text .top-price-text .bottom-price {
        font-size: 17px;
        line-height: 1.1;
        margin-bottom: 0;
    }

    .objects-item.inside .middle .item-price .price-text .bottom-price-text {
        gap: 12px;
    }

    .objects-item.inside .middle .item-price .price-text .bottom-price-text .eye,
    .objects-item.inside .middle .item-price .price-text .bottom-price-text .calendar {
        margin-right: 0;
        font-size: 12px;
        line-height: 1.2;
        padding-left: 24px;
        background-size: 13px !important;
    }

    .objects-item.inside .middle .item-price .person-block {
        display: grid;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        justify-items: center;
        gap: 10px;
        padding: 18px 14px 22px;
    }

    .objects-item.inside .middle .item-price .person-block .person-button {
        min-width: 154px;
        max-width: calc(100vw - 56px) !important;
        font-size: 13px !important;
    }
}

@media (max-width: 420px) {
    .objects-item.inside .top .block-top_justify-start {
        gap: 6px;
    }

    .objects-item.inside .top .block-top_justify-start .left_justify-start {
        gap: 8px;
    }

    .objects-item.inside .top .catalog-sort-controls a {
        font-size: 11px !important;
    }

    .objects-item.inside .top .block-top_justify-start .right_d-flex > p {
        font-size: 10px !important;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__photo {
        max-height: 210px;
    }

    .objects-item.inside .middle .item-price .catalog-offer-card__thumb {
        height: 38px !important;
    }

    .objects-item.inside .middle .item-price .text-item {
        padding: 12px 12px 8px;
    }

    .objects-item.inside .middle .item-price .text-item .head-item {
        font-size: 20px;
    }

    .objects-item.inside .middle .item-price .price-text .top-price-text .top-price {
        font-size: 24px;
    }

    .objects-item.inside .middle .item-price .price-text .top-price-text .bottom-price {
        font-size: 16px;
    }
}

.seo-microgoals {
    margin: 34px 0;
    padding: 24px 28px;
    background: #f1f3f3;
    border-left: 5px solid #1c519d;
    box-sizing: border-box;
}

.seo-microgoals--catalog {
    margin: 34px 0 42px;
}

.seo-microgoals *,
.seo-microgoals *::before,
.seo-microgoals *::after {
    box-sizing: border-box;
}

.seo-microgoals__head {
    margin-bottom: 16px;
}

.seo-microgoals__title {
    position: relative;
    margin: 0 0 12px;
    padding-bottom: 12px;
    color: #1a1a1a;
    font-family: 'El Messiri', sans-serif;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 700;
}

.seo-microgoals__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 88px;
    height: 2px;
    background: #e31e25;
}

.seo-microgoals__intro {
    margin: 0;
    max-width: 860px;
    color: rgba(0, 0, 0, 0.68);
    font-size: 15px;
    line-height: 1.5;
}

.seo-microgoals__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0 28px;
}

.seo-microgoals__goal {
    position: relative;
    display: block;
    min-height: 0;
    padding: 14px 0 14px 22px;
    border-top: 1px solid rgba(0, 0, 0, .12);
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
}

.seo-microgoals__goal::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    width: 7px;
    height: 7px;
    background: #e31e25;
}

.seo-microgoals__goal:hover,
.seo-microgoals__goal:focus {
    border-color: rgba(0, 0, 0, .12);
    color: #1c519d;
    background: transparent;
    text-decoration: none;
}

.seo-microgoals__goal span {
    display: block;
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
}

.seo-microgoals__goal small {
    display: block;
    color: rgba(0, 0, 0, 0.64);
    font-size: 14px;
    line-height: 1.45;
}

.seo-microgoals__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}

.seo-microgoals__links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(28, 81, 157, .35);
    background: #fff;
    color: #1c519d;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.seo-microgoals__links a:hover,
.seo-microgoals__links a:focus {
    border-color: #e31e25;
    color: #e31e25;
    background: #fff;
    text-decoration: none;
}

.catalog-landing-copy {
    margin: 38px 0;
    padding: 0 0 0 28px;
    border-left: 5px solid #e31e25;
    color: #222;
    box-sizing: border-box;
}

.catalog-landing-copy *,
.catalog-landing-copy *::before,
.catalog-landing-copy *::after {
    box-sizing: border-box;
}

.catalog-landing-copy h2 {
    margin: 0 0 14px;
    color: #1a1a1a;
    font-family: 'El Messiri', sans-serif;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.catalog-landing-copy p {
    margin: 0 0 14px;
    max-width: 920px;
    color: rgba(0, 0, 0, 0.72);
    font-size: 15px;
    line-height: 1.62;
}

.catalog-landing-copy ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px 28px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.catalog-landing-copy li {
    position: relative;
    margin: 0;
    padding-left: 20px;
    color: rgba(0, 0, 0, 0.68);
    font-size: 15px;
    line-height: 1.55;
}

.catalog-landing-copy li::before {
    content: '';
    position: absolute;
    top: .7em;
    left: 0;
    width: 7px;
    height: 7px;
    background: #1c519d;
}

.catalog-landing-copy__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.catalog-landing-copy__links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(28, 81, 157, .35);
    color: #1c519d;
    background: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.catalog-landing-copy__links a:hover,
.catalog-landing-copy__links a:focus {
    border-color: #e31e25;
    color: #e31e25;
    text-decoration: none;
}

@media (max-width: 575px) {
    .seo-microgoals {
        margin: 30px 0;
        padding: 20px;
    }

    .seo-microgoals__title {
        font-size: 24px;
    }

    .seo-microgoals__grid {
        grid-template-columns: 1fr;
    }

    .catalog-landing-copy {
        margin: 30px 0;
        padding-left: 20px;
    }

    .catalog-landing-copy h2 {
        font-size: 24px;
    }

    .catalog-landing-copy ul {
        grid-template-columns: 1fr;
    }
}
