.category_list {
  column-gap: 16px !important;
  row-gap: 0px;
}
.category_list_top{
    gap: 21px;
    margin-bottom: 38px;
}
.cat_items img {
    width: 100%;
    object-fit: contain;
    padding: 0px;
    /* aspect-ratio: 1/1; */
    max-height: 211px;
}

.cat_items {
    /* display: flex;
    flex-direction: column; */
    align-items: center;
    background: #fff;
    border-radius: 0px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #CD8C71;
    display: flex;
    flex-direction: column;
}

.cat_items h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    /* or 14px */
    letter-spacing: 1%;
    /* Barva pisave - Temno modra */
    color: #ffffff;
    font-family: 'Manrope';
}

.sub_c_title_wrapper {
    padding: 21px 26px;
    background-color: #CD8C71;
    display: block;
    width: 100%;
    flex-grow: 1;
}

.sub_c_title_wrapper h3:after {
    content: "";
    background-image: url('data:image/svg+xml,<svg width="12" height="9" viewBox="0 0 12 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.56421 8.20213C6.1017 7.85104 6.1017 7.15559 6.56421 6.80451L6.66904 6.72493C7.41479 6.15884 7.01445 4.96931 6.07818 4.96931L0.778724 4.96931C0.348509 4.96931 -0.0002511 4.62055 -0.000251075 4.19033C-0.000251049 3.76012 0.348508 3.41136 0.778724 3.41136L6.07817 3.41136C7.01445 3.41136 7.41479 2.22183 6.66904 1.65573L6.56421 1.57616C6.1017 1.22508 6.1017 0.529623 6.56421 0.17854C6.87779 -0.059495 7.31154 -0.059495 7.62512 0.178541L10.8115 2.59731C11.8659 3.39765 11.8659 4.98302 10.8115 5.78336L7.62512 8.20213C7.31154 8.44016 6.87779 8.44016 6.56421 8.20213Z" fill="white"/></svg>');
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: 13px;
    display: inline-block;
    width: 13px;
    height: 9px;
    margin-top: 2px;
}

.sub_c_title_wrapper h3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 0 !important;
}

@media (min-width: 992px) {
    .cat_items h3 {
        font-size: 18px;
    }
    .sub_c_title_wrapper {
        padding: 20px 25px;
    }
}



.cat_items{
  width: 100%;
  max-width: calc((100% - 32px) / 3);
  margin-bottom: 38px;
}
.category_list{
  display: flex;
  flex-wrap: wrap;
}

.cat_items:nth-child(n+4){
  width: 100%;
  max-width: calc((100% - 48px) / 4);
}


@media (max-width: 767px) {
    .cat_items {
    width: 100%;
    max-width: calc((100% - 16px) / 2);
    margin-bottom: 7px;
    }

    .cat_items:nth-child(n+4){
    width: 100%;
    max-width: calc((100% - 16px) / 2);
    margin-bottom: 7px;
    }

    .cat_items h3 {
    font-size: 13px;
    }

    .sub_c_title_wrapper {
    padding: 8px 12px;
    }
}