.digital_marketing .blog_item {
  cursor: pointer;
  display: block;
  margin-top: 30px;
  position: relative;
  padding: 30px;
  padding-top: 41% !important;
  overflow: hidden;
  background: black;
  background: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0) 100%, rgba(0, 0, 0, 0) 100%);
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .digital_marketing .blog_item {
    padding: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .digital_marketing .blog_item {
    margin-top: 20px;
    padding: 20px;
    padding-top: 35% !important;
  }
}

.digital_marketing .blog_item:hover img {
  transform: scale(1.05);
}

.digital_marketing .blog_item:hover h4 {
  opacity: .7;
}

.digital_marketing .blog_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all .4s ease-in-out;
  transform: scale(1);
}

.digital_marketing .blog_item span {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: var(--frontend-white, #ffffff);
  font-weight: 700;
  display: block;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .digital_marketing .blog_item span {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 767px) {
  .digital_marketing .blog_item span {
    margin-bottom: 10px;
  }
}

.digital_marketing .blog_item h4 {
  display: block;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 25px;
  transition: all .4s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--frontend-white, #ffffff);
  margin-bottom: 0px;
}

@media only screen and (min-width: 1200px) and (max-width: 1439px) {
  .digital_marketing .blog_item h4 {
    font-size: 18px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .digital_marketing .blog_item h4 {
    font-size: 18px;
  }
}

@media only screen and (max-width: 991px) {
  .digital_marketing .blog_item h4 {
    font-size: 18px;
  }
}
