/* Thai font declaration for local font files */@font-face {  font-family: 'Noto Sans Thai';  font-style: normal;  font-weight: 400;  font-display: block;  src: url('/fonts/noto-sans-thai-regular.ttf') format('truetype');  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;}/* Ensure Thai font is applied properly to Thai text */:root {  --font-thai: 'Noto Sans Thai', 'Thonburi', 'Tahoma', sans-serif;}/* Font size adjustments for Thai language - slightly increase size for better readability */html[lang="th"] {  font-size: 101%; /* Slightly larger font size for Thai */}/* Force Thai font for Thai language elements */html[lang="th"], html.thai-font {  font-family: var(--font-thai) !important;  transition: none !important; /* Prevent transition flickering */}/* Additional styling for Thai text */html[lang="th"] *, html.thai-font * {  font-family: var(--font-thai) !important;  transition: none !important;}/* Explicitly apply Thai font to specific elements */.thai-text, .thai-font {  font-family: var(--font-thai) !important;}/* Support both ways of specifying language */[data-language="th"] {  font-family: var(--font-thai) !important;}/* Handle Thai text by using the Unicode character range */:lang(th) {  font-family: var(--font-thai) !important;}/* Prevent flickering during navigation/transitions */body.thai-font {  font-family: var(--font-thai) !important;  transition: none !important;}/* Target navigation items specifically to prevent flicker */.thai-font .nav-item span,  [data-language="th"] .nav-item span,  html[lang="th"] .nav-item span {  font-family: var(--font-thai) !important;  transition: none !important;}/* Fix for sidebar navigation items */.thai-font a span,  [data-language="th"] a span,  html[lang="th"] a span {  font-family: var(--font-thai) !important;  transition: none !important;}/* Fix for button text */.thai-font button span,  [data-language="th"] button span,  html[lang="th"] button span {  font-family: var(--font-thai) !important;  transition: none !important;}/* Prevent certain elements from transitioning to avoid flicker */span, a, button, label, h1, h2, h3, h4, h5, h6, p {  transition: none !important;}/* Hide content during initial load and show once fonts are ready */html:not(.fonts-loaded) .font-sensitive {  opacity: 0 !important;}html.fonts-loaded .font-sensitive {  opacity: 1 !important;  transition: opacity 0.2s ease-in !important;}/* Add the font-sensitive class to critical navigation elements */nav span,  button span,  a span {  transition: none !important;}/* Prevent flickering during page transitions */html.language-transition,  html.language-transition * {  transition: none !important;} 