.freecard-container {
  width: 395px;
  height: 522px;
  border-radius: 10px;
  margin: 20px;
}

.freecard {
  width: 100%;
  height: 522px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.freecard-background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.freecard-background > div, 
.freecard-background .field--type-image,
.freecard-background .field__item {
  width: 100%;
  height: 100%;
}


.freecard-background img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease-out;
  border-radius: 10px;
}

.freecard:hover .freecard-background img {
  transform: scale(1.15);
}

.freecard-background-filter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.freecard-content {
  padding: 20px;
}

.freecard-top {
  margin-top: 25px;
  display: flex;
  align-content: center;
}


.freecard a:hover {
  color: white;
  text-decoration: none;
}

.freecard-top .freecard-title {
  font-size: 21px;
  font-weight: bold;
  font-style: normal;
  line-height: 1.48;
  z-index: 0;
  margin-bottom: 0;
  margin-top: 18px;
}

.freecard-top svg {
  width: 65.6px;
  height: 65.6px;
  z-index: 0;
  margin-right: 15px;
}

.freecard-text {
  position: absolute;
  top: 140px;
  bottom: 120px;
  left: 20px;
  right: 20px;
  overflow-y: hidden;
  font-size: 18px;
  font-weight: normal;
  font-style: normal;
  line-height: 1.44;
  color: #ffffff;
}

.freecard-date {
  position: absolute;
  bottom: 25px;
  left: 20px;
  opacity: 0.6;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  line-height: normal;
  color: #ffffff;
  text-transform: uppercase;
}

@media only screen and (max-width: 768px) {
    div.freecard{
        width: 100% !important;
        height: 100% !important;
    }
      
    .freecard-container {
        height: 410px !important;
        margin: 20px 0 !important;
    }
    
    .freecard-text, .freecard-text p{
        font-size: 14px;
    }
   
}