.elementor-12386 .elementor-element.elementor-element-7dd0d7d{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--padding-top:40px;--padding-bottom:84px;--padding-left:0px;--padding-right:0px;}.elementor-12386 .elementor-element.elementor-element-f013dd5{--divider-border-style:solid;--divider-border-width:1px;padding:0px 0px 0px 0px;}.elementor-12386 .elementor-element.elementor-element-f013dd5.elementor-element{--align-self:center;}.elementor-12386 .elementor-element.elementor-element-f013dd5 .elementor-divider-separator{width:39px;margin:0 auto;margin-center:0;}.elementor-12386 .elementor-element.elementor-element-f013dd5 .elementor-divider{text-align:center;padding-block-start:1px;padding-block-end:1px;}.elementor-12386 .elementor-element.elementor-element-a4435cb{text-align:center;}.elementor-12386 .elementor-element.elementor-element-a4435cb .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );}.elementor-12386 .elementor-element.elementor-element-459a171{width:var( --container-widget-width, 713.988px );max-width:713.988px;padding:0px 0px 0px 0px;--container-widget-width:713.988px;--container-widget-flex-grow:0;text-align:center;}.elementor-12386 .elementor-element.elementor-element-459a171.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-12386 .elementor-element.elementor-element-459a171 .elementor-heading-title{font-family:var( --e-global-typography-ee301cf-font-family ), Sans-serif;font-size:var( --e-global-typography-ee301cf-font-size );font-weight:var( --e-global-typography-ee301cf-font-weight );line-height:var( --e-global-typography-ee301cf-line-height );}.elementor-12386 .elementor-element.elementor-element-cdc0fa7{margin:52px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-12386 .elementor-element.elementor-element-cdc0fa7.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-12386 .elementor-element.elementor-element-e12e7c8{--display:flex;}.elementor-12386 .elementor-element.elementor-element-e459803{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--gap:12px 12px;--row-gap:12px;--column-gap:12px;--padding-top:40px;--padding-bottom:84px;--padding-left:0px;--padding-right:0px;}.elementor-12386 .elementor-element.elementor-element-f0a81da{--divider-border-style:solid;--divider-border-width:1px;padding:0px 0px 0px 0px;}.elementor-12386 .elementor-element.elementor-element-f0a81da.elementor-element{--align-self:center;}.elementor-12386 .elementor-element.elementor-element-f0a81da .elementor-divider-separator{width:39px;margin:0 auto;margin-center:0;}.elementor-12386 .elementor-element.elementor-element-f0a81da .elementor-divider{text-align:center;padding-block-start:1px;padding-block-end:1px;}.elementor-12386 .elementor-element.elementor-element-d0e8e87{text-align:center;}.elementor-12386 .elementor-element.elementor-element-d0e8e87 .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(max-width:1024px){.elementor-12386 .elementor-element.elementor-element-a4435cb .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-12386 .elementor-element.elementor-element-459a171 .elementor-heading-title{font-size:var( --e-global-typography-ee301cf-font-size );line-height:var( --e-global-typography-ee301cf-line-height );}.elementor-12386 .elementor-element.elementor-element-d0e8e87 .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}}@media(min-width:768px){.elementor-12386 .elementor-element.elementor-element-7dd0d7d{--width:1440px;}.elementor-12386 .elementor-element.elementor-element-e12e7c8{--content-width:1200px;}.elementor-12386 .elementor-element.elementor-element-e459803{--width:1440px;}}@media(max-width:767px){.elementor-12386 .elementor-element.elementor-element-7dd0d7d{--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--padding-top:40px;--padding-bottom:84px;--padding-left:0px;--padding-right:0px;}.elementor-12386 .elementor-element.elementor-element-a4435cb .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-12386 .elementor-element.elementor-element-459a171 .elementor-heading-title{font-size:var( --e-global-typography-ee301cf-font-size );line-height:var( --e-global-typography-ee301cf-line-height );}.elementor-12386 .elementor-element.elementor-element-cdc0fa7{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-12386 .elementor-element.elementor-element-e459803{--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--padding-top:40px;--padding-bottom:84px;--padding-left:0px;--padding-right:0px;}.elementor-12386 .elementor-element.elementor-element-d0e8e87 .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}}/* Start custom CSS for post-comments, class: .elementor-element-cdc0fa7 *//* ======================
   چیدمان کلی
====================== */
#comments {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    direction: rtl;
    flex-wrap: wrap;
    font-family: "DANA", Tahoma, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

#comments * {
    font-family: "DANA", Tahoma, sans-serif;
    box-sizing: border-box;
}

/* مخفی کردن عنوان پیش‌فرض وردپرس */
#comments .title-comments {
    display: none !important;
}

/* ======================
   ستون کامنت‌ها (سمت راست)
====================== */
#comments .comment-list {
    order: 1;
    width: 540px;
    max-width: 100%;
    max-height: 600px;          /* حداکثر ارتفاع ۶۰۰ پیکسل */
    overflow-y: auto;           /* اسکرول عمودی در صورت بیشتر شدن */
    overflow-x: hidden;
    list-style: none;
    margin: 0;
    padding: 0 6px 0 0;         /* کمی فاصله برای اسکرول‌بار */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* استایل اسکرول‌بار */
#comments .comment-list::-webkit-scrollbar {
    width: 6px;
}
#comments .comment-list::-webkit-scrollbar-track {
    background: transparent;
}
#comments .comment-list::-webkit-scrollbar-thumb {
    background: #cfcac0;
    border-radius: 10px;
}
#comments .comment-list::-webkit-scrollbar-thumb:hover {
    background: #b0a99c;
}

