.rpbc-related-posts {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 2px solid #eee;
}

.rpbc-title {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    position: relative;
}

.rpbc-grid {
    display: grid;
    gap: 20px;
}

.rpbc-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rpbc-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.rpbc-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.rpbc-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.rpbc-content {
    padding: 15px;
}

.rpbc-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.4;
    color: #333;
}

.rpbc-date {
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .rpbc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .rpbc-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 🎨 Hiệu ứng xuất hiện */
.rpbc-related-posts {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.rpbc-related-posts.rpbc-visible {
    opacity: 1;
    transform: translateY(0);
}
