/*
 * RTL Stylesheet — Hariri High School II v4.6.0
 */
html[dir="rtl"] body { font-family: var(--font-ar); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-family: var(--font-ar); }

/* Top bar */
html[dir="rtl"] .top-bar-inner { direction: rtl; }
html[dir="rtl"] .top-bar-left, html[dir="rtl"] .top-bar-right { flex-direction: row-reverse; }

/* Header */
html[dir="rtl"] .hdr-inner { flex-direction: row-reverse; }
html[dir="rtl"] .hdr-brand-block { flex-direction: row-reverse; }
html[dir="rtl"] .brand-text-block { text-align: right; }
html[dir="rtl"] .brand-title { font-family: var(--font-ar); }
html[dir="rtl"] .brand-motto { font-family: var(--font-ar); }
html[dir="rtl"] .main-nav { flex-direction: row-reverse; }
html[dir="rtl"] .hdr-actions { flex-direction: row-reverse; }

/* Nav links */
html[dir="rtl"] .nav-link { flex-direction: row-reverse; }
html[dir="rtl"] .dropdown-menu { left: auto; right: 0; }
html[dir="rtl"] .dropdown-link { text-align: right; padding: 8px 16px; border-left: none; border-right: 3px solid transparent; }
html[dir="rtl"] .dropdown-link:hover { padding-right: 19px; padding-left: 16px; border-right-color: var(--hhs-green-dark); border-left-color: transparent; }
html[dir="rtl"] .nav-item:nth-last-child(-n+3) .dropdown-menu { right: auto; left: 0; }

/* Mobile drawer */
html[dir="rtl"] .mobile-drawer { right: auto; left: -320px; box-shadow: 4px 0 24px rgba(0,26,54,.2); }
html[dir="rtl"] .mobile-drawer.open { left: 0; right: auto; }
html[dir="rtl"] .mob-header { flex-direction: row-reverse; }
html[dir="rtl"] .mob-parent { flex-direction: row-reverse; }
html[dir="rtl"] .mob-sub .mob-link { padding: 8px 14px 8px 0; }
html[dir="rtl"] .mob-link { text-align: right; }

/* Hero */
html[dir="rtl"] .hero-section { direction: rtl; }
html[dir="rtl"] .hero-headline { font-family: var(--font-ar); }
html[dir="rtl"] .hero-subtitle { font-family: var(--font-ar); }

/* Grids & cards */
html[dir="rtl"] .grid-2, html[dir="rtl"] .grid-3, html[dir="rtl"] .grid-4, html[dir="rtl"] .grid-5 { direction: rtl; }
html[dir="rtl"] .card { text-align: right; }

/* Footer */
html[dir="rtl"] .main-footer { direction: rtl; }
html[dir="rtl"] .footer-grid { direction: rtl; }
html[dir="rtl"] .footer-col { text-align: right; }
html[dir="rtl"] .footer-col h4::after { left: auto; right: 0; }
html[dir="rtl"] .footer-link { text-align: right; }
html[dir="rtl"] .footer-link:hover { transform: translateX(-3px); }
html[dir="rtl"] .footer-contact-info p { flex-direction: row-reverse; }
html[dir="rtl"] .footer-bottom-inner { flex-direction: row-reverse; }
html[dir="rtl"] .footer-bottom-links { flex-direction: row-reverse; }

/* Forms */
html[dir="rtl"] .form-control { text-align: right; }
html[dir="rtl"] .form-label { text-align: right; }

/* Accordion */
html[dir="rtl"] .accordion-header { flex-direction: row-reverse; text-align: right; }

/* Buttons */
html[dir="rtl"] .btn { flex-direction: row-reverse; }
html[dir="rtl"] .btn-apply-vibrant { flex-direction: row-reverse; }
