.p2-block-used-in-these-projects h3 {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
}

.p2-block-used-in-these-projects h3::after {
  border-top: 2px solid #f58f2a;
  content: '';
  display: block;
  margin: 12px auto 0;
  padding-bottom: 10px;
  width: 150px;
}


.p2-block-used-in-these-projects ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none !important;
  justify-content: center;
  margin: 0 0 0 -30px;
}

.p2-block-used-in-these-projects ul li {
  margin-bottom: 30px;
  padding: 0;
  width: 25%;
}

.p2-block-used-in-these-projects ul li a {
    display: flex;
    flex-direction: column;
    padding: 0 0 0 30px;
    height: 100%;
}

.p2-block-used-in-these-projects .p2-block-thumbnail {
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    height: 140px;
    overflow: hidden;
}

.p2-block-used-in-these-projects .p2-block-thumbnail img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.p2-block-used-in-these-projects .p2-block-title {
    background: #f0f0f0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    line-height: 1.2;
    padding: 16px 20px;
}

@media only screen and (max-width: 1024px) {
  .p2-block-used-in-these-projects ul li {
    width: 50% !important;
  }
}

@media only screen and (max-width: 767px) {
  .p2-block-used-in-these-projects ul li {
    width: 100% !important;
  }
}
