.category-cells {
    width: 100%;
    max-width: 1920px;
    padding: 0 40px;
    margin: 0 auto;
}

.category-cells .category-cells__title {
    font-family: Oswald, sans-serif;
    max-width: 732px;
    margin: 0 auto 30px;
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
}

.category-cells .category-cells__lists {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 16px;
}

.category-cells .category-cells__list {
    display: grid;
    grid-template-columns: 534fr 362fr;
    grid-gap: 16px;
}

.category-cell {
    position: relative;
    overflow: hidden;
    background-color: rgba(248, 248, 248, 1);
}

.category-cell:first-child {
    grid-row: 2 span;
}

.category-cell .category-cell__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.category-cell picture {
    display: block;
    width: 100%;
    height: 100%;
}

.category-cell .category-cell__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    transition: transform 0.2s ease-in-out;
}

.category-cell .category-card__title {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1;
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
}

@media (hover: hover) {
    .category-cell:hover .category-cell__image {
        transform: scale(1.1);
    }
}

@media screen and (max-width: 1439px) {
    .category-cells {
        padding: 0 26px;
    }

    .category-cells .category-cells__title {
        max-width: 488px;
        margin: 0 auto 20px;
        font-size: 32px;
        line-height: 37px;
    }

    .category-cells .category-cells__lists,
    .category-cells .category-cells__list {
        grid-gap: 11px;
    }

    .category-cell .category-card__title {
        top: 20px;
        left: 20px;
        font-size: 16px;
        line-height: 20px;
    }
}

@media screen and (max-width: 1023px) {
    .category-cells {
        padding: 0 20px;
    }

    .category-cells .category-cells__title {
        max-width: unset;
        font-size: 28px;
        line-height: 32px;
    }

    .category-cells .category-cells__lists,
    .category-cells .category-cells__list {
        grid-gap: 8px;
    }

    .category-cells .category-cells__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        aspect-ratio: 1 / 1;
    }

    .category-cell .category-cell__image {
        object-fit: cover;
        object-position: center;
    }
    .category-cell:first-child {
        grid-row: unset;
        grid-column: 2 span;
    }

    .category-cell .category-card__title {
        top: 12px;
        left: 12px;
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width: 767px) {
    .category-cells {
        padding: 0 16px;
    }

    .category-cells .category-cells__lists {
        grid-template-columns: 1fr;
    }
}
