* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-module {
  display: flex;
  flex-direction: row;
  background-color: #fff2bc;
  border: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 20px 0;
  transition: box-shadow 0.3s, transform 0.3s;
  align-items: stretch;
  height: 100%; 
}

.card-image-container {
  flex: 0 0 40%;
  display: flex;
  align-items: stretch; 
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; 
}

.card-text-container {
  flex: 1;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: flex-start; 
}

.card-text-container h3 {
  font-size: 18px;
  margin-bottom: 10px; 
}

.card-text-container p {
  margin: 0; 
}
.card-module:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}

@media (min-width: 767px) {
  .card-module {
    flex-direction: row; 
    width: 100%; 
    height: 100%
  }

  .card-image-container, 
  width: 50%; 
  height: 100%
}

.card-text-container {
  width: 50%; 

}
