/* GAON - glyphs that have to turn round when the page does.
 * ---------------------------------------------------------------------------
 * Every rule here is scoped to [dir="ltr"], which in practice means the root
 * element of an English page. On the Hebrew site nothing in this file matches,
 * so it changes nothing today. It exists so that the day an English version
 * appears, the icons that carry a direction are already handled and are all in
 * one place rather than scattered through six widget stylesheets.
 *
 * Layout is not here. The widgets are written with logical properties and turn
 * round on their own; only these drawn shapes cannot, because an SVG path has
 * no idea which way the page reads.
 */

/* The diagonal "onward" arrow, drawn pointing down and toward the reading
 * edge. The same path appears in the subsidiary cards, the selected projects
 * cards and the form's submit button, so all three mirror together. */
[dir="ltr"] .gsub__arrow-ico,
[dir="ltr"] .gsp__arrow svg,
[dir="ltr"] :is(.gaon-form, .contact-head ~ .elementor-widget-form) .elementor-field-type-submit .elementor-button[type="submit"]::after{
  transform: scaleX(-1);
}

/* Why Choose is the only carousel whose controls follow the page. Its nav row
 * is laid out with logical properties, so in an English page previous and next
 * swap sides - and the glyph inside each has to swap with them. */
[dir="ltr"] .gwc__ico{
  transform: scaleX(-1);
}

/* Deliberately NOT mirrored, and worth knowing why before someone adds them:
 *
 *   .gtl__ico  - the milestones axis
 *   .glx__ico  - the leadership strip
 *
 * Both of those nav rows carry direction: ltr in their own stylesheets, pinned
 * there on purpose so the year axis reads left to right like a number line
 * even in Hebrew. Because the row never turns round, its buttons never swap
 * sides, and mirroring their arrows would leave each one pointing away from
 * the card it moves toward. They are correct as drawn, in both languages.
 *
 *   .gsub__chev - the subsidiaries accordion
 *
 * Points down rather than along the line, so direction does not touch it.
 */

/* The statistics arrow used to be turned here, as an Elementor SVG widget
 * rather than one of ours. It no longer is, and nothing replaced it in this
 * file on purpose.
 *
 * That arrow is the same drawn diagonal as the home page call to action, the
 * 404 button and the contact page's division cards, and each of them was being
 * turned by its own rule keyed to whatever class it happened to carry. The
 * class now lives on the path inside Arrow-1.svg, so one rule in the GAON i18n
 * Direction snippet turns all of them - see .gaon-arrow-diagonal there.
 *
 * Leaving a rule here as well would turn the statistics arrow twice, which is
 * the same as not turning it at all. */
