/* Màu lấy từ logo MasterTrain: khiên xanh dương → vàng, chữ đen/xanh. */
:root {
	--mt-chinh: #1146a8;
	--mt-chinh-dam: #0a2a66;
	--mt-toi: #071a3f;
	--mt-nhan: #f6d32b;
	--mt-nhan-dam: #e5bd0a;
	--mt-chu: #141a26;
	--mt-chu-nhat: #576074;
	--mt-nen: #ffffff;
	--mt-nen-phu: #f3f6fb;
	--mt-vien: #e1e6ef;
	--mt-xanh-la: #18794e;
	--mt-do: #c0392b;
	--mt-bo: 14px;
	--mt-rong: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Be Vietnam Pro", system-ui, sans-serif; color: var(--mt-chu); background: var(--mt-nen); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mt-chinh); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2rem); }

.mt-wrap { max-width: var(--mt-rong); margin: 0 auto; padding: 0 16px; }
.mt-section { padding: 56px 0; }
.mt-section.mt-wrap { padding-left: 16px; padding-right: 16px; }
.mt-section--nen { background: var(--mt-nen-phu); }
.mt-tieu-de { margin-bottom: 28px; max-width: 720px; }
.mt-tieu-de p { color: var(--mt-chu-nhat); margin: 0; }

/* Nút */
.mt-btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--mt-nhan); color: var(--mt-toi); font-weight: 700; text-decoration: none; text-align: center; border: 2px solid var(--mt-nhan); transition: background .15s, border-color .15s; }
.mt-btn:hover { background: var(--mt-nhan-dam); border-color: var(--mt-nhan-dam); }
.mt-btn--vien { background: transparent; color: inherit; border-color: currentColor; }
.mt-btn--vien:hover { background: rgba(127,127,127,.1); border-color: currentColor; }
.mt-btn--nho { padding: 8px 16px; font-size: .92rem; }
.mt-btn--rong { display: block; width: 100%; margin-top: 10px; }

/* Header */
.mt-header { background: var(--mt-nen); border-bottom: 1px solid var(--mt-vien); position: sticky; top: 0; z-index: 50; }
.mt-header__in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.mt-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mt-chu); margin-right: auto; }
.mt-logo__chu { display: flex; flex-wrap: wrap; align-items: baseline; line-height: 1.1; font-size: 1.3rem; font-weight: 800; }
.mt-logo__chu b { font-weight: 800; }
.mt-logo__chu i { font-style: normal; color: var(--mt-chinh); }
.mt-logo__chu small { flex-basis: 100%; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mt-chu-nhat); }
.mt-header__goi { display: none; }

.mt-nut-menu { order: 3; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; }
.mt-nut-menu span, .mt-nut-menu span::before, .mt-nut-menu span::after { display: block; width: 22px; height: 2px; background: var(--mt-chu); position: relative; }
.mt-nut-menu span::before, .mt-nut-menu span::after { content: ""; position: absolute; }
.mt-nut-menu span::before { top: -7px; }
.mt-nut-menu span::after { top: 7px; }
.mt-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--mt-nen); border-bottom: 1px solid var(--mt-vien); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.mt-mo-menu:checked ~ .mt-nav { display: block; }
.mt-nav ul { list-style: none; margin: 0; padding: 0; }
.mt-nav li a { display: block; padding: 10px 0; color: var(--mt-chu); text-decoration: none; font-weight: 600; }
.mt-nav li a:hover { color: var(--mt-chinh); }

@media (min-width: 960px) {
	.mt-nut-menu { display: none; }
	.mt-nav { display: block; position: static; border: 0; padding: 0; background: none; box-shadow: none; }
	.mt-nav ul { display: flex; gap: 26px; }
	.mt-header__goi { display: inline-block; }
}

/* Hero */
.mt-hero, .mt-dau-khoa { background: radial-gradient(120% 100% at 100% 0%, var(--mt-chinh) 0%, var(--mt-chinh-dam) 45%, var(--mt-toi) 100%); color: #fff; padding: 48px 0 56px; }
.mt-hero__in, .mt-dau-khoa__in { display: grid; gap: 32px; align-items: center; }
.mt-hero h1, .mt-dau-khoa h1 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); font-weight: 800; }
.mt-hero h1 span { color: var(--mt-nhan); }
.mt-hero__mo-ta { color: #d5def0; max-width: 60ch; font-size: 1.08rem; }
.mt-hero__diem { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.mt-hero__diem li { padding-left: 30px; position: relative; }
.mt-hero__diem li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--mt-nhan); color: var(--mt-toi); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.mt-hero__nut { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mt-hero__anh img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.12); }
.mt-eyebrow { color: var(--mt-nhan); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin: 0 0 12px; }
@media (min-width: 900px) {
	.mt-hero, .mt-dau-khoa { padding: 72px 0 80px; }
	.mt-hero__in, .mt-dau-khoa__in { grid-template-columns: 1.15fr .85fr; gap: 56px; }
	.mt-hero__anh img { aspect-ratio: 4 / 5; }
}

/* Lưới */
.mt-luoi-khoa, .mt-luoi-nganh, .mt-luoi-lop, .mt-luoi-ly-do { display: grid; gap: 18px; grid-template-columns: 1fr; }
.mt-luoi-nganh { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 680px) { .mt-luoi-khoa, .mt-luoi-lop, .mt-luoi-ly-do { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mt-luoi-nganh, .mt-luoi-ly-do { grid-template-columns: repeat(4, 1fr); } .mt-luoi-lop { grid-template-columns: repeat(3, 1fr); } }

/* Thẻ khóa học */
.mt-the-khoa { background: var(--mt-nen); border: 1px solid var(--mt-vien); border-radius: var(--mt-bo); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.mt-the-khoa:hover { box-shadow: 0 14px 34px rgba(10,42,102,.12); transform: translateY(-2px); }
.mt-the-khoa__anh img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mt-the-khoa__than { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.mt-the-khoa h3 { font-size: 1.2rem; }
.mt-the-khoa h3 a { color: inherit; text-decoration: none; }
.mt-the-khoa p { color: var(--mt-chu-nhat); margin: 0 0 12px; }
.mt-the-khoa__tt { list-style: none; padding: 0; margin: 0 0 16px; font-size: .93rem; display: grid; gap: 4px; }
.mt-the-khoa__chan { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--mt-vien); }
.mt-gia { font-weight: 800; color: var(--mt-chinh); font-size: 1.15rem; }

/* Thẻ ngành */
.mt-the-nganh { position: relative; display: block; border-radius: var(--mt-bo); overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 3 / 4; background: var(--mt-chinh-dam); }
.mt-the-nganh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mt-the-nganh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,26,63,.88)); }
.mt-the-nganh strong { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; font-size: 1.05rem; }
.mt-the-nganh:hover img { transform: scale(1.04); }

/* Lý do */
.mt-luoi-ly-do > div { padding: 22px; border-radius: var(--mt-bo); background: var(--mt-nen-phu); border-top: 4px solid var(--mt-nhan); }
.mt-luoi-ly-do strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.mt-luoi-ly-do p { margin: 0; color: var(--mt-chu-nhat); }

