/*
 * Terrace — toàn bộ style namespace dưới .te-site (không chạm admin bar / plugin UI).
 * Phong cách: giấy be có vân, serif Cormorant, nhấn in nghiêng, nút viền mảnh in hoa
 * giãn cách, tranh màu nước ở góc (multiply để nền trắng của tranh tan vào giấy).
 */

/* ---------- Tokens ---------- */
.te-site {
	--paper: #efe9e0;
	--paper-2: #f5f1ea;
	--paper-3: #e6dfd3;
	--ink: #424325;
	--ink-2: #1d1d1b;
	--ink-soft: rgba(66, 67, 37, 0.66);
	--gold: #8c7446;
	--fire: #b4502b;
	--leaf: #5c6b45;
	--line: rgba(35, 31, 32, 0.2);
	--line-strong: #1d1d1b;
	--font: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--fs-base: 18px;
	--tracking: 0.22em;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--header-h: 96px;

	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--paper);
	/* Vân giấy: nhiễu SVG trong suốt rất nhẹ, lặp 220px. */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0 0.12 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--fs-base);
	font-weight: 500;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

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

.te-site img {
	max-width: 100%;
	height: auto;
}

.te-site a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

.te-site h1,
.te-site h2,
.te-site h3,
.te-site h4,
.te-site h5,
.te-site h6 {
	margin: 0;
	font-weight: 500;
	line-height: 1.15;
	color: var(--ink-2);
}

.te-site p {
	margin: 0 0 1.1em;
}

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

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

.te-site .te-skip {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 2000;
	padding: 10px 16px;
	background: var(--ink-2);
	color: var(--paper);
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.te-site .te-skip:focus {
	top: 16px;
}

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

.te-site .te-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 40px;
}

.te-site .te-container--narrow {
	max-width: 840px;
}

/* ---------- Kiểu chữ dùng chung ---------- */
.te-site .te-eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold);
}

.te-site .te-eyebrow--link:hover {
	color: var(--fire);
}

/* Link in hoa giãn cách có gạch chân (kiểu EVENTS / PRESS / CAREERS). */
.te-site .te-caps {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 32px;
	align-items: center;
	justify-content: center;
}

.te-site .te-caps--col {
	flex-direction: column;
	gap: 16px;
}

.te-site .te-caps a,
.te-site .te-link {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-2);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 7px;
	text-decoration-color: rgba(29, 29, 27, 0.55);
	transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.te-site .te-caps a:hover,
.te-site .te-link:hover {
	color: var(--fire);
	text-decoration-color: var(--fire);
}

/* Nút viền mảnh: nền giấy sáng, chữ in hoa; hover đảo màu mực. */
.te-site .te-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 330px;
	max-width: 100%;
	padding: 17px 28px;
	background-color: #f4f0ea;
	border: 1px solid var(--line-strong);
	color: var(--ink-2);
	font-family: var(--font);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: var(--tracking);
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.te-site .te-btn:hover,
.te-site .te-btn:focus-visible {
	background-color: var(--ink-2);
	color: #f4f0ea;
	box-shadow: 0 10px 24px -12px rgba(29, 29, 27, 0.55);
	transform: translateY(-1px);
}

.te-site .te-btn:active {
	transform: translateY(0);
}

.te-site .te-btn__note {
	font-size: 13px;
	font-weight: 400;
	font-style: italic;
	letter-spacing: 0;
	text-transform: none;
}

.te-site .te-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 50%;
	color: var(--ink-2);
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.te-site .te-icon-btn:hover,
.te-site .te-icon-btn:focus-visible {
	border-color: var(--line-strong);
	color: var(--fire);
}

.te-site .te-svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

/* ---------- Hoạ tiết nhành lá ---------- */
.te-site .te-mark {
	display: block;
	width: 110px;
	height: auto;
	color: var(--gold);
}

.te-site .te-mark--sm {
	width: 44px;
	margin: 0 auto 18px;
}

.te-site .te-mark--lg {
	width: 110px;
	margin: 0 auto;
}

.te-site .te-mark--draw path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: te-draw 1.8s var(--ease) forwards;
}

.te-site .te-mark--draw path:nth-child(2) { animation-delay: 0.15s; }
.te-site .te-mark--draw path:nth-child(3) { animation-delay: 0.3s; }
.te-site .te-mark--draw path:nth-child(4) { animation-delay: 0.45s; }
.te-site .te-mark--draw path:nth-child(5) { animation-delay: 0.6s; }
.te-site .te-mark--draw path:nth-child(6) { animation-delay: 0.75s; }
.te-site .te-mark--draw path:nth-child(7) { animation-delay: 0.9s; }
.te-site .te-mark--draw path:nth-child(8) { animation-delay: 1.05s; }
.te-site .te-mark--draw path:nth-child(9) { animation-delay: 1.2s; }
.te-site .te-mark--draw path:nth-child(n+10) { animation-delay: 1.35s; }

