.sec__banner .img {
    position: relative;
}

.sec__banner .img img {
    height: 320px;
    width: 100%;
    object-fit: cover;
}

.tax-featured_item_category #content .portfolio-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--size-f);
    border-bottom: 2px solid var(--c6);
}

.tax-featured_item_category #content .portfolio-filter .col--L,
.tax-featured_item_category #content .portfolio-filter .col--R,
.tax-featured_item_category #content .portfolio-filter .filter-dropdowns {
    display: flex;
    align-items: center;
    gap: var(--size-1);
}

.tax-featured_item_category #content .portfolio-filter .btn {
    min-width: fit-content;
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--c3);
    border-color: var(--c3);
    padding: 8px 32px;
    margin: 0;
    border-radius: 8px;
    box-shadow: none;
}

.tax-featured_item_category #content .portfolio-filter .btn.btn-all.unactive,
.tax-featured_item_category #content .portfolio-filter .btn.btn-remove {
    background-color: #A9A9A9;
    border-color: #A9A9A9;
    cursor: not-allowed;
}

.tax-featured_item_category #content .portfolio-filter .btn.btn-remove.active {
    background-color: var(--c3);
    border-color: var(--c3);
    color: white;
    cursor: pointer;
}

.tax-featured_item_category #content .portfolio-filter .filter-box {
    position: relative;
    min-width: 180px;
}

.tax-featured_item_category #content .portfolio-filter .filter-label {
    margin: 0;
    background-color: white;
    padding: var(--size-0) var(--size-1);
    border: 1px solid var(--c4);
    font-size: var(--size-1);
    line-height: 1.2;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tax-featured_item_category #content .portfolio-filter .filter-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cw);
    box-shadow: var(--box-shadow);
    padding: var(--size-1);
    display: none;
    z-index: 99;
}

.tax-featured_item_category #content .portfolio-filter .filter-box.active .filter-options {
    display: block;
}

.tax-featured_item_category #content .portfolio-filter .filter-options input {
    margin: 0;
}

.tax-featured_item_category #content .portfolio-filter .filter-options label {
    font-size: var(--size-1);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--size-0);
    cursor: pointer;
}

.tax-featured_item_category #content .portfolio-filter .filter-options label:last-child {
    margin-bottom: 0;
}

.tax-featured_item_category #content #portfolio-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--size-f);
    margin-top: var(--size-f);
}

.tax-featured_item_category #content #portfolio-list .portfolio-item {
    padding: var(--size-1);
    box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-default);
}

.tax-featured_item_category #content #portfolio-list .portfolio-item .thumb {
    margin-bottom: var(--size-1);
    overflow: hidden;
    border-radius: 10px;
}


.tax-featured_item_category #content #portfolio-list .portfolio-item .thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: bottom;
    
    transition: opacity .3s cubic-bezier(.4, 0, .2, 1), transform .5s cubic-bezier(.4, 0, .2, 1);
}
.tax-featured_item_category #content #portfolio-list .portfolio-item:hover .thumb img{
    transform: scale(1.03);
}
.tax-featured_item_category #content #portfolio-list .portfolio-item .title {
    font-size: var(--size-2);
    line-height: 1.3;
    margin-bottom: 8px;
      display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  max-height: 1.4em;
  transition: max-height 0.5s ease, -webkit-line-clamp 0.7s ease;
}
.tax-featured_item_category #content #portfolio-list .portfolio-item:hover .title{
    -webkit-line-clamp: 3;
  max-height: 4.2em;
}
.tax-featured_item_category #content #portfolio-list .portfolio-item .excerpt {
    font-size: var(--size-f-1);
    line-height: 1.3;
    color: var(--c3);
    margin-bottom: var(--size-1);
}

.tax-featured_item_category #content #portfolio-list .portfolio-item .btn-view {
    background-color: var(--c4);
    color: var(--cw);
    border: 1px solid var(--c4);
    padding: 8px 24px;
    border-radius: 8px;
    display: inline-flex;
    font-size: var(--size-f-1);
    line-height: 1.2;
    font-weight: 600;
}

.tax-featured_item_category #content #portfolio-list .portfolio-item .btn-view:hover {
    background-color: var(--cw);
    color: var(--c4);
}

.tax-featured_item_category #content #portfolio-list .text {
    grid-column: 1 / span 3;
    font-weight: 700;
}

.tax-featured_item_category #content .portfolio-loadmore {
    margin-top: var(--size-3);
    display: flex;
    justify-content: center;
}

.tax-featured_item_category #content .portfolio-loadmore #loadmore-portfolio {
    margin: 0;
    background-color: white;
    color: var(--c3);
    padding: var(--size-0) var(--size-1);
    border: 1px solid var(--c4);
    font-size: var(--size-1);
    line-height: 1.2;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
}

.tax-featured_item_category #content .portfolio-loadmore #loadmore-portfolio:hover {
    background-color: var(--c4);
    color: var(--cw);
    box-shadow: none;
}

.featured-portfolio {
    padding: var(--size-1);
    box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-default);
    margin-top: var(--size-3);
}

.featured-portfolio a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--size-f);
}

.featured-portfolio .thumb {
    border-radius: 10px;
    overflow: hidden;
}

.featured-portfolio .thumb img {
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    height: 100%;
}

.featured-portfolio .info .title {
    font-size: var(--size-3);
    margin-bottom: var(--size-1);
}

.featured-portfolio .info .excerpt {
    font-size: var(--size-f);
    color: var(--c3);
    margin-bottom: var(--size-1);
}

.featured-portfolio .info .btn-view {
    padding: 8px 24px;
    font-size: var(--size-f);
    font-weight: 600;
    background-color: var(--c4);
    color: var(--cw);
    border: 1px solid var(--c4);
    border-radius: 8px;
}

.featured-portfolio .info .btn-view:hover {
    background-color: var(--cw);
    color: var(--c4);
}

@media (max-width: 768px) {

    .tax-featured_item_category #content .portfolio-filter,
    .tax-featured_item_category #content .portfolio-filter .col--L {
        flex-direction: column;
        gap: var(--size-1);
    }

    .tax-featured_item_category #content .portfolio-filter .col--R,
    .tax-featured_item_category #content .portfolio-filter .filter-dropdowns {
        flex-wrap: wrap;
        gap: var(--size-0);
        justify-content: center;
    }

    .tax-featured_item_category #content .portfolio-filter .btn,
    .tax-featured_item_category #content .portfolio-filter .filter-label {
        font-size: var(--size-1);
        padding: 8px 16px;
        height: 100%;
        gap: 8px;
    }

    .tax-featured_item_category #content .portfolio-filter .btn.btn-all.unactive,
    .tax-featured_item_category #content .portfolio-filter .btn.btn-remove {
        display: none;
    }

    .tax-featured_item_category #content .portfolio-filter .btn.btn-remove.active {
        display: block;
    }

    .featured-portfolio a {
        grid-template-columns: 1fr;
    }

    .tax-featured_item_category #content #portfolio-list {
        grid-template-columns: 1fr;
    }
}