.blog-section {
  padding: 60px 0;
}

.blog-section .section-title .section-main-title h2 {
  font-size: 48px;
  color: #020202;
  font-weight: 600;
  margin-bottom: 42px;
}

.blog-section .section-title{text-align:center}

.blog-section .section-sub-title {
  position: relative;
  display: inline-block;
}

.blog-section .section-sub-title h4 {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 7px;
  position: relative;
  padding: 0 50px 0;
}

.blog-section .section-sub-title::before {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  left: 0;
  top: 9px;
}

.blog-section .section-sub-title::after {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  left: -12px;
  top: 17px;
}

.blog-section .section-sub-title h4::before {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  right: 0;
  top: 9px;
}

.blog-section .section-sub-title h4::after {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  right: -12px;
  top: 17px;
}
.blog-items-box {
  border: 1px solid #e2e2e2;
  padding: 0 0 26px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.blog-date {
  position: absolute;
  top: 38px;
  right: 21px;
}

.blog-date span {
  font-size: 20px;
  color: #fff;
  font-family: var(--title-font-family);
  background: var(--color-primary);
  padding: 16px 37px;
}

.blog-content {
  flex: 1;
  margin-left: 20px;
}

.blog-title {
  margin: 12px 0;
  position: relative;
}

.blog-title h4 a {
  font-size: 24px;
  line-height: 34px;
  text-decoration: none;
  color: #020202;
  font-weight: 500;
  transition: .5s;
}

.blog-items-box:hover .blog-title h4 a {
  color: var(--color-primary);
}

.blog-bottom-shape {
  display: inline-block;
  margin-right: 15px;
}

.blog-bottom-title {
  display: inline-block;
  margin-right: 100px;
}

.blog-bottom-title h5 {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #888;
}

.blog-btn {
  margin-top: 20px;
}

.blog-btn a {
  font-size: 18px;
  line-height: 34px;
  color: #020202;
  font-weight: 500;
}
.blog-btn a span {
  text-decoration: underline;
}
.blog-items-box:hover .blog-btn a{
  color: var(--color-primary);
}

.blog-btn a i {
  margin-left: 8px;
}

.blog-items-box.two {
  display: flex;
  padding: 24px 12px;
  margin-bottom: 30px;
}

.blog-thumb.two {
  flex: 1;
}

.blog-thumb.two img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.blog-title.two::before {
  width: 300px;
  left: 44%;
}

.blog-bottom-shape.two {
  margin-right: 3px;
}

.blog-bottom-title.two {
  margin-right: 23px;
}

.blog-section.style-two {
  padding: 108px 0 110px;
}

.blog-section.style-three {
  padding: 110px 0 40px;
}

@media screen and (max-width: 1200px) {
  .blog-items-box.two {
    display: block;
  }

  .blog-thumb.two {
    width: 100%;
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .blog-section {
    padding: 32px 0;
  }
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
  .blog-items-box {
    margin-bottom: 30px;
  }

  .blog-bottom-shape {
    margin-right: 4px;
  }

  .blog-bottom-title {
    margin-right: 20px;
  }


  .blog-section .section-sub-title h4 {
      font-size: 22px;
  }

  .blog-section .section-title .section-main-title h2 {
    font-size: 28px;
    line-height: 28px;
  }
}
.blog-title h4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}