/* کل صفحه مقاله */
.article-header img {
  max-height: 500px;
  object-fit: cover;
  width: 100%;
  transition: transform .3s ease;
}

.article-header:hover img {
  transform: scale(1.03);
}

/* دسته‌بندی‌ها روی تصویر */
.category-badges .badge {
  font-size: .85rem;
  padding: .5em 1em;
  border-radius: 20px;
}

/* عنوان مقاله */
.article-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #075B5E;
}

/* اطلاعات نویسنده */
.author-name {
  font-size: 1rem;
}
.article-date {
  font-size: .85rem;
}

/* توضیحات کوتاه */
.article-short-description {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* متن مقاله (CKEditor) */
.article-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.article-content h2,
.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #075B5E;
}

/* لینک‌ها در مقاله */
.article-content a {
  color: #075B5E;
  text-decoration: underline;
}

.article-content img {
  max-width: 100%;
  margin: 1rem 0;
  border-radius: 8px;
  object-fit: cover;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .article-title { font-size: 1.7rem; }
  .article-short-description { font-size: 1rem; }
}

    /* افکت ورود */
.fade-in, .slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible, .slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* تفاوت: slide-up کمی سریع‌تر حرکت می‌کند */
.slide-up {
  transition: all 0.6s ease-out;
}

.category-badges .badge {

    top: 12px;
    left: 12px;
    background: #075B5E;
    color: #fff;
    padding: 6px 12px;
    font-size: 15px;
    border-radius: 20px;
    z-index: 2;
}
