/* =========================================================
   KiwiAI — Clean Article Cover Layout
   تصویر بزرگ استاندارد، بدون متن روی عکس
   ========================================================= */

body[data-page="article-detail-bilingual"] #heroBox.article-hero,
#heroBox.article-hero{
  display:block !important;
  width:100% !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 0 34px !important;
  overflow:visible !important;
  isolation:auto !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

/* عنوان، خلاصه و تاریخ خارج از تصویر */
#heroBox.article-hero .article-hero-info{
  position:relative !important;
  inset:auto !important;
  display:block !important;
  width:100% !important;
  min-height:0 !important;
  margin:0 0 22px !important;
  padding:0 !important;
  color:inherit !important;
  background:transparent !important;
  box-shadow:none !important;
  direction:rtl !important;
  text-align:right !important;
}

html[lang="en"] #heroBox.article-hero .article-hero-info,
body.kiwi-article-en #heroBox.article-hero .article-hero-info{
  direction:ltr !important;
  text-align:left !important;
}

#heroBox.article-hero .article-hero-info *{
  text-shadow:none !important;
}

/* خود قاب تصویر: بزرگ و استاندارد */
#heroBox.article-hero .article-hero-img{
  position:relative !important;
  inset:auto !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:16 / 9 !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  overflow:hidden !important;
  border:0 !important;
  border-radius:26px !important;
  background:#f2f5f2 !important;
  box-shadow:0 18px 42px rgba(4,57,37,.15) !important;
}

/* حذف کامل لایه و متن روی تصویر */
#heroBox.article-hero .article-hero-img::before,
#heroBox.article-hero .article-hero-img::after{
  content:none !important;
  display:none !important;
}

/* تصویر تمام کادر 16:9 را پر می‌کند */
#heroBox.article-hero #articleImage{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  object-fit:cover !important;
  object-position:center center !important;
  border:0 !important;
  border-radius:0 !important;
}

/* تیتر مقاله، خارج از تصویر */
#heroBox.article-hero #articleTitle{
  margin:0 0 12px !important;
  color:#123525 !important;
  font-size:clamp(1.55rem,3vw,2.7rem) !important;
  font-weight:900 !important;
  line-height:1.6 !important;
}

/* خلاصه و متادیتا */
#heroBox.article-hero .article-meta{
  margin:0 !important;
  color:#64746a !important;
  font-size:.91rem !important;
}

#heroBox.article-hero .badge-category{
  display:inline-flex !important;
  margin:0 0 12px !important;
  padding:6px 11px !important;
  border:1px solid rgba(16,93,56,.16) !important;
  border-radius:999px !important;
  background:#edf8f0 !important;
  color:#176238 !important;
  font-weight:800 !important;
}

/* موبایل */
@media (max-width:767.98px){
  body[data-page="article-detail-bilingual"] #heroBox.article-hero,
  #heroBox.article-hero{
    margin-bottom:24px !important;
  }

  #heroBox.article-hero .article-hero-info{
    margin-bottom:16px !important;
  }

  #heroBox.article-hero .article-hero-img{
    aspect-ratio:16 / 9 !important;
    border-radius:19px !important;
    box-shadow:0 12px 28px rgba(4,57,37,.13) !important;
  }

  #heroBox.article-hero #articleTitle{
    margin-bottom:9px !important;
    font-size:clamp(1.22rem,5vw,1.62rem) !important;
    line-height:1.65 !important;
  }

  #heroBox.article-hero .article-meta{
    font-size:.77rem !important;
  }

  #heroBox.article-hero .badge-category{
    margin-bottom:8px !important;
    padding:5px 9px !important;
    font-size:.68rem !important;
  }
}
