/*
 * Travel Letter — stylesheet chính. Mọi selector namespace dưới .tl-site.
 *
 * Tokens: type scale 1.25 từ 16px: 13 / 16 / 20 / 25 / 31 / 39 (+ hero clamp).
 * Spacing: 4 8 12 16 24 32 48 64 96. Màu: 1 accent đất nung + ramp trung tính ấm.
 */

/* ---------- Tokens ---------- */
.tl-site {
	--brand: #d1835a;
	--brand-dark: #b86b43;
	--brand-soft: rgba(209, 131, 90, 0.16);
	--teal: #b2d3d3;
	--teal-soft: #e7f4f4;

	--n0: #ffffff;
	--n1: #f5f4f2;
	--n2: #e6e5e2;
	--n3: #c9c6c1;
	--n4: #9a958f;
	--n5: #757575;
	--n6: #353535;
	--n7: #37302c;
	--n8: #2a2522;
	--brown-soft: #8c6a55;

	--color-bg: var(--n0);
	--color-surface: var(--n1);
	--color-text: var(--n6);
	--color-heading: var(--n8);
	--color-muted: var(--n5);
	--color-border: var(--n2);

	--font-display: "Baloo 2", "Segoe UI", Arial, sans-serif;
	--font-ui: "Montserrat", system-ui, -apple-system, Arial, sans-serif;
	--font-body: "Merriweather", Georgia, "Times New Roman", serif;

	--fs-xs: 0.8125rem;  /* 13 */
	--fs-sm: 0.9375rem;  /* 15 — UI phụ */
	--fs-base: 1rem;     /* 16 */
	--fs-md: 1.25rem;    /* 20 */
	--fs-lg: 1.5625rem;  /* 25 */
	--fs-xl: 1.9375rem;  /* 31 */
	--fs-2xl: clamp(1.9375rem, 1.3rem + 2.2vw, 2.4375rem); /* 31 → 39 */
	--fs-hero: clamp(2.5rem, 1.4rem + 5vw, 5.5rem);         /* 40 → 88 */

	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-6: 24px;
	--sp-8: 32px;
	--sp-12: 48px;
	--sp-16: 64px;
	--sp-24: 96px;

	--radius-sm: 12px;
	--radius: 24px;
	--radius-pill: 999px;
	--container: 1240px;
	--gutter: 16px;
	--header-h: 88px;
	--shadow: 0 16px 40px rgba(42, 37, 34, 0.14);

	font-family: var(--font-ui);
	font-size: var(--fs-base);
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* ---------- Base ---------- */
.tl-site *,
.tl-site *::before,
.tl-site *::after {
	box-sizing: border-box;
}

.tl-site a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.tl-site a:hover {
	color: var(--brand);
}

.tl-site img {
	max-width: 100%;
	width: 100%;
	height: auto;
	display: block;
}

.tl-site h1,
.tl-site h2,
.tl-site h3,
.tl-site h4 {
	margin: 0;
	color: var(--color-heading);
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.tl-site p {
	margin: 0 0 var(--sp-4);
}

.tl-site ul,
.tl-site ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tl-site :focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 3px;
}

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

.tl-site .tl-skip {
	position: absolute;
	left: var(--sp-4);
	top: -100px;
	z-index: 1000;
	padding: var(--sp-2) var(--sp-4);
	background: var(--brand);
	color: #fff;
	border-radius: var(--radius-pill);
	font-weight: 700;
}

.tl-site .tl-skip:focus {
	top: var(--sp-4);
}

.tl-site .tl-container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.tl-site .tl-container--narrow {
	max-width: calc(760px + var(--gutter) * 2);
}

.tl-site .tl-main {
	flex: 1 0 auto;
}

.tl-site .tl-page {
	padding-top: var(--sp-12);
	padding-bottom: var(--sp-16);
}

.tl-site .tl-page--related {
	padding-top: 0;
}

.tl-site .tl-svg {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

.tl-site .tl-eyebrow {
	margin: 0 0 var(--sp-2);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brand);
}

.tl-site .tl-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	padding: var(--sp-3) var(--sp-6);
	background-color: var(--brand);
	color: #fff;
	border: 2px solid var(--brand);
	border-radius: var(--radius-pill);
	font-family: var(--font-ui);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(209, 131, 90, 0.3);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-site .tl-btn:hover {
	background-color: var(--brand-dark);
	border-color: var(--brand-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(184, 107, 67, 0.35);
}

.tl-site .tl-btn:active {
	transform: translateY(0) scale(0.98);
	box-shadow: 0 3px 8px rgba(184, 107, 67, 0.3);
}

.tl-site .tl-btn .tl-svg--arrow {
	transition: transform 0.2s ease;
}

.tl-site .tl-btn:hover .tl-svg--arrow {
	transform: translateX(4px);
}

.tl-site .tl-btn--outline {
	background: transparent;
	color: var(--brand);
	box-shadow: none;
}

.tl-site .tl-btn--outline:hover {
	background-color: var(--brand);
	color: #fff;
}

.tl-site .tl-btn .tl-svg {
	width: 1.1em;
	height: 1.1em;
}

/* Nhãn chuyên mục */
.tl-site .tl-cat {
	display: inline-block;
	margin-bottom: var(--sp-2);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand);
}

/* Meta */
.tl-site .tl-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-4);
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--color-muted);
}

