.post-card-image-container {
    position: relative;
    width: 100%;
    /* Let it shrink-wrap vertically, but never grow taller than 240px */
    max-height: 240px; 
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background-color: #111; 
}

.post-card-image-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
}

/* Kill injected theme icons next to links */
.post-card-image-container a::after,
.post-card-image-container a::before {
    display: none !important;
}

.post-card-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px) brightness(0.6);
    transform: scale(1.15); 
    z-index: 1;
    pointer-events: none;
}

.post-card-image {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 240px; 
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
