/* ==========================================================================
   TDHOST: giao diện chính
   1. Phông chữ   2. Biến   3. Nền tảng   4. Bố cục   5. Nút
   6. Đầu trang   7. Trang chủ   8. Thành phần dùng chung
   9. Trang trong   10. Nội dung soạn thảo   11. Chân trang   12. WordPress
   ========================================================================== */

/* 1. Phông chữ ------------------------------------------------------------ */

@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	font-stretch: 75% 100%;
	src: url(../fonts/bricolage-grotesque-vietnamese-wdth-normal.woff2) format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	font-stretch: 75% 100%;
	src: url(../fonts/bricolage-grotesque-latin-wdth-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url(../fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url(../fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-display: swap;
	font-weight: 500;
	src: url(../fonts/be-vietnam-pro-vietnamese-500-normal.woff2) format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-display: swap;
	font-weight: 500;
	src: url(../fonts/be-vietnam-pro-latin-500-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	src: url(../fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	src: url(../fonts/be-vietnam-pro-latin-600-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url(../fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url(../fonts/be-vietnam-pro-latin-700-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Biến ----------------------------------------------------------------- */

:root {
	--cobalt: #1a3fd6;
	--cobalt-deep: #1231ad;
	--cobalt-night: #0b1f7a;
	--cobalt-tint: #e4e9fb;
	--ink: #0c1433;
	--paper: #f3f5fa;
	--white: #fff;
	--amber: #ffb01f;
	--amber-deep: #f09c00;
	--led: #3ddc84;
	--line: #d5dbe9;
	--muted: #56617f;
	--ok-bg: #e4f6ec;
	--ok-fg: #0f6b3b;
	--error-bg: #fdebe9;
	--error-fg: #a8221b;

	--font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;

	--fs-hero: clamp(2.5rem, 1.2rem + 4.6vw, 4.5rem);
	--fs-h1: clamp(2.125rem, 1.3rem + 3vw, 3.5rem);
	--fs-h2: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	--fs-h3: 1.5rem;
	--fs-lead: 1.1875rem;
	--fs-small: 0.9375rem;

	--radius: 6px;
	--radius-lg: 12px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(56px, 8vw, 104px);
	--focus: var(--cobalt);
}

/* 3. Nền tảng ------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-stretch: 85%;
	line-height: 1.14;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

p {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

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

img,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

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

.td-icon {
	flex: none;
}

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

.td-skip {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--white);
	border-radius: var(--radius);
	transform: translateY(-200%);
}

.td-skip:focus {
	transform: none;
}

/* 4. Bố cục --------------------------------------------------------------- */

.td-container {
	width: 100%;
	max-width: calc(1180px + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

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

.td-section {
	padding-block: var(--section);
}

.td-section--white {
	background: var(--white);
}

.td-section--ink {
	background: var(--ink);
	color: var(--white);
	--focus: var(--amber);
}

.td-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 32px;
	margin-bottom: 36px;
}

.td-h2 {
	font-size: var(--fs-h2);
	margin-bottom: 36px;
}

.td-section__head .td-h2,
.td-section__head .td-h3 {
	margin-bottom: 0;
}

.td-h3 {
	font-size: var(--fs-h3);
}

.td-link {
	color: var(--cobalt);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
}

.td-link:hover {
	color: var(--cobalt-deep);
	text-decoration-thickness: 2.5px;
}

.td-fineprint {
	margin-top: 20px;
	color: var(--muted);
	font-size: var(--fs-small);
}

.td-empty {
	max-width: 60ch;
	color: var(--muted);
	font-size: var(--fs-lead);
}

/* 5. Nút ------------------------------------------------------------------ */

.td-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.td-btn--small {
	padding: 9px 16px;
	font-size: var(--fs-small);
}

.td-btn--primary {
	background: var(--amber);
	color: var(--ink);
}

.td-btn--primary:hover {
	background: var(--amber-deep);
}

.td-btn--ink {
	background: var(--ink);
	color: var(--white);
}

.td-btn--ink:hover {
	background: var(--cobalt);
}

.td-btn--outline {
	border-color: var(--ink);
	color: var(--ink);
}

.td-btn--outline:hover {
	background: var(--ink);
	color: var(--white);
}

.td-btn--outline-light {
	border-color: rgb(255 255 255 / 0.55);
	color: var(--white);
}

.td-btn--outline-light:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--cobalt);
}

.td-btn--ghost {
	color: var(--cobalt);
}

.td-btn--ghost:hover {
	background: var(--cobalt-tint);
}

/* 6. Đầu trang ------------------------------------------------------------ */

.td-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.admin-bar .td-header {
	top: 32px;
}

.td-header__inner {
	display: flex;
	align-items: center;
	gap: 40px;
	min-height: 72px;
}

.td-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.td-logo__mark {
	display: grid;
	gap: 3px;
	width: 22px;
}

.td-logo__mark i {
	display: block;
	height: 5px;
	border-radius: 1.5px;
	background: var(--cobalt);
}

.td-logo__mark i:last-child {
	background: var(--amber);
}

.td-logo__text {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 800;
	font-stretch: 82%;
	letter-spacing: -0.01em;
	line-height: 1;
}

.custom-logo-link {
	flex: none;
	display: inline-flex;
}

.custom-logo {
	width: auto;
	max-height: 44px;
}

.td-header__panel {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.td-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.td-nav__list > li {
	position: relative;
}

.td-nav__list a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--radius);
	font-size: 1rem;
	font-weight: 500;
	white-space: nowrap;
}

.td-nav__list a:hover {
	color: var(--cobalt);
}

.td-nav__list > .current-menu-item > a,
.td-nav__list > .current-menu-ancestor > a,
.td-nav__list > .current_page_item > a {
	color: var(--cobalt);
	box-shadow: inset 0 -2px 0 var(--amber);
	border-radius: 0;
}

.td-nav__list > .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}

.td-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 264px;
	padding: 8px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: 0 18px 40px -18px rgb(12 20 51 / 0.35);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.12s, visibility 0.12s;
}

.td-nav__list > li:hover > .sub-menu,
.td-nav__list > li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
}

.td-nav__list .sub-menu a {
	padding: 9px 12px;
	font-size: var(--fs-small);
}

.td-nav__list .sub-menu a:hover {
	background: var(--paper);
}

.td-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

.td-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 6px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.td-header__phone:hover {
	color: var(--cobalt);
}

.td-header__toggle {
	display: none;
	margin-left: auto;
	padding: 10px;
	background: none;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
}

.td-header__toggle-close,
.td-header__toggle[aria-expanded="true"] .td-header__toggle-open {
	display: none;
}

.td-header__toggle[aria-expanded="true"] .td-header__toggle-close {
	display: block;
}

@media (max-width: 1200px) {
	.td-header__toggle {
		display: block;
	}

	.td-header__panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		max-height: calc(100vh - 72px);
		overflow-y: auto;
		padding: 16px var(--gutter) 24px;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -24px rgb(12 20 51 / 0.35);
	}

	.td-header__panel.is-open {
		display: flex;
	}

	.td-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.td-nav__list > li {
		border-bottom: 1px solid var(--line);
	}

	.td-nav__list a {
		padding: 14px 0;
	}

	.td-nav__list > .current-menu-item > a,
	.td-nav__list > .current-menu-ancestor > a,
	.td-nav__list > .current_page_item > a {
		box-shadow: none;
	}

	.td-nav__list > .menu-item-has-children > a::after {
		display: none;
	}

	.td-nav__list .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 10px 16px;
		border: 0;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
	}

	.td-nav__list .sub-menu a {
		padding: 8px 0;
		color: var(--muted);
	}

	.td-header__actions {
		flex-wrap: wrap;
	}

	.td-header__phone {
		width: 100%;
		padding-block: 6px;
	}
}

@media (max-width: 782px) {
	.admin-bar .td-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .td-header {
		top: 0;
	}
}

/* 7. Trang chủ ------------------------------------------------------------ */

/* 7.1 Phần mở đầu */

.td-hero {
	background: var(--cobalt);
	color: var(--white);
	--focus: var(--amber);
}

.td-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(40px, 5vw, 72px);
	padding-block: clamp(56px, 8vw, 104px);
}

