/**
 * Blog single + comments — Mahyar blog-single.html tweaks.
 */

.dt-blog-single .comment-list-wrapper .comment-list,
.dt-blog-single .comment-list-wrapper .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dt-blog-single .box_users_comment.reply {
    margin-right: 2rem;
    border-right: 3px solid var(--main-color-one, #5b2d8a);
}

.dt-blog-single .box_text-comment p:last-child,
.dt-blog-single .box_text_comment p:last-child {
    margin-bottom: 0;
}

.dt-blog-single .comment-form.row {
    --bs-gutter-y: 0;
    row-gap: 2rem;
}

.dt-blog-single .comment-form > [class*="col-"] {
    margin-top: 0;
    margin-bottom: 0;
}

.dt-blog-single .comment-form .comment-item {
    margin-bottom: 0;
}

.dt-blog-single .comment-form .comment-item .form-control {
    min-height: 48px;
    border-radius: 12px;
    border-color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.dt-blog-single .comment-form .comment-item .label-float {
    font-size: 0.85rem;
    color: #64748b;
}

.dt-blog-single .comment-respond .comment-reply-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.dt-blog-single .comment-respond .comment-reply-title small {
    margin-right: 0.5rem;
}

.dt-blog-single .comments_likes .comment-reply-link {
    text-decoration: none;
}

.dt-blog-single .blog-post-content .aligncenter {
    display: block;
    margin-inline: auto;
}

.dt-blog-single .blog-post-content img {
    max-width: 100%;
    height: auto;
}

/* —— Pages (برگه) + shared content typography —— */
.dt-page .content {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.dt-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.dt-page-header .section-title {
    margin: 0;
}

.dt-page-header .section-title h1 {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.dt-page-meta {
    font-size: 0.875rem;
    line-height: 1.6;
}

.dt-page .content-box {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    padding: 1.5rem 0.75rem 2rem;
}

@media (min-width: 768px) {
    .dt-page .content-box {
        padding: 2rem 1.5rem 2.25rem;
    }
}

.dt-page .blog-single-content,
.dt-page .entry-content,
.dt-blog-single .blog-post-content,
.dt-blog-single .entry-content {
    line-height: 2.05;
    font-size: 1.02rem;
    color: #1e293b;
}

.dt-page .entry-content p,
.dt-blog-single .entry-content p,
.dt-blog-single .blog-post-content p {
    line-height: 2.15;
    text-align: justify;
    margin-bottom: 1.25rem;
    color: #1e293b;
}

.dt-page .entry-content h2,
.dt-page .entry-content h3,
.dt-page .entry-content h4,
.dt-blog-single .entry-content h2,
.dt-blog-single .entry-content h3,
.dt-blog-single .entry-content h4,
.dt-blog-single .blog-post-content h2,
.dt-blog-single .blog-post-content h3,
.dt-blog-single .blog-post-content h4 {
    margin-top: 1.85rem;
    margin-bottom: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
}

.dt-page .entry-content h2,
.dt-blog-single .entry-content h2,
.dt-blog-single .blog-post-content h2 {
    font-size: 1.35rem;
}

.dt-page .entry-content h3,
.dt-blog-single .entry-content h3,
.dt-blog-single .blog-post-content h3 {
    font-size: 1.2rem;
}

.dt-page .entry-content h4,
.dt-blog-single .entry-content h4,
.dt-blog-single .blog-post-content h4 {
    font-size: 1.05rem;
}

.dt-page .entry-content ul,
.dt-page .entry-content ol,
.dt-blog-single .entry-content ul,
.dt-blog-single .entry-content ol,
.dt-blog-single .blog-post-content ul,
.dt-blog-single .blog-post-content ol {
    padding-inline-start: 1.4rem;
    margin-bottom: 1.25rem;
    line-height: 2;
}

.dt-page .entry-content li,
.dt-blog-single .entry-content li,
.dt-blog-single .blog-post-content li {
    margin-bottom: 0.35rem;
}

.dt-page .entry-content a,
.dt-blog-single .entry-content a,
.dt-blog-single .blog-post-content a {
    color: var(--main-color-one);
    text-underline-offset: 0.15em;
}

.dt-page .entry-content table,
.dt-blog-single .entry-content table {
    width: 100%;
    margin-bottom: 1.35rem;
    font-size: 0.95rem;
}

.dt-page .entry-content img,
.dt-blog-single .entry-content img,
.dt-blog-single .blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.dt-page .entry-content blockquote,
.dt-blog-single .entry-content blockquote,
.dt-blog-single .blog-post-content blockquote {
    margin: 1.6rem 0;
    padding: 1.1rem 1.35rem;
    border-right: 4px solid var(--main-color-one);
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.95;
}

/* —— Blog comments —— */
.dt-blog-single .comment-list-wrapper .children {
    margin-right: 1.25rem;
    padding-right: 0.75rem;
    border-right: 2px solid rgba(15, 23, 42, 0.08);
}

.dt-blog-single .box_users_comment {
    background: #fff;
}

.dt-blog-single .comment-item textarea.form-control {
    padding-top: 1.4rem;
    min-height: 150px;
    border-radius: 12px;
}

.dt-blog-single .box_text_comment,
.dt-blog-single .box_text-comment {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #334155;
}

.dt-blog-single .dt-comment-reply,
.dt-blog-single .dt-comment-reply .comment-reply-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--main-color-one);
    border-radius: 8px;
}

.dt-blog-single .comment-form .form-submit {
    margin-top: 0.25rem;
}

.dt-blog-single .comment-form .form-submit .btn {
    min-width: 140px;
    border-radius: 999px;
    font-weight: 700;
}

.dt-blog-single .comment-form .comment-form-cookies-consent .form-check-label {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #64748b;
}

.dt-blog-single .comment-navigation {
    margin-top: 1rem;
}
