 div#blog-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 30px 0;
}
.post-content {
  display: grid;
  gap: 10px;
  padding: 10px 0;
}
.blog-card a img {
  aspect-ratio: 1.8;
  border-radius: 8px;
}
.blog-card .post-title a {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .post-excerpt {
  color: #4B5563;
  font-weight: 500;
  font-size: 16px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-meta a {
  border: 2px solid #ffffff;
  background: #f5eeff;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 211px;
  color: #5C399B;
  font-weight: 700;
}

form.seach_by_post input#search-keyword:focus-visible {
  outline: none;
}
button.filter-btn {
    border: 2px solid #0f141a;
    border-radius: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 24px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    gap: 10px;
    color: #161d26;
    position: relative;
    background: #fff;
    transform-style: preserve-3d;
    min-width: 130px;
    margin-right: 10px;
}
body form.post-filter:before,
button.filter-btn:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transform: translateZ(-1px);
    pointer-events: none;
    transition-property: filter, inset;
    transition-duration: .3s;
    transition-timing-function: ease;
    background-clip: content-box !important;
    padding: 1px;
}
button.filter-btn:hover:before {
    filter: blur(15px);
    background: linear-gradient(123deg, #5c399b 0%, #eb003b 50%, #5c399b 100%), linear-gradient(123deg, #5c399b 0%, #8b6ebf 50%, #5c399b 100%);
}

button.filter-btn span.icon {
    display: flex;
}
button.filter-btn svg {
    width: 20px;
    height: auto;
}
.search-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: auto;
    margin-top: 30px;
}
form.seach_by_post span {
    width: 16px;
    height: auto;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 13px;
}
form.seach_by_post {
    border-bottom: 1px solid #ccccd1;
    width: 87%;
    justify-content: unset;
    margin: 0;
    position: relative;
}
form.seach_by_post input#search-keyword {
    width: 100%;
    border: 0;
    padding: 13px 28px;
    font-size: 16px;
    color: #232b37;
}
form.seach_by_post input#search-keyword::placeholder {
    color: #232b37;
}
.total-counts {
    font-size: 16px;
    color: rgb(22, 29, 38);
    font-weight: 500;
}
.filter-rm {
    padding: 30px 0 0;
    display: flex;
    align-items: center;
    gap: 20px;
}
.total-counts {
    font-size: 16px;
    color: rgb(22, 29, 38);
    font-weight: 500; 
}
.right-section {
    width: 100%;
}
.post-response #response {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.post-response .project-card {
    width: 100%;
}
.search-container {
    position: relative;
}
form.post-filter {
    border-radius: 24px;
    min-width: 180px;
    max-width: 350px;
    width: 100%;
    position: absolute;
    background: #fff;
    z-index: 999;
    padding: 24px 30px;
    display: none;
    transform-style: preserve-3d;
}
form.post-filter.open {
    display: block;
}

form.post-filter.open:before {
    filter: blur(15px);
    background: linear-gradient(123deg, #5c399b 0%, #eb003b 50%, #5c399b 100%), linear-gradient(123deg, #5c399b 0%, #8b6ebf 50%, #5c399b 100%);
}
.filter-item-search svg {
    width: 16px;
    position: absolute;
}
.filter-item-search {
    border-bottom: 1px solid #ccccd1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.filter-item-search input {
    border: 0;
    padding: 7px 0 7px 25px;
    color: #232b37;
    font-size: 15px;
    width: 100%;
    background: none;
}
.filter-item-search input::placeholder{
    color: #232b37;
}
.filter-item-search input:focus-visible {
    outline: none;
}
.filter-by-clear {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
ul.sub_cat {
  margin: 0;
}
a#clearAllSelected,
.filter-footer a,
.filter-by-clear a {
    color: rgb(22, 29, 38);
    font-weight: 600;
}
span.filter-label svg {
    width: 16px;
}
.filter-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
}
.filter-footer a {
  text-decoration: underline;
}
button.submit-filter {
    padding: 12px 25px;
    color: #b4b4bb;
    background: #F0F0F0;
    border: 2px solid #f3f3f7;
    border-radius: 26px;
    font-size: 14px;
    font-weight: 600;
}
button.submit-filter.active {
  border-color: #623E97;
  color: #fff;
  background: #623E97;
}
ul.selected-filters {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: rgb(22, 29, 38);
    font-weight: 500;
}
a.accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
}
.sidebar_filter {
    display: flex;
    align-items: center;
    gap: 30px;
}
.container {
    padding: 0 15px;
}

#pagination-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  background-color: #F3F4F6;
  color: #000;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 0.86px solid #F3F4F6;
}

.pagination-btn:hover:not(.disabled):not(.active) {
  background-color: #e0e0e0;
}

.pagination-btn.active {
  color: #5C399B;
}

.pagination-btn.disabled {
  pointer-events: none;
  opacity: 0.4;
}

.pagination-btn.dots { 
  cursor: default;
}

