
/* ALL CATEGORIES TEMPLATE */

.cat-page-title {
    padding-top: 65px;
    padding-bottom: 29px;
}

.cat-page-description {
    max-width: 964px;
    margin: auto;
}

.cat-container {
    position: relative;
    padding-top: 65px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.cat-item {
    width: 16.66%;
    padding: 5px;
    position: relative;
    margin-bottom: 40px;
}

.cat-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #252525;
}

.cat-item a:hover {
    text-decoration: none;
}

.cat-item .cat-bg {
    position: absolute;
    top: 5px;
    background-color: #fecb00;
    border-radius: 100%;
}

.cat-item a img {
    position: relative;
    filter: brightness(0) sepia(1) hue-rotate(-70deg) saturate(0);
}

.cat-item .cat-bg,
.cat-item a img {
    width: 83px;
    height: 83px;
}

.cat-item:hover .cat-bg,
.cat-item.current a .cat-bg {
    background-color: #d0103a;
}

.cat-item:hover a img,
.cat-item.current a img {
    filter: none;
}

.cat-item .cat-name {
    margin-top: 13px;
    font-size: 18px;
    font-weight: 700;
    max-width: 103px;
    line-break: auto;
    hyphens: auto;
}

@media screen and (max-width: 1080px) {
    .cat-item {
        width: 25%;
    }
    .cat-item .cat-bg,
    .cat-item a img {
        width: 75px;
        height: 75px;
    }
}

@media screen and (max-width: 768px) {
    
    .cat-page-title {
        padding-top: 100px;
        padding-bottom: 29px;
    }

    .cat-container {
        padding-bottom: 30px;
    }

    .cat-item {
        width: 33.33%;
        margin-bottom: 45px;
    }

    .cat-item .cat-name {
        font-size: 16px;
    }

    .cat-item .cat-bg,
    .cat-item a img {
        width: 60px;
        height: 60px;
    }
}

