.content_wrap {
    width: unset;
    padding: 20px;
}

.portfolio_page_details_wrap.sc_column_fixed {
    flex-shrink: 1;
}

.left {
    background-color: #fff !important;
    border-radius: 12px;
    padding: 32px 16px;
}

.left .filter-title {
    margin-bottom: 0;
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

.header-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.header-filter .filter-btn {
    padding: 4px 8px;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-color: #df6d14;
    color: #fff;
    cursor: pointer;
}

.header-filter .filter-btn svg {
    width: 20px;
    height: 20px;
}

.left select {
    padding-inline: 8px;
    padding-block: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.left .search-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 2px;
}

.left .search-filter input {
    flex: 1;
    border: none;
    padding: 0;
    padding-left: 6px;
}

.left .search-filter button {
    padding: 6px 12px;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-color: #3a7d44;
    color: #fff;
    cursor: pointer;
}

.left > div + div {
    padding-top: 12px;
}

.left > div:first-child {
    margin-bottom: 32px;
}

.left .SumoSelect {
    margin-bottom: 20px;
}

.left .select_container:after {
    display: none;
}

.post_header .post_title {
    font-size: 16px;
    font-weight: 500;
}
.post_header .post_categories a {
    font-weight: 500;
}

@media (max-width: 1024px) {
    .content_wrap {
        padding: 15px 30px 15px 30px;
    }
}

@media (max-width: 1023px) {
    .portfolio_page.portfolio_page_details_right,
    .portfolio_page.portfolio_page_details_left {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .portfolio_page.portfolio_page_details_right .portfolio_page_content_wrap,
    .portfolio_page.portfolio_page_details_left .portfolio_page_content_wrap {
        width: 100% !important;
        order: 2;
    }
    .portfolio_page.portfolio_page_details_left .portfolio_page_details_wrap {
        width: 100% !important;
        order: 1;
        padding: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 1440px) {
    .classic_4 .column-1_4 {
        width: 33.3%;
    }
}

.detail-modal {
    width: 100%;
    display: flex;
}

.detail-modal .sc_layouts_panel_inner {
    width: 30%;
    margin-inline: auto 0;
    overflow-y: auto;
}

.detail-modal .overlay {
    flex: 1;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 20px;
}
.box-detail-img img {
    width: 25%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.swiper {
    margin-top: 25px;
    width: 100%;
    height: 80px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    aspect-ratio: 1;
    cursor: pointer;
}

.swiper-pagination {
    margin-top: 20px;
}

.detail-content h5 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #D84040;
}

.detail-content ul {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    font-size: 14px;
}

@media (max-width: 1440px) {
    .detail-modal .sc_layouts_panel_inner {
        width: 40%;
    }
}

@media (max-width: 1023px) {
    .detail-modal .sc_layouts_panel_inner {
        padding: 16px 20px;
    }

    #detail .trx_addons_button_close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 850px) {
    .detail-modal .sc_layouts_panel_inner {
        width: 50%;
    }
}

@media (max-width: 640px) {
    .detail-modal .sc_layouts_panel_inner {
        width: 90%;
    }
}
