.epw-posts-wrapper {
    display: flex;
    flex-direction: column;
}

.epw-post-card {
    display: flex;
    align-items: center;
    width: 100%;
}

.epw-post-thumb {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.epw-post-thumb a {
    display: block;
}

.epw-post-thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.epw-post-card:hover .epw-post-thumb img {
    transform: scale(1.04);
}

.epw-post-category {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 12px;
}

.epw-post-content {
    flex: 1;
    min-width: 0;
}

.epw-post-title {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.18;
    font-weight: 700;
}

.epw-post-title a {
    color: #000;
    text-decoration: none;
}

.epw-post-title a:hover {
    color: inherit;
}

.epw-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #8a8f98;
    font-size: 14px;
    margin-bottom: 12px;
}

.epw-post-excerpt {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.epw-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.epw-read-more span {
    font-size: 22px;
    line-height: 1;
}

.epw-pagination {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.epw-pagination a,
.epw-pagination span {
    min-width: 38px;
    height: 38px;
    padding: 7px 12px;
    border: 1px solid #ddd;
    color: #111;
    background: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.epw-pagination .current {
    color: #fff;
}

.epw-empty {
    padding: 16px;
    background: #f7f7f7;
    border: 1px solid #eee;
}

@media (max-width: 767px) {
    .epw-post-card {
        flex-direction: column;
        align-items: stretch;
    }

    .epw-post-thumb {
        width: 100% !important;
    }

    .epw-post-content {
        padding-top: 16px;
    }

    .epw-post-title {
        font-size: 22px;
    }
}
