/* Thai-only reading standards. Important declarations bridge legacy page styles;
   heading sizes, icons, image treatment and the approved course layout stay intact. */
@font-face { font-family:"MH Thai Reading"; src:url('/assets/fonts/noto-sans-thai-400.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"MH Thai Reading"; src:url('/assets/fonts/noto-sans-thai-700.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
html:lang(th) body:not(.course-reading) { font-family:"MH Thai Reading",Arial,sans-serif; font-size:18px; line-height:1.8; }
html:lang(th) body:not(.course-reading) :is(h1,h2,h3,h4,p,li,dt,dd,label,input,select,textarea,button,summary,a) { font-family:"MH Thai Reading",Arial,sans-serif !important; letter-spacing:0; }
html:lang(th) body:not(.course-reading) main:not(.wp-home) :is(p,li,dd) { font-size:18px !important; line-height:1.8 !important; }
html:lang(th) body:not(.course-reading) main:not(.wp-home) :is(h1,h2,h3,h4) { line-height:1.4 !important; overflow-wrap:break-word; }
html:lang(th) body:not(.course-reading) main:not(.wp-home) h1 { line-height:1.3 !important; }
html:lang(th) body:not(.course-reading) main:not(.wp-home) button:not([aria-label]):not(.tcr-close),
html:lang(th) body:not(.course-reading) main nav a { font-size:16px !important; line-height:1.6 !important; }
html:lang(th) :is(input,select,textarea) { font-size:16px !important; line-height:1.6 !important; }
html:lang(th) body:not(.course-reading) :is(label,summary,dt,th,td) { font-size:16px !important; line-height:1.7 !important; }
html:lang(th) body:not(.course-reading) :is(.mhg-btn,.mhg-sticky-cta a,.mhg-nav a,.mhg-nav button,.mhg-mobile-nav a,.mhg-mobile-nav button,.mhg-quote-nav-button) { font-size:16px !important; line-height:1.6 !important; }
html:lang(th) body:not(.course-reading) :is(.mhg-btn,.mhg-sticky-cta a) { min-height:48px; height:auto; white-space:normal; text-align:center; }
html:lang(th) body:not(.course-reading) main:not(.wp-home) :is(.mhg-section__lead,.mhg-destination-hero__copy,.mhg-supplier-story__lead,.mhg-knowledge-v2-overview__lead,.mhg-spanesi-playbook__lead,.spc-hero__lead) { font-size:20px !important; line-height:1.75 !important; }
html:lang(th) body:not(.course-reading) main:not(.wp-home) :is(.mhg-cinematic__copy,.tcr-hero-subtitle,.mhg-product-master__subtitle) { font-size:20px !important; line-height:1.75 !important; }
html:lang(th) body:not(.course-reading) :is(small,figcaption,.mhg-kicker,.mhg-card__eyebrow,.mhg-eyebrow,.mhg-breadcrumb,.mhg-breadcrumbs,.mhg-brand-card__article,.mhg-product-master__note,.mhg-product-master__image-status,.mhg-hbc-pdr-status,.mhg-hbc-pdr-card__family,.mhg-hbc-pdr-card__article,.tcr-breadcrumb,.tcr-eyebrow,.tcr-note,.spc-eyebrow,.spc-article,.spc-conditions,.mhg-catalogue-result-count,.mhg-catalogue-request-note,.mhg-media-note,.pdr-course-discovery__note,.mhg-pdr-note) { font-size:14px !important; line-height:1.75 !important; }
html:lang(th) body:not(.course-reading) main:not(.wp-home) :is(.mhg-kicker,.mhg-card__eyebrow,.mhg-eyebrow,.mhg-brand-card__article,.mhg-product-master__note,.mhg-product-master__image-status,.mhg-hbc-pdr-status,.mhg-hbc-pdr-card__family,.mhg-hbc-pdr-card__article,.tcr-breadcrumb,.tcr-eyebrow,.tcr-note,.spc-eyebrow,.spc-article,.spc-conditions,.mhg-catalogue-result-count,.mhg-catalogue-request-note,.mhg-media-note,.pdr-course-discovery__note,.mhg-pdr-note) { font-size:14px !important; line-height:1.75 !important; }
html:lang(th) :is(.mhg-global-search__suggestions,.mhg-search-result,.mhg-search-results,.mhg-mega-menu,.mhg-mobile-nav) :is(p,li,a,button,span) { line-height:1.7; }
html:lang(th) :is(.mhg-mega-menu,.mhg-mobile-nav) :is(a,button) { font-size:16px !important; white-space:normal; }
html:lang(th) .mhg-actions { flex-wrap:wrap; }
html:lang(th) :is(.mhg-product-quote-configurator__field,.mhg-form label) { min-width:0; }
html:lang(th) :is(.mhg-team-leader__role,.mhg-team-leader__summary,.mhg-team-card__role) { font-size:18px !important; line-height:1.8 !important; }
html:lang(th) .mhg-team-leader__body h3 { white-space:normal !important; }
html:lang(th) :is([class*="__meta"],[class*="__source"]) :is(span,time,a),
html:lang(th) :is([class*="__category"],[class*="__eyebrow"],[class*="__badge"],[class*="__hint"],.mhg-signature-theatre__role,.mhg-pdr-inclusion__status),
html:lang(th) :is(.mhg-console-row,.mhg-spanesi-family-card__body,.mhg-spanesi-oem-proof,.mhg-pdr-course-option__price,.pdr-online-price,.mhg-pdr-syllabus__day,.mhg-video-search,.mhg-video-filter-stack,.mhg-selector-v3__requirements)>span,
html:lang(th) :is(label,[class*="selector-v3__mode"],[class*="selector-v3__progress"]) span { font-size:14px !important; line-height:1.7 !important; }

/* Shared footer: raise reading sizes without changing its hero or logo composition. */
html:lang(th) .mhg-footer-signature { font-family:"MH Thai Reading",Arial,sans-serif; }
html:lang(th) :is(.sf-eyebrow,.sf-caption,.sf-route-detail,.sf-brand>span,.sf-contact address>span,.sf-office strong,.sf-copyright,.sf-legal a) { font-size:14px !important; line-height:1.7 !important; }
html:lang(th) :is(.sf-primary,.sf-text-link,.sf-brand-heading>a,.sf-identity>span,.sf-identity strong,.sf-direct a:not(.sf-phone),.sf-office a,.sf-quote,.sf-directory summary,.sf-directory-grid a) { font-size:16px !important; line-height:1.7 !important; }
html:lang(th) :is(.sf-primary,.sf-text-link,.sf-quote) { white-space:normal; }
html:lang(th) .sf-route { min-width:0; }
html:lang(th) .sf-directory summary { height:auto; }
html:lang(th) .sample-reading { font-family:"MH Thai Reading",Arial,sans-serif; font-size:18px; }

@media(max-width:760px) {
  html:lang(th) .mhg-btn { max-width:100%; overflow-wrap:break-word; }
  html:lang(th) .sf-office a { max-width:100%; }
  html:lang(th) .sf-brand-heading { flex-wrap:wrap; gap:12px; }
  html:lang(th) .sf-caption { max-width:calc(100% - 24px); }
}
