/* 
	Theme Name: assefgroup-co child
	Theme URI: https://adko.ir/web-design
    Author: adko
	Author URI: https://adko.ir
    Template: assefgroup-co
    Version: 1.0.1
*/
.h-under {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  direction: rtl;
}

.h-under::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
   background: linear-gradient(
    to left,
    var(--e-global-color-secondary) 0%,
    var(--e-global-color-secondary) 50px,
    #e0e0e0 50px,
    #e0e0e0 100%
  );
}
.elementor-widget-wp-widget-categories h5{
    margin: 0 !important;
}
.wpp-cards-compact li .wpp-thumbnail {
    border-radius: 10px!important;
    margin-left: 10px!important;
}
.wpp-cards-compact li {
    align-items: flex-end !important;
}
/* خوشگل‌سازی کامل فرم دیدگاه وردپرس — بدون نیاز به تغییر HTML */
#respond {
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
}

#reply-title {
    font-size: 1.55rem !important;
    margin-bottom: 24px !important;
    padding-bottom: 10px !important;
    border-bottom: 3px solid #0073aa !important;
    display: inline-block !important;
}

/* پیام‌های بالا (logged-in-as و comment-notes) */
.logged-in-as,
.comment-notes {
    background: #f8f9fa;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.93rem;
    margin-bottom: 24px;
    color: #555;
}

/* برچسب‌ها */
.comment-form label {
    display: block;
    margin-bottom: 83 8px;
    font-weight: 600;
    font-size: 1.02rem;
}

/* فیلدهای ورودی و textarea */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    background: #fcfcfc;
    font-size: 1rem;
    transition: all 0.3s ease;
      font-family:inherit !important;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none !important;
    border-color: #0073aa !important;
    box-shadow: 0 0 0 4px rgba(0,115,170,0.12) !important;
}

/* گرید دو ستونه برای نام و ایمیل (فقط دسکتاپ) */
.comment-form-author,
.comment-form-email {
    display: inline-block;
    width: 48.5%;
}
.comment-form-author { float: left; }
.comment-form-email { float: right; }
.comment-form-url { clear: both; }

@media (max-width: 600px) {
    .comment-form-author,
    .comment-form-email {
        width: 100%;
        float: none;
    }
}

/* دکمه ارسال */
#submit {
    padding: 13px 38px !important;
      font-family:inherit !important;
    font-size: 1.12rem !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 18px rgba(0,115,170,0.35);
}

#submit:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0,115,170,0.45);
}

/* چک‌باکس ذخیره اطلاعات */
.comment-form-cookies-consent label {
    font-size: 0.94rem;
    cursor: pointer;
}

/* کمی فاصله‌گذاری نهایی */
.form-submit { 
    margin-top: 10px;
}

.comment-list li{
    background: #f8f9fa;
    padding: 15px;
    border-radius: 15px;
    list-style: none; 
}