.cs-list-item-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.cs-list-item {
    position: relative;
    width: calc((100% / 3) - 14px);
    padding: 20px;
    box-sizing: border-box;
    height: 440px;
    border-radius: 20px;
    overflow: hidden;
    display: none;
}

.cs-list-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-list-main {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cs-list-item-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.cs-list-item-img::before {
    width: 100%;
    height: 100%;
    content: '';
    top: 0;
    left: 0;
    background: linear-gradient(0deg, #1b1a1faa, transparent);
    position: absolute;
}

.cs-list-item-hover {
    opacity: 0;
    pointer-events: none;
    transition: all 300ms ease;
}

.cs-list-item-main {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 20px;
    display: flex;
    align-items: end;
    box-sizing: border-box;
    transition: all 300ms ease;
}

.cs-list-item:hover .cs-list-item-main {
    opacity: 0;
    pointer-events: none;
}

.cs-list-item:hover .cs-list-item-hover {
    opacity: 1;
    pointer-events: all;
}

.cs-list-item.active {
    display: flex;
}

.cs-filters-main {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 40px;
    gap: 40px;
    background: #aaaaaa20;
    border-radius: 20px;
}

.cs-filters-item p {
    margin: 0px;
    transition: all 300ms ease;
}

.cs-filters {
    margin-bottom: 40px;
}

.cs-filters-item.active p {
    color: var(--primary);
}

.cs-filters-item {
    cursor: pointer;
}