.upd-dashboard{
    padding:40px;
    font-family:Arial,sans-serif;
}

.upd-hero{
    margin-bottom:35px;
}

.upd-hero h1{
    font-size:52px;
    font-weight:700;
    margin-bottom:14px;
    color:#111827;
}

.upd-hero p{
    font-size:18px;
    color:#4b5563;
    max-width:950px;
    line-height:1.8;
}

.upd-topbar{
    display:flex;
    gap:20px;
    margin-bottom:30px;
    flex-wrap:wrap;
}

#upd-search,
#upd-sort{
    padding:14px 18px;
    border-radius:14px;
    border:1px solid #d1d5db;
    font-size:15px;
}

#upd-search{
    flex:1;
    min-width:280px;
}

.upd-wrapper{
    display:flex;
    gap:30px;
}

.upd-sidebar{
    width:260px;
    background:#fff;
    padding:24px;
    border-radius:18px;
    box-shadow:0 4px 14px rgba(0,0,0,0.06);
    height:fit-content;
}

.upd-sidebar h3{
    font-size:22px;
    margin-bottom:18px;
}

.upd-filter{
    display:block;
    margin-bottom:14px;
    color:#374151;
    font-size:15px;
}

.upd-rating-title{
    margin-top:28px;
}

.upd-content{
    flex:1;
}

.upd-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:24px;
}

.upd-link{
    text-decoration:none;
}

.upd-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 4px 14px rgba(0,0,0,0.06);
    transition:0.3s ease;
}

.upd-card:hover{
    transform:translateY(-5px);
}

.upd-img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.upd-body{
    padding:20px;
}

.upd-body h4{
    font-size:22px;
    color:#111827;
    margin-bottom:12px;
}

.upd-body p{
    color:#6b7280;
    line-height:1.6;
    margin-bottom:18px;
}

.upd-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.upd-meta span{
    background:#f3f4f6;
    padding:8px 14px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
}

.upd-trending{
    background:#dcfce7 !important;
    color:#166534;
}

.upd-empty{
    padding:40px;
    text-align:center;
    font-size:20px;
}

@media(max-width:768px){

    .upd-wrapper{
        flex-direction:column;
    }

    .upd-sidebar{
        width:100%;
    }

    .upd-hero h1{
        font-size:36px;
    }
}
