/* Portfolio Filter Grid (Our Work page) */
.portfolio-grid-row .container {
    max-width: 1820px;
    margin: 0 auto;
    width: 96%;
}
.portfolio-filters {
    justify-content: center;
    align-items: center;
    column-gap: 22px;
    margin: 0 auto 12px;
    max-width: 1454px;
    display: flex;
    width: 90%;
}
.pf-select-wrap {
    position: relative;
    width: 20%;
}
.pf-select-wrap::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 0.5 Q-1 0.5 1.5 3 L5.5 7.5 Q6 8.5 6.5 7.5 L10.5 3 Q13 0.5 10.5 0.5 Z' fill='%23000000'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
    background-size: 100% 100%;
    pointer-events: none;
    position: absolute;
    content: '';
    height: 8px;
    width: 12px;
    right: 18px;
    top: 50%;
}
.pf-select-wrap select {
    font-family: var(--nexatext-reg);
    padding: 19.5px 44px 19.5px 20px;
    background-color: var(--light3);
    border-radius: 7px;
    line-height: 21px;
    appearance: none;
    font-size: 18px;
    cursor: pointer;
    border: none;
    width: 100%;
}
.portfolio-filters button {
    width: 20%;
}
.portfolio-grid {
    margin-right: -24px;
    margin-left: -24px;
    position: relative;
    margin-top: 0;
}
.portfolio-item {
    padding: 24px !important;
    width: 33.333%;
}
.portfolio-item a {
    text-decoration: none;
    display: block;
}
.pi-image {
    justify-content: space-between;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-direction: column;
    border-radius: 36px;
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    display: flex;
    padding: 40px;
}
.pi-image::before {
    /*background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);*/
    border-radius: 24px;
    position: absolute;
    content: '';
    z-index: 0;
    inset: 0;
}
.pi-content,
.post-read-more-wrap {
    position: relative;
    z-index: 1;
}
.pi-type {
    margin: 0 0 8px;
    color: var(--white);
}
p.pi-type.cat {
    margin-bottom: 26px !important;
    font-family: var(--nexa-heavy);
    letter-spacing: 3px;
    line-height: 26px;
    font-size: 20px;
}
.pi-title {
    color: var(--white);
    margin: 0;
}
.post-read-more-wrap {
    justify-content: flex-end;
    display: flex;
}
.portfolio-item .promo-icon {
    border: none;
}

@media (max-width: 1440px) {
    .portfolio-grid-row .container {
        width: 92%;
    }
}

@media (max-width: 1439px) {
    .portfolio-filters {
        justify-content: space-between;
        margin: 0 auto 16px;
        max-width: 768px;
        flex-wrap: wrap;
        column-gap: 1%;
        row-gap: 16px;
        width: 100%;
    }
    .portfolio-filters .pf-select-wrap {
        position: relative;
        width: 49%;
    }
    .portfolio-filters button {
        width: 100%;
    }
}

@media (max-width: 1024px) and (min-width: 980px) {
    body h3.pi-title {
        line-height: 22px;
        font-size: 20px;
    }
    .portfolio-item {
        padding: 12px !important;
    }
}

@media (max-width: 979px) {
    .bakery .portfolio-grid-section {
        padding-top: 0 !important;
    }
    .portfolio-grid-row .container {
        width: 90%;
    }
    .portfolio-grid {
        margin-right: -16px;
        margin-left: -16px;
    }
    .portfolio-item {
        padding: 16px !important;
        width: 50%;
    }
}

@media (max-width: 979px) and (min-width: 481px) {
    .bakery.our-work .portfolio-grid-row {
        padding-bottom: 0 !important;
    }
    .bakery.our-work .feat-clients-row.vendors-row {
        padding-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .bakery .portfolio-grid-section {
        padding-top: 32px !important;
    }
    .bakery.our-work .swiper-wrapper {
        padding-bottom: 0 !important;
    }
    section.feat-clients-section {
        padding-bottom: 24px !important;
    }
    .portfolio-item {
        width: 100%;
    }
    .portfolio-filters {
        flex-wrap: wrap;
        gap: 12px;
    }
    .portfolio-filters .pf-select-wrap,
    .portfolio-filters button {
        width: 100%;
        flex: unset;
    }
    .pi-image {
        padding: 28px;
    }
    body h3.pi-title {
        letter-spacing: 0;
        font-size: 32px;
    }
    p.pi-type.cat {
        margin-bottom: 28px !important;
    }
    .portfolio-item {
        padding: 12px !important;
    }
}
/* /Portfolio Filter Grid */