/**
 * CRRU Kasalongkham Font (ฟอนต์อัตลักษณ์ประจำมหาวิทยาลัยราชภัฏเชียงราย)
 * Designally x Fontcraft for Chiang Rai Rajabhat University
 */

@font-face {
    font-family: 'Kasalongkham';
    src: url('../fonts/Kasalongkham-Bold.woff2') format('woff2'),
         url('../fonts/Kasalongkham-Bold.woff') format('woff'),
         url('../fonts/Kasalongkham-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kasalongkham';
    src: url('../fonts/Kasalongkham-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Kasalongkham';
    src: url('../fonts/Kasalongkham-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kasalongkham';
    src: url('../fonts/Kasalongkham-RegularItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Kasalongkham';
    src: url('../fonts/Kasalongkham-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kasalongkham';
    src: url('../fonts/Kasalongkham-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Apply Kasalongkham font to all headings and topic titles across the system */
h1, h2, h3, h4, h5, h6,
.font-heading,
.font-kasalongkham,
.kasalongkham,
.section-title,
.page-title,
.card-title,
.modal-title,
.hero-title,
.topic-title,
.brand-title {
    font-family: 'Kasalongkham', 'Prompt', 'Outfit', sans-serif !important;
    letter-spacing: -0.01em;
}
