/* ==========================================================================
   TK COMPONENT STYLES
   ========================================================================== */
/* ==========================================================================
   5. HEADER
   ========================================================================== */

.tk-topbar {
	background: var(--tk-navy);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.84rem;
	padding: 8px 0;
}

.tk-topbar .tk-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.tk-topbar a {
	color: rgba(255, 255, 255, 0.9);
}

.tk-topbar a:hover {
	color: var(--tk-accent);
}

/* Thông tin phụ ở góc phải thanh top bar (chỉ hiện trên desktop). */
.tk-topbar__extra {
	display: flex;
	align-items: center;
	gap: 8px;
}

/*
 * Khoá cuộn trang khi mở menu trên mobile.
 * Khoá trên <html> vì trình duyệt cuộn theo documentElement, không phải body
 * (`overflow: hidden` trên body KHÔNG khoá được cuộn — đã kiểm chứng).
 */
html.tk-scroll-locked {
	overflow: hidden;
}

.tk-site-header {
	position: sticky;
	top: 0;
	/*
	 * z-index PHẢI lớn hơn `.tk-overlay` (1000).
	 *
	 * Lỗi cũ: header z-index 900, overlay z-index 1000 → lớp phủ vẽ đè lên
	 * header. Vì `.tk-site-header` tạo stacking context (position: sticky + z-index),
	 * nên drawer `.tk-nav` (z-index 1001) cũng bị kẹp bên trong header và không thể
	 * vượt lên trên overlay → menu trên điện thoại bị phủ kín, không hiện, không
	 * bấm được (đã kiểm chứng bằng elementFromPoint: mọi điểm đều trả về
	 * `div.tk-overlay is-active`).
	 */
	z-index: var(--tk-z-header);
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--tk-border);
	transition: box-shadow 0.3s var(--tk-ease);
}

.tk-site-header.is-stuck {
	box-shadow: var(--tk-shadow);
}

.tk-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--tk-header-h);
}

.tk-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	/* Cho phép brand co lại khi khung hẹp, tránh đẩy nút menu ra ngoài viewport. */
	flex-shrink: 1;
	min-width: 0;
}

.tk-brand__logo {
	flex-shrink: 0;
}

.tk-brand__logo img {
	max-height: 52px;
	width: auto;
}

/* Ở màn hình hẹp, phần chữ thương hiệu cần co lại để nút menu vẫn nằm trong khung. */
.tk-brand__text {
	min-width: 0;
	overflow: hidden;
}

.tk-brand__text strong {
	display: block;
	font-size: 1.28rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	color: var(--tk-navy);
	line-height: 1.2;
}

.tk-brand__text span {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--tk-muted);
	text-transform: uppercase;
}

.tk-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.tk-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 2px;
}

.tk-nav a {
	display: block;
	padding: 10px 12px;
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--tk-text);
	border-radius: 8px;
}

.tk-nav a:hover,
.tk-nav .current-menu-item > a,
.tk-nav .current-menu-ancestor > a,
.tk-nav .current_page_item > a {
	color: var(--tk-accent-dark);
}

.tk-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.tk-hotline {
	display: flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
}

.tk-hotline__icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(245, 166, 35, 0.15);
	color: var(--tk-accent-dark);
	flex-shrink: 0;
}

.tk-hotline__text small {
	display: block;
	font-size: 0.72rem;
	color: var(--tk-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.tk-hotline__text strong {
	display: block;
	font-size: 1.02rem;
	color: var(--tk-navy);
	font-weight: 800;
	line-height: 1.2;
}

.tk-hotline:hover .tk-hotline__text strong {
	color: var(--tk-accent-dark);
}

.tk-nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--tk-border);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	padding: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.tk-nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--tk-navy);
	border-radius: 2px;
	transition: transform 0.3s var(--tk-ease), opacity 0.2s linear;
}

.tk-nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.tk-nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.tk-nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================================================
   6. HERO
   ========================================================================== */

