/* ==========================================================================
   MathX - Trang chu chinh thuc (route '/', '/trang-chu.html', '/homev2')
   Chuyen the tu ban thiet ke docs/MathX-home-redesign/MathX Home.dc.html
   Toan bo style deu nam duoi .mxh de khong anh huong cac trang khac.
   Breakpoint goc cua ban thiet ke:
     mobile  w < 760      tablet  w < 1040
     an menu w < 1080     menu gon w < 1180
     stats   w < 1000     ky thi  w < 700
   ========================================================================== */

/* File nay chi nap o trang chu moi nen reset body o day la an toan. */
body { margin: 0; background: #FFFFFF; }
.mxh {
	--mxh-font: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
	--mxh-green: #71BB44;
	--mxh-green-dark: #5EA436;
	--mxh-green-deep: #4E8A2C;
	--mxh-green-text: #3F6A28;
	--mxh-green-title: #3E9B3E;
	--mxh-orange: #F26626;
	--mxh-orange-dark: #D9501A;
	--mxh-blue: #1E49B8;
	--mxh-ink: #22301C;
	--mxh-ink-2: #3D4839;
	--mxh-ink-3: #4A5646;
	--mxh-muted: #5A6555;
	--mxh-muted-2: #6C7767;
	--mxh-muted-3: #94A08F;
	--mxh-line: #EBF1E5;
	--mxh-line-2: #EAF0E4;
	--mxh-line-3: #E7EFE1;
	--mxh-frame: #AFD494;
	--mxh-tint: #F2F8EC;
	--mxh-tint-2: #EAF4E1;

	font-family: var(--mxh-font);
	color: var(--mxh-ink);
	background: #FFFFFF;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Reset dung selector the (do uu tien 0-0-1) de moi rule theo class ben duoi
   deu de dang ghi de. File nay chi nap o trang chu moi nen an toan. */
*, *:before, *:after { box-sizing: border-box; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; }
section { scroll-margin-top: 90px; }
input::placeholder, textarea::placeholder { color: #A7B3A2; }

.mxh a { color: var(--mxh-green-deep); text-decoration: none; }
.mxh a:hover { color: var(--mxh-orange); }

@keyframes mxh-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes mxh-pop { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }

/* --------------------------------------------------------------- Header -- */
.mxh-header {
	position: sticky; top: 0; z-index: 50; width: 100%;
	background: rgba(255,255,255,.96);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--mxh-line);
}

.mxh-topbar { background: #F7FBF4; border-bottom: 1px solid var(--mxh-line); }
/* Cac container duoi day vua co max-width vua co padding ngang 32px, nen be rong noi
   dung that chi con 1136px - hep hon banner 64px. Nang max-width len 1264 (= 1200 + 2x32)
   de noi dung dung 1200px, thang hang voi .mxh-banner__box o moi be rong man hinh.
   Giu lai padding 32px vi day cung la le trai/phai khi man hinh nho hon 1264px. */
.mxh-topbar__in {
	max-width: 1264px; margin: 0 auto; padding: 8px 32px;
	display: flex; align-items: center; justify-content: space-between; gap: 18px;
	font-size: 13.5px; font-weight: 600; color: var(--mxh-ink-3);
}
.mxh .mxh-topbar__brand { display: flex; align-items: center; gap: 8px; color: var(--mxh-ink-3); }
.mxh .mxh-topbar__brand img { width: 24px; height: 24px; object-fit: contain; }
.mxh .mxh-topbar__brand-link { display: flex; align-items: center; gap: 8px; color: inherit; }
.mxh .mxh-topbar__brand-link:hover { color: var(--mxh-green-deep); }
.mxh .mxh-topbar__sites { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.mxh .mxh-topbar__sites a { font-weight: 800; color: var(--mxh-green-deep); }
.mxh .mxh-topbar__sites a:hover { color: var(--mxh-orange); text-decoration: underline; }
.mxh .mxh-topbar__sites i { font-style: normal; font-weight: 400; color: var(--mxh-muted-3); }
.mxh-topbar__links { display: flex; align-items: center; gap: 20px; }
.mxh .mxh-topbar__item {
	display: flex; align-items: center; gap: 7px;
	background: none; border: none; padding: 0;
	font-family: inherit; font-size: 13.5px; font-weight: 600;
	color: var(--mxh-ink-3); cursor: pointer;
}
.mxh .mxh-topbar__item svg { flex: none; }
.mxh .mxh-topbar__item:hover { color: var(--mxh-green-deep); }
.mxh .mxh-topbar__phone { color: var(--mxh-orange); cursor: default; }
.mxh .mxh-topbar__cta { font-weight: 700; color: var(--mxh-orange); }
.mxh .mxh-topbar__cta:hover { color: var(--mxh-orange-dark); }

.mxh-bar {
	max-width: 1264px; margin: 0 auto; padding: 12px 32px;
	display: flex; align-items: center; gap: 18px; position: relative;
}
.mxh-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.mxh-logo img { width: 46px; height: 46px; object-fit: contain; }
.mxh-wordmark { font-weight: 900; font-size: 26px; letter-spacing: -.5px; color: var(--mxh-green); }
.mxh-wordmark i { font-style: normal; color: var(--mxh-orange); }

.mxh-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; justify-content: flex-end; }
.mxh-nav__item { position: relative; }
.mxh .mxh-nav__link {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 12px; border-radius: 10px;
	font-size: 14.5px; font-weight: 700; letter-spacing: .2px;
	color: #3D4839; background: transparent; white-space: nowrap;
	transition: background .15s, color .15s;
}
.mxh .mxh-nav__link b { font-size: 10px; opacity: .75; font-weight: 400; }
.mxh-nav__item:hover > .mxh-nav__link,
.mxh-nav__item.is-open > .mxh-nav__link { background: var(--mxh-orange); color: #FFFFFF; }
/* Muc dang xem: chu cam (khong to nen, de khong lan voi trang thai hover). */
.mxh .mxh-nav__link.is-active { color: var(--mxh-orange); }
.mxh-nav__item:hover > .mxh-nav__link.is-active { color: #FFFFFF; }

.mxh-drop { position: absolute; top: 100%; left: 0; padding-top: 8px; z-index: 60; display: none; }
.mxh-nav__item:hover .mxh-drop,
.mxh-nav__item.is-open .mxh-drop { display: block; }
.mxh-drop__in {
	background: #FFFFFF; border: 1px solid var(--mxh-line); border-radius: 16px;
	box-shadow: 0 18px 44px rgba(34,48,28,.16); padding: 12px;
	animation: mxh-pop .16s ease-out;
}
.mxh-drop--sm .mxh-drop__in { min-width: 220px; }
.mxh-drop--lg .mxh-drop__in { min-width: 260px; }
.mxh-drop a {
	display: block; padding: 9px 12px; border-radius: 9px;
	font-size: 14px; font-weight: 600; color: #3D4839; white-space: nowrap;
}
.mxh-drop a:hover { background: var(--mxh-tint); color: var(--mxh-green-deep); }
.mxh-drop__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; }
.mxh-drop__grid a { font-weight: 700; text-align: center; }
.mxh-drop__sep { height: 1px; background: #EEF3EA; margin: 8px 4px; }
.mxh-drop a.is-accent { font-weight: 700; text-align: center; color: var(--mxh-orange); }
.mxh-drop a.is-accent:hover { background: #FDF1EA; color: var(--mxh-orange); }

.mxh-burger {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 46px; height: 46px; padding: 0 11px;
	border: 1px solid #DCE9D2; border-radius: 14px; background: #FFFFFF;
	cursor: pointer; margin-left: auto;
}
.mxh-burger span { display: block; height: 2.5px; border-radius: 999px; background: var(--mxh-green-deep); }
.mxh-burger span:last-child { background: var(--mxh-orange); }

.mxh-mobilemenu {
	position: absolute; left: 12px; right: 12px; top: 100%; margin-top: 8px;
	background: #FFFFFF; border: 1px solid var(--mxh-line); border-radius: 18px;
	box-shadow: 0 18px 40px rgba(34,48,28,.16); padding: 14px;
	display: none; flex-direction: column; gap: 2px;
	max-height: 70vh; overflow: auto; z-index: 60;
}
.mxh-mobilemenu.is-open { display: flex; }
.mxh-mobilemenu a { color: #3D4839; padding: 13px 14px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.mxh-mobilemenu a:hover { background: var(--mxh-tint); }
/* Nhan nhom cho muc co nhieu trang con (LOP HOC): khong bam duoc, chi de phan doan. */
.mxh-mobilemenu__label {
	padding: 13px 14px 6px; font-weight: 900; font-size: 12px;
	letter-spacing: 1.1px; text-transform: uppercase; color: var(--mxh-muted-3);
}
/* Trang con thut vao va co gach doc de thay ro la thuoc muc tren. */
.mxh .mxh-mobilemenu__sub { margin-left: 14px; padding-left: 14px; border-left: 2px solid var(--mxh-line); }
.mxh .mxh-mobilemenu__sub:hover { border-left-color: var(--mxh-green); }
.mxh .mxh-mobilemenu__login {
	margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px;
	background: #FFFFFF; color: var(--mxh-green-text); border: 1.5px solid #DCE9D2;
	font-family: inherit; font-size: 15px; font-weight: 700; padding: 14px 20px;
	border-radius: 999px; cursor: pointer;
}
.mxh .mxh-mobilemenu__login:hover { border-color: var(--mxh-green); color: var(--mxh-green); }
.mxh-mobilemenu__cta {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--mxh-green); color: #FFFFFF; border: none;
	font-family: inherit; font-size: 15px; font-weight: 700; padding: 15px 20px;
	border-radius: 999px; cursor: pointer;
}
.mxh-mobilemenu__cta:hover { background: var(--mxh-green-dark); }

/* ------------------------------------------------------------ Quote bar -- */
.mxh-quote { background: var(--mxh-orange); padding: 18px 32px; }
.mxh-quote__in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.mxh-quote__text {
	flex: 1 1 420px; min-width: 0;
	font-style: italic; font-weight: 700; font-size: 16px; line-height: 1.5; color: #FFFFFF;
}
.mxh-quote__side { display: flex; align-items: center; gap: 14px; flex: none; }
/* Do YouTube tren nen cam thi bi lut, nen them vien trang + bong dam cho nut noi len. */
.mxh-quote__play {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 40px; border-radius: 10px;
	border: 2.5px solid #FFFFFF; background: #FF0000;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(88,18,6,.45), 0 1px 3px rgba(0,0,0,.28);
	transition: transform .18s, background .18s, box-shadow .18s;
}
.mxh-quote__play svg { filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.mxh-quote__play:hover {
	background: #E60000; transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(88,18,6,.52), 0 1px 3px rgba(0,0,0,.28);
}
.mxh-quote__play:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.mxh-quote__owl { width: 52px; height: 42px; object-fit: contain; flex: none; }
.mxh .mxh-quote__btn {
	background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.65); border-radius: 999px;
	padding: 11px 22px; font-family: inherit; font-size: 14px; font-weight: 700; color: #FFFFFF;
	cursor: pointer; white-space: nowrap;
}
.mxh .mxh-quote__btn:hover { background: #FFFFFF; color: var(--mxh-orange); }
.mxh .mxh-quote__btn--solid { background: #FFFFFF; border-color: #FFFFFF; color: var(--mxh-orange); }
.mxh .mxh-quote__btn--solid:hover { background: #FFF3EC; color: var(--mxh-orange); }

/* ----------------------------------------------- Dai thong bao dau trang -- */
/* Thay cho modal bootstrap cua trang chu cu (?jdone=, ?_reason=b1Ock). Trang nay
   khong nap jQuery/bootstrap nen dung dai chu, khong can JS. */
.mxh-notice { padding: 14px 32px 0; }
.mxh-notice__box {
	max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 5px;
	background: var(--mxh-tint-2); border: 1.5px solid var(--mxh-green);
	border-radius: 14px; padding: 14px 20px;
}
.mxh-notice__box strong {
	font-size: 12px; font-weight: 900; letter-spacing: .8px; color: var(--mxh-green-deep);
}
.mxh-notice__box span { font-size: 15px; line-height: 1.6; color: var(--mxh-ink-2); }

/* --------------------------------------------------------------- Banner -- */
.mxh-banner { position: relative; background: #F6FBF2; padding: 22px 32px 8px; }
.mxh-banner__box {
	position: relative; max-width: 1200px; margin: 0 auto;
	border-radius: 24px; overflow: hidden; box-shadow: 0 20px 48px rgba(34,48,28,.10);
}
.mxh-banner__view { overflow: hidden; }
.mxh-banner__track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.mxh-banner__slide { flex: 0 0 100%; width: 100%; background: var(--mxh-tint); }
.mxh-banner__slide a { display: block; width: 100%; }
.mxh-banner__slide img { display: block; width: 100%; height: auto; }
.mxh-banner__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; border-radius: 999px; border: none;
	background: rgba(255,255,255,.9); color: var(--mxh-green-text);
	font-size: 20px; font-weight: 700; cursor: pointer;
	box-shadow: 0 8px 20px rgba(34,48,28,.18);
	display: flex; align-items: center; justify-content: center;
}
.mxh-banner__arrow:hover { background: #FFFFFF; color: var(--mxh-green); }
.mxh-banner__arrow--prev { left: 18px; }
.mxh-banner__arrow--next { right: 18px; }
.mxh-banner__dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mxh-banner__dots button {
	width: 9px; height: 9px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
	background: rgba(255,255,255,.85); box-shadow: 0 2px 6px rgba(34,48,28,.25);
	transition: width .25s, background .25s;
}
.mxh-banner__dots button.is-active { width: 30px; background: var(--mxh-green); }

/* ---------------------------------------------------------------- Stats -- */
.mxh-stats { max-width: 1264px; margin: 0 auto; padding: 10px 32px 20px; }
.mxh-stats__box {
	background: linear-gradient(100deg,#5EA436 0%,#3F7A22 100%);
	border-radius: 24px; padding: 38px 40px;
	display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px 24px; align-items: center;
}
.mxh-stat { display: flex; align-items: center; gap: 16px; justify-content: center; }
.mxh-stat img { width: 44px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); }
.mxh-stat__num { font-weight: 900; font-size: 34px; color: #FFFFFF; line-height: 1.1; }
.mxh-stat__label { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 4px; }
.mxh-stat__grid {
	width: 42px; height: 34px; border: 2.5px solid #FFFFFF; border-radius: 5px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px; flex: none;
}
.mxh-stat__grid span { background: #FFFFFF; border-radius: 1px; }

/* ----------------------------------------------------- Khung + tieu de -- */
.mxh-section { max-width: 1264px; margin: 0 auto; padding: 40px 32px 8px; }
.mxh-frame { position: relative; border: 2px solid var(--mxh-frame); border-radius: 26px; padding: 52px 30px 34px; }
.mxh-frame__legend {
	position: absolute; top: 0; left: 0; right: 0; transform: translateY(-50%);
	display: flex; align-items: center; justify-content: center; gap: 14px; pointer-events: none;
	/* Padding cua o tieu de tach ra bien de link ben trong bu nguoc lai duoc
	   (xem .mxh-frame__legend a). Ban mobile chi can doi 2 bien nay. */
	--mxh-legend-py: 14px;
	--mxh-legend-px: 30px;
}
.mxh-frame__legend > * {
	max-width: calc(100% - 40px); white-space: nowrap;
	border: 2px solid var(--mxh-frame); border-radius: 14px; background: #FFFFFF;
	padding: var(--mxh-legend-py) var(--mxh-legend-px); font-weight: 900; font-size: 24px; letter-spacing: .8px;
	line-height: 1.25; text-align: center;
}
.mxh-frame__legend em { font-style: normal; color: var(--mxh-green-title); }
.mxh-frame__legend i { font-style: normal; color: var(--mxh-orange); }
/* Mot so tieu de section la link. Hai luu y:
   - the cha dat pointer-events: none (de khung tieu de khong chan chuot len noi dung
     ben duoi) nen link phai bat lai;
   - margin am bu dung bang padding cua the cha de vung bam trai het o tieu de,
     khong chi rieng phan chu.
   Mau chu giu nguyen (inherit) de cum MATH/X hai mau khong bi .mxh a ghi de. */
.mxh-frame__legend a {
	display: block; color: inherit; pointer-events: auto; border-radius: 12px;
	margin: calc(var(--mxh-legend-py) * -1) calc(var(--mxh-legend-px) * -1);
	padding: var(--mxh-legend-py) var(--mxh-legend-px);
	transition: background .18s;
}
.mxh-frame__legend a:hover { color: inherit; background: var(--mxh-tint); }
.mxh-lead { margin: 0 auto 30px; max-width: 760px; text-align: center; font-size: 15px; line-height: 1.65; color: var(--mxh-muted); }
.mxh-lead--narrow { max-width: 640px; }

/* --------------------------------------------------- Hinh thuc hoc tap -- */
.mxh-feats {
	display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 26px 0;
	padding-bottom: 32px; border-bottom: 1px solid var(--mxh-line-3); margin-bottom: 32px;
}
.mxh-feat {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	gap: 14px; padding: 0 16px; border-left: 1px solid var(--mxh-line-3);
}
.mxh-feat:first-child { border-left: none; }
.mxh-feat__icon {
	flex: none; width: 64px; height: 64px; border-radius: 999px; background: var(--mxh-tint-2);
	display: flex; align-items: center; justify-content: center;
}
.mxh-feat__text { font-size: 14.5px; line-height: 1.5; color: var(--mxh-ink-2); }
.mxh-feat__text i { font-style: normal; color: var(--mxh-orange); }

.mxh-formats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; align-items: stretch; }
.mxh-format {
	display: flex; flex-direction: column; background: #F7FBF3;
	border: 1px solid #DCEBCF; border-radius: 20px; overflow: hidden;
	box-shadow: 0 8px 24px rgba(34,48,28,.06); transition: box-shadow .18s;
}
.mxh-format:hover { box-shadow: 0 16px 36px rgba(34,48,28,.13); }
.mxh-format--online { background: #F4F7FE; border-color: #D8E2F7; }
.mxh-format__body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 26px 0 26px 26px; min-height: 250px; }
/* Head chiem tron be ngang the de tieu de nam gon mot hang;
   phan chu + anh nam o hang duoi. */
.mxh-format__head { display: flex; align-items: center; gap: 14px; padding-right: 26px; }
.mxh-format__row { display: flex; align-items: stretch; gap: 16px; flex: 1; min-height: 0; }
.mxh-format__text { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mxh-format__badge {
	flex: none; width: 60px; height: 60px; border-radius: 999px; background: var(--mxh-green-title);
	display: flex; align-items: center; justify-content: center;
}
.mxh-format__badge img { width: 50px; height: 50px; object-fit: contain; filter: brightness(0) invert(1); }
.mxh-format__title { font-weight: 900; font-size: 23px; line-height: 1.2; letter-spacing: -.3px; color: var(--mxh-green-title); text-transform: uppercase; white-space: nowrap; }
.mxh-format__desc { font-size: 15px; line-height: 1.55; color: var(--mxh-ink-2); }
.mxh-format__note { align-self: flex-start; background: var(--mxh-tint-2); border-radius: 10px; padding: 12px 16px; font-size: 14.5px; line-height: 1.5; color: var(--mxh-ink-2); }
/* Anh 2 hinh thuc hoc la anh cat nen (PNG trong suot):
   - contain de khong cat mat dau/tay
   - object-position bottom de nhan vat "dung" tren day the
   - khong dat mau nen o day, de mau cua tung the (xanh la / xanh duong) an qua vung trong suot */
/* margin am duoi de anh an vao padding cua .mxh-format__body:
   nhan vat dung sat thanh mau o chan the thay vi lo lung */
.mxh-format__img { flex: 0 0 42%; align-self: stretch; margin: 0 0 -26px; min-height: 150px; overflow: hidden; }
.mxh-format__img img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; display: block; }
.mxh-imgslot {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	min-height: 160px; padding: 16px; text-align: center;
	background: var(--mxh-tint); border: 1.5px dashed #CFE0C2;
	font-size: 13px; font-weight: 600; color: var(--mxh-muted-3);
}
.mxh-format__foot {
	background: var(--mxh-green-title); padding: 18px 22px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
}
.mxh-format__foot-note { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 14.5px; line-height: 1.45; color: #FFFFFF; }
.mxh-format__contact { display: flex; align-items: center; gap: 14px; }
.mxh-format__contact > span { text-align: right; }
.mxh-format__phone { display: block; font-size: 15px; font-weight: 700; color: #FFFFFF; }
.mxh .mxh-format__link { display: block; font-size: 14px; color: rgba(255,255,255,.92); }
.mxh .mxh-format__link:hover { color: #FFFFFF; }
.mxh-format__go {
	flex: none; width: 44px; height: 44px; border-radius: 999px; border: none;
	background: #FFFFFF; color: var(--mxh-green-title); font-family: inherit; font-size: 19px; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.mxh-format__go:hover { background: var(--mxh-tint); }
.mxh-format--online .mxh-format__badge,
.mxh-format--online .mxh-format__foot { background: var(--mxh-orange); }
.mxh-format--online .mxh-format__title { color: var(--mxh-orange); }
.mxh-format--online .mxh-format__note { background: #E6ECFA; }
.mxh-format--online .mxh-format__go { color: var(--mxh-orange); }

/* -------------------------------------------------------------- Khoa hoc -- */
.mxh-courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 20px; }
.mxh .mxh-course {
	display: flex; background: #FFFFFF; border: 1px solid var(--mxh-line-2); border-radius: 16px;
	overflow: hidden; box-shadow: 0 8px 22px rgba(34,48,28,.05); transition: box-shadow .18s;
	color: inherit;
}
.mxh .mxh-course:hover { box-shadow: 0 14px 30px rgba(34,48,28,.12); color: inherit; }
.mxh-course__tile {
	flex: 0 0 116px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px; padding: 14px 10px; text-align: center;
	font-weight: 900; font-size: 52px; color: #FFFFFF;
}
.mxh-course__tile--word { font-size: 19px; font-weight: 800; }
.mxh-course__tile--stack { font-size: 24px; }
.mxh-course__tile--stack span { border-radius: 999px; }
.mxh-course__in { padding: 10px 10px; }
.mxh-course__name { margin: 0 0 10px; font-weight: 900; font-size: 20px; color: var(--mxh-orange); }
.mxh-course__list { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--mxh-ink-3); }

/* ------------------------------------------------------------ Tam nguyen -- */
.mxh-mission { max-width: 1264px; margin: 0 auto; padding: 52px 32px 8px; }
.mxh-mission__box {
	background: #F7FBF4; border: 1px solid #E7F0DE; border-radius: 26px; padding: 40px 40px 42px;
	display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 40px; align-items: center;
}
.mxh-mission__text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mxh-mission__kicker { font-weight: 900; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mxh-orange); }
.mxh-mission__text p { font-size: 15.5px; line-height: 1.85; color: var(--mxh-ink-2); }
.mxh-mission__quote { font-weight: 900; font-size: 19px; line-height: 1.5; color: var(--mxh-green-title); }
.mxh-mission__links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 6px; font-size: 14.5px; font-weight: 700; }
.mxh-mission__links a { color: var(--mxh-ink-3); }
.mxh-mission__links a:first-child { color: var(--mxh-orange); }
.mxh-mission__links i { display: block; width: 1px; height: 16px; background: #D6E3CC; }
.mxh-mission__video {
	position: relative; display: block; width: 100%; padding: 0; border: none; border-radius: 18px;
	overflow: hidden; background: #0C1409; cursor: pointer;
	box-shadow: 0 16px 40px rgba(34,48,28,.18); aspect-ratio: 16 / 9; min-height: 200px;
}
.mxh-mission__video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .94; }
.mxh-mission__video span { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; display: flex; align-items: center; justify-content: center; }
.mxh-mission__video span span {
	position: static; width: 74px; height: 52px; border-radius: 12px; background: #FF0000;
	box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

/* ---------------------------------------------------------------- Ky thi -- */
.mxh-exams { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
/* The chi con logo + ten + tieu de day du (da bo doan mo ta), nen chu can giua theo
   logo thay vi dinh len dau, va logo thu lai cho khoi le voi 2 dong chu. */
.mxh-exam {
	display: flex; align-items: center; gap: 16px;
	background: #FFFFFF; border: 1px solid var(--mxh-line-2); border-radius: 16px; padding: 16px 18px;
	box-shadow: 0 8px 22px rgba(34,48,28,.05); transition: box-shadow .18s, transform .18s;
}
.mxh-exam:hover { box-shadow: 0 16px 32px rgba(34,48,28,.12); transform: translateY(-2px); }
.mxh-exam__logo { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #F7FAF4; display: block; }
.mxh-exam__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mxh-exam__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mxh-exam__name { font-weight: 900; font-size: 17px; letter-spacing: .3px; color: var(--mxh-orange); }
.mxh-exam__sub { font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--mxh-muted-3); }

/* ------------------------------------------------------- Dang ky tu van -- */
.mxh-signup { background: #F5FAF1; padding: 48px 32px 52px; }
.mxh-signup__box {
	max-width: 1200px; margin: 0 auto; background: #FFFFFF; border: 1px solid #E7F0DE;
	border-radius: 28px; box-shadow: 0 24px 60px rgba(48,84,26,.10); overflow: hidden;
	display: grid; grid-template-columns: .82fr 1fr;
}
.mxh-signup__aside {
	position: relative; background: linear-gradient(160deg,#4FA83C 0%,#347F2C 100%);
	padding: 42px 38px; display: flex; flex-direction: column; gap: 18px; justify-content: center; overflow: hidden;
}
.mxh-signup__aside:before,
.mxh-signup__aside:after { content: ''; position: absolute; border-radius: 50%; }
.mxh-signup__aside:before { top: -60px; right: -50px; width: 180px; height: 180px; background: rgba(255,255,255,.09); }
.mxh-signup__aside:after { bottom: -70px; left: -40px; width: 150px; height: 150px; background: rgba(255,255,255,.07); }
.mxh-signup__tag {
	position: relative; align-self: flex-start; background: rgba(255,255,255,.16); color: #FFFFFF;
	font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
	padding: 7px 14px; border-radius: 999px;
}
.mxh-signup__title { position: relative; font-weight: 900; font-size: 30px; line-height: 1.25; color: #FFFFFF; }
.mxh-signup__aside p { position: relative; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.88); }
.mxh-signup__checks { position: relative; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.mxh-signup__checks span { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #FFFFFF; }
.mxh-signup__checks i {
	flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.2);
	display: flex; align-items: center; justify-content: center; font-size: 12px; font-style: normal;
}
.mxh-signup__hotline { position: relative; margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.78); }
.mxh-signup__hotline strong { color: #FFFFFF; font-weight: 800; }
.mxh-signup__form { padding: 38px 40px 40px; }
.mxh-signup__form form { display: flex; flex-direction: column; gap: 16px; }
.mxh-signup__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.mxh-field { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #6C7767; }
.mxh-field > span { display: flex; align-items: center; gap: 4px; }
.mxh-field i { font-style: normal; color: var(--mxh-orange); }
.mxh-field input,
.mxh-field select,
.mxh-field textarea {
	width: 100%; padding: 14px 16px; background: #F8FBF5; border: 1.5px solid #E3EDD9; border-radius: 12px;
	font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none;
	color: var(--mxh-ink); outline: none; transition: border-color .18s, box-shadow .18s;
}
.mxh-field select { appearance: none; -webkit-appearance: none;
	background-image: linear-gradient(45deg,transparent 50%,#71BB44 50%),linear-gradient(135deg,#71BB44 50%,transparent 50%);
	background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
	background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.mxh-field input:focus,
.mxh-field textarea:focus { border-color: var(--mxh-green); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(113,187,68,.14); }
.mxh-field select:focus { border-color: var(--mxh-green); box-shadow: 0 0 0 4px rgba(113,187,68,.14); }
.mxh-ok {
	display: none; align-items: center; gap: 8px; background: #EDF7E4; color: var(--mxh-green-text);
	border: 1px solid #D5E9C4; border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 600;
}
.mxh-ok.is-on { display: flex; }
.mxh-ok.is-err { background: #FDECE3; border-color: #F7C9B2; color: #B4441A; }
.mxh-btn-primary {
	width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--mxh-orange); color: #FFFFFF; border: none; font-family: inherit;
	font-size: 16px; font-weight: 800; letter-spacing: .4px; padding: 16px 24px; border-radius: 999px;
	cursor: pointer; box-shadow: 0 12px 26px rgba(242,102,38,.28); transition: background .18s, transform .18s;
}
.mxh-btn-primary:hover { background: var(--mxh-orange-dark); transform: translateY(-1px); }
.mxh-signup__hint { text-align: center; font-size: 12.5px; line-height: 1.6; color: #8B958A; }

/* -------------------------------------------------------------- Quy trinh -- */
.mxh-steps { display: flex; align-items: flex-start; justify-content: center; gap: 12px; flex-wrap: wrap; row-gap: 36px; }
.mxh-step { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 230px; }
/* Icon minh hoa thay cho so thu tu 1-2-3-4. Anh la line-art den, nen trong suot,
   nen van dat trong khung trang bo tron nhu cu; padding de net ve khong cham vien. */
.mxh-step__icon {
	width: 76px; height: 76px; border-radius: 22px; background: #FFFFFF; border: 1px solid #E1EED6;
	display: flex; align-items: center; justify-content: center;
	padding: 13px;
}
/* Anh goc la net ve den tuyen tren nen trong suot - toan bo hinh nam o kenh alpha.
   Nen thay vi <img>, dung chinh anh do lam mask cho mot khoi mau: doi mau chinh xac
   tuyet doi, khac han filter() von chi ra mau gan dung. URL anh truyen vao qua bien
   --mxh-step-img dat inline tren the <i> (base_url() chi co ben PHP).
   Khong can @supports: file nay von da chay bang CSS variable, ma trinh duyet nao
   hieu variable thi cung hieu mask-image. */
.mxh-step__ico {
	display: block; width: 100%; height: 100%;
	background: var(--mxh-green-deep);
	-webkit-mask-image: var(--mxh-step-img);         mask-image: var(--mxh-step-img);
	-webkit-mask-repeat: no-repeat;                  mask-repeat: no-repeat;
	-webkit-mask-position: center;                   mask-position: center;
	-webkit-mask-size: contain;                      mask-size: contain;
}
.mxh-step h3 { margin: 20px 0 8px; font-weight: 800; font-size: 18px; color: var(--mxh-orange-dark); }
.mxh-step p { font-size: 14px; line-height: 1.6; color: var(--mxh-muted-2); }
.mxh-step__line { flex: 0 0 56px; margin-top: 38px; border-top: 2px dashed #C7DEB4; }

/* ------------------------------------------------------------ Phu huynh -- */
/* 2 anh day du + anh thu 3 ho ra mot phan (--mxh-testi-peek) de nguoi dung
   biet la con anh phia sau, keo/swipe sang xem tiep duoc. */
.mxh-testi { --mxh-testi-peek: 92px; --mxh-testi-gap: 22px; }
.mxh-testi__view { overflow: hidden; cursor: grab; }
.mxh-testi__view.is-dragging { cursor: grabbing; }
.mxh-testi__track {
	display: flex; gap: var(--mxh-testi-gap); align-items: stretch;
	transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.mxh-testi__track.is-dragging { transition: none; }
.mxh-testi__item {
	flex: 0 0 calc((100% - 2 * var(--mxh-testi-gap) - var(--mxh-testi-peek)) / 2);
	border-radius: 20px; overflow: hidden;
	background: #FFFFFF; border: 1px solid var(--mxh-frame);
	aspect-ratio: 1 / 1; min-height: 200px;
}
/* Anh feedback la screenshot tin nhan (600x600) - dung contain de khong cat mat chu */
.mxh-testi__item img { width: 100%; height: 100%; object-fit: contain; display: block; -webkit-user-drag: none; user-select: none; }
.mxh-testi__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.mxh-testi__arrow {
	width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid var(--mxh-frame);
	background: #FFFFFF; color: var(--mxh-green-text); font-family: inherit; font-size: 18px; cursor: pointer;
}
.mxh-testi__arrow:hover { border-color: var(--mxh-green); color: var(--mxh-green); }
.mxh-testi__dots { display: flex; align-items: center; gap: 8px; }
.mxh-testi__dots button {
	width: 9px; height: 9px; background: #CBDCBD; border-radius: 999px; border: none; padding: 0;
	cursor: pointer; transition: width .25s ease, background .25s ease;
}
.mxh-testi__dots button.is-active { width: 26px; background: var(--mxh-green); }

/* --------------------------------------------------------------- Bai viet -- */
.mxh-feature {
	display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px;
	padding-bottom: 34px; border-bottom: 1px solid var(--mxh-line-3); margin-bottom: 34px;
}
.mxh-feature__main { display: flex; flex-direction: column; gap: 5px; }
/* Khung ngang nhung anh thumb la vuong 400x400: object-fit: cover se cat mat gan
   nua chieu cao anh. Cho anh contain de hien tron, phan thua hai ben lap bang
   chinh anh do phong to va lam mo (.mxh-blurbg) thay vi de trong. */
.mxh-feature__img { position: relative; display: block; width: 100%; height: 300px; border-radius: 16px; overflow: hidden; background: var(--mxh-tint); }
.mxh-feature__img img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }

/* Nen mo dat phia sau anh that. Nam trong homev2.css vi ca 3 trang deu dung. */
.mxh-blurbg {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	width: 100%; height: 100%; object-fit: cover; display: block;
	filter: blur(18px) saturate(1.15); transform: scale(1.12); opacity: .55;
}
.mxh-feature__title { font-weight: 900; font-size: 21px; line-height: 1.35; color: var(--mxh-ink); }
.mxh-date { font-size: 12px; color: var(--mxh-muted-3); }
.mxh-feature__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mxh-feature__desc { font-size: 14px; line-height: 1.65; color: var(--mxh-muted-2); }
/* Truoc day la ky tu → trong dia tron nhat mau, nhin nho va mong. Nay ve bang SVG:
   double-chevron net dam, mau cam thuong hieu, bo dia nen de mui ten to het co. */
.mxh-go {
	flex: none; width: 30px; height: 30px;
	color: var(--mxh-orange);
	display: flex; align-items: center; justify-content: center;
	transition: transform .18s, color .18s;
}
.mxh-go svg { width: 100%; height: 100%; display: block; }
.mxh-go--sm { width: 25px; height: 25px; }
/* Ca 3 cho .mxh-go deu nam trong the <a>, nen day nhe sang phai khi hover cho co phan hoi. */
.mxh a:hover .mxh-go { color: var(--mxh-orange-dark); transform: translateX(3px); }
.mxh-feature__list { display: flex; flex-direction: column; }
.mxh-feature__row { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--mxh-line-2); }
.mxh-feature__row:hover { border-color: var(--mxh-green); }
.mxh-feature__row-title { font-weight: 800; font-size: 16px; line-height: 1.45; color: var(--mxh-ink); }
.mxh-feature__row-desc { font-size: 13.5px; line-height: 1.6; color: var(--mxh-muted-2); }

.mxh-cats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px 40px; }
.mxh-cat { display: flex; flex-direction: column; }
.mxh-cat__head { display: flex; align-items: center; gap: 12px; }
.mxh-cat__icon {
	flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--mxh-tint-2);
	display: flex; align-items: center; justify-content: center;
}
/* Truoc day muc accent 'orange' co tieu de mau cam (.mxh-cat__title--orange).
   Nay thong nhat toan bo tieu de chuyen muc ve mot mau xanh; accent chi con dieu
   khien mau vien icon ben canh. */
.mxh-cat__title { margin: 0; font-weight: 900; font-size: 18px; letter-spacing: .2px; color: var(--mxh-green-title); }
/* color: inherit de khong bi .mxh a (mau green-deep) ghi de. */
.mxh-cat__title a { color: inherit; }
.mxh-cat__title a:hover { color: var(--mxh-orange); }
.mxh-cat__card {
	display: flex; gap: 16px; background: #FFFFFF; border: 1px solid var(--mxh-line-2);
	border-radius: 16px; padding: 14px; box-shadow: 0 8px 22px rgba(34,48,28,.05); transition: box-shadow .18s;
}
.mxh-cat__card:hover { box-shadow: 0 14px 30px rgba(34,48,28,.11); }
/* Khung anh phai co ti le co dinh, neu khong chieu cao khung chay theo tung anh
   va cac hang lech nhau. Khoa ve 1:1 vi admin ep moi anh thumb tin ve dung
   400x400 (maintain_ratio = FALSE, xem admin/News.php) - khung vuong thi anh
   hien tron, khong bi cat nhu hoi khoa 4:3.
   align-self: flex-start de khung khong bi flex keo gian lai theo chieu cao the. */
.mxh-cat__img {
	flex: 0 0 40%; aspect-ratio: 1; align-self: flex-start;
	border-radius: 12px; overflow: hidden; background: var(--mxh-tint); display: block;
}
.mxh-cat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mxh-cat__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
/* Gioi han 2 dong: tieu de bai viet dai ngan rat khac nhau, khong chan thi phan chu
   se day the cao len va lam hong su dong deu vua lap o tren. */
.mxh-cat__name {
	font-weight: 800; font-size: 16px; line-height: 1.4; color: var(--mxh-ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mxh-cat__desc {
	font-size: 13.5px; line-height: 1.6; color: var(--mxh-muted-2);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mxh-cat__body .mxh-go { margin-top: auto; align-self: flex-end; }
.mxh-more { display: flex; justify-content: center; margin-top: 30px; }
.mxh-more a {
	display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700;
	color: var(--mxh-green-text); border: 1.5px solid var(--mxh-frame); padding: 14px 26px;
	border-radius: 999px; white-space: nowrap;
}
.mxh-more a:hover { border-color: var(--mxh-green); color: var(--mxh-green); }

/* ---------------------------------------------------------------- Do vui -- */
.mxh-quiz { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; align-items: start; }
.mxh-quiz__left { display: flex; flex-direction: column; gap: 16px; }
.mxh-quiz__img { display: block; width: 100%; height: 280px; border-radius: 16px; overflow: hidden; background: var(--mxh-tint); }
.mxh-quiz__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mxh-quiz__text { display: flex; flex-direction: column; gap: 8px; }
.mxh-quiz__title { font-weight: 900; font-size: 20px; color: var(--mxh-ink); }
.mxh-quiz__title a { color: var(--mxh-ink); }
.mxh-quiz__title a:hover { color: var(--mxh-orange); }
.mxh-quiz__text p,
.mxh-quiz__body { font-size: 14.5px; line-height: 1.7; color: var(--mxh-ink-2); }
.mxh-quiz__body p { margin: 0 0 8px; }
.mxh-quiz form { display: flex; flex-direction: column; gap: 12px; }
.mxh-quiz__legend { font-size: 15px; font-weight: 700; color: var(--mxh-ink); padding-bottom: 10px; border-bottom: 1px solid var(--mxh-line-3); }
.mxh-quiz__note { font-size: 13px; color: #8B958A; }
.mxh-quiz__field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mxh-muted); }
.mxh-quiz__field textarea {
	width: 100%; padding: 14px 16px; border: 1.5px solid #E3EDD9; border-radius: 12px;
	font-family: inherit; font-size: 15px; font-weight: 500; color: var(--mxh-ink);
	background: #F8FBF5; outline: none; resize: vertical; transition: border-color .18s, box-shadow .18s;
}
.mxh-quiz__field textarea:focus { border-color: var(--mxh-green); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(113,187,68,.14); }
.mxh-quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2px; }
.mxh-btn-send {
	background: var(--mxh-orange); color: #FFFFFF; border: none; font-family: inherit;
	font-size: 14.5px; font-weight: 700; padding: 14px 24px; border-radius: 999px; cursor: pointer;
	box-shadow: 0 10px 22px rgba(242,102,38,.24);
}
.mxh-btn-send:hover { background: var(--mxh-orange-dark); }
.mxh .mxh-btn-ghost {
	display: inline-flex; align-items: center; background: #FFFFFF; color: var(--mxh-green-text);
	border: 1.5px solid var(--mxh-frame); font-family: inherit; font-size: 14.5px; font-weight: 700;
	padding: 14px 24px; border-radius: 999px; cursor: pointer;
}
.mxh .mxh-btn-ghost:hover { border-color: var(--mxh-green); color: var(--mxh-green); }

/* ---------------------------------------------------------------- Footer -- */
.mxh-footer { background: var(--mxh-orange); color: #FFFFFF; padding: 56px 32px 0; }
.mxh-footer a { color: #FFFFFF; }
.mxh-footer a:hover { color: #FFE3D2; }
.mxh-footer__grid {
	max-width: 1200px; margin: 0 auto;
	display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);
	gap: 40px 32px; align-items: start; text-align: left;
}
.mxh-footer h5 { margin: 0 0 18px; font-weight: 900; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: #FFE04A; }
.mxh-footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.mxh-footer__info { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; line-height: 1.6; }
.mxh-footer__links { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mxh-footer__links a,
.mxh-footer__links button { font-size: 14.5px; font-weight: 500; }
.mxh-footer__ask { background: none; border: none; padding: 0; font-family: inherit; font-weight: 700; color: #FFE04A; cursor: pointer; }
.mxh-footer__ask:hover { color: #FFFFFF; }
.mxh-footer__badge { width: 190px; max-width: 100%; margin: 22px 0 0; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.14); display: block; }
.mxh-footer__badge img { width: 100%; display: block; }
/* Icon mang xa hoi: vong tron trang mo tren nen cam, hover thi dao thanh nen trang
   voi mau thuong hieu cua tung mang. Glyph dung fill="currentColor" nen chi doi color. */
.mxh-footer__social {
	max-width: 1200px; margin: 34px auto 0;
	display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.mxh-footer__social-label { font-size: 14.5px; font-weight: 700; color: #FFE04A; }
.mxh-footer__social-list { display: flex; align-items: center; gap: 12px; }
.mxh .mxh-social {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 999px; flex: none;
	background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.55); color: #FFFFFF;
	transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.mxh .mxh-social:hover { background: #FFFFFF; border-color: #FFFFFF; transform: translateY(-2px); }
.mxh .mxh-social--fb:hover { color: #1877F2; }
.mxh .mxh-social--yt:hover { color: #FF0000; }
.mxh .mxh-social--zalo:hover { color: #0068FF; }
.mxh .mxh-social--tiktok:hover { color: #111111; }
.mxh .mxh-social:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.mxh-social svg { display: block; }

.mxh-footer__bottom {
	max-width: 1200px; margin: 38px auto 0; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.28);
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	font-size: 13.5px; color: rgba(255,255,255,.92); text-align: center;
}

/* --------------------------------------------------------- FAB va modal -- */
.mxh .mxh-fab {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--mxh-orange); color: #FFFFFF; border: none; font-family: inherit;
	font-size: 15px; font-weight: 700; padding: 15px 20px; border-radius: 999px; cursor: pointer;
	box-shadow: 0 12px 28px rgba(242,102,38,.36);
}
.mxh .mxh-fab:hover { background: var(--mxh-orange-dark); }
.mxh .mxh-fab i { font-style: normal; font-size: 18px; line-height: 1; }

.mxh-modal {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 100; background: rgba(24,36,18,.55);
	-webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
	display: none; align-items: flex-start; justify-content: center;
	padding: 24px 16px; overflow-y: auto; animation: mxh-fade .18s ease-out;
}
.mxh-modal.is-open { display: flex; }
.mxh-modal__box {
	position: relative; width: 100%; max-width: 560px; margin: auto; background: #FFFFFF;
	border-radius: 24px; padding: 34px 34px 32px; box-shadow: 0 30px 70px rgba(12,24,8,.35);
	animation: mxh-pop .22s ease-out;
}
.mxh-modal__box--auth { max-width: 440px; }
.mxh-modal__close {
	position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 999px;
	border: none; background: #F2F6EE; color: var(--mxh-muted); font-family: inherit; font-size: 17px; cursor: pointer;
}
.mxh-modal__close:hover { background: #E4EEDA; }
.mxh-modal__kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.1px; color: var(--mxh-orange); margin-bottom: 10px; }
.mxh-modal__title { margin: 0 0 8px; font-weight: 900; font-size: 26px; color: var(--mxh-ink); }
.mxh-modal__desc { margin: 0 0 22px; font-size: 14px; line-height: 1.6; color: var(--mxh-muted-2); }
.mxh-modal form { display: flex; flex-direction: column; gap: 14px; }
.mxh-modal__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
/* Khong dung flex o day: nhan + dau * + chu thich phai nam cung mot dong,
   con o nhap thi xuong dong duoi. */
.mxh-mfield { display: block; font-size: 13px; font-weight: 600; color: var(--mxh-ink-3); }
.mxh-mfield em { font-style: normal; font-weight: 400; color: var(--mxh-muted-3); }
.mxh-mfield input,
.mxh-mfield select,
.mxh-mfield textarea {
	display: block; margin-top: 7px;
	width: 100%; padding: 13px 14px; border: 1px solid #DCE4D4; border-radius: 12px;
	font-family: inherit; font-size: 15px; color: var(--mxh-ink); background: #FFFFFF; outline: none; resize: vertical;
}
.mxh-mfield input:focus,
.mxh-mfield select:focus,
.mxh-mfield textarea:focus { border-color: var(--mxh-green); }
.mxh-btn-green {
	margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--mxh-green); color: #FFFFFF; border: none; font-family: inherit;
	font-size: 16px; font-weight: 700; padding: 16px 20px; border-radius: 999px; cursor: pointer;
	box-shadow: 0 10px 24px rgba(113,187,68,.28);
}
.mxh-btn-green:hover { background: var(--mxh-green-dark); }
.mxh-modal__foot { margin: 2px 0 0; font-size: 12px; color: var(--mxh-muted-3); text-align: center; }
.mxh-modal__done { padding: 26px 4px 8px; text-align: center; display: none; }
.mxh-modal__done.is-on { display: block; }
.mxh-modal__done-icon {
	width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px; background: #E4F3D8;
	color: var(--mxh-green-deep); font-size: 30px; display: flex; align-items: center; justify-content: center;
}
.mxh-modal__done h3 { margin: 0 0 10px; font-weight: 900; font-size: 24px; color: var(--mxh-ink); }
.mxh-modal__done p { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--mxh-muted-2); }
.mxh-modal__done button {
	background: var(--mxh-green); color: #FFFFFF; border: none; font-family: inherit;
	font-size: 15px; font-weight: 700; padding: 14px 30px; border-radius: 999px; cursor: pointer;
}
.mxh-modal__done button:hover { background: var(--mxh-green-dark); }
.mxh-modal__pane { display: block; }
.mxh-modal.is-sent .mxh-modal__pane { display: none; }
.mxh-modal.is-sent .mxh-modal__done { display: block; }

.mxh-auth__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.mxh-auth__brand img { width: 40px; height: 40px; object-fit: contain; }
.mxh-auth__brand span { font-weight: 900; font-size: 24px; letter-spacing: -.5px; color: var(--mxh-green); }
.mxh-auth__brand i { font-style: normal; color: var(--mxh-orange); }
.mxh-auth__tabs { display: flex; gap: 4px; padding: 4px; background: #F2F6EE; border-radius: 999px; margin-bottom: 22px; }
.mxh-auth__tab {
	flex: 1; padding: 12px 16px; border-radius: 999px; border: none; cursor: pointer;
	font-weight: 700; font-size: 15px; font-family: inherit; background: transparent; color: var(--mxh-muted);
}
.mxh-auth__tab.is-active { background: var(--mxh-green); color: #FFFFFF; }
.mxh-auth__title { margin: 0 0 2px; font-weight: 900; font-size: 22px; color: var(--mxh-ink); }
.mxh-auth__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.mxh-auth__meta label { display: flex; align-items: center; gap: 8px; color: var(--mxh-ink-3); font-weight: 500; }
.mxh-auth__meta a { font-weight: 600; }

/* Hai form (dang nhap / dang ky) nam canh nhau, tab quyet dinh form nao hien. */
.mxh-auth__form { display: flex; flex-direction: column; gap: 14px; }
.mxh-auth__form[data-mxh-authform='register'] { display: none; }
.mxh-modal.is-register .mxh-auth__form[data-mxh-authform='login'] { display: none; }
.mxh-modal.is-register .mxh-auth__form[data-mxh-authform='register'] { display: flex; }
/* Form dang ky nhieu truong hon nen noi rong hop thoai. */
.mxh-modal.is-register .mxh-modal__box--auth { max-width: 560px; }

.mxh-auth__msg {
	display: none; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px;
	background: #FDECE3; border: 1px solid #F7C9B2; color: #B4441A;
	font-size: 14px; font-weight: 600; line-height: 1.5;
}
.mxh-auth__msg.is-on { display: block; }
.mxh-auth__msg.is-ok { background: #EDF7E4; border-color: #D5E9C4; color: var(--mxh-green-text); }
.mxh-mfield i { font-style: normal; color: var(--mxh-orange); }

.mxh-video { align-items: center; padding: 40px; z-index: 120; background: rgba(18,26,14,.72); }
.mxh-video__box {
	position: relative; width: 100%; max-width: 900px; background: #0C1409; border-radius: 20px;
	overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: mxh-pop .22s ease-out;
}
.mxh-video__close {
	position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 999px;
	border: none; background: rgba(255,255,255,.92); color: var(--mxh-ink); font-size: 18px; font-weight: 700; cursor: pointer;
}
.mxh-video__close:hover { background: #FFFFFF; color: var(--mxh-orange); }
.mxh-video__frame { width: 100%; aspect-ratio: 16 / 9; min-height: 240px; background: #000000; }
.mxh-video__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.mxh-noscroll { position: fixed; left: 0; right: 0; width: 100%; }

/* ===================================================== Responsive: 1180 == */
@media (max-width: 1179px) {
	.mxh-bar { gap: 10px; }
	.mxh-wordmark { display: none; }
	.mxh-nav__link { padding: 8px 7px; font-size: 13px; }
	/* Khoang 1040-1180px la luc the hep nhat ma van 2 cot:
	   ha co chu de tieu de con du cho nam mot hang (dang dat white-space: nowrap) */
	.mxh-format__title { font-size: 21px; }
}

/* ===================================================== Responsive: 1080 == */
@media (max-width: 1079px) {
	.mxh-nav { display: none; }
	.mxh-burger { display: flex; }
}

/* ===================================================== Responsive: 1040 == */
@media (max-width: 1039px) {
	.mxh-topbar { display: none; }
	.mxh-formats { grid-template-columns: minmax(0,1fr); }
	.mxh-mission__box { grid-template-columns: minmax(0,1fr); }
	.mxh-signup__box { grid-template-columns: minmax(0,1fr); }
	.mxh-step__line { display: none; }
	.mxh-cats { grid-template-columns: minmax(0,1fr); }
	.mxh-feature { grid-template-columns: minmax(0,1fr); }
	.mxh-quiz { grid-template-columns: minmax(0,1fr); }
	.mxh-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.mxh-frame__legend > * { font-size: 20px; }
	.mxh-testi { --mxh-testi-peek: 64px; }
}

/* ====================================================== Responsive: 1000 == */
@media (max-width: 999px) {
	.mxh-stats__box { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ======================================================= Responsive: 760 == */
@media (max-width: 759px) {
	.mxh-bar { padding: 12px 18px; gap: 12px; }
	.mxh-quote { padding: 16px 18px; }
	.mxh-quote__in { gap: 14px; }
	.mxh-quote__text { font-size: 15px; }
	.mxh-notice { padding: 12px 12px 0; }
	.mxh-notice__box { padding: 12px 14px; border-radius: 12px; }
	.mxh-banner { padding: 12px 12px 4px; }
	.mxh-banner__box { border-radius: 16px; }
	/* Ban thiet ke de 4/3 cho mobile (gia dinh co banner rieng cho mobile).
	   Site dang dung chung 1 anh banner ngang nen giu nguyen ti le de khong bi cat. */
	.mxh-banner__arrow { width: 38px; height: 38px; }
	.mxh-banner__arrow--prev { left: 10px; }
	.mxh-banner__arrow--next { right: 10px; }
	.mxh-banner__dots { bottom: 12px; }

	.mxh-stats { padding: 26px 18px 8px; }
	.mxh-stats__box { padding: 26px 20px; }

	.mxh-section { padding: 48px 18px 4px; }
	.mxh-frame { padding: 44px 16px 24px; }
	.mxh-frame__legend { --mxh-legend-py: 10px; --mxh-legend-px: 16px; }
	.mxh-frame__legend > * { white-space: normal; font-size: 16px; }

	.mxh-feats { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.mxh-feat { border-left: none; }
	.mxh-format__row { flex-direction: column; }
	.mxh-format__img { flex: 1 1 100%; min-height: 240px; padding-right: 26px; }
	/* Tren dien thoai: xep icon len tren tieu de de tieu de con du be ngang nam mot hang */
	.mxh-format__head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.mxh-format__title { font-size: 21px; }

	.mxh-courses { grid-template-columns: minmax(0,1fr); }
	.mxh-course__tile { flex: 0 0 84px; }

	.mxh-mission { padding: 36px 18px 4px; }
	.mxh-mission__box { padding: 24px 20px 26px; gap: 22px; }
	.mxh-mission__text p { font-size: 14.5px; }
	.mxh-mission__quote { font-size: 17px; }

	.mxh-signup { padding: 34px 18px 38px; }
	.mxh-signup__aside { padding: 30px 20px 32px; }
	.mxh-signup__form { padding: 26px 20px 28px; }
	.mxh-signup__title { font-size: 24px; }
	.mxh-signup__row { grid-template-columns: minmax(0,1fr); }

	.mxh-step { max-width: 100%; }

	.mxh-testi { --mxh-testi-peek: 46px; }
	.mxh-testi__item { flex: 0 0 calc(100% - var(--mxh-testi-gap) - var(--mxh-testi-peek)); }

	.mxh-feature__img { height: 220px; }
	.mxh-feature__title { font-size: 19px; }
	.mxh-cat__title { font-size: 16px; }
	.mxh-cat__card { flex-direction: column; }
	/* The xep doc: anh nam tren, phai keo het be ngang. align-self o ban desktop la
	   flex-start (truc ngang) nen phai tra ve stretch, khong thi anh se co lai. */
	.mxh-cat__img { flex: 0 0 auto; align-self: stretch; }

	.mxh-quiz__img { height: 220px; }

	.mxh-footer { padding: 40px 18px 0; }
	.mxh-footer__grid { grid-template-columns: minmax(0,1fr); gap: 30px; text-align: center; }
	.mxh-footer__col { align-items: center; }
	.mxh-footer__links { align-items: center; }
	.mxh-footer__badge { margin-left: auto; margin-right: auto; }
	.mxh-footer__social { flex-direction: column; gap: 14px; margin-top: 28px; }

	.mxh-fab span { display: none; }
	.mxh-modal__box { padding: 24px 20px 26px; }
	.mxh-modal__row { grid-template-columns: minmax(0,1fr); }
	.mxh-video { padding: 18px; }
}

/* ============================== Tieu de the hinh thuc hoc: giu mot hang ==
   Do rong chu ~13.9px cho moi 1px co chu; cho trong = be ngang may - 104px.
   Cac moc duoi day da do that de khong bao gio tran. */
@media (max-width: 429px) {
	.mxh-format__title { font-size: 16px; }
}
@media (max-width: 359px) {
	.mxh-format__title { font-size: 14px; }
}

/* ======================================================== Responsive: 700 == */
@media (max-width: 1079px) {
	.mxh-exams { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 699px) {
	.mxh-exams { grid-template-columns: minmax(0,1fr); }
}
