/* Keep the placeholder only when the card has no usable image. */
.post-detail-page .related-post-image:has(img:not([style*="display: none"])) .related-post-placeholder { display: none; }
.post-detail-page .related-post-image { background: linear-gradient(145deg, #182741, #0e1a2c); }
.post-detail-page .related-post-image img { display: block; width: 100%; height: 100%; padding: 10px; object-fit: scale-down; }
.post-detail-page .related-post-card:hover .related-post-image img { transform: none; }