.tk-hero {
	position: relative;
	background: var(--tk-navy);
	color: var(--tk-white);
	overflow: hidden;
	padding: clamp(56px, 7vw, 96px) 0 clamp(60px, 8vw, 110px);
}

.tk-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.25;
	transform: scale(1.05);
}

.tk-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, var(--tk-navy) 20%, rgba(11, 31, 51, 0.86) 55%, rgba(11, 31, 51, 0.62) 100%);
}

.tk-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.tk-hero h1 {
	color: var(--tk-white);
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: -0.015em;
}

.tk-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: rgba(245, 166, 35, 0.16);
	border: 1px solid rgba(245, 166, 35, 0.4);
	color: var(--tk-accent);
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 22px;
}

.tk-hero__desc {
	font-size: clamp(1rem, 1.6vw, 1.13rem);
	color: rgba(255, 255, 255, 0.82);
	max-width: 560px;
	margin-bottom: 28px;
}

.tk-hero__features {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	gap: 11px;
}

.tk-hero__features li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

.tk-hero__features li::before {
	content: "";
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 3px;
	border-radius: 50%;
	background: var(--tk-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f33' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.tk-hero__media {
	position: relative;
}

.tk-hero__media-frame {
	position: relative;
	border-radius: var(--tk-radius-lg);
	overflow: hidden;
	box-shadow: var(--tk-shadow-lg);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.tk-hero__media-frame img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.6s var(--tk-ease);
}

.tk-hero__media:hover .tk-hero__media-frame img {
	transform: scale(1.04);
}

.tk-hero__badge {
	position: absolute;
	left: -14px;
	bottom: 26px;
	background: var(--tk-accent);
	color: var(--tk-navy);
	font-weight: 900;
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	padding: 14px 22px;
	border-radius: 14px;
	box-shadow: var(--tk-shadow);
	max-width: 80%;
	line-height: 1.35;
}

.tk-hero__stats {
	position: absolute;
	right: -18px;
	top: 24px;
	background: #fff;
	color: var(--tk-navy);
	border-radius: 16px;
	padding: 16px 20px;
	box-shadow: var(--tk-shadow);
	text-align: center;
	min-width: 150px;
}

.tk-hero__stats strong {
	display: block;
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--tk-blue);
	line-height: 1.2;
}

.tk-hero__stats span {
	font-size: 0.76rem;
	color: var(--tk-muted);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}


/* ==========================================================================
   7. BENEFITS
   ========================================================================== */

.tk-benefit {
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	padding: 30px 26px;
	box-shadow: var(--tk-shadow-sm);
	transition: transform 0.3s var(--tk-ease), box-shadow 0.3s var(--tk-ease), border-color 0.3s var(--tk-ease);
	height: 100%;
}

.tk-benefit:hover {
	transform: translateY(-6px);
	box-shadow: var(--tk-shadow);
	border-color: rgba(245, 166, 35, 0.55);
}

.tk-benefit__icon {
	width: 58px;
	height: 58px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--tk-navy), var(--tk-blue));
	color: var(--tk-accent);
	margin-bottom: 18px;
}

.tk-benefit__icon svg {
	width: 28px;
	height: 28px;
}

.tk-benefit h3 {
	font-size: 1.02rem;
	letter-spacing: 0.02em;
	margin-bottom: 10px;
}

.tk-benefit p {
	color: var(--tk-muted);
	font-size: 0.94rem;
	margin-bottom: 0;
}


/* ==========================================================================
   8. COURSES
   ========================================================================== */

.tk-course {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	overflow: hidden;
	box-shadow: var(--tk-shadow-sm);
	transition: transform 0.3s var(--tk-ease), box-shadow 0.3s var(--tk-ease);
	height: 100%;
}

.tk-course:hover {
	transform: translateY(-6px);
	box-shadow: var(--tk-shadow);
}

