/* ==========================================================
   KiwiAI — Home Articles Showcase V3
   ========================================================== */

#homeArticlesList > [class*="col"]{
  display:flex !important;
  margin-bottom:20px !important;
}

#homeArticlesList .article-card-home{
  width:100% !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
  border:1px solid rgba(10,74,51,.09) !important;
  border-radius:22px !important;
  background:#fff !important;
  box-shadow:0 12px 28px rgba(11,56,40,.07) !important;
  transform:none !important;
  transition:none !important;
}

#homeArticlesList .article-card-home:hover{
  transform:none !important;
  box-shadow:0 14px 30px rgba(11,56,40,.09) !important;
}

#homeArticlesList .article-card-cover{
  width:100% !important;
  aspect-ratio:16 / 9 !important;
  overflow:hidden !important;
  background:#edf4ef !important;
}

#homeArticlesList .article-card-cover img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
}

#homeArticlesList .article-card-body{
  flex:1 1 auto !important;
  height:auto !important;
  min-height:0 !important;
  padding:18px 20px 20px !important;
  direction:rtl !important;
  text-align:right !important;
  font-family:var(--kiwi-site-font, inherit) !important;
}

#homeArticlesList .article-card-body > .d-flex{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px 18px !important;
  margin:0 0 13px !important;
  min-height:34px !important;
}

#homeArticlesList .article-card-body .article-chip,
#homeArticlesList .article-card-body .badge-soft,
#homeArticlesList .article-card-body .badge{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  order:1 !important;
  padding:6px 12px !important;
  border-radius:999px !important;
  border:1px solid rgba(10,120,75,.12) !important;
  background:#eefaf3 !important;
  color:#08734a !important;
  font-size:12.5px !important;
  font-weight:800 !important;
  line-height:1.5 !important;
  white-space:nowrap !important;
}

#homeArticlesList .article-card-body .small.text-muted{
  order:2 !important;
  margin:0 !important;
  color:#6a7d75 !important;
  font-size:13.5px !important;
  line-height:1.8 !important;
  white-space:nowrap !important;
}

#homeArticlesList .article-card-body h6{
  margin:0 0 11px !important;
  color:#064633 !important;
  font-size:23px !important;
  font-weight:900 !important;
  line-height:1.7 !important;
  text-align:right !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:3 !important;
  overflow:hidden !important;
}

#homeArticlesList .article-card-body p{
  margin:0 !important;
  color:#597069 !important;
  font-size:14.5px !important;
  line-height:2 !important;
  text-align:right !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
}

/* English */
html[lang^="en"] #homeArticlesList .article-card-body,
html[dir="ltr"] #homeArticlesList .article-card-body{
  direction:ltr !important;
  text-align:left !important;
}

html[lang^="en"] #homeArticlesList .article-card-body h6,
html[lang^="en"] #homeArticlesList .article-card-body p,
html[dir="ltr"] #homeArticlesList .article-card-body h6,
html[dir="ltr"] #homeArticlesList .article-card-body p{
  text-align:left !important;
}

/* Mobile */
@media (max-width:768px){
  #homeArticlesList > [class*="col"]{
    margin-bottom:16px !important;
  }

  #homeArticlesList .article-card-home{
    border-radius:19px !important;
  }

  #homeArticlesList .article-card-body{
    padding:16px 16px 19px !important;
  }

  #homeArticlesList .article-card-body > .d-flex{
    justify-content:space-between !important;
    gap:9px 14px !important;
    margin-bottom:12px !important;
  }

  #homeArticlesList .article-card-body .article-chip,
  #homeArticlesList .article-card-body .badge-soft,
  #homeArticlesList .article-card-body .badge{
    font-size:12px !important;
    padding:6px 10px !important;
  }

  #homeArticlesList .article-card-body .small.text-muted{
    font-size:13px !important;
  }

  #homeArticlesList .article-card-body h6{
    margin-bottom:9px !important;
    font-size:19px !important;
    line-height:1.82 !important;
  }

  #homeArticlesList .article-card-body p{
    font-size:14.5px !important;
    line-height:2 !important;
    -webkit-line-clamp:3 !important;
  }
}

@media (max-width:430px){
  #homeArticlesList .article-card-body > .d-flex{
    gap:8px 12px !important;
  }

  #homeArticlesList .article-card-body h6{
    font-size:18px !important;
  }
}
