/* Ruxin News — OS badge overlay (layout-safe) */
.ruxin-news-image-wrap{ position:relative; /* keep original display from theme */ }
.ruxin-news-image-wrap > img{ display:block; height:auto; }

.ruxin-os-badge{
  position:absolute;
  /* corner (top/bottom + left/right) is set inline by PHP using $posCSS */
  height:28px;
  width:auto;
  pointer-events:none;
  z-index:9999;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  border-radius:6px;
}

.ruxin-os-badge-debug{
  position:absolute;
  left:6px;
  bottom:6px;
  font:600 11px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: rgba(0,0,0,.6);
  color:#fff;
  padding:3px 6px;
  border-radius:6px;
  pointer-events:none;
}

@media (min-width:480px){
  .ruxin-os-badge{ height: clamp(20px, 7%, 36px); }
}