.tk-course__media {
	position: relative;
	overflow: hidden;
	background: var(--tk-bg-light);
}

.tk-course__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.55s var(--tk-ease);
}

.tk-course:hover .tk-course__media img {
	transform: scale(1.07);
}

.tk-course__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	background: rgba(11, 31, 51, 0.85);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 6px 13px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.tk-course__body {
	padding: 24px 24px 26px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.tk-course__body h3 {
	font-size: 1.12rem;
	margin-bottom: 10px;
}

.tk-course__body h3 a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
}

.tk-course__body > p {
	color: var(--tk-muted);
	font-size: 0.94rem;
}

.tk-course__list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	gap: 8px;
}

.tk-course__list li {
	position: relative;
	padding-left: 26px;
	font-size: 0.9rem;
	color: var(--tk-text);
}

.tk-course__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: rgba(245, 166, 35, 0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dd8f10' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.tk-course__actions {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tk-course__actions .tk-btn {
	flex: 1 1 auto;
	padding-inline: 16px;
	font-size: 0.84rem;
}


/* ==========================================================================
   8.1 POST CARD (tin tức / kết quả tìm kiếm)
   ========================================================================== */

.tk-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius-lg);
	box-shadow: var(--tk-shadow);
	transition: transform 0.3s var(--tk-ease), box-shadow 0.3s var(--tk-ease);
}

.tk-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tk-shadow-lg);
}

.tk-post-card__media {
	display: block;
	overflow: hidden;
	background: var(--tk-bg-light);
}

.tk-post-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.55s var(--tk-ease);
}

.tk-post-card:hover .tk-post-card__media img {
	transform: scale(1.07);
}

.tk-post-card__body {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.tk-post-card__meta {
	margin-bottom: 8px;
	color: var(--tk-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tk-post-card__body h3 {
	font-size: 1.08rem;
	margin-bottom: 10px;
}

.tk-post-card__body h3 a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	color: inherit;
}

.tk-post-card__body p {
	color: var(--tk-muted);
	font-size: 0.94rem;
}

.tk-more-link {
	margin-top: auto;
	padding-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	color: var(--tk-accent-dark);
	font-weight: 800;
	font-size: 0.92rem;
}

.tk-more-link:hover {
	color: var(--tk-navy);
}


/* ==========================================================================
   9. TEACHER PROFILE
   ========================================================================== */

.tk-teacher {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(30px, 5vw, 60px);
	align-items: center;
}

.tk-teacher__media {
	border-radius: var(--tk-radius-lg);
	overflow: hidden;
	box-shadow: var(--tk-shadow);
	background: var(--tk-bg-light);
}

.tk-teacher__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.tk-teacher__values {
	list-style: none;
	margin: 24px 0 28px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
}

.tk-teacher__values li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	font-size: 0.95rem;
}

.tk-teacher__values li::before {
	content: "";
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 4px;
	border-radius: 50%;
	background: var(--tk-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f33' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.tk-signature {
	margin-top: 6px;
	font-style: italic;
	color: var(--tk-blue);
	font-weight: 700;
	font-size: 1.05rem;
}


/* ==========================================================================
   10. PROCESS / TIMELINE
   ========================================================================== */

.tk-process {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px;
}

.tk-process::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 6%;
	right: 6%;
	height: 2px;
	background: linear-gradient(90deg, var(--tk-accent), rgba(245, 166, 35, 0.15));
	z-index: 0;
}

.tk-step {
	position: relative;
	z-index: 1;
	text-align: center;
	background: var(--tk-bg-light);
	border-radius: var(--tk-radius);
	padding: 30px 20px 26px;
	border: 1px solid var(--tk-border);
	transition: transform 0.3s var(--tk-ease), box-shadow 0.3s var(--tk-ease);
}

.tk-section--light .tk-step {
	background: #fff;
}

.tk-step:hover {
	transform: translateY(-5px);
	box-shadow: var(--tk-shadow);
}

.tk-step__num {
	width: 68px;
	height: 68px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--tk-navy), var(--tk-blue));
	color: var(--tk-accent);
	font-weight: 900;
	font-size: 1.25rem;
	border: 4px solid var(--tk-bg-light);
	box-shadow: var(--tk-shadow-sm);
}

