.has-hover {
  position: relative;
  overflow: hidden;
}
.has-hover img {
  scale: 1;
  transition: all 0.3s ease-in-out;
}
.has-hover:hover img {
  scale: 1.06;
}
.relative {
  position: relative;
  z-index: 2;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1.12rem;
}
.title-main h1,
.title-main h2 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.25rem;
  color: var(--theme-color);
}
@media (max-width: 767.98px) {
  .title-main h1,
  .title-main h2 {
    font-size: 1.5rem;
  }
  body .container {
    /* max-width: 100%; */
  }
}
/* Banner */
.banner-page {
  height: 30.625rem;
}
.banner-page .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.banner-page .container .title-header h1 {
  color: #fff;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
}
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1a6000 0%, #0b8343 100%);
  mix-blend-mode: soft-light;
}
.banner-page ul {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.banner-page ul li {
  color: #fff;
  list-style: none;
  font-size: 1.25rem;
  position: relative;
}
.banner-page ul li:nth-child(n + 2)::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -1rem;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
}
@media (max-width: 767.98px) {
  .banner-page {
    height: 20rem;
    padding: 0;
  }
  .banner-page .section-bg {
    background-size: cover;
  }
  .banner-page .container .title-header h1 {
    font-size: var(--24);
    line-height: 1.5;
  }
  .single-post .banner-page .container .title-header h1 {
    font-size: 1.5rem;
  }
  .banner-page ul li {
    font-size: 1rem;
  }
}
/* Archive Post */
.page-archive {
  background: #f7f7f7;
  padding-bottom: 2.88rem;
}
.archive-post .archive-content {
  padding: 3rem 2.63rem;
  background: #fff;
  border-radius: 0.635rem;
  margin-top: -5rem;
}
.archive-post h2 {
  color: #0b8343;
  font-size: 2rem;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.archive-post .grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr 23.4375rem;
  column-gap: 3rem;
}
.archive-post .post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.87rem;
  row-gap: 2rem;
}
.archive-post .category-post .list-cat ul {
  display: flex;
  gap: 1.19rem;
  margin-bottom: 1.56rem;
}
.archive-post .category-post .list-cat ul li {
  list-style: none;
  flex-shrink: 0;
}
.archive-post .category-post .list-cat ul li a {
  color: #2e2e2e;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 6.25rem;
  border: 1px solid #d9d9d9;
}
.archive-post .category-post .list-cat ul li.active a,
.archive-post .category-post .list-cat ul li:hover a {
  border-radius: 6.25rem;
  background: linear-gradient(90deg, #0b8343 64.62%, #6ebc54 100%);
  box-shadow: 0px 0px 6px 0px rgba(255, 255, 255, 0.6) inset;
  border: 0;
  color: #fff;
  padding: 0.75rem 1.55rem;
}
.box-blog-post .box-image a {
  display: block;
}
.box-blog-post .box-image .image-cover {
  border-radius: 0.625rem;
  background: #d9d9d9;
  aspect-ratio: 16/9;
  padding-top: 0;
}
.box-blog-post .box-text {
  padding: 1.25rem 0 0;
}
.box-blog-post .box-text .post-cat {
  color: #4a4a4a;
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.box-blog-post .box-text .title a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #2e2e2e;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.375rem;
}
.box-blog-post .box-text .title a:hover {
  color: var(--theme-color);
}
.box-blog-post .btn-primary {
  color: var(--theme-color);
  font-size: 0.9375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.68rem;
  padding: 0;
  margin-top: 0.25rem;
  position: relative;
}
.box-blog-post .btn-primary:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--theme-color);
  transition: all 0.3s ease-in-out;
}
.box-blog-post .btn-primary:hover:before {
  width: 100%;
}
.blog-sidebar {
  border-radius: 0.5rem;
  border: 1px solid #d6f6cc;
  background: linear-gradient(0deg, #0b8343 0%, #6ebc54 100%);
  padding: 2.19rem 2.25rem;
}
.blog-sidebar .title-sidebar {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding-bottom: 1.75rem;
  margin-bottom: 1.44rem;
  border-bottom: 1px solid rgba(214, 246, 204, 0.5);
}
.featured-news ul li {
  list-style: none;
}
.featured-news ul li:nth-child(n + 2) {
  margin-top: 1.5rem;
  padding-top: 1.38rem;
  border-top: 1px solid rgba(214, 246, 204, 0.5);
}
.featured-news ul li .post-cat {
  color: #cbeab0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.375rem;
  text-transform: uppercase;
  margin-bottom: 0.31rem;
}
.featured-news .post-title a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.375rem;
}
.col-sticky {
  position: sticky;
  top: 4rem;
}
.pagination-ajax {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.88rem;
  column-gap: 1rem;
}
.pagination-ajax .page-numbers {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 0.3125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: normal;
  color: #a5a5a5;
}
.pagination-ajax .page-numbers.current {
  background: #6ebc54;
  color: #fff;
}
/* Single */
.blog-single {
  background: #f7f7f7;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.blog-single .blog-single_content .grid-cols-2 {
  display: grid;
  grid-template-columns: 15.4375rem 1fr;
  column-gap: 3rem;
}
.blog-single .blog-content {
  background: #fff;
  padding: 3rem 2.63rem;
  border-radius: 0.625rem;
}
.blog-single .blog-content ul{
  margin-left:1.3rem;
  margin-bottom:1rem
}
.blog-single .blog-content ul li{
  margin-bottom:0.5rem
}
.social-share {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}
.social-share .title {
  color: #2e2e2e;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.social-share .share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
}
.social-share .share-btn.facebook {
  background: #3b5998;
}
.social-share .share-btn.twitter {
  background: #1da1f2;
}
.social-share .share-btn.linkedin {
  background: #0077b6;
}
.social-share .share-btn.pinterest {
  background: #bd081c;
}
.social-share .share-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
  fill: #fff;
}
.related-post {
  padding: 3rem 2.63rem;
}
.related-post .post-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.56rem;
}
.related-post .title-main h2 {
  margin-bottom: 2rem;
}

