/*
 * Giao diện trang chi tiết (lưu trú, ẩm thực, di chuyển, điểm đến, tour, sự kiện, tin tức).
 * Tinh thần: Bình Liêu hoang sơ, thơ mộng, hùng vĩ – ảnh lớn, chữ có chân cho tiêu đề,
 * màu núi rừng (xanh rêu, giấy ngà, vàng nắng), nhiều khoảng thở.
 * Mọi class đều có tiền tố "dt-" để không đụng style cũ của template.
 */

:root {
	--dt-forest: #1c3528;
	--dt-moss: #2e6b4a;
	--dt-moss-soft: #e6efe8;
	--dt-paper: #f7f4ec;
	--dt-card: #ffffff;
	--dt-ink: #1f2a23;
	--dt-text: #3c463f;
	--dt-muted: #59635a;
	--dt-line: #e6e0d2;
	--dt-gold: #c08526;
	--dt-gold-soft: #f6ead3;
	--dt-gold-text: #94620f; /* chữ vàng trên nền kem: đạt tỷ lệ tương phản 4,5 */
	--dt-radius: 14px;
	--dt-shadow: 0 1px 2px rgba(28, 53, 40, .05), 0 8px 28px rgba(28, 53, 40, .07);
	--dt-serif: 'Lora', Georgia, 'Times New Roman', serif;
	--dt-sans: 'Be Vietnam Pro', 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.dt-page {
	background: var(--dt-paper);
	font-family: var(--dt-sans);
	color: var(--dt-text);
	-webkit-font-smoothing: antialiased;
}

.dt-page a {
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

/* ============================== Hero ============================== */

.dt-hero {
	position: relative;
	min-height: 72vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--dt-forest);
	color: #fff;
}

.dt-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	animation: dt-drift 18s ease-out forwards;
}

@keyframes dt-drift {
	to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.dt-hero__img { animation: none; transform: none; }
}

/* sương phủ: tối dần xuống chân ảnh để chữ luôn đọc được */
.dt-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 22, 15, .55) 0%, rgba(10, 22, 15, 0) 26%),
		linear-gradient(0deg, rgba(10, 22, 15, .82) 0%, rgba(10, 22, 15, .35) 38%, rgba(10, 22, 15, 0) 62%);
}

.dt-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-top: 140px;
	padding-bottom: 64px;
}

.dt-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 18px;
	font-size: 13px;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .78);
}

.dt-crumb a {
	color: rgba(255, 255, 255, .78);
}

.dt-crumb a:hover {
	color: #fff;
}

.dt-crumb span[aria-hidden] {
	opacity: .5;
}

.dt-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #f1d9a8;
}

.dt-kicker::before {
	content: "";
	width: 34px;
	height: 1px;
	background: currentColor;
	opacity: .8;
}

.dt-title {
	max-width: 900px;
	margin: 0;
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: clamp(34px, 5.2vw, 62px);
	line-height: 1.12;
	letter-spacing: -.01em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

.dt-hero__lead {
	max-width: 680px;
	margin: 16px 0 0;
	font-family: var(--dt-serif);
	font-style: italic;
	font-size: 19px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .88);
}

.dt-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	margin-top: 22px;
	font-size: 15px;
	color: rgba(255, 255, 255, .9);
}

.dt-hero__meta .fa {
	margin-right: 7px;
	color: #f1d9a8;
}

/* ============================== Bố cục ============================== */

.dt-body {
	padding: 56px 0 88px;
}

.dt-main > * + * {
	margin-top: 56px;
}

.dt-section-title {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0 0 22px;
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 28px;
	line-height: 1.25;
	color: var(--dt-ink);
}

.dt-section-title small {
	font-family: var(--dt-sans);
	font-size: 14px;
	font-weight: 400;
	color: var(--dt-muted);
}

/* nét cọ nhỏ dưới tiêu đề mục */
.dt-section-title::after {
	content: none;
}

.dt-eyebrow {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--dt-gold);
}

.dt-section .dt-eyebrow,
.dt-tile__body .dt-eyebrow {
	color: var(--dt-gold-text);
}

/* ============================== Thư viện ảnh ============================== */

.dt-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 150px;
	gap: 10px;
	border-radius: var(--dt-radius);
	overflow: hidden;
}

.dt-gallery__item {
	position: relative;
	display: block;
	overflow: hidden;
	background: #dfe3dc;
}

.dt-gallery__item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.dt-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease, filter .6s ease;
}

.dt-gallery__item:hover img {
	transform: scale(1.05);
	filter: saturate(1.08);
}

.dt-gallery__item.is-hidden {
	display: none;
}

.dt-gallery__more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(16, 32, 23, .55);
	font-family: var(--dt-serif);
	font-size: 22px;
	color: #fff;
}

.dt-gallery--1 { grid-template-columns: 1fr; grid-auto-rows: 420px; }
.dt-gallery--1 .dt-gallery__item:first-child { grid-column: auto; grid-row: auto; }
.dt-gallery--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
.dt-gallery--2 .dt-gallery__item:first-child { grid-column: auto; grid-row: auto; }
.dt-gallery--3 { grid-template-columns: 2fr 1fr; grid-auto-rows: 180px; }
.dt-gallery--3 .dt-gallery__item:first-child { grid-column: auto; grid-row: span 2; }
.dt-gallery--4 { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 180px; }
.dt-gallery--4 .dt-gallery__item:first-child { grid-column: auto; grid-row: span 2; }
.dt-gallery--4 .dt-gallery__item:nth-child(4) { grid-column: span 2; }