.tk-section--light .tk-step__num {
	border-color: #fff;
}

.tk-step h3 {
	font-size: 0.98rem;
	letter-spacing: 0.02em;
	margin-bottom: 9px;
}

.tk-step p {
	font-size: 0.9rem;
	color: var(--tk-muted);
	margin-bottom: 0;
}


/* ==========================================================================
   11. GALLERY
   ========================================================================== */

.tk-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.tk-gallery__item {
	position: relative;
	display: block;
	border-radius: var(--tk-radius);
	overflow: hidden;
	background: var(--tk-bg-light);
	aspect-ratio: 4 / 3;
	cursor: zoom-in;
	border: 0;
	padding: 0;
	width: 100%;
}

.tk-gallery__item--wide {
	grid-column: span 2;
	aspect-ratio: 8 / 3;
}

.tk-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--tk-ease);
}

.tk-gallery__item:hover img {
	transform: scale(1.08);
}

.tk-gallery__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 14px 16px;
	background: linear-gradient(transparent, rgba(11, 31, 51, 0.86));
	color: #fff;
	font-size: 0.86rem;
	font-weight: 700;
	text-align: left;
	transform: translateY(6px);
	opacity: 0;
	transition: opacity 0.3s var(--tk-ease), transform 0.3s var(--tk-ease);
	/* Giới hạn 2 dòng để tên file dài không làm tràn ngang. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.tk-gallery__item:hover .tk-gallery__caption,
.tk-gallery__item:focus-visible .tk-gallery__caption {
	opacity: 1;
	transform: translateY(0);
}


/* ==========================================================================
   12. TESTIMONIALS
   ========================================================================== */

.tk-testimonial {
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	padding: 30px 26px;
	box-shadow: var(--tk-shadow-sm);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.tk-testimonial__stars {
	color: var(--tk-accent);
	font-size: 1.05rem;
	letter-spacing: 2px;
	margin-bottom: 14px;
}

.tk-testimonial__text {
	font-size: 0.95rem;
	color: var(--tk-text);
	flex-grow: 1;
}

.tk-testimonial__author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--tk-border);
}

.tk-testimonial__avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--tk-bg-light);
	flex-shrink: 0;
}

.tk-testimonial__author strong {
	display: block;
	font-size: 0.95rem;
	color: var(--tk-navy);
}

.tk-testimonial__author span {
	font-size: 0.8rem;
	color: var(--tk-muted);
}

.tk-testimonial__sample {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #b06d00;
	background: rgba(245, 166, 35, 0.16);
	border-radius: 999px;
	padding: 4px 11px;
}


/* ==========================================================================
   13. FAQ
   ========================================================================== */

.tk-faq {
	max-width: 820px;
	margin-inline: auto;
	display: grid;
	gap: 14px;
}

.tk-faq__item {
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	overflow: hidden;
	transition: box-shadow 0.3s var(--tk-ease), border-color 0.3s var(--tk-ease);
}

.tk-faq__item.is-open {
	box-shadow: var(--tk-shadow);
	border-color: rgba(245, 166, 35, 0.5);
}

.tk-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	background: none;
	border: 0;
	text-align: left;
	font-weight: 700;
	font-size: 1rem;
	color: var(--tk-navy);
	cursor: pointer;
	font-family: inherit;
}

.tk-faq__icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(245, 166, 35, 0.16);
	color: var(--tk-accent-dark);
	display: grid;
	place-items: center;
	font-size: 1.15rem;
	font-weight: 700;
	transition: transform 0.3s var(--tk-ease);
}

