/* =========================================================
   Cổng thông tin & Du lịch Xã Tân Trào
   Bảng màu và bố cục lấy cảm hứng từ cổng du lịch tỉnh,
   viết lại thủ công, không phụ thuộc framework.
   ========================================================= */

:root {
	--primary: #1668b0;
	--primary-dark: #0a2d49;
	--primary-soft: #e8f2fb;
	--accent: #ff8c00;
	--heritage: #b20e13;
	--leaf: #2e7d4f;

	--ink: #1c2733;
	--muted: #5b6b7c;
	--line: #e2e8ee;
	--surface: #f4f6f9;
	--base: #ffffff;

	--radius: 10px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(16, 39, 61, 0.06), 0 2px 8px rgba(16, 39, 61, 0.06);
	--shadow-md: 0 6px 24px rgba(16, 39, 61, 0.12);
	--container: 1180px;
	--gutter: 20px;
	--header-h: 68px;

	--font: 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--base);
}

img,
svg,
iframe,
video {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

a {
	color: var(--primary);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--accent);
}

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	line-height: 1.25;
	font-weight: 700;
	color: var(--primary-dark);
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 10px 16px;
	background: var(--primary-dark);
	color: #fff;
	border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
	left: 0;
	top: 0;
	color: #fff;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: 48px;
	/* Đầu trang dính, chừa chỗ để tiêu đề không bị che khi nhảy tới liên kết neo. */
	scroll-margin-top: calc(var(--header-h) + 20px);
}

.entry__content h2,
.entry__content h3,
[id] {
	scroll-margin-top: calc(var(--header-h) + 20px);
}

.section--surface {
	background: var(--surface);
}

.section--tight {
	padding-block: 32px;
}

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--line);
}

.section__title {
	position: relative;
	margin: 0;
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -14px;
	width: 64px;
	height: 3px;
	background: var(--accent);
}

.section__lead {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.section__more {
	flex: none;
	font-weight: 600;
	font-size: 0.95rem;
}

/* ---------- Nút ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
	background: var(--primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.btn--accent {
	background: var(--accent);
	color: #1c1200;
}

.btn--accent:hover,
.btn--accent:focus-visible {
	background: #e07b00;
	color: #1c1200;
}

.btn--ghost {
	background: transparent;
	border: 2px solid currentColor;
	color: var(--primary);
}

.btn--ghost:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

.btn--block {
	width: 100%;
}

/* ---------- Đầu trang ---------- */

.topbar {
	background: var(--primary-dark);
	color: #cfe0ef;
	font-size: 0.85rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	flex-wrap: wrap;
}

.topbar a {
	color: #cfe0ef;
}

.topbar a:hover {
	color: #fff;
}

.topbar__left,
.topbar__right {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.topbar .menu {
	display: flex;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lang-switch {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lang-switch__item {
	display: inline-block;
	padding: 2px 9px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.76rem;
	letter-spacing: 0.04em;
}

.lang-switch__item.is-current {
	background: var(--accent);
	border-color: var(--accent);
	color: #1c1200;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: #fff;
	box-shadow: var(--shadow-sm);
}

/* Thanh đầu trang cần rộng hơn phần nội dung để chứa hết menu. */
.topbar .container,
.site-header .container {
	max-width: 1340px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--header-h);
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
	max-width: 58%;
}

.site-brand img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.site-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.site-brand__name {
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--primary-dark);
	text-transform: uppercase;
}

.site-brand__tag {
	font-size: 0.78rem;
	color: var(--muted);
}

.main-nav {
	margin-left: auto;
}

.main-nav .menu {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav .menu > li {
	position: relative;
}

.main-nav .menu-link {
	display: block;
	padding: 10px 12px;
	color: var(--primary-dark);
	font-weight: 600;
	font-size: 0.9rem;
	border-radius: 6px;
	white-space: nowrap;
}

.main-nav .menu-link:hover,
.main-nav .current-menu-item > .menu-link,
.main-nav .current-menu-ancestor > .menu-link {
	background: var(--primary-soft);
	color: var(--primary);
}

.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.16s ease, transform 0.16s ease;
	z-index: 20;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav .sub-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-nav .sub-menu .menu-link {
	white-space: normal;
	font-weight: 500;
}

.menu-toggle-sub {
	display: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--primary-dark);
	cursor: pointer;
	font-size: 1.05rem;
}

.icon-btn:hover {
	background: var(--primary-soft);
	color: var(--primary);
}

.nav-toggle {
	display: none;
}

.header-search {
	display: none;
	padding: 12px 0;
	border-top: 1px solid var(--line);
	background: #fff;
}

.header-search.is-open {
	display: block;
}

.header-search form {
	display: flex;
	gap: 8px;
}

.header-search input[type="search"] {
	flex: 1;
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	color: #fff;
	background: var(--primary-dark) center/cover no-repeat;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 26, 43, 0.62) 0%, rgba(6, 26, 43, 0.35) 45%, rgba(6, 26, 43, 0.82) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-block: 64px 40px;
}

.hero__eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(178, 14, 19, 0.9);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.hero__subtitle {
	max-width: 640px;
	margin: 0 0 28px;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
	color: #e8f0f7;
}

/* ---------- Hộp tìm kiếm nhiều tab ---------- */

.searchbox {
	background: rgba(255, 255, 255, 0.97);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
	color: var(--ink);
}

.searchbox__tabs {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--surface);
	overflow-x: auto;
}