/* ============================== Nội dung bài ============================== */

.dt-prose {
	max-width: 72ch;
	font-family: var(--dt-sans);
	font-size: 17px;
	line-height: 1.85;
	color: var(--dt-text);
	overflow-wrap: break-word;
}

/* nội dung soạn/copy từ nơi khác hay mang theo font, cỡ chữ, màu riêng -> đưa về một giọng */
.dt-prose p,
.dt-prose span,
.dt-prose div,
.dt-prose li,
.dt-prose td,
.dt-prose font {
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
	background-color: transparent !important;
}

.dt-prose > *:first-child { margin-top: 0; }
.dt-prose > *:last-child { margin-bottom: 0; }

.dt-prose p {
	margin: 0 0 1.15em;
	text-align: left !important;
}

.dt-prose p[style*="right"] {
	text-align: right !important;
}

.dt-prose--lead > p:first-child,
.dt-prose--lead > p:first-child * {
	font-family: var(--dt-serif) !important;
	font-size: 20px !important;
	line-height: 1.7 !important;
	color: var(--dt-ink) !important;
}

.dt-prose h1,
.dt-prose h2,
.dt-prose h3,
.dt-prose h4 {
	margin: 1.8em 0 .6em;
	font-family: var(--dt-serif) !important;
	font-weight: 600;
	line-height: 1.3;
	color: var(--dt-ink) !important;
}

.dt-prose h1 { font-size: 28px; }
.dt-prose h2 { font-size: 25px; }
.dt-prose h3 { font-size: 21px; }
.dt-prose h4 { font-size: 18px; }

.dt-prose h1 *, .dt-prose h2 *, .dt-prose h3 *, .dt-prose h4 * {
	font-family: inherit !important;
	font-size: inherit !important;
	color: inherit !important;
}

.dt-prose strong, .dt-prose b {
	font-weight: 600;
	color: var(--dt-ink);
}

.dt-prose a {
	color: var(--dt-moss);
	text-decoration: underline;
	text-decoration-color: rgba(46, 107, 74, .35);
	text-underline-offset: 3px;
}

.dt-prose a:hover {
	text-decoration-color: currentColor;
}

.dt-prose img {
	display: block;
	max-width: 100% !important;
	height: auto !important;
	margin: 1.6em auto;
	border-radius: 10px;
}

.dt-prose figure,
.dt-prose .image,
.dt-prose table.image {
	width: auto !important;
	max-width: 100%;
	margin: 1.8em 0 !important;
}

.dt-prose figure img,
.dt-prose .image img {
	margin: 0 auto;
}

.dt-prose figcaption,
.dt-prose .image caption,
.dt-prose .caption,
.dt-prose td.caption,
.dt-prose em.caption {
	display: block;
	margin-top: 10px;
	font-size: 14px !important;
	font-style: italic;
	line-height: 1.6 !important;
	text-align: center;
	color: var(--dt-muted) !important;
}

.dt-prose blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--dt-gold);
	font-family: var(--dt-serif);
	font-style: italic;
	font-size: 19px;
	color: var(--dt-ink);
}

.dt-prose ul,
.dt-prose ol {
	margin: 0 0 1.3em;
	padding-left: 1.4em;
}

.dt-prose ul { list-style: disc; }
.dt-prose ol { list-style: decimal; }

.dt-prose li {
	margin-bottom: .45em;
	padding-left: 4px;
}

.dt-prose li::marker {
	color: var(--dt-gold);
}

.dt-prose iframe,
.dt-prose video {
	display: block;
	width: 100% !important;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto !important;
	margin: 1.6em 0;
	border: 0;
	border-radius: 10px;
}

.dt-prose hr {
	margin: 2.4em auto;
	width: 80px;
	border: 0;
	border-top: 1px solid var(--dt-line);
}

.dt-prose table:not(.image) {
	width: 100%;
	margin: 1.4em 0;
	border-collapse: separate !important;
	border-spacing: 0;
	border: 1px solid var(--dt-line) !important;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	font-size: 15px;
	line-height: 1.6;
}

.dt-prose table:not(.image) td,
.dt-prose table:not(.image) th {
	padding: 12px 16px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--dt-line) !important;
	vertical-align: top;
	font-size: 15px !important;
}

.dt-prose table:not(.image) tr:last-child td {
	border-bottom: 0 !important;
}

.dt-prose table:not(.image) th,
.dt-prose table:not(.image) thead td {
	background: var(--dt-gold-soft) !important;
	color: var(--dt-ink) !important;
	font-weight: 600;
}

/* ============================== Thẻ thông tin bên phải ============================== */

.dt-aside {
	position: sticky;
	top: 110px;
}

.dt-card {
	background: var(--dt-card);
	border: 1px solid var(--dt-line);
	border-radius: var(--dt-radius);
	box-shadow: var(--dt-shadow);
}

.dt-info {
	padding: 28px 26px 26px;
}

