/* Recent Sticky Posts Updated - improved layout */
#rspu-slider {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 380px;
    max-width: calc(100% - 40px);
    height: 120px;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial;
    display: block;
    will-change: transform;
}

/* wrapper */
.rspu-track-wrapper { width:100%; height:100%; overflow:hidden; }

.rspu-track { display:flex; list-style:none; margin:0; padding:0; height:100%; }
.rspu-slide { display:flex; align-items:center; flex:0 0 100%; box-sizing:border-box; padding:12px; }

/* thumbnail left */
.rspu-thumb-link { display:block; flex:0 0 96px; height:96px; margin-right:12px; border-radius:8px; overflow:hidden; background:#f0f0f0; }
.rspu-thumb { width:96px; height:96px; object-fit:cover; display:block; border-radius:8px; }
.rspu-no-thumb { width:96px; height:96px; background:linear-gradient(135deg,#f3f3f3,#e9e9e9); border-radius:8px; }

/* meta (no title) */
.rspu-meta { flex:1; display:flex; flex-direction:column; justify-content:center; min-width:0; }
.rspu-excerpt { margin:0 0 10px 0; font-size:13px; line-height:1.35; color:#222; max-height:3.3em; overflow:hidden; text-overflow:ellipsis; }
.rspu-readmore { display:inline-block; padding:7px 11px; border-radius:8px; text-decoration:none; font-size:13px; background:#f6f8fb; border:1px solid #e0e6ef; color:#111; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset; }

/* make sure text truncates nicely */
.rspu-meta, .rspu-excerpt { overflow:hidden; }

/* accessibility focus */
.rspu-readmore:focus { outline:2px solid #6fa8ff; outline-offset:2px; }

/* smaller devices */
@media (max-width:420px){
    #rspu-slider { right:12px; left:12px; width:auto; bottom:14px; height:110px; border-radius:10px; padding:0; }
    .rspu-thumb-link, .rspu-thumb, .rspu-no-thumb { width:82px; height:82px; }
    .rspu-meta { padding-right:6px; }
    .rspu-excerpt { font-size:12px; max-height:3.0em; }
}