.tl-site .tl-meta__item {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-1);
}

.tl-site .tl-meta .tl-svg {
	width: 1em;
	height: 1em;
}

/* Media (ảnh thẻ) */
.tl-site .tl-media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--color-surface);
	border-radius: var(--radius-sm);
}

.tl-site .tl-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.tl-site .tl-media:hover img {
	transform: scale(1.04);
}

/* ---------- Header ---------- */
.tl-site .tl-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--n8);
	color: #fff;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Trang chủ: header trong suốt đè lên hero, có nền khi cuộn. */
.tl-has-hero .tl-site .tl-header {
	position: fixed;
	left: 0;
	right: 0;
	background: linear-gradient(to bottom, rgba(42, 37, 34, 0.55), rgba(42, 37, 34, 0));
}

.tl-has-hero .tl-site .tl-header.is-stuck {
	background: rgba(42, 37, 34, 0.96);
	box-shadow: var(--shadow);
}

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

.tl-site .tl-header__brand {
	flex: none;
	display: flex;
	align-items: center;
}

.tl-site .tl-logo {
	display: inline-flex;
	align-items: center;
}

.tl-site .tl-logo img {
	width: auto;
	height: 56px;
}

.tl-site .tl-logo--drawer img,
.tl-site .tl-logo--footer img,
.tl-site .tl-logo--bottom img {
	height: 44px;
}

.tl-site .tl-logo--text {
	font-family: var(--font-display);
	font-size: var(--fs-lg);
	font-weight: 800;
	color: inherit;
}

.tl-site .tl-nav {
	flex: 1 1 auto;
	min-width: 0;
	align-self: stretch;
	display: flex;
}

.tl-site .tl-menu {
	display: flex;
	align-items: stretch;
	white-space: nowrap;
}

.tl-site .tl-menu__item {
	position: relative;
	display: flex;
	align-items: center;
}

.tl-site .tl-menu > .tl-menu__item > .tl-menu__link {
	display: flex;
	align-items: center;
	min-height: var(--header-h);
	padding: 0 var(--sp-4);
	font-family: var(--font-display);
	font-size: var(--fs-md);
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.tl-site .tl-menu > .tl-menu__item > .tl-menu__link:hover,
.tl-site .tl-menu > .tl-menu__item.is-current > .tl-menu__link {
	color: var(--brand);
}

.tl-site .tl-menu > .tl-menu__item.has-children > .tl-menu__link {
	padding-right: var(--sp-1);
}

.tl-site .tl-sub-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-right: var(--sp-2);
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
}

.tl-site .tl-sub-toggle .tl-svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease;
}

.tl-site .tl-menu__item.is-open > .tl-sub-toggle .tl-svg {
	transform: rotate(180deg);
}

.tl-site .tl-menu .tl-submenu {
	position: absolute;
	top: calc(100% - var(--sp-4));
	left: 0;
	z-index: 50;
	min-width: 240px;
	padding: var(--sp-2);
	background: #fff;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.tl-site .tl-menu .tl-menu__item:hover > .tl-submenu,
.tl-site .tl-menu .tl-menu__item:focus-within > .tl-submenu,
.tl-site .tl-menu .tl-menu__item.is-open > .tl-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tl-site .tl-submenu .tl-menu__item {
	display: block;
}

.tl-site .tl-submenu .tl-menu__link {
	display: block;
	padding: var(--sp-2) var(--sp-4);
	border-radius: var(--sp-2);
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--color-text);
}

.tl-site .tl-submenu .tl-menu__link:hover,
.tl-site .tl-submenu .tl-menu__item.is-current > .tl-menu__link {
	color: var(--brand);
	background: var(--color-surface);
}

.tl-site .tl-submenu .tl-sub-toggle {
	display: none;
}

.tl-site .tl-header__tools {
	flex: none;
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin-left: auto;
}

.tl-site .tl-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--n8);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-site .tl-icon-btn:hover {
	background: var(--brand);
	color: #fff;
	transform: scale(1.08);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.tl-site .tl-icon-btn:active {
	transform: scale(0.96);
}

.tl-site .tl-burger {
	display: none;
}

.tl-site .tl-header.is-compact .tl-nav {
	display: none;
}

.tl-site .tl-header.is-compact .tl-burger {
	display: inline-flex;
}

.tl-site .tl-searchform {
	display: flex;
	align-items: stretch;
	width: 100%;
	border-radius: var(--radius-pill);
	overflow: hidden;
	background: #fff;
	border: 2px solid var(--color-border);
}

.tl-site .tl-searchform:focus-within {
	border-color: var(--brand);
}

.tl-site .tl-searchform__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: var(--sp-3) var(--sp-6);
	background: transparent;
	border: 0;
	color: var(--color-heading);
	font: inherit;
	font-family: var(--font-body);
	outline: 0;
}

.tl-site .tl-searchform__input::placeholder {
	color: var(--n4);
}

.tl-site .tl-searchform__btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	border: 0;
	background: var(--brand);
	color: #fff;
	cursor: pointer;
}

