.case-content {
    padding: 1.5rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 колонка по умолчанию */
  gap: 2rem; /* gap-8 в Tailwind = 2rem */
}

/* Адаптив для md (768px и выше) */
@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  }
}

.cases-head {
  height: 12rem; 
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.cases-head-1 {
background: linear-gradient(to bottom right, #4f46e5, #9333ea);
}
.cases-head-2 {
  background: linear-gradient(to bottom right, #2563eb, #4f46e5);
}
.cases-head-3 {
  background: linear-gradient(to bottom right, #9333ea, #db2777);
}

.cases-icon {
  font-size: 3rem;  
  line-height: 1;
}

.cases-heading { 
    font-size: 1rem;
    font-weight: 600;
}

.cases-block {
  margin-bottom: 0.75rem;
}



.cases-baground {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* h-1/2 */
  background: linear-gradient(to top, #111827, transparent); 
  opacity: 0.5;
  pointer-events: none; 
}