/*
Theme Name: Run Dizayn Xeberchi
Theme URI: https://rundizayn.com
Author: Məhəmməd Türkmən
Description: Peşəkar, operativ və sürətli Azərbaycan xəbər portalı teması.
Version: 1.1.1
License: GNU GPLv2 or later
Text Domain: run-dizayn-xeberchi
*/

/* Bütün sayt elementləri Poppins şriftindən istifadə etmək üçün məcburi hala gətirildi */
* {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #c8102e;
  color: #fff;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #c4c9d4 padding-box content-box;
  border: 3px solid transparent;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a7adb9 padding-box content-box;
}

.dark ::-webkit-scrollbar-thumb {
  background: #3a3f4c padding-box content-box;
}

@keyframes marquee {
  0% { transform: translate(0); }
  to { transform: translate(-50%); }
}

.animate-marquee {
  animation: 38s linear infinite marquee;
}

.marquee-pause:hover .animate-marquee {
  animation-play-state: paused;
}

@keyframes pulse-dot {
  0%, to { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.78); }
}

.animate-pulse-dot {
  animation: 1.3s ease-in-out infinite pulse-dot;
}

@keyframes fade-up {
  0% { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: .5s cubic-bezier(.22,1,.36,1) both fade-up;
}

@keyframes scale-in {
  0% { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

.animate-scale-in {
  animation: .32s cubic-bezier(.22,1,.36,1) both scale-in;
}

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

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

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

/* Custom slider style */
.xeberci-slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.xeberci-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}
.xeberci-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
}

/* Status tag animations */
@keyframes xeberci-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.animate-xeberci-blink {
  animation: xeberci-blink 1s ease-in-out infinite;
}

/* Responsive video helper */
.xeberci-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}