.bernarion-blog-posts-row {
    display: flex;
    gap: 0;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.bernarion-blog-post-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(116, 73, 208, 0.10);
    min-width: 280px;
    max-width: 100%;
    flex: 1 1 0;
    height: 360px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    color: #fff;
    position: relative;
}

.bernarion-blog-post-card:hover {
    transform: translateY(-10px);
    transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
}

.bernarion-blog-post-card:not(:first-child):not(:last-child) {
    margin: 0 24px;
    /* csak a középsőnek van oldalmargója */
}

.bernarion-blog-post-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(45, 30, 95, 0.8) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.bernarion-blog-post-card:hover {
    box-shadow: 0 16px 48px rgba(116, 73, 208, 0.18);
}

.bernarion-blog-post-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.bernarion-blog-post-category {
    display: inline-block;
    background: #4CBD97;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 13px;
    padding: 5px 20px;
    margin-bottom: 16px;
    width: fit-content;
    line-height: 19px;
}

.bernarion-blog-post-title {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.3 !important;
}

.bernarion-blog-post-meta {
    display: flex;
    gap: 20px;
    color: #fff;
    font-size: 14px;
    opacity: 1;
}

.bernarion-blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bernarion-blog-post-meta span img {
    display: inline-block;
    border-radius: 0 !important;
}

@media (max-width: 900px) {
    .bernarion-blog-posts-row {
        flex-direction: column;
        gap: 24px;
    }

    .bernarion-blog-post-card {
        width: 100%;
    }
}