.new-vk-wj{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 10%;
}

.block-wj{
    position: relative;
    width: 80%;
}

.wj{
    margin-top: 40px;
    display: flex;
}

h2{
    display: block;
    font-size: 3em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.block-wj::before{
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 10%;
    background-color: #4B3A3D;
    z-index: -1;
    filter: blur(150px);
    left: 0;
    top: 20%;
}

.main-post{
    width: 50%;
    display: flex;
    align-items: center;
}

.side-posts{
    width: 50%;
    display: block;
    justify-content: center;
    align-items: center;
}

.block-post{
    border-radius: 25px;
    margin: 15px;
    display: flex;
    transition: 0.4s;
    width: 100%;
}

.main-block-post{
    border-radius: 25px;
    display: flex;
    transition: 0.4s;
    width: 100%;
}

.block-post:hover{
    position: relative;
    bottom: 1px;
    box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.5)
}

.main-block-post:hover{
    position: relative;
    border-radius: 25px;
    bottom: 1px;
    box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.5)
}


.main-post-block {
    position: relative;
    background-size: cover;
    background-position: center; 
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    border-radius: 25px;
}

.side-post-block{
    background-size: cover;
    background-position: center; 
    height: 290px;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 25px;
}

.text {
    padding: 20px;
    border-radius: 25px;
    word-wrap: break-word;
    white-space: pre-line;
    overflow-wrap: break-word;
    position: relative;
    color: white;
    background: rgba(0, 0, 0, 0.781);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}

.text h3 {
    display: block;
    font-size: 3em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    order: 1; 
}

.text p {
    order: 2; 
    font-size: 20px;
}

@media (max-width: 1440px) {
    .text h3{
        font-size: 2em;
    }

    .text p {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .main-post{
        width: 100%;
    }

    .wj{
        display: block;
    }

    .side-posts{
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

}

@media (max-width: 768px) {

    .side-posts{
        overflow-y: auto;
    }

    .side-posts::-webkit-scrollbar {
        height: 0px;         
    }
    
    .side-posts::-webkit-scrollbar-track {
        background: #1e161a00;    
    }

}

@media (max-width: 425px) {
    h2{
        font-size: 2em;
        text-align: center;
    }

    .main-post-block {
        height: 400px;
    }
}
