/*
 * ModernBiz Pro — RTL Stylesheet (rtl.css)
 * Auto-loaded by WordPress when direction is RTL
 */

/* =====================================================
   GLOBAL RTL OVERRIDES
===================================================== */
body { direction: rtl; text-align: right; }

/* Navigation dropdowns */
.nav-menu .sub-menu { left: auto; right: 0; }

/* Back to top */
#back-to-top { right: auto; left: 30px; }

/* Hero floating badges */
.hero-float-badge.badge-1 { left: auto; right: -20px; }
.hero-float-badge.badge-2 { right: auto; left: -20px; }

/* Features stats card */
.features-stats-card { right: auto; left: -20px; }

/* Sidebar left/right swap */
.page-template-sidebar-right .content-sidebar-wrap { grid-template-columns: 280px 1fr; }
.page-template-sidebar-left  .content-sidebar-wrap { grid-template-columns: 1fr 280px; }

/* Footer links hover indent */
.footer-links a:hover { padding-inline-start: 5px; padding-inline-end: 0; }

/* Service card link arrow */
.service-link i.fa-arrow-left { transform: scaleX(-1); }

/* Blog link arrow */
.blog-link i.fa-arrow-left { transform: scaleX(-1); }

/* Feature item */
.feature-item { flex-direction: row; }

/* Contact icon margin */
.contact-icon { margin-inline-end: 0; margin-inline-start: 0; }

/* Pricing badge center */
.pricing-badge { left: 50%; right: auto; transform: translateX(-50%); }

/* Form grid */
.form-grid { direction: rtl; }

/* Search overlay close btn */
.search-overlay-close { right: auto; left: 30px; }

/* Counter grid numbers */
.counter-number { font-feature-settings: "tnum"; }

/* Nav sub-menu RTL indent */
.main-navigation.open .nav-menu .sub-menu {
    padding-left: 0;
    padding-right: 16px;
}

/* Hero actions buttons gap */
.hero-actions { flex-direction: row; }

/* Team social overlay */
.team-social-overlay { flex-direction: row; }

/* Testimonial author */
.testimonial-author { flex-direction: row; }

/* Contact details */
.contact-item { flex-direction: row; }
.contact-item-text { text-align: right; }

/* Footer social */
.footer-social { flex-direction: row; }
.footer-bottom { flex-direction: row-reverse; }
.footer-bottom-links { flex-direction: row-reverse; }

/* Section badge */
.section-badge { direction: rtl; }

/* Hero badge */
.hero-badge { flex-direction: row; }

/* Hero stats divider */
.hero-stats { flex-direction: row; }

/* Portfolio overlay */
.portfolio-overlay { text-align: right; }

/* Pricing features */
.pricing-features { text-align: right; }
.pricing-feature { flex-direction: row; }

/* Breadcrumb */
.breadcrumb-list { flex-direction: row; }
.breadcrumb-list li + li::before {
    content: '\\';
    margin: 0 6px;
    color: var(--text-muted);
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-menu .sub-menu { padding-left: 0; padding-right: 16px; }
}
