/* Post style css */
.post-wrapper {
    padding-bottom: 40px;
}

.post_container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 15px;
    row-gap: 15px;
}

.post_main_title {
    text-align: center;
    font-weight: 700;
    font-size: 46px;
    line-height: 64.4px;
    margin-bottom: 40px;
}

.post_box {
    max-width: 390px;
    width: 100%;
    border-radius: 5px;
    transition: box-shadow 0.3s ease-out;
    border: 0.5px solid #c4c4c4;
    padding-bottom: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap:10px;

    min-height: 370px;
    max-height: 370px;
}

.post_box a {
    color: black;
    width: 100%;
}

.post_img__box {
    margin-bottom: 2px;
    /*border-radius: 50px;*/
    overflow: hidden;
    width: 100%;
}

.post_img {
    /*border-top-right-radius: 5px;*/
    /*border-top-left-radius: 5px;*/
    height: 250px;
    object-fit: fill;
}

.post_title {
    font-family: "Roboto";
    font-weight: 500;
    font-size: 20px;
    line-height: 25.2px;
    padding: 0 15px;
    margin-bottom: 24px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post_short {
    margin-bottom: 49px;
}

.post_text {
    font-size: 16px;
    line-height: 22.4px;
    text-decoration: none;
    color: #7e7e7e;
    padding: 0 15px;
    margin-top: auto;
}

@media screen and (max-width: 834px) {
    .page_short {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 500px) {
    .page {
        padding-bottom: 24px;
    }

    .page_box {
        max-width: 100%;
    }

    .page_img__box {
        max-width: 100%;
    }

    .page_title {
        font-size: 16px;
        line-height: 20.16px;
        margin-bottom: 16px;
    }

    .page_text {
        font-size: 14px;
        line-height: 19.6px;
    }
}

/* Post detail */
.post-detail {
    padding-top: 40px;
    padding-bottom: 100px;
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.post-detail_title {
    text-align: center;
}

.post-detail_data {
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    color: #334155;
    text-align: center;
}

.post-detail_title {
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 34px;
    line-height: 42.84px;
}

.post-detail_description {
    max-width: 958px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 40px;
}

.post-detail_img__box {
    margin-bottom: 40px;
}

.post-detail_description,
.post-detail_content {
    font-size: 16px;
    line-height: 26px;
    color: #334155;
}

@media screen and (max-width: 600px) {
    .post-detail {
        padding-top: 14px;
        padding-bottom: 60px;
    }

    .post-detail_data,
    .post-detail_title {
        text-align: start;
    }

    .post-detail_data {
        font-size: 14px;
        line-height: 19.6px;
        margin-bottom: 14px;
    }

    .post-detail_title {
        font-size: 20px;
        line-height: 25.2px;
        margin-bottom: 24px;
    }

    .post-detail_description {
        margin-bottom: 24px;
    }

    .post-detail_img__box {
        margin-bottom: 24px;
    }

    .post-detail_content {
        display: none;
    }
}

/* PProfile post */

.profile-post_container {
    display: flex;
    column-gap: 15px;
    row-gap: 15px;
    flex-wrap: wrap;
}

.profile_tab_btn {
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    z-index: 1000;
    right: 6px;
    top: 6px;
    width: 10% !important;

}

.profile_tab_btn::before {
    content: "";
    width: 40px;
    height: 40px;
    display: block;
    background: url("../../images/notes.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 24px;
}