.searchbox__tab {
	flex: 1;
	min-width: 130px;
	padding: 14px 16px;
	border: 0;
	background: transparent;
	font: inherit;
	font-weight: 600;
	color: var(--muted);
	cursor: pointer;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
}

.searchbox__tab[aria-selected="true"] {
	background: #fff;
	color: var(--primary);
	border-bottom-color: var(--accent);
}

.searchbox__panel {
	padding: 20px;
}

.searchbox__panel[hidden] {
	display: none;
}

.searchbox__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	align-items: end;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.field__label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font: inherit;
	color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(22, 104, 176, 0.16);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

.searchbox__submit {
	align-self: end;
}

/* ---------- Lưới & thẻ ---------- */

.grid {
	display: grid;
	gap: 22px;
}

.grid--2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface);
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.card:hover .card__media img {
	transform: scale(1.05);
}

.card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 18px;
	flex: 1;
}

.card__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.35;
}

.card__title a {
	color: var(--primary-dark);
}

.card__title a:hover {
	color: var(--primary);
}

.card__excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.card__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.86rem;
	color: var(--muted);
}

.card__meta-item {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.card__meta-item--price {
	color: var(--heritage);
	font-weight: 600;
}

.card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px dashed var(--line);
	font-size: 0.84rem;
	color: var(--muted);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--primary-soft);
	color: var(--primary);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.badge--rating {
	background: var(--leaf);
	color: #fff;
}

.badge--floating {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(10, 45, 73, 0.86);
	color: #fff;
}

.badge--upcoming { background: var(--leaf); color: #fff; }
.badge--ongoing { background: var(--accent); color: #1c1200; }
.badge--past { background: #55636f; color: #fff; }
.badge--unknown { background: var(--line); color: var(--muted); }

.icon {
	flex: none;
	width: 15px;
	height: 15px;
	margin-top: 3px;
	background: currentColor;
	opacity: 0.7;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.icon--pin {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.icon--tag {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 11.5 12.5 3H4a1 1 0 0 0-1 1v8.5L11.5 21a1.5 1.5 0 0 0 2.12 0l7.38-7.38a1.5 1.5 0 0 0 0-2.12zM7 8a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 11.5 12.5 3H4a1 1 0 0 0-1 1v8.5L11.5 21a1.5 1.5 0 0 0 2.12 0l7.38-7.38a1.5 1.5 0 0 0 0-2.12zM7 8a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E");
}

.icon--clock {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.6-4-2.3V6h2v3.1l3 1.7z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.6-4-2.3V6h2v3.1l3 1.7z'/%3E%3C/svg%3E");
}

/* ---------- Tin tức trang chủ ---------- */

.news-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 26px;
}

.news-lead {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
}

.news-lead__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.news-lead__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-lead__body {
	padding: 20px;
}

.news-lead__title {
	font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
	margin-bottom: 8px;
}

.news-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-item {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.news-item__media {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}

.news-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-item__title {
	margin: 0 0 4px;
	font-size: 0.98rem;
	line-height: 1.4;
	font-weight: 600;
}

.news-item__date {
	font-size: 0.8rem;
	color: var(--muted);
}

/* ---------- Ba khối khám phá ---------- */

.discover {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
}

.discover__item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 280px;
	padding: 24px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	color: #fff;
	background: var(--primary-dark) center/cover no-repeat;
}

.discover__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 45, 73, 0.15), rgba(10, 45, 73, 0.88));
	transition: background 0.25s ease;
}

.discover__item:hover::after {
	background: linear-gradient(180deg, rgba(22, 104, 176, 0.25), rgba(10, 45, 73, 0.92));
}

.discover__content {
	position: relative;
	z-index: 2;
}

.discover__title {
	margin: 0 0 6px;
	color: #fff;
	font-size: 1.5rem;
}

.discover__text {
	margin: 0 0 14px;
	color: #dfe9f2;
	font-size: 0.93rem;
}

/* ---------- Lịch trình ---------- */

.tour-card__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 4px;
	text-align: center;
}

