.rpd-posts-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

.rpd-post-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 200px;
    background: #fff; /* optional */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    gap: 15px;
}

.rpd-post-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.rpd-post-card:hover img {
    transform: scale(1.05);
}

.rpd-post-content {
    flex: 1;
}

.rpd-post-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
    .rpd-post-card {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }

    .rpd-post-card img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .rpd-post-card h3 {
        font-size: 0.9rem;
    }
}
