.carousel-inner img {
  width: 225px;
  height: 150px;
}


body {
  font-family: Arial, sans-serif;
}
#cp-contents {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 60px;
  padding: 20px;
  padding-bottom: 0px;
}

.category-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cp-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 20px;
  padding: 20px 0px 20px 0px;
}

.cp-post {
  text-align: center;
/*     background-color: white;
  border: 1px solid #ccc;
 padding: 10px; */
  box-sizing: border-box;
}

.cp-post img {
  width: 100%;
  height: auto;
/*   max-width: 150px;
  max-height: 200px; */
  object-fit: contain;
  margin-bottom: 4px;
}

.cp-post p {
  margin-top: 2px;
  font-size: 16px;
}

.breadcrumb{
  padding-top: 24px;  
  padding-bottom: 20px; 
}


.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
/*   padding-top: 110px; */
}

.category-header > h1 {
  margin-bottom: 0px;
}

#sort-select {
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
  font-size: 14px;
  padding: 6px 10px;
  outline: none;
  cursor: pointer;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.pagination a {
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  margin: 0 2px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.pagination a.active,
.pagination a:hover {
  background-color: #f2f2f2;
  color: #000;
}

.pagination a:not(.active):hover {
  border-color: #888;
}


.related-categories {
  background-color: #272727;
  border-radius: 5px;
  margin: 30px 0;
}

.related-categories h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.related-categories ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-categories li {
  background-color: var(--primary-color);
  color: white;
  border-radius: 3px;
  padding: 8px 12px;
  border: 1px solid var(--primary-color);
}

.related-categories a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.related-categories a:hover {
  text-decoration: none;
}

.related-categories li:hover {
  background-color: var(--primary-color-darker);
  color: #fff;
  border: 1px solid var(--primary-color);
}



@media (max-width: 480px) {
  .container {
      grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
  }
  #sort-select {
      max-width: 100px !important;
  }
}