/* RTL overrides for Persian (fa), Urdu (ur), Arabic (ar).
   Loaded only on /fa/, /ur/, /ar/ pages (html[dir="rtl"]). Native dir="rtl" handles most
   text flow; these rules flip the LTR-assuming layout bits. */

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

/* Left-anchored inline styles used across templates */
html[dir="rtl"] .hero-deck { text-align: right !important; margin-left: 0 !important; margin-right: 0 !important; }
html[dir="rtl"] .h-display,
html[dir="rtl"] .entry-body,
html[dir="rtl"] .entry-body p,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { text-align: right; }

/* Rows that assume left-to-right flow */
html[dir="rtl"] .crumbs,
html[dir="rtl"] .primary-nav,
html[dir="rtl"] .eyebrow-muted,
html[dir="rtl"] .format-card .fc-row,
html[dir="rtl"] .custom-mini-eyebrow,
html[dir="rtl"] .origin-mini-eyebrow,
html[dir="rtl"] .city-mini-eyebrow,
html[dir="rtl"] .method-mini-eyebrow { flex-direction: row-reverse; }

/* Nav dropdown menus open toward the correct side */
html[dir="rtl"] .nav-dropdown-menu { left: auto; right: 0; text-align: right; }

/* Lists: indent on the right */
html[dir="rtl"] ul, html[dir="rtl"] ol { padding-right: 1.25em; padding-left: 0; }
html[dir="rtl"] .tea-houses-list,
html[dir="rtl"] .retail-destinations-list { padding-right: 1.1em; padding-left: 0; }

/* Callouts / cards keep their internal alignment on the right */
html[dir="rtl"] .season-callout,
html[dir="rtl"] .transit-callout,
html[dir="rtl"] .format-card,
html[dir="rtl"] .entry-card { text-align: right; }

/* The floating language picker sits bottom-right in LTR; move to bottom-left for RTL */
html[dir="rtl"] #i18n-pick { left: auto; right: 18px; }
html[dir="rtl"] #i18n-pick .i18n-menu { left: auto; right: 0; }

/* Latin proper nouns (producer/place/grape names) stay LTR inside RTL text */
html[dir="rtl"] [lang="en"], html[dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; }