@keyframes te-draw {
	to { stroke-dashoffset: 0; }
}

/* Spinner: hoạ tiết vẽ đi vẽ lại. */
.te-site .te-mark--spin {
	width: 22px;
	color: currentColor;
}

.te-site .te-mark--spin path {
	stroke-dasharray: 1;
	animation: te-spin-draw 1.4s linear infinite;
}

@keyframes te-spin-draw {
	0% { stroke-dashoffset: 1; }
	60% { stroke-dashoffset: 0; }
	100% { stroke-dashoffset: -1; }
}

/* ---------- Màn loading ---------- */
.te-site .te-loader {
	position: fixed;
	inset: 0;
	z-index: 1500;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--paper);
	background-image: inherit;
	transition: opacity 0.6s var(--ease), visibility 0.6s;
	/* Không JS / JS lỗi: tự ẩn sau 2.6s. */
	animation: te-loader-hide 0.5s var(--ease) 2.6s forwards;
}

.te-site .te-loader.is-done {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@keyframes te-loader-hide {
	to {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
}

.te-site .te-loader__inner {
	text-align: center;
}

.te-site .te-loader__mark {
	width: 92px;
	margin: 0 auto 22px;
}

.te-site .te-loader__text {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--ink-soft);
	animation: te-pulse 1.6s ease-in-out infinite;
}

@keyframes te-pulse {
	0%, 100% { opacity: 0.45; }
	50% { opacity: 1; }
}

/* ---------- Header ---------- */
.te-site .te-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	padding: 0 40px;
}

.te-site .te-header__brand {
	display: flex;
	align-items: center;
	gap: 18px;
}

.te-site .te-logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.te-site .te-logo--header img,
.te-site .te-logo--header .custom-logo {
	width: auto;
	height: 44px;
}

.te-site .te-logo--text {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	color: var(--ink-2);
}

.te-site .te-menu-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 2px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid transparent;
	color: var(--ink-2);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.te-site .te-menu-btn .te-svg {
	width: 14px;
	height: 14px;
	transition: transform 0.3s var(--ease);
}

.te-site .te-menu-btn:hover,
.te-site .te-menu-btn:focus-visible {
	border-bottom-color: var(--ink-2);
}

.te-site .te-menu-btn:hover .te-svg {
	transform: translateY(2px);
}

.te-site .te-header__tools {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ---------- Menu overlay ---------- */
.te-site .te-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 1200;
}

.te-site .te-nav-overlay[hidden] {
	display: none;
}

.te-site .te-nav-overlay__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(280px, 400px) 1fr;
	gap: 60px;
	width: 100%;
	height: 100%;
	padding: 100px 60px 60px;
	overflow: auto;
	background-color: #f0e5d9;
	background-image: inherit;
	animation: te-overlay-in 0.45s var(--ease) both;
}

@keyframes te-overlay-in {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.te-site .te-nav-overlay__close {
	position: absolute;
	top: 28px;
	right: 36px;
}

.te-site .te-nav-overlay__brand {
	position: relative;
	z-index: 1;
	align-self: start;
}

.te-site .te-logo--overlay img,
.te-site .te-logo--overlay .custom-logo {
	width: 220px;
	height: auto;
}

.te-site .te-nav-overlay__tagline {
	margin: 20px 0 28px;
	font-size: 20px;
	font-style: italic;
	line-height: 1.45;
	max-width: 32ch;
}

.te-site .te-nav-overlay__nav {
	position: relative;
	z-index: 1;
	align-self: start;
}

.te-site .te-menu > .te-menu__item + .te-menu__item {
	margin-top: 6px;
}

.te-site .te-menu__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 10px;
}

.te-site .te-menu__link {
	display: inline-block;
	padding: 6px 0;
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 500;
	line-height: 1.15;
	color: var(--ink-2);
	transition: color 0.25s var(--ease);
}

.te-site .te-menu__link:hover,
.te-site .te-menu__item.is-current > .te-menu__link {
	color: var(--fire);
	font-style: italic;
}

.te-site .te-sub-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ink-2);
	transition: transform 0.3s var(--ease), border-color 0.25s var(--ease);
}

.te-site .te-sub-toggle .te-svg {
	width: 14px;
	height: 14px;
}

.te-site .te-menu__item.is-open > .te-sub-toggle {
	transform: rotate(180deg);
	border-color: var(--ink-2);
}

.te-site .te-submenu {
	display: none;
	flex-basis: 100%;
	padding: 4px 0 10px 22px;
	border-left: 1px solid var(--line);
}

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

