.card-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin: 2rem 0;
}

.card {
  background: var(--bg, #ffffff);
  border-radius: 10px;
  padding: 1rem;
  border: rgba(0, 0, 0, 0.2);
  border-width: 2px;
  border-style: solid;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.card h3 {
  margin: 0.4rem 0 0.3rem 0;
  font-size: 1.1rem;
}

.card .subtitle {
  color: #666;
  font-size: 1.2rem;
}

.table-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}
table {
  width: 100% !important;
  table-layout: fixed; /* Ensures columns distribute space evenly */
}
table th,
table td {
  word-wrap: break-word;
}