.catbx-container {
  margin: 20px; 
}

.catbx-list {
  list-style: none; 
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 20px; 
}

.catcard-wrapper {
  width: 100%; 
  max-width: 300px; 
  min-width: 250px;
  min-height: 250px;
}

.catcard-wrapper * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Individual card styling */
.catcard {
  height: 200px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catcard:hover {
  transform: translateY(-5px); 
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); 
}

.catcard-title {
  font-size: calc(1em + 0.3vw);
  margin: 0 0 10px 0;
  color: #6b6b6b;
  font-weight: 600;
}

.catcard-link-title {
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.catcard-description {
  font-size: 0.9em;
  line-height: 1.6;
  color: #6c6c6c;
  margin: 0 0 15px 0;
}

.catcard-link {
  display: inline-block;
  width: 100%;
  padding: 10px 15px;
  background-color: #007bff;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.catcard-link:hover {
  background-color: #0056b3;
}


@media (max-width: 768px) {
  .catcard-wrapper {
    width: 100%; /* Full width for mobile */
  }
}