.tk-faq__item.is-open .tk-faq__icon {
	transform: rotate(45deg);
}

.tk-faq__a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s var(--tk-ease);
}

.tk-faq__a-inner {
	padding: 0 22px 22px;
	color: var(--tk-muted);
	font-size: 0.95rem;
}


/* ==========================================================================
   14. CTA
   ========================================================================== */

.tk-cta {
	position: relative;
	background: var(--tk-navy);
	color: #fff;
	overflow: hidden;
	padding: clamp(60px, 8vw, 100px) 0;
	text-align: center;
}

.tk-cta__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.2;
}

.tk-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, var(--tk-navy) 25%, rgba(18, 63, 103, 0.85) 100%);
}

.tk-cta__inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin-inline: auto;
}

.tk-cta h2 {
	color: #fff;
	text-transform: uppercase;
}

.tk-cta p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.05rem;
	margin-bottom: 30px;
}

.tk-cta .tk-btn-row {
	justify-content: center;
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.tk-site-footer {
	background: #07131f;
	color: rgba(255, 255, 255, 0.68);
	padding: clamp(46px, 6vw, 70px) 0 0;
	font-size: 0.92rem;
}

.tk-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 34px;
	padding-bottom: 40px;
}

.tk-site-footer h3 {
	color: #fff;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.tk-site-footer a {
	color: rgba(255, 255, 255, 0.72);
}

.tk-site-footer a:hover {
	color: var(--tk-accent);
}

.tk-footer-brand .tk-brand__text strong {
	color: #fff;
}

.tk-footer-brand .tk-brand__text span {
	color: rgba(255, 255, 255, 0.55);
}

.tk-footer-about {
	margin-top: 16px;
	max-width: 340px;
}

.tk-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.tk-footer-list a,
.tk-legal-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
}

.tk-footer-contact a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
}

.tk-footer-contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 12px;
}

.tk-footer-contact svg {
	flex-shrink: 0;
	margin-top: 4px;
	color: var(--tk-accent);
}

.tk-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 0.84rem;
}

.tk-socials {
	display: flex;
	gap: 10px;
}

.tk-socials a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.08);
	transition: background 0.25s var(--tk-ease), transform 0.25s var(--tk-ease);
}

.tk-socials a:hover {
	background: var(--tk-accent);
	color: var(--tk-navy);
	transform: translateY(-2px);
}


/* ==========================================================================
   16. MOBILE STICKY CTA
   ========================================================================== */

.tk-mobile-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--tk-z-mobile-cta);
	display: none;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 -6px 24px rgba(11, 31, 51, 0.18);
	padding-bottom: env(safe-area-inset-bottom);
}

.tk-mobile-cta a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 10px;
	font-weight: 800;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--tk-navy);
	background: var(--tk-accent);
}

.tk-mobile-cta a:last-child {
	background: var(--tk-blue);
	color: #fff;
}

.tk-mobile-cta a:active {
	transform: translateY(1px);
}


/* ==========================================================================
   17. PAGE / POST CONTENT
   ========================================================================== */

.tk-page-hero {
	background: var(--tk-navy);
	color: #fff;
	padding: clamp(44px, 6vw, 76px) 0;
	position: relative;
	overflow: hidden;
}

.tk-page-hero h1 {
	color: #fff;
	margin-bottom: 0;
}

.tk-page-hero p {
	color: rgba(255, 255, 255, 0.76);
	max-width: 680px;
	margin-bottom: 0;
}

.tk-breadcrumb {
	font-size: 0.85rem;
	margin-bottom: 14px;
	color: rgba(255, 255, 255, 0.62);
}

.tk-breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
	display: inline-flex;
	align-items: center;
	min-height: 28px;
}

.tk-breadcrumb a:hover {
	color: var(--tk-accent);
}

.tk-breadcrumb .sep {
	margin: 0 8px;
	opacity: 0.5;
}