span.pagination-btn.left-arrow-pagination,
span.pagination-btn.right-arrow-pagination {
  border: 0.86px solid #6D4DF2;
  background: #9878C7;
  color: #fff;
}
span.pagination-btn.left-arrow-pagination.disabled {
  background: #F3F4F6;
  color: #111827;
  opacity: 1;
  border-color: #F3F4F6;
}
.filter-containers > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}  
span.toggle_btn {
  border: 1px solid #000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
span.toggle_btn:before {
content: "+";
font-size: 20px;
color: #000;
font-weight: 600;
position: absolute;
line-height: 24px;
}
.filter-containers label {
line-height: 30px;
}
.filter-containers ul span.toggle_btn {
display: none !important;
}
ul.sub_cat {
margin: 0;
list-style: none;
padding-left: 18px;
display: none;
}
.filter-containers.show > ul.sub_cat {
display: block;
}
.filter-containers.show span.toggle_btn:before {
content: "-";
} 
.toggle-more-btn {
font-weight: 700;
margin-top: 10px;
}
.accordion-collapse {
display: none;
} 
.accordion-item.open .accordion-collapse {
display: block;
}

.leatest_posts h3.elementor-post__title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.leatest_posts .elementor-post__excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media only screen and (max-width: 1024px) {
  .post-response #response {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  div#blog-posts { 
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .blog-card .post-title a {
    font-size: 16px;
  }
  .blog-card .post-excerpt {
    font-size: 14px;
  }
  button.filter-btn {
      font-size: 14px;
      padding: 8px 24px;
  }
  form.seach_by_post {
      width: 100%;
  }
  button.filter-btn {
      order: 1;
  }
  .search-wrap {
      flex-wrap: wrap;
      gap: 20px;
  }
  ul.selected-filters,
  .total-counts {
      font-size: 14px;
  }
  .filter-container{
      width: 100%;
      display: block;
  }
  form.post-filter {
      padding: 18px 20px;
      width: 85%;
  }
  .filter-footer {
      font-size: 14px;
  }
}
@media only screen and (max-width: 414px) {
  div#blog-posts { 
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }

  .leatest_posts_container article.elementor-post.elementor-grid-item {
    flex-wrap: wrap;
  }
  .leatest_posts_container article.elementor-post.elementor-grid-item a.elementor-post__thumbnail__link {
    width: 100%;
  }
  .leatest_posts_container article.elementor-post.elementor-grid-item a.elementor-post__thumbnail__link img{
    position: unset;
    max-width: 100%;
    transform: unset;
  }
  .leatest_posts_container article.elementor-post.elementor-grid-item a.elementor-post__thumbnail__link > div {
    padding: 0 0 10px !important;
  }
}












.custom-card {
    position: relative;
}
.card-image {
    border-radius: 16px;
    overflow: hidden;
}
span.card-badge {
    background-color: #FFFFFF;
    font-family: "DM Sans", Nunito;
    font-size: 14px;
    font-weight: 500;
    fill: #5C399B;
    color: #5C399B;
    border-radius: 30px 30px 30px 30px;
    padding: 9px 9px 9px 9px;
    position: absolute;
    top: 15px;
    right: 15px;
}
.card-overlay {
    background: rgb(255 255 255 / 47%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: absolute;
    z-index: 1;
    padding: 30px;
    border-radius: 20px;
    bottom: 0;
    box-sizing: border-box;
    margin: 10px;
    border: 1px solid #ffffff40;
    border-width: 3px 2px 0px 2px;
}
p.card-category {
    font-family: "DM Sans", Nunito;
    font-size: 14px;
    font-weight: 500;
    color: #6D4DF2;
    text-transform: capitalize;
    margin-bottom: 10px;
}
h3.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px;
    margin-bottom: 10px;
}
h3.card-title a {
    font-family: "DM Sans", Nunito;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #374151;
    transition: 0.3s;
}
h3.card-title a:hover {
    color: #5C399B;
}
p.card-description {
    font-family: "DM Sans", Nunito;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #4B5563;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    margin-bottom: 0;
}
.card-image img {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    aspect-ratio: 1;
    justify-content: space-between;
    border-radius: 16px;
}
@media only screen and (max-width: 768px) {
    .custom-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 568px) {
    .custom-card-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.testimonial-card svg {
    width: 20px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; 
  margin: 0 auto;
}

.testimonial-card {
    background: #F3F4F6;
    border-radius: 8px;
    padding: 35px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}
.testimonial-grid-item {
    margin-bottom: 20px;
}

.testimonial-quote {
    margin-bottom: 15px;
    font-family: "DM Sans", Nunito;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #111827;
}
.testimonial-quote p {
    margin: 0;
}
.testimonial-col.left-col {
    margin-top: 45px;
}
.person .name {
    font-family: "DM Sans", Nunito;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}
.person .role {
    font-family: "DM Sans", Nunito;
    font-size: 12px;
    line-height: 20px;
    color: #4B5563;
}
.testimonial-bottom .avatar img {
    height: auto;
    width: 30px;
}
.rating-row {
  margin-bottom: 15px;
}

.stars {
  display: flex;
  gap: 3px;
}

.testimonial-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
} 
@media (max-width: 767px) {
    .testimonial-col.left-col {
        margin-top: 0;
    }
    .testimonial-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }
} 