.post-ourwork a {
  text-decoration: none !important;
}
.post-ourwork__image {
  position: relative;
  overflow: hidden;
  padding-top: 58%;
}
.post-ourwork__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.post-ourwork__content {
  margin-top: 11px;
}
.post-ourwork__content h2 {
  margin: 0 !important;
}
.post-ourwork__content h2 a {
  color: #bfbfbf;
  font-size: 34px;
  text-transform: capitalize;
}

.post-ourwork__info {
  margin-top: 11px;
  display: flex;
  justify-content: space-between;
  color: #4a4a4a;
  font-size: 17px;
  flex-wrap: wrap;
  gap: 10px;
  padding-right: 40px;
}
.post-ourwork__excerpt {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  padding: 40px;
  color: #bfbfbf;
  font-size: 17px;
  line-height: 140%;
  transition: all ease 0.5s;
  opacity: 0;
}
.post-ourwork__excerpt p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-ourwork__excerpt a {
  text-decoration: underline !important;
  color: #bfbfbf !important;
}
.post-ourwork__excerpt p:last-child {
  margin-bottom: 0;
}
.post-ourwork__excerpt_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  transition: all ease 0.5s;
  opacity: 0;
}
.post-ourwork:hover .post-ourwork__excerpt_overlay,
.post-ourwork:hover .post-ourwork__excerpt {
  opacity: 1;
}

@media screen and (max-width: 1200px) {
  .post-ourwork__content h2 a {
    font-size: 28px;
  }
}

@media screen and (max-width: 1024px) {
  .post-ourwork__content h2 a {
    font-size: 24px;
  }
  .post-ourwork__info {
    margin-top: 2px;
  }
  .post-ourwork__excerpt {
    font-size: 15px;
    padding: 20px;
  }
  .post-ourwork__info {
    font-size: 15px;
  }
}

@media screen and (max-width: 767px) {
  .post-ourwork__content h2 a {
    font-size: 22px;
  }
  .post-ourwork__excerpt {
    font-size: 14px;
  }
  .post-ourwork__info {
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  .post-ourwork__content h2 a {
    font-size: 18px;
  }
}