.te-site .te-submenu .te-menu__link {
	font-size: 22px;
	padding: 3px 0;
}

.te-site .te-nav-overlay__art {
	position: absolute;
	right: -40px;
	bottom: -60px;
	width: min(38vw, 520px);
	height: auto;
	mix-blend-mode: multiply;
	opacity: 0.85;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 52%, transparent 76%);
	mask-image: radial-gradient(ellipse at center, #000 52%, transparent 76%);
}

/* ---------- Form tìm kiếm (gạch chân như trang gốc) ---------- */
.te-site .te-searchform {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	max-width: 420px;
	border-bottom: 1px solid var(--line-strong);
}

.te-site .te-searchform__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 8px 0 10px;
	background: transparent;
	border: 0;
	color: var(--ink-2);
	font: inherit;
	font-size: 18px;
}

.te-site .te-searchform__input::placeholder {
	color: var(--ink-soft);
	font-style: italic;
}

.te-site .te-searchform__input:focus {
	outline: 0;
}

.te-site .te-searchform:focus-within {
	border-bottom-color: var(--fire);
}

.te-site .te-searchform__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--ink-2);
	cursor: pointer;
	transition: color 0.2s var(--ease);
}

.te-site .te-searchform__btn:hover {
	color: var(--fire);
}

/* ---------- Mạng xã hội ---------- */
.te-site .te-social {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-top: 22px;
}

.te-site .te-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ink-2);
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.te-site .te-social a:hover {
	border-color: var(--fire);
	color: var(--fire);
}

.te-site .te-social .te-svg {
	width: 17px;
	height: 17px;
}

/* ---------- Hero trang chủ ---------- */
.te-site .te-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: min(100vh, 940px);
	min-height: min(100svh, 940px);
	padding: calc(var(--header-h) + 24px) 24px 72px;
}

.te-site .te-corners {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.te-site .te-corner {
	position: absolute;
	width: clamp(200px, 27vw, 400px);
	height: auto;
	opacity: 0;
	mix-blend-mode: multiply;
	transition: opacity 1.8s var(--ease), transform 1.8s var(--ease);
	transform: scale(0.98);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 56%, transparent 80%);
	mask-image: radial-gradient(ellipse at center, #000 56%, transparent 80%);
}

.te-site .te-corner.is-shown {
	opacity: 1;
	transform: none;
	transition-duration: 1.2s;
}

.te-site .te-corner--top-left { top: -24px; left: -16px; }
.te-site .te-corner--top-right { top: 0; right: -16px; }
.te-site .te-corner--middle-left { top: 45%; left: -16px; transform: translateY(-50%) scale(0.98); }
.te-site .te-corner--middle-right { top: 45%; right: -16px; transform: translateY(-50%) scale(0.98); }
.te-site .te-corner--middle-left.is-shown,
.te-site .te-corner--middle-right.is-shown { transform: translateY(-50%); }
.te-site .te-corner--bottom-left { bottom: 40px; left: -16px; }
.te-site .te-corner--bottom-right { bottom: 40px; right: -16px; }

.te-site .te-hero__center {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 800px;
	text-align: center;
}

.te-site .te-logo--center {
	display: inline-block;
	margin-bottom: 26px;
	transition: transform 0.4s var(--ease);
}

.te-site .te-logo--center:hover {
	transform: translateY(-3px);
}

.te-site .te-hero__intro {
	max-width: 62ch;
	margin: 0 auto 36px;
	font-size: 21px;
	line-height: 1.5;
}

.te-site .te-hero__intro p {
	margin: 0 0 1.25em;
}

.te-site .te-hero__intro p:last-child {
	margin-bottom: 0;
}

.te-site .te-hero__intro em,
.te-site .te-hero__intro i {
	font-style: italic;
	font-weight: 500;
}

.te-site .te-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-bottom: 34px;
}

.te-site .te-hero__links {
	margin-bottom: 44px;
}

.te-site .te-hero__scroll {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--ink-soft);
	animation: te-bob 2.2s ease-in-out infinite;
}

.te-site .te-hero__scroll:hover {
	color: var(--fire);
}

@keyframes te-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}

/* ---------- Section / khối ---------- */
.te-site .te-section {
	padding: 88px 0;
}

.te-site .te-section + .te-section {
	padding-top: 0;
}

.te-site .te-block__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 48px;
	text-align: center;
}

.te-site .te-block__title {
	position: relative;
	margin-bottom: 18px;
	padding-bottom: 18px;
	font-size: 40px;
	font-weight: 500;
}

.te-site .te-block__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 56px;
	height: 1px;
	background: var(--gold);
	transform: translateX(-50%);
}

/* ---------- Lưới thẻ bài ---------- */
.te-site .te-grid {
	display: grid;
	gap: 44px 40px;
}

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

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

