/* أخبار — Custom Styles */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

.line-clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.line-clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* Breaking ticker */
@keyframes ticker-rtl {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-rtl 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

/* Card hover */
.news-card { transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -8px rgba(0,0,0,.15); }

/* Skeleton */
@keyframes pulse-bg { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.skeleton { animation: pulse-bg 1.5s ease-in-out infinite; background: #e5e7eb; }

/* Article body */
.article-body { line-height: 2; font-size: 1.125rem; color: #1f2937; }
.article-body p { margin-bottom: 1rem; }

/* Breaking badge blink */
@keyframes blink { 50% { opacity: .4; } }
.blink-dot { animation: blink 1s step-start infinite; }
