* { box-sizing: border-box; }
body { margin: 0; -webkit-tap-highlight-color: transparent; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

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

@keyframes slide {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.animate-slide { animation: slide .25s ease-out; }

@keyframes pingOnce {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.animate-ping-once { animation: pingOnce .4s ease-out; }

/* range slider RTL friendly */
input[type="range"] { direction: ltr; }

/* smooth scroll for load more */
html { scroll-behavior: smooth; }