| 1 | /* ============================================================ |
| 2 | Line balancing for titles and subtitles, shared by the docs |
| 3 | (global.css) and marketing (marketing.css) layouts. |
| 4 | |
| 5 | Native `text-wrap: balance` evens out line lengths so headings |
| 6 | never strand a single word on their last line. Browsers only |
| 7 | balance blocks of up to ~6 lines (Chromium) / 10 (Firefox) and |
| 8 | fall back to normal wrapping beyond that, which is what we want |
| 9 | for longer ledes. Unsupported browsers ignore the property. |
| 10 | ============================================================ */ |
| 11 | |
| 12 | h1, |
| 13 | h2, |
| 14 | h3, |
| 15 | h4, |
| 16 | h5, |
| 17 | h6, |
| 18 | .alc-hero__title, |
| 19 | .alc-hero__subtitle, |
| 20 | .alc-mode__lede, |
| 21 | .page-hero__title, |
| 22 | .alc-card__title, |
| 23 | .product-card__title, |
| 24 | .alc-cloud-card__title, |
| 25 | .alc-provider-directory__title, |
| 26 | .alc-auth__title, |
| 27 | .hero .tagline { |
| 28 | text-wrap: balance; |
| 29 | } |