.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal_block {
    position: relative;
    width: 1000px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
}

.close_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    background-color: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.post_details {
    display: flex;
    gap: 20px;
}

.post_section {
    flex: 1;
}

.post_content {
    display: flex;
    flex-direction: column;
}

.pd_img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.post_info {
    margin-top: auto;
}

.post_title {
    font-size: 24px;
    margin-bottom: 10px;
}

.post_text {
    font-size: 16px;
}

.user_section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user_info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.user_login {
    font-size: 18px;
}

.comments_section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comments_title {
    font-size: 20px;
    margin-bottom: 10px;
}

.comment_list {
    overflow-y: auto;
}

.comment {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment_avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.comment_text {
    font-size: 14px;
}

.likes_section {
    margin-top: 20px;
}

.likes_title {
    font-size: 20px;
}

.likes_count {
    font-weight: bold;
}



.flex{
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    align-items: center;
}