/* Site additions to the imported prototype (owner and co-CEO, 19 Nov 2026). Kept apart from the prototype files so they stay byte for byte.
   RTL alignment: email, phone and link fields keep their characters left to right (direction: ltr) but sit on the reading side of an Arabic page, placeholder included. */
html[dir="rtl"] .input[dir="ltr"], html[dir="rtl"] input[type="email"].input, html[dir="rtl"] input[type="tel"].input, html[dir="rtl"] input[type="url"].input { text-align: right; }
html[dir="rtl"] .input[dir="ltr"]::placeholder, html[dir="rtl"] input[type="email"].input::placeholder, html[dir="rtl"] input[type="tel"].input::placeholder, html[dir="rtl"] input[type="url"].input::placeholder { text-align: right; }
/* an address, phone or e-mail written left to right inside a block of an Arabic page sits on the reading side, as the Arabic text beside it does */
html[dir="rtl"] .foot a[dir="ltr"], html[dir="rtl"] .foot [dir="ltr"] { text-align: right; }
html[dir="rtl"] dd[dir="ltr"], html[dir="rtl"] .facts dd { text-align: right; }
/* Programs: the topic pills sit under the tile gallery with the same breathing room the tiles have between rows (the prototype has none; owner 19 Nov) */
.browse + .pills { margin-top: 32px; }
/* the copy-the-email button used the system monospace font: the site's own body font instead (reviewer P3) */
.copy { font-family: var(--f-body); letter-spacing: 0; }
/* a placeholder longer than the box ends with an ellipsis instead of being cut in the middle of a word (reviewer P5) */
input.input, .search input { text-overflow: ellipsis; }
/* Join as a trainer: room between the heading, the reply line and the steps, so the left column does not read as one block (owner 19 Nov) */
.s-teach__l .s-h2 { margin-bottom: 12px; }
.s-teach__l .muted + .s-steps, .s-teach__l .s-h2 + .s-steps { margin-top: 18px; }
.s-steps li + li { margin-top: 14px; }
/* topic tiles: what is inside is always shown, no hover needed (co-CEO 19 Nov; a phone has no hover) */
.tile__peek { grid-template-rows: 1fr; }
/* A strip that scrolls sideways must not also scroll up and down on its own (a horizontal scroller gets overflow-y: auto from the browser, and its tiles that are still waiting to be revealed hang 18 px low: on a phone the strip then caught the finger, co-CEO and owner 19 Nov). */
.gal--row, .pills, .tabs, .toggle { overflow-y: hidden; overscroll-behavior-x: contain; }
@media (max-width: 1000px) { .gal--row { padding-block: 8px; margin-block: -8px; } .gal--row > .tile { translate: 0 0; } }
