/* Modern Thai Font Styling for Names */

/* Import modern Thai fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&family=Prompt:wght@300;400;500;600;700&family=Kanit:wght@300;400;500;600;700&display=swap');

/* Specific styling when Thai language is active */
html[lang="th"] #fh5co-header .display-tc h1,
html[lang="th"] #fh5co-counter .display-tc h1,
html[lang="th"] .fh5co-cover .display-tc h1 {
  font-family: 'Prompt', 'Sarabun', 'Kanit', sans-serif !important;
  font-weight: 500;
  font-size: 80px !important;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Responsive adjustments for Thai fonts */
@media screen and (max-width: 768px) {
  html[lang="th"] #fh5co-header .display-tc h1,
  html[lang="th"] #fh5co-counter .display-tc h1,
  html[lang="th"] .fh5co-cover .display-tc h1 {
    font-size: 32px !important;
    letter-spacing: 0.5px;
  }
}

@media screen and (max-width: 480px) {
  html[lang="th"] #fh5co-header .display-tc h1,
  html[lang="th"] #fh5co-counter .display-tc h1,
  html[lang="th"] .fh5co-cover .display-tc h1 {
    font-size: 24px !important;
    letter-spacing: 0px;
  }
}