.tk-content-wrap {
	padding: clamp(44px, 6vw, 80px) 0;
}

.tk-content {
	max-width: 860px;
	font-size: 1.02rem;
}

.tk-content h2 {
	margin-top: 1.8em;
}

.tk-content h3 {
	margin-top: 1.5em;
}

.tk-content img {
	border-radius: var(--tk-radius);
}

.tk-content ul,
.tk-content ol {
	margin-bottom: 1.3em;
}

.tk-content li {
	margin-bottom: 0.5em;
}

.tk-content blockquote {
	margin: 1.6em 0;
	padding: 20px 24px;
	border-left: 4px solid var(--tk-accent);
	background: var(--tk-bg-light);
	border-radius: 0 var(--tk-radius) var(--tk-radius) 0;
	font-style: italic;
}

.tk-sidebar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
}

.tk-widget {
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	padding: 24px;
	margin-bottom: 24px;
}

.tk-widget h3 {
	font-size: 1rem;
	margin-bottom: 16px;
}

.tk-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tk-widget li {
	padding: 9px 0;
	border-bottom: 1px solid var(--tk-border);
}

.tk-widget li:last-child {
	border-bottom: 0;
}

/*
 * Block WordPress mặc định nằm trong sidebar (Latest Posts / Comments / Archives).
 * Không style riêng thì chúng hiển thị thô theo style của core → lệch với
 * giao diện và link quá nhỏ (cao 20px, dưới chuẩn WCAG 2.5.5).
 */
.tk-widget .wp-block-heading,
.tk-widget .wp-block-latest-posts__list,
.tk-widget .wp-block-latest-comments,
.tk-widget .wp-block-archives,
.tk-widget .wp-block-categories {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tk-widget .wp-block-heading {
	font-size: 1rem;
	margin: 0 0 14px;
}

.tk-widget .wp-block-latest-posts__list li,
.tk-widget .wp-block-latest-comments li,
.tk-widget .wp-block-archives li,
.tk-widget .wp-block-categories li {
	border-bottom: 1px solid var(--tk-border);
	padding: 0;
}

.tk-widget .wp-block-latest-posts__list li:last-child,
.tk-widget .wp-block-latest-comments li:last-child,
.tk-widget .wp-block-archives li:last-child,
.tk-widget .wp-block-categories li:last-child {
	border-bottom: 0;
}

.tk-widget .wp-block-latest-posts__post-title,
.tk-widget .wp-block-latest-comments__comment-author,
.tk-widget .wp-block-latest-comments__comment-link,
.tk-widget .wp-block-archives a,
.tk-widget .wp-block-categories a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 8px 0;
	font-size: 0.92rem;
	color: var(--tk-text);
}

.tk-widget .wp-block-latest-posts__post-title:hover,
.tk-widget .wp-block-latest-comments__comment-author:hover,
.tk-widget .wp-block-latest-comments__comment-link:hover,
.tk-widget .wp-block-archives a:hover,
.tk-widget .wp-block-categories a:hover {
	color: var(--tk-accent-dark);
}

.tk-widget .wp-block-latest-comments__comment-meta {
	font-size: 0.88rem;
	color: var(--tk-muted);
}

/* Ô tìm kiếm của block WP trong sidebar phải khớp với form của theme. */
.tk-widget .wp-block-search__inside-wrapper {
	gap: 8px;
}

.tk-widget .wp-block-search__input {
	border: 1px solid var(--tk-border);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 16px;
}

.tk-widget .wp-block-search__button {
	background: var(--tk-navy);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 11px 16px;
	font-weight: 700;
	cursor: pointer;
}

.tk-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.tk-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--tk-border);
	border-radius: 10px;
	font-weight: 700;
	color: var(--tk-navy);
	background: #fff;
}

.tk-pagination .page-numbers.current,
.tk-pagination .page-numbers:hover {
	background: var(--tk-navy);
	border-color: var(--tk-navy);
	color: #fff;
}