.tl-site .tl-searchform__btn:hover {
	background: var(--brand-dark);
}

/* ---------- Drawer ---------- */
.tl-site .tl-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.tl-site .tl-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(42, 37, 34, 0.6);
}

.tl-site .tl-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(340px, 88vw);
	padding: var(--sp-6) var(--sp-4);
	overflow-y: auto;
	background: var(--n8);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: var(--sp-6);
}

.tl-site .tl-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
}

.tl-site .tl-mmenu .tl-menu__item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.tl-site .tl-mmenu .tl-menu__link {
	flex: 1 1 auto;
	display: block;
	padding: var(--sp-3) 0;
	font-family: var(--font-display);
	font-size: var(--fs-md);
	font-weight: 700;
	color: #fff;
}

.tl-site .tl-mmenu .tl-menu__item.is-current > .tl-menu__link {
	color: var(--brand);
}

.tl-site .tl-mmenu .tl-sub-toggle {
	width: 40px;
	height: 40px;
	margin: 0;
}

.tl-site .tl-mmenu .tl-submenu {
	flex: 0 0 100%;
	display: none;
	padding: 0 0 var(--sp-2) var(--sp-4);
}

.tl-site .tl-mmenu .tl-menu__item.is-open > .tl-submenu {
	display: block;
}

.tl-site .tl-mmenu .tl-submenu .tl-menu__item {
	border: 0;
}

.tl-site .tl-mmenu .tl-submenu .tl-menu__link {
	padding: var(--sp-2) 0;
	font-family: var(--font-ui);
	font-size: var(--fs-sm);
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
}

.tl-site .tl-drawer .tl-social {
	margin-top: auto;
}

/* ---------- Hero ---------- */
.tl-site .tl-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(var(--header-h) + var(--sp-8)) var(--gutter) var(--sp-24);
	color: #fff;
	text-align: center;
	overflow: hidden;
	background: var(--n8);
}

.tl-site .tl-hero__bg {
	position: absolute;
	inset: 0;
}

.tl-site .tl-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tl-site .tl-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(42, 37, 34, 0.45), rgba(42, 37, 34, 0.25) 50%, rgba(42, 37, 34, 0.5));
}

.tl-site .tl-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 920px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tl-site .tl-hero__title {
	max-width: 14ch;
	font-size: var(--fs-hero);
	font-weight: 800;
	line-height: 1.02;
	color: #fff;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
	margin-bottom: var(--sp-6);
}

.tl-site .tl-hero__text {
	max-width: 62ch;
	font-family: var(--font-body);
	font-size: var(--fs-md);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
	margin-bottom: var(--sp-12);
}

.tl-site .tl-hero__search {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 940px;
	padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-8);
	background: #fff;
	border-radius: var(--radius-pill);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.tl-site .tl-hero__search-icon {
	display: inline-flex;
	color: var(--n6);
	margin-right: var(--sp-3);
}

.tl-site .tl-hero__search-icon .tl-svg {
	width: 26px;
	height: 26px;
}

.tl-site .tl-hero__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: var(--sp-4) 0;
	border: 0;
	background: transparent;
	font-family: var(--font-body);
	font-size: var(--fs-lg);
	color: var(--color-heading);
	outline: 0;
}

.tl-site .tl-hero__input::placeholder {
	color: var(--n5);
}

.tl-site .tl-hero__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.tl-site .tl-hero__btn {
	flex: none;
	padding: var(--sp-4) var(--sp-8);
	font-size: var(--fs-sm);
}

.tl-site .tl-trending {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--sp-3);
	margin-top: var(--sp-8);
}

.tl-site .tl-trending__label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-md);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.tl-site .tl-chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: var(--sp-2) var(--sp-6);
	background: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: var(--radius-pill);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-md);
	color: #fff;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-site .tl-chip:hover {
	background: #fff;
	color: var(--n8);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.tl-site .tl-chip:active {
	transform: translateY(0) scale(0.97);
}

.tl-site .tl-hero__curve {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 1;
	width: 100%;
	height: 90px;
	display: block;
}

/* ---------- Kết quả tìm kiếm ---------- */
.tl-site .tl-results {
	padding: var(--sp-6) 0 var(--sp-16);
	scroll-margin-top: var(--sp-16);
}

.tl-site .tl-results__head {
	margin-bottom: var(--sp-8);
	text-align: center;
}

.tl-site .tl-results__head .tl-eyebrow {
	margin-bottom: var(--sp-2);
}

.tl-site .tl-results__title {
	font-size: var(--fs-2xl);
}

.tl-site .tl-results__empty {
	max-width: 52ch;
	margin: var(--sp-8) auto 0;
	padding: var(--sp-6);
	background: var(--teal-soft);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	text-align: center;
}

.tl-site .tl-results__foot {
	text-align: center;
	margin-top: var(--sp-8);
}

.tl-site .tl-results__more {
	padding: var(--sp-3) var(--sp-8);
}

/* Loading: máy bay bay dọc đường đứt */
.tl-site .tl-loading {
	max-width: 560px;
	margin: 0 auto var(--sp-8);
	text-align: center;
}

.tl-site .tl-loading__sky {
	position: relative;
	height: 120px;
	margin-bottom: var(--sp-4);
	overflow: hidden;
}

