/* .hero-section {
  background-image: url(/images/hero-bg.png);
  background-size: cover;
  height: 317px;
  margin-top: -120px;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
} */
.news-content {
  padding: 70px 10%;
}

/* .container {
  max-width: 100%;
  margin: 20px auto;
  padding: 0;
} */
.new-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
  row-gap: 50px;
}
.blog-post {
  padding: 0;
  box-sizing: border-box;
}
/* .blog-post a, .blog-post * {
  text-decoration: none;
} */
a:has(.blog-post) {
  text-decoration: none;
}
.blog-image {
  position: relative;
  height: 50vh;
  max-height: 470px;
}
.blog-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* .blog-post h5,
.blog-post h2,
.blog-post p {
  padding-left: 25px;
} */


.blog-image span, .single-news-bg span {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 15px 35px;
}

/* .blog-post h5 {
  font-size: 16px;
  color: #808080;
  font-weight: 400;
} */

.blog-post p {
  /* padding-bottom: 30px; */
  /* margin-top: -15px; */
  /* color: #bcbcbc; */
  font-size: 14px;
  letter-spacing: 0;
  color: #08234580;
  margin-bottom: 0;
  display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.blog-post h2 {
  margin: 15px 0;
  font-size: 24px;
  color: var(--primary-color);
  font-family: "Jost";
  font-weight: 700;
  line-height: 35px;
  letter-spacing: 1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 70px;
}

.blog-post h2:hover {
  text-decoration: underline;
    text-decoration-color: var(--primary-color); 
}
.pagination {
  /* clear: both;
  text-align: center; */
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pagination a,
.pagination button {
  margin: 0 15px;
  min-width: 36px;
  height: 36px;
  border-radius: 0;
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  transition: all 0.5s;
  font-size: 24px;
  font-weight: 600;
}
.pagination a:hover,
.pagination button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 0 !important;
}

.active  {
  background-color: var(--primary-color) !important;
  color: var(--secondary-color) !important;
}

.pagination a.arrow {
  border: none;
}
.pagination a.arrow:hover {
  background-color: #fff;
}
@media only screen and (max-width: 1199px) {
  .new-container {
    grid-template-columns: 1fr 1fr; 
  }
}
@media only screen and (max-width: 768px) {
  .news-content {
    padding: 50px 5%;
  }
  .new-container {
    grid-template-columns: 1fr; 
    gap: 40px;
  }
  /* .hero-section {
    height: 217px;
    margin-top: 0px;
    padding-left: 5%;
    background-position: center;
  } */

  /* .blog-post {
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
    box-sizing: border-box;
    background-color: #f9f9f9;
    border-radius: 25px;
    float: left;
  } */
  .blog-post h2 {
    min-height: unset; 
    font-size: 18px;
    margin: 10px 0;
    line-height: 150%;
  }
  .blog-image {
    height: 30vh;
  }
  .blog-image span, .single-news-bg span {
    font-size: 14px;
    padding: 10px 25px;
  }
  .pagination a, .pagination button {
    margin: 0 5px;
    font-size: 14px;
    min-width: 24px;
    height: 24px;  
  }
  .pagination a.arrow svg {
    max-width: 30px;
  }
}