/* ==========================================================================
   18. CONTACT PAGE
   ========================================================================== */

.tk-contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: clamp(30px, 5vw, 56px);
	align-items: start;
}

.tk-contact-cards {
	display: grid;
	gap: 16px;
	margin-bottom: 26px;
}

.tk-contact-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	padding: 20px 22px;
	transition: border-color 0.3s var(--tk-ease), box-shadow 0.3s var(--tk-ease);
}

.tk-contact-card:hover {
	border-color: rgba(245, 166, 35, 0.55);
	box-shadow: var(--tk-shadow-sm);
}

.tk-contact-card__icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--tk-navy), var(--tk-blue));
	color: var(--tk-accent);
	flex-shrink: 0;
}

.tk-contact-card__icon svg {
	width: 22px;
	height: 22px;
}

.tk-contact-card h3 {
	font-size: 0.95rem;
	margin-bottom: 4px;
}

.tk-contact-card p,
.tk-contact-card a {
	margin: 0;
	font-size: 0.94rem;
	color: var(--tk-muted);
}

.tk-contact-card a {
	font-weight: 700;
	color: var(--tk-navy);
	display: inline-flex;
	align-items: center;
	min-height: 32px;
}

.tk-contact-card a:hover {
	color: var(--tk-accent-dark);
}

.tk-form-card {
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	padding: clamp(22px, 3vw, 34px);
	box-shadow: var(--tk-shadow-sm);
}

/*
 * Honeypot (chống spam): ẩn hoàn toàn khỏi layout.
 * Dùng clip-path + width/height 0 để ô input không vượt ra ngoài khung chứa
 * (ô nhập tràn ra ngoài dù đã bị `overflow: hidden` vẫn gây cảnh báo
 * "vượt viewport" khi đo bằng getBoundingClientRect).
 */
.tk-honeypot {
	position: absolute !important;
	width: 0;
	height: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: 0;
}

.tk-honeypot label,
.tk-honeypot input {
	width: 0;
	height: 0;
	padding: 0;
	margin: 0;
	border: 0;
	opacity: 0;
	position: absolute;
}

.tk-map {
	margin-top: 34px;
	border-radius: var(--tk-radius);
	overflow: hidden;
	box-shadow: var(--tk-shadow-sm);
	line-height: 0;
}

.tk-map iframe {
	width: 100%;
	height: 420px;
	border: 0;
	display: block;
}


/* ==========================================================================
   19. 404 / EMPTY
   ========================================================================== */

.tk-404 {
	text-align: center;
	padding: clamp(60px, 9vw, 110px) 0;
}

.tk-404__code {
	font-size: clamp(4.5rem, 15vw, 8rem);
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(135deg, var(--tk-navy), var(--tk-accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 12px;
}


/* ==========================================================================
   20. UTILITIES
   ========================================================================== */

.tk-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/*
 * Skip-link ("Bỏ qua tới nội dung chính"): mặc định ẩn, nhưng phải hiện ra khi
 * được focus bằng bàn phím — nếu không, người dùng bàn phím không có cách
 * nào nhảy tới nội dung chính.
 */
.tk-visually-hidden:focus,
.tk-visually-hidden:focus-visible {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: var(--tk-z-skip-link);
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: var(--tk-navy);
	color: #fff;
	font-weight: 700;
	border-radius: 8px;
	box-shadow: var(--tk-shadow-lg);
}

.tk-text-center { text-align: center; }
.tk-mb-0 { margin-bottom: 0; }
.tk-mt-40 { margin-top: 40px; }

.tk-no-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: linear-gradient(135deg, var(--tk-navy), var(--tk-blue));
}

.tk-brand-mark {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--tk-navy), var(--tk-blue));
	color: var(--tk-accent);
	font-weight: 900;
	font-size: 1.1rem;
	flex-shrink: 0;
}