.tl-site .tl-loading__path {
	position: absolute;
	left: 8%;
	right: 8%;
	top: 50%;
	border-top: 3px dashed var(--n3);
	border-radius: 50%;
	height: 70px;
	transform: translateY(-50%);
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
}

.tl-site .tl-loading__plane {
	position: absolute;
	left: 8%;
	top: 50%;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--brand);
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 10px 24px rgba(209, 131, 90, 0.45);
	animation: tl-fly 2.2s cubic-bezier(0.45, 0, 0.35, 1) infinite;
}

.tl-site .tl-loading__plane .tl-svg {
	width: 24px;
	height: 24px;
	transform: rotate(45deg) translate(1px, 1px);
}

.tl-site .tl-loading__cloud {
	position: absolute;
	width: 64px;
	height: 22px;
	background: var(--n2);
	border-radius: var(--radius-pill);
	opacity: 0.8;
	animation: tl-drift 3.2s linear infinite;
}

.tl-site .tl-loading__cloud::before {
	content: "";
	position: absolute;
	left: 16px;
	top: -12px;
	width: 28px;
	height: 28px;
	background: inherit;
	border-radius: 50%;
}

.tl-site .tl-loading__cloud--1 {
	top: 18px;
	left: 20%;
}

.tl-site .tl-loading__cloud--2 {
	bottom: 10px;
	left: 60%;
	animation-delay: -1.4s;
	transform: scale(0.75);
}

.tl-site .tl-loading__text {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-md);
	font-weight: 700;
	color: var(--color-heading);
}

@keyframes tl-fly {
	0% {
		transform: translateX(0) translateY(0) rotate(-12deg);
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	50% {
		transform: translateX(calc(42vw - 40px)) translateY(-34px) rotate(0deg);
	}
	90% {
		opacity: 1;
	}
	100% {
		transform: translateX(calc(84vw - 80px)) translateY(0) rotate(12deg);
		opacity: 0;
	}
}

@media (min-width: 640px) {
	@keyframes tl-fly {
		0% {
			transform: translateX(0) translateY(0) rotate(-12deg);
			opacity: 0;
		}
		10% {
			opacity: 1;
		}
		50% {
			transform: translateX(216px) translateY(-34px) rotate(0deg);
		}
		90% {
			opacity: 1;
		}
		100% {
			transform: translateX(432px) translateY(0) rotate(12deg);
			opacity: 0;
		}
	}
}

@keyframes tl-drift {
	from {
		transform: translateX(40px);
	}
	to {
		transform: translateX(-60px);
	}
}

/* ---------- Khối / lưới / thẻ ---------- */
.tl-site .tl-block__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-6);
	margin-bottom: var(--sp-8);
}

.tl-site .tl-block__title {
	font-size: var(--fs-2xl);
}

.tl-site .tl-grid {
	display: grid;
	gap: var(--sp-6);
}

.tl-site .tl-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tl-site .tl-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--n8);
	color: #fff;
	isolation: isolate;
}

.tl-site .tl-card__media {
	position: absolute;
	inset: 0;
	border-radius: 0;
	background: var(--n7);
}

.tl-site .tl-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(42, 37, 34, 0.9) 0%, rgba(42, 37, 34, 0.35) 50%, rgba(42, 37, 34, 0.05) 100%);
}

.tl-site .tl-card__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	aspect-ratio: 4 / 5;
	padding: var(--sp-6);
}

.tl-site .tl-card .tl-cat {
	color: rgba(255, 255, 255, 0.85);
}

.tl-site .tl-card .tl-cat:hover {
	color: #fff;
}

.tl-site .tl-card__title {
	font-size: var(--fs-md);
	color: #fff;
	margin-bottom: var(--sp-2);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.tl-site .tl-card__title a:hover {
	color: var(--teal);
}

.tl-site .tl-card__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: var(--sp-2);
	font-family: var(--font-body);
	font-size: var(--fs-xs);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.tl-site .tl-card__date {
	font-size: var(--fs-xs);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.75);
}

/* ---------- Tiêu đề trang / breadcrumb ---------- */
.tl-site .tl-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-1) var(--sp-2);
	margin-bottom: var(--sp-4);
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--color-muted);
}

.tl-site .tl-breadcrumb li + li::before {
	content: "/";
	margin-right: var(--sp-2);
	color: var(--n3);
}

.tl-site .tl-breadcrumb li[aria-current] {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 50ch;
}

.tl-site .tl-pagetitle {
	margin-bottom: var(--sp-12);
}

.tl-site .tl-pagetitle__h {
	font-size: var(--fs-2xl);
}

.tl-site .tl-pagetitle__desc {
	max-width: 62ch;
	margin-top: var(--sp-3);
	font-family: var(--font-body);
	color: var(--color-muted);
}

.tl-site .tl-pagetitle__desc p:last-child {
	margin-bottom: 0;
}

/* ---------- Bài viết ---------- */
.tl-site .tl-article__head {
	margin-bottom: var(--sp-8);
	text-align: center;
}

.tl-site .tl-article__head .tl-breadcrumb ol {
	justify-content: center;
}

.tl-site .tl-article__head .tl-meta {
	justify-content: center;
}