.te-site .te-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
}

/* Khung "giấy ảnh": nền sáng + viền mảnh + bóng nhẹ, ảnh bên trong giữ tỉ lệ. */
.te-site .te-media {
	display: block;
	padding: 10px;
	background: var(--paper-2);
	border: 1px solid rgba(35, 31, 32, 0.14);
	box-shadow: 0 1px 2px rgba(35, 31, 32, 0.08), 0 14px 30px -22px rgba(35, 31, 32, 0.5);
	transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.te-site .te-media > img,
.te-site .te-media__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: saturate(0.92);
	transition: filter 0.35s var(--ease);
}

.te-site .te-card:hover .te-media {
	transform: translateY(-3px);
	box-shadow: 0 1px 2px rgba(35, 31, 32, 0.08), 0 22px 36px -22px rgba(35, 31, 32, 0.55);
}

.te-site .te-card:hover .te-media__img {
	filter: saturate(1);
}

.te-site .te-card__body {
	padding: 20px 6px 0;
	text-align: center;
}

.te-site .te-card__title {
	margin: 4px 0 10px;
	font-size: 26px;
	line-height: 1.2;
}

.te-site .te-card__title a:hover {
	color: var(--fire);
}

.te-site .te-card__excerpt {
	margin: 0 0 10px;
	font-size: 17px;
	font-style: italic;
	line-height: 1.5;
	color: var(--ink-soft);
}

.te-site .te-card__date {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.te-site .te-latest__foot {
	margin-top: 48px;
	text-align: center;
}

.te-site .te-more {
	flex-direction: row;
	gap: 12px;
}

.te-site .te-more__spinner {
	display: none;
}

.te-site .te-more.is-loading {
	pointer-events: none;
	opacity: 0.85;
}

.te-site .te-more.is-loading .te-more__spinner {
	display: block;
}

.te-site .te-more__status {
	margin: 14px 0 0;
	font-size: 15px;
	font-style: italic;
	color: var(--ink-soft);
}

.te-site .te-more__status:empty {
	display: none;
}

/* ---------- Trang chủ tập trung nội dung: slider + băng tin + khối chuyên mục ----------
 * Header nổi (position:absolute) → section đầu tự chừa chỗ bằng --header-h. */
.te-site .te-home {
	padding-top: calc(var(--header-h) + 32px);
}

.te-site .te-hslider {
	position: relative;
	margin-bottom: 40px;
}

.te-site .te-hslide {
	display: none;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 40px;
	align-items: center;
}

.te-site .te-hslide.is-active {
	display: grid;
}

.te-site .te-hslide__media .te-media__img {
	aspect-ratio: 16 / 10;
}

.te-site .te-hslide__body {
	min-width: 0;
}

.te-site .te-hslide__title {
	margin: 4px 0 14px;
	font-size: 44px;
	line-height: 1.1;
}

.te-site .te-hslide__title a:hover {
	color: var(--fire);
}

.te-site .te-hslide__excerpt {
	margin: 0 0 14px;
	font-size: 19px;
	font-style: italic;
	line-height: 1.5;
	color: var(--ink-soft);
}

.te-site .te-hslide__more {
	margin-top: 18px;
}

.te-site .te-hslider__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

.te-site .te-hslider__arrow,
.te-site .te-ticker__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: var(--paper-2);
	color: var(--ink-2);
	cursor: pointer;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.te-site .te-hslider__arrow .te-svg,
.te-site .te-ticker__btn .te-svg {
	transform: rotate(90deg);
}

.te-site .te-hslider__arrow--next .te-svg,
.te-site .te-ticker__btn--next .te-svg {
	transform: rotate(-90deg);
}

.te-site .te-hslider__arrow:hover,
.te-site .te-ticker__btn:hover {
	background: var(--ink-2);
	color: var(--paper-2);
}

.te-site .te-hslider__dots {
	display: flex;
	gap: 2px;
}

/* Chấm nhìn thấy 8px nhưng vùng bấm 24px. */
.te-site .te-hslider__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.te-site .te-hslider__dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 1px solid var(--ink-2);
	transition: background-color 0.25s var(--ease);
}

.te-site .te-hslider__dot.is-active::before,
.te-site .te-hslider__dot:hover::before {
	background: var(--gold);
	border-color: var(--gold);
}

.te-site .te-ticker {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 64px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.te-site .te-ticker__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold);
}

.te-site .te-ticker__label .te-svg {
	color: var(--fire);
}

.te-site .te-ticker__list {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: 26px;
	overflow: hidden;
}

.te-site .te-ticker__item {
	position: absolute;
	inset: 0;
	display: flex;
	gap: 10px;
	align-items: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 19px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
	pointer-events: none;
}