.td-hero__title {
	max-width: 13ch;
	font-size: var(--fs-hero);
	font-stretch: 78%;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.td-hero__text {
	max-width: 50ch;
	margin-top: 24px;
	color: rgb(255 255 255 / 0.88);
	font-size: var(--fs-lead);
}

/* 7.2 Ô kiểm tra tên miền */

.td-domain {
	margin-top: 40px;
}

.td-domain__label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
}

.td-domain__field {
	display: flex;
	gap: 6px;
	max-width: 560px;
	padding: 6px;
	background: var(--white);
	border-radius: 10px;
}

.td-domain__field:focus-within {
	outline: 3px solid var(--amber);
	outline-offset: 3px;
}

.td-domain__input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 0;
	background: none;
	color: var(--ink);
	font-size: 1.125rem;
}

.td-domain__input:focus {
	outline: none;
}

.td-domain__input::placeholder {
	color: #8791ab;
}

.td-domain__tlds {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-top: 18px;
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
}

.td-domain__tld strong {
	margin-right: 4px;
	font-weight: 700;
}

.td-domain__tld span {
	color: rgb(255 255 255 / 0.8);
}

/* 7.3 Tủ máy chủ: danh sách dịch vụ */

.td-rack {
	position: relative;
	padding: 22px 38px;
	background: var(--cobalt-night);
	border-radius: 16px;
}

