.wvg-grid{display:grid;gap:16px}
.wvg-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.wvg-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.wvg-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.wvg-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.wvg-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}

.wvg-card{position:relative;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.06);transition:transform .15s ease}
.wvg-card:hover{transform:translateY(-2px)}

.wvg-banner{aspect-ratio:4/3;background:#f3f4f6;display:block;width:100%;object-fit:cover}
.wvg-body{padding:12px}
.wvg-row{display:flex;align-items:center;gap:10px}
.wvg-avatar{width:36px;height:36px;border-radius:999px;object-fit:cover;background:#eee;flex:0 0 36px}

/* Clamp typography for nicer scaling on small screens */
.wvg-title{font-weight:700;line-height:1.25;margin:0;font-size:clamp(14px,2.5vw,15px)}
.wvg-meta{font-size:clamp(11px,2vw,12px);color:#666;margin-top:2px}

.wvg-badge{position:absolute;top:10px;left:10px;background:#111;color:#fff;font-size:11px;padding:4px 8px;border-radius:999px;opacity:.9}
.wvg-like{position:absolute;top:10px;right:10px;background:#fff;border-radius:999px;width:36px;height:36px;display:grid;place-items:center;box-shadow:0 4px 10px rgba(0,0,0,.1)}

.wvg-rating{font-size:12px;color:#f59e0b;margin-top:8px}

.wvg-follow-row{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
.wvg-follow-count{font-size:12px;color:#444}

.wvg-actions{display:flex;gap:8px;margin-top:10px}
.wvg-btn,.wvg-follow-btn{flex:1 1 auto;text-align:center;border:1px solid #e5e7eb;border-radius:10px;padding:8px 10px;font-size:13px;color:#111;text-decoration:none;background:#fafafa;cursor:pointer}
.wvg-follow-btn.is-following{background:#111;color:#fff;border-color:#111}

/* Tablet breakpoint:
   - Force 6-col grids down to 4
   - (existing behavior retained) */
@media (max-width:1024px){
  .wvg-cols-6{grid-template-columns:repeat(4,minmax(0,1fr));}
}

/* Phone / narrow tablets:
   - Make 6/5/4/3 all collapse to 2 columns (adds .wvg-cols-3)
*/
@media (max-width:768px){
  .wvg-cols-6,.wvg-cols-5,.wvg-cols-4,.wvg-cols-3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Very small phones:
   - Single column for maximum readability
*/
@media (max-width:480px){
  .wvg-grid{
    grid-template-columns:1fr !important;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion:reduce){
  .wvg-card{transition:none}
  .wvg-card:hover{transform:none}
}

/* RTL niceties: flip badge/like positions */
[dir="rtl"] .wvg-badge{left:auto;right:10px}
[dir="rtl"] .wvg-like{right:auto;left:10px}
