/* Khối Chính sách – definition-list: danh sách định nghĩa 2 cột, kiểu dòng theo mẫu, nhóm theo chủ đề, bản in fact sheet. */

.vh-pdl {
	display: grid;
	gap: var(--vh-card-gap);
}

.vh-pdl .vh-itabs {
	margin-bottom: 0;
}

.vh-pdl__groups {
	display: grid;
	gap: clamp(1.5rem, 4vw, 2.25rem);
}

.vh-pdl__group {
	min-width: 0;
}

.vh-pdl__group[hidden] {
	display: none;
}

.vh-pdl__group:focus-visible {
	outline: 3px solid var(--vh-color-focus);
	outline-offset: 4px;
}

.vh-pdl__heading {
	margin: 0 0 0.5rem;
	font-family: var(--vh-font-heading);
	font-size: var(--vh-fs-h3);
	font-weight: var(--vh-fw-heading);
	line-height: var(--vh-lh-heading);
}

.vh-pdl__list {
	margin: 0;
}

/* Hàng: nhãn trên, nội dung dưới (điện thoại); 2 cột từ 640px. */
.vh-pdl__row {
	display: grid;
	gap: 0.25rem;
	padding: 0.75rem 0;
	border-bottom: var(--vh-border-width, 1px) var(--vh-rule-style, solid) var(--vh-color-border);
}

.vh-pdl__label {
	margin: 0;
	color: var(--vh-color-text);
	font-weight: var(--vh-fw-medium);
}

.vh-pdl__value {
	margin: 0;
	color: var(--vh-color-muted);
	line-height: var(--vh-lh-body);
	font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
	.vh-pdl__row {
		grid-template-columns: minmax(10rem, 2fr) minmax(0, 5fr);
		gap: 1.5rem;
		align-items: baseline;
	}
}

/* double-rule: sổ cái kẻ đôi màu trang trí của mẫu. */
.vh-pdl--double-rule .vh-pdl__list {
	border-top: 3px double var(--vh-color-ornament, var(--vh-color-border-strong));
}

.vh-pdl--double-rule .vh-pdl__row {
	border-bottom: 3px double var(--vh-color-ornament, var(--vh-color-border-strong));
}

.vh-pdl--double-rule .vh-pdl__heading {
	font-variant-caps: all-small-caps;
	letter-spacing: 0.06em;
}

/* mono: chữ đơn cách in hoa, kẻ mực. */
.vh-pdl--mono .vh-pdl__row {
	border-bottom: 1px solid var(--vh-color-text);
	font-family: var(--vh-font-accent, ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace);
	font-size: var(--vh-fs-small);
}

.vh-pdl--mono .vh-pdl__list {
	border-top: 2px solid var(--vh-color-text);
}

.vh-pdl--mono .vh-pdl__label {
	letter-spacing: var(--vh-ls-label, 0.06em);
	text-transform: uppercase;
}

.vh-pdl--mono .vh-pdl__value {
	color: var(--vh-color-text);
}

/* dotted-leader: "Nhận phòng ........ 14:00" cho giá trị ngắn; câu dài xuống dòng như thường. */
.vh-pdl--dotted-leader .vh-pdl__row {
	border-bottom: 0;
	padding: 0.5rem 0;
}

.vh-pdl--dotted-leader .vh-pdl__row--short {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.vh-pdl--dotted-leader .vh-pdl__row--short .vh-pdl__label {
	order: 1;
	flex: 0 1 auto;
}

.vh-pdl--dotted-leader .vh-pdl__row--short::after {
	content: "";
	order: 2;
	flex: 1 1 2rem;
	min-width: 2rem;
	border-bottom: 2px dotted var(--vh-color-border-strong);
	transform: translateY(-0.25em);
}

.vh-pdl--dotted-leader .vh-pdl__row--short .vh-pdl__value {
	order: 3;
	flex: none;
	max-width: 60%;
	color: var(--vh-color-text);
	font-weight: var(--vh-fw-medium);
	text-align: right;
}

.vh-pdl--dotted-leader .vh-pdl__row--long {
	border-bottom: 1px dotted var(--vh-color-border-strong);
}

/* hairline: kẻ mảnh trên nền đá, khoảng thở rộng. */
.vh-pdl--hairline .vh-pdl__groups {
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border-radius: var(--vh-radius-panel, 0);
	background: var(--vh-color-surface-2, var(--vh-color-surface));
}

.vh-pdl--hairline .vh-pdl__row {
	padding: 1rem 0;
	border-bottom: 1px solid var(--vh-color-border);
}

.vh-pdl--hairline .vh-pdl__label {
	font-weight: var(--vh-fw-body);
	letter-spacing: var(--vh-ls-label, 0.04em);
	text-transform: var(--vh-label-transform, none);
}

/* Mục mẹo cho chuyến đi. */
.vh-pdl__tips {
	padding: var(--vh-card-pad);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-accent);
	color: var(--vh-color-text);
}

.vh-pdl__tips-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.5rem;
	font-weight: var(--vh-fw-bold);
}

.vh-pdl__tips-title .vh-i {
	color: var(--vh-color-accent-ink);
}

.vh-pdl__tips-list {
	display: grid;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-pdl__tips-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	line-height: var(--vh-lh-body);
}

.vh-pdl__tips-list .vh-i {
	flex: none;
	margin-top: 0.3em;
	color: var(--vh-color-success);
}

/* Nút in. */
.vh-pdl__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0;
}

.vh-pdl__tools-hint {
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

.vh-pdl__print-head {
	display: none;
}

@media (min-width: 1024px) {
	/* Không tab: hai nhóm cạnh nhau cho đỡ dài; có tab thì mỗi lúc một nhóm. */
	.vh-pdl--groups-headings .vh-pdl__groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(2rem, 4vw, 3.5rem);
	}

	.vh-pdl--groups-headings .vh-pdl__row {
		grid-template-columns: minmax(8rem, 2fr) minmax(0, 3fr);
	}
}

/* ---- Bản in fact sheet: chỉ khối được bấm in, đủ mọi chủ đề, chữ đen nền trắng ---- */
@media print {
	html.vh-printing body * {
		visibility: hidden;
	}

	html.vh-printing .is-print-target,
	html.vh-printing .is-print-target * {
		visibility: visible;
	}

	html.vh-printing .is-print-target {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}

	.vh-pdl,
	.vh-pdl * {
		background: transparent !important;
		color: var(--vh-color-text) !important;
		box-shadow: none !important;
	}

	.vh-pdl .vh-pdl__group[hidden] {
		display: block !important;
	}

	.vh-pdl .vh-itabs,
	.vh-pdl .vh-pdl__tools,
	.vh-pdl .vh-pdl__links {
		display: none !important;
	}

	.vh-pdl .vh-js .vh-pdl__heading--tabbed,
	.vh-js .vh-pdl .vh-pdl__heading--tabbed {
		position: static !important;
		width: auto;
		height: auto;
		margin: 0 0 0.25rem;
		overflow: visible;
		clip: auto;
		white-space: normal;
	}

	.vh-pdl__print-head {
		display: block;
		margin: 0 0 1rem;
		font-weight: 700;
	}

	.vh-pdl__groups {
		display: block;
	}

	.vh-pdl__group {
		margin-bottom: 1rem;
		break-inside: avoid;
	}

	.vh-pdl__row {
		break-inside: avoid;
	}
}