.td-rack__rail {
	position: absolute;
	top: 22px;
	bottom: 22px;
	width: 8px;
	background-image: radial-gradient(circle, rgb(255 255 255 / 0.28) 2.5px, transparent 3px);
	background-size: 8px 22px;
	background-position: center top;
	background-repeat: no-repeat space;
}

.td-rack__rail--left {
	left: 16px;
}

.td-rack__rail--right {
	right: 16px;
}

.td-rack__units {
	display: grid;
	gap: 8px;
}

.td-rack__link {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 17px 18px;
	background: rgb(255 255 255 / 0.07);
	border: 1px solid rgb(255 255 255 / 0.14);
	border-radius: var(--radius);
	transition: background-color 0.15s, border-color 0.15s;
}

.td-rack__link:hover {
	background: rgb(255 255 255 / 0.15);
	border-color: var(--amber);
}

.td-rack__leds {
	display: flex;
	gap: 5px;
}

.td-rack__leds i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--led);
	box-shadow: 0 0 8px rgb(61 220 132 / 0.8);
}

.td-rack__leds i:last-child {
	background: var(--amber);
	box-shadow: 0 0 8px rgb(255 176 31 / 0.7);
}

.td-rack__icon {
	display: flex;
	color: rgb(255 255 255 / 0.75);
}

.td-rack__name {
	font-weight: 600;
}

.td-rack__price {
	color: rgb(255 255 255 / 0.76);
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.td-rack__all {
	display: inline-block;
	margin-top: 18px;
	font-size: var(--fs-small);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
}

.td-rack__all:hover {
	color: var(--amber);
}

/* Chuyển động duy nhất của trang: đèn tủ máy chủ bật lần lượt khi tải trang,
   sau đó đèn hoạt động nhấp nháy chậm. */
@media (prefers-reduced-motion: no-preference) {
	.td-rack__leds i {
		animation: td-led-boot 0.35s both;
		animation-delay: calc(var(--i, 0) * 110ms + 250ms);
	}

	.td-rack__leds i:last-child {
		animation: td-led-boot 0.35s both, td-led-blink 3.2s steps(1, end) infinite;
		animation-delay: calc(var(--i, 0) * 110ms + 380ms), calc(var(--i, 0) * 530ms + 1600ms);
	}
}

@keyframes td-led-boot {
	from {
		opacity: 0.15;
		box-shadow: none;
	}
}

@keyframes td-led-blink {
	0%,
	12%,
	24% {
		opacity: 1;
	}

	6%,
	18% {
		opacity: 0.25;
	}
}

@media (max-width: 960px) {
	.td-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.td-hero__title {
		max-width: 16ch;
	}
}

@media (max-width: 480px) {
	.td-rack {
		padding: 16px 28px;
	}

	.td-rack__rail {
		top: 16px;
		bottom: 16px;
	}

	.td-rack__rail--left {
		left: 10px;
	}

	.td-rack__rail--right {
		right: 10px;
	}

	.td-rack__link {
		grid-template-columns: auto auto minmax(0, 1fr);
		gap: 2px 14px;
		padding: 14px;
	}

	.td-rack__price {
		grid-column: 3;
	}

	.td-domain__submit {
		padding-inline: 16px;
	}
}

/* 7.4 Chọn theo đối tượng */

.td-audience .td-h2 {
	margin-bottom: 20px;
}

.td-audience__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(24px, 5vw, 72px);
	padding-top: 40px;
}

.td-audience__intro {
	color: var(--muted);
	font-size: var(--fs-lead);
}

.td-audience__name {
	margin-bottom: 12px;
	color: var(--ink);
	font-size: var(--fs-h3);
}

.js .td-audience__name {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

@media (max-width: 860px) {
	.td-audience__panel {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 28px;
	}
}

/* 7.5 Quy trình */

.td-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 56px);
	counter-reset: td-step;
}

.td-step {
	padding-top: 20px;
	border-top: 2px solid var(--ink);
	counter-increment: td-step;
}

.td-step::before {
	content: counter(td-step);
	display: block;
	margin-bottom: 12px;
	color: var(--cobalt);
	font-family: var(--font-display);
	font-size: 3.5rem;
	font-weight: 700;
	font-stretch: 80%;
	line-height: 1;
}

.td-step__title {
	margin-bottom: 10px;
	font-size: var(--fs-h3);
}

.td-step__text {
	color: var(--muted);
}

