/*
 * 10-base.css — nen chu, tieu de, focus. Chi 2 moc @media: max 849 / min 850; moc thu 3 (che do header 1140)
 * di bang container `vp` (= html). Flatsome bom CSS dong (font Lato) SAU moi stylesheet nen cac rule o day
 * tang specificity bang tien to `html` (0,0,2 > 0,0,1) thay vi dung !important.
 */
html {
	container: vp / inline-size;
	scroll-padding-top: 120px;
}

html body {
	color: var(--bc-ink);
	font-family: var(--bc-font);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
}

html button,
html input,
html textarea,
html select,
html .button {
	font-family: var(--bc-font);
}

html h1,
html h2,
html h3,
html h4,
html h5,
html h6,
html .heading-font {
	color: var(--bc-green-900);
	font-family: var(--bc-font);
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

html a {
	transition: color var(--dur) var(--ease);
}

/* Flatsome dat vong focus rieng cho a/button (mau xanh, trang, xam): dong nhat 1 vong vang dam, de nhin tren nen sang. */
html body :focus-visible {
	outline: 2px solid var(--bc-gold-700);
	outline-offset: 2px;
}

/* H1 phai ton tai cho a11y/SEO khi tieu de nam trong khoi gioi thieu: van doc duoc, khong display:none. */
.bc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	html a {
		transition: none;
	}
}