.te-site .te-ticker__item.is-active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.te-site .te-ticker__item a {
	color: var(--ink-2);
	overflow: hidden;
	text-overflow: ellipsis;
}

.te-site .te-ticker__item a:hover {
	color: var(--fire);
}

.te-site .te-ticker__ago {
	font-size: 15px;
	font-style: italic;
	color: var(--ink-soft);
}

.te-site .te-ticker__nav {
	display: inline-flex;
	gap: 6px;
	flex: none;
}

.te-site .te-ticker__btn {
	width: 28px;
	height: 28px;
}

.te-site .te-cblock-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 56px;
	margin-bottom: 72px;
}

.te-site .te-cblock {
	min-width: 0;
}

.te-site .te-cblock--full {
	margin-bottom: 72px;
}

.te-site .te-cblock__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line-strong);
}

.te-site .te-cblock__title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.28em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ink-2);
}

.te-site .te-cblock__title .te-svg {
	color: var(--gold);
}

.te-site .te-cblock__title a:hover {
	color: var(--fire);
}

.te-site .te-cblock__all {
	font-size: 12px;
}

/* Trong khối nửa cột: thẻ lớn căn trái để ăn với các bài dạng dòng bên dưới. */
.te-site .te-cblock--half .te-card__body {
	padding-left: 0;
	padding-right: 0;
	text-align: left;
}

.te-site .te-cblock--half .te-card__title {
	font-size: 28px;
}

.te-site .te-row {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.te-site .te-card + .te-row {
	margin-top: 28px;
}

.te-site .te-row__media {
	flex: none;
	width: 80px;
	padding: 5px;
}

.te-site .te-row__media .te-media__img {
	width: 68px;
	height: 68px;
	aspect-ratio: 1 / 1;
}

.te-site .te-row__body {
	min-width: 0;
}

.te-site .te-row__title {
	margin: 0 0 6px;
	font-size: 21px;
	line-height: 1.2;
}

.te-site .te-row__title a:hover {
	color: var(--fire);
}

/* ---------- Thẻ chuyên mục (như card trong menu toàn màn hình của trang gốc) ---------- */
.te-site .te-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.te-site .te-card-cat {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 230px;
	padding: 36px 28px;
	overflow: hidden;
	background: var(--paper-2);
	border: 1px solid rgba(35, 31, 32, 0.14);
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06);
	text-align: center;
	transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.te-site .te-card-cat:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px -20px rgba(35, 31, 32, 0.55);
}

/* Nền = ảnh featured bài mới nhất trong chuyên mục: làm mờ + ngả sepia để giữ tông giấy. */
.te-site .te-card-cat__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.26;
	mix-blend-mode: multiply;
	filter: sepia(0.45) saturate(0.7) contrast(0.95);
	transition: opacity 0.5s var(--ease), transform 1.2s var(--ease), filter 0.5s var(--ease);
}

.te-site .te-card-cat:hover .te-card-cat__bg {
	opacity: 0.42;
	filter: sepia(0.2) saturate(0.9) contrast(1);
	transform: scale(1.05);
}

/* Chuyên mục chưa có bài có ảnh: card giấy trơn + hoạ tiết mờ ở góc. */
.te-site .te-card-cat__mark {
	position: absolute;
	right: 18px;
	bottom: 14px;
	width: 48px;
	opacity: 0.35;
	transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}

.te-site .te-card-cat--plain:hover .te-card-cat__mark {
	opacity: 0.7;
	transform: translateY(-3px);
}

.te-site .te-card-cat__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.te-site .te-card-cat__title {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-2);
}

.te-site .te-card-cat__desc {
	max-width: 30ch;
	font-size: 16px;
	font-style: italic;
	line-height: 1.45;
	color: var(--ink);
}

.te-site .te-card-cat__count {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
}

/* ---------- Băng tiêu đề trang ---------- */
.te-site .te-page {
	padding-bottom: 96px;
}

.te-site .te-page--related {
	padding-bottom: 0;
}

.te-site .te-pagetitle {
	padding: calc(var(--header-h) + 36px) 0 56px;
	text-align: center;
}

.te-site .te-pagetitle__h {
	max-width: 24ch;
	margin: 0 auto;
	font-size: 46px;
	line-height: 1.1;
}

.te-site .te-pagetitle__desc {
	max-width: 60ch;
	margin: 18px auto 0;
	font-size: 19px;
	font-style: italic;
	color: var(--ink-soft);
}

.te-site .te-breadcrumb {
	margin-bottom: 26px;
}

.te-site .te-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.te-site .te-breadcrumb li + li::before {
	content: "/";
	margin-right: 10px;
	color: var(--gold);
}

.te-site .te-breadcrumb a:hover {
	color: var(--fire);
}

