/*
 * Thai locale typography (loaded only on /th/ pages).
 *
 * The brand fonts (Beausite Classic, PP Object Sans, Ugly Dave) carry no
 * Thai glyphs. These @font-face declarations re-register the SAME family
 * names with a Thai unicode-range, so Thai codepoints render in Noto Sans
 * Thai while Latin brand lettering (e.g. "Nobo") keeps the brand fonts —
 * no selector changes needed anywhere.
 *
 * Fonts are self-hosted (assets/fonts/noto-sans-thai/) — no Google CDN call.
 */

/* Base family, used as an explicit fallback stack. */
@font-face {
	font-family: 'Noto Sans Thai';
	src: url('../fonts/noto-sans-thai/noto-sans-thai-v29-latin_thai-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Noto Sans Thai';
	src: url('../fonts/noto-sans-thai/noto-sans-thai-v29-latin_thai-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Noto Sans Thai';
	src: url('../fonts/noto-sans-thai/noto-sans-thai-v29-latin_thai-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Thai-range overlays on the brand families. */
@font-face {
	font-family: 'Beausite Classic';
	src: url('../fonts/noto-sans-thai/noto-sans-thai-v29-latin_thai-regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0E00-0E7F;
}
@font-face {
	font-family: 'Beausite Classic';
	src: url('../fonts/noto-sans-thai/noto-sans-thai-v29-latin_thai-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0E00-0E7F;
}
@font-face {
	font-family: 'Beausite Classic';
	src: url('../fonts/noto-sans-thai/noto-sans-thai-v29-latin_thai-700.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0E00-0E7F;
}
@font-face {
	font-family: 'PP Object Sans';
	src: url('../fonts/noto-sans-thai/noto-sans-thai-v29-latin_thai-regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0E00-0E7F;
}
@font-face {
	font-family: 'PP Object Sans';
	src: url('../fonts/noto-sans-thai/noto-sans-thai-v29-latin_thai-700.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0E00-0E7F;
}
@font-face {
	font-family: 'Ugly Dave';
	src: url('../fonts/noto-sans-thai/noto-sans-thai-v29-latin_thai-700.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0E00-0E7F;
}

/*
 * Thai ascenders/descenders (vowel and tone marks stack above and below the
 * baseline) clip inside the tight Latin line-heights — open them up.
 */
.lang-th h1,
.lang-th h2,
.lang-th h3 {
	line-height: 1.35;
}

.lang-th .intro-text h2,
.lang-th .cta-section h2,
.lang-th .hero-content h1 {
	line-height: 1.35;
}

.lang-th p,
.lang-th .faq-answer {
	line-height: 1.8;
}
