.objects {
    display: flex;
    gap: 40px;
    flex-direction: column;
}

.objects__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.objects__subtitle {
    flex: 1 1 0;
    color: var(--color-text-on-dark-muted);
    font-size: 17px;
    line-height: 26px;
}

.objects__title {
    flex: 1 1 0;
    font-family: var(--font-accent);
    font-size: 36px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0.01em;
    text-align: right;
    text-transform: uppercase;
}

.objects__grid {
    display: flex;
    gap: 12px;
}

.objects__column {
    display: flex;
    gap: 12px;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
}

.object-card {
    position: relative;
    flex: 1 1 0;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.object-card_size_wide {
    flex: 0 0 606px;
    height: 300px;
}

.object-card__image {
    position: absolute;
    width: 100%;
    inset: 0;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.object-card:hover .object-card__image {
    transform: scale(1.04);
}

.object-card__image_crop_shops {
    object-position: center top;
}

.object-card__image_crop_warehouses {
    object-position: 60% top;
}

.object-card__label {
    position: relative;
    flex: 1 1 0;
    padding: 8px;
    border-radius: 8px;
    background-color: var(--color-white-20);
    backdrop-filter: blur(4px);
    font-size: 18px;
    -webkit-backdrop-filter: blur(4px);
    font-weight: 500;
    line-height: normal;
}

@media (max-width: 1180px) {
    .objects__grid {
        flex-wrap: wrap;
    }

    .objects__column,
    .object-card_size_tall {
        min-height: 300px;
        flex-basis: calc(50% - 6px);
    }

    .object-card_size_wide {
        flex: 1 1 100%;
    }
}

@media (max-width: 767px) {
    .objects__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .objects__column,
    .object-card_size_tall {
        flex-basis: 100%;
    }

    .objects__title {
        font-size: 24px;
        line-height: 27px;
        text-align: left;
    }

    .object-card_size_wide {
        height: 220px;
    }
}
