/* 3.82: English (left-to-right) pages only. Loaded after the mirrored *-ltr.css files.
   The Arabic site never loads this file. */

/* Justified text spreads short English lines too much: centre the short headings and intros. */
html[dir="ltr"] .hero h1, html[dir="ltr"] .hero p,
html[dir="ltr"] .section-head h2, html[dir="ltr"] .section-head p,
html[dir="ltr"] .page-head h1, html[dir="ltr"] .page-head .desc,
html[dir="ltr"] .modal-header h2, html[dir="ltr"] .modal-header p,
html[dir="ltr"] .drawer-brand, html[dir="ltr"] .drawer-brand b, html[dir="ltr"] .drawer-brand small,
html[dir="ltr"] .calc-promo-text b, html[dir="ltr"] .calc-promo-text small,
html[dir="ltr"] .empty-state, html[dir="ltr"] .stats-bar, html[dir="ltr"] .article-head h1 {
	text-align: center !important; text-align-last: auto !important;
}
html[dir="ltr"] .hero p { word-spacing: normal; }

/* Back chevrons drawn for RTL point right; in English «back» points left. */
html[dir="ltr"] .sheet-back svg, html[dir="ltr"] [data-author-back] svg { transform: scaleX(-1); }

/* Language switch in the header: a short label instead of an icon. */
.lang-btn { text-decoration: none; }
.lang-btn .lang-short { font-weight: 800; font-size: 15px; line-height: 1; letter-spacing: .02em; }
.lang-btn[lang="ar"] .lang-short { font-size: 18px; font-family: "Cairo", system-ui, sans-serif; }

/* «The English edition is new» note under the hero. */
.en-note-sec { padding: 18px 0 0; }
.en-note {
	display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto; max-width: 900px;
	padding: 12px 16px; border: 2px solid var(--ink, #0D0D0D); border-inline-start: 8px solid #41C48D; background: #FFFDF8;
	color: var(--ink, #0D0D0D); font-size: 15px; font-weight: 600; line-height: 1.6; text-align: start;
}
.en-note-ico { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; }
.en-note-ico svg { width: 22px; height: 22px; }
html[data-theme="dark"] .en-note { background: #12291F; color: #F4F1EA; border-color: #41C48D; }

/* Latin text sits a little tighter than Arabic. */
html[dir="ltr"] body { letter-spacing: 0; }
.en-note span { text-align: start !important; text-align-last: auto !important; }
@media (max-width: 600px) { .en-note { font-size: 13.5px; padding: 10px 12px; } }
