.hover-effect img{margin-bottom:0}.ribbon{position:absolute;top:17px;padding:0 4px;font-size:10px}.ribbon.red{background-color:red;color:#fff}