.dt-info__price {
	padding-bottom: 20px;
	margin-bottom: 6px;
	border-bottom: 1px solid var(--dt-line);
}

.dt-info__price-label {
	font-size: 13px;
	color: var(--dt-muted);
}

.dt-info__price-value {
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 30px;
	line-height: 1.2;
	color: var(--dt-forest);
}

.dt-info__price-value small {
	font-family: var(--dt-sans);
	font-size: 14px;
	font-weight: 400;
	color: var(--dt-muted);
}

.dt-facts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dt-facts li {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px dashed var(--dt-line);
}

.dt-facts li:last-child {
	border-bottom: 0;
}

.dt-facts .fa {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	line-height: 34px;
	border-radius: 50%;
	text-align: center;
	font-size: 15px;
	background: var(--dt-moss-soft);
	color: var(--dt-moss);
}

.dt-facts__label {
	display: block;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--dt-muted);
}

.dt-facts__value {
	display: block;
	margin-top: 2px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--dt-ink);
	overflow-wrap: anywhere;
}

.dt-facts__value a {
	color: var(--dt-ink);
}

.dt-facts__value a:hover {
	color: var(--dt-moss);
}

.dt-actions {
	display: grid;
	gap: 10px;
	margin-top: 22px;
}

.dt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--dt-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	text-decoration: none !important;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.dt-btn:hover {
	transform: translateY(-1px);
}

.dt-btn--primary {
	background: var(--dt-forest);
	color: #fff !important;
}

.dt-btn--primary:hover {
	background: var(--dt-moss);
}

.dt-btn--ghost {
	background: transparent;
	border-color: var(--dt-line);
	color: var(--dt-ink) !important;
}

.dt-btn--ghost:hover {
	border-color: var(--dt-moss);
	color: var(--dt-moss) !important;
}

.dt-btn--gold {
	background: var(--dt-gold);
	color: #fff !important;
}

.dt-btn--gold:hover {
	background: #a8721d;
}

.dt-btn[disabled] {
	opacity: .6;
	cursor: wait;
	transform: none;
}

.dt-note {
	margin: 18px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--dt-muted);
}

/* Cơ sở đã đóng cửa: khung vàng đầu bài + nhãn ở ảnh bìa */
.dt-closed {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 4px solid #e0a100;
	border-radius: 6px;
	background: #fff8e1;
	color: #4a3b00;
	font-size: 15px;
	line-height: 1.6;
}

.dt-closed .fa {
	margin-top: 4px;
	color: #c78c00;
}

.dt-closed p {
	margin: 0;
	color: inherit;
}

.dt-closed a {
	color: #8a5a00;
	text-decoration: underline;
}

.dt-closed-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: #e0a100;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

/* ============================== Đánh giá sao ============================== */

.dt-stars {
	position: relative;
	display: inline-block;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 2px;
	color: rgba(255, 255, 255, .35);
	white-space: nowrap;
}

.dt-stars::before {
	content: "\f005\f005\f005\f005\f005";
	font-family: 'FontAwesome';
}

.dt-stars__fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: #f3c35b;
}

.dt-stars__fill::before {
	content: "\f005\f005\f005\f005\f005";
	font-family: 'FontAwesome';
}

.dt-stars--dark {
	color: #e2ddd0;
}

.dt-stars--dark .dt-stars__fill {
	color: var(--dt-gold);
}

/* ============================== Lịch trình tour ============================== */

.dt-highlights {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
}

.dt-highlight {
	padding: 18px 18px 16px;
	background: #fff;
	border: 1px solid var(--dt-line);
	border-radius: 12px;
}

.dt-highlight .fa {
	font-size: 18px;
	color: var(--dt-gold);
}

.dt-highlight__label {
	margin-top: 10px;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dt-muted);
}

.dt-highlight__value {
	margin-top: 4px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--dt-ink);
}

.dt-schedule {
	position: relative;
	padding: 30px 32px;
	background: #fff;
	border: 1px solid var(--dt-line);
	border-radius: var(--dt-radius);
}

/* ============================== Đánh giá ============================== */

.dt-reviews__summary {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 24px;
}

.dt-reviews__score {
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 44px;
	line-height: 1;
	color: var(--dt-forest);
}

.dt-reviews__count {
	margin-top: 6px;
	font-size: 14px;
	color: var(--dt-muted);
}

.dt-review {
	display: flex;
	gap: 16px;
	padding: 22px 24px;
}

.dt-review + .dt-review {
	margin-top: 14px;
}

.dt-review__avatar {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--dt-moss-soft);
}

.dt-review__body {
	flex: 1;
	min-width: 0;
}

.dt-review__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 14px;
}

.dt-review__name {
	font-weight: 600;
	color: var(--dt-ink);
}

.dt-review__date {
	font-size: 13px;
	color: var(--dt-muted);
}

.dt-review__title {
	margin: 10px 0 4px;
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 18px;
	color: var(--dt-ink);
}

.dt-review__text {
	font-size: 15px;
	line-height: 1.75;
	color: var(--dt-text);
	/* nội dung là văn bản thuần, giữ xuống dòng người dùng gõ */
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.dt-review__text p:last-child {
	margin-bottom: 0;
}

/* ảnh du khách gửi kèm đánh giá: ô vuông nhỏ, bấm xem lớn (colorbox) */
.dt-review__photos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.dt-review__photo {
	position: relative;
	display: block;
	width: 92px;
	height: 92px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--dt-moss-soft);
}