@media (max-width: 760px) {
	.td-steps {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 7.6 Cam kết */

.td-commit__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	gap: clamp(24px, 6vw, 96px);
}

.td-commit__title {
	max-width: 12ch;
	margin-bottom: 0;
}

.td-commit__item {
	display: grid;
	grid-template-columns: 9px minmax(0, 1fr);
	column-gap: 20px;
	padding-block: 24px;
	border-top: 1px solid rgb(255 255 255 / 0.16);
}

.td-commit__item:last-child {
	border-bottom: 1px solid rgb(255 255 255 / 0.16);
}

.td-commit__led {
	width: 9px;
	height: 9px;
	margin-top: 10px;
	border-radius: 50%;
	background: var(--led);
	box-shadow: 0 0 10px rgb(61 220 132 / 0.8);
}

.td-commit__name {
	font-family: var(--font-body);
	font-size: 1.1875rem;
	font-weight: 600;
	font-stretch: normal;
	letter-spacing: 0;
	line-height: 1.4;
}

.td-commit__text {
	grid-column: 2;
	margin-top: 4px;
	color: rgb(255 255 255 / 0.74);
}

@media (max-width: 860px) {
	.td-commit__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.td-commit__title {
		max-width: none;
	}
}

/* 8. Thành phần dùng chung ------------------------------------------------- */

/* 8.1 Thẻ chuyển (tabs) */

.td-tabs__list {
	display: flex;
	gap: 0 32px;
	overflow-x: auto;
	border-bottom: 1px solid var(--line);
	scrollbar-width: thin;
}

.td-tabs__tab,
.td-filter__link {
	display: block;
	padding: 14px 0;
	border-bottom: 3px solid transparent;
	color: var(--muted);
	font-weight: 600;
	white-space: nowrap;
}

.td-tabs__tab:hover,
.td-filter__link:hover {
	color: var(--ink);
}

.td-tabs__tab[aria-selected="true"],
.td-filter__link.is-current {
	border-bottom-color: var(--amber);
	color: var(--ink);
}

.td-tabs__tab:focus-visible,
.td-filter__link:focus-visible {
	outline-offset: -3px;
}

.td-tabs__list--big {
	gap: 0 clamp(24px, 4vw, 48px);
}

.td-tabs__list--big .td-tabs__tab {
	padding: 10px 0 12px;
	border-bottom-width: 4px;
	color: #7a849f;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1rem + 2vw, 2.375rem);
	font-weight: 700;
	font-stretch: 82%;
	line-height: 1.2;
}

.td-tabs__list--big .td-tabs__tab:hover,
.td-tabs__list--big .td-tabs__tab[aria-selected="true"] {
	color: var(--ink);
}

.td-tabs__panel[hidden] {
	display: none;
}

.td-pricing__panel {
	padding-top: 40px;
}

.td-pricing__panel .td-section__head {
	margin-bottom: 24px;
}

.js .td-pricing__panel .td-section__head .td-h3 {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.js .td-pricing__panel .td-section__head {
	justify-content: flex-end;
}

.td-filter {
	display: flex;
	gap: 0 32px;
	margin-bottom: 8px;
	overflow-x: auto;
	border-bottom: 1px solid var(--line);
}

/* 8.2 Danh sách dịch vụ */

.td-services {
	border-top: 1px solid var(--line);
}

.td-service {
	border-bottom: 1px solid var(--line);
}

.td-service__link {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto 20px;
	align-items: center;
	gap: 20px;
	padding: 20px 12px;
	transition: background-color 0.15s;
}

.td-service__link:hover {
	background: var(--white);
}

.td-section--white .td-service__link:hover {
	background: var(--paper);
}

.td-service__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	background: var(--cobalt-tint);
	border-radius: 10px;
	color: var(--cobalt);
}

.td-service__name {
	display: block;
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.35;
}

.td-service__link:hover .td-service__name {
	color: var(--cobalt);
}

.td-service__text {
	display: block;
	margin-top: 2px;
	color: var(--muted);
	font-size: 1rem;
}

.td-service__price {
	font-size: var(--fs-small);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.td-service__go {
	display: flex;
	color: var(--muted);
}

.td-service__link:hover .td-service__go {
	color: var(--cobalt);
}

.td-services--full {
	border-top: 0;
}

@media (max-width: 640px) {
	.td-service__link {
		grid-template-columns: 44px minmax(0, 1fr) 20px;
		gap: 4px 14px;
		padding-inline: 0;
	}

	.td-service__icon {
		grid-row: span 2;
		align-self: start;
		width: 44px;
		height: 44px;
	}

	.td-service__price {
		grid-column: 2;
		color: var(--cobalt);
	}

	.td-service__go {
		grid-column: 3;
		grid-row: 1 / span 2;
	}
}

/* 8.3 Bảng gói cước */

.td-plans {
	display: grid;
	gap: 16px;
}

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

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

.td-plans--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.td-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 52px 24px 24px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.td-plan--featured {
	border-color: var(--cobalt);
	box-shadow: 0 0 0 1px var(--cobalt);
}

.td-plan__badge {
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px 14px 6px 24px;
	background: var(--cobalt);
	border-radius: 11px 0 var(--radius) 0;
	color: var(--white);
	font-size: 0.875rem;
	font-weight: 600;
}

.td-plan__name {
	font-size: 1.625rem;
}

.td-plan__note {
	min-height: 3.2em;
	margin-top: 6px;
	color: var(--muted);
	font-size: var(--fs-small);
	line-height: 1.6;
}

.td-plan__price {
	margin-top: 16px;
	font-variant-numeric: tabular-nums;
}

.td-plan__amount {
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 700;
	font-stretch: 85%;
	letter-spacing: -0.015em;
	line-height: 1.1;
}

.td-plan__period {
	color: var(--muted);
}

.td-plan__specs {
	margin: 20px 0 24px;
}

.td-plan__spec {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-block: 10px;
	border-top: 1px solid var(--line);
	font-size: var(--fs-small);
}

.td-plan__spec dt {
	color: var(--muted);
}

.td-plan__spec dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

.td-plan__spec .td-plan__spec-only {
	text-align: left;
}

.td-plan__cta {
	margin-top: auto;
}

@media (max-width: 1100px) {
	.td-plans--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.td-plans--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.td-plan__note {
		min-height: 0;
	}
}

@media (max-width: 600px) {
	.td-plans--2,
	.td-plans--4 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 8.4 Câu hỏi thường gặp */

.td-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
	gap: clamp(16px, 6vw, 96px);
}

.td-faq__title {
	margin-bottom: 0;
}

.td-faq__item {
	border-top: 1px solid var(--line);
}

.td-faq__item:last-child {
	border-bottom: 1px solid var(--line);
}

.td-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 20px;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
}

.td-faq__q::-webkit-details-marker {
	display: none;
}

.td-faq__q:hover {
	color: var(--cobalt);
}

.td-faq__sign {
	position: relative;
	flex: none;
	width: 16px;
	height: 16px;
}

.td-faq__sign::before,
.td-faq__sign::after {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	width: 16px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s;
}

.td-faq__sign::after {
	transform: rotate(90deg);
}

.td-faq__item[open] .td-faq__sign::after {
	transform: none;
}

.td-faq__a {
	padding-bottom: 22px;
	color: var(--muted);
}

@media (max-width: 860px) {
	.td-faq__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

/* 8.5 Bài viết trong danh sách */

.td-posts {
	display: grid;
	max-width: 860px;
}

.td-post {
	display: grid;
	gap: 16px 28px;
	padding-block: 28px;
	border-top: 1px solid var(--line);
}

.td-posts > .td-post:first-child {
	padding-top: 0;
	border-top: 0;
}

.td-post.has-post-thumbnail {
	grid-template-columns: 220px minmax(0, 1fr);
}

.td-post__thumb img {
	width: 100%;
	aspect-ratio: 8 / 5;
	object-fit: cover;
	border-radius: var(--radius);
}

.td-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	color: var(--muted);
	font-size: var(--fs-small);
}

.td-post__cat {
	color: var(--cobalt);
	font-weight: 600;
}

.td-post__cat:hover {
	text-decoration: underline;
}

.td-post__title {
	margin-top: 8px;
	font-size: 1.625rem;
	line-height: 1.22;
}

.td-post__title a:hover {
	color: var(--cobalt);
}

.td-post__excerpt {
	max-width: 68ch;
	margin-top: 10px;
	color: var(--muted);
}

.td-posts--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 48px);
	max-width: none;
}

