/* Reading Time Badge Styles */
.badge.bg-info {
    background-color: #d1ecf1 !important;
    color: #0c5460 !important;
    font-weight: 500;
}

/* Post Card Styles */
.post-card {
    margin-bottom: 1.5rem;
}

.post-card .card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(0,0,0,.125);
}

.post-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #212529;
}

.post-content {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.post-meta .badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
    font-weight: 500;
}

.badge-category {
    cursor: pointer;
    transition: opacity 0.2s;
}

.badge-category:hover {
    opacity: 0.8;
}

.badge-tag {
    cursor: pointer;
    transition: opacity 0.2s;
}

.badge-tag:hover {
    opacity: 0.8;
}

.post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-actions .btn {
    font-size: 0.9rem;
    padding: 0.375rem 0.75rem;
}

/* Reading Time in Post Page */
.post-reading-time {
    display: inline-block;
    margin-bottom: 1rem;
}

/* RTL Support */
[dir="rtl"] .post-meta {
    direction: rtl;
}

[dir="rtl"] .post-actions {
    direction: rtl;
}

/* Responsive */
@media (max-width: 768px) {
    .post-title {
        font-size: 1.25rem;
    }
    
    .post-meta .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}