.custom-four-cards-grid {
  display: flex;
  flex-wrap: wrap;

  .custom-card {
    height: 400px;
    flex: 1 1 calc(50% - 1rem);
  }
}

/* Responsive for narrow screens */
@media (max-width: 768px) {
  .custom-four-cards-grid .custom-card {
    flex: 1 1 100%;
  }
}