/* CTA */
.mt-cta { background: var(--mt-toi); color: #fff; padding: 48px 0; }
.mt-cta__in { display: grid; gap: 8px; align-items: center; }
.mt-cta p { color: #c6d1e6; margin: 0; }
@media (min-width: 900px) { .mt-cta__in { grid-template-columns: 1fr auto; } .mt-cta .mt-hero__nut { margin-top: 0; } }

/* Đợt khai giảng (thẻ) */
.mt-the-lop { background: var(--mt-nen); border: 1px solid var(--mt-vien); border-radius: var(--mt-bo); padding: 20px; display: flex; flex-direction: column; }
.mt-the-lop h3 a { text-decoration: none; color: inherit; }
.mt-the-lop .mt-btn { margin-top: auto; align-self: flex-start; }
.mt-the-lop__tt { list-style: none; padding: 0; margin: 0 0 12px; color: var(--mt-chu-nhat); display: grid; gap: 4px; }
.mt-nhan { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 600; background: #e8eefb; color: var(--mt-chinh); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.mt-cho { font-weight: 700; color: var(--mt-xanh-la); }
.mt-cho--het { color: var(--mt-do); }
.mt-trong { color: var(--mt-chu-nhat); }

/* Trang khóa / lớp: nội dung + khung đăng ký */
.mt-lop { display: grid; gap: 32px; }
.mt-lop__dat-cho { border: 1px solid var(--mt-vien); border-radius: var(--mt-bo); padding: 22px; align-self: start; background: var(--mt-nen); box-shadow: 0 10px 30px rgba(10,42,102,.08); }
.mt-gia-lon { font-size: 1.9rem; font-weight: 800; color: var(--mt-chinh); margin: 0; }
.mt-gia-lon small { font-size: .9rem; font-weight: 500; color: var(--mt-chu-nhat); }
.mt-uu-dai { background: #fff6cf; border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: .92rem; margin: 10px 0 14px; }
.mt-dot { padding-left: 18px; margin: 0 0 8px; }
.mt-goi { display: block; text-align: center; margin-top: 12px; font-weight: 600; }
@media (min-width: 960px) { .mt-lop { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } .mt-lop__dat-cho { position: sticky; top: 88px; } }

/* Nội dung bài (soạn trong wp-admin) */
.mt-bai > * { max-width: 760px; }
.mt-bai h2 { margin-top: 1.8em; padding-top: .2em; }
.mt-bai h2:first-child { margin-top: 0; }
.mt-bai ul { padding-left: 1.2em; }
.mt-bai li { margin-bottom: .35em; }
.mt-bai table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.mt-bai th, .mt-bai td { border: 1px solid var(--mt-vien); padding: 10px 12px; text-align: left; vertical-align: top; }
.mt-bai th { background: var(--mt-nen-phu); }
.mt-bai figure { margin: 1.5em 0; }
.mt-bai img { border-radius: var(--mt-bo); }
.mt-bai .mt-anh-doi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mt-bai .mt-anh-doi img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.mt-bai .mt-lo-trinh { list-style: none; padding: 0; counter-reset: buoc; }
.mt-bai .mt-lo-trinh > li { counter-increment: buoc; position: relative; padding: 4px 0 18px 54px; border-left: 2px solid var(--mt-vien); margin-left: 18px; }
.mt-bai .mt-lo-trinh > li::before { content: counter(buoc); position: absolute; left: -19px; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--mt-chinh); color: #fff; font-weight: 800; display: grid; place-items: center; }
.mt-bai .mt-lo-trinh > li:last-child { border-left-color: transparent; }
.mt-faq { border: 1px solid var(--mt-vien); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: var(--mt-nen); }
.mt-faq summary { cursor: pointer; font-weight: 700; }
.mt-faq[open] summary { margin-bottom: 8px; color: var(--mt-chinh); }
.mt-faq p { margin: 0; }


/* Footer */
.mt-footer { background: var(--mt-toi); color: #c6d1e6; padding: 44px 0 16px; border-top: 4px solid var(--mt-nhan); }
.mt-footer a { color: #fff; }
.mt-footer__in { display: grid; gap: 24px; }
.mt-footer ul { list-style: none; padding: 0; margin: 0; }
.mt-footer p { margin: .3em 0; }
.mt-footer__ban-quyen { font-size: .85rem; opacity: .7; margin-top: 24px !important; }
@media (min-width: 800px) { .mt-footer__in { grid-template-columns: 2fr 1fr; } }


/* =====================================================================
 * Trang chủ v2
 * ================================================================== */

.mt-btn--lon { padding: 15px 28px; font-size: 1.02rem; }
.mt-btn--kinh { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.mt-btn--kinh:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.mt-eyebrow--toi { color: var(--mt-chinh); }

/* Hero */
.mt-hero2 { position: relative; overflow: hidden; background: var(--mt-toi); color: #fff; padding: 56px 0 72px; isolation: isolate; }
.mt-hero2__nen { position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(40% 50% at 85% 20%, rgba(246,211,43,.28), transparent 70%),
		radial-gradient(50% 60% at 10% 90%, rgba(17,70,168,.75), transparent 70%),
		radial-gradient(60% 70% at 70% 100%, rgba(17,70,168,.5), transparent 70%),
		var(--mt-toi); }
/* Họa tiết lỗ khóa mờ — gợi nghề mà không cần ảnh nền nặng. */
.mt-hero2__nen::after { content: ""; position: absolute; inset: 0; opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath fill='%23fff' d='M32 18a7 7 0 0 0-3.5 13.06L26 46h12l-2.5-14.94A7 7 0 0 0 32 18z'/%3E%3C/svg%3E");
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.mt-hero2__in { display: grid; gap: 48px; align-items: center; }
.mt-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; font-weight: 600; margin: 0 0 22px; }
.mt-pill__cham { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: mt-nhip 2s infinite; }
@keyframes mt-nhip { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.mt-hero2 h1 { font-size: clamp(2.2rem, 7vw, 4.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 20px; }
.mt-chu-sang { background: linear-gradient(90deg, #ffe46b, var(--mt-nhan) 40%, #ffb703); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-hero2__mo-ta { color: #c9d4ea; font-size: 1.12rem; max-width: 56ch; margin: 0; }
.mt-hero2__tin { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 14px 28px; color: #c9d4ea; font-size: .92rem; }
.mt-hero2__tin li { display: flex; align-items: center; gap: 10px; }
.mt-hero2__tin b { font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1; }

.mt-hero2__ghep { position: relative; max-width: 460px; margin: 0 auto; width: 100%; padding: 0 24px 40px 0; }
.mt-hero2__anh-chinh img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.mt-hero2__anh-chinh { transform: rotate(2deg); }
.mt-hero2__anh-phu { position: absolute; width: 38%; border-radius: 20px; overflow: hidden; border: 5px solid var(--mt-toi); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.mt-hero2__anh-phu img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.mt-hero2__anh-phu--1 { left: -6%; bottom: 0; transform: rotate(-6deg); }
.mt-hero2__anh-phu--2 { right: -2%; top: -4%; width: 30%; transform: rotate(8deg); }
.mt-noi { position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.95); color: var(--mt-chu); box-shadow: 0 16px 36px rgba(0,0,0,.25); font-size: .82rem; line-height: 1.3; animation: mt-troi 5s ease-in-out infinite; }
.mt-noi span { font-size: 1.4rem; }
.mt-noi b { display: block; font-size: .9rem; }
.mt-noi small { color: var(--mt-chu-nhat); }
.mt-noi--1 { right: -4%; bottom: 22%; }
.mt-noi--2 { left: -8%; top: 18%; animation-delay: -2.5s; }
@keyframes mt-troi { 50% { transform: translateY(-8px); } }
/* Điện thoại: thu nhỏ ảnh ghép và kéo thẻ nổi vào trong, nếu không sẽ bị cắt ở mép màn hình. */
@media (max-width: 959px) {
	.mt-hero2__ghep { max-width: 340px; padding: 0 12px 32px 12px; }
	.mt-hero2__anh-phu--1 { left: 0; }
	.mt-hero2__anh-phu--2 { right: 0; }
	.mt-noi--1 { right: 0; }
	.mt-noi--2 { left: 0; }
}
@media (min-width: 960px) {
	.mt-hero2 { padding: 88px 0 110px; }
	.mt-hero2__in { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}

/* Dải chữ chạy */
.mt-chay { background: var(--mt-nhan); color: var(--mt-toi); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); margin: -18px -8px 0; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(7,26,63,.18); }
.mt-chay__dai { display: flex; gap: 22px; width: max-content; animation: mt-chay 38s linear infinite; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; white-space: nowrap; }
.mt-chay__dai i { font-style: normal; opacity: .55; }
@keyframes mt-chay { to { transform: translateX(-50%); } }

/* Khóa học dạng lớn */
.mt-khoa-lon { display: grid; gap: 24px; }
.mt-khoa-lon__the { display: grid; background: var(--mt-nen); border-radius: 24px; overflow: hidden; border: 1px solid var(--mt-vien); box-shadow: 0 2px 0 var(--mt-vien); transition: transform .25s, box-shadow .25s; }
.mt-khoa-lon__the:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(10,42,102,.14); }
.mt-khoa-lon__anh { position: relative; display: block; overflow: hidden; }
.mt-khoa-lon__anh img { width: 100%; height: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .5s; }
.mt-khoa-lon__the:hover .mt-khoa-lon__anh img { transform: scale(1.05); }
.mt-khoa-lon__tl { position: absolute; left: 14px; top: 14px; background: rgba(7,26,63,.85); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px); }
.mt-khoa-lon__than { padding: 26px; display: flex; flex-direction: column; }
.mt-khoa-lon h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
.mt-khoa-lon h3 a { color: inherit; text-decoration: none; }
.mt-khoa-lon__than > p { color: var(--mt-chu-nhat); margin: 0 0 16px; }
.mt-tick { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.mt-tick li { padding-left: 28px; position: relative; }
.mt-tick li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 6px; background: #e8eefb; color: var(--mt-chinh); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.mt-khoa-lon__chan { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px dashed var(--mt-vien); }
.mt-khoa-lon__chan small { display: block; color: var(--mt-chu-nhat); font-size: .8rem; }
.mt-khoa-lon .mt-gia { font-size: 1.7rem; }
@media (min-width: 860px) {
	.mt-khoa-lon__the { grid-template-columns: 1fr 1.1fr; }
	.mt-khoa-lon__the:nth-child(even) .mt-khoa-lon__anh { order: 2; }
	.mt-khoa-lon__than { padding: 40px; }
}

/* Lộ trình 3 bước */
.mt-lo-trinh-2 { background: var(--mt-toi); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.mt-lo-trinh-2::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(17,70,168,.8), transparent 70%); }
.mt-lo-trinh-2 .mt-wrap { position: relative; }
.mt-buoc { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: none; }
.mt-buoc li { position: relative; padding: 28px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.mt-buoc li p { color: #c9d4ea; margin: 0; }
.mt-buoc__so { display: block; font-size: 3.4rem; font-weight: 800; line-height: 1; margin-bottom: 14px; color: transparent; -webkit-text-stroke: 1.5px var(--mt-nhan); }
.mt-buoc li:last-child { background: linear-gradient(135deg, rgba(246,211,43,.22), rgba(246,211,43,.05)); border-color: rgba(246,211,43,.45); }
@media (min-width: 900px) {
	.mt-buoc { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.mt-buoc li:not(:last-child)::after { content: "→"; position: absolute; right: -20px; top: 44px; color: var(--mt-nhan); font-size: 1.4rem; font-weight: 800; z-index: 1; }
}

/* Ngành v2 */
.mt-the-nganh__so { position: absolute; top: 12px; left: 14px; z-index: 1; font-weight: 800; font-size: .85rem; color: var(--mt-toi); background: var(--mt-nhan); border-radius: 8px; padding: 2px 8px; }
.mt-the-nganh strong span { display: inline-block; transition: transform .2s; }
.mt-the-nganh:hover strong span { transform: translateX(5px); }

/* Thu nhập */
.mt-thu-nhap { background: linear-gradient(180deg, var(--mt-nen-phu), var(--mt-nen)); padding: 72px 0; }
.mt-thu-nhap__in { display: grid; gap: 40px; align-items: end; }
.mt-thu-nhap p { color: var(--mt-chu-nhat); }
.mt-cot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; height: 320px; }
.mt-cot__muc { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.mt-cot__muc b { font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 800; color: var(--mt-chinh); margin-bottom: 8px; }
.mt-cot__muc span { display: block; height: var(--cao); min-height: 40px; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, #2f6be0, var(--mt-chinh-dam)); }
.mt-cot__muc--dinh span { background: linear-gradient(180deg, #ffe46b, var(--mt-nhan-dam)); }
.mt-cot__muc--dinh b { color: var(--mt-chu); }
.mt-cot__muc small { margin-top: 10px; color: var(--mt-chu-nhat); font-size: .85rem; line-height: 1.3; }
@media (min-width: 900px) { .mt-thu-nhap__in { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Thư viện ảnh */
.mt-thu-vien { columns: 2; column-gap: 12px; }
.mt-thu-vien figure { margin: 0 0 12px; break-inside: avoid; border-radius: 16px; overflow: hidden; }
.mt-thu-vien img { width: 100%; transition: transform .5s; }
.mt-thu-vien figure:nth-child(3n+1) img { aspect-ratio: 3 / 4; object-fit: cover; }
.mt-thu-vien figure:nth-child(3n+2) img { aspect-ratio: 1; object-fit: cover; }
.mt-thu-vien figure:nth-child(3n) img { aspect-ratio: 4 / 5; object-fit: cover; }
.mt-thu-vien figure:hover img { transform: scale(1.04); }
@media (min-width: 900px) { .mt-thu-vien { columns: 4; column-gap: 16px; } .mt-thu-vien figure { margin-bottom: 16px; } }

/* Lý do v2 */
.mt-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mt-nen); box-shadow: 0 6px 16px rgba(10,42,102,.1); font-size: 1.4rem; margin-bottom: 14px; }
.mt-luoi-ly-do > div { background: var(--mt-nen); border-top: 0; border: 1px solid var(--mt-vien); transition: transform .2s, box-shadow .2s; }
.mt-luoi-ly-do > div:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(10,42,102,.1); }

/* CTA v2 */
.mt-cta2 { padding: 72px 0; }
.mt-cta2__hop { position: relative; overflow: hidden; display: grid; gap: 22px; padding: 40px 28px; border-radius: 28px; color: #fff;
	background: radial-gradient(60% 120% at 100% 0%, rgba(246,211,43,.35), transparent 60%), linear-gradient(135deg, var(--mt-chinh), var(--mt-toi)); }
.mt-cta2__hop p { color: #d5def0; margin: 0; }
.mt-cta2__hop h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.mt-cta2__khien { position: absolute; right: -30px; bottom: -40px; width: 220px; opacity: .12; filter: grayscale(1) brightness(3); pointer-events: none; }
.mt-cta2 .mt-hero__nut { margin-top: 0; }
@media (min-width: 900px) { .mt-cta2__hop { grid-template-columns: 1fr auto; align-items: center; padding: 56px; } }

/* Hiện dần khi cuộn: CSS thuần (scroll-driven animation), trình duyệt cũ thì hiện luôn. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.mt-hien { animation: mt-hien linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
		@keyframes mt-hien { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
	}
}
@media (prefers-reduced-motion: reduce) {
	.mt-chay__dai, .mt-noi, .mt-pill__cham { animation: none; }
}

/* =====================================================================
 * Trang khóa học v2 + form đăng ký
 * ================================================================== */

.mt-hero2--khoa { padding-bottom: 96px; }
.mt-hero2--khoa h1 { font-size: clamp(2rem, 5.6vw, 3.4rem); }
.mt-duong-dan { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #9fb0d0; margin-bottom: 18px; }
.mt-duong-dan a { color: #c9d4ea; text-decoration: none; }
.mt-duong-dan a:hover { color: #fff; }
.mt-chip { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mt-chip li { padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.mt-chip small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #9fb0d0; }
.mt-chip b { font-size: .98rem; }
.mt-chip__gia { color: var(--mt-nhan); font-size: 1.15rem !important; }
.mt-hero2__ghep--don { padding-bottom: 0; }
.mt-hero2__ghep--don .mt-noi--1 { bottom: 10%; right: -6%; max-width: 250px; }
@media (max-width: 959px) { .mt-hero2__ghep--don .mt-noi--1 { right: 0; } }

/* Điểm nổi bật: dải thẻ trắng đè lên mép dưới hero */
.mt-diem-noi { list-style: none; padding: 0; margin: -56px 0 0; position: relative; z-index: 3; display: grid; gap: 12px; grid-template-columns: 1fr; }
.mt-diem-noi li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--mt-nen); border-radius: 18px; box-shadow: 0 18px 40px rgba(7,26,63,.12); font-weight: 600; line-height: 1.35; }
.mt-diem-noi span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff6cf; font-size: 1.3rem; }
@media (min-width: 640px) { .mt-diem-noi { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mt-diem-noi { grid-template-columns: repeat(4, 1fr); } }

/* Nội dung khóa học */
.mt-bai--khoa h2 { position: relative; padding-left: 18px; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.mt-bai--khoa h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--mt-nhan), var(--mt-chinh)); }
.mt-bai--khoa table { border-radius: 14px; overflow: hidden; border: 1px solid var(--mt-vien); border-collapse: separate; border-spacing: 0; }
.mt-bai--khoa th, .mt-bai--khoa td { border: 0; border-bottom: 1px solid var(--mt-vien); }
.mt-bai--khoa tr:last-child td { border-bottom: 0; }
.mt-bai--khoa thead th { background: var(--mt-chinh); color: #fff; }
.mt-bai--khoa tbody tr:nth-child(even) td { background: var(--mt-nen-phu); }
.mt-bai--khoa td:first-child { font-weight: 700; color: var(--mt-chinh); white-space: nowrap; }
.mt-bai--khoa ul:not([class]) { list-style: none; padding: 0; }
.mt-bai--khoa ul:not([class]) li { padding-left: 30px; position: relative; margin-bottom: .6em; }
.mt-bai--khoa ul:not([class]) li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: #e8eefb; color: var(--mt-chinh); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.mt-bai--khoa .mt-lo-trinh > li { background: var(--mt-nen-phu); border-radius: 0 14px 14px 0; padding: 14px 18px 14px 40px; margin-bottom: 12px; border-left: 3px solid var(--mt-chinh); }
.mt-bai--khoa .mt-lo-trinh > li::before { left: -20px; top: 12px; box-shadow: 0 0 0 5px var(--mt-nen); }
.mt-bai--khoa .mt-lo-trinh > li:last-child { border-left-color: var(--mt-nhan); }
.mt-bai--khoa .mt-anh-doi img { border-radius: 18px; }
.mt-bai--khoa .mt-faq { padding: 0; overflow: hidden; }
.mt-bai--khoa .mt-faq summary { list-style: none; padding: 16px 52px 16px 18px; position: relative; }
.mt-bai--khoa .mt-faq summary::-webkit-details-marker { display: none; }
.mt-bai--khoa .mt-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mt-nen-phu); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s, background .2s; }
.mt-bai--khoa .mt-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--mt-nhan); }
.mt-bai--khoa .mt-faq[open] summary { margin-bottom: 0; }
.mt-bai--khoa .mt-faq p { padding: 0 18px 18px; color: var(--mt-chu-nhat); }

/* Khung đăng ký bên phải */
.mt-the-dk { padding: 0; overflow: hidden; border-radius: 22px; box-shadow: 0 24px 60px rgba(10,42,102,.14); border: 1px solid var(--mt-vien); }
.mt-the-dk__gia { padding: 22px 24px 18px; background: linear-gradient(135deg, var(--mt-chinh), var(--mt-toi)); color: #fff; }
.mt-the-dk__gia small { color: #c9d4ea; }
.mt-the-dk__gia .mt-gia-lon { color: #fff; font-size: 2rem; margin: 2px 0 0; }
.mt-the-dk__gia .mt-uu-dai { margin: 12px 0 0; background: var(--mt-nhan); color: var(--mt-toi); }
.mt-the-dk .mt-dot { margin: 16px 24px 0; }
.mt-the-dk__lien-he { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--mt-vien); }
.mt-the-dk__lien-he a { padding: 14px; text-align: center; font-weight: 700; text-decoration: none; }
.mt-the-dk__lien-he a + a { border-left: 1px solid var(--mt-vien); }
.mt-the-dk > .mt-btn--vien { width: auto; margin: 0 24px 18px; }
@media (min-width: 960px) {
	.mt-lop--khoa { grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; }
	/* Khung cao hơn màn hình thì sticky sẽ che mất nút Gửi; chỉ dính khi màn đủ cao. */
	.mt-the-dk { position: static; }
}
@media (min-width: 960px) and (min-height: 900px) { .mt-the-dk { position: sticky; top: 84px; } }

/* Form */
.mt-form { padding: 22px 24px; scroll-margin-top: 90px; }
.mt-form__tieu-de { font-size: 1.2rem; margin-bottom: 4px; }
.mt-form__phu { color: var(--mt-chu-nhat); font-size: .9rem; margin: 0 0 16px; }
.mt-truong { display: block; margin-bottom: 12px; }
.mt-truong span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; }
.mt-truong b { color: var(--mt-do); }
.mt-truong input, .mt-truong select, .mt-truong textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1.5px solid var(--mt-vien); border-radius: 12px; background: var(--mt-nen); color: var(--mt-chu); transition: border-color .15s, box-shadow .15s; }
.mt-truong input:focus, .mt-truong select:focus, .mt-truong textarea:focus { outline: none; border-color: var(--mt-chinh); box-shadow: 0 0 0 4px rgba(17,70,168,.12); }
.mt-truong textarea { resize: vertical; }
.mt-truong-doi { display: grid; gap: 0; }
.mt-form button { cursor: pointer; font: inherit; font-weight: 800; margin-top: 4px; }
.mt-form__cam-ket { font-size: .78rem; color: var(--mt-chu-nhat); margin: 10px 0 0; text-align: center; }
.mt-form__loi { background: #fdecea; color: #a12a1e; padding: 10px 12px; border-radius: 10px; font-size: .9rem; margin: 0 0 14px; }
.mt-form__bay { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mt-form__xong { text-align: center; padding: 14px 0; }
.mt-form__tick { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #e3f6ec; color: var(--mt-xanh-la); font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.mt-form__xong p { color: var(--mt-chu-nhat); margin: 0; }

/* Danh sách đợt khai giảng trong khung đăng ký */
.mt-the-dk .mt-dot { list-style: none; margin: 0; padding: 16px 24px 0; display: grid; gap: 8px; }
.mt-the-dk .mt-dot li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; border: 1px solid var(--mt-vien); border-radius: 12px; font-size: .92rem; }
.mt-dot__ngay { font-weight: 700; text-decoration: none; color: var(--mt-chu); }
.mt-dot__coc { margin-left: auto; font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 999px; background: var(--mt-nhan); color: var(--mt-toi); text-decoration: none; }

/* Đợt khai giảng: thẻ lịch + trang chi tiết */
.mt-the-lop { flex-direction: row; gap: 16px; padding: 18px; border-radius: 18px; transition: box-shadow .2s, transform .2s; }
.mt-the-lop:hover { box-shadow: 0 16px 34px rgba(10,42,102,.12); transform: translateY(-2px); }
.mt-the-lop__lich { flex: none; width: 68px; height: 76px; border-radius: 14px; background: linear-gradient(160deg, var(--mt-chinh), var(--mt-toi)); color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; position: relative; overflow: hidden; }
.mt-the-lop__lich::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--mt-nhan); }
.mt-the-lop__lich b { font-size: 1.9rem; font-weight: 800; }
.mt-the-lop__lich small { font-size: .7rem; margin-top: 4px; color: #c9d4ea; }
.mt-the-lop__than { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mt-the-lop h3 { font-size: 1.05rem; margin-bottom: 8px; }
.mt-the-lop__tt { font-size: .88rem; gap: 2px; margin-bottom: 12px; }
.mt-the-lop__chan { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mt-the-lop .mt-btn { margin-top: 0; align-self: auto; }

.mt-noi--lich { gap: 12px; }
.mt-lich-to { display: flex !important; flex-direction: column; align-items: center; justify-content: center; width: 48px; height: 52px; border-radius: 10px; background: var(--mt-chinh); color: #fff; line-height: 1; font-size: 1rem !important; }
.mt-lich-to b { font-size: 1.35rem; }
.mt-lich-to small { font-size: .62rem; color: #c9d4ea; }
.mt-thanh-cho { height: 8px; border-radius: 99px; background: rgba(255,255,255,.18); margin-top: 12px; overflow: hidden; }
.mt-thanh-cho span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mt-nhan), #ff9f1c); }
.mt-tieu-de--hang { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mt-xem-tat-ca { font-weight: 700; text-decoration: none; }
/* Bảng ngắn (2 cột) thì kéo hết chiều ngang; bảng dài vẫn cuộn ngang được nhờ display:block ở .mt-bai table. */
.mt-bai--khoa table { display: table; }

/* Đầu trang đơn giản (trang lưu trữ) */
.mt-dau-trang { background: radial-gradient(60% 120% at 100% 0%, rgba(246,211,43,.22), transparent 60%), linear-gradient(135deg, var(--mt-chinh-dam), var(--mt-toi)); color: #fff; padding: 48px 0 52px; }
.mt-dau-trang h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 800; }
.mt-dau-trang p:last-child { color: #c9d4ea; max-width: 64ch; margin: 0; }

/* Bảng lịch khai giảng */
.mt-bang-lich { background: var(--mt-nen); border: 1px solid var(--mt-vien); border-radius: 20px; overflow: hidden; box-shadow: 0 14px 40px rgba(10,42,102,.08); }
.mt-bang-lich table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mt-bang-lich thead th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #c9d4ea; background: var(--mt-toi); padding: 14px 18px; font-weight: 700; }
.mt-bang-lich td { padding: 16px 18px; border-top: 1px solid var(--mt-vien); vertical-align: middle; }
.mt-bang-lich tbody tr { transition: background .15s; }
.mt-bang-lich tbody tr:hover { background: #f7f9fd; }
.mt-bang-lich__het { opacity: .6; }
.mt-bang-lich__ngay { display: block; text-decoration: none; color: var(--mt-chu); white-space: nowrap; padding-left: 12px; border-left: 4px solid var(--mt-nhan); }
.mt-bang-lich__ngay b { display: block; font-size: 1.08rem; }
.mt-bang-lich__ngay small, .mt-bang-lich td small { display: block; color: var(--mt-chu-nhat); font-size: .8rem; }
.mt-bang-lich__khoa { display: block; font-weight: 700; color: var(--mt-chu); text-decoration: none; margin-bottom: 4px; }
.mt-bang-lich__khoa:hover { color: var(--mt-chinh); }
.mt-bang-lich .mt-nhan { margin: 0; }
.mt-bang-lich__gia { color: var(--mt-chinh); white-space: nowrap; }
.mt-bang-lich__thanh { display: block; width: 86px; height: 6px; border-radius: 99px; background: #e6ebf3; margin-top: 6px; overflow: hidden; }
.mt-bang-lich__thanh i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mt-chinh), #2f6be0); }
.mt-cho--sap { color: #c2410c; }
.mt-cho--sap + .mt-bang-lich__thanh i { background: linear-gradient(90deg, var(--mt-nhan), #ff9f1c); }
.mt-bang-lich__nut { text-align: right; }
.mt-bang-lich__nut .mt-btn { white-space: nowrap; }

/* Điện thoại: mỗi dòng thành một thẻ, nhãn cột lấy từ data-nhan */
@media (max-width: 859px) {
	.mt-bang-lich { background: none; border: 0; box-shadow: none; overflow: visible; }
	.mt-bang-lich thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.mt-bang-lich table, .mt-bang-lich tbody, .mt-bang-lich tr, .mt-bang-lich td { display: block; }
	.mt-bang-lich tr { background: var(--mt-nen); border: 1px solid var(--mt-vien); border-radius: 16px; padding: 6px 16px 14px; margin-bottom: 12px; box-shadow: 0 8px 20px rgba(10,42,102,.06); }
	.mt-bang-lich td { border: 0; padding: 8px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
	.mt-bang-lich td[data-nhan]::before { content: attr(data-nhan); font-size: .78rem; font-weight: 600; color: var(--mt-chu-nhat); text-align: left; flex: none; }
	.mt-bang-lich td:first-child { border-bottom: 1px dashed var(--mt-vien); padding: 10px 0 12px; margin-bottom: 4px; }
	.mt-bang-lich td:first-child::before { display: none; }
	.mt-bang-lich__ngay { text-align: left; }
	.mt-bang-lich__thanh { margin-left: auto; }
	.mt-bang-lich__nut { padding-top: 10px !important; }
	.mt-bang-lich__nut .mt-btn { display: block; width: 100%; padding: 12px; }
}
@media (max-width: 859px) {
	.mt-bang-lich .mt-o { text-align: right; min-width: 0; }
	.mt-bang-lich .mt-o .mt-nhan { margin-top: 4px; }
	.mt-bang-lich .mt-o .mt-bang-lich__thanh { margin: 6px 0 0 auto; }
}

/* Khối Gutenberg trong nội dung khóa học: khối "Chi tiết" nào cũng thành hỏi-đáp, kể cả khối admin mới thêm. */
.mt-bai--khoa details { border: 1px solid var(--mt-vien); border-radius: 12px; margin-bottom: 10px; background: var(--mt-nen); padding: 0; overflow: hidden; }
.mt-bai--khoa details summary { list-style: none; cursor: pointer; font-weight: 700; padding: 16px 52px 16px 18px; position: relative; }
.mt-bai--khoa details summary::-webkit-details-marker { display: none; }
.mt-bai--khoa details summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mt-nen-phu); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s, background .2s; }
.mt-bai--khoa details[open] summary { color: var(--mt-chinh); }
.mt-bai--khoa details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--mt-nhan); }
.mt-bai--khoa details > :not(summary) { padding: 0 18px; color: var(--mt-chu-nhat); }
.mt-bai--khoa details > :last-child:not(summary) { padding-bottom: 18px; margin-bottom: 0; }
.mt-bai .wp-block-table { margin: 0 0 1.5em; }
.mt-bai .mt-anh-doi { margin: 1.5em 0; }
.mt-bai .mt-anh-doi figure { margin: 0; }

/* =====================================================================
 * Nội dung khóa học từ ACF
 * ================================================================== */
.mt-k { margin-bottom: 48px; scroll-margin-top: 140px; }
.mt-k > h2 { margin-top: 0; }
.mt-k__van-ban p { font-size: 1.05rem; }

/* Mục lục dính đầu trang khi cuộn */
.mt-muc-luc { position: sticky; top: 64px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; margin: 0 0 32px; background: var(--mt-nen); border-bottom: 1px solid var(--mt-vien); scrollbar-width: none; max-width: none !important; }
.mt-muc-luc::-webkit-scrollbar { display: none; }
.mt-muc-luc a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--mt-nen-phu); color: var(--mt-chu); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .15s, color .15s; }
.mt-muc-luc a:hover { background: var(--mt-chinh); color: #fff; }

/* Lộ trình: timeline dọc */
.mt-tl { list-style: none; padding: 0; margin: 0; position: relative; }
.mt-tl::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--mt-chinh), var(--mt-nhan)); }
.mt-tl__buoc { position: relative; display: flex; gap: 18px; margin-bottom: 16px; }
.mt-tl__so { flex: none; position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--mt-chinh); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--mt-nen); }
.mt-tl__buoc:last-child .mt-tl__so { background: var(--mt-nhan); color: var(--mt-toi); }
.mt-tl__the { flex: 1; background: var(--mt-nen-phu); border-radius: 16px; padding: 16px 20px; }
.mt-tl__the h3 { font-size: 1.08rem; margin: 0 0 4px; }
.mt-tl__the p { margin: 0; color: var(--mt-chu-nhat); }
.mt-tl__tg { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--mt-chinh); background: #e3ebfb; border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }

/* Giáo trình: accordion theo phần */
.mt-gt { display: grid; gap: 12px; }
.mt-gt__phan { border: 1px solid var(--mt-vien); border-radius: 16px; overflow: hidden; background: var(--mt-nen); }
.mt-gt__phan[open] { box-shadow: 0 12px 30px rgba(10,42,102,.08); border-color: #cfdaf0; }
.mt-gt__phan summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 52px 16px 16px; position: relative; }
.mt-gt__phan summary::-webkit-details-marker { display: none; }
.mt-gt__phan summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mt-nen-phu); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s, background .2s; }
.mt-gt__phan[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--mt-nhan); }
.mt-gt__stt { flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(160deg, var(--mt-chinh), var(--mt-toi)); color: #fff; font-weight: 800; display: grid; place-items: center; }
.mt-gt__ten { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.mt-gt__ten small { display: block; font-weight: 500; font-size: .82rem; color: var(--mt-chu-nhat); margin-top: 2px; }
.mt-gt__bai { list-style: none; margin: 0; padding: 4px 16px 14px 74px; }
.mt-gt__bai li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px dashed var(--mt-vien); }
.mt-gt__bai li::before { content: "✓"; flex: none; color: var(--mt-chinh); font-weight: 800; }
.mt-gt__buoi { flex: none; font-size: .78rem; font-weight: 700; color: var(--mt-toi); background: #fff6cf; border-radius: 6px; padding: 1px 8px; white-space: nowrap; }
@media (max-width: 600px) { .mt-gt__bai { padding-left: 16px; } }

/* Thiết bị */
.mt-tb { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mt-tb li { padding: 10px 16px; border-radius: 12px; background: var(--mt-nen); border: 1px solid var(--mt-vien); font-weight: 600; font-size: .95rem; }

/* Ảnh lớp học */
.mt-k__anh { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.mt-k__anh figure { margin: 0; border-radius: 16px; overflow: hidden; }
.mt-k__anh img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s; }
.mt-k__anh figure:hover img { transform: scale(1.04); }
@media (min-width: 700px) { .mt-k__anh--3 { grid-template-columns: repeat(3, 1fr); } .mt-k__anh--4 { grid-template-columns: repeat(4, 1fr); } }

/* Quyền lợi */
.mt-ql { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mt-ql li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--mt-nen-phu); font-weight: 600; line-height: 1.4; }
.mt-ql li span { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--mt-nen); display: grid; place-items: center; font-size: 1.25rem; box-shadow: 0 4px 12px rgba(10,42,102,.08); }
@media (min-width: 700px) { .mt-ql { grid-template-columns: 1fr 1fr; } }

/* Thu nhập: bậc thang */
.mt-tn { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; }
.mt-tn__muc { border-radius: 16px; padding: 18px; padding-top: calc(18px + var(--bac) * 22px); background: linear-gradient(160deg, #2f6be0, var(--mt-chinh-dam)); color: #fff; }
.mt-tn__muc:last-child { background: linear-gradient(160deg, #ffe46b, var(--mt-nhan-dam)); color: var(--mt-toi); }
.mt-tn__muc small { display: block; opacity: .85; font-size: .85rem; }
.mt-tn__muc b { font-size: 1.25rem; }
.mt-k__chu-thich { font-size: .85rem; color: var(--mt-chu-nhat); margin-top: 10px; }
/* Danh sách có thiết kế riêng: bỏ lề mặc định của .mt-bai ul */
.mt-bai ul.mt-ql, .mt-bai ul.mt-tb, .mt-bai ol.mt-tl { padding-left: 0; }
.mt-bai ul.mt-gt__bai { padding-left: 74px; }
.mt-bai .mt-ql li, .mt-bai .mt-tb li, .mt-bai .mt-gt__bai li, .mt-bai .mt-tl li { margin-bottom: 0; }
.mt-bai .mt-tl li { margin-bottom: 16px; }
@media (max-width: 600px) { .mt-bai ul.mt-gt__bai { padding-left: 16px; } }

/* Nỗi lo → Giải pháp */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-eyebrow--do { color: #d1432f; }
.mt-noi-lo { padding: 80px 0 64px; background: linear-gradient(180deg, #fff 0%, var(--mt-nen-phu) 100%); }
.mt-noi-lo .mt-tieu-de h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); max-width: 22ch; }
.mt-noi-lo__nhan { display: none; }
.mt-noi-lo__ds { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mt-noi-lo__cap { display: grid; gap: 8px; }
.mt-noi-lo__lo, .mt-noi-lo__giai { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; }
.mt-noi-lo__lo p, .mt-noi-lo__giai p { margin: 0; line-height: 1.5; }
.mt-noi-lo__lo { background: #fff; border: 1px dashed #f0b8ae; color: #5b4440; }
.mt-noi-lo__giai { background: var(--mt-nen); border: 1px solid #cfdaf0; box-shadow: 0 12px 30px rgba(10,42,102,.08); font-weight: 600; color: var(--mt-chu); }
.mt-noi-lo__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.mt-noi-lo__lo .mt-noi-lo__icon { background: #fde4df; color: #d1432f; }
.mt-noi-lo__giai .mt-noi-lo__icon { background: var(--mt-chinh); color: #fff; }
.mt-noi-lo__mui { justify-self: center; transform: rotate(90deg); color: var(--mt-nhan-dam); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.mt-noi-lo__ket { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: 20px; background: var(--mt-toi); color: #fff; }
.mt-noi-lo__ket p { margin: 0; font-size: 1.1rem; font-weight: 700; max-width: 52ch; }
@media (min-width: 900px) {
	.mt-noi-lo__nhan { display: grid; grid-template-columns: 1fr 48px 1fr; margin-bottom: 12px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
	.mt-noi-lo__nhan-lo { color: #d1432f; padding-left: 20px; }
	.mt-noi-lo__nhan-giai { grid-column: 3; color: var(--mt-chinh); padding-left: 20px; }
	.mt-noi-lo__cap { grid-template-columns: 1fr 48px 1fr; align-items: stretch; gap: 0; }
	.mt-noi-lo__mui { align-self: center; transform: none; }
}
/* .mt-tieu-de p (màu xám) đang đè màu dòng chữ nhỏ trên tiêu đề */
.mt-tieu-de .mt-eyebrow { color: var(--mt-nhan); }
.mt-tieu-de .mt-eyebrow--toi { color: var(--mt-chinh); }
.mt-tieu-de .mt-eyebrow--do { color: #d1432f; }

/* Khối đăng ký cuối trang chủ: chữ + form */
.mt-cta2__hop--form { align-items: center; }
.mt-cta2__chu { position: relative; z-index: 1; }
.mt-cta2__diem { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.mt-cta2__diem li { padding-left: 30px; position: relative; color: #e2e9f6; }
.mt-cta2__diem li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--mt-nhan); color: var(--mt-toi); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.mt-cta2__hop--form .mt-hero__nut { margin-top: 22px; }
.mt-cta2__form { position: relative; z-index: 1; background: var(--mt-nen); color: var(--mt-chu); border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.mt-cta2__form .mt-form { padding: 24px; }
.mt-cta2__form .mt-form__phu, .mt-cta2__form .mt-form__xong p { color: var(--mt-chu-nhat); }
@media (min-width: 900px) { .mt-cta2__hop--form { grid-template-columns: 1fr 420px; gap: 48px; } }

/* =====================================================================
 * Nút liên hệ nổi (widget ma3) — màu MasterTrain
 * Desktop: 2 nút góc trái. Mobile (<850px): thanh 3 ô dính đáy.
 * ================================================================== */
.ma3 { --ma-zalo: var(--mt-chinh); --ma-oa: var(--mt-toi); --ma-goi: var(--mt-nhan); --ma-goi-chu: var(--mt-toi); --ma-dk: var(--mt-nhan-dam); font-family: inherit; }
.ma3 a { text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ma3 a:focus-visible { outline: 3px solid var(--mt-nhan); outline-offset: 2px; }
.ma3 { position: fixed; left: 24px; bottom: 24px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ma3 .ma3-call { display: none; }
.ma3 .ma3-zalo, .ma3 .ma3-oa { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 15px; padding: 10px 20px 10px 10px; border-radius: 40px; transition: transform .2s, box-shadow .2s; }
.ma3 .ma3-zalo { background: var(--ma-zalo); box-shadow: 0 8px 22px rgba(17,70,168,.4); }
.ma3 .ma3-oa { background: var(--ma-oa); box-shadow: 0 8px 22px rgba(7,26,63,.4); border: 1px solid rgba(246,211,43,.35); }
.ma3 .ma3-zalo:hover, .ma3 .ma3-oa:hover { transform: translateY(-2px); }
.ma3-badge { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ma-zalo); display: flex; align-items: center; justify-content: center; position: relative; font-size: 11px; font-weight: 800; letter-spacing: -.3px; flex-shrink: 0; }
.ma3-zalo .ma3-badge { animation: ma3-pulse 2s infinite; }
.ma3-oa .ma3-badge { color: var(--ma-oa); }
.ma3-oa .ma3-badge::after { content: "✓"; position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--mt-nhan); color: var(--mt-toi); font-size: 9px; font-weight: 800; line-height: 14px; text-align: center; border: 1.5px solid var(--ma-oa); }
@keyframes ma3-pulse { 0% { box-shadow: 0 0 0 0 rgba(246,211,43,.75); } 70% { box-shadow: 0 0 0 10px rgba(246,211,43,0); } 100% { box-shadow: 0 0 0 0 rgba(246,211,43,0); } }

@media (max-width: 849px) {
	.ma3 { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; align-items: stretch; background: var(--ma-oa); box-shadow: 0 -4px 16px rgba(7,26,63,.18); padding-bottom: env(safe-area-inset-bottom); }
	.ma3 .ma3-call, .ma3 .ma3-zalo, .ma3 .ma3-oa, .ma3 .ma3-dk { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 0; box-shadow: none; transform: none; gap: 5px; padding: 11px 4px; font-size: 12px; font-weight: 700; line-height: 1.1; border: 0; }
	.ma3 .ma3-call { background: var(--ma-goi); }
	.ma3 .ma3-call svg path { fill: var(--ma-goi-chu); }
	.ma3 .ma3-oa { border-left: 1px solid rgba(255,255,255,.18); }
	.ma3 .ma3-dk { background: var(--ma-oa); border-left: 1px solid rgba(255,255,255,.18); }
	.ma3 .ma3-dk .ma3-badge { background: var(--mt-nhan); color: var(--mt-toi) !important; font-size: 14px; }
	.ma3-badge { width: 28px; height: 28px; font-size: 9px; }
	.ma3-oa .ma3-badge::after { width: 12px; height: 12px; line-height: 12px; font-size: 8px; }
	.ma3-call svg { width: 28px; height: 28px; padding: 3px; box-sizing: border-box; animation: ma3-ring 1.5s infinite; }
	.ma3-call-text { display: block; min-width: 0; line-height: 14px; }
	.ma3-call-text small { display: none; }
	.ma3-call-text strong { font-size: 13px; font-weight: 800; white-space: nowrap; }
	/* Lấp vùng thanh home iPhone khi Chrome ẩn thanh điều hướng */
	.ma3 > a { position: relative; }
	.ma3 > a::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 50px; background: inherit; pointer-events: none; }
	/* Chặn tràn ngang: iOS sẽ thu nhỏ trang và thanh không sát đáy */
	html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 360px) { .ma3-call-text strong { font-size: 12px; letter-spacing: -.2px; } }
@keyframes ma3-ring { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-15deg); } 20%, 40% { transform: rotate(15deg); } 50% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .ma3-zalo .ma3-badge, .ma3-call svg { animation: none; } }
/* Giữ màu chữ khi hover/nhấn (theme khác hay đổi màu link) */
.ma3 .ma3-zalo, .ma3 .ma3-zalo:hover, .ma3 .ma3-zalo:visited, .ma3 .ma3-oa, .ma3 .ma3-oa:hover, .ma3 .ma3-oa:visited, .ma3 .ma3-dk, .ma3 .ma3-dk:hover, .ma3 .ma3-dk:visited, .ma3 .ma3-zalo span, .ma3 .ma3-oa span, .ma3 .ma3-dk span { color: #fff !important; }
.ma3 .ma3-call, .ma3 .ma3-call:hover, .ma3 .ma3-call:visited, .ma3 .ma3-call strong { color: var(--ma-goi-chu) !important; }
/* Huy hiệu cũng là <span> nên bị luật chữ trắng ở trên đè — cần selector mạnh hơn. */
.ma3 .ma3-zalo .ma3-badge { color: var(--ma-zalo) !important; }
.ma3 .ma3-oa .ma3-badge { color: var(--ma-oa) !important; }
.ma3 a:active { opacity: .85; }

/* Nút "Đăng ký" (thay Zalo OA) — mở popup */
.ma3 .ma3-dk { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 10px 20px 10px 10px; border-radius: 40px; background: var(--mt-nhan); box-shadow: 0 8px 22px rgba(229,189,10,.45); transition: transform .2s; }
.ma3 .ma3-dk:hover { transform: translateY(-2px); }
.ma3 .ma3-dk .ma3-badge { background: var(--mt-toi); color: var(--mt-nhan) !important; font-size: 15px; }
.ma3 .ma3-dk, .ma3 .ma3-dk:hover, .ma3 .ma3-dk:visited, .ma3 .ma3-dk span { color: var(--mt-toi) !important; }
@media (max-width: 849px) {
	.ma3 .ma3-dk { background: var(--ma-oa); border-left: 1px solid rgba(255,255,255,.18); font-size: 12px; padding: 11px 4px; gap: 5px; box-shadow: none; transform: none; border-radius: 0; }
	.ma3 .ma3-dk, .ma3 .ma3-dk:hover, .ma3 .ma3-dk:visited, .ma3 .ma3-dk span { color: #fff !important; }
	.ma3 .ma3-dk .ma3-badge { background: var(--mt-nhan); color: var(--mt-toi) !important; font-size: 14px; }
	.ma3-dk__them { display: none; }
}

/* Popup đăng ký: CSS :target, mở khi URL có #dk-popup */
.mt-popup { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 16px; }
.mt-popup:target { display: flex; animation: mt-popup-hien .2s ease-out; }
.mt-popup__nen { position: absolute; inset: 0; background: rgba(7,26,63,.72); backdrop-filter: blur(3px); cursor: default; }
.mt-popup__hop { position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--mt-nen); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.4); border-top: 6px solid var(--mt-nhan); }
.mt-popup__hop .mt-form { padding: 26px 24px 18px; }
.mt-popup__dong { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; color: var(--mt-chu-nhat); text-decoration: none; background: var(--mt-nen-phu); z-index: 1; }
.mt-popup__dong:hover { background: var(--mt-vien); color: var(--mt-chu); }
.mt-popup__khac { margin: 0; padding: 14px 24px 18px; border-top: 1px solid var(--mt-vien); font-size: .88rem; color: var(--mt-chu-nhat); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.mt-popup__khac a { font-weight: 700; text-decoration: none; }
.mt-form--gon .mt-form__tieu-de { padding-right: 36px; font-size: 1.35rem; }
body:has(.mt-popup:target) { overflow: hidden; }
@keyframes mt-popup-hien { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mt-popup:target { animation: none; } }

/* Ô chọn: bỏ giao diện mặc định (iOS Safari vẽ kiểu riêng, chữ lệch, cao khác ô nhập) và tự vẽ mũi tên */
.mt-truong select {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	height: 48px; line-height: 1.2; padding: 0 42px 0 13px;
	font-size: 16px; /* < 16px thì iOS tự phóng to trang khi chạm vào */
	text-overflow: ellipsis; white-space: nowrap; overflow: hidden; cursor: pointer;
	background-color: var(--mt-nen); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231146a8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
}
.mt-truong input { height: 48px; font-size: 16px; }
.mt-truong select::-ms-expand { display: none; }

/* =====================================================================
 * Blog
 * ================================================================== */
.mt-luoi-bai { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .mt-luoi-bai { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mt-luoi-bai { grid-template-columns: repeat(3, 1fr); } }
.mt-luoi-bai > .mt-hien { display: flex; }
.mt-bai-the { display: flex; flex-direction: column; width: 100%; background: var(--mt-nen); border: 1px solid var(--mt-vien); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.mt-bai-the:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10,42,102,.12); }
.mt-bai-the__anh { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mt-nen-phu); }
.mt-bai-the__anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mt-bai-the:hover .mt-bai-the__anh img { transform: scale(1.05); }
.mt-bai-the__trong { display: grid; place-items: center; height: 100%; font-size: 2.4rem; }
.mt-bai-the__than { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.mt-bai-the__meta { font-size: .8rem; color: var(--mt-chu-nhat); margin: 0 0 8px; }
.mt-bai-the__meta a { font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.mt-bai-the h3 { font-size: 1.12rem; margin-bottom: 8px; }
.mt-bai-the h3 a { color: var(--mt-chu); text-decoration: none; }
.mt-bai-the h3 a:hover { color: var(--mt-chinh); }
.mt-bai-the__than > p:not(.mt-bai-the__meta) { color: var(--mt-chu-nhat); font-size: .94rem; margin: 0 0 14px; }
.mt-bai-the__doc { margin-top: auto; font-weight: 700; text-decoration: none; font-size: .92rem; }
.mt-blog-tc { padding-top: 24px; }
.mt-tieu-de--hang p:not(.mt-eyebrow) { margin: 0; }

/* Trang bài viết */
.mt-dau-trang--bai h1 { max-width: 24ch; }
.mt-bai-meta { color: #c9d4ea; margin: 0; }
.mt-bai__anh-dau { margin: 0 0 28px; }
.mt-bai__anh-dau img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.mt-lop--bai .mt-bai > * { max-width: none; }
.mt-bai--khoa h3 { margin-top: 1.4em; }
.mt-the-dk__ds { padding: 16px 20px 20px; display: grid; gap: 8px; }
.mt-the-dk__ds a:not(.mt-btn) { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--mt-nen-phu); text-decoration: none; color: var(--mt-chu); font-size: .92rem; }
.mt-the-dk__ds a:not(.mt-btn):hover { background: #e8eefb; }
.mt-the-dk__ds small { color: var(--mt-chinh); font-weight: 700; white-space: nowrap; }
.mt-muc-luc--tinh { position: static; border-bottom: 0; }
.mt-muc-luc a.dang-xem { background: var(--mt-chinh); color: #fff; }
.mt-phan-trang .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.mt-phan-trang .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--mt-nen-phu); text-decoration: none; font-weight: 700; }
.mt-phan-trang .page-numbers.current { background: var(--mt-chinh); color: #fff; }
/* .mt-footer p { margin } đè margin auto của .mt-wrap → dòng bản quyền lệch trái */
.mt-footer .mt-footer__ban-quyen { margin: 24px auto 0 !important; }

/* Sidebar bài viết: 2 khối (khóa offline + khóa online) */
.mt-sidebar-bai { display: grid; gap: 18px; align-self: start; }
.mt-sidebar-bai .mt-the-dk { position: static; }
@media (min-width: 960px) and (min-height: 900px) { .mt-sidebar-bai { position: sticky; top: 84px; } }
.mt-the-onl__dau { padding: 18px 20px 14px; background: linear-gradient(135deg, #fff6cf, #ffe9a3); }
.mt-the-onl__nhan { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--mt-toi); color: var(--mt-nhan); padding: 3px 10px; border-radius: 999px; }
.mt-the-onl__dau p { margin: 8px 0 0; font-size: 1.25rem; font-weight: 800; color: var(--mt-toi); }
.mt-the-onl__dau small { color: #6b5a12; }
.mt-the-onl__ds { list-style: none; margin: 0; padding: 12px 14px 0; display: grid; gap: 6px; }
.mt-the-onl__ds a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--mt-chu); }
.mt-the-onl__ds a:hover { background: var(--mt-nen-phu); }
.mt-the-onl__anh { flex: none; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--mt-toi); color: var(--mt-nhan); display: grid; place-items: center; }
.mt-the-onl__anh img { width: 100%; height: 100%; object-fit: cover; }
.mt-the-onl__chu b { display: block; font-size: .9rem; line-height: 1.3; }
.mt-the-onl__chu small { font-size: .82rem; color: var(--mt-chu-nhat); }
.mt-the-onl__chu em { font-style: normal; font-weight: 800; color: var(--mt-chinh); }
.mt-the-onl__chan, .mt-the-onl__sap { padding: 14px 20px 20px; }
.mt-the-onl__sap p { margin: 0 0 12px; font-size: .92rem; color: var(--mt-chu-nhat); }
.mt-the-onl__sap b { color: var(--mt-chu); }
/* aside dùng chung class .mt-lop__dat-cho (có viền, padding) → bỏ khung bao ngoài, mỗi khối tự là thẻ */
.mt-lop__dat-cho.mt-sidebar-bai { border: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
/* Cuộn tới khối đăng ký không bị header dính che mất phần đầu */
#tu-van { scroll-margin-top: 72px; }

/* Video YouTube (ảnh bìa → bấm mới tải iframe) */
.mt-video-tc { background: var(--mt-toi); color: #fff; }
.mt-video-tc .mt-tieu-de p:not(.mt-eyebrow) { color: #c9d4ea; }
.mt-video-tc .mt-xem-tat-ca { color: var(--mt-nhan); }
.mt-luoi-video { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .mt-luoi-video { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mt-luoi-video { grid-template-columns: repeat(3, 1fr); } }
.mt-video { margin: 0; }
.mt-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 0; }
.mt-video--doc .mt-yt { aspect-ratio: 9 / 16; max-height: 560px; margin: 0 auto; }
.mt-yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; opacity: .9; }
.mt-yt:hover img { transform: scale(1.04); opacity: 1; }
.mt-yt__nut { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 14px; background: var(--mt-nhan); box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.mt-yt__nut::after { content: ""; position: absolute; left: 28px; top: 14px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--mt-toi); }
.mt-yt:hover .mt-yt__nut { transform: translate(-50%, -50%) scale(1.1); }
.mt-video figcaption { margin-top: 10px; font-weight: 700; line-height: 1.4; color: #fff; }
/* Toàn video Shorts dọc */
.mt-video-tc--doc .mt-luoi-video { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mt-video-tc--doc .mt-video--doc .mt-yt { max-height: none; }
@media (min-width: 900px) {
	.mt-video-tc--doc .mt-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
	.mt-video-tc--doc .mt-tieu-de--hang { flex-direction: column; align-items: flex-start; margin-bottom: 0; }
	.mt-video-tc--doc .mt-luoi-video { grid-template-columns: repeat(min(var(--so-video), 3), 260px); gap: 18px; }
}
/* .mt-cta2__hop p (chữ sáng cho nền xanh) lọt vào thẻ form trắng → trả lại màu chữ tối cho form */
.mt-cta2__form p { color: var(--mt-chu-nhat); }
.mt-cta2__form .mt-form__loi { color: #a12a1e; }
.mt-cta2__form .mt-form__xong h3 { color: var(--mt-chu); }
/* logo-icon.png có nền trắng (không trong suốt) → làm hình mờ sẽ thành ô vuông xám; ẩn đi */
.mt-cta2__khien { display: none; }

/* =====================================================================
 * Trang Giới thiệu
 * ================================================================== */
.mt-so-lieu { list-style: none; padding: 0; margin: -56px 0 0; position: relative; z-index: 3; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.mt-so-lieu li { background: var(--mt-nen); border-radius: 18px; padding: 20px; box-shadow: 0 18px 40px rgba(7,26,63,.12); text-align: center; }
.mt-so-lieu b { display: block; font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; color: var(--mt-chinh); line-height: 1.1; }
.mt-so-lieu li > span { display: block; margin-top: 4px; color: var(--mt-chu-nhat); font-size: .92rem; }
@media (min-width: 900px) { .mt-so-lieu { grid-template-columns: repeat(4, 1fr); } }

.mt-cau-chuyen { display: grid; gap: 32px; align-items: center; }
.mt-cau-chuyen__nd p { font-size: 1.05rem; color: var(--mt-chu); }
.mt-cau-chuyen__anh { margin: 0; }
.mt-cau-chuyen__anh img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 50px rgba(10,42,102,.18); }
@media (min-width: 900px) { .mt-cau-chuyen { grid-template-columns: 1.2fr .8fr; gap: 64px; } }

.mt-luoi-gv { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mt-gv { background: var(--mt-nen); border: 1px solid var(--mt-vien); border-radius: 18px; padding: 16px; }
.mt-gv__anh { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--mt-nen-phu); display: grid; place-items: center; font-size: 3rem; margin-bottom: 12px; }
.mt-gv__anh img { width: 100%; height: 100%; object-fit: cover; }
.mt-gv h3 { font-size: 1.1rem; margin-bottom: 2px; }
.mt-gv__vt { color: var(--mt-chinh); font-weight: 700; font-size: .9rem; margin: 0 0 6px; }
.mt-gv p:not(.mt-gv__vt) { color: var(--mt-chu-nhat); font-size: .92rem; margin: 0; }

.mt-lien-he { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .mt-lien-he { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mt-lien-he { grid-template-columns: repeat(4, 1fr); } }
.mt-lien-he__o { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 18px; background: var(--mt-nen-phu); text-decoration: none; color: var(--mt-chu); transition: transform .2s, box-shadow .2s; }
.mt-lien-he__o:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(10,42,102,.1); }
.mt-lien-he__o span { font-size: 1.6rem; }
.mt-lien-he__o small { color: var(--mt-chu-nhat); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.mt-lien-he__o b { line-height: 1.35; }
.mt-lien-he__o em { font-style: normal; font-weight: 700; color: var(--mt-chinh); margin-top: auto; padding-top: 8px; font-size: .9rem; }

/* Giới thiệu v2: con số (đếm), sứ mệnh, so sánh, quy trình */
.mt-so-lieu li { position: relative; overflow: hidden; }
.mt-so-lieu li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--mt-chinh), var(--mt-nhan)); }
.mt-so-lieu b { font-variant-numeric: tabular-nums; }

.mt-sm { background: var(--mt-toi); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.mt-sm::before { content: ""; position: absolute; width: 480px; height: 480px; left: -160px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(246,211,43,.22), transparent 70%); }
.mt-sm .mt-wrap { position: relative; }
.mt-sm__luoi { display: grid; gap: 18px; }
@media (min-width: 860px) { .mt-sm__luoi { grid-template-columns: 1fr 1fr; } }
.mt-sm__the { padding: 30px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.mt-sm__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--mt-nhan); font-size: 1.5rem; margin-bottom: 16px; }
.mt-sm__chu { font-size: clamp(1.1rem, 2.4vw, 1.35rem); font-weight: 700; line-height: 1.5; margin: 0; }
.mt-sm__gt { margin-top: 28px; }
.mt-sm__gt ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mt-sm__gt li { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(246,211,43,.45); color: var(--mt-nhan); font-weight: 700; }

.mt-ss { border: 1px solid var(--mt-vien); border-radius: 20px; overflow: hidden; background: var(--mt-nen); box-shadow: 0 14px 40px rgba(10,42,102,.08); }
.mt-ss__dong { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; border-top: 1px solid var(--mt-vien); }
.mt-ss__dong--dau { display: none; }
.mt-ss__dong > b { font-size: 1rem; }
.mt-ss__th, .mt-ss__mt { padding: 10px 12px; border-radius: 10px; font-size: .95rem; line-height: 1.45; }
.mt-ss__th { background: #fdf1ef; color: #6b3a33; }
.mt-ss__mt { background: #eaf1ff; color: var(--mt-chu); font-weight: 600; }
.mt-ss__dong:not(.mt-ss__dong--dau) .mt-ss__th::before { content: attr(data-nhan) ": "; font-weight: 700; }
.mt-ss__dong:not(.mt-ss__dong--dau) .mt-ss__mt::before { content: attr(data-nhan) ": "; font-weight: 800; color: var(--mt-chinh); }
@media (min-width: 860px) {
	.mt-ss__dong { grid-template-columns: 200px 1fr 1fr; gap: 14px; align-items: center; padding: 14px 22px; }
	.mt-ss__dong:first-child { border-top: 0; }
	.mt-ss__dong--dau { display: grid; background: var(--mt-nen-phu); font-weight: 800; font-size: .9rem; }
	.mt-ss__dong--dau .mt-ss__th, .mt-ss__dong--dau .mt-ss__mt { background: none; padding: 0 12px; }
	.mt-ss__dong:not(.mt-ss__dong--dau) .mt-ss__th::before, .mt-ss__dong:not(.mt-ss__dong--dau) .mt-ss__mt::before { content: none; }
}

@media (min-width: 900px) { .mt-buoc--4 { grid-template-columns: repeat(4, 1fr); } .mt-buoc--5 { grid-template-columns: repeat(5, 1fr); } }
.mt-quy-trinh__nut { margin: 32px 0 0; text-align: center; }
.mt-faq-gt .mt-bai > * { max-width: none; }

/* Giá trị cốt lõi: thẻ có giải thích (thay cho nhãn trơn) */
.mt-sm__gt { margin-top: 36px; }
.mt-sm__gt ul.mt-gtri { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .mt-sm__gt ul.mt-gtri { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mt-sm__gt ul.mt-gtri { grid-template-columns: repeat(4, 1fr); } }
.mt-sm__gt .mt-gtri li { display: block; padding: 20px; border-radius: 18px; border: 1px solid rgba(246,211,43,.35); background: rgba(246,211,43,.06); color: #fff; font-weight: 400; }
.mt-gtri__so { display: block; font-size: .8rem; font-weight: 800; color: var(--mt-nhan); margin-bottom: 6px; }
.mt-gtri b { display: block; font-size: 1.15rem; color: var(--mt-nhan); margin-bottom: 6px; }
.mt-gtri p { margin: 0; color: #c9d4ea; font-size: .93rem; line-height: 1.55; }

/* =====================================================================
 * Icon đơn sắc (SVG nét, màu theo chữ)
 * ================================================================== */
.mt-ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; display: inline-block; }
.mt-icon .mt-ico, .mt-sm__icon .mt-ico, .mt-diem-noi span .mt-ico, .mt-ql li span .mt-ico, .mt-noi > span .mt-ico, .mt-lien-he__o > span .mt-ico { width: 24px; height: 24px; }
.mt-icon { color: var(--mt-chinh); }
.mt-sm__icon { color: var(--mt-toi); }
.mt-diem-noi span { color: var(--mt-nhan-dam); background: #fff6cf; }
.mt-ql li span { color: var(--mt-chinh); }
.mt-noi > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #e8eefb; color: var(--mt-chinh); font-size: inherit; }
.mt-lien-he__o > span { color: var(--mt-chinh); display: block; }
.mt-gv__anh .mt-ico, .mt-bai-the__trong .mt-ico { width: 48px; height: 48px; color: var(--mt-chinh); stroke-width: 1.5; }
.mt-the-onl__anh .mt-ico { width: 20px; height: 20px; }
.mt-the-onl__nhan .mt-ico { width: 12px; height: 12px; fill: currentColor; vertical-align: -1px; }
.mt-lien-he__o .mt-ico[class] path[d^="M6 3"] { fill: currentColor; }
.mt-ss__th .mt-ico, .mt-ss__mt .mt-ico { width: 18px; height: 18px; }
.mt-ss__dong--dau .mt-ss__th { color: #b4442f; }
.mt-ss__dong--dau .mt-ss__mt { color: var(--mt-chinh); }
.mt-form__cam-ket .mt-ico { width: 14px; height: 14px; color: var(--mt-nhan-dam); }
.mt-khoa-lon__tl .mt-ico { width: 14px; height: 14px; }
.mt-the-khoa__tt .mt-ico, .mt-the-lop__tt .mt-ico { color: var(--mt-chinh); }
.mt-uu-dai .mt-ico { width: 16px; height: 16px; }
.ma3 .ma3-dk .ma3-badge .mt-ico { width: 18px; height: 18px; }

/* =====================================================================
 * Trang chính sách + footer mới
 * ================================================================== */
.mt-can-bo-sung { background: #fff3a6; color: #6b4e00; padding: 1px 6px; border-radius: 6px; font-weight: 700; font-size: .92em; outline: 1px dashed #d9a400; }
.mt-cs { display: grid; gap: 40px; }
@media (min-width: 960px) { .mt-cs { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.mt-cs__nd > * { max-width: 780px; }
.mt-cs__nd h2 { scroll-margin-top: 84px; }
.mt-cs__nd table td:first-child { white-space: normal; width: 34%; }
.mt-cs__ml { background: var(--mt-nen-phu); border-radius: 16px; padding: 18px 22px; margin-bottom: 28px; }
.mt-cs__ml p { margin: 0 0 8px; font-weight: 800; }
.mt-cs__ml ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.mt-cs__ml li { break-inside: avoid; margin-bottom: 4px; }
.mt-cs__ml a { text-decoration: none; }
@media (max-width: 680px) { .mt-cs__ml ol { columns: 1; } }
.mt-cs__ben { display: grid; gap: 16px; align-self: start; }
@media (min-width: 960px) { .mt-cs__ben { position: sticky; top: 84px; } }
.mt-cs__the { border: 1px solid var(--mt-vien); border-radius: 18px; padding: 18px 20px; background: var(--mt-nen); }
.mt-cs__tieu-de { font-weight: 800; margin: 0 0 10px; }
.mt-cs__the ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mt-cs__the li a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--mt-chu); font-size: .93rem; }
.mt-cs__the li a:hover { background: var(--mt-nen-phu); }
.mt-cs__the li a[aria-current="page"] { background: #e8eefb; color: var(--mt-chinh); font-weight: 700; }
.mt-cs__lh p { margin: 0 0 6px; font-size: .93rem; color: var(--mt-chu-nhat); }
.mt-form__cam-ket a { color: inherit; text-decoration: underline; }

.mt-footer__in { grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 800px) { .mt-footer__in { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.mt-footer__ten { font-size: 1.4rem; font-weight: 800; color: #fff; }
.mt-footer__ten span { color: var(--mt-nhan); }
.mt-footer__tieu-de { color: #fff; font-weight: 800; margin: 0 0 10px !important; }
.mt-footer__cot ul { display: grid; gap: 6px; }
.mt-footer__cot a { color: #c6d1e6; text-decoration: none; }
.mt-footer__cot a:hover { color: var(--mt-nhan); }
.mt-footer__lh { margin-top: 12px !important; }
.mt-footer__lh li { display: flex; gap: 8px; align-items: flex-start; }
.mt-footer__lh .mt-ico { color: var(--mt-nhan); margin-top: 3px; }
.mt-footer__dn { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #9fb0d0; }
.mt-footer__dn p { margin: 2px 0 !important; }
.mt-footer__dn strong { color: #fff; }
.mt-footer__dn .mt-footer__ban-quyen { margin-top: 10px !important; opacity: .8; }
/* Tiêu đề chính sách đã tự đánh số "1. …" → mục lục không đánh số thêm */
.mt-cs__ml ol { list-style: none; padding-left: 0; }
/* Footer 4 cột: thương hiệu · khóa học · khám phá · chính sách */
@media (min-width: 680px) and (max-width: 999px) { .mt-footer__in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .mt-footer__in { grid-template-columns: 1.3fr 1fr .8fr 1.1fr; gap: 40px; } }

/* Icon mạng xã hội ở footer */
.mt-mxh { list-style: none; padding: 0; margin: 18px 0 0 !important; display: flex !important; gap: 10px; }
.mt-mxh a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff !important; transition: background .2s, color .2s, transform .2s; }
.mt-mxh a:hover { background: var(--mt-nhan); border-color: var(--mt-nhan); color: var(--mt-toi) !important; transform: translateY(-2px); }
.mt-mxh .mt-ico { width: 18px; height: 18px; }

/* =====================================================================
 * Tutor LMS: đè màu mặc định bằng màu MasterTrain (khai báo trên body để thắng biến :root của Tutor)
 * ================================================================== */
body {
	--tutor-color-primary: #1146a8;
	--tutor-color-primary-rgb: 17, 70, 168;
	--tutor-color-primary-hover: #0a2a66;
}
.tutor-wrap, .tutor-course-details-page, .tutor-dashboard { font-family: "Be Vietnam Pro", system-ui, sans-serif; }

/* =====================================================================
 * Trang khóa học online (ghi đè Tutor)
 * ================================================================== */
.mt-onl .mt-pill .mt-ico { width: 12px; height: 12px; }
.mt-onl__anh { position: relative; }
.mt-onl .mt-hero2__anh-chinh img { aspect-ratio: 4 / 3; }
.mt-onl__phat { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-2deg); width: 76px; height: 76px; border-radius: 50%; background: var(--mt-nhan); color: var(--mt-toi); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(246,211,43,.25), 0 14px 30px rgba(0,0,0,.35); transition: transform .2s; }
.mt-onl__phat:hover { transform: translate(-50%, -50%) scale(1.08); }
.mt-onl__phat .mt-ico { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.mt-hero__nut .mt-ico { width: 16px; height: 16px; vertical-align: -2px; }
.mt-onl__tong { color: var(--mt-chu-nhat); margin: -6px 0 16px; }
.mt-onl__bai { list-style: none; margin: 0; padding: 4px 16px 12px; }
.mt-onl__bai li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--mt-vien); }
.mt-onl__bai li > a, .mt-onl__bai li > span:not(.mt-onl__icon):not(.mt-onl__khoa) { flex: 1; color: var(--mt-chu); text-decoration: none; }
.mt-onl__bai li > a:hover { color: var(--mt-chinh); }
.mt-onl__icon { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #e8eefb; color: var(--mt-chinh); display: grid; place-items: center; }
.mt-onl__icon .mt-ico { width: 14px; height: 14px; }
.mt-onl__thu { flex: none !important; font-size: .78rem; font-weight: 800; color: var(--mt-toi) !important; background: var(--mt-nhan); padding: 3px 10px; border-radius: 999px; }
.mt-onl__khoa { color: #9aa4b6; }
.mt-onl__khoa .mt-ico { width: 15px; height: 15px; }
.mt-onl__bai small { flex: none; color: var(--mt-chu-nhat); font-size: .82rem; min-width: 52px; text-align: right; }
.mt-onl__hai-cot { display: grid; gap: 24px; }
@media (min-width: 760px) { .mt-onl__hai-cot { grid-template-columns: 1fr 1fr; } }
.mt-onl__goc { margin: 6px 0 0; color: #c9d4ea; }
.mt-onl__goc span { display: inline-block; margin-left: 6px; background: var(--mt-nhan); color: var(--mt-toi); font-weight: 800; font-size: .8rem; padding: 2px 8px; border-radius: 999px; }
.mt-onl__mua { padding: 20px 22px 22px; }
.mt-onl__mua .mt-btn--rong:first-child { margin-top: 0; }
.mt-onl__tt { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--mt-vien); display: grid; gap: 10px; font-size: .92rem; }
.mt-onl__tt li { display: flex; gap: 10px; align-items: flex-start; color: var(--mt-chu); }
.mt-onl__tt .mt-ico { color: var(--mt-chinh); margin-top: 2px; }

/* =====================================================================
 * Menu con (sub-menu) — không cần JS: hover / Tab (focus-within) trên máy tính, thụt vào trên điện thoại
 * ================================================================== */
.mt-nav li { position: relative; }
.mt-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
/* Điện thoại: mục con hiện sẵn, thụt vào */
.mt-nav .sub-menu { display: block; list-style: none; margin: 0 0 4px; padding: 0 0 0 16px; border-left: 2px solid var(--mt-vien); }
.mt-nav .sub-menu a { padding: 8px 0; font-weight: 500; color: var(--mt-chu-nhat); }
@media (min-width: 960px) {
	.mt-nav .sub-menu { display: block; position: absolute; top: 100%; left: -16px; min-width: 230px; padding: 8px; margin: 0; border: 1px solid var(--mt-vien); border-left: 1px solid var(--mt-vien); border-radius: 14px; background: var(--mt-nen); box-shadow: 0 18px 40px rgba(10,42,102,.14); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
	/* Cầu nối vô hình để rê chuột từ "Khóa học" xuống menu con không bị mất */
	.mt-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.mt-nav li:hover > .sub-menu, .mt-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.mt-nav .sub-menu li a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--mt-chu); font-weight: 600; white-space: nowrap; }
	.mt-nav .sub-menu li a:hover { background: var(--mt-nen-phu); color: var(--mt-chinh); }
	.mt-nav > ul { align-items: center; }
	.mt-nav .sub-menu { top: calc(100% + 10px); }
}
/* Mục cha trỏ "#" chỉ để mở menu con: không hiện con trỏ link */
.mt-nav .menu-item-has-children > a[href="#"] { cursor: default; }

/* Danh sách khóa online */
@media (min-width: 1000px) { .mt-luoi-khoa--3 { grid-template-columns: repeat(3, 1fr); } }
.mt-the-khoa__anh--onl { position: relative; }
.mt-the-khoa__nhan-onl { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--mt-toi); color: var(--mt-nhan); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; }
.mt-the-khoa__nhan-onl .mt-ico { width: 11px; height: 11px; fill: currentColor; }
.mt-the-khoa__goc { display: block; font-size: .82rem; color: var(--mt-chu-nhat); }
.mt-the-khoa__tt .mt-ico { width: 15px; height: 15px; }

/* Popup đặt lịch: dòng thông tin đợt khách chọn */
.mt-popup__dot { margin: 0; padding: 14px 52px 12px 24px; background: #fff6cf; color: var(--mt-toi); font-weight: 700; font-size: .9rem; line-height: 1.45; display: flex; gap: 8px; align-items: flex-start; border-radius: 16px 16px 0 0; }
.mt-popup__dot[hidden] { display: none; }
.mt-popup__dot .mt-ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--mt-nhan-dam); }
.mt-popup__dot + .mt-form { padding-top: 16px; }
.mt-bang-lich__ngay { cursor: default; }

/* =====================================================================
 * Icon tài khoản học viên (header)
 * ================================================================== */
.mt-tk { order: 2; position: relative; display: flex; align-items: center; }
.mt-tk--khach { gap: 6px; height: 40px; padding: 0 10px; border-radius: 999px; color: var(--mt-chu); text-decoration: none; font-weight: 600; font-size: .92rem; }
.mt-tk--khach:hover { background: var(--mt-nen-phu); color: var(--mt-chinh); }
.mt-tk--khach .mt-ico { width: 22px; height: 22px; }
.mt-tk__chu { display: none; }
.mt-tk__nut { width: 38px; height: 38px; padding: 0; border: 2px solid var(--mt-nhan); border-radius: 50%; background: var(--mt-chinh); cursor: pointer; overflow: hidden; display: grid; place-items: center; }
.mt-tk__nut img { width: 100%; height: 100%; object-fit: cover; }
.mt-tk__chu-cai { color: #fff; font-weight: 800; font-size: 1rem; }
.mt-tk__menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px; border: 1px solid var(--mt-vien); border-radius: 14px; background: var(--mt-nen); box-shadow: 0 18px 40px rgba(10,42,102,.16); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 70; }
.mt-tk__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mt-tk--da:hover .mt-tk__menu, .mt-tk--da:focus-within .mt-tk__menu { opacity: 1; visibility: visible; transform: none; }
.mt-tk__ten { margin: 0 0 6px; padding: 8px 12px 10px; border-bottom: 1px solid var(--mt-vien); line-height: 1.3; }
.mt-tk__ten b { display: block; }
.mt-tk__ten small { color: var(--mt-chu-nhat); font-size: .8rem; word-break: break-all; }
.mt-tk__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--mt-chu); text-decoration: none; font-weight: 600; font-size: .93rem; }
.mt-tk__menu a:hover { background: var(--mt-nen-phu); color: var(--mt-chinh); }
.mt-tk__menu .mt-ico { width: 17px; height: 17px; color: var(--mt-chinh); }
.mt-tk__thoat { color: #b4442f !important; }
.mt-tk__thoat .mt-ico { color: #b4442f; }
@media (min-width: 960px) {
	.mt-tk { order: 0; }
	.mt-tk__chu { display: inline; }
}
/* Header thêm icon tài khoản → giữ mọi mục 1 dòng; chữ "Đăng nhập" chỉ hiện ở màn rộng */
.mt-nav li a, .mt-header__goi, .mt-tk--khach { white-space: nowrap; }
@media (min-width: 960px) {
	.mt-header__in { gap: 18px; }
	.mt-nav ul { gap: 22px; }
	.mt-tk__chu { display: none; }
	.mt-tk--khach { padding: 0 8px; }
}
@media (min-width: 1240px) { .mt-tk__chu { display: inline; } }

/* =====================================================================
 * Giỏ hàng / Thanh toán / Trang đơn đã nhận (WooCommerce cổ điển)
 * ================================================================== */
.woocommerce-checkout .mt-bai > *, .woocommerce-cart .mt-bai > *, .woocommerce-order-received .mt-bai > * { max-width: none; }
.woocommerce-checkout .mt-section, .woocommerce-cart .mt-section { padding-top: 40px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { font-size: .88rem; font-weight: 600; margin-bottom: 5px; display: block; line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--mt-do); text-decoration: none; }
.woocommerce form .form-row .optional { display: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; height: auto; border: 1.5px solid var(--mt-vien); border-radius: 12px; background: var(--mt-nen); color: var(--mt-chu); }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--mt-chinh); box-shadow: 0 0 0 4px rgba(17,70,168,.12); }
.woocommerce form .form-row textarea { min-height: 90px; }
.woocommerce-checkout #customer_details { display: grid; gap: 8px; }
@media (min-width: 900px) {
	form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 0 48px; align-items: start; }
	form.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
	form.woocommerce-checkout #order_review_heading, form.woocommerce-checkout #order_review { grid-column: 2; }
	form.woocommerce-checkout #order_review { position: sticky; top: 84px; }
}
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100% !important; float: none !important; }
.woocommerce-checkout h3, #order_review_heading { font-size: 1.2rem; margin: 0 0 14px; }
#order_review { background: var(--mt-nen); border: 1px solid var(--mt-vien); border-radius: 20px; padding: 20px; box-shadow: 0 18px 44px rgba(10,42,102,.1); }
.woocommerce table.shop_table { border: 0 !important; border-radius: 0; margin: 0 0 16px; border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 0 !important; border-bottom: 1px solid var(--mt-vien) !important; padding: 12px 4px !important; background: none !important; }
.woocommerce table.shop_table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mt-chu-nhat); }
.woocommerce table.shop_table td:last-child, .woocommerce table.shop_table th:last-child { text-align: right; }
.woocommerce table.shop_table .order-total th, .woocommerce table.shop_table .order-total td { border-bottom: 0 !important; font-size: 1.15rem; }
.woocommerce table.shop_table .order-total .amount { color: var(--mt-chinh); font-weight: 800; }
.woocommerce-checkout #payment { background: none !important; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 !important; border: 0 !important; display: grid; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods li { list-style: none; margin: 0; padding: 14px 16px !important; border: 1.5px solid var(--mt-vien); border-radius: 14px; line-height: 1.4; }
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--mt-chinh); background: #f2f6fe; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods li input { margin-right: 8px; accent-color: var(--mt-chinh); }
.woocommerce-checkout #payment div.payment_box { background: none !important; padding: 6px 0 0 26px !important; margin: 0 !important; color: var(--mt-chu-nhat); font-size: .88rem; }
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 14px 0 0 !important; margin: 0; }
.woocommerce-privacy-policy-text p, .woocommerce-terms-and-conditions-checkbox-text { font-size: .82rem; color: var(--mt-chu-nhat); }
.woocommerce #payment #place_order, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce button.button, .woocommerce a.button {
	display: block; width: 100%; float: none !important; margin-top: 12px; padding: 15px 22px; border-radius: 999px; border: 0;
	background: var(--mt-nhan) !important; color: var(--mt-toi) !important; font: inherit; font-weight: 800; font-size: 1.02rem; text-align: center;
}
.woocommerce #payment #place_order:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--mt-nhan-dam) !important; }
.woocommerce a.button.wc-forward { display: inline-block; width: auto; margin: 0; padding: 8px 16px; font-size: .88rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: 0 !important; border-radius: 14px; background: var(--mt-nen-phu) !important; color: var(--mt-chu); padding: 14px 18px 14px 48px !important; margin: 0 0 20px !important; font-size: .93rem; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--mt-chinh) !important; top: 50% !important; transform: translateY(-50%); }
.woocommerce-error { background: #fdecea !important; color: #a12a1e; }
.woocommerce-form-coupon-toggle .woocommerce-info { font-size: .88rem; }

/* Trang "Đơn hàng đã nhận" */
.woocommerce-order { max-width: 860px; }
.woocommerce-order ul.order_details { display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 0 0 24px; border: 1px solid var(--mt-vien); border-radius: 16px; overflow: hidden; list-style: none; }
.woocommerce-order ul.order_details li { flex: 1 1 160px; margin: 0; padding: 14px 16px; border: 0 !important; border-right: 1px solid var(--mt-vien) !important; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mt-chu-nhat); }
.woocommerce-order ul.order_details li strong { display: block; margin-top: 4px; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--mt-chu); }
.woocommerce-order .woocommerce-thankyou-order-received { font-size: 1.05rem; font-weight: 600; }
.woocommerce-order h2 { font-size: 1.35rem; margin-top: 28px; }
.woocommerce-customer-details address { border: 1px solid var(--mt-vien) !important; border-radius: 14px; padding: 16px !important; font-style: normal; }

/* Khối chuyển khoản / QR */
.mt-ck { margin: 8px 0 28px; padding: 24px; border-radius: 22px; background: linear-gradient(160deg, #f6f9ff, #fff); border: 1.5px solid #cfdaf0; box-shadow: 0 18px 44px rgba(10,42,102,.1); }
.mt-ck__td { margin: 0 0 18px !important; font-size: 1.3rem !important; }
.mt-ck__khung { display: grid; gap: 22px; align-items: center; }
@media (min-width: 720px) { .mt-ck__khung { grid-template-columns: 260px 1fr; } }
.mt-ck__qr { margin: 0; text-align: center; background: #fff; border-radius: 18px; padding: 12px; border: 1px solid var(--mt-vien); }
.mt-ck__qr img { width: 100%; max-width: 240px; height: auto; margin: 0 auto; }
.mt-ck__qr figcaption { font-size: .82rem; color: var(--mt-chu-nhat); margin-top: 6px; line-height: 1.45; }
.mt-ck__tt { margin: 0; display: grid; gap: 8px; }
.mt-ck__tt > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--mt-vien); }
.mt-ck__tt dt { color: var(--mt-chu-nhat); font-size: .86rem; flex: none; }
.mt-ck__tt dd { margin: 0; display: flex; align-items: center; gap: 10px; text-align: right; font-weight: 700; word-break: break-word; }
.mt-ck__noi-bat { background: #fff6cf !important; border-color: #f0dc7a !important; }
.mt-ck__noi-bat dd span { font-size: 1.1rem; color: var(--mt-toi); }
.mt-ck__chep { flex: none; font: inherit; font-size: .76rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--mt-chinh); background: #fff; color: var(--mt-chinh); cursor: pointer; }
.mt-ck__chep:hover { background: var(--mt-chinh); color: #fff; }
.mt-ck__luu-y { margin: 18px 0 0; font-size: .92rem; color: var(--mt-chu-nhat); line-height: 1.6; }
.mt-ck__cho { margin: 12px 0 0; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--mt-chinh); }
.mt-ck__xoay { width: 16px; height: 16px; border: 2.5px solid #cfdaf0; border-top-color: var(--mt-chinh); border-radius: 50%; animation: mt-xoay .9s linear infinite; }
@keyframes mt-xoay { to { transform: rotate(360deg); } }
.mt-ck--xong { background: #effaf3; border-color: #a7dfbd; }
.mt-ck__xong { display: flex; gap: 16px; align-items: center; }
.mt-ck__xong > span { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--mt-xanh-la); color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.mt-ck__xong b { font-size: 1.2rem; }
.mt-ck__xong p { margin: 2px 0 0; color: var(--mt-chu-nhat); }
