
#wphomecategories {
  margin-top: 24px;
  margin-bottom: 44px;
}

#wphomecategories .wphomecategory-items {
    /* display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-row-gap: 20px;
    box-sizing: border-box; */
    margin-bottom: 2rem;
}

#wphomecategories .wphomecategory-item:hover {
  box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
}

#wphomecategories.wphcbg_normal .wphomecategory-items {
  display: flex;
  flex-flow: wrap;
}

#wphomecategories.wphcbg_normal .wphomecategory-items > div {
  margin-bottom: 2rem;
}

#wphomecategories .wphomecategory-item {
    background-color: #fff;
    cursor: pointer;
    box-sizing: border-box;
    padding: 20px 10px 10px 10px;
    position: relative;
    min-height: 240px;
    height: 100%;
text-align: center;}


#wphomecategories .wphomecategory-item .catbox_img {
  margin-bottom: 21px;
  text-align: center ;
}

#wphomecategories .wpsubcats {
  margin-bottom: 10px;
}
#wphomecategories .wpsubcats li:last-child {
  padding-bottom: 0;
}

#wphomecategories .wpsubcats li {
    padding-bottom: 10px;
}

#wphomecategories .wpsubcats li a {
text-decoration: underline;
cursor: #444;
}
#wphomecategories .wpsubcats li a:hover {
  text-decoration: none;
}

.catbox_head h2 {
          font-size: 20px;
        padding-bottom: 14px;
        font-weight: 600;
}

.catbox_head span {
    display: block;
}




@media (max-width: 991px) {
  #wphomecategories .wphomecategory-item {
    min-height: auto;
  }
#wphomecategories .wphomecategory-item {
  padding: 20px;
}



}


@media (max-width: 399px) {
  .catbox_head h2 {
    font-size: 16px;
}
  #wphomecategories .wphomecategory-item {
    background-position: right -20px bottom;
  }

#wphomecategories .wphomecategory-item {
  padding: 15px;
}



}


@media (min-width: 360px) and  (max-width: 767px) {
div#wphomecategories.wphcbg_normal  .wphomecategory-items > div {
    width: 50%;
}

}


.wphomecategory-item {
    flex: 1 1 auto;
}



@media (min-width: 1600px) {
  #wphomecategories.wphcbg_normal .wphomecategory-items > div {
    width: 20%;
  }
}
