/*
Theme Name: RunMedia 4
Theme URI: https://rundizayn.com
Author: Rundizayn.com
Author URI: https://rundizayn.com
Description: By: Məhəmməd Türkmən
Version: 1.1
License: GPL v2 or later
Text Domain: ruNDizayn
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* TAILWIND CORE PRE-COMPILED FOR RUNMEDIA */
:root {
    --font-sans: "Poppins", sans-serif;
    --font-serif: "Poppins", sans-serif;
    --font-mono: "Poppins", monospace;
    --color-red-50: oklch(97.1% .013 17.38);
    --color-red-100: oklch(93.6% .032 17.717);
    --color-red-200: oklch(88.5% .062 18.334);
    --color-red-400: oklch(70.4% .191 22.216);
    --color-red-500: oklch(63.7% .237 25.331);
    --color-red-600: oklch(57.7% .245 27.325);
    --color-red-700: oklch(50.5% .213 27.518);
    --color-red-800: oklch(44.4% .177 26.899);
    --color-red-950: oklch(25.8% .092 26.042);
    --color-orange-600: oklch(64.6% .222 41.116);
    --color-amber-100: oklch(96.2% .059 95.617);
    --color-amber-500: oklch(76.9% .188 70.08);
    --color-amber-600: oklch(66.6% .179 58.318);
    --color-yellow-600: oklch(68.1% .162 75.834);
    --color-green-600: oklch(62.7% .194 149.214);
    --color-emerald-50: oklch(97.9% .021 166.113);
    --color-emerald-100: oklch(95% .052 163.051);
    --color-emerald-500: oklch(69.6% .17 162.48);
    --color-emerald-600: oklch(59.6% .145 163.225);
    --color-emerald-700: oklch(50.8% .118 165.612);
    --color-teal-400: oklch(77.7% .152 181.912);
    --color-cyan-600: oklch(60.9% .126 221.723);
    --color-sky-100: oklch(95.1% .026 236.824);
    --color-sky-400: oklch(74.6% .16 232.661);
    --color-sky-600: oklch(58.8% .158 241.966);
    --color-blue-50: oklch(97% .014 254.604);
    --color-blue-100: oklch(93.2% .032 255.585);
    --color-blue-300: oklch(80.9% .105 251.813);
    --color-blue-400: oklch(70.7% .165 254.624);
    --color-blue-500: oklch(62.3% .214 259.815);
    --color-blue-600: oklch(54.6% .245 262.881);
    --color-blue-700: oklch(48.8% .243 264.376);
    --color-indigo-600: oklch(51.1% .262 276.966);
    --color-purple-600: oklch(55.8% .288 302.321);
    --color-gray-50: oklch(98.5% .002 247.839);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-gray-200: oklch(92.8% .006 264.531);
    --color-gray-300: oklch(87.2% .01 258.338);
    --color-gray-400: oklch(70.7% .022 261.325);
    --color-gray-500: oklch(55.1% .027 264.364);
    --color-gray-600: oklch(44.6% .03 256.802);
    --color-gray-700: oklch(37.3% .034 259.733);
    --color-gray-800: oklch(27.8% .033 256.848);
    --color-gray-900: oklch(21% .034 264.665);
    --color-gray-950: oklch(13% .028 261.692);
    --color-zinc-200: oklch(92% .004 286.32);
    --color-zinc-300: oklch(87.1% .006 286.286);
    --color-zinc-400: oklch(70.5% .015 286.067);
    --color-zinc-500: oklch(55.2% .016 285.938);
    --color-zinc-600: oklch(44.2% .017 285.786);
    --color-zinc-800: oklch(27.4% .006 286.033);
    --color-zinc-900: oklch(21% .006 285.885);
    --color-black: #000;
    --color-white: #fff;
    --spacing: .25rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-4xl: 56rem;
    --container-7xl: 80rem;
    --text-xs: .75rem;
    --text-sm: .875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --font-weight-light: 300;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
}

* {
    font-family: 'Poppins', sans-serif !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-gray-50);
    color: var(--color-gray-800);
}

/* CUSTOM ANIMATIONS & UTILITIES */
@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.96); }
}

.animate-pulse-custom {
    animation: blink 1.8s infinite ease-in-out;
}

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

.scrollbar-thin::-webkit-scrollbar { width: 4px; height: 4px; }
.scrollbar-thin::-webkit-scrollbar-track { background: transparent; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: #e4e4e7; border-radius: 2px; }

.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Son Xəbərlər Lenti Tərtibatı */
.side-tab-content {
    display: none;
}
.side-tab-content.active {
    display: block;
}

/* DROPDOWN NAVIGATION FIX */
.menu-dropdown-parent {
    position: relative;
}
.menu-dropdown-child {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 12rem;
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.menu-dropdown-parent:hover .menu-dropdown-child {
    display: block !important;
}

/* HIGH-PERFORMANCE MARQUEE (TƏCİLİ XƏBƏR LENTİ) */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.animate-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 25s linear infinite;
    padding-left: 100%;
}
@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   YENİ: STATUS BADGES VƏ ANIMASİYALI PULSİNG SİSTEMİ
   ========================================================================== */
@keyframes pulse-blink {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.6; filter: brightness(1.2); }
}

.runmedia2-blink-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ef4444;
    color: #ffffff;
    font-weight: 900;
    font-size: 10px;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
    margin-right: 6px;
    letter-spacing: 0.05em;
    animation: pulse-blink 1.2s infinite ease-in-out;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Poppins', sans-serif !important;
}

/* ==========================================================================
   YENİ: MOBİL ADAPTİVLİK KÖMƏKÇİ SİNİFLƏRİ
   ========================================================================== */
@media (max-width: 1023px) {
    #adminSidebar {
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
    }
}

.carousel-wrap {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.carousel-wrap::-webkit-scrollbar {
    display: none;
}
.carousel-wrap.active {
    cursor: grabbing;
}
@keyframes carouselSlide {
    0% { transform: translate(0); }
    100% { transform: translate(-50%); }
}
.carousel-track {
    animation: 60s linear infinite carouselSlide;
    display: inline-flex;
}