.tl-site .tl-article__title {
	font-size: var(--fs-2xl);
	margin: var(--sp-1) 0 var(--sp-4);
}

.tl-site .tl-article__thumb {
	margin: 0 0 var(--sp-8);
	border-radius: var(--radius);
	overflow: hidden;
}

.tl-site .tl-prose {
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.85;
}

.tl-site .tl-prose > * {
	margin-top: 0;
	margin-bottom: var(--sp-6);
}

.tl-site .tl-prose > *:last-child {
	margin-bottom: 0;
}

.tl-site .tl-prose h2,
.tl-site .tl-prose h3,
.tl-site .tl-prose h4 {
	margin-top: var(--sp-12);
}

.tl-site .tl-prose h2 {
	font-size: var(--fs-xl);
}

.tl-site .tl-prose h3 {
	font-size: var(--fs-lg);
}

.tl-site .tl-prose h4 {
	font-size: var(--fs-md);
}

.tl-site .tl-prose a {
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tl-site .tl-prose a:hover {
	color: var(--brand-dark);
}

.tl-site .tl-prose ul,
.tl-site .tl-prose ol {
	padding-left: var(--sp-6);
}

.tl-site .tl-prose ul {
	list-style: disc;
}

.tl-site .tl-prose ol {
	list-style: decimal;
}

.tl-site .tl-prose li {
	margin-bottom: var(--sp-2);
}

.tl-site .tl-prose li::marker {
	color: var(--brand);
}

.tl-site .tl-prose img {
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: var(--radius-sm);
}

.tl-site .tl-prose figure {
	margin-left: 0;
	margin-right: 0;
}

.tl-site .tl-prose figcaption,
.tl-site .tl-prose .wp-caption-text {
	margin-top: var(--sp-2);
	font-family: var(--font-ui);
	font-size: var(--fs-xs);
	color: var(--color-muted);
	text-align: center;
}

.tl-site .tl-prose blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: var(--sp-6) var(--sp-8);
	background: var(--teal-soft);
	border-radius: var(--radius-sm);
	font-size: var(--fs-md);
	font-style: italic;
}

.tl-site .tl-prose blockquote > *:last-child {
	margin-bottom: 0;
}

.tl-site .tl-prose pre {
	padding: var(--sp-4);
	overflow-x: auto;
	background: var(--n1);
	border-radius: var(--radius-sm);
	font-size: var(--fs-sm);
}

.tl-site .tl-prose code {
	padding: 2px var(--sp-1);
	background: var(--n1);
	border-radius: var(--sp-1);
	font-size: 0.875em;
}

.tl-site .tl-prose pre code {
	padding: 0;
	background: none;
}

.tl-site .tl-prose hr {
	border: 0;
	border-top: 1px solid var(--color-border);
}

.tl-site .tl-prose table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-ui);
	font-size: var(--fs-sm);
}

.tl-site .tl-prose .wp-block-table {
	overflow-x: auto;
}

.tl-site .tl-prose th,
.tl-site .tl-prose td {
	padding: var(--sp-3) var(--sp-4);
	border: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

.tl-site .tl-prose th {
	background: var(--n1);
	color: var(--color-heading);
}

.tl-site .tl-prose .alignleft {
	float: left;
	margin: 0 var(--sp-6) var(--sp-4) 0;
}

.tl-site .tl-prose .alignright {
	float: right;
	margin: 0 0 var(--sp-4) var(--sp-6);
}

.tl-site .tl-prose .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.tl-site .tl-prose .wp-block-image img,
.tl-site .tl-prose .size-full,
.tl-site .tl-prose .size-large {
	width: auto;
}

.tl-site .tl-prose .wp-block-button__link {
	display: inline-block;
	padding: var(--sp-3) var(--sp-6);
	background-color: var(--brand);
	color: #fff;
	border-radius: var(--radius-pill);
	text-decoration: none;
	font-family: var(--font-ui);
	font-weight: 700;
}

.tl-site .tl-pagelinks {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	align-items: center;
	margin-top: var(--sp-6);
	font-family: var(--font-ui);
}

.tl-site .tl-pagelinks .post-page-numbers {
	padding: var(--sp-1) var(--sp-3);
	background: var(--n1);
	border-radius: var(--radius-pill);
}

.tl-site .tl-pagelinks .post-page-numbers.current {
	background: var(--brand);
	color: #fff;
}

.tl-site .tl-article__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-3);
	margin-top: var(--sp-8);
	padding-top: var(--sp-6);
	border-top: 1px solid var(--color-border);
}

.tl-site .tl-article__label {
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.tl-site .tl-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.tl-site .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.tl-site .tagcloud a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: var(--sp-1) var(--sp-4);
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--brown-soft);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-site .tagcloud a:hover {
	border-color: var(--brand-dark);
	color: var(--brand-dark);
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(184, 107, 67, 0.18);
}

.tl-site .tl-author {
	display: flex;
	gap: var(--sp-4);
	align-items: center;
	margin-top: var(--sp-8);
	padding: var(--sp-6);
	background: var(--color-surface);
	border-radius: var(--radius);
}

.tl-site .tl-author img {
	flex: none;
	width: 80px;
	height: 80px;
	border-radius: 50%;
}

