/* Page Project Styles */
.page-project {
  padding: 0;
}

.banner-page {
height: 25rem;
}

.banner-page .rank-math-breadcrumb p {
  font-size: 16px;
  line-height: 22px;
  margin: 0;
  padding: 0;
  text-align: left;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.banner-page .rank-math-breadcrumb a,
.banner-page .rank-math-breadcrumb span {
  color: #fff;
  font-weight: 400;
  font-size: 1re;
}

.banner-page .fill {
  background-repeat: no-repeat;
  background-size: cover
}

.banner-page .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(25 35 36) 0%, rgb(25 35 36) 80.94%);
  /* mix-blend-mode: soft-light; */
  opacity: 0.5;
}

.title-header {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.title-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.archive-post {
  padding: 60px 0;
}

.project-filter {
  text-align: center;
  margin-bottom: 40px;
}

.filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-nav li {
  margin: 0;
}

.filter-nav a {
  color: #2e2e2e;
  font-size: 1rem;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem 1.5rem;
  border-radius: 6.25rem;
  border: 1px solid #d9d9d9;
  height: var(--40);
}

.filter-nav a:hover,
.filter-nav a.active {
  background: var(--theme-color);
  color: white;
  border-color: var(--theme-color);
}

.projects-grid {
  margin-bottom: 40px;
  display: flex;
}
.grid-item {
  width: 50%;
}
.box-project-wrapper {
  width: 33%;
  padding: 0.9375rem;
}

.box-project {
  display: block;
}

.image-cover {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
}

.image-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.box-project:hover .image-cover img {
  transform: scale(1.05);
}

.pagination {
  text-align: center;
  margin-top: 40px;
}

.page-numbers {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-numbers li {
  margin: 0;
}

.page-numbers a,
.page-numbers span {
  display: inline-block;
  padding: 10px 15px;
  background: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.page-numbers a:hover,
.page-numbers .current {
  background: #007cba;
  color: white;
}

/* Responsive */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .title-header h1 {
    font-size: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .filter-nav {
    gap: 10px;
  }

  .filter-nav a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .box-project-wrapper{
    width:100%;
    padding: 0 0 1rem;
  }
}
