/* ==============post content css============= */
.single-post-outer {
    padding-top: var(--size-md);
}

.single-post-row {
    display: flex;
    gap: 30px;
}

.single-post-row .post-content-area {
    flex: 1 0 0;
}

/* -========commentaries section css====== */
.commentaries-card .commentaries-old {
    border-radius: 16px;
    border: 1px solid var(--secondary-light, #e8ecfc);
    padding: 32px 32px 48px 32px;
}

.commentaries-card .commentaries-old+.comment-add-box {
    margin-top: -24px;
}

.comment-add-box {
    border-radius: 16px;
    background: var(--surface-2, #f5f5f5);
    padding: 32px;
}

.commentaries-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    color: var(--text-secondary, rgba(66, 66, 66, 0.80));
}

.commentaries-heading .em-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-right: 8px;
}

.commentaries-heading .em-icon img {
    width: 32px;
    height: 32px;
}

.custom-comments-list .custom-comment {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--surface-3);
}

.custom-comments-list .custom-comment .comment-author {
    margin-bottom: 8px;
    line-height: 1;
    display: inline-block;
}

.comment-content {
    color: var(--text-primary);
    font-size: var(--size-sm);
    line-height: var(--line-height-sm);
}

.comment-author .commented-author-date,
.comment-author .commented-author-name {
    font-size: var(--size-xs);
    font-style: normal;
    line-height: var(--line-height-xs);
}

.comment-author .commented-author-name {
    margin-right: 4px;
    color: var(--text-primary);
    font-weight: 600;
    /* text-transform: capitalize; */
}

.comment-author .commented-author-date {
    color: var(--text-secondary, rgba(66, 66, 66, 0.80));
    font-weight: 400;
}

.comment-add-box .comment-heading {
    margin-bottom: 4px;
    color: var(--text-primary);
}

.comment-add-box p {
    font-size: var(--size-sm);
    line-height: var(--line-height-sm);
}

.comment-respond .comment-form-cookies-consent,
.comment-respond .comment-reply-title {
    display: none;
}

.comment-respond .comment-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.comment-form .name-field {
    order: 0;
}

.comment-form .email-field {
    order: 1;
}

.comment-form .textarea-field {
    order: 3;
    grid-column: span 2;
}

.comment-form .form-submit {
    order: 3;
    grid-column: span 2;
    margin-bottom: 0;
}

.comment-form .input-field input,
.comment-form textarea {
    border-radius: 32px;
    background: var(--surface-1);
    display: flex;
    width: 100%;
    padding: 14px 24px;
    border: 0;
    outline: 0;
    align-items: center;
    color: var(--text-primary);
    font-family: var(--family-body);
    font-size: var(--size-sm);
    font-style: normal;
    font-weight: 400;
    line-height: var(--line-height-sm);
    height: calc(2*0.875rem + calc(var(--line-height-sm)));
    min-height: calc(2*0.875rem + calc(var(--line-height-sm)));
}

.form-floating-input>textarea:focus~label::after,
.form-floating-input>textarea:not(:placeholder-shown)~label::after {
    position: absolute;
    inset: 0.75rem 0.375rem;
    z-index: -1;
    height: 1.125rem;
    content: "";
    background-color: var(--surface-1);
    border-radius: 24px;
}

.comment-form textarea {
    resize: none;
    height: 48px;
}

.comment-form .form-submit input[type="submit"] {
    color: var(--text-primary);
    font-family: var(--family-body);
    font-size: var(--size-xs);
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-xs);
    padding: 8px 4px;
    text-align: center;
    box-shadow: inset 0 -2px 0 0 var(--primary-primary);
    display: inline-block;
    /* text-transform: capitalize; */
    border: 0;
    background: transparent;
}

.comment-form .form-submit input[type="submit"]:hover,
.comment-form .form-submit input[type="submit"]:active,
.comment-form .form-submit input[type="submit"]:focus {
    cursor: pointer;
    color: var(--primary-primary);
}

.comment-form .logged-in-as {
    grid-column: span 2;
    margin-bottom: 0;
}

.comment-form .logged-in-as a {
    color: var(--text-primary);
    font-size: var(--size-xs);
    font-style: normal;
    font-weight: 400;
    line-height: var(--line-height-xs);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: var(--primary-primary, #F6CA19);
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.comment-form .logged-in-as a:hover,
.comment-form .logged-in-as a:active,
.comment-form .logged-in-as a:focus {
    color: var(--primary-primary);
}

/* -========commentaries section css ends====== */

html.dark-mode .content-area blockquote::before {
    filter: brightness(0) saturate(100%) invert(38%) sepia(32%) saturate(1999%) hue-rotate(200deg) brightness(104%) contrast(100%);
}

html.dark-mode .commentaries-heading .em-icon img {
    filter: brightness(2.6);
}

/*==============common media for articles============== */
@media screen and (min-width:992px) {
    .author-articles-count {
        margin-top: 0;
    }

    .author-avatar .author-articles-count {
        margin-top: 8px;
        display: flex;
    }

    .mobile-widget-block {
        display: none;
    }

}

@media screen and (max-width:991.98px) {

    .single-post-row {
        gap: 24px;
        flex-flow: column;
    }

    .single-post-row .post-content-area {
        flex: 1 0 0;
        width: 100%;
    }

    .commentaries-card .commentaries-old {
        padding: 16px 16px 48px;
    }

    .commentaries-heading .em-icon img {
        width: 24px;
        height: 24px;
    }

    .comment-add-box {
        padding: 16px 16px 24px;
    }

    .comment-respond .comment-form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px 0;
    }

    .comment-form .textarea-field,
    .comment-form .name-field,
    .comment-form .email-field {
        grid-column: span 2;
    }

    .comment-form .input-field input,
    .comment-form textarea {
        padding: 14px 16px;
    }

    .comment-respond .comment-form .form-floating-input label {
        padding: 14px 16px;
    }

    .comment-form textarea {
        height: 96px;
        border-radius: 16px;
        padding: 14px 15px;
    }

    .comment-respond .comment-form .form-floating-input textarea label {
        padding: 14px 15px;
    }

    .post-content .disclaimer-card {
        margin-bottom: 24px;
    }
}

/* 991ends */