.tour-stat {
	padding: 8px 4px;
	background: var(--surface);
	border-radius: var(--radius);
}

.tour-stat__value {
	display: block;
	font-weight: 700;
	color: var(--primary-dark);
	font-size: 1.02rem;
}

.tour-stat__label {
	font-size: 0.76rem;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* ---------- Bản đồ ---------- */

.tt-map {
	height: var(--map-height, 420px);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--surface);
}

.leaflet-popup-content {
	margin: 10px 12px;
	font-family: var(--font);
}

.map-popup__title {
	display: block;
	font-weight: 700;
	margin-bottom: 3px;
	color: var(--primary-dark);
}

.map-popup__address {
	display: block;
	font-size: 0.82rem;
	color: var(--muted);
	margin-bottom: 6px;
}

.places-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.places-layout .grid {
	grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
	gap: 18px;
}

@media (min-width: 1025px) {
	.places-layout .tt-map {
		position: sticky;
		top: calc(var(--header-h) + 16px);
	}
}

/* ---------- Video ---------- */

.video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #000;
}

.video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-embed__play {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.video-embed__play img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-embed__icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 66px;
	height: 46px;
	border-radius: 12px;
	background: rgba(178, 14, 19, 0.92);
	transition: background 0.2s ease, transform 0.2s ease;
}

.video-embed__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -50%);
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent #fff;
}

.video-embed__play:hover .video-embed__icon {
	background: #d3181e;
	transform: translate(-50%, -50%) scale(1.06);
}

/* ---------- Liên kết website ---------- */

.link-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.link-list a {
	display: inline-block;
	padding: 9px 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--primary-dark);
}

.link-list a:hover {
	border-color: var(--primary);
	color: var(--primary);
}

/* ---------- CTA ---------- */

.cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	padding: 32px;
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, var(--primary-dark), var(--primary));
	color: #fff;
}

.cta h2 {
	margin: 0 0 6px;
	color: #fff;
}

.cta p {
	margin: 0;
	color: #dbe8f4;
	max-width: 60ch;
}

/* ---------- Bộ lọc trang danh sách ---------- */

.listing-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

.filters {
	position: sticky;
	top: calc(var(--header-h) + 12px);
	padding: 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.filters__title {
	margin: 0 0 14px;
	font-size: 1.05rem;
}

.filters__group + .filters__group {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.filters__legend {
	display: block;
	margin-bottom: 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.filters__checks {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 190px;
	overflow-y: auto;
}

.filters__check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	cursor: pointer;
}

.filters__actions {
	display: flex;
	gap: 8px;
	margin-top: 18px;
}

.listing-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.listing-toolbar__count {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.listing-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
}

.load-more-wrap {
	margin-top: 28px;
	text-align: center;
}

/* ---------- Trang chi tiết ---------- */

.page-hero {
	position: relative;
	padding-block: 54px;
	color: #fff;
	background: var(--primary-dark) center/cover no-repeat;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 45, 73, 0.9), rgba(10, 45, 73, 0.55));
}

.page-hero__inner {
	position: relative;
	z-index: 2;
}

.page-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
}

.page-hero__lead {
	margin: 8px 0 0;
	max-width: 70ch;
	color: #dbe8f4;
}

.breadcrumbs {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	font-size: 0.86rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
}

.breadcrumbs li + li::before {
	content: "›";
	margin-right: 8px;
	color: var(--muted);
}

.breadcrumbs span {
	color: var(--muted);
}

.entry-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
	padding-block: 40px;
}

.entry-layout--wide {
	grid-template-columns: minmax(0, 1fr);
}

.entry__title {
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem);
	margin-bottom: 10px;
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9rem;
}

.entry__content {
	font-size: 1.02rem;
}

.entry__content img {
	border-radius: var(--radius);
}

.entry__content h2 {
	margin-top: 1.6em;
}

.entry__content blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--accent);
	color: var(--muted);
	font-style: italic;
}