.dt-review__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.dt-review__photo:hover img {
	transform: scale(1.05);
}

/* chọn ảnh trong form đánh giá */
.dt-photo-pick {
	margin-bottom: 16px;
}

.dt-photo-pick__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dt-photo-pick__add {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 92px;
	height: 92px;
	margin: 0;
	border: 1px dashed var(--dt-moss);
	border-radius: 10px;
	background: #fbfaf6;
	color: var(--dt-moss);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s ease;
}

.dt-photo-pick__add i {
	font-size: 20px;
}

.dt-photo-pick__add:hover,
.dt-photo-pick__input:focus-visible + .dt-photo-pick__add {
	background: var(--dt-moss-soft);
}

.dt-photo-pick__input:focus-visible + .dt-photo-pick__add {
	box-shadow: 0 0 0 3px rgba(46, 107, 74, .25);
}

.dt-photo-pick__item {
	position: relative;
	width: 92px;
	height: 92px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--dt-moss-soft);
}

.dt-photo-pick__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dt-photo-pick__remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(28, 53, 40, .78);
	color: #fff;
	font-size: 16px;
	line-height: 26px;
	cursor: pointer;
}

.dt-photo-pick__remove:hover {
	background: var(--dt-forest);
}

.dt-photo-pick__hint {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--dt-muted);
}

.dt-empty {
	padding: 30px 24px;
	text-align: center;
	font-family: var(--dt-serif);
	font-style: italic;
	font-size: 17px;
	color: var(--dt-muted);
	background: rgba(255, 255, 255, .55);
	border: 1px dashed var(--dt-line);
	border-radius: var(--dt-radius);
}

.dt-review-form {
	margin-top: 22px;
	padding: 26px 26px 28px;
}

.dt-review-form__title {
	margin: 0 0 16px;
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 20px;
	color: var(--dt-ink);
}

.dt-field {
	display: block;
	width: 100%;
	margin-bottom: 12px;
	padding: 13px 16px;
	border: 1px solid var(--dt-line);
	border-radius: 10px;
	background: #fbfaf6;
	font-family: var(--dt-sans);
	font-size: 15px;
	color: var(--dt-ink);
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.dt-field:focus {
	background: #fff;
	border-color: var(--dt-moss);
	box-shadow: 0 0 0 3px rgba(46, 107, 74, .12);
}

textarea.dt-field {
	min-height: 120px;
	resize: vertical;
}

/* chọn sao: các input xếp ngược để :checked ~ label tô được các sao bên trái */
.dt-rate {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 4px;
	margin-bottom: 16px;
}

.dt-rate input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dt-rate label {
	margin: 0;
	font-size: 26px;
	line-height: 1;
	color: #ddd6c6;
	cursor: pointer;
	transition: color .15s ease, transform .15s ease;
}

.dt-rate label:hover,
.dt-rate label:hover ~ label,
.dt-rate input:checked ~ label {
	color: var(--dt-gold);
}

.dt-rate label:hover {
	transform: scale(1.12);
}

.dt-rate input:focus-visible + label {
	outline: 2px solid var(--dt-moss);
	outline-offset: 2px;
	border-radius: 4px;
}

.dt-login-hint {
	margin-top: 18px;
	font-size: 15px;
	color: var(--dt-muted);
}

.dt-login-hint a {
	font-weight: 600;
	color: var(--dt-moss);
}

/* ============================== Gợi ý thêm ============================== */

.dt-related {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.dt-related__card {
	display: block;
	overflow: hidden;
	color: inherit !important;
	text-decoration: none !important;
}

.dt-related__img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #dfe3dc;
}

.dt-related__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.dt-related__card:hover .dt-related__img img {
	transform: scale(1.05);
}

.dt-related__body {
	padding: 16px 18px 18px;
}

.dt-related__title {
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.35;
	color: var(--dt-ink);
}

.dt-related__card:hover .dt-related__title {
	color: var(--dt-moss);
}

.dt-related__sub {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--dt-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ============================== Tin tức ============================== */

/* ảnh bìa tin tức hay là infographic nhiều chữ -> làm mờ, tối để tiêu đề nổi lên */
.dt-hero.dt-hero--article {
	min-height: 0;
}

.dt-hero--article .dt-hero__img {
	filter: blur(6px) brightness(.5) saturate(.9);
	transform: scale(1.12);
	animation: none;
}

.dt-hero--article .dt-hero__shade {
	background: linear-gradient(180deg, rgba(16, 34, 24, .55) 0%, rgba(16, 34, 24, .75) 100%);
}

.dt-hero--article .dt-hero__inner {
	padding-top: 150px;
	padding-bottom: 56px;
}

.dt-hero--article .dt-title {
	font-size: clamp(30px, 4.2vw, 48px);
}

.dt-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 22px;
	font-size: 14px;
	color: rgba(255, 255, 255, .88);
}

.dt-article-meta a {
	color: inherit;
}

.dt-article-meta a:hover {
	color: #fff;
	text-decoration: underline;
}

.dt-article-meta .fa {
	margin-right: 6px;
	color: #f1d9a8;
}

.dt-article {
	padding: 44px 48px 40px;
}

.dt-article .dt-prose {
	max-width: none;
}

.dt-source {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--dt-line);
	font-size: 14px;
	color: var(--dt-muted);
	overflow-wrap: anywhere;
}

