/* Expo Tel Aviv - English (LTR) adjustments. Loaded only when the site language is English. */

/* Header main menu: English labels are longer than Hebrew ones */
html[lang="en-US"] .ue-menu > li > a { font-size: 17px !important; white-space: nowrap !important; padding: 10px 8px !important; }
html[lang="en-US"] .ue-menu .ue-submenu a { font-size: 16px !important; white-space: nowrap !important; }

/* Text that was explicitly right-aligned / RTL inside Hebrew content should be left-aligned / LTR in English */
html[lang="en-US"] .elementor [style*="text-align: right"],
html[lang="en-US"] .elementor [style*="text-align:right"] { text-align: left !important; }
html[lang="en-US"] .elementor [dir="rtl"],
html[lang="en-US"] .elementor [style*="direction: rtl"],
html[lang="en-US"] .elementor [style*="direction:rtl"] { direction: ltr !important; }
html[lang="en-US"] .elementor-widget-text-editor,
html[lang="en-US"] .elementor-widget-heading,
html[lang="en-US"] .elementor-widget-icon-list,
html[lang="en-US"] .elementor-widget-nested-accordion,
html[lang="en-US"] .elementor-widget-form { direction: ltr; }

/* News ticker (Unlimited Elements): keep the RTL scrolling mechanics, but render the English text left-to-right */
html[lang="en-US"] .uc_ticker-box .ue_post_title,
html[lang="en-US"] .uc_ticker-box .uc_sub-title,
html[lang="en-US"] .uc_ticker-box .uc_sub-title span { direction: ltr !important; text-align: left !important; unicode-bidi: isolate; }

/* Flip boxes (home page): English back-side text is longer than the Hebrew, fit it inside the card */
html[lang="en-US"] .ue-flip-box__panel--back .ue-flip-box__panel__content { display: flex; flex-direction: column; justify-content: center; }
html[lang="en-US"] .ue-flip-box__panel--back .ue-flip-box__title { font-size: 24px !important; line-height: 1.2 !important; margin-bottom: 6px !important; }
html[lang="en-US"] .ue-flip-box__panel--back .ue-flip-box__description { font-size: 15px !important; line-height: 1.35 !important; }
html[lang="en-US"] .ue-flip-box__panel--back .ue-flip-box__description strong { display: block; margin-bottom: 4px; }
html[lang="en-US"] .ue-flip-box__panel--back .ue-flip-box__buttons-group { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 6px !important; margin-top: 8px !important; }
html[lang="en-US"] .ue-flip-box__panel--back .ue_btn { font-size: 14px !important; line-height: 1.2 !important; padding: 8px 12px !important; margin: 0 !important; }

/* Elementor logical alignment: "end" was the left edge in the Hebrew (RTL) design, in English it becomes the right edge.
   Footer columns, headings and icon lists aligned "end" should sit on the left in English. */
html[lang="en-US"] .elementor-widget.elementor-align-end .elementor-icon-list-item,
html[lang="en-US"] .elementor-widget.elementor-align-end .elementor-icon-list-item a,
html[lang="en-US"] .elementor-widget.elementor-align-end .elementor-icon-list-items { text-align: left !important; justify-content: flex-start !important; }
html[lang="en-US"] .elementor-widget[style*="text-align: end"],
html[lang="en-US"] .elementor-widget[style*="text-align:end"] { text-align: left !important; }
