/* RMSA ReadMore Mixer Front */
.rmmix{--cols-d:3;--cols-t:2;--cols-m:1;--br:1.05;--ct:1.08;--st:1.12}
.rmmix{display:grid;grid-template-columns:repeat(var(--cols-d),1fr);gap:14px;margin:18px 0}
@media(max-width:1024px){.rmmix{grid-template-columns:repeat(var(--cols-t),1fr)}}
@media(max-width:640px){.rmmix{grid-template-columns:repeat(var(--cols-m),1fr)}}
.rmmix .card{position:relative;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.06);transition:transform .2s ease, box-shadow .2s ease}
.rmmix .card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.12)}
.rmmix .pic{position:relative;aspect-ratio:16/9;background:#f2f2f2;overflow:hidden}
.rmmix .pic img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(var(--br)) contrast(var(--ct)) saturate(var(--st));image-rendering:-webkit-optimize-contrast}
.rmmix .badge{position:absolute;top:10px;left:10px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;color:#fff}
.rmmix .badge.most{background:#ef4444}
.rmmix .badge.rec{background:#8b5cf6}
.rmmix .badge.rel{background:#0ea5e9}
.rmmix .badge.default{background:#111827}
.rmmix .badge.animated{animation:pop .55s ease both}
@keyframes pop{0%{transform:scale(.8);opacity:.0}100%{transform:scale(1);opacity:1}}
.rmmix .title{font-size:16px;font-weight:800;line-height:1.35;padding:10px 12px 12px;color:#111827}
.rmmix .title a{color:inherit;text-decoration:none}
/* list compact */
.rmmix.list{grid-template-columns:1fr}
.rmmix.list .row{display:grid;grid-template-columns:140px 1fr;gap:12px;align-items:center;padding:10px;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.rmmix.list .row .pic{aspect-ratio:4/3;border-radius:10px;overflow:hidden}
.rmmix.list .row .title{padding:0;font-size:15px}
.rmmix .card:focus-within .title a,.rmmix .row:focus-within .title a{outline:2px solid rgba(14,165,233,.4);outline-offset:2px;border-radius:6px}

.rmmix .badge.latest{background:#10b981}
