/**
 * Sukhumvit Set — หัวข้อใหญ่ทั้งระบบ (โหลดท้ายสุดเพื่อชนะ CSS อื่น)
 * path จาก assets/css/ → ../../fonts/
 *
 * หมายเหตุ specificity: กฎ body *:not(.fa)... ใน stylesheet มี (0,4,6+)
 * จึงต้องใส่ :not ชุดเดียวกันบน h1–h6 เพื่อให้ชนะเมื่อทั้งคู่ใช้ !important
 */

@font-face {
    font-family: "Sukhumvit Set";
    src: url("../../fonts/sukhumvitset-thin-webfont.woff2") format("woff2"),
         url("../../fonts/sukhumvitset-thin-webfont.woff") format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Sukhumvit Set";
    src: url("../../fonts/sukhumvitset-light-webfont.woff2") format("woff2"),
         url("../../fonts/sukhumvitset-light-webfont.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Sukhumvit Set";
    src: url("../../fonts/sukhumvitset-text-webfont.woff2") format("woff2"),
         url("../../fonts/sukhumvitset-text-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Sukhumvit Set";
    src: url("../../fonts/sukhumvitset-medium-webfont.woff2") format("woff2"),
    url("../../fonts/sukhumvitset-medium-webfont.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Sukhumvit Set";
    src: url("../../fonts/sukhumvitset-semibold-webfont.woff2") format("woff2"),
         url("../../fonts/sukhumvitset-semibold-webfont.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Sukhumvit Set";
    src: url("../../fonts/sukhumvitset-bold-webfont.woff2") format("woff2"),
         url("../../fonts/sukhumvitset-bold-webfont.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --heading-font: "Sukhumvit Set", "Google Sans", "Sarabun", sans-serif;
}

/* ชนะ body *:not(.fa)... จาก stylesheet / ocean / gold */
html body h1:not(script):not(style):not(svg):not(path):not(i):not(.fa):not(.fas):not(.far):not(.fab),
html body h2:not(script):not(style):not(svg):not(path):not(i):not(.fa):not(.fas):not(.far):not(.fab),
html body h3:not(script):not(style):not(svg):not(path):not(i):not(.fa):not(.fas):not(.far):not(.fab),
html body h4:not(script):not(style):not(svg):not(path):not(i):not(.fa):not(.fas):not(.far):not(.fab),
html body h5:not(script):not(style):not(svg):not(path):not(i):not(.fa):not(.fas):not(.far):not(.fab),
html body h6:not(script):not(style):not(svg):not(path):not(i):not(.fa):not(.fas):not(.far):not(.fab),
html body .page-header-gradient h1:not(.fa),
html body .page-header-gradient h2:not(.fa),
html body .page-header-gradient h3:not(.fa),
html body .page-header-gradient-admin h1:not(.fa),
html body .page-header-gradient-admin h2:not(.fa),
html body .page-header-gradient-admin h3:not(.fa),
html body .brand:not(.fa),
html body .subMenu:not(.fa),
html body .card-heading-topic:not(.fa),
html body .page-title:not(.fa),
html body .section-title:not(.fa),
html body .modal-title:not(.fa),
html body .swal2-title:not(.fa),
html body .navbar-brand:not(.fa),
html body .alert-heading:not(.fa),
html body .student-name:not(.fa),
html body .display-1:not(.fa),
html body .display-2:not(.fa),
html body .display-3:not(.fa),
html body .display-4:not(.fa),
html body .display-5:not(.fa),
html body .display-6:not(.fa),
html body .slide-kicker:not(.fa),
html body .year-line:not(.fa) {
    font-family: "Sukhumvit Set", "Google Sans", "Sarabun", sans-serif !important;
    letter-spacing: -0.01em;
}
