#biblioteka-kategorie .bc-categories {
  display: flex;
  flex-wrap: wrap;
}

#biblioteka-kategorie .bc-categories .bc-category {
  width: 100%;
  padding: 0 10px;
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  #biblioteka-kategorie .bc-categories .bc-category {
    width: 33%;
  }
}

@media screen and (min-width: 1200px) {
  #biblioteka-kategorie .bc-categories .bc-category {
    width: 25%;
  }
}

#biblioteka-kategorie .bc-categories .bc-category a {
  position: relative;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 250px;
}

#biblioteka-kategorie .bc-categories .bc-category a h3 {
  position: absolute;
  bottom: -1px;
  margin: 0;
  padding: 10px;
  background-color: #1F2935;
  width: 100%;
  font-size: 19px;
  font-weight: 400;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  clip-path: polygon(0 0, 100% 25%, 100% 100%, 0% 100%);
}

#biblioteka-kategorie .bc-categories .bc-category a:hover h3,
#biblioteka-kategorie .bc-categories .bc-category a:focus h3 {
  background-color: #fff;
  opacity: 0.9;
}

#biblioteka-kategorie .bc-categories .bc-category a img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.cwiczenie-template #icon-box-custom .elementor-shortcode {
  text-align: center;
  color: #ef7f1a;
  font-weight: 600;
}

.cwiczenie-template #bg-color {
  background-color: #fff8ee;
}

.cwiczenie-template .bc-related-exercises {
  display: flex;
  flex-wrap: wrap;
}

.cwiczenie-template .bc-related-exercises .bc-exercise {
  width: 100%;
  padding: 10px;
  background-color: antiquewhite;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .cwiczenie-template .bc-related-exercises .bc-exercise {
    width: 48%;
    margin-right: 10px;
  }
}

@media screen and (min-width: 1200px) {
  .cwiczenie-template .bc-related-exercises .bc-exercise {
    width: 32%;
  }
}

.cwiczenie-template .bc-related-exercises .bc-exercise img {
  width: 100%;
  object-fit: cover;
  height: 260px;
}

.cwiczenie-template .bc-related-exercises .bc-exercise h4 {
  color: #5b5b5b;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 0;
  max-height: 81px;
  line-height: normal;
  margin-top: 10px;
}

#category-posts article {
  padding: 10px;
  background-color: antiquewhite;
}

#category-posts article .elementor-post__thumbnail {
  padding-bottom: 0 !important;
}

#category-posts article .elementor-post__thumbnail__link {
  margin-bottom: 10px;
}

#category-posts article img {
  width: 100%;
  object-fit: cover;
  height: 260px;
}

#category-posts article h3 a {
  color: #5b5b5b;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 0;
  max-height: 81px;
  line-height: normal;
  margin-top: 10px;
  display: block;
  margin-top: 0;
}

#category-posts article .elementor-post__meta-data,
#category-posts article .elementor-post__excerpt,
#category-posts article .elementor-post__read-more {
  display: none;
}

#popular-posts .bc-popular-exercises {
  display: flex;
  flex-wrap: wrap;
}

#popular-posts .bc-popular-exercises .bc-exercise {
  width: 100%;
  padding: 10px;
  background-color: antiquewhite;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  #popular-posts .bc-popular-exercises .bc-exercise {
    width: 48%;
    margin-right: 10px;
  }
}

@media screen and (min-width: 1200px) {
  #popular-posts .bc-popular-exercises .bc-exercise {
    width: 32%;
  }
}

#popular-posts .bc-popular-exercises .bc-exercise img {
  width: 100%;
  object-fit: cover;
  max-height: 260px;
  min-height: 260px;
}

#popular-posts .bc-popular-exercises .bc-exercise h4 {
  color: #5b5b5b;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 0;
  max-height: 81px;
  line-height: normal;
  margin-top: 10px;
}
