/* کارت پست */
.post-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* تصویر */
.post-card .card-img-top {
    border-radius: 12px;
    transition: transform .4s ease, filter .4s ease;
    object-fit: cover;
}

.post-card:hover .card-img-top {
    transform: scale(1.05);
    filter: brightness(0.9) saturate(1.15);
}

/* عنوان روی عکس - همیشه نمایش داده میشه */
.post-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    margin: 0;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(25, 39, 54, .85), rgba(25, 39, 54, .65));
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    max-width: calc(100% - 24px);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: #fff;
    font-weight: 500;
    display: block;
    opacity: 1; /* همیشه نمایش داده میشه */
    transform: none; /* بدون انیمیشن ورود */
}

/* لینک عنوان */
.post-badge a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.post-badge a:hover {
    text-decoration: underline;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .post-badge {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 767.98px) {
    .post-badge {
        font-size: 15px;
    }
}