.error-404 {
  margin: 0;
  padding: var(--50) var(--section) var(--50);
}
.error-404 .title {
  text-align:center
}
.error-404 .image-main {
  max-width: 50%;
  margin: 0 auto
}

.error-404 .title-main h1 {
  font-size: var(--30);
  color: var(--theme-color)
}

.error-404 .title p {
  font-size: var(--18)
}

.error404 #main,.error404 #wrapper {
  background-color: #fff
}
@media (max-width: 767.98px) {
  .blog-single .blog-single_content .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
  }
  .blog-single .blog-single_content .grid-cols-2 .col-1 {
    order: 1;
  }
  .blog-single .blog-content,
  .related-post {
    padding: 1.625rem 0.875rem 2.625rem;
  }
  .blog-single .blog-content p {
    font-size: 0.9375rem;
  }
  .related-post .post-list {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.5rem;
  }
  .social-share .title {
    margin-bottom: 0;
  }
  .social-share {
    flex-direction: row;
    column-gap: 0.65rem;
    align-items: center;
  }
  .social-share .share-btn {
    width: 2rem;
    height: 2rem;
  }
  .social-share .share-btn svg {
    width: 0.875rem;
    height: 0.875rem;
  }
  .related-post .title-main h2 {
    margin-bottom: 1.12rem;
  }
  .archive-post .container {
    max-width: 100%;
  }
  .archive-post .archive-content {
    padding: 2.5rem 1rem;
    margin-top: -2rem;
  }
  .archive-post h2 {
    font-size: var(--24);
  }
  .archive-post .category-post .list-cat ul li:first-child {
    margin-left: 0;
  }
  .archive-post .list-cat {
    margin-bottom: 1.5rem;
  }
  .archive-post .category-post .list-cat ul li a {
    font-size: var(--14);
    height: var(--40);
  }
  .archive-post .post-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .archive-post .grid-cols-2 {
    display: flex;
    flex-direction: column;
  }
  .blog-sidebar {
    padding: 2.5rem 1.5rem;
  }
  .archive-post .category-post .list-cat ul {
    gap: 10px 0;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    margin-bottom: 0;
    justify-content: flex-start;
    scroll-padding: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 25px;
    margin-bottom: -25px;
  }
  .archive-post .category-post .list-cat ul li {
    margin: 0 var(--6);
  }
  .blog-single {
    padding-left: 0;
    padding-right: 0;
  }
  .error-404 .image-main {
        max-width:80%
    }
  .error-404 .title-main h1{
    font-size:var(--24)
  }
}
