// Frontend styles for the card block

.vitalisite-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;

  background-color: #fff;
  border: 1px solid var(--wp--preset--color--border-light);
  border-radius: var(--wp--custom--image-radius);
  padding: 2.5rem;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.05),
    0 4px 6px -2px rgba(0, 0, 0, 0.025);

  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease;

  &:hover {
    transform: translateY(-5px);
    box-shadow:
      0 20px 25px -5px rgba(0, 0, 0, 0.1),
      0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  > * + * {
    margin-top: 1.5rem;
  }

  h3 {
    margin-bottom: 1rem;
    margin-top: 0;
    font-weight: 300;
  }
}