.td-posts--three > .td-post,
.td-posts--three > .td-post:first-child {
	align-content: start;
	grid-template-columns: minmax(0, 1fr);
	padding-block: 20px 0;
	border-top: 2px solid var(--ink);
}

.td-posts--three .td-post__title {
	font-size: 1.4375rem;
}

@media (max-width: 860px) {
	.td-posts--three {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.td-post.has-post-thumbnail {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 8.6 Lời kêu gọi */

.td-cta {
	background: var(--amber);
	color: var(--ink);
	--focus: var(--ink);
}

.td-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 56px;
	padding-block: clamp(48px, 6vw, 72px);
}

.td-cta__title {
	font-size: var(--fs-h2);
}

.td-cta__text {
	max-width: 56ch;
	margin-top: 10px;
	font-size: var(--fs-lead);
}

.td-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
}

.td-cta__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.25rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.td-cta__phone:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* 8.7 Biểu mẫu */

.td-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
}

.td-field {
	margin-bottom: 20px;
}

.td-field label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--fs-small);
	font-weight: 600;
}

.td-field__opt {
	color: var(--muted);
	font-weight: 400;
}

.td-field input,
.td-field select,
.td-field textarea,
.td-search__input {
	width: 100%;
	padding: 12px 14px;
	background: var(--white);
	border: 1.5px solid #aeb7cd;
	border-radius: var(--radius);
	line-height: 1.5;
}

