.portfolio-filters {
    margin-bottom: 1em;
    text-align: center;
}
.portfolio-filters button {
    cursor: pointer;
    padding: 0.5em 1em;
    margin: 0 0.3em;
    border: none;
    outline: none;
    background: #eee;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

body .portfolio-filters button{
    background-color: transparent !important;
    color: #000 !important;
    border: 0px !important;
}



.portfolio-filters button.active,
.portfolio-filters button:hover {
    background-color: #B07E50 !important;
    color: #fff !important;
    border: 0px !important;
    outline: none;
}
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
.portfolio-item {
    width: calc(33.333% - 1em);
    box-sizing: border-box;
    text-align: center;
}
.portfolio-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0.5em auto;
}
.portfolio-title {
    font-size: 1.1em;
    margin: 0;
}

body .portfolio-image img{
    width: 100%;
    border-radius: 15px;
}
body .portfolio-item h3.portfolio-title{
    display: none;
}
body .portfolio-item:hover h3.portfolio-title{
      position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  z-index: 999;
}
h3.portfolio-title{
    font-size: 18px;
    font-weight: bold;
    line-height: 1.1;
    color: #fff;
    text-align: center;
}
.portfolio-item{
    padding: 5px;
}

body .portfolio-image:hover::before {
    content: '';
    background-color: rgba(0, 0, 0, 0.38);
    width: calc(100% - 10px);
    left: 5px;
    border-radius: 15px;
    min-height: 195px;
    position: absolute;
    z-index: 99;
}





@media screen and (max-width: 767px) {
    .portfolio-item {
        width: calc(100% - 1em);
    }
    .cta-readmore-text h2.ekit-heading--title.elementskit-section-title {
            font-size: 1.3em !important;
    }
        .elementor-8 .elementor-element.elementor-element-4bc88358 {
        margin-top: 15px;
        }
            .elementor-8 .elementor-element.elementor-element-7add7b5f {
        padding: 45px 0px 45px 0px;
        margin-bottom: 20px;
    }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
    .portfolio-item {
        width: calc(50% - 1em);
    }
}



body #lightboxOverlay { position: fixed !important; top: 0; left: 0; height: 100% !important; width: 100% !important; }
body #lightbox { position: fixed !important; top: 50% !important; transform: translateY(-50%); }