/* ===== Base font control ===== */
html {
  -webkit-text-size-adjust: 100%; /* กัน LINE ขยาย text เอง */
}

body {
  font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;      /* คุมฐานตัวอักษร */
  line-height: 1.6;     /* อ่านภาษาไทยสบาย */
  color: #212529;       /* ค่า default Bootstrap */
}

/* ===== Paragraph ===== */
p {
  font-size: 16px;      /* กัน LINE ขยายเกิน */
  line-height: 1.7;
}

/* ===== Headings (ไม่ใช้ rem ล้วน) ===== */
h1 { font-size: 32px; line-height: 1.3; }
h2 { font-size: 26px; line-height: 1.35; }
h3 { font-size: 22px; line-height: 1.4; }
h4 { font-size: 18px; line-height: 1.45; }
h5 { font-size: 16px; }
h6 { font-size: 15px; }

/* ===== Navbar ===== */
.navbar,
.navbar a {
  font-size: 15px;
}

/* ===== Buttons ===== */
.btn {
  font-size: 15px;
  line-height: 1.4;
}

/* ===== Small text ===== */
small, .small {
  font-size: 13px;
}

/* ===== Prevent weird wrap in Thai ===== */
.no-break {
  white-space: nowrap;
}
