.epl-post-listing {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Vertical Layout (default) */
.epl-direction-column .epl-post-listing {
    flex-direction: column;
}

.epl-direction-column .epl-post-item {
    width: 100%;
}

/* Horizontal Layout */
.epl-direction-row .epl-post-listing {
    flex-direction: row;
}

.epl-direction-row .epl-post-item {
    flex: 1;
    min-width: 250px;
}

.epl-post-item {
    display: flex;
    gap: 15px;
}

.epl-featured-image {
    flex-shrink: 0;
}

.epl-featured-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.epl-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.epl-post-content h3 {
    margin: 0;
    font-size: 1.2em;
}

.epl-post-content h3 a {
    text-decoration: none;
    color: inherit;
}

.epl-date,
.epl-author,
.epl-category {
    font-size: 0.9em;
    color: #666;
}

.epl-no-posts {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .epl-direction-row .epl-post-item {
        min-width: 100%;
    }
    
    .epl-post-item {
        flex-direction: column;
    }
    
    .epl-featured-image img {
        width: 100%;
        height: 200px;
    }
}
