.elementor-kit-6{--e-global-color-primary:#111827;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#9E8047;--e-global-color-697a86c:#9CA3AF;--e-global-typography-primary-font-family:"Lato";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Lato";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Lato";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Lato";--e-global-typography-accent-font-weight:500;background-color:#F9FAFB;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */html { scroll-behavior: smooth; }
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: #f9f9f9; }
        ::-webkit-scrollbar-thumb { background: #C5A059; border-radius: 4px; }


.hover-link a{
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.15em;
  
  display: inline-block;
  padding: 15px 20px;
  position: relative;
}

.hover-link a::after {
    background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: rgb(197 160 89);
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.hover-link a:hover::after{
    width: 100%; 
  left: 0; 
}
@media screen and (max-height: 300px) {
	ul {
		margin-top: 40px;
	}
}

/* =========================================
   استایل اختصاصی کامنت‌ها (Nexpo Style)
   ========================================= */

/* 1. بارگذاری فونت‌ها (اگر در المنتور لود نشده‌اند) */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --nexpo-dark: #0f172a;       /* سرمه‌ای تیره */
    --nexpo-gold: #c6a87c;       /* طلایی */
    --nexpo-gray: #555555;       /* خاکستری متن */
    --nexpo-bg-light: #f9fafb;   /* پس‌زمینه فرم */
}

/* 2. تنظیمات کانتینر اصلی */
#comments {
    font-family: 'Inter', sans-serif;
    max-width: 850px;
    margin: 0 auto;
    padding-top: 20px;
}

/* 3. استایل تیترها (One Response & Leave a Reply) */
#comments .comments-title,
#respond .comment-reply-title {
    font-family: 'DM Serif Display', serif !important;
    font-size: 2rem !important;
    color: var(--nexpo-dark) !important;
    margin-bottom: 30px !important;
    font-weight: 400;
}

/* 4. تمیزکاری لیست نظرات (حذف بولت و خطوط اضافه) */
.comment-list, 
.comment-list .children {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.comment-list li.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.comment-list li.comment:last-child {
    border-bottom: none;
}

/* 5. چیدمان آواتار و محتوا (فیکس کردن جای آواتار) */
.comment-body {
    position: relative;
    padding-left: 85px !important; /* فضای خالی سمت چپ برای آواتار */
    min-height: 70px;
}

/* استایل عکس آواتار */
.comment-body .avatar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 0 !important;
    padding: 0 !important;
}

/* 6. استایل نام نویسنده و متا */
.comment-meta {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* نام نویسنده */
.comment-author .fn, 
.comment-author .fn a {
    font-family: 'DM Serif Display', serif !important;
    font-size: 1.1rem !important;
    color: var(--nexpo-dark) !important;
    font-style: normal;
    text-decoration: none;
    font-weight: bold;
}

/* حذف "says" یا "می‌گوید" */
.comment-author .says {
    display: none;
}

/* تاریخ و ساعت */
.comment-metadata a {
    color: #aaa !important;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 400;
}

/* متن نظر */
.comment-content p {
    color: var(--nexpo-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* 7. دکمه پاسخ (Reply) */
.reply {
    margin-top: 5px;
}

.comment-reply-link {
    color: var(--nexpo-gold) !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.comment-reply-link:hover {
    color: var(--nexpo-dark) !important;
}

.comment-reply-link::before {
    content: '↳';
    margin-right: 4px;
    font-size: 1.2em;
    font-weight: bold;
}

/* 8. استایل بج "Author" (نویسنده) */
.bypostauthor > .comment-body .comment-author .fn::after {
    content: 'Author'; /* اگر سایت فارسی است بنویسید 'نویسنده' */
    background-color: var(--nexpo-gold);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* 9. باکس فرم ارسال نظر (شبیه عکس دوم) */
#respond {
    background-color: var(--nexpo-bg-light); /* خاکستری روشن */
    padding: 40px;
    border-radius: 20px; /* گوشه‌های گرد */
    margin-top: 50px;
}

/* متن لاگین شده */
.logged-in-as, 
.logged-in-as a, 
.comment-notes {
    color: #888 !important;
    font-size: 0.85rem;
    margin-bottom: 20px !important;
    text-decoration: none;
}

/* استایل فیلدها (Input & Textarea) */
#respond input[type="text"],
#respond input[type="email"],
#respond textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Inter', sans-serif;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

#respond input:focus,
#respond textarea:focus {
    border-color: var(--nexpo-dark);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

#respond textarea {
    min-height: 120px;
}

#respond label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #9ca3af;
    margin-bottom: 6px;
    display: block;
}

/* 10. دکمه ارسال (Post Comment) */
#respond .submit {
    background-color: var(--nexpo-dark);
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

#respond .submit:hover {
    background-color: #1e293b;
}

/* اصلاح موبایل */
@media (max-width: 600px) {
    .comment-body {
        padding-left: 0 !important;
        padding-top: 60px !important; /* آواتار میره بالا */
    }
    .comment-body .avatar {
        top: 0 !important;
        left: 0 !important;
    }
}
/* ====================================================
   FIX 1: اصلاح بخش دکمه کنسل و تیتر پاسخ (Cancel Reply)
   ==================================================== */

/* تنظیم تیتر و دکمه لغو در یک خط */
#respond .comment-reply-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0; /* خط جداکننده ظریف */
}

/* استایل دادن به دکمه "Cancel Reply" (لغو پاسخ) */
#respond .comment-reply-title small a {
    display: inline-block;
    color: #ef4444 !important; /* متن قرمز */
    background-color: #fef2f2; /* پس‌زمینه خیلی روشن قرمز */
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem !important;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #fee2e2;
    transition: all 0.2s ease-in-out;
    margin-left: auto; /* هل دادن دکمه به انتهای خط */
    line-height: 1;
}

#respond .comment-reply-title small a:hover {
    background-color: #ef4444;
    color: #fff !important;
    border-color: #ef4444;
}

/* مخفی کردن متن‌های اضافی اگر قالب اضافه می‌کند */
#respond .comment-reply-title small {
    font-size: 1rem; /* سایز خود تیتر */
}

/* ====================================================
   FIX 2: اصلاح کامنت‌های تو در تو و فاصله‌ها (Nesting)
   ==================================================== */

/* حذف استایل‌های مزاحم احتمالی قالب برای لیست */
.comment-list .children {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    
    /* ایجاد تورفتگی تمیز برای پاسخ‌ها */
    padding-left: 60px !important; 
    margin-top: 0 !important;
    
    /* حذف خطوط عمودی که باعث شلوغی می‌شوند (طبق عکس نمونه اول) */
    border: none !important;
    position: relative;
}

/* تنظیم فاصله هر کامنت پاسخ */
.comment-list .children li.comment {
    margin-top: 30px !important; /* فاصله مناسب از کامنت بالا */
    border-top: 1px solid #f8f8f8; /* خط خیلی محو بین پاسخ‌ها */
    padding-top: 30px !important;
}

/* حذف فلش‌های عجیب اگر قالب اضافه کرده باشد */
.comment-list .children > li::before,
.comment-list .children > li::after {
    display: none !important;
    content: none !important;
}

/* اصلاح موبایل برای جلوگیری از له شدن محتوا */
@media (max-width: 600px) {
    .comment-list .children {
        padding-left: 20px !important; /* تورفتگی کمتر در موبایل */
    }
}

/* ====================================================
   FIX EXTRA: تنظیم دقیق دکمه ریپلای
   ==================================================== */
.comment-reply-link {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 6px 0;
}/* End custom CSS */