.dt-source a {
	color: var(--dt-moss);
}

.dt-side-block {
	padding: 24px 24px 18px;
}

.dt-side-block + .dt-side-block {
	margin-top: 20px;
}

.dt-side-title {
	margin: 0 0 14px;
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 19px;
	color: var(--dt-ink);
}

.dt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dt-chip {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--dt-line);
	border-radius: 999px;
	font-size: 14px;
	color: var(--dt-text) !important;
	text-decoration: none !important;
}

.dt-chip:hover {
	border-color: var(--dt-moss);
	background: var(--dt-moss-soft);
	color: var(--dt-moss) !important;
}

.dt-mini-post {
	display: flex;
	gap: 14px;
	padding: 12px 0;
	border-top: 1px solid var(--dt-line);
	color: inherit !important;
	text-decoration: none !important;
}

.dt-mini-post:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.dt-mini-post img {
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
	border-radius: 10px;
	object-fit: cover;
	background: #dfe3dc;
}

.dt-mini-post__title {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--dt-ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dt-mini-post:hover .dt-mini-post__title {
	color: var(--dt-moss);
}

.dt-mini-post__date {
	margin-top: 4px;
	font-size: 13px;
	color: var(--dt-muted);
}

/* ============================== Dải mời gọi cuối trang ============================== */

.dt-invite {
	position: relative;
	margin-top: 72px;
	padding: 48px 44px;
	overflow: hidden;
	border-radius: 18px;
	background: var(--dt-forest);
	color: #fff;
}

/* đường núi mờ phía sau */
.dt-invite::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -10px;
	width: 520px;
	height: 160px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 160'%3E%3Cpath d='M0 160 L90 70 L140 110 L230 20 L300 95 L350 60 L440 130 L520 80 L520 160Z' fill='%23ffffff' fill-opacity='.06'/%3E%3Cpath d='M0 160 L70 115 L160 140 L250 80 L330 130 L420 100 L520 140 L520 160Z' fill='%23ffffff' fill-opacity='.06'/%3E%3C/svg%3E") no-repeat right bottom / contain;
	pointer-events: none;
}

.dt-invite__title {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: 620px;
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 28px;
	line-height: 1.35;
	color: #fff;
}

.dt-invite__text {
	position: relative;
	z-index: 1;
	max-width: 620px;
	margin: 10px 0 24px;
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .8);
}

.dt-invite .dt-chips {
	position: relative;
	z-index: 1;
}

.dt-invite .dt-chip {
	border-color: rgba(255, 255, 255, .25);
	color: #fff !important;
}

.dt-invite .dt-chip:hover {
	background: #fff;
	border-color: #fff;
	color: var(--dt-forest) !important;
}

/* ============================== Hộp thoại đăng nhập ============================== */

.dt-modal .modal-content {
	border: 0;
	border-radius: var(--dt-radius);
	font-family: var(--dt-sans);
}

.dt-modal .modal-header,
.dt-modal .modal-footer {
	border: 0;
	padding: 22px 26px 0;
}

.dt-modal .modal-footer {
	padding: 0 26px 22px;
}

.dt-modal .modal-title {
	font-family: var(--dt-serif);
	font-weight: 600;
	color: var(--dt-ink);
}

.dt-modal .modal-body {
	padding: 12px 26px 20px;
	color: var(--dt-text);
	line-height: 1.7;
}

/* ============================== Responsive ============================== */

@media (max-width: 991px) {
	.dt-hero { min-height: 62vh; }
	.dt-hero__inner { padding-top: 120px; padding-bottom: 44px; }
	.dt-aside { position: static; margin-top: 44px; }
	/* trang có giá / nút gọi: đưa thẻ thông tin lên ngay dưới ảnh bìa */
	.order-first > .dt-aside { margin: 0 0 40px; }
	.dt-body { padding: 40px 0 64px; }
	.dt-main > * + * { margin-top: 44px; }
	.dt-related { grid-template-columns: repeat(2, 1fr); }
	.dt-article { padding: 34px 30px; }
}

@media (max-width: 575px) {
	.dt-hero { min-height: 56vh; }
	.dt-hero__inner { padding-bottom: 34px; }
	.dt-hero__lead { font-size: 17px; }
	.dt-hero__meta { font-size: 14px; }
	.dt-section-title { font-size: 24px; }
	.dt-prose { font-size: 16px; line-height: 1.8; }
	.dt-prose--lead > p:first-child,
	.dt-prose--lead > p:first-child * { font-size: 18px !important; }
	.dt-gallery,
	.dt-gallery--3,
	.dt-gallery--4 { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 6px; }
	.dt-gallery .dt-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
	.dt-gallery--4 .dt-gallery__item:nth-child(4) { grid-column: auto; }
	.dt-gallery--1 { grid-template-columns: 1fr; grid-auto-rows: 260px; }
	.dt-gallery--1 .dt-gallery__item:first-child { grid-column: auto; grid-row: auto; }
	.dt-gallery--2 { grid-auto-rows: 180px; }
	.dt-gallery--2 .dt-gallery__item:first-child { grid-column: auto; grid-row: auto; }
	.dt-prose table:not(.image) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.dt-facts li { padding: 11px 0; }
	.dt-related { grid-template-columns: 1fr; }
	.dt-review { padding: 18px; }
	.dt-review__photo, .dt-photo-pick__add, .dt-photo-pick__item { width: 78px; height: 78px; }
	.dt-review__avatar { flex-basis: 40px; width: 40px; height: 40px; }
	.dt-schedule { padding: 22px 20px; }
	.dt-article { padding: 26px 20px; }
	.dt-invite { padding: 34px 24px; }
	.dt-invite__title { font-size: 23px; }
}

