.comments_title {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
}

.cta-button.leave-comment-button {
    font-size: 14px;
    padding: 10px 16px;
    height: auto;
    line-height: 1.2;
    margin: 0;
    background-color: var(--primary-default);
}

.children.list-unstyled {
    margin-bottom: 0;
}

.children.list-unstyled li {
    display: none;
}

.children.list-unstyled li:first-child {
    display: block;
}

.comment-author-info {
    display: flex;
    margin-bottom: 15px;
}

.comment.parent {
    margin-bottom: 18px;
}

.view-all-replies {
    display: none;
}

.view-all-replies:before {
    content: "";
    display: block;
    width: 100%;
    border-radius: 0px 0px 16px 16px;
    background: var(--view-replies-button-backgorund);
    height: 150px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.view-all-replies p {
    position: relative;
    margin: 0 auto;
    cursor: pointer;
    padding: 10px 16px;
    width: fit-content;
    color: var(--primary-default);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
}

.comment-author-info .edit {
    margin-left: auto;
}

.load_more_posts {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: var(--primary-default);
    background-color: var(--white);
    border-radius: 3px;
    border: 1px solid var(--primary-default);
    font-weight: 700;
    width: fit-content;
    margin-left: 50%;
    transform: translateX(-50%);
}

.num-of-post-comments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 50px 15px 16px;
    font-size: 24px;
    font-weight: bold;
}

.comment-content {
    display: flex;
    flex-wrap: wrap;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
}

.comment-form-comment-textarea {
    max-width: 100%;
    height: 100px;
    padding: 15px;
    width: 100%;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    margin-top: 10px;
}

#comment {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.comment-form-info span,
.comment-form-info label {
    font-size: 16px;
}

.comment-form .required {
    color: #777;
    font-size: 12px;
    text-transform: uppercase;
}

.comment.reply {
    margin-left: 18px;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--children-comment-background);
    max-width: calc(100% - 18px);
    margin-bottom: 18px;
}

.leave-comment-form-wrapper {
    display: none;
    width: 100%;
    margin-bottom: 24px;
}

#single-post .leave-a-comment-form {
    padding: 24px;
    border: 1px solid var(--comment-form-border);
    border-radius: 10px;
}

.comment.reply:last-child {
    margin-bottom: 0;
}

.reply-container span {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    color: var(--brand-primary);
}

.reply .reply-container {
    text-align: right;
    float: right;
}

.reply-container .invisible-reply-container {
    display: none;
}

.replies-title {
    padding: 0 20px;
}

.comment-author-avatar {
    width: fit-content;
    margin-right: 10px;
}

.comment-author-info {
    width: 100%;
}

.comment-author-avatar img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.comment-author-info p {
    margin: 0;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

.the-post-comments .comment-text {
    font-size: 16px;
    line-height: 26px;
    padding: 0 0 15px;
}

.comment-text a {
    text-decoration: underline;
}

.comment-author-name {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
}

.comment-date {
    font-size: 14px;
    color: var(--black);
    opacity: 0.7;
}

.reply-container {
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: right;
}

.reply-container button {
    color: var(--brand-primary);
    font-weight: 400;
    background: transparent;
    border: none;
    outline: none;
    margin: 0;
    font-size: 14px;
    padding: 0;
}

.reply-container.invisible-reply-container {
    display: none;
}

.leave-a-reply {
    font-weight: bold;
    font-size: 20px;
    padding: 0 0 24px 0;
}

.invisible-reply-form {
    display: none;
    margin-top: 20px;
    padding: 16px 12px;
    border-radius: 8px;
    border: 1px solid var(--comment-form-border);
}

.post-comment-container {
    border-radius: 16px;
    border: 1px solid var(--comment-form-border);
    padding: 16px 16px 24px 16px;
    margin-bottom: 30px;
}

.submit {
    font-size: 16px;
    padding: 12px 16px;
    line-height: 24px;
    text-align: center;
    color: var(--white);
    background-color: var(--primary-default);
    border-radius: 3px;
    border: none;
    font-weight: 700;
}

.comment-form-input-field {
    margin-bottom: 24px;
    margin-top: 10px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 16px;
    padding: 0 10px;
    height: 40px;
    line-height: 18px;
}

.comment-respond h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 28px;
}

.no-comments-form {
    padding-top: 50px;
}

.no-comments-form .leave-comment-button {
    display: none;
}

.no-comments-form .leave-comment-form-wrapper {
    margin-top: 16px;
    display: block;
}

.comment-respond p {
    margin: 0;
}

.comment-respond .error {
    border: 1px solid var(--error);
}

.comment-submit-message {
    padding: 15px;
    font-size: 13px;
    border-radius: 10px;
    font-weight: 600;
}

.leave-comment-form-wrapper .comment-submit-message {
    margin-top: 0;
}

.comment-submit-message.success {
    background: var(--success-background);
    color: var(--success);
}

.comment-submit-message p:last-child {
    margin-bottom: 0;
}

.success-message-wrapper {
    padding: 0;
    margin: 12px 0;
}

.comment-submit-message.error {
    background: var(--error-background);
    color: var(--error);
}

.error-message-wrapper {
    padding: 0;
    margin: 12px 0;
}

@media(min-width: 576px) {
    .post-comment-container {
        padding: 24px 24px 36px 24px;
    }
    #single-post .leave-a-comment-form {
        padding: 16px;
    }
    .view-all-replies:before {
        height: 202px;
    }
    .invisible-reply-form {
        padding: 24px;
    }
    .comment.reply {
        padding: 16px 24px;
    }
}

