.filter-menu {
    margin-bottom: 32px;
}

#custom-post-filter-form {
    position: relative;
}

#custom-post-filter-form input:not([type="submit"]) {
    width: 100%;
    border: 1px solid #cb2fab;
    border-radius: 16px;
    background: #fff;
    padding: 16px 40px;
    font-size: 16px;
    font-family: "Inter";
    font-weight: 700;
    line-height: 1.4;
    color: #cb2fab;
}

#custom-post-filter-form input:focus {
    outline: 0;
}

#custom-post-filter-form input::placeholder {
    color: #e79fd8;
}

#custom-post-filter-form input::-moz-placeholder {
    color: #e79fd8;
    opacity: 0.99;
}

#custom-post-filter-form input::-webkit-input-placeholder {
    color: #e79fd8;
}

#custom-post-filter-form .search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
}
#custom-post-filter-form .search-icon svg {
    width: 16px;
    height: 16px;
}

.filter-result-wrapper .post-item-wrapper {
    --item-gap: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--item-gap);
    margin-bottom: 32px;
}

.filter-result-wrapper .post-item-wrapper .post-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 44px 0 rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 calc(50% - (var(--item-gap) / 2));
    max-width: calc(50% - (var(--item-gap) / 2));
}

.post-item .text-content {
    flex: 0 0 65%;
    max-width: 65%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.post-item .post-title {
    color: #363636;
    font-family: "Inter";
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
}

.post-item .post-title a {
    color: inherit;
    font: inherit;
    display: inline-block;
    transition: 0.4s color;
}

.post-item .post-title a:hover {
    color: #cb2fab;
}

.post-item .post-content p {
    color: #363636;
    font-family: "Inter";
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.post-item .btn-wrap a {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #cb2fab;
    font-family: "Inter";
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.post-item .btn-wrap a span {
    display: inline-block;
}

.post-item .btn-wrap a .icon {
    display: flex;
    align-items: center;
}

.post-item .btn-wrap a svg {
    width: 16px;
    height: 16px;
}

.post-item .post-feature-image {
    flex: 0 0 35%;
    max-width: 35%;
    background: #d8d8d8;
}

.post-item .post-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.view-more-btn-wrap {
    text-align: center;
}

.filter-result-wrapper .view-more-btn-wrap .load-more-btn {
    color: #cb2fab;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    padding: 16px;
    border: 1px solid #cb2fab;
    background-color: transparent;
    border-radius: 64px;
    transition: 0.4s background, 0.4s color;
}

.filter-result-wrapper .view-more-btn-wrap .load-more-btn:hover {
    color: #fff;
    background-color: #cb2fab;
}

@media (max-width: 1024px) {
    .filter-result-wrapper .post-item-wrapper .post-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .post-item .text-content,
    .post-item .post-feature-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .post-item .post-feature-image img {
        height: 302px;
    }
}
