
:root{
	--nal-font-sans:"Be Vietnam Pro","Segoe UI",Arial,Helvetica,sans-serif;
	--nal-font-serif:"Noto Serif","Times New Roman",Georgia,serif;
}

/* Nội dung thường */
html,
body,
button,
input,
select,
textarea,
label,
.site-header,
.primary-navigation,
.menu,
.eyebrow,
.card-meta,
.status-pill,
.course-facts,
.detail-facts,
.fact-grid small,
.filter-button,
.page-numbers,
.footer-column,
.footer-bottom,
.nal-button,
.wp-block-button__link,
.nal-contact-form,
.nal-footer-form,
.nal-home-contact,
.nal-glb,
.nal-marquee{
	font-family:var(--nal-font-sans)!important;
}

/* Tiêu đề editorial */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-copy h1,
.section-heading h2,
.project-card h3,
.course-card h3,
.trend-row h3,
.event-copy h2,
.page-hero h1,
.standard-entry h2,
.empty-state h2,
.detail-copy h1,
.entry-content h2,
.entry-content h3,
.credits-block>p:last-child,
.enrollment-box h2,
.article-hero h1,
.article-deck,
.article-content>p:first-of-type:first-letter,
.footer-logo,
.error-page h1,
.placeholder-label,
.fact-grid>div,
.trend-number,
.nal-home-contact__title h2,
.nal-footer-form__heading h2,
.nal-about-lead,
.nal-about-stats h3,
.nal-about-philosophy h2,
.nal-about-philosophy .nal-about-quote p,
.nal-about-section-title,
.nal-about-index,
.nal-about-journey-card h3,
.nal-about-closing h2{
	font-family:var(--nal-font-serif)!important;
}

/* Gutenberg font classes */
.has-serif-font-family,
.has-editorial-serif-font-family{
	font-family:var(--nal-font-serif)!important;
}

.has-sans-font-family{
	font-family:var(--nal-font-sans)!important;
}

/* Tối ưu dấu và khoảng cách */
body{
	font-kerning:normal;
	font-variant-ligatures:common-ligatures;
	text-rendering:optimizeLegibility;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6{
	font-kerning:normal;
	font-synthesis:none;
}

/*
 * Noto Serif hơi rộng hơn Georgia.
 * Giảm nhẹ tracking âm cực mạnh của theme để dấu tiếng Việt không dính nhau.
 */
.hero-copy h1,
.page-hero h1,
.detail-copy h1,
.article-hero h1{
	letter-spacing:-.052em!important;
}

.section-heading h2,
.event-copy h2,
.enrollment-box h2,
.placeholder-label,
.footer-logo,
.error-page h1,
.nal-about-lead,
.nal-about-philosophy h2,
.nal-about-section-title,
.nal-about-closing h2{
	letter-spacing:-.038em!important;
}

.project-card h3,
.course-card h3,
.trend-row h3,
.entry-content h2,
.entry-content h3{
	letter-spacing:-.025em!important;
}

/* Dấu tiếng Việt không bị cắt ở các tiêu đề line-height rất thấp */
.hero-copy h1,
.page-hero h1,
.detail-copy h1,
.article-hero h1,
.section-heading h2,
.event-copy h2,
.enrollment-box h2,
.footer-logo,
.placeholder-label,
.nal-about-lead,
.nal-about-philosophy h2,
.nal-about-section-title,
.nal-about-closing h2{
	padding-top:.08em;
	padding-bottom:.08em;
}

/* Không làm thay đổi chiều cao menu nhỏ và metadata */
.eyebrow,
.card-meta,
.status-pill,
.course-facts,
.filter-button,
.footer-bottom{
	font-feature-settings:"kern" 1;
}

/* Mobile: tăng line-height tiêu đề có dấu nhiều tầng */
@media(max-width:900px){
	.hero-copy h1,
	.page-hero h1,
	.detail-copy h1,
	.article-hero h1{
		line-height:.94!important;
	}

	.section-heading h2,
	.event-copy h2,
	.enrollment-box h2,
	.nal-about-lead,
	.nal-about-philosophy h2,
	.nal-about-section-title,
	.nal-about-closing h2{
		line-height:.98!important;
	}

	.project-card h3,
	.course-card h3,
	.trend-row h3,
	.entry-content h2,
	.entry-content h3{
		line-height:1.08!important;
	}
}
