
.board-grid {
  flex: 1;
  padding: 0 24px 40px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  align-items: start; /* avoid stretching items vertically */
}

.board-card {
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 16px 30px rgba(15,23,42,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(15,23,42,0.16);
}

.board-card .title {
  font-weight: 700;
  font-size: 16px;
}

.board-card .thumb {
  height: 6px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(59, 130, 246, .35), rgba(16, 185, 129, .35), rgba(234, 179, 8, .35));
}

.board-card .actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.board-card__image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.board-card__image img {
  display: block;
  width: 100%;
  height: 120px; /* compact thumbnail height */
  object-fit: cover;
  border-radius: 10px;
}

.empty-state {
  margin: 40px;
  padding: 60px;
  border-radius: 20px;
  border: 1px dashed var(--line);
  background: rgba(255,255,255,0.86);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
}

.empty-state .ico {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #dbeafe, #fef9c3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
