/* =========================================================
   VIBEELY — RTL OVERRIDES
   Only overrides that can't be handled by logical properties
   (margin-inline, padding-inline, inset-inline-start, etc.)
   ========================================================= */

/* --- Text direction --- */
[dir="rtl"] body {
  direction: rtl;
  text-align: start;
}

/* --- Navigation arrow flip --- */
[dir="rtl"] .btn .btn-icon,
[dir="rtl"] .service-card__link svg,
[dir="rtl"] .hero__ctas .btn svg,
[dir="rtl"] .portfolio-section__cta .btn svg {
  transform: scaleX(-1);
}

/* --- Post nav flip --- */
[dir="rtl"] .post-navigation .nav-previous { order: 2; }
[dir="rtl"] .post-navigation .nav-next     { order: 1; }

/* --- Blockquote border --- */
[dir="rtl"] .entry-content blockquote {
  border-inline-start: 4px solid var(--color-primary);
  border-inline-end: none;
}

/* --- Footer social align --- */
[dir="rtl"] .social-links { flex-direction: row; }

/* --- Mobile menu slide direction --- */
[dir="rtl"] .mobile-menu__inner {
  border-inline-start: none;
  border-inline-end: 1px solid var(--color-border);
}

/* --- Partners marquee --- */
[dir="rtl"] .partners-row { animation-name: marquee-rtl; }

@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* --- Workflow step connector --- */
[dir="rtl"] .workflow-step__connector-line {
  background: linear-gradient(to bottom, rgba(214,255,0,0.3), transparent);
}

/* --- Service card accent line origin --- */
[dir="rtl"] .service-card::before { transform-origin: right; }

/* --- Custom scrollbar (Webkit) --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0B0B0B; }
::-webkit-scrollbar-thumb { background: rgba(214,255,0,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(214,255,0,0.5); }