#comments .comment-list,
#comments .comment-list ol.children {
    list-style: none;
    margin: 0;
    padding: 0;
}

#comments .comment-list li.comment {
    margin: 0;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

#comments .comment-list ol.children {
    margin-top: 24px;
    padding-right: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ======================
   کارت کامنت — پدینگ مساوی ۱۰px چپ و راست
====================== */
#comments .comment-body {
    background: #FBF1E6;
    border-radius: 18px;
    padding: 8px 10px !important;
    direction: rtl;
    text-align: right;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
    width: 100%;
}

/* پاسخ‌های تو در تو */
#comments .children .comment-body {
    background: #16332A;
}

#comments .children .comment-body,
#comments .children .comment-body * {
    color: #fff !important;
}

/* ======================
   ردیف ۱: عکس + اسم
====================== */
#comments .comment-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

#comments .comment-author.vcard {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

#comments .comment-author.vcard img.avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 !important;
    float: none !important;
    position: static !important;
}

#comments .comment-author.vcard .fn,
#comments .comment-author.vcard b.fn {
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    color: #22301f;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3;
}

#comments .children .comment-author.vcard .fn,
#comments .children .comment-author.vcard b.fn {
    color: #fff !important;
}

#comments .comment-author .says {
    display: none !important;
}

#comments .comment-edit-link {
    display: none !important;
}

/* تاریخ */
#comments .comment-metadata {
    display: block !important;
    font-size: 12px;
    color: #a49d90;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    text-align: right;
}

#comments .comment-metadata a {
    color: inherit;
    text-decoration: none;
}

#comments .children .comment-metadata,
#comments .children .comment-metadata a {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ======================
   ردیف ۲: متن پیام
====================== */
#comments .comment-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

#comments .comment-content p {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px;
    line-height: 1.9;
    color: #4a463f;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: right;
}

#comments .children .comment-content p {
    color: #fff !important;
}

/* ======================
   ردیف ۳: پاسخ دادن
====================== */
#comments .reply {
    position: absolute;
    left: 10px;
    bottom: 8px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    z-index: 2;
}

#comments .comment-reply-link {
    display: inline-block;
    font-size: 0;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

#comments .comment-reply-link::before {
    content: "پاسخ دادن";
    display: inline-block;
    font-size: 13px;
    color: #a49d90;
    white-space: nowrap;
    line-height: 1.4;
}

#comments .children .comment-reply-link::before {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* ======================
   فرم ارسال دیدگاه
====================== */
#respond {
    order: 2;
    width: 480px;
    max-width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px;
    border: none;
}

#respond #reply-title {
    font-size: 0;
    margin: 0 0 24px;
    text-align: center;
}

#respond #reply-title::before {
    content: "دیدگاه خود را بیان کنید";
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

#respond #cancel-comment-reply-link {
    display: none !important;
}

#commentform {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#commentform p {
    margin: 0;
}

#commentform .logged-in-as,
#commentform .comment-notes,
#commentform .comment-form-url,
#commentform .comment-form-cookies-consent {
    display: none !important;
}

#commentform label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(44, 48, 52, 0.45);
    margin-bottom: 6px;
}

/* فیلد نام و ایمیل — ارتفاع کمتر */
#commentform .comment-form-author,
#commentform .comment-form-email {
    background: #fafbfe;
    border: 1px solid #f2f0f7;
    border-radius: 12px;
    padding: 8px 16px;
}

#commentform .comment-form-author input,
#commentform .comment-form-email input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: #2c3034;
    font-family: inherit;
    height: 28px;
    line-height: 28px;
}

#commentform .comment-form-comment {
    background: #fafbfe;
    border: 1px solid #f2f0f7;
    border-radius: 14px;
    padding: 14px 18px;
}

#commentform textarea {
    width: 100%;
    min-height: 160px;
    background: transparent;
    border: none;
    outline: none;
    resize: vertical;
    font-size: 15px;
    line-height: 1.7;
    color: #2c3034;
    font-family: inherit;
}

#commentform textarea:focus,
#commentform .comment-form-author:focus-within,
#commentform .comment-form-email:focus-within {
    border-color: #16332A;
}

#commentform .form-submit {
    margin-top: 8px;
}

#commentform #submit {
    width: 100%;
    background: #16332A;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    font-family: inherit;
}

#commentform #submit:hover {
    background: #0f241e;
}

/* ======================
   ریسپانسیو
====================== */
@media (max-width: 992px) {
    #comments {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 24px 16px;
    }

    #respond {
        order: 1;
        width: 100%;
        max-width: 480px;
    }

    #comments .comment-list {
        order: 2;
        width: 100%;
        max-width: 480px;
        max-height: 600px;      /* در موبایل هم حفظ شود */
    }

    #comments .comment-list ol.children {
        padding-right: 16px;
    }

    #comments .comment-body {
        padding: 8px 10px !important;
    }

    #comments .reply {
        left: 10px;
        bottom: 8px;
    }

    #comments .comment-author.vcard img.avatar {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px;
    }

    #comments .comment-author.vcard .fn,
    #comments .comment-author.vcard b.fn {
        font-size: 14px;
    }

    #comments .comment-content p {
        font-size: 13px;
    }

    #comments .comment-metadata {
        font-size: 11px;
    }

    #comments .comment-reply-link::before {
        font-size: 12px;
    }

    #respond #reply-title::before {
        font-size: 16px;
    }

    #commentform #submit {
        font-size: 14px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    #comments .comment-list ol.children {
        padding-right: 12px;
    }

    #comments .comment-body {
        padding: 8px 10px !important;
        border-radius: 14px;
    }
}/* End custom CSS */