.td-field textarea {
	resize: vertical;
}

.td-field input:focus,
.td-field select:focus,
.td-field textarea:focus,
.td-search__input:focus {
	border-color: var(--cobalt);
	outline: 3px solid rgb(26 63 214 / 0.25);
	outline-offset: 0;
}

.td-field--trap {
	position: absolute;
	left: -9999px;
}

.td-form__notice {
	margin-bottom: 24px;
	padding: 14px 18px;
	border-radius: var(--radius);
	font-weight: 500;
}

.td-form__notice--ok {
	background: var(--ok-bg);
	color: var(--ok-fg);
}

.td-form__notice--error {
	background: var(--error-bg);
	color: var(--error-fg);
}

.td-search {
	display: flex;
	gap: 8px;
	max-width: 520px;
}

.td-searchbar {
	margin-bottom: 40px;
}

@media (max-width: 600px) {
	.td-form__row {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 8.8 Phân trang */

.td-pagination {
	margin-top: 48px;
}

.td-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.td-pagination .page-numbers {
	display: inline-block;
	min-width: 44px;
	padding: 9px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	font-weight: 600;
	text-align: center;
}

.td-pagination a.page-numbers:hover {
	border-color: var(--ink);
}

.td-pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.td-pagination .page-numbers.dots {
	border-color: transparent;
}

/* 9. Trang trong ---------------------------------------------------------- */

/* 9.1 Tiêu đề trang */

.td-pagehead {
	padding-block: clamp(40px, 6vw, 72px) clamp(36px, 5vw, 56px);
	border-bottom: 1px solid var(--line);
}

.td-pagehead__title {
	max-width: 22ch;
	font-size: var(--fs-h1);
	font-stretch: 80%;
	letter-spacing: -0.018em;
}

.td-pagehead--article .td-pagehead__title {
	max-width: none;
	font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
}

.td-pagehead__text {
	max-width: 62ch;
	margin-top: 18px;
	color: var(--muted);
	font-size: var(--fs-lead);
}

.td-crumbs {
	margin-bottom: 18px;
	font-size: var(--fs-small);
}

.td-crumbs__list {
	display: flex;
	flex-wrap: wrap;
}

.td-crumbs__item::after {
	content: "/";
	margin-inline: 10px;
	opacity: 0.45;
}

.td-crumbs__item:last-child::after {
	display: none;
}

.td-crumbs a {
	color: var(--muted);
}

.td-crumbs a:hover {
	color: var(--cobalt);
	text-decoration: underline;
}

/* 9.2 Chi tiết dịch vụ */

.td-servicehead {
	background: var(--cobalt);
	color: var(--white);
	--focus: var(--amber);
}

.td-servicehead__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	align-items: end;
	gap: clamp(32px, 6vw, 88px);
	padding-block: clamp(40px, 6vw, 72px);
}

.td-servicehead .td-crumbs a {
	color: rgb(255 255 255 / 0.8);
}

.td-servicehead .td-crumbs a:hover {
	color: var(--white);
}

.td-servicehead__title {
	font-size: var(--fs-h1);
	font-stretch: 80%;
	letter-spacing: -0.018em;
}

.td-servicehead__text {
	max-width: 52ch;
	margin-top: 18px;
	color: rgb(255 255 255 / 0.88);
	font-size: var(--fs-lead);
}

.td-servicehead__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.td-servicehead__facts {
	margin: 0;
	padding: 6px 24px;
	background: var(--cobalt-night);
	border-radius: var(--radius-lg);
}

.td-servicehead__facts > div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-block: 14px;
}

.td-servicehead__facts > div + div {
	border-top: 1px solid rgb(255 255 255 / 0.16);
}

.td-servicehead__facts dt {
	color: rgb(255 255 255 / 0.76);
}

.td-servicehead__facts dd {
	margin: 0;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.td-servicebody {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: clamp(32px, 6vw, 88px);
}

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

.td-features {
	position: sticky;
	top: 104px;
	padding: 28px;
	background: var(--paper);
	border-radius: var(--radius-lg);
}

.td-features__title {
	margin-bottom: 16px;
	font-size: var(--fs-h3);
}

.td-features__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-block: 9px;
}

.td-features__list .td-icon {
	margin-top: 4px;
	color: var(--cobalt);
}

