/*** Category ***/
.category-2 {
    margin: 50px 0 0;
    padding: 60px 0;
}
.category-2__list {
    margin: 0 -10px;
    display: flex;
    flex-wrap: wrap;
}
.category-2__item {
    margin: 0 0 20px;
    padding: 0 10px;
    flex: 1 0 25%;
}
.on-row-2 .category-2__item {
    flex: 0 0 50%;
}
.on-row-3 .category-2__item {
    flex: 0 0 33.3333%;
}
.on-row-4 .category-2__item {
    flex: 0 0 25%;
}
.on-row-5 .category-2__item {
    flex: 0 0 20%;
}
.on-row-6 .category-2__item {
    flex: 1;
}

.category-2__item figure {
    position: relative;
}
.category-2__content {
    padding-bottom: 15%;
    position: absolute;
    background-color: #00000033;
    color: #FFF;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.category-2__item:hover .category-2__content {
    background-color: #0000004a;
}
.category-2__content h3 {
    color: #000;
    font-family: var(--body-font);
    font-weight: 300;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0;
    padding: 12px 20px;
    background-color: #fff;
}
@media (max-width: 768px) {
    .category-2__list .category-2__item {
        flex: 1 0 50% !important;
    }
}
@media (max-width:576px) {
    .category-2 {
        margin: 20px 0 0;
        padding: 30px 0;
    }
    .category-2__list .category-2__item {
        margin: 0 0 10px;
        flex: 1 0 100% !important;
    }
}