.entry__figure {
	margin: 0 0 24px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.entry__figure figcaption {
	padding: 8px 12px;
	background: var(--surface);
	font-size: 0.84rem;
	color: var(--muted);
}

.factbox {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.factbox + .factbox,
.factbox + .tt-map,
.tt-map + .factbox {
	margin-top: 20px;
}

.factbox__title {
	margin: 0 0 12px;
	font-size: 1.05rem;
}

.factlist {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.factlist dt {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.factlist dd {
	margin: 2px 0 0;
	font-size: 0.96rem;
}

.gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 12px;
}

.gallery__item {
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.gallery__item:hover img {
	transform: scale(1.06);
}

.tour-steps {
	counter-reset: step;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tour-steps li {
	position: relative;
	counter-increment: step;
	padding: 0 0 22px 46px;
	border-left: 2px solid var(--line);
	margin-left: 14px;
}

.tour-steps li:last-child {
	border-left-color: transparent;
	padding-bottom: 0;
}

.tour-steps li::before {
	content: counter(step);
	position: absolute;
	left: -16px;
	top: 0;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
}

/* ---------- Biểu mẫu ---------- */

.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.form-grid .field--full {
	grid-column: 1 / -1;
}

.notice {
	padding: 12px 16px;
	border-radius: var(--radius);
	margin-bottom: 18px;
	font-weight: 600;
}

.notice--success {
	background: #e7f6ec;
	color: #1c6b39;
	border: 1px solid #b9e3c8;
}

.notice--error {
	background: #fdecec;
	color: #98292d;
	border: 1px solid #f4c4c5;
}

.honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
}

/* ---------- Phân trang ---------- */

.pagination {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0 3px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-weight: 600;
	color: var(--primary-dark);
}

.pagination .page-numbers:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.pagination .current {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

/* ---------- Chân trang ---------- */

.site-footer {
	margin-top: 48px;
	background: var(--primary-dark);
	color: #b9cddd;
	font-size: 0.92rem;
}

.site-footer a {
	color: #dbe8f4;
}

.site-footer a:hover {
	color: var(--accent);
}

.footer-top {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
	padding-block: 44px 30px;
}

.footer-col h3,
.footer-col .widget__title {
	margin: 0 0 14px;
	color: #fff;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-hotline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--accent);
}

.counter {
	display: flex;
	gap: 3px;
	margin-top: 6px;
}

.counter__digit {
	display: grid;
	place-items: center;
	min-width: 22px;
	padding: 4px 0;
	background: rgba(255, 255, 255, 0.09);
	border-radius: 4px;
	color: #fff;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.social {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	padding: 0;
	list-style: none;
}

.social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
}

.social a:hover {
	background: var(--accent);
	color: #1c1200;
}

.footer-bottom {
	padding-block: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
}

.footer-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
}

.footer-map iframe {
	width: 100%;
	height: 160px;
	border: 0;
	border-radius: var(--radius);
}

/* ---------- Nút tư vấn nổi ---------- */

.consult {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.consult__panel {
	display: none;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	min-width: 220px;
}

.consult.is-open .consult__panel {
	display: flex;
}

.consult__panel a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: var(--radius);
	background: var(--surface);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--primary-dark);
}

.consult__panel a:hover {
	background: var(--primary-soft);
	color: var(--primary);
}

.consult__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--heritage);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: var(--shadow-md);
}

.consult__toggle:hover {
	background: #8f0b0f;
}

/* ---------- Trạng thái rỗng ---------- */

.empty {
	padding: 48px 20px;
	text-align: center;
	background: var(--surface);
	border-radius: var(--radius-lg);
	color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.places-layout,
	.news-layout,
	.listing-layout,
	.entry-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.filters {
		position: static;
	}
}

@media (max-width: 1200px) {
	.main-nav .menu-link {
		padding: 10px 9px;
		font-size: 0.85rem;
	}

	.site-brand__tag {
		display: none;
	}
}

@media (max-width: 980px) {
	.nav-toggle {
		display: inline-flex;
	}

	.main-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(88vw, 340px);
		padding: 76px 18px 24px;
		background: #fff;
		box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
		transform: translateX(100%);
		transition: transform 0.25s ease;
		overflow-y: auto;
		z-index: 70;
	}

	.main-nav.is-open {
		transform: translateX(0);
	}

	.main-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.main-nav .menu > li {
		border-bottom: 1px solid var(--line);
	}

	.main-nav .menu-link {
		padding: 13px 6px;
		font-size: 1rem;
	}

	.main-nav .sub-menu {
		position: static;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		padding: 0 0 8px 14px;
	}

	.main-nav .sub-menu.is-open {
		display: block;
	}

	.menu-toggle-sub {
		display: block;
		position: absolute;
		top: 6px;
		right: 0;
		width: 38px;
		height: 38px;
		border: 0;
		background: none;
		color: var(--primary-dark);
		font-size: 1rem;
		cursor: pointer;
	}

	.nav-backdrop {
		position: fixed;
		inset: 0;
		background: rgba(6, 26, 43, 0.45);
		z-index: 65;
	}

	.cta {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero {
		min-height: 480px;
	}
}

@media (max-width: 560px) {
	.section {
		padding-block: 34px;
	}

	.site-brand__name {
		font-size: 0.9rem;
	}

	.news-item {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.searchbox__panel {
		padding: 16px;
	}

	.footer-bottom__inner {
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.consult,
	.filters,
	.breadcrumbs {
		display: none !important;
	}
}