@media (max-width: 900px) {
	.td-servicehead__grid,
	.td-servicebody {
		grid-template-columns: minmax(0, 1fr);
	}

	.td-servicehead__grid {
		align-items: start;
	}

	.td-features {
		position: static;
	}
}

/* 9.3 Liên hệ */

.td-contact {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
}

.td-contact__list {
	margin: 0;
}

.td-contact__list > div {
	padding-block: 18px;
	border-top: 1px solid var(--line);
}

.td-contact__list > div:first-child {
	padding-top: 0;
	border-top: 0;
}

.td-contact__list dt {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-size: var(--fs-small);
}

.td-contact__list dd {
	margin: 4px 0 0 30px;
	font-size: 1.125rem;
	font-weight: 600;
}

.td-contact__list dd a {
	margin-right: 16px;
}

.td-contact__list dd a:hover {
	color: var(--cobalt);
	text-decoration: underline;
}

.td-contact__note {
	margin-top: 28px;
}

@media (max-width: 860px) {
	.td-contact {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 9.4 Bài viết */

.td-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin-top: 18px;
	color: var(--muted);
	font-size: var(--fs-small);
}

.td-article__meta a {
	color: var(--cobalt);
	font-weight: 600;
}

.td-article__cover {
	margin-bottom: 40px;
}

.td-article__cover img {
	width: 100%;
	border-radius: var(--radius-lg);
}

.td-article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

.td-article__tags a {
	padding: 4px 12px;
	background: var(--paper);
	border-radius: 999px;
	color: var(--ink);
	font-size: var(--fs-small);
	text-decoration: none;
}

.td-postnav {
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.td-postnav .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.td-postnav .nav-next {
	grid-column: 2;
	text-align: right;
}

.td-postnav__label {
	display: block;
	color: var(--muted);
	font-size: var(--fs-small);
}

.td-postnav__title {
	display: block;
	font-weight: 600;
	line-height: 1.4;
}

.td-postnav a:hover .td-postnav__title {
	color: var(--cobalt);
}

/* 9.5 Không tìm thấy trang */

.td-notfound {
	padding-block: clamp(64px, 10vw, 128px);
	background: var(--cobalt);
	color: var(--white);
	--focus: var(--amber);
}

.td-notfound__code {
	color: var(--amber);
	font-family: var(--font-display);
	font-size: clamp(5rem, 14vw, 10rem);
	font-weight: 800;
	font-stretch: 76%;
	line-height: 0.9;
}

.td-notfound__title {
	max-width: 20ch;
	margin-top: 20px;
	font-size: var(--fs-h2);
}

.td-notfound__text {
	margin-top: 14px;
	color: rgb(255 255 255 / 0.88);
	font-size: var(--fs-lead);
}

.td-notfound__search {
	margin-top: 32px;
	color: var(--ink);
}

.td-notfound .td-search__input {
	border-color: var(--white);
}

.td-notfound__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

/* 10. Nội dung soạn thảo -------------------------------------------------- */

.td-prose {
	max-width: 72ch;
}

.td-prose--wide,
.td-container--narrow .td-prose,
.td-servicebody__content,
.td-faq__a,
.td-contact__note {
	max-width: none;
}

.td-prose--after {
	margin-top: 56px;
}

.td-prose > * + * {
	margin-top: 1.15em;
}

.td-prose h2 {
	margin-top: 1.9em;
	font-size: 1.875rem;
}

.td-prose h3 {
	margin-top: 1.7em;
	font-size: 1.4375rem;
}

.td-prose h4 {
	margin-top: 1.6em;
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-stretch: normal;
	letter-spacing: 0;
}

.td-prose > :first-child {
	margin-top: 0;
}

.td-prose a {
	color: var(--cobalt);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.td-prose a:hover {
	color: var(--cobalt-deep);
}

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

.td-prose ul {
	list-style: disc;
}

.td-prose ol {
	list-style: decimal;
}

.td-prose li + li {
	margin-top: 0.45em;
}

.td-prose li::marker {
	color: var(--cobalt);
	font-weight: 600;
}

.td-prose blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--amber);
	font-size: var(--fs-lead);
}

.td-prose blockquote cite {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-size: var(--fs-small);
	font-style: normal;
}

.td-prose img,
.td-prose video {
	border-radius: var(--radius);
}

.td-prose figure {
	margin-inline: 0;
}

.td-prose figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: var(--fs-small);
}

.td-prose code,
.td-prose kbd {
	padding: 2px 6px;
	background: var(--paper);
	border-radius: 4px;
	font-size: 0.92em;
}

