/* Override hit item card layout */
.ais-Hits {
    display: grid;
}

/* Image and content should stack on small screens */
@media (max-width: 425px) {
  .ais-Hits-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  word-wrap: break-word;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1rem;
  background-color: #fff;
  }
}

/* Search Boxes and Spaces */
      #searchbox {
      margin-bottom: 2rem;
    }

    /* Optional default card style for desktop */
    .ais-Hits-item {
      border: 1px solid #ccc;
      padding: 1rem;
      margin-bottom: 1rem;
      border-radius: 5px;
      background-color: #fff;
    }