.tl-site .tl-author__name {
	font-family: var(--font-display);
	font-size: var(--fs-md);
	font-weight: 700;
	color: var(--color-heading);
	margin-bottom: var(--sp-1);
}

.tl-site .tl-author__bio {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

.tl-site .tl-postnav {
	margin-top: var(--sp-8);
}

.tl-site .tl-postnav .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-4);
}

.tl-site .tl-postnav .nav-next {
	text-align: right;
}

.tl-site .tl-postnav a {
	display: block;
	height: 100%;
	padding: var(--sp-4) var(--sp-6);
	background: var(--color-surface);
	border-radius: var(--radius-sm);
}

.tl-site .tl-postnav a:hover {
	background: var(--brand-soft);
}

.tl-site .tl-postnav__label {
	display: block;
	margin-bottom: var(--sp-1);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand);
}

.tl-site .tl-postnav__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--font-display);
	font-size: var(--fs-md);
	font-weight: 700;
	color: var(--color-heading);
}

.tl-site .tl-related {
	padding-top: var(--sp-12);
	border-top: 1px solid var(--color-border);
}

/* ---------- Pagination ---------- */
.tl-site .tl-pagination {
	margin-top: var(--sp-12);
}

.tl-site .tl-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-2);
}

.tl-site .tl-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--sp-3);
	background: var(--color-surface);
	border-radius: var(--radius-pill);
	font-weight: 700;
}

.tl-site .tl-pagination .page-numbers.current {
	background: var(--brand);
	color: #fff;
}

.tl-site .tl-pagination a.page-numbers:hover {
	background: var(--brand-soft);
	color: var(--brand-dark);
}

/* ---------- Bình luận ---------- */
.tl-site .tl-comments {
	margin-top: var(--sp-16);
	padding-bottom: var(--sp-16);
}

.tl-site .tl-comments-title,
.tl-site .comment-reply-title {
	font-size: var(--fs-lg);
	margin-bottom: var(--sp-6);
}

.tl-site .comment-list .comment,
.tl-site .comment-list .pingback {
	padding: var(--sp-4) 0;
	border-bottom: 1px solid var(--color-border);
}

.tl-site .comment-list .children {
	margin-left: var(--sp-8);
}

.tl-site .comment-body {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: var(--sp-2) var(--sp-3);
}

.tl-site .comment-author {
	display: contents;
}

.tl-site .comment-author .avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	grid-row: 1 / span 3;
}

.tl-site .comment-author .fn {
	font-weight: 700;
	font-style: normal;
	color: var(--color-heading);
}

.tl-site .comment-metadata {
	grid-column: 2;
	font-size: var(--fs-xs);
	color: var(--color-muted);
}

.tl-site .comment-content {
	grid-column: 2;
	font-family: var(--font-body);
	font-size: var(--fs-sm);
}

.tl-site .comment-content p:last-child {
	margin-bottom: 0;
}

.tl-site .reply {
	grid-column: 2;
	font-size: var(--fs-xs);
	font-weight: 700;
}

.tl-site .reply a {
	color: var(--brand);
}

.tl-site .comment-respond {
	margin-top: var(--sp-8);
}

.tl-site .comment-reply-title small {
	margin-left: var(--sp-2);
	font-size: var(--fs-xs);
	font-family: var(--font-ui);
	font-weight: 600;
}

.tl-site .comment-form p {
	margin-bottom: var(--sp-4);
}

.tl-site .comment-form label {
	display: block;
	margin-bottom: var(--sp-1);
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--color-heading);
}

.tl-site .comment-form input[type="text"],
.tl-site .comment-form input[type="email"],
.tl-site .comment-form input[type="url"],
.tl-site .comment-form textarea {
	width: 100%;
	padding: var(--sp-3) var(--sp-4);
	background: #fff;
	border: 2px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-heading);
	font: inherit;
}

.tl-site .comment-form input:focus,
.tl-site .comment-form textarea:focus {
	outline: 0;
	border-color: var(--brand);
	box-shadow: 0 0 0 4px var(--brand-soft);
}

.tl-site .comment-form-cookies-consent {
	display: flex;
	gap: var(--sp-2);
	align-items: center;
}

.tl-site .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 500;
}

.tl-site .comment-form .submit {
	padding: var(--sp-3) var(--sp-8);
	background-color: var(--brand);
	color: #fff;
	border: 0;
	border-radius: var(--radius-pill);
	font: inherit;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: var(--fs-xs);
	cursor: pointer;
}

.tl-site .comment-form .submit:hover {
	background-color: var(--brand-dark);
}

.tl-site .comment-form .required {
	color: var(--brand);
}

/* ---------- Footer ---------- */
.tl-site .tl-footer {
	margin-top: auto;
	background: var(--color-surface);
	color: var(--color-muted);
	font-size: var(--fs-sm);
}

.tl-site .tl-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1.2fr 1fr;
	gap: var(--sp-12);
	padding-top: var(--sp-16);
	padding-bottom: var(--sp-16);
}

.tl-site .tl-footer__col {
	min-width: 0;
}

.tl-site .tl-footer__title {
	position: relative;
	font-size: var(--fs-lg);
	color: var(--brand-dark);
	margin-bottom: var(--sp-6);
	padding-bottom: var(--sp-3);
}

