.acf-projects-section h4 {
    max-width: 700px;
    font-weight: var(--fontW500);
}

.home .acf-projects-section{
    margin-top:-2.5%;
}

@media (max-width: 992px) {
.home .acf-projects-section{
    margin-top:-30.5%;
}
}

.project-type__image img {
    width: 50px;
    height: 50px;
}

.project-type__title {
    font-size: var(--f18);
    font-family: var(--secondary-font);
}

.dots-seperator {
    top: -40px;
    max-width: 160px;
    width: 100%;
    margin-left: -20px;
    margin-right: -20px;
}

.projects-types .dots-seperator:last-of-type {
    margin-right: -26px;
}

.project-item {
    height: 444px;
    flex: 0 25%;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.project-item img,
.project-item {
    border-radius: 10px;

}

.project-item .card {
    padding: 15px 30px;
}

.project-item .icon-wrap img {
    border-radius: unset;
    position: relative;
    top: 2px;
    max-width: 25px;
}

.acf-projects-section .card-content-wrap p {
    max-width: 600px;
}

.project-item:has([aria-expanded="true"]) {
    flex: 0 50%;
}

@media (max-width: 992px) {

    .projects-container .owl-stage {
        display: flex;
    }

    /* .acf-projects-section h4 {
        font-weight: var(--font-weight-regular);
        font-size: var(--f18);
    } */

    .acf-projects-section .card.card-body {
        width: 100% !important;
    }

    .acf-projects-section .thumbnail-wrap img {
        max-height: 204px;
    }

    .project-type__image img {
        width: 24px;
        height: 24px;
    }

    .project-item {
        min-width: 100%;
        height: 100%;
    }

    img.project-tax-icon {
        width: 15px !important;
        height: 20px;
    }



    .projects-container .owl-theme .owl-nav.disabled+.owl-dots {
        margin-top: 30px;
    }

    .projects-types {
        max-width: 70%;
        margin: 0 auto;
    }

    /* .acf-projects-section h3 {
        font-size: var(--f24);
    } */
    .acf-projects-section .p-title{
        font-size: var(--h1);  
    }

    .project-type__item-2 {
        margin-left: 3px;
    }

    .project-item .card {
        padding: 15px;
    }
    .acf-projects-section .view-project-button a {
        padding-right: 0!important;
        padding-bottom: 0;
    }
    .acf-projects-section .overflow-owl-slider .owl-stage-outer {
        overflow: hidden;
     }
}
@media (min-width: 992px) {
    .acf-projects-section .project-section-content {
        min-height: 170px;
    }

    /* .acf-projects-section {
        padding-top: 6rem !important;
    } */
     .single-item-only .project-image {
    max-width: 42%;
    }
    
    .single-item-only .project-item .card {
        padding: 15px 30px;
        max-width: 100% !important;
        width: 100% !important;
    }
    .project-item.two-item-only {
        flex: 0 40%;
    }
    .project-item.two-item-only:has([aria-expanded="true"]) {
    flex: 0 60%!important;
    }
    .project-item.two-item-only .card {
        width: 816px !important;
    }
    .archive .projects-container > div:has(> .project-item:only-of-type) 
  > .project-item 
  > .project-image{
    max-width: 47% !important;
}


    
}