/* ---------- Bài viết đơn ---------- */
.te-site .te-article__head {
	padding-top: calc(var(--header-h) + 36px);
	margin-bottom: 36px;
	text-align: center;
}

.te-site .te-article__title {
	max-width: 22ch;
	margin: 6px auto 18px;
	font-size: 50px;
	line-height: 1.08;
}

.te-site .te-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	font-size: 16px;
	font-style: italic;
	color: var(--ink-soft);
}

.te-site .te-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.te-site .te-meta .te-svg {
	width: 15px;
	height: 15px;
	color: var(--gold);
}

.te-site .te-meta a:hover {
	color: var(--fire);
}

.te-site .te-article__thumb {
	margin: 0 0 40px;
}

.te-site .te-article__thumb img {
	aspect-ratio: auto;
}

.te-site .te-prose {
	font-size: 19px;
	line-height: 1.68;
}

.te-site .te-prose > * {
	margin-top: 0;
	margin-bottom: 1.3em;
}

.te-site .te-prose h2,
.te-site .te-prose h3,
.te-site .te-prose h4 {
	margin-top: 1.6em;
	font-weight: 600;
}

.te-site .te-prose h2 { font-size: 32px; }
.te-site .te-prose h3 { font-size: 26px; }
.te-site .te-prose h4 { font-size: 22px; }

.te-site .te-prose a {
	color: var(--fire);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.te-site .te-prose a:hover {
	color: var(--ink-2);
}

.te-site .te-prose ul,
.te-site .te-prose ol {
	padding-left: 1.4em;
}

.te-site .te-prose ul { list-style: disc; }
.te-site .te-prose ol { list-style: decimal; }

.te-site .te-prose li {
	margin-bottom: 0.35em;
}

.te-site .te-prose li::marker {
	color: var(--gold);
}

.te-site .te-prose blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 26px;
	border-left: 1px solid var(--gold);
	font-size: 24px;
	font-style: italic;
	line-height: 1.45;
	color: var(--ink-2);
}

.te-site .te-prose blockquote p:last-child {
	margin-bottom: 0;
}

.te-site .te-prose img {
	display: block;
	width: 100%;
	height: auto;
	padding: 8px;
	background: var(--paper-2);
	border: 1px solid rgba(35, 31, 32, 0.14);
}

.te-site .te-prose figure {
	margin: 2em 0;
}

.te-site .te-prose figure img {
	margin: 0;
}

.te-site .te-prose figcaption,
.te-site .te-prose .wp-caption-text {
	margin-top: 8px;
	font-size: 15px;
	font-style: italic;
	text-align: center;
	color: var(--ink-soft);
}

.te-site .te-prose iframe,
.te-site .te-prose video {
	max-width: 100%;
}

.te-site .te-prose hr {
	width: 56px;
	height: 1px;
	margin: 2.4em auto;
	background: var(--gold);
	border: 0;
}

.te-site .te-prose pre {
	padding: 18px 22px;
	overflow: auto;
	background: var(--paper-3);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 15px;
	line-height: 1.5;
}

.te-site .te-prose code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.85em;
	background: var(--paper-3);
	padding: 1px 5px;
}

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

.te-site .te-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 17px;
}

.te-site .te-prose th,
.te-site .te-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.te-site .te-prose th {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.te-site .te-prose .alignleft { float: left; margin: 6px 26px 16px 0; max-width: 50%; }
.te-site .te-prose .alignright { float: right; margin: 6px 0 16px 26px; max-width: 50%; }
.te-site .te-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.te-site .te-prose .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }

.te-site .te-pagelinks {
	margin-top: 2em;
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.te-site .te-article__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.te-site .te-article__foot .te-eyebrow {
	margin: 0;
}

.te-site .te-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.te-site .te-tags a,
.te-site .tagcloud a {
	display: inline-block;
	padding: 7px 13px;
	border: 1px solid var(--line);
	font-size: 11px !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-2);
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.te-site .te-tags a:hover,
.te-site .tagcloud a:hover {
	background: var(--ink-2);
	border-color: var(--ink-2);
	color: var(--paper);
}

.te-site .te-author {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	margin-top: 44px;
	padding: 28px;
	background: var(--paper-2);
	border: 1px solid rgba(35, 31, 32, 0.14);
}

.te-site .te-author img {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	filter: saturate(0.8);
}

.te-site .te-author__name {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.te-site .te-author__bio {
	margin: 0;
	font-style: italic;
	color: var(--ink-soft);
}

.te-site .te-postnav {
	margin-top: 44px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.te-site .te-postnav .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding: 24px 0;
}

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

.te-site .te-postnav a {
	display: block;
}

.te-site .te-postnav .te-eyebrow {
	display: block;
	margin-bottom: 4px;
}

.te-site .te-postnav__title {
	display: block;
	font-size: 22px;
	line-height: 1.25;
	color: var(--ink-2);
}

.te-site .te-postnav a:hover .te-postnav__title {
	color: var(--fire);
	font-style: italic;
}

.te-site .te-related {
	padding: 72px 0 0;
}

/* ---------- Phân trang ---------- */
.te-site .te-pagination {
	margin-top: 60px;
}

.te-site .te-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.te-site .te-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid transparent;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-2);
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.te-site .te-pagination a.page-numbers:hover {
	border-color: var(--ink-2);
	color: var(--fire);
}

.te-site .te-pagination .page-numbers.current {
	border-color: var(--ink-2);
	background: var(--ink-2);
	color: var(--paper);
}

/* ---------- Trạng thái rỗng / 404 ---------- */
.te-site .te-empty,
.te-site .te-404 {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.te-site .te-empty__title {
	margin-bottom: 12px;
	font-size: 30px;
}

.te-site .te-empty p,
.te-site .te-404 p {
	font-style: italic;
	color: var(--ink-soft);
}

.te-site .te-empty .te-searchform,
.te-site .te-404 .te-searchform {
	margin: 24px auto 32px;
}

.te-site .te-widget-empty {
	font-style: italic;
	color: var(--ink-soft);
}

/* ---------- Bình luận ---------- */
.te-site .te-comments {
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--line);
}

.te-site .te-comments-title,
.te-site .comment-reply-title {
	margin-bottom: 24px;
	font-size: 28px;
}

.te-site .comment-list .comment,
.te-site .comment-list .pingback {
	margin-bottom: 26px;
}

.te-site .comment-list .children {
	margin: 18px 0 0 48px;
}

.te-site .comment-body {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 6px 16px;
}

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

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

.te-site .comment-author .fn {
	font-size: 12px;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.te-site .comment-author .says {
	display: none;
}

.te-site .comment-metadata {
	grid-column: 2;
	font-size: 14px;
	font-style: italic;
	color: var(--ink-soft);
}

.te-site .comment-content {
	grid-column: 2;
	font-size: 17px;
}

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

.te-site .reply {
	grid-column: 2;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.te-site .reply a:hover,
.te-site .comment-metadata a:hover {
	color: var(--fire);
}

.te-site .comment-respond {
	margin-top: 36px;
}

.te-site .comment-form label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.te-site .comment-form p {
	margin-bottom: 22px;
}

.te-site .comment-form input[type="text"],
.te-site .comment-form input[type="email"],
.te-site .comment-form input[type="url"],
.te-site .comment-form textarea {
	width: 100%;
	padding: 8px 0 10px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line-strong);
	border-radius: 0;
	color: var(--ink-2);
	font: inherit;
	font-size: 18px;
}

.te-site .comment-form textarea {
	min-height: 110px;
	resize: vertical;
}

.te-site .comment-form input:focus,
.te-site .comment-form textarea:focus {
	outline: 0;
	border-bottom-color: var(--fire);
}

.te-site .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 10px;
}

.te-site .comment-form-cookies-consent label {
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
	font-size: 16px;
	font-style: italic;
	font-weight: 400;
}

.te-site .comment-form .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 15px 36px;
	background-color: #f4f0ea;
	border: 1px solid var(--line-strong);
	color: var(--ink-2);
	font-family: var(--font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: var(--tracking);
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.te-site .comment-form .submit:hover {
	background-color: var(--ink-2);
	color: #f4f0ea;
}

.te-site .te-comments-closed {
	font-style: italic;
	color: var(--ink-soft);
}

.te-site .comment-navigation .nav-links,
.te-site .comments-pagination .nav-links {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* ---------- Footer ---------- */
.te-site .te-footer {
	margin-top: auto;
	border-top: 1px solid var(--line);
}

.te-site .te-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	padding-top: 56px;
	padding-bottom: 40px;
	text-align: center;
}

.te-site .te-footer__mark {
	margin: 0;
}

.te-site .te-footer__nav .te-caps a {
	font-size: 12px;
}

.te-site .te-footer .te-social {
	margin-top: 0;
}

.te-site .te-footer__copy {
	margin: 0;
	font-size: 14px;
	font-style: italic;
	color: var(--ink-soft);
}

.te-site .te-footer__widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
	width: 100%;
	text-align: left;
}

.te-site .te-fwidget__title,
.te-site .widget-title {
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.te-site .te-fwidget li {
	padding: 6px 0;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
}

.te-site .te-fwidget a:hover {
	color: var(--fire);
}

.te-site .te-count {
	margin-left: 6px;
	font-size: 12px;
	color: var(--gold);
}

/* ---------- Lên đầu trang ---------- */
.te-site .te-to-top {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: var(--paper-2);
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: var(--ink-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.te-site .te-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.te-site .te-to-top:hover {
	background: var(--ink-2);
	color: var(--paper);
}

/* ---------- Contact Form 7 ---------- */
.te-site .wpcf7 label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.te-site .wpcf7 p {
	margin-bottom: 22px;
}

.te-site .wpcf7 input[type="text"],
.te-site .wpcf7 input[type="email"],
.te-site .wpcf7 input[type="tel"],
.te-site .wpcf7 input[type="url"],
.te-site .wpcf7 input[type="number"],
.te-site .wpcf7 input[type="date"],
.te-site .wpcf7 textarea,
.te-site .wpcf7 select {
	width: 100%;
	padding: 8px 0 10px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line-strong);
	border-radius: 0;
	color: var(--ink-2);
	font: inherit;
	font-size: 18px;
}

.te-site .wpcf7 textarea {
	min-height: 120px;
	padding: 12px;
	border: 1px solid var(--line-strong);
}

.te-site .wpcf7 input:focus,
.te-site .wpcf7 textarea:focus,
.te-site .wpcf7 select:focus {
	outline: 0;
	border-color: var(--fire);
	box-shadow: 0 1px 0 0 var(--fire);
}

.te-site .wpcf7-submit {
	display: inline-block;
	width: auto;
	min-width: 220px;
	padding: 16px 36px;
	background-color: #f4f0ea;
	color: #1d1d1b;
	border: 1px solid #1d1d1b;
	border-radius: 0;
	font-family: var(--font);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.te-site .wpcf7-submit:hover {
	background-color: #1d1d1b;
	color: #f4f0ea;
}

.te-site .wpcf7-list-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 18px 8px 0;
}

.te-site .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 16px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink);
}

.te-site .wpcf7-not-valid {
	border-color: #cd4343;
}

.te-site .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-style: italic;
	color: #cd4343;
}

