/*********************************
/* Filter Start
*********************************/
.all__filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;

    .showing {
        font-size: 16px;
        font-weight: var(--font-regular);
        line-height: 18.75px;
        color: var(--color-white);
        display: flex;
        align-items: center;
        gap: 6px;

        .icon {
            width: 26px;
            height: 26px;
            border-radius: 3px;
            color: var(--color-white);
            background: var(--color-primary);
            display: flex;
            align-items: center;
            justify-content: center;
        }

    }
    .solid__btn {
        color: var(--color-primary);
        text-decoration: underline;
        text-underline-offset: 4px;
    }
}

.filter__wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;

}

.filter__flex {
    @include respond (tabland) {
        display: block !important;
    }
}

.filter__inner {
    flex: 1;
}

.filter__items {
    margin-top: 24px;
}

.filter__search {
    position: relative;
    max-width: 150px;

    .form-control {
        font-size: 16px;
        font-weight: 400;
        line-height: 18.75px;
        background: rgba(var(--color-white-rgb), 0.1);
        color: var(--color-white);
        padding: 10px 12px;
        border-radius: 4px;
        position: relative;
        display: inline-flex;
        align-items: center;
        text-transform: capitalize;
        border: none;
        padding-right: 30px;

        &::placeholder {
            color: var(--color-white);
        }
        &:focus {
            box-shadow: none;
        }
    }
    
    button {
        position: absolute;
        right: 15px;
        top: 0;
        background: transparent;
        outline: none;
        border: none;
        color: var(--color-white);
        height: 100%;
        cursor: pointer;
        border-radius: 8px 0 0 8px;
        z-index: 99;
    }
}