/* ---------- Ngày cập nhật cuối bài ---------- */

.dt-updated {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 22px 0 0;
	font-size: 14px;
	color: var(--dt-muted);
}

.dt-updated .fa {
	color: var(--dt-gold);
}

/* ============================== Album ảnh (lưu trú) ============================== */

/* lưới ảnh đầu trang: bấm ảnh hoặc nút "Xem tất cả" mở modal thư viện ảnh */
.dt-album {
	position: relative;
}

.dt-album .dt-gallery {
	grid-auto-rows: 170px;
	box-shadow: var(--dt-shadow);
}

.dt-album .dt-gallery__item {
	cursor: zoom-in;
}

.dt-album .dt-gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(16, 32, 23, .28), transparent 45%);
	opacity: 0;
	transition: opacity .3s ease;
}

.dt-album .dt-gallery__item:hover::after,
.dt-album .dt-gallery__item:focus-visible::after {
	opacity: 1;
}

.dt-album .dt-gallery__item:focus-visible {
	outline: 3px solid var(--dt-gold);
	outline-offset: -3px;
}

.dt-album__label {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(16, 32, 23, .62);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	pointer-events: none;
}

.dt-album__open {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 18px;
	border: 1px solid rgba(28, 53, 40, .12);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(16, 32, 23, .22);
	font-family: var(--dt-sans);
	font-size: 14px;
	font-weight: 600;
	color: var(--dt-ink);
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.dt-album__open:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(16, 32, 23, .28);
	background: var(--dt-paper);
}

.dt-album__open .fa {
	color: var(--dt-moss);
}

/* ============================== Thư viện ảnh cột phải (tour) ============================== */

/* thẻ giá + thư viện ảnh cao hơn màn hình: bỏ dính để xem được hết */
.dt-aside--tall {
	position: static;
}

.dt-sidegal {
	margin-top: 20px;
	padding: 22px 20px 20px;
}

.dt-sidegal__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.dt-sidegal__head .dt-side-title {
	margin: 0;
}

.dt-sidegal__count {
	font-size: 13px;
	color: var(--dt-muted);
	white-space: nowrap;
}

.dt-sidegal__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 78px;
	gap: 6px;
	border-radius: 10px;
	overflow: hidden;
}

.dt-sidegal__item {
	position: relative;
	display: block;
	overflow: hidden;
	background: #dfe3dc;
	cursor: zoom-in;
}

.dt-sidegal__item:first-child {
	grid-column: span 3;
	grid-row: span 2;
}

.dt-sidegal__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.dt-sidegal__item:hover img {
	transform: scale(1.06);
}

.dt-sidegal__item:focus-visible {
	outline: 3px solid var(--dt-gold);
	outline-offset: -3px;
}

.dt-sidegal__more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(16, 32, 23, .55);
	font-family: var(--dt-serif);
	font-size: 20px;
	color: #fff;
}

.dt-sidegal__open {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	margin-top: 14px;
	padding: 11px 16px;
	border: 1px solid var(--dt-line);
	border-radius: 999px;
	background: #fff;
	font-family: var(--dt-sans);
	font-size: 14px;
	font-weight: 600;
	color: var(--dt-ink);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.dt-sidegal__open:hover {
	background: var(--dt-paper);
	border-color: var(--dt-moss);
}

.dt-sidegal__open .fa {
	color: var(--dt-moss);
}

@media (max-width: 991px) {
	.dt-sidegal__grid { grid-auto-rows: 130px; }
}

@media (max-width: 575px) {
	.dt-sidegal__grid { grid-auto-rows: 88px; }
}

/* ============================== Modal thư viện ảnh ============================== */

html.dt-gm-open,
html.dt-gm-open body {
	overflow: hidden;
}

.dt-gm {
	position: fixed;
	inset: 0;
	z-index: 10000; /* trên nút chatbot (9995-9997) */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(16, 28, 21, .72);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	font-family: var(--dt-sans);
	animation: dt-gm-fade .2s ease;
}

.dt-gm[hidden] {
	display: none;
}

@keyframes dt-gm-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes dt-gm-rise {
	from { opacity: 0; transform: translateY(14px) scale(.98); }
	to { opacity: 1; transform: none; }
}

.dt-gm__dialog {
	display: flex;
	flex-direction: column;
	width: min(1080px, 100%);
	height: min(840px, 100%);
	padding: 18px 22px 16px;
	border-radius: 18px;
	background: var(--dt-paper);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
	animation: dt-gm-rise .25s ease;
}

.dt-gm__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.dt-gm__eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--dt-gold-text);
}

