/**
 * Tadbeer Zakhir
 * Arabic / RTL stylesheet
 *
 * Loaded only when WordPress is using an RTL locale.
 */

html[dir="rtl"],
body.rtl {
    direction: rtl;
}

body.rtl {
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
}

body.rtl .site-header,
body.rtl .header-inner,
body.rtl .primary-nav,
body.rtl .primary-nav ul,
body.rtl .header-actions,
body.rtl .language-switcher {
    direction: rtl;
}

body.rtl .hero-grid,
body.rtl .split-section,
body.rtl .location-grid,
body.rtl .content-layout,
body.rtl .cards {
    direction: rtl;
}

body.rtl .hero-content,
body.rtl .section-heading,
body.rtl .card,
body.rtl .split-content,
body.rtl .location-card,
body.rtl .page-content,
body.rtl .page-sidebar,
body.rtl .entry-content,
body.rtl .sidebar-card,
body.rtl .error-content,
body.rtl .site-footer {
    text-align: right;
}

body.rtl .hero-actions,
body.rtl .cta-actions,
body.rtl .error-actions {
    justify-content: flex-start;
}

body.rtl .hero-badge {
    left: auto;
    right: -20px;
}

body.rtl .trust-item {
    border-right: 0;
    border-left: 1px solid var(--border);
}

body.rtl .trust-item:last-child {
    border-left: 0;
}

body.rtl .package-list,
body.rtl .check-list,
body.rtl .entry-content ul,
body.rtl .entry-content ol,
body.rtl .page-content ul,
body.rtl .page-content ol {
    padding-left: 0;
    padding-right: 0;
}

body.rtl .package-list li {
    padding-left: 0;
    padding-right: 25px;
}

body.rtl .package-list li::before {
    left: auto;
    right: 0;
}

body.rtl .check-list li {
    padding-left: 0;
    padding-right: 32px;
}

body.rtl .check-list li::before {
    left: auto;
    right: 0;
}

body.rtl .post-navigation {
    direction: rtl;
}

body.rtl .post-navigation-prev {
    text-align: right;
}

body.rtl .post-navigation-next {
    text-align: left;
}

body.rtl .map-wrap,
body.rtl iframe {
    direction: ltr;
}

body.rtl input,
body.rtl textarea,
body.rtl select {
    direction: rtl;
    text-align: right;
}

body.rtl label {
    text-align: right;
}

body.rtl a[href^="tel:"],
body.rtl a[href*="wa.me"],
body.rtl .phone-number,
body.rtl .whatsapp-number {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

body.rtl .mobile-cta {
    direction: ltr;
}

body.rtl .mobile-cta a {
    direction: rtl;
    border-right: 0;
    border-left: 1px solid var(--border);
}

body.rtl .mobile-cta a:last-child {
    border-left: 0;
}

body.rtl .footer-grid {
    direction: rtl;
}

@media (max-width: 680px) {
    body.rtl .hero-actions,
    body.rtl .cta-actions,
    body.rtl .error-actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.rtl .hero-actions .btn,
    body.rtl .cta-actions .btn,
    body.rtl .error-actions .btn {
        width: 100%;
        text-align: center;
    }

    body.rtl .hero-badge {
        left: auto;
        right: 12px;
    }
}
