/* Hebrew pages only (added by elements/he.php, which also sets <html dir="rtl">).
   The page flows right to left, so board rows put the first letter on the right; keyboards keep the
   physical left-to-right order of an Israeli keyboard. */
html[dir=rtl] .Game-keyboard-row,
html[dir=rtl] .keyboard-row,
html[dir=rtl] .Game-keyboard {
    direction: ltr;
}
/* Screen-reader regions of the multi-board games sit at left:-10000px; in a right-to-left page that side scrolls. */
html[dir=rtl] .sr-only,
html[dir=rtl] .Game-sr-feedback {
    left: auto;
    right: -10000px;
}
/* The green accent of the "how to play" steps and FAQ cards goes on the reading-start side. */
html[dir=rtl] .wordle_step,
html[dir=rtl] .faq_block {
    border-left: 1px solid var(--wp-line, transparent);
    border-right: 4px solid var(--wp-green, #00ac4a);
}
/* English promo cards ("2026 New Game!") keep their own direction. */
html[dir=rtl] .game-card__info {
    direction: ltr;
}
/* Equations read left to right. */
html[data-he-page=math-wordle] .Game-rows,
html[data-he-page=math-wordle] .Row {
    direction: ltr;
}
html[dir=rtl] .mode-button {
    white-space: nowrap;
}
@media (max-width: 420px) {
    html[dir=rtl] .mode-button {
        padding-left: 7px;
        padding-right: 7px;
        font-size: 13px;
    }
}html[dir=rtl] .Game-keyboard-button {
    font-size: 1.15em;
}
html[dir=rtl] .Game-keyboard-button-wide {
    font-size: 0.85em;
}
