/**
 * Khối do plugin render trên trang thuật ngữ.
 *
 * Dùng child combinator ở nơi nhắm thẻ chung, để rule không rò vào bên trong
 * các thành phần khác của BetterDocs/RealHomes.
 */
.vv-term-blocks { margin-top: 2em; }

.vv-term-blocks > section { margin-bottom: 1.75em; }

.vv-term-blocks > section > h2 {
	font-size: 1.15em;
	margin: 0 0 .6em;
	padding-bottom: .35em;
	border-bottom: 1px solid #e3e6e8;
}

.vv-term-related > ul { margin: 0; padding-left: 1.2em; }
.vv-term-related > ul > li { margin-bottom: .3em; }

.vv-formula-text > code {
	display: inline-block;
	padding: .5em .75em;
	background: #f6f7f7;
	border-radius: 4px;
	font-size: .95em;
	line-height: 1.6;
}
.vv-formula-unit { color: #666; font-size: .9em; }

.vv-calc {
	border: 1px solid #e3e6e8;
	border-radius: 6px;
	padding: 1em 1.1em;
	background: #fbfcfc;
}
.vv-calc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	margin-bottom: .6em;
	flex-wrap: wrap;
}
.vv-calc-label { flex: 1 1 55%; }
.vv-calc-label > em { color: #666; font-style: normal; font-size: .88em; }
.vv-calc-row > input {
	flex: 0 1 220px;
	padding: .45em .6em;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	text-align: right;
}
.vv-calc-result {
	margin: .8em 0 .3em;
	padding-top: .7em;
	border-top: 1px solid #e3e6e8;
	font-weight: 600;
}
.vv-calc-result > output { font-size: 1.2em; }
.vv-calc-note { margin: 0; color: #555; font-size: .92em; }

@media (max-width: 600px) {
	.vv-calc-row > input { flex: 1 1 100%; text-align: left; }
}

.vv-legal-list { list-style: none; margin: 0; padding: 0; }
.vv-legal-item {
	border-left: 3px solid #2271b1;
	padding: .1em 0 .1em 1em;
	margin-bottom: 1.2em;
}
.vv-legal-cite { font-size: 1.02em; }
.vv-legal-number { color: #666; font-weight: 400; }
.vv-legal-meta { color: #666; font-size: .88em; margin-top: .15em; }
.vv-legal-quote {
	margin: .6em 0;
	padding: .6em .9em;
	background: #f6f7f7;
	border: 0;
	font-size: .95em;
	font-style: normal;
}
.vv-legal-explain { margin: .5em 0; }
.vv-legal-source { font-size: .92em; }
.vv-legal-note {
	margin-top: .8em;
	padding-top: .7em;
	border-top: 1px solid #e3e6e8;
	color: #666;
	font-size: .88em;
}

/**
 * Khối "Giá tham khảo hôm nay".
 *
 * Nền nhạt để tách khỏi chữ bài — đây là số ĐỌC LÚC TẢI TRANG, không phải câu
 * do người viết đặt vào, nên nó phải trông khác phần văn.
 */
.vv-term-gia {
	padding: .9em 1.1em;
	background: #fbf8f0;
	border-left: 3px solid #c9a227;
	border-radius: 4px;
}
.vv-term-gia > h2 { border-bottom: none; padding-bottom: 0; }
.vv-term-gia > p { margin: 0 0 .4em; }
.vv-term-gia > p:last-child { margin-bottom: 0; }
.vv-term-gia-note > small { color: #6a6a6a; line-height: 1.5; }
