.subtitle {
  margin-top: 40px;
}

@media (min-width:768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .grid .card {
    display: grid;
    gap: var(--gap);
    /*grid-template-columns: repeat(3, 1fr);*/
    grid-template-columns: 2fr 2fr 1fr;
    margin-bottom: 40px;
    transition: transform 0.3s ease-in-out;
  }

  .grid .card .right {
    text-align: center;
    margin: auto;
  }

  .grid .card .image img {
    /* border-radius: 100%; /* Make image round */
    margin-bottom: 15px;
    object-fit: cover; /* Ensures image covers the space without distortion */
  }

  .card:hover {
    transform: scale(1.00);
  }

}

@media (max-width:768px) {
  .grid .card .right {
    margin-top: 10px;
    transition: transform 0.3s ease-in-out;
  }

  .card:hover {
    transform: scale(1.00);
  }
}

/* JOIN Button */
.join-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.join-button:hover {
  background-color: grey; /* Slightly darker on hover */
}