.tl-site .tl-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 48px;
	height: 4px;
	border-radius: 2px;
	background: var(--brand-dark);
}

.tl-site .tl-timeline {
	position: relative;
	padding-left: var(--sp-6);
	border-left: 2px solid var(--n3);
}

.tl-site .tl-timeline__item {
	position: relative;
	padding-bottom: var(--sp-6);
}

.tl-site .tl-timeline__item:last-child {
	padding-bottom: 0;
}

.tl-site .tl-timeline__item::before {
	content: "";
	position: absolute;
	left: calc(var(--sp-6) * -1 - 7px);
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--n3);
	border: 2px solid var(--color-surface);
	box-shadow: 0 0 0 0 rgba(42, 37, 34, 0);
	transition: background-color 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.tl-site .tl-timeline__date {
	display: block;
	margin-bottom: var(--sp-1);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.tl-site .tl-timeline__title {
	display: block;
	font-family: var(--font-display);
	font-size: var(--fs-md);
	font-weight: 700;
	line-height: 1.3;
	color: var(--brown-soft);
}

.tl-site .tl-timeline__title:hover {
	color: var(--brand-dark);
}

.tl-site .tl-timeline__item:hover::before {
	background: var(--brand-dark);
	transform: scale(1.35);
	box-shadow: 0 0 0 6px rgba(184, 107, 67, 0.18);
}

.tl-site .tl-timeline__title {
	transition: color 0.15s ease, transform 0.25s ease;
}

.tl-site .tl-timeline__item:hover .tl-timeline__title {
	transform: translateX(4px);
}

.tl-site .tl-tgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-3);
}

.tl-site .tl-tgrid__item {
	aspect-ratio: 1 / 1;
	border-radius: var(--radius-sm);
	background: var(--n2);
}

.tl-site .tl-tgrid__title {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: var(--sp-3);
	background: linear-gradient(to top, rgba(42, 37, 34, 0.9), rgba(42, 37, 34, 0.2) 70%, rgba(42, 37, 34, 0));
	color: #fff;
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 700;
	line-height: 1.3;
	overflow: hidden;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.tl-site .tl-tgrid__item:hover .tl-tgrid__title,
.tl-site .tl-tgrid__item:focus-visible .tl-tgrid__title {
	opacity: 1;
}

.tl-site .tl-footer .tagcloud a {
	background: #fff;
	border-color: transparent;
}

.tl-site .tl-social {
	display: flex;
	gap: var(--sp-2);
}

.tl-site .tl-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.tl-site .tl-social a:hover {
	background: var(--brand);
	color: #fff;
}

.tl-site .tl-footer__bottom {
	background: var(--n8);
	color: rgba(255, 255, 255, 0.75);
}

.tl-site .tl-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding-top: var(--sp-6);
	padding-bottom: var(--sp-6);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.tl-site .tl-footer__brand {
	flex: none;
}

.tl-site .tl-footer__copy {
	margin: 0;
}

.tl-site .tl-to-top {
	position: fixed;
	right: var(--sp-6);
	bottom: var(--sp-6);
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	box-shadow: 0 10px 24px rgba(209, 131, 90, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background-color 0.15s ease;
}

.tl-site .tl-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tl-site .tl-to-top:hover {
	background: var(--brand-dark);
	transform: translateY(-4px);
	box-shadow: 0 16px 30px rgba(184, 107, 67, 0.45);
}

.tl-site .tl-to-top:active {
	transform: translateY(0) scale(0.95);
}

.tl-site .tl-to-top .tl-svg {
	width: 26px;
	height: 26px;
}

/* ---------- Rỗng / 404 ---------- */
.tl-site .tl-empty {
	padding: var(--sp-12) var(--sp-6);
	text-align: center;
	background: var(--color-surface);
	border-radius: var(--radius);
}

.tl-site .tl-empty__title {
	font-size: var(--fs-lg);
	margin-bottom: var(--sp-2);
}

.tl-site .tl-empty .tl-searchform,
.tl-site .tl-404 .tl-searchform {
	max-width: 480px;
	margin: var(--sp-6) auto;
}

.tl-site .tl-404 {
	text-align: center;
	font-family: var(--font-body);
}

.tl-site .tl-widget-empty {
	margin: 0;
	font-size: var(--fs-xs);
}

/* ---------- Contact Form 7 ---------- */
.tl-site .wpcf7 label {
	display: block;
	margin-bottom: var(--sp-1);
	font-weight: 700;
	color: var(--color-heading);
}

.tl-site .wpcf7 p {
	margin-bottom: var(--sp-4);
}

.tl-site .wpcf7 input[type="text"],
.tl-site .wpcf7 input[type="email"],
.tl-site .wpcf7 input[type="tel"],
.tl-site .wpcf7 input[type="url"],
.tl-site .wpcf7 input[type="number"],
.tl-site .wpcf7 textarea,
.tl-site .wpcf7 select {
	width: 100%;
	padding: var(--sp-3) var(--sp-4);
	background: #fff;
	border: 2px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-heading);
	font: inherit;
	font-family: var(--font-ui);
}

.tl-site .wpcf7 input:focus,
.tl-site .wpcf7 textarea:focus,
.tl-site .wpcf7 select:focus {
	outline: 0;
	border-color: var(--brand);
	box-shadow: 0 0 0 4px var(--brand-soft);
}

/* Nút gửi: cùng font/kiểu với .tl-btn (Montserrat, pill), KHÔNG inherit serif của .tl-prose. */
.tl-site .wpcf7-submit {
	display: inline-block;
	width: auto;
	padding: var(--sp-3) var(--sp-8);
	background-color: #d1835a;
	color: #ffffff;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-ui);
	font-weight: 700;
	font-size: var(--fs-xs);
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(209, 131, 90, 0.3);
	transition: background-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-site .wpcf7-submit:hover {
	background-color: #b86b43;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(184, 107, 67, 0.35);
}

.tl-site .wpcf7-submit:active {
	transform: translateY(0) scale(0.98);
}

/* Label/ô nhập trong form: font UI để khớp các form khác của theme (ô tìm kiếm vẫn serif). */
.tl-site .wpcf7 label {
	font-family: var(--font-ui);
}

.tl-site .wpcf7-list-item {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	margin: 0 var(--sp-4) var(--sp-2) 0;
}

.tl-site .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
	font-weight: 500;
}

.tl-site .wpcf7-not-valid {
	border-color: #c0392b;
}

.tl-site .wpcf7-not-valid-tip {
	display: block;
	margin-top: var(--sp-1);
	font-size: var(--fs-xs);
	color: #c0392b;
}

.tl-site .wpcf7-response-output {
	margin: var(--sp-4) 0 0;
	padding: var(--sp-3) var(--sp-4);
	border: 2px solid var(--color-border);
	border-radius: var(--radius-sm);
}

.tl-site .wpcf7 form.sent .wpcf7-response-output {
	border-color: #2e8b57;
	color: #2e8b57;
}

.tl-site .wpcf7 form.invalid .wpcf7-response-output,
.tl-site .wpcf7 form.unaccepted .wpcf7-response-output,
.tl-site .wpcf7 form.failed .wpcf7-response-output,
.tl-site .wpcf7 form.spam .wpcf7-response-output,
.tl-site .wpcf7 form.aborted .wpcf7-response-output {
	border-color: #c0392b;
	color: #c0392b;
}

.tl-site .wpcf7-spinner {
	margin-left: var(--sp-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.tl-site .tl-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tl-site .tl-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--sp-8);
		padding-top: var(--sp-12);
		padding-bottom: var(--sp-12);
	}
}