.filter__dropdown {
    position: relative;
    .selected {
        font-size: 16px;
        font-weight: 400;
        line-height: 18.75px;
        background: rgba(var(--color-white-rgb), 0.1);
        color: var(--color-white);
        padding: 10px 12px;
        border-radius: 4px;
        position: relative;
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        text-transform: capitalize;

        &::after {
            content: "\ea4e";
            font-family: "remixicon";
            font-size: 20px;
            color: var(--color-white);
            margin-left: 10px;
            transition: var(--transition);
            font-weight: 300;
            height: 16px;
            width: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }
    .filter__list {
        position: absolute;
        list-style: none;
        position: absolute;
        right: 0;
        top: calc(100% + 0px);
        width: 193px;
        background: var(--color-white);
        border-radius: 4px;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0px 7px 20px 0px #00000040;
        max-height: 200px;
        overflow-y: auto;

        @include respond (phone-sm) {
            width: 100%;
        }
    
        &.active {
            opacity: 1;
            visibility: visible;
            top: calc(100% + 8px);
        }
    
    
        li {
            font-family: var(--font-default);
            font-size: 16px;
            font-weight: var(--font-regular);
            line-height: 19px;
            color: var(--color-content2);
            padding: 10px 12px;
            border-bottom: 1px solid var(--color-border);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            text-transform: capitalize;
            
            label {
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            &:hover {
                label {
                    color: var(--color-primary);
                }
            }

            a {
                color: currentColor;
                transition: var(--transition);    
                
                &:hover {
                    color: var(--color-primary);
                }
            }
            &:last-of-type a {
                border: none;
            }
        }
    }
}


.filter__items {
    .grid-5 {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;

        @include respond (xl) {
            grid-template-columns: repeat(3, 1fr);
        }
        @include respond (medium) {
            grid-template-columns: repeat(2, 1fr);
        }
        @include respond (tabland) {
            grid-template-columns: repeat(3, 1fr);
        }
        @include respond (phone) {
            grid-template-columns: repeat(2, 1fr);
        }
        @include respond (phone-sm) {
            grid-template-columns: repeat(1, 1fr);
        }
    }
    .grid-6 {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;

        @include respond (xl) {
            grid-template-columns: repeat(6, 1fr);
        }
        @include respond (medium) {
            grid-template-columns: repeat(5, 1fr);
        }
        @include respond (tabland) {
            grid-template-columns: repeat(4, 1fr);
        }
        @include respond (phone) {
            grid-template-columns: repeat(3, 1fr);
        }
        @include respond (phone-sm) {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

/*********************************
/* Filter End
*********************************/

/*********************************
/* Sidebar Widget Start
*********************************/

.sidebar {
    @include respond (tabland) {
        margin-bottom: 30px;
        column-count: 2;

        .widget {
            max-width: 100%;
            break-inside: avoid;
        }
    }
    @include respond (phone-sm) {
        column-count: 1;

        .widget {
            max-width: 100%;
            break-inside: avoid;
        }
    }
}
.widget {
    padding: 24px 16px;
    background: rgba(var(--color-white-rgb), 0.1);
    border-radius: 4px;
    max-width: 300px;
    margin-bottom: 16px;

    &__title {
        font-size: 16px;
        font-weight: 400;
        line-height: 18.75px;
        color: var(--color-white);
        position: relative;
        display: inline-block;
        text-transform: capitalize;
        padding-bottom: 16px;
        margin-bottom: 16px;

        &::before {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            border: 1px solid rgba(var(--color-white-rgb), 0.3);
        }
    }
    &__info {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;

        label {
            color: var(--color-white);
            text-transform: capitalize;
        }
    }
    .view__btn {
        font-family: var(--font-default);
        font-size: 12px;
        font-weight: var(--font-regular);
        line-height: 14.06px;
        color: #A4A4A4;
        padding: 3px 10px;
        background: rgba(var(--color-white-rgb), 0.2);
        border-radius: 4px;
        text-transform: capitalize;
        transition: var(--transition);

        &:hover {
            background: var(--color-primary);
            color: var(--color-white);
        }

    }
}

.rating__progress {
    .content {
        font-family: var(--font-default);
        font-size: 16px;
        font-weight: var(--font-regular);
        line-height: 19px;
        color: var(--color-white);
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;

    }
    #slider-range {
        background: rgba(var(--color-white-rgb), 0.2);
        position: relative;
        width:calc(100% - 10px);
        height: 4px;
        border-radius: 30px;
        margin-top: 20px;

        .ui-slider-range {
            background: var(--color-primary);
            position: absolute;
            height: 4px;
            border-radius: 30px 0 0 30px;
        }
        .ui-slider-handle {
            height: 10px;
            width: 10px;
            border-radius: 50%;
            background-color: #d9d9d9;
            display: inline-block;
            position: absolute;
            top: -3px;
            outline: none;
            cursor: pointer;
        }
    }
}
/*********************************
/* Sidebar Widget End
*********************************/

/*********************************
/*  Pagination Start
*********************************/

.pagination__wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-top: 36px;

	@include respond(tabport) {
		align-items: center;
		flex-direction: column;
	}
}


.pagination__show {
	font-family: var(--font-default);
	font-size: 14px;
	font-weight: var(--font-regular);
	line-height: 16.94px;
	color: var(--color-white);
	margin-bottom: 0;
}

.pagination {
	gap: 6px;
    color: var(--color-white);
    flex-wrap: wrap;
    li {
        a {
            font-family: var(--font-default);
            font-size: 16px;
            font-weight: var(--font-regular);
            line-height: 16.94px;
            color: var(--color-white);
            border-radius: 4px;
            border: 1px solid rgba(var(--color-white-rgb), 0.2);
            display: inline-block;
            padding: 8px 10px;
            transition: var(--transition);
        }
        &.active,
        &:hover {
            a {
                color: var(--color-primary);
            }
        }
    }
	.btn {
        display: flex;
        align-items: center;
        gap: 3px;
		border: 1px solid rgba(var(--color-white-rgb), 0.2);
		color: rgba(var(--color-white-rgb), 0.2);

        i {
            font-size: 20px;
            margin: 0;
        }

        &:hover {
            color: var(--color-white);
            background: var(--color-primary);
        }
	}
}

/*********************************
/*  Pagination End
*********************************/


/*********************************
/*  Latest Post Start
*********************************/
.postItem {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(var(--color-white-rgb), 0.2);
    margin-bottom: 12px;
    padding-bottom: 12px;

    &:last-of-type {
        margin-bottom: 0;
    }

    .postThumb {
        max-width: 60px;
        display: block;

        img {
            width: 100%;
            height: 100%;
            border-radius: 4px;
            display: block;
            aspect-ratio: 6/7.4;
            object-fit: cover;
        }
    }
    .post__content {
        font-family: var(--font-default);
        .title {
            font-family: var(--font-default);
            font-size: 16px;
            font-weight: var(--font-medium);
            line-height: 19px;
            color: var(--color-white);
            display: block;
            margin-bottom: 6px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            margin-bottom: 6px;

            a {
                color: currentColor;
                transition: var(--transition);
            }
        }
        .date {
            font-family: var(--font-default);
            font-size: 16px;
            font-weight: var(--font-regular);
            line-height: 18px;
            color: rgba(var(--color-white-rgb), 0.5);
            margin-bottom: 0;
        }
        p,
        .desc {
            font-size: 12px;
            font-weight: var(--font-regular);
            line-height: 14.06px;
            color: #A4A4A4;
            margin-bottom: 0;

        }
    }
    &:hover {
        .post__content {
            .title a {
                color: var(--color-primary);
            }
        }
    }
}
/*********************************
/*  Latest Post End
*********************************/