.dt-gm__title {
	margin: 2px 0 0;
	font-family: var(--dt-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--dt-ink);
}

.dt-gm__title small {
	margin-left: 8px;
	font-family: var(--dt-sans);
	font-size: 14px;
	font-weight: 400;
	color: var(--dt-muted);
}

.dt-gm__close {
	flex: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--dt-line);
	border-radius: 50%;
	background: #fff;
	color: var(--dt-ink);
	font-size: 18px;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.dt-gm__close:hover,
.dt-gm__close:focus-visible {
	border-color: var(--dt-moss);
	background: var(--dt-moss-soft);
	outline: none;
}

.dt-gm__filter {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	overflow-x: auto;
	scrollbar-width: none;
}

.dt-gm__filter::-webkit-scrollbar {
	display: none;
}

.dt-gm__chip {
	flex: none;
	padding: 7px 14px;
	border: 1px solid var(--dt-line);
	border-radius: 999px;
	background: #fff;
	font-family: var(--dt-sans);
	font-size: 13.5px;
	line-height: 1.2;
	color: var(--dt-text);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.dt-gm__chip:hover {
	border-color: var(--dt-moss);
	color: var(--dt-moss);
}

.dt-gm__chip.is-active {
	border-color: var(--dt-forest);
	background: var(--dt-forest);
	color: #fff;
}

.dt-gm__chip span {
	margin-left: 4px;
	opacity: .7;
}

.dt-gm__stage {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 14px;
	background: #16271d;
	touch-action: pan-y pinch-zoom;
}

.dt-gm__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: opacity .2s ease;
}

.dt-gm.is-loading .dt-gm__img {
	opacity: .35;
}

.dt-gm__count {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .5);
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}

.dt-gm__nav {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-top: -23px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
	color: var(--dt-ink);
	font-size: 26px;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease;
}

.dt-gm__nav:hover,
.dt-gm__nav:focus-visible {
	background: #fff;
	transform: scale(1.06);
	outline: none;
}

.dt-gm__nav[hidden] {
	display: none;
}

.dt-gm__prev { left: 14px; }
.dt-gm__next { right: 14px; }

.dt-gm__caption {
	min-height: 22px;
	margin: 10px 2px 0;
	font-size: 14.5px;
	line-height: 1.45;
	color: var(--dt-text);
	text-align: center;
}

.dt-gm__thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	padding: 4px 2px 6px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: thin;
}

.dt-gm__thumb {
	flex: none;
	width: 88px;
	height: 62px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 9px;
	background: #dfe3dc;
	opacity: .55;
	cursor: pointer;
	transition: opacity .2s ease, box-shadow .2s ease;
}

.dt-gm__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dt-gm__thumb:hover {
	opacity: .9;
}

.dt-gm__thumb.is-active {
	opacity: 1;
	box-shadow: 0 0 0 3px var(--dt-gold);
}

.dt-gm__thumb.is-out {
	display: none;
}

.dt-gm__thumb:focus-visible {
	outline: 2px solid var(--dt-moss);
	outline-offset: 2px;
}

@media (max-width: 575px) {
	.dt-album .dt-gallery { grid-auto-rows: 120px; }
	.dt-album__label { top: 10px; left: 10px; padding: 5px 10px; font-size: 11px; }
	.dt-album__open { right: 10px; bottom: 10px; padding: 9px 14px; font-size: 13px; }
	.dt-gm { padding: 8px; }
	.dt-gm__dialog { padding: 12px 12px 10px; border-radius: 14px; }
	.dt-gm__title { font-size: 18px; }
	.dt-gm__title small { display: block; margin: 2px 0 0; font-size: 13px; }
	.dt-gm__close { width: 38px; height: 38px; font-size: 16px; }
	.dt-gm__nav { width: 38px; height: 38px; margin-top: -19px; font-size: 22px; }
	.dt-gm__prev { left: 8px; }
	.dt-gm__next { right: 8px; }
	.dt-gm__caption { font-size: 13.5px; }
	.dt-gm__thumb { width: 64px; height: 48px; border-radius: 7px; }
}

/* hộp modal: chỉ khung ảnh lớn co giãn, các phần khác giữ nguyên chiều cao */
.dt-gm__head,
.dt-gm__filter,
.dt-gm__caption,
.dt-gm__thumbs {
	flex: none;
}

.dt-gm__stage {
	flex: 1 1 0;
}

.dt-gm__caption:empty {
	display: none;
}

/* Điện thoại: chip cao tối thiểu ~40px cho dễ bấm */
@media (max-width: 575px) {
	.dt-chip { padding-top: 9px; padding-bottom: 9px; }
	.dt-gm__chip { padding-top: 11px; padding-bottom: 11px; }
}

/* ============================== Gợi ý liên quan (nhiều khối, thẻ nhỏ) ============================== */

.dt-links-block + .dt-links-block {
	margin-top: 36px;
}

.dt-related--compact {
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.dt-related--compact .dt-related__body {
	padding: 12px 14px 14px;
}

.dt-related--compact .dt-related__title {
	font-size: 16px;
}

.dt-related--compact .dt-related__sub {
	margin-top: 4px;
	font-size: 13px;
	-webkit-line-clamp: 1;
}

@media (max-width: 991px) {
	.dt-related.dt-related--compact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
	.dt-related.dt-related--compact { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.dt-related--compact .dt-related__body { padding: 10px 11px 12px; }
	.dt-related--compact .dt-related__title { font-size: 15px; }
}

/* Cẩm nang: ảnh bìa là ảnh phong cảnh tự chọn, không cần làm mờ như ảnh bìa tin tức */
.dt-hero--article.dt-hero--guide .dt-hero__img {
	filter: none;
	transform: none;
}

.dt-hero--article.dt-hero--guide .dt-hero__shade {
	background: linear-gradient(180deg, rgba(16, 34, 24, .35) 0%, rgba(16, 34, 24, .7) 100%);
}

/* ============================== Chấm sao ở cột phải + khung viết đánh giá ============================== */
/* Du khách phản hồi không tìm thấy chỗ vote: khối chấm sao trong thẻ thông tin (rateBox) dẫn xuống #viet-danh-gia */

.dt-btn--vote {
	background: var(--dt-gold-text); /* chữ trắng trên nền này đạt tương phản 4,5 */
	color: #fff !important;
}

.dt-btn--vote:hover {
	background: #7a500b;
}

/* gọn 2 dòng giữa giá và danh sách thông tin: điểm + link "Viết đánh giá", rồi dải chấm sao */
.dt-rbox {
	padding: 14px 0 16px;
	border-bottom: 1px solid var(--dt-line);
}

.dt-info__price + .dt-rbox {
	margin-top: -6px;
}

.dt-rbox__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.dt-rbox__score {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--dt-ink) !important;
	text-decoration: none !important;
}

.dt-rbox__num {
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 24px;
	line-height: 1;
	color: var(--dt-forest);
}

.dt-rbox__meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.dt-rbox__meta .dt-stars {
	font-size: 12px;
	letter-spacing: 1px;
}

.dt-rbox__count {
	font-size: 12px;
	line-height: 1;
	color: var(--dt-muted);
}

a.dt-rbox__score:hover .dt-rbox__count {
	color: var(--dt-moss);
	text-decoration: underline;
}

.dt-rbox__none {
	font-size: 14px;
	font-weight: 600;
}

.dt-rbox__write {
	flex: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--dt-gold-text) !important;
	white-space: nowrap;
}

.dt-rbox__write .fa {
	margin-right: 5px;
}

.dt-rbox__write:hover {
	text-decoration: underline !important;
}

/* dải chấm sao một dòng, nền kem vàng cho dễ thấy */
.dt-rbox__vote {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 12px;
	padding: 5px 8px 5px 12px;
	border-radius: 10px;
	background: var(--dt-gold-soft);
}

.dt-rbox__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--dt-ink);
	white-space: nowrap;
}

/* sao bấm được: rê chuột tô vàng từ sao đầu tới sao đang trỏ */
.dt-rbox__stars {
	display: inline-flex;
	flex: none;
}

.dt-rbox__stars button {
	padding: 3px 2px;
	border: 0;
	background: none;
	font-size: 19px;
	line-height: 1;
	color: #d3c6a6;
	cursor: pointer;
	transition: color .15s ease, transform .15s ease;
}

.dt-rbox__stars:hover button {
	color: var(--dt-gold);
}

.dt-rbox__stars button:hover ~ button {
	color: #d3c6a6;
}

.dt-rbox__stars button:hover {
	transform: scale(1.18);
}

.dt-rbox__stars button:focus-visible {
	outline: 2px solid var(--dt-moss);
	outline-offset: 1px;
	border-radius: 4px;
}

/* khung viết đánh giá / mời đăng nhập, ngay dưới điểm tổng (trước danh sách đánh giá) */
.dt-write {
	margin-bottom: 26px;
	border-radius: var(--dt-radius);
	scroll-margin-top: 150px; /* chừa thanh menu + tiêu đề mục */
}

.dt-write .dt-review-form {
	margin-top: 0;
}

.dt-write.is-flash {
	animation: dt-flash 1.6s ease;
}

@keyframes dt-flash {
	0%, 100% { box-shadow: 0 0 0 0 rgba(192, 133, 38, 0); }
	25% { box-shadow: 0 0 0 6px rgba(192, 133, 38, .45); }
}

#danh-gia {
	scroll-margin-top: 150px;
}

.dt-login-cta {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 24px 26px;
	background: linear-gradient(135deg, #fffaf0 0%, var(--dt-gold-soft) 100%);
	border: 2px solid #e2c48a;
}

.dt-login-cta__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--dt-gold);
	font-size: 25px;
	color: #fff;
}

.dt-login-cta__title {
	margin: 2px 0 8px;
	font-family: var(--dt-serif);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.3;
	color: var(--dt-ink);
}

.dt-login-cta__text {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--dt-text);
}

@media (prefers-reduced-motion: reduce) {
	.dt-write.is-flash { animation: none; }
}

@media (max-width: 767px) {
	.dt-login-cta {
		flex-direction: column;
		gap: 12px;
		padding: 20px;
	}

	.dt-login-cta .dt-btn {
		width: 100%;
	}
}