@media (max-width: 782px) {
	.tl-site {
		--header-h: 72px;
	}

	.tl-site .tl-nav {
		display: none;
	}

	.tl-site .tl-burger {
		display: inline-flex;
	}

	.tl-site .tl-logo img {
		height: 44px;
	}

	.tl-site .tl-hero {
		padding-bottom: var(--sp-16);
	}

	.tl-site .tl-hero__search {
		flex-wrap: wrap;
		padding: var(--sp-2);
		border-radius: var(--radius);
	}

	.tl-site .tl-hero__search-icon {
		margin-left: var(--sp-4);
	}

	.tl-site .tl-hero__input {
		flex: 1 1 60%;
		padding: var(--sp-3) 0;
		font-size: var(--fs-md);
	}

	.tl-site .tl-hero__btn {
		flex: 1 1 100%;
		justify-content: center;
		padding: var(--sp-3) var(--sp-6);
	}

	.tl-site .tl-hero__curve {
		height: 48px;
	}

	.tl-site .tl-block__head {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--sp-4);
	}

	.tl-site .tl-page {
		padding-top: var(--sp-8);
		padding-bottom: var(--sp-12);
	}
}

@media (max-width: 600px) {
	.tl-site .tl-grid--3,
	.tl-site .tl-footer__grid,
	.tl-site .tl-postnav .nav-links {
		grid-template-columns: 1fr;
	}

	.tl-site .tl-postnav .nav-next {
		text-align: left;
	}

	.tl-site .tl-card__body {
		aspect-ratio: 4 / 3;
	}

	.tl-site .tl-trending {
		gap: var(--sp-2);
	}

	.tl-site .tl-chip {
		padding: var(--sp-1) var(--sp-4);
		font-size: var(--fs-base);
	}

	.tl-site .tl-footer__bar {
		flex-direction: column;
		text-align: center;
	}

	.tl-site .tl-to-top {
		right: var(--sp-4);
		bottom: var(--sp-4);
		width: 48px;
		height: 48px;
	}

	.tl-site .tl-author {
		flex-direction: column;
		text-align: center;
	}

	.tl-site .comment-list .children {
		margin-left: var(--sp-4);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tl-site *,
	.tl-site *::before,
	.tl-site *::after {
		transition: none;
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
	}

	.tl-site .tl-btn:hover,
	.tl-site .tl-chip:hover,
	.tl-site .tl-icon-btn:hover,
	.tl-site .tl-to-top:hover,
	.tl-site .tagcloud a:hover,
	.tl-site .tl-timeline__item:hover::before,
	.tl-site .tl-timeline__item:hover .tl-timeline__title {
		transform: none;
	}
}
