.comment_modal_container {
    position: fixed;
    top: 130px;
    right: 0;
    bottom: 0;
    font-family: Inter;
    z-index: 1000;
    display: none;
}

.comment_modal_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000e5;
}

.comment_modal,
.comment_form_field {
    position: absolute;
    right: 0;
    background-color: #fff;
    box-shadow: 0px 4px 13.1px 0px #00000040;
    padding: 24px;
    width: 500px;
    height: 100%;
}

.comment_form_field {
    padding: 0;
}

.cmt_top_bar {
    display: none;
}

.cmt_title {
    font-size: 16px;
    font-weight: 600;
}

.cmt_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 2px solid #f5f8fc;
    padding-bottom: 5px;
}

.cmt_close_btn {
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.w_close_btn {
    display: block;
}

.m_close_btn {
    display: none;
}

.cmt_ff_close_btn {
    position: absolute;
    right: 24px;
    top: 14px;
    width: 40px;
    height: 40px;
}

.cmt_comment_section {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: calc(100% - 54px);
}

.comment-respond {
    background-color: transparent !important;
    padding: 24px !important;
}

#commentform .comment-form-author,
#commentform .comment-form-email {
    width: 100%;
}

#commentform .comment-form-author > input,
#commentform .comment-form-email > input {
    border-radius: 8px;
    border: 0.5px solid #e6ebf4;
}

#commentform .comment-form-comment > textarea {
    background: #f5f8fccc;
    border: 1px solid #e6ebf4;
    box-shadow: 0px 2px 2px 0px #0000000a;
    border-radius: 8px;
}

#commentform .form-submit {
    text-align: center;
}

#commentform .form-submit > input {
    border: none;
}

.leave_comment_container {
    box-shadow: 0px 4px 10px 0px #0000000d;
    padding: 16px;
    border: 1px solid #dce4f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0;
    cursor: pointer;
}

.comment_placeholder {
    color: #8897a2;
    font-size: 18px;
}

.view_all_cmt_container {
    font-family: Inter;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10847e;
    cursor: pointer;
    width: fit-content;
    /*margin-bottom: 50px;*/
}

.view_all_arrow_img {
    width: 40px;
    height: 40px;
}

.view_all_cmt_container > p {
    font-size: 22px;
    font-weight: 500;
}

.blog_divider_container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0 12px;
}

.next_blog_line {
    width: 150px;
    height: 1px;
}

.next_blog_line1 {
    transform: rotate(180deg);
    background: linear-gradient(
        90deg,
        rgba(110, 120, 126, 0.5) 0.68%,
        rgba(181, 205, 247, 0) 97.3%
    );
}

.next_blog_line2 {
    background: linear-gradient(
        90deg,
        rgba(110, 120, 126, 0.5) 0.68%,
        rgba(181, 205, 247, 0) 97.3%
    );
}

.next_post_text {
    font-family: Inter;
    margin: 0 8px;
    font-size: 14px;
    font-weight: 500;
}

#wpdcom .wpd-thread-list {
    padding: 0;
}

#wpdcom #wpd-threads {
    margin-top: 0;
}

#wpdcom.wpd-layout-2 .wpd-comment .wpd-avatar img.avatar {
    width: 48px;
    height: 48px;
}
.comment-notes {
    font-size: 11px;
    color: gray;
    margin-top: 8px;
}

@media screen and (max-width: 992px) {
    .comment_modal_container {
        top: 60px;
    }
}

@media screen and (max-width: 650px) {
    .comment_modal_container {
        top: 0;
        left: 0;
    }

    .comment_modal {
        top: unset;
        left: 0;
        bottom: 0;
        height: 600px;
        width: 100%;
        padding: 16px;
        border-radius: 24px 24px 0 0;
    }

    .comment_modal_overlay {
        display: block;
    }

    .cmt_close_btn {
        width: 40px;
        height: 40px;
    }

    .w_close_btn {
        display: none;
    }

    .m_close_btn {
        display: block;
        position: absolute;
        z-index: 102;
        cursor: pointer;
        top: -56px;
        left: 50%;
        transform: translateX(-50%);
    }

    .cmt_top_bar {
        display: block;
        width: 32px;
        height: 3px;
        background-color: #e6ebf4;
        border-radius: 2px;
        margin: 0 auto 10px;
    }

    .cmt_header {
        justify-content: center;
    }

    .cmt_comment_section {
        max-height: calc(100% - 70px);
    }

    .form_field_section #respond {
        padding: 16px !important;
    }

    .comment_form_field {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 12px;
        width: 80%;
        height: auto;
    }

    .cmt_ff_close_btn {
        right: 9px;
        top: 6px;
    }

    #commentform .comment-form-author > input,
    #commentform .comment-form-email > input,
    #commentform .comment-form-comment > textarea,
    #commentform .form-submit > input,
    .comment-notes {
        font-size: 12px;
        line-height: 16px;
    }

    .comment-respond #reply-title {
        font-weight: 600;
    }

    .view_all_arrow_img {
        width: 24px;
        height: 24px;
    }

    .view_all_cmt_container > p {
        font-size: 14px;
    }

    .leave_comment_container {
        padding: 12px;
        margin: 20px 0;
    }

    .leave_comment_container > img {
        width: 24px;
        height: 24px;
    }

    .comment_placeholder {
        font-size: 14px;
    }

    .next_blog_line {
        width: 60px;
    }

    .next_post_text {
        text-transform: uppercase;
        font-size: 11px;
    }
}
