.gallery-item.visible {
    /* opacity: 1; */
    /* transform: translateY(0px); */
}

.gallery-item {
    /* opacity: 0; */
    /* overflow: hidden; */
    /* display: none; */
    aspect-ratio: 1;
    width: calc((100% / 4) - 8px);
    /* border: solid 3px #ffffff33; */
    cursor: pointer;
    transition: all 300ms ease;
}

.gallery-item.active {
    display: flex;
}

.gallery-main .faq-filters-main {
    flex-direction: row;
}

.gallery-main .faq-filters {
    width: 100%;
    margin-bottom: 40px;
}

.gallery-main {
    background: #fff;
    padding: 10px 0px 10px;
}

.gallery-fold {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 300ms ease;
    object-position: 20% 80%;
}

.gallery-item:hover img {
    scale: 1.02;
}

.gallery-item picture {
    width: 100%;
    height: 100%;
}

.gallery-item.cat-item .gallery-item-wrapper p {
    position: absolute;
    top: calc(50% - 25px);
    z-index: 1;
    transform: translateY(-50%) translateX(-50%);
    margin: 0px;
    left: 50%;
    color: #fff;
    transition: all 300ms ease;
    opacity: 0;
}

.gallery-item.cat-item .gallery-item-wrapper .readmore {
    position: absolute;
    top: calc(50% + 25px);
    z-index: 1;
    transform: translateY(-50%) translateX(-50%);
    margin: 0px;
    left: calc(50% - 10px);
    color: #fff;
    transition: all 300ms ease;
    opacity: 0;
    background: unset;
    padding: 0px 0px 0px 20px;
}

.gallery-item.cat-item {
    position: relative;
    width: calc((100% / 2) - 5px);
    height: 440px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    aspect-ratio: unset !important;
    gap: 0;
    background: #ddd9d3;
}
.gallery-item-content-wrapper {
    width: 100%;
    display: flex
;
    justify-content: space-between;
    padding: 0 30px 0 20px;
    align-items: center;
}
.gallery-item.cat-item .gallery-item-wrapper::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: #00000060;
    z-index: 1;
    transition: all 300ms ease;
    opacity: 0;
}

.gallery-item.cat-item:hover .gallery-item-wrapper::before {
    opacity: 1;
}

.gallery-item.cat-item:hover p, .gallery-item.cat-item:hover .readmore {
    opacity: 1;
}

.content-fold-b ~ .gallery-main {
    padding: 120px 0px 60px;
}

.gallery-main .row-container {
    max-width: unset;
    padding: 0px 0px 0px;
}

.gallery-item-wrapper {
    position: relative;
    height: calc(100% - 60px);
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.gallery-item.cat-item > .subtitle {
    margin-left: 10px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.previous-projects-fold-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.previous-projects-fold-listitem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.previous-projects-fold-listitem {
    aspect-ratio: 1;
    width: calc((100% / 4) - 8px);
    transition: all 300ms ease;
}

.previous-projects-fold-listitem:hover {
    transform: scale(1.02);
}

.content-fold-b-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.previous-projects-fold {
    padding: 60px 0px;
}

.previous-projects-fold-title {
    margin-bottom: 40px;
    text-align: center;
}

.gallery-item.cat-item .readmore {
    margin: 0px;
    /* background: #ffffff; */
    margin-left: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 0px 20px;
}

.gallery-item.cat-item > .readmore::before {
    display: none;
}

.gallery-item.cat-item > .readmore::after {
    display: none;
}

.gallery-item.cat-item > .readmore {
    margin-bottom: 10px;
}