/* LINE Seed Sans TH — self-hosted body font (Task C)
   Source: https://github.com/lazywasabi/thai-web-fonts (LINE Seed, free for commercial use)
   The TH family includes Latin glyphs, so it covers both Thai and English. */

@font-face {
    font-family: "LINE Seed Sans TH";
    src: url("../fonts/LINESeedSansTH-Regular.woff2") format("woff2");
    font-weight: 400 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LINE Seed Sans TH";
    src: url("../fonts/LINESeedSansTH-Bold.woff2") format("woff2");
    font-weight: 600 700;
    font-style: normal;
    font-display: swap;
}

/* LINE Seed Sans TH everywhere — body AND headings (site-wide single typeface).
   Loaded after tailwind.min.css and main.css, so these rules win on source order;
   the .prose / #article-content selectors are listed at matching specificity to
   override the Google-Sans stacks hard-coded in main.css. */
body,
.font-body,
.font-heading,
h1, h2, h3, h4, h5, h6,
.prose,
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6,
#article-content.prose,
#article-content.prose h1,
#article-content.prose h2,
#article-content.prose h3,
#article-content.prose h4,
#article-content.prose h5,
#article-content.prose h6 {
    font-family: "LINE Seed Sans TH", "Google Sans", "IBM Plex Sans Thai", "Sarabun", sans-serif;
}

/* Headings render bold (700). Tailwind Preflight resets h1–h6 weight to inherit,
   which left LINE Seed headings at body weight (looked thin); !important pins every
   semantic heading at 700 over any utility class. Nav/buttons that use .font-heading
   (not heading tags) are intentionally left at their own weight. */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
}

/* Top nav menu labels: bold + never wrap to two lines. Scoped to the direct
   top-level items (Home link + dropdown trigger buttons) so the mega-menu panel
   contents keep their own weight and can still wrap normally. */
.nav-menu-bar > a,
.nav-menu-bar > div > button {
    font-weight: 700;
    white-space: nowrap;
}

/* Mobile menu top-level items (Home/events/promotions links + accordion triggers)
   bold too; nested category sub-links stay at their own weight. */
.mobile-nav-menu > a,
.mobile-nav-menu > div > button {
    font-weight: 700;
}

/* "เขียนข่าว" CTA button bold. */
.cta-write {
    font-weight: 700;
}
