
:root{
    --ctsep-columns-desktop: 7;
    --ctsep-columns-tablet: 4;
    --ctsep-radius: 12px;
    --ctsep-padding: 10px;
    --ctsep-image-height: 120px;
}

.ctsep-wrapper{
    padding:18px 0;
}

.ctsep-hero{
    margin-bottom:20px;
}

.ctsep-hero h1{
    font-size:30px;
    font-weight:700;
    margin-bottom:6px;
    color:#222325;
}

.ctsep-hero p{
    color:#74767e;
    font-size:14px;
}

.ctsep-topbar{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.ctsep-topbar input,
.ctsep-topbar select{
    background:#fff;
    border:1px solid #dadbdd;
    border-radius:8px;
    padding:10px 12px;
    font-size:13px;
    min-width:180px;
}

.ctsep-grid{
    display:grid;
    grid-template-columns:repeat(var(--ctsep-columns-desktop), minmax(0,1fr));
    gap:14px;
}

.ctsep-card{
    background:#fff;
    border:1px solid #e4e5e7;
    border-radius:var(--ctsep-radius);
    overflow:hidden;
    transition:0.2s ease;
}

.ctsep-card:hover{
    transform:translateY(-3px);
    box-shadow:0 4px 18px rgba(0,0,0,.08);
}

.ctsep-slider{
    height:var(--ctsep-image-height);
    overflow:hidden;
    position:relative;
}

.ctsep-slide{
    display:none;
    width:100%;
    height:100%;
}

.ctsep-slide.active{
    display:block;
}

.ctsep-slide img,
.ctsep-slide video{
    width:100%;
    height:100%;
    object-fit:cover;
}

.ctsep-prev,
.ctsep-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:24px;
    height:24px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    cursor:pointer;
    font-size:13px;
    z-index:3;
}

.ctsep-prev{
    left:6px;
}

.ctsep-next{
    right:6px;
}

.ctsep-content{
    padding:var(--ctsep-padding);
}

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

.ctsep-badge{
    background:#f5f5f5;
    color:#555;
    font-size:10px;
    padding:4px 8px;
    border-radius:30px;
    font-weight:600;
}

.ctsep-favorite{
    width:24px;
    height:24px;
    border:none;
    border-radius:50%;
    background:#f5f5f5;
    cursor:pointer;
    font-size:12px;
}

.ctsep-content h3{
    font-size:14px;
    line-height:1.4;
    color:#222325;
    margin-bottom:6px;
    font-weight:600;
    min-height:38px;
}

.ctsep-content p{
    font-size:12px;
    line-height:1.5;
    color:#74767e;
    margin-bottom:10px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.ctsep-btn{
    width:100%;
    display:block;
    text-align:center;
    background:#1dbf73;
    color:white;
    text-decoration:none;
    padding:8px;
    border-radius:8px;
    font-size:12px;
    font-weight:700;
    transition:.2s;
}

.ctsep-btn:hover{
    background:#19a463;
}

@media(max-width:1200px){

    .ctsep-grid{
        grid-template-columns:repeat(5, minmax(0,1fr));
    }

}

@media(max-width:992px){

    .ctsep-grid{
        grid-template-columns:repeat(var(--ctsep-columns-tablet), minmax(0,1fr));
    }

}

@media(max-width:768px){

    .ctsep-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
        gap:10px;
    }

    .ctsep-content h3{
        font-size:13px;
    }

}

@media(max-width:520px){

    .ctsep-grid{
        grid-template-columns:1fr;
    }

}