.td-prose pre {
	padding: 20px;
	overflow-x: auto;
	background: var(--ink);
	border-radius: var(--radius);
	color: var(--white);
	font-size: var(--fs-small);
	line-height: 1.6;
}

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

.td-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-small);
}

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

.td-prose th {
	background: var(--paper);
	font-weight: 600;
}

.td-prose hr {
	margin-block: 2.4em;
	border: 0;
	border-top: 1px solid var(--line);
}

.td-prose .has-large-font-size {
	font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
	line-height: 1.5;
}

.td-prose .wp-block-columns {
	gap: clamp(20px, 3vw, 40px);
	margin-top: 1.6em;
}

.td-prose .wp-block-column > * + * {
	margin-top: 0.6em;
}

.td-prose .wp-block-column > h3:first-child {
	margin-top: 0;
	padding-top: 16px;
	border-top: 2px solid var(--ink);
}

.td-prose .wp-block-button__link {
	padding: 13px 22px;
	background: var(--amber);
	border-radius: var(--radius);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.td-prose .wp-block-button__link:hover {
	background: var(--amber-deep);
	color: var(--ink);
}

.td-prose .is-style-outline .wp-block-button__link {
	background: none;
	border: 1.5px solid var(--ink);
}

.td-prose .alignwide {
	width: min(1180px, 100vw - var(--gutter) * 2);
	max-width: none;
	margin-inline: auto;
}

.td-pagelinks {
	display: flex;
	gap: 12px;
	margin-top: 32px;
	font-weight: 600;
}

/* Bình luận */

.td-comments {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.td-comments__title,
.comment-reply-title {
	margin-bottom: 20px;
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: 700;
	font-stretch: 85%;
}

.td-comments__list,
.td-comments__list .children {
	list-style: none;
	padding: 0;
}

.td-comments__list .children {
	padding-left: clamp(16px, 4vw, 40px);
}

.td-comments__list .comment-body {
	padding-block: 20px;
	border-top: 1px solid var(--line);
}

.td-comments__list .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.td-comments__list .avatar {
	border-radius: 50%;
}

.td-comments__list .comment-metadata {
	margin-block: 4px 10px;
	color: var(--muted);
	font-size: var(--fs-small);
}

.td-comments__list .reply {
	margin-top: 8px;
	font-size: var(--fs-small);
	font-weight: 600;
}

.td-comments__list .reply a,
.comment-form a,
.logged-in-as a {
	color: var(--cobalt);
}

.comment-form p {
	margin-bottom: 16px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--fs-small);
	font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--white);
	border: 1.5px solid #aeb7cd;
	border-radius: var(--radius);
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

.comment-form .submit {
	padding: 13px 22px;
	background: var(--amber);
	border: 0;
	border-radius: var(--radius);
	font-weight: 600;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--amber-deep);
}

/* 11. Chân trang ---------------------------------------------------------- */

.td-footer {
	background: var(--ink);
	color: rgb(255 255 255 / 0.74);
	font-size: 1rem;
	--focus: var(--amber);
}

.td-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
	gap: 40px clamp(24px, 4vw, 64px);
	padding-block: clamp(48px, 7vw, 80px) 48px;
}

.td-footer .td-logo {
	color: var(--white);
}

.td-footer .td-logo__mark i {
	background: var(--white);
}

.td-footer .td-logo__mark i:last-child {
	background: var(--amber);
}

.td-footer__about {
	max-width: 42ch;
	margin-top: 18px;
}

.td-footer__contact {
	display: grid;
	gap: 10px;
	margin-top: 24px;
}

.td-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.td-footer__contact .td-icon {
	margin-top: 5px;
	color: var(--amber);
}

.td-footer__heading {
	margin-bottom: 16px;
	color: var(--white);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	font-stretch: normal;
	letter-spacing: 0;
}

.td-footer__menu {
	display: grid;
	gap: 10px;
}

.td-footer a:hover {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.td-footer .td-logo:hover {
	text-decoration: none;
}

.td-footer__widgets {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 40px;
	padding-bottom: 32px;
}

.td-footer__widget img {
	max-height: 56px;
	width: auto;
}

.td-footer__bottom {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 24px;
	border-top: 1px solid rgb(255 255 255 / 0.16);
	font-size: var(--fs-small);
}

.td-footer__social {
	display: flex;
	gap: 24px;
}

@media (max-width: 900px) {
	.td-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.td-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.td-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 12. Lớp của WordPress --------------------------------------------------- */

.alignleft {
	float: left;
	margin: 0.3em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.6em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	margin-top: 8px;
	color: var(--muted);
	font-size: var(--fs-small);
}

.sticky .td-post__title::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--amber);
}

.bypostauthor > .comment-body .fn::after {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-left: 8px;
	border-radius: 50%;
	background: var(--cobalt);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
	}
}