.te-site .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--line-strong);
	font-style: italic;
}

.te-site .wpcf7 form.sent .wpcf7-response-output {
	border-color: #5c6b45;
	color: #5c6b45;
}

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

.te-site .wpcf7-spinner {
	margin-left: 8px;
}

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

	.te-site .te-prose .alignwide {
		margin-left: 0;
		margin-right: 0;
	}
}

@media (max-width: 900px) {
	.te-site .te-hslide {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.te-site .te-hslide__title {
		font-size: 32px;
	}

	.te-site .te-cblock-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}

	.te-site {
		--header-h: 80px;
	}

	.te-site .te-header {
		padding: 0 20px;
	}

	.te-site .te-nav-overlay__panel {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 90px 28px 60px;
	}

	.te-site .te-nav-overlay__close {
		right: 16px;
		top: 18px;
	}

	.te-site .te-nav-overlay__art {
		display: none;
	}

	.te-site .te-menu__link {
		font-size: 30px;
	}

	/* Mobile: tranh nằm trong luồng, phía trên nội dung (như trang gốc). */
	.te-site .te-hero {
		display: block;
		min-height: 0;
		padding-bottom: 56px;
	}

	.te-site .te-corners {
		position: relative;
		inset: auto;
		height: 70vw;
		max-height: 420px;
		margin: 0 auto 24px;
	}

	.te-site .te-corner,
	.te-site .te-corner.is-shown {
		top: 50%;
		left: 50%;
		right: auto;
		bottom: auto;
		width: min(72vw, 420px);
		transform: translate(-50%, -50%);
	}

	.te-site .te-hero__intro {
		font-size: 19px;
	}

	.te-site .te-section {
		padding: 64px 0;
	}

	.te-site .te-block__title,
	.te-site .te-pagetitle__h {
		font-size: 34px;
	}

	.te-site .te-article__title {
		font-size: 36px;
	}

	.te-site .te-prose {
		font-size: 18px;
	}
}

@media (max-width: 640px) {
	.te-site .te-home {
		padding-top: calc(var(--header-h) + 8px);
	}

	.te-site .te-ticker__ago {
		display: none;
	}

	.te-site .te-ticker__item {
		font-size: 17px;
	}

	.te-site .te-container {
		padding: 0 20px;
	}

	.te-site .te-grid--3,
	.te-site .te-grid--2,
	.te-site .te-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.te-site .te-btn {
		min-width: 0;
		width: 100%;
		max-width: 360px;
	}

	.te-site .te-caps--row {
		gap: 12px 20px;
	}

	.te-site .te-postnav .nav-links {
		grid-template-columns: 1fr;
	}

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

	.te-site .comment-list .children {
		margin-left: 20px;
	}

	.te-site .te-author {
		flex-direction: column;
	}

	.te-site .te-to-top {
		right: 16px;
		bottom: 16px;
	}
}

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

	.te-site .te-loader {
		display: none;
	}
}
