.uc5-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));}
.uc5-grid-wrapper[data-cols="1"] .uc5-grid{grid-template-columns:repeat(1,1fr);}
.uc5-grid-wrapper[data-cols="2"] .uc5-grid{grid-template-columns:repeat(2,1fr);}
.uc5-grid-wrapper[data-cols="3"] .uc5-grid{grid-template-columns:repeat(3,1fr);}
.uc5-grid-wrapper[data-cols="4"] .uc5-grid{grid-template-columns:repeat(4,1fr);}
.uc5-grid-wrapper[data-cols="5"] .uc5-grid{grid-template-columns:repeat(5,1fr);}
.uc5-grid-wrapper[data-cols="6"] .uc5-grid{grid-template-columns:repeat(6,1fr);}

.uc5-cell{display:flex;flex-direction:column;text-decoration:none;color:inherit;border:1px solid rgba(0,0,0,0.06);overflow:hidden;border-radius:8px;transition:transform .22s ease,box-shadow .22s ease;}
.uc5-cell:focus, .uc5-cell:hover{transform:translateY(-6px);box-shadow:0 8px 20px rgba(0,0,0,0.08);}

.uc5-image-wrap{width:100%;aspect-ratio:16/9;overflow:hidden;display:block;background:#eee;}
.uc5-image-wrap img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease;}
.uc5-cell:hover .uc5-image-wrap img{transform:scale(1.06);}

.uc5-meta{padding:12px;flex:1;display:flex;flex-direction:column;gap:8px;}
.uc5-title{margin:0;font-size:1rem;line-height:1.2;}
.uc5-excerpt{font-size:0.9rem;line-height:1.4;}
.uc5-date{font-size:0.8rem;opacity:0.85;}
.uc5-no-image{width:100%;height:100%;background:linear-gradient(135deg,#f3f3f3,#ececec);}

/* Responsive adjustments */
@media(max-width:700px){
    .uc5-grid{gap:12px;}
}
