/* =====================================================================
   Theme EMRISE (emrise.vn) - Figma "Emrise - Renewal Design"
   Desktop: khung 1440 (nội dung 1240, lề 100) - Mobile: khung 440 (lề 16)
   Mọi class có tiền tố em- và nằm dưới body.theme-emrise.
   ===================================================================== */
/* Montserrat (SIL Open Font License) - font biến thiên 100-900, tự lưu trữ trong /themes/emrise/fonts */
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/montserrat-vietnamese-wght-normal.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/montserrat-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/montserrat-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Readex Pro (OFL): Figma dùng ở trang chủ bản mobile (khối khoá học, 3 trụ cột) và chữ "Trang trước" ở phân trang tin tức */
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/readex-pro-vietnamese-400-normal.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/readex-pro-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/readex-pro-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/readex-pro-vietnamese-500-normal.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/readex-pro-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/readex-pro-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/readex-pro-vietnamese-600-normal.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/readex-pro-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/readex-pro-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/readex-pro-vietnamese-700-normal.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/readex-pro-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/readex-pro-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Inter 500 (OFL): số trang ở phân trang tin tức */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
body.theme-emrise {
    --em-pink: #e23563;
    --em-purple: #442a82;
    --em-ink: #1c1c14;
    --em-muted: #505c66;
    --em-yellow: #f5bb57;
    --em-lav: #edebfb;
    --em-card: #fdfbfa;
    --em-line: rgba(80, 92, 102, .3);
    --em-readex: 'Readex Pro', 'Montserrat', system-ui, sans-serif;
    margin: 0;
    background: #fff;
    color: var(--em-ink);
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.theme-emrise *, .theme-emrise *::before, .theme-emrise *::after { box-sizing: border-box; }
/* :where() giữ độ ưu tiên thấp để các class em-* bên dưới ghi đè được */
:where(.theme-emrise) img { max-width: 100%; height: auto; }
:where(.theme-emrise) a { color: inherit; text-decoration: none; }
:where(.theme-emrise) :is(h1, h2, h3, p, ul, figure) { margin: 0; }
:where(.theme-emrise) ul { padding: 0; list-style: none; }
:where(.theme-emrise) :is(button, input, select, textarea) { font: inherit; color: inherit; }
.theme-emrise :focus-visible { outline: 2px solid var(--em-purple); outline-offset: 2px; }

.em-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.em-skip:focus { left: 8px; top: 8px; }
.em-container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.em-center { text-align: center; }

/* ---------- Chữ dùng chung ---------- */
.em-sc { --fs: 16px; --lh: 21px; font-size: calc(var(--fs) * .866); line-height: var(--lh); letter-spacing: calc(var(--fs) * .02); text-transform: uppercase; }
.em-eyebrow { --fs: 18px; --lh: 23px; color: var(--em-pink); font-weight: 500; font-size: calc(var(--fs) * .866); line-height: var(--lh); letter-spacing: calc(var(--fs) * .02); text-transform: uppercase; text-align: center; }
.em-eyebrow--left { --fs: 16px; --lh: 21px; text-align: left; }
.em-h2 { color: var(--em-purple); font-weight: 700; font-size: 32px; line-height: 39px; text-align: center; }
.em-lead { color: var(--em-muted); font-size: 16px; line-height: 26px; letter-spacing: .02em; text-align: center; }
.em-head { display: grid; gap: 8px; justify-items: center; }
.em-head .em-lead { margin-top: 6px; max-width: 940px; }
.theme-emrise em { font-style: normal; color: var(--em-pink); }

/* ---------- Nút ---------- */
.em-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 16px 18px; border: 0; border-radius: 8px; font-weight: 600; font-size: 16px; line-height: 22px; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, box-shadow .15s; }
.em-btn--primary { background: var(--em-pink); color: #fff; }
.em-btn--primary:hover { background: #cc2a55; }
.em-btn--outline { background: transparent; color: var(--em-pink); box-shadow: inset 0 0 0 2px var(--em-pink); }
.em-btn--outline:hover { background: rgba(226, 53, 99, .08); }
.em-btn--purple { background: var(--em-purple); color: #fff; }
.em-btn--yellow { background: var(--em-yellow); color: var(--em-ink); }
.em-btn--sm { min-height: 44px; padding: 12px 18px; font-weight: 500; font-size: 14px; line-height: 20px; }
.em-btn--md { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.em-btn--xs { min-height: 37px; padding: 10px 12px; font-size: 12px; line-height: 17px; }
.em-btn--xs .em-arrow { width: 16px; height: 16px; }
.em-btn--block { width: 100%; }
.em-btn[disabled] { opacity: .6; cursor: default; }
.em-arrow { flex: none; }
.em-more { display: inline-flex; align-items: center; gap: 10px; color: var(--em-pink); font-weight: 600; font-size: 16px; line-height: 22px; }
.em-more:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.em-header { position: absolute; inset: 0 0 auto 0; z-index: 30; }
.em-header.is-stuck { position: fixed; background: #fff; box-shadow: 0 2px 16px rgba(28, 28, 20, .08); }
.em-header__inner { width: min(1240px, 100% - 40px); margin-inline: auto; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.em-logo { display: inline-flex; flex: none; }
.em-logo img { display: block; width: auto; height: 40px; }
.em-nav__list { display: flex; align-items: center; gap: 48px; }
.em-nav__link { display: inline-flex; align-items: center; gap: 8px; height: 42px; font-weight: 600; font-size: 14px; line-height: 21px; color: var(--em-purple); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.em-nav__link:hover, .em-nav__link.is-active { color: var(--em-pink); }
.em-nav__link.is-active { border-bottom-color: var(--em-pink); }
.em-nav__item--has-sub { position: relative; }
.em-nav__sub { position: absolute; top: 100%; left: -16px; min-width: 260px; padding: 8px 0; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(28, 28, 20, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.em-nav__item--has-sub:hover .em-nav__sub, .em-nav__item--has-sub:focus-within .em-nav__sub { opacity: 1; visibility: visible; transform: none; }
.em-nav__sub a { display: block; padding: 10px 16px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--em-ink); }
.em-nav__sub a:hover, .em-nav__sub a.is-active { color: var(--em-pink); background: #fff1f5; }
.em-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.em-lang { position: relative; }
.em-lang__btn { display: inline-flex; align-items: center; gap: 2px; padding: 8px 0; border: 0; background: none; cursor: pointer; color: var(--em-muted); }
.em-lang__btn img, .em-lang__menu img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.em-lang__menu { position: absolute; right: 0; top: 100%; min-width: 150px; padding: 6px 0; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(28, 28, 20, .14); display: none; z-index: 5; }
.em-lang.is-open .em-lang__menu { display: block; }
.em-lang__menu a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 14px; }
.em-lang__menu a:hover, .em-lang__menu a.is-active { color: var(--em-pink); }
.em-burger { display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 8px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.em-burger span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--em-purple); transition: transform .2s, opacity .2s; }
.em-header.is-menu-open .em-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.em-header.is-menu-open .em-burger span:nth-child(2) { opacity: 0; }
.em-header.is-menu-open .em-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Dải đầu trang ---------- */
/* Hero desktop dựng theo khung 1440x940 của Figma (dải màu và độ mờ swoosh đo từ ảnh export 13/11): ảnh nền (FILL) ở đúng toạ độ khung ảnh từng trang,
   dải màu nền (--em-grad), hoạ tiết swoosh mờ, ảnh người tách nền, rồi chữ. Toạ độ tính % theo 1440 / 940. */
.em-hero { --em-tint: #f0f7fe; --bx: 0%; --by: 0%; --bw: 100%; --bh: 100%; --sw: .5;
    --em-grad: linear-gradient(90deg, var(--em-tint) 0%, var(--em-tint) 34%, rgba(240, 247, 254, 0) 64%);
    position: relative; isolation: isolate; height: clamp(540px, 65.28vw, 940px); overflow: hidden; background: var(--em-tint); }
.em-hero__bg { position: absolute; z-index: 0; left: var(--bx); top: var(--by); width: var(--bw); height: var(--bh); background: var(--em-bg) center / cover no-repeat; }
.em-hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: var(--em-grad); pointer-events: none; }
.em-hero::after { content: ""; position: absolute; z-index: 2; left: -.42%; top: -2.77%; width: 100.42%; height: 102.77%; background: url(img/swoosh.webp) left top / 100% 100% no-repeat; opacity: var(--sw); pointer-events: none; }
.em-hero--home { --bx: -13.47%; --by: -12.45%; --bw: 130.42%; --bh: 112.45%; --sw: .32;
    --em-grad: linear-gradient(90deg, #f0f7fe 35.07%, rgba(240, 247, 254, 0) 57.64%); }
.em-hero--course { --em-tint: #ebe6e3; --bx: 0%; --by: -7.77%; --bw: 113.75%; --bh: 113.83%;
    --em-grad: linear-gradient(90deg, #ebe6e3 0%, rgba(235, 230, 227, .97) 35.26%, rgba(235, 230, 227, 0) 95.55%); }
.em-hero--news { --em-tint: #e7e8ea; --bx: 6.81%; --by: -7.77%; --bw: 120.56%; --bh: 123.09%;
    --em-grad: linear-gradient(90deg, #e7e8ea 36%, rgba(231, 232, 234, 0) 57%); }
.em-hero--contact { --bx: 8.13%; --by: -.43%; --bw: 107.5%; --bh: 117.66%;
    --em-grad: linear-gradient(90deg, #f0f7fe 26.4%, rgba(240, 247, 254, 0) 46.5%); }
.em-hero__people { position: absolute; z-index: 3; left: 49.65%; top: 20.96%; width: 50.35%; max-width: none; pointer-events: none; }
.em-hero--course .em-hero__people { left: 43.68%; top: 8.94%; width: 57.08%; }
.em-hero__inner { position: relative; z-index: 4; width: min(1280px, 100% - 40px); height: 100%; margin-inline: auto; display: flex; align-items: center; }
.em-hero__photo { display: none; }
.em-hero__content { width: min(506px, 48%); display: grid; gap: 8px; }
.em-hero__eyebrow { color: var(--em-pink); font-size: 16px; line-height: 21px; letter-spacing: .02em; text-transform: capitalize; }
.em-hero--home .em-hero__eyebrow { text-transform: uppercase; }
.em-hero__title { color: var(--em-purple); font-weight: 700; font-size: 40px; line-height: 52px; }
.em-hero__sub { color: var(--em-muted); font-size: 16px; line-height: 26px; letter-spacing: .02em; }
.em-hero__cta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }

/* ---------- Trang chủ: chương trình đào tạo ---------- */
.em-programs { padding: 50px 0; }
.em-programs__inner { width: min(1320px, 100% - 40px); margin-inline: auto; display: grid; gap: 40px; }
.em-tabs { display: grid; gap: 20px; min-width: 0; }
.em-tabs__list { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.em-tabs__list::-webkit-scrollbar { display: none; }
.em-tab { flex: none; height: 52px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--em-muted); color: #fff; font-weight: 500; font-size: 16px; line-height: 20px; cursor: pointer; transition: background-color .15s, color .15s; }
.em-tab:hover { background: #3f4a53; }
.em-tabs + .em-tabs .em-tab { font-weight: 600; }
.em-tab.is-active { background: var(--em-yellow); color: var(--em-ink); }
.em-panel { --em-panel: #fffbf4; position: relative; min-height: 700px; border-radius: 30px; overflow: hidden; background: var(--em-panel); display: none; }
.em-panel.is-active { display: block; }
.em-tabs + .em-tabs .em-panel { --em-panel: #fffafc; }
.em-panel__img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; }
.em-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--em-panel) 49%, rgba(255, 251, 244, 0) 69%); }
/* Hàng tab thứ hai (thiếu nhi): ảnh lệch phải và tràn khung như Figma, chữ hẹp hơn */
.em-tabs + .em-tabs .em-panel__img { left: 30.83%; top: -2.14%; width: 87.95%; height: 110.57%; }
.em-tabs + .em-tabs .em-panel::before { background: linear-gradient(90deg, var(--em-panel) 25%, var(--em-panel) 40%, rgba(255, 250, 252, 0) 73%); }
.em-tabs + .em-tabs .em-panel__body { width: min(529px, 100% - 160px); padding: 60px 0 61px; }
.em-panel__body { position: relative; z-index: 2; width: min(568px, 100% - 160px); margin: 0 0 0 80px; padding: 67px 0 68px; display: grid; gap: 24px; justify-items: start; }
.em-panel__title { font-weight: 700; font-size: 32px; line-height: 39px; text-transform: capitalize; }
.em-panel__desc { margin-top: -8px; color: var(--em-muted); font-size: 18px; line-height: 29px; letter-spacing: .02em; }
.em-panel__sub { font-weight: 700; font-size: 18px; line-height: 22px; }
.em-benefits { display: grid; gap: 16px; margin-top: -8px; }
.em-benefits li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.em-benefits img { width: 64px; height: 64px; }
.em-benefits strong { display: block; font-weight: 700; font-size: 16px; line-height: 26px; letter-spacing: .02em; }
.em-benefits span { display: block; color: var(--em-muted); font-size: 16px; line-height: 26px; letter-spacing: .02em; }

/* ---------- Trang chủ: 3 trụ cột ---------- */
.em-pillars { padding: 0 0 60px; }
.em-pillars__inner { width: min(1320px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.em-pillar { --em-c: #ffeac5; position: relative; min-height: 830px; padding: 45px 23px 270px; border-radius: 30px; overflow: hidden; background: var(--em-c); }
.em-pillar:nth-child(3n+2) { --em-c: #e0d3ff; }
.em-pillar:nth-child(3n) { --em-c: #ffdfe7; }
.em-pillar__img { position: absolute; left: 0; bottom: 0; width: 100%; height: 346px; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%); mask-image: linear-gradient(180deg, transparent 0%, #000 42%); }
.em-pillar h3 { position: relative; font-weight: 700; font-size: 32px; line-height: 38px; text-transform: capitalize; margin-bottom: 12px; }
.em-pillar__text { position: relative; color: var(--em-muted); font-size: 18px; line-height: 29px; letter-spacing: .02em; }
.em-pillar__text p + p, .em-pillar__text p + ul, .em-pillar__text ul + p { margin-top: 12px; }
.em-pillar__text ul { padding-left: 0; list-style: none; }
.em-pillar__text li { position: relative; padding-left: 25px; }
.em-pillar__text li::before { content: "\2022"; position: absolute; left: 11px; top: 0; }

/* ---------- Trang chủ: 7 lý do ---------- */
.em-why { padding: 64px 0; background: linear-gradient(180deg, #fbfafe 0%, rgba(251, 250, 254, 0) 70%); overflow: hidden; }
.em-why__stage { position: relative; width: 100%; max-width: 1440px; margin-inline: auto; aspect-ratio: 1440 / 844; }
.em-why__stage > img { position: absolute; max-width: none; pointer-events: none; }
.em-why__orbit { left: 8.68%; top: -13.39%; width: 82.71%; }
.em-why__sparkles { left: 2.15%; top: 5.33%; width: 87.85%; }
.em-why__logo { left: 41.88%; top: 45.14%; width: 16.25%; }
.em-why__rocket { left: 9.1%; top: 15.4%; width: 10.69%; }
.em-why__skyline { left: 61.53%; top: 69.31%; width: 39.24%; }
.em-why__list li { position: absolute; width: 200px; transform: translateX(-50%); display: grid; gap: 10px; justify-items: center; text-align: center; font-size: 12px; line-height: 17px; text-transform: capitalize; }
.em-why__list img { width: 80px; height: 80px; }
.em-why__list li:nth-child(1) { left: 50.73%; top: 12.8%; }
.em-why__list li:nth-child(2) { left: 74.55%; top: 15.88%; }
.em-why__list li:nth-child(3) { left: 30.49%; top: 32.11%; }
.em-why__list li:nth-child(4) { left: 76.18%; top: 46.8%; }
.em-why__list li:nth-child(5) { left: 23.47%; top: 60.78%; }
.em-why__list li:nth-child(6) { left: 60.1%; top: 68.13%; }
.em-why__list li:nth-child(7) { left: 37.08%; top: 83.18%; }
.em-why__list li:nth-child(n+8) { display: none; }
.em-why__mobile { display: none; }

/* ---------- Trang chủ: 2 thẻ quảng bá ---------- */
.em-promos { width: min(1240px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.em-promo { --em-t: 246, 241, 254; position: relative; min-height: 323px; overflow: hidden; background: rgb(var(--em-t)); }
.em-promo--alt { --em-t: 253, 244, 233; }
.em-promo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.em-promo--alt .em-promo__bg { left: auto; right: 0; width: 80.3%; }
.em-promo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(var(--em-t)) 0%, rgb(var(--em-t)) 31%, rgba(var(--em-t), .7) 55%, rgba(var(--em-t), .38) 78%, rgba(var(--em-t), 0) 100%); }
.em-promo--alt::before { background: linear-gradient(90deg, rgb(var(--em-t)) 0%, rgb(var(--em-t)) 40%, rgba(var(--em-t), .6) 52%, rgba(var(--em-t), 0) 66%); }
.em-promo__art { position: absolute; z-index: 2; right: -3%; bottom: 0; width: 55.3%; max-width: none; }
.em-promo__body { position: relative; z-index: 3; width: min(279px, 60%); padding: 31px 0 31px 28px; display: grid; gap: 22px; justify-items: start; box-sizing: content-box; }
.em-promo__eyebrow { --fs: 14px; --lh: 18px; color: var(--em-purple); font-weight: 600; font-size: calc(var(--fs) * .866); line-height: var(--lh); letter-spacing: calc(var(--fs) * .02); text-transform: uppercase; }
.em-promo--alt .em-promo__eyebrow { color: var(--em-yellow); }
.em-promo__title { margin-top: 4px; font-weight: 700; font-size: 22px; line-height: 29px; letter-spacing: .02em; }
.em-ticks { display: grid; gap: 8px; }
.em-ticks li { position: relative; padding-left: 22px; color: var(--em-muted); font-size: 12px; line-height: 19px; letter-spacing: .02em; }
.em-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; background: url(img/icons/tick-pink.svg) center / contain no-repeat; }
.em-promo--alt .em-ticks li::before { background-image: url(img/icons/tick-yellow.svg); }

/* ---------- Dải tư vấn ---------- */
.em-consult { padding: 0 0 0; }
.em-home .em-consult { padding: 40px 0; }
.em-consult__box { width: min(1240px, 100% - 40px); margin-inline: auto; padding: 48px 42px; border-radius: 30px; background: var(--em-lav); display: flex; align-items: center; gap: 14px; }
.em-consult__icon { flex: none; width: 120px; height: 120px; }
.em-consult__text { flex: 1; display: grid; gap: 11px; max-width: 406px; }
.em-consult__text h2 { color: var(--em-purple); font-weight: 600; font-size: 24px; line-height: 29px; }
.em-consult__text p { color: var(--em-muted); font-size: 16px; line-height: 26px; letter-spacing: .02em; }
.em-consult .em-btn { margin-left: auto; }

/* ---------- Footer ---------- */
.em-footer { padding: 60px 0; background: #fff; }
.em-footer__inner { width: min(1240px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 344px 212px 148px minmax(0, 1fr); gap: 64px; font-size: 14px; line-height: 20px; }
.em-footer__brand { flex: 0 1 344px; display: grid; gap: 24px; align-content: start; }
.em-footer .em-logo img { height: 56px; }
.em-footer__contact { display: grid; gap: 16px; }
.em-footer__contact li { display: flex; align-items: center; gap: 6px; }
.em-footer__contact img { flex: none; width: 30px; height: 30px; }
.em-footer__links { display: grid; gap: 16px; align-content: start; white-space: nowrap; }
.em-footer a:hover { color: var(--em-pink); }
.em-footer__social { display: grid; gap: 12px; align-content: start; justify-items: end; text-align: right; }
.em-footer__social > p:first-child { line-height: 24px; }
.em-footer__social ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.em-footer__social ul img { display: block; width: 40px; height: 40px; }
.em-footer__copy { font-size: 12px; line-height: 18px; }

/* ---------- Bố cục 2 cột (khoá học, tin tức, liên hệ) ---------- */
.em-section { padding: 50px 0; }
.em-page { padding: 134px 0 50px; }
.em-layout { width: min(1240px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 810fr) minmax(0, 384fr); gap: 46px; align-items: start; }
.em-main-col { display: grid; gap: 24px; min-width: 0; }
.em-side { display: grid; gap: 20px; min-width: 0; }
.em-card { padding: 23px; border: 1px solid var(--em-line); border-radius: 12px; background: var(--em-card); }
.em-rule { height: 0; border: 0; border-top: 1px solid var(--em-line); margin: 0 0 -1px; }

/* ---------- Chi tiết khoá học ---------- */
.em-block { display: grid; gap: 24px; }
.em-block__head { display: grid; gap: 4px; }
.em-block__title { color: var(--em-purple); font-weight: 700; font-size: 26px; line-height: 45px; letter-spacing: -.02em; }
.em-block__text { color: var(--em-muted); font-size: 14px; line-height: 22px; letter-spacing: .02em; }
.em-feats { display: flex; flex-wrap: wrap; gap: 40px; }
.em-feats li { flex: 0 0 160px; display: grid; gap: 4px; justify-items: center; align-content: start; text-align: center; }
.em-feats img { width: 48px; height: 48px; margin-bottom: 8px; }
.em-feats strong { font-weight: 700; font-size: 14px; line-height: 20px; }
.em-feats span { color: var(--em-muted); font-size: 12px; line-height: 17px; white-space: pre-line; }
.em-feats li:first-child span { line-height: 19px; }
.em-feats--steps span { color: var(--em-ink); }
.em-feats--steps strong { white-space: nowrap; }
.em-feats--five { gap: 24px; }
.em-feats--five li { flex-basis: 138px; }
.em-info { display: grid; gap: 20px; margin-top: 24px; }
.em-info li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; }
.em-info img { width: 48px; height: 48px; }
.em-info strong { display: block; font-weight: 700; font-size: 14px; line-height: 20px; }
.em-info span { display: block; margin-top: 4px; color: var(--em-muted); font-size: 12px; line-height: 19px; overflow-wrap: anywhere; }
.em-price { display: grid; gap: 20px; }
.em-price__amount { margin-top: 8px; color: var(--em-purple); font-weight: 700; font-size: 24px; line-height: 29px; }
.em-price__amount small { font-weight: 500; font-size: 12px; line-height: 1; }
.em-price__note { margin-top: 4px; color: var(--em-muted); font-size: 12px; line-height: 14px; }
.em-price__cta { display: grid; gap: 8px; }
.em-price__cta .em-btn--outline { min-height: 54px; }

/* ---------- Tin tức ---------- */
.em-newsbar { width: min(1240px, 100% - 40px); margin: 0 auto 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.em-chips { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.em-chips::-webkit-scrollbar { display: none; }
.em-chip { flex: none; padding: 9px 15px; border: 1px solid var(--em-line); border-radius: 7px; color: var(--em-muted); font-size: 16px; line-height: 21px; white-space: nowrap; }
.em-chip:hover { color: var(--em-pink); border-color: #ffbbcd; }
.em-chip.is-active { background: #fff1f5; border-color: #ffbbcd; color: var(--em-pink); }
.em-search { flex: 0 1 384px; position: relative; }
.em-search input { width: 100%; height: 41px; padding: 10px 44px 10px 14px; border: 1px solid var(--em-line); border-radius: 8px; background: #fff; font-size: 14px; }
.em-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.em-post { display: grid; grid-template-columns: minmax(0, 389fr) minmax(0, 389fr); gap: 32px; align-items: center; }
.em-post__img { position: relative; display: block; aspect-ratio: 389 / 240; border-radius: 12px; overflow: hidden; background: #f2edf8; }
.em-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-post__tag { position: absolute; left: 16px; top: 16px; padding: 10px 16px; border-radius: 7px; background: var(--em-pink); color: #fff; font-size: 16px; line-height: 21px; }
.em-post__body { display: grid; gap: 14px; justify-items: start; }
.em-post__title { font-weight: 700; font-size: 18px; line-height: 27px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-post__title a:hover { color: var(--em-pink); }
.em-post__sum { margin-top: -6px; color: var(--em-muted); font-size: 14px; line-height: 22px; letter-spacing: .02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-post__meta { display: flex; flex-wrap: wrap; gap: 4px 32px; color: var(--em-muted); font-size: 12px; line-height: 19px; letter-spacing: .02em; }
.em-post__meta span { display: inline-flex; align-items: center; gap: 4px; }
.em-post__meta img { width: 20px; height: 20px; }
.em-empty { color: var(--em-muted); }
.em-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 19px; border-top: 1px solid #eaecf0; }
.em-pager__btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); font-size: 14px; line-height: 20px; }
.em-pager__btn.is-disabled { opacity: .3; pointer-events: none; }
.em-pager__btn[rel=prev] { font-family: var(--em-readex); font-weight: 400; }
.em-pager__nums a, .em-pager__nums span { font-family: 'Inter', 'Montserrat', sans-serif; font-weight: 500; line-height: 20px; }
.em-pager__nums { display: flex; gap: 2px; }
.em-pager__nums a, .em-pager__nums span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 8px; color: #475467; font-size: 14px; }
.em-pager__nums a:hover { background: #f9fafb; }
.em-pager__nums .is-active { background: #f9fafb; color: #1d2939; }
.em-featured ul { display: grid; gap: 16px; margin-top: 24px; }
.em-featured a { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center; }
.em-featured__img { display: block; aspect-ratio: 128 / 84; border-radius: 12px; overflow: hidden; background: #f2edf8; }
.em-featured__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-featured__text { display: grid; gap: 4px; }
.em-featured__text strong { font-weight: 700; font-size: 12px; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-featured__text small { color: var(--em-muted); font-size: 10px; line-height: 16px; letter-spacing: .02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-featured a:hover strong { color: var(--em-pink); }
.em-subscribe { position: relative; background: #f5f3fe; display: grid; gap: 8px; }
.em-subscribe__icon { position: absolute; right: 24px; top: 24px; width: 80px; height: 80px; }
.em-subscribe > h2, .em-subscribe > p { max-width: calc(100% - 96px); }
.em-subscribe > h2 { margin-top: 6px; }
.em-subscribe > p { min-height: 45px; color: var(--em-muted); font-size: 14px; line-height: 20px; }
.em-subscribe__form { margin-top: 8px; }
.em-subscribe__form form { display: grid; gap: 8px; }
.em-subscribe__form .em-input { height: 44px; margin: 0; padding: 0 14px; border-radius: 8px; font-weight: 400; font-size: 16px; line-height: 24px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.em-subscribe__ok { color: var(--em-purple); font-weight: 600; }

/* ---------- Chi tiết bài viết / trang tĩnh ---------- */
.em-article { display: grid; gap: 16px; min-width: 0; }
.em-article__title { font-weight: 700; font-size: 26px; line-height: 45px; letter-spacing: -.02em; }
.em-article__sum, .em-article__content { color: var(--em-muted); font-size: 14px; line-height: 22px; }
.em-article__cover { width: 100%; border-radius: 12px; display: block; }
.em-article__content > * + * { margin-top: 16px; }
.em-article__content img { border-radius: 12px; display: block; }
.em-article__content h2, .em-article__content h3 { color: var(--em-ink); font-weight: 700; font-size: 18px; line-height: 27px; }
.em-article__content ul, .em-article__content ol { padding-left: 22px; list-style: revert; }
.em-article__content a { color: var(--em-pink); text-decoration: underline; }
.em-article__figure figcaption { margin-top: 6px; font-size: 12px; color: var(--em-muted); text-align: center; }
.em-article__download { display: flex; justify-content: center; }
.em-article__download .em-btn { min-width: 274px; min-height: 50px; border-radius: 12px; }
.em-notfound .em-container { display: grid; gap: 16px; justify-items: center; padding: 60px 0; }

/* ---------- Form ---------- */
.em-form__grid { display: grid; gap: 0; }
.em-label { display: block; margin-bottom: 5px; font-size: 14px; line-height: 17px; }
.em-label i { font-style: normal; color: #fe4040; }
.em-input { display: block; width: 100%; height: 50px; padding: 0 16px; margin-bottom: 24px; border: 1px solid var(--em-line); border-radius: 12px; background: #fff; font-size: 14px; color: var(--em-ink); }
.em-input::placeholder { color: var(--em-muted); opacity: 1; }
.em-input:focus { outline: none; border-color: var(--em-purple); box-shadow: 0 0 0 3px rgba(68, 42, 130, .12); }
.em-select { appearance: none; -webkit-appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath d='M19.9 9l-6.5 6.5a2 2 0 01-2.8 0L4.1 9' stroke='%23505c66' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center no-repeat; color: var(--em-muted); }
.em-textarea { height: 120px; padding: 16px; resize: none; }
.em-check { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 24px; color: var(--em-muted); font-size: 14px; line-height: 21px; cursor: pointer; }
.em-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--em-pink); }
.em-form__note { margin-bottom: 12px; color: var(--em-muted); font-size: 13px; }
.em-form__error { margin-bottom: 12px; color: #d92d20; font-size: 14px; }
.em-form__submit { width: 100%; }
.em-form__submit::after { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: url(img/icons/arrow.svg) center / contain no-repeat; mask: url(img/icons/arrow.svg) center / contain no-repeat; }
.em-form__success { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 24px 0; color: var(--em-muted); line-height: 26px; }
.em-form__success-title { color: var(--em-pink); font-weight: 700; font-size: 20px; line-height: 30px; text-transform: capitalize; }
/* Liên hệ: 2 cột - Họ tên | Email, Chương trình | Điện thoại, Tin nhắn */
.em-contact-card { padding: 31px; }
.em-form--contact .em-form__grid { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.em-form--contact .em-form__grid > :nth-child(1) { grid-area: 1 / 1; }
.em-form--contact .em-form__grid > :nth-child(2) { grid-area: 2 / 1; }
.em-form--contact .em-form__grid > :nth-child(3) { grid-area: 1 / 2; }
.em-form--contact .em-form__grid > :nth-child(4) { grid-area: 2 / 2; }
.em-form--contact .em-form__grid > :nth-child(5) { grid-area: 3 / 1; }
.em-form--contact .em-form__grid > :nth-child(6) { grid-area: 4 / 1; }
.em-form--contact .em-form__grid > :nth-child(7) { grid-area: 3 / 2; }
.em-form--contact .em-form__grid > :nth-child(8) { grid-area: 4 / 2; }
.em-form--contact .em-form__grid > :nth-child(n+9) { grid-column: 1 / -1; }

/* ---------- Popup ---------- */
.em-modal { width: min(1072px, 100% - 20px); max-width: none; max-height: calc(100dvh - 20px); padding: 39px; border: 1px solid rgba(0, 100, 253, .2); border-radius: 16px; background: #fff; color: var(--em-ink); overflow: auto; }
.em-modal::backdrop { background: rgba(0, 0, 0, .24); }
.em-modal__close { position: absolute; right: 32px; top: 32px; width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.em-modal__eyebrow { --fs: 12px; --lh: 16px; color: var(--em-pink); font-size: calc(var(--fs) * .866); line-height: var(--lh); letter-spacing: calc(var(--fs) * .02); text-transform: uppercase; text-align: center; margin-top: 32px; }
.em-modal__title { margin-top: 4px; color: var(--em-purple); font-weight: 700; font-size: 24px; line-height: 31px; text-align: center; }
.em-modal__body { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 452fr) minmax(0, 492fr); gap: 48px; align-items: center; }
.em-modal__img { width: 100%; }
.em-form--modal .em-input { width: calc(100% - 40px); margin-bottom: 16px; }
.em-form--modal .em-check { margin-bottom: 16px; font-weight: 400; }
.em-form--modal .em-form__submit { display: flex; width: min(282px, 100%); min-height: 54px; margin-inline: auto; }
.em-form--modal .em-form__submit::after { display: none; }

/* =====================================================================
   Tablet
   ===================================================================== */
@media (max-width: 1180px) {
    .em-nav__list { gap: 24px; }
    .em-header__cta { display: none; }
    .em-hero__title { font-size: 34px; line-height: 44px; }
    .em-panel__body { margin-left: 40px; width: min(520px, 100% - 80px); }
    .em-pillar { min-height: 0; }
    .em-pillar h3 { font-size: 26px; line-height: 31px; }
    .em-pillar__text { font-size: 16px; line-height: 26px; }
    .em-footer__inner { grid-template-columns: repeat(3, auto); gap: 32px; }
    .em-footer__social { grid-column: 1 / -1; justify-items: start; text-align: left; }
    .em-footer__social ul { justify-content: flex-start; }
    .em-layout { gap: 28px; }
    .em-feats { gap: 24px; }
    .em-feats li { flex: 1 1 150px; }
}
@media (max-width: 1023px) {
    .em-layout { grid-template-columns: 1fr; }
    .em-pillars__inner { grid-template-columns: 1fr; }
    .em-pillar { padding-bottom: 300px; }
    .em-promos { grid-template-columns: 1fr; }
    .em-consult__box { flex-wrap: wrap; }
    .em-newsbar { flex-wrap: wrap; }
    .em-search { flex-basis: 100%; }
}

/* =====================================================================
   Mobile (Figma 440)
   ===================================================================== */
@media (max-width: 767px) {
    .em-container, .em-layout, .em-promos, .em-consult__box, .em-footer__inner, .em-newsbar, .em-programs__inner, .em-pillars__inner { width: calc(100% - 32px); }
    .em-eyebrow { --fs: 12px; --lh: 16px; }
    .em-eyebrow--left { --fs: 16px; --lh: 21px; }
    .em-h2 { font-size: 28px; line-height: 35px; text-transform: capitalize; }
    .em-btn { white-space: normal; text-align: center; }

    /* Header */
    .em-header { position: sticky; top: 0; background: #fff; }
    .em-header.is-stuck { position: sticky; }
    .em-header__inner { width: calc(100% - 40px); height: 90px; }
    .em-burger { display: flex; }
    .em-nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - 90px); overflow: auto; padding: 8px 20px 20px; background: #fff; box-shadow: 0 16px 24px rgba(28, 28, 20, .12); display: none; }
    .em-nav.is-open { display: block; }
    .em-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .em-nav__link { width: 100%; height: 48px; justify-content: space-between; border-bottom: 1px solid rgba(80, 92, 102, .12); }
    .em-nav__link.is-active { border-bottom-color: rgba(80, 92, 102, .12); }
    .em-nav__sub { position: static; display: none; min-width: 0; padding: 4px 0 4px 12px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .em-nav__item--has-sub.is-sub-open .em-nav__sub { display: block; }
    .em-nav__item--has-sub.is-sub-open .em-chevron { transform: rotate(180deg); }

    /* Hero */
    .em-hero { height: auto; padding: 24px 0; background: var(--em-card); }
    .em-hero__bg, .em-hero__people, .em-hero::before, .em-hero::after { display: none; }
    .em-hero__inner { width: calc(100% - 32px); display: grid; gap: 16px; }
    .em-hero__photo { display: block; width: 100%; aspect-ratio: 408 / 272; object-fit: cover; }
    .em-hero__content { width: 100%; text-align: center; }
    /* Mobile: eyebrow hero là chữ hoa nhỏ (trừ trang chủ: chữ in hoa cỡ 12) */
    .em-hero__eyebrow { font-size: calc(12px * .866); line-height: 16px; letter-spacing: .24px; text-transform: uppercase; }
    .em-hero--home .em-hero__eyebrow { font-size: 12px; line-height: 16px; letter-spacing: 0; }
    .em-hero--home .em-hero__sub { text-align: left; }
    .em-hero__title { font-size: 32px; line-height: 42px; }
    .em-hero__sub { font-size: 14px; line-height: 22px; letter-spacing: 0; }
    .em-hero__cta { gap: 12px; margin-top: 6px; }
    .em-hero__cta .em-btn { flex: 1 1 auto; min-height: 49px; font-size: 12px; line-height: 17px; }
    .em-hero__cta .em-arrow { width: 17px; height: 17px; }
    .em-hero--course .em-hero__cta { flex-direction: column; }

    /* Chương trình */
    .em-programs { padding: 24px 0 3px; }
    .em-programs__inner { gap: 16px; }
    /* Trang chủ mobile: Figma dùng Readex Pro cho tiêu đề khối khoá học, tab, tiêu đề thẻ, "Bạn sẽ nhận được gì", tiêu đề 3 trụ cột */
    .em-programs .em-h2, .em-tab, .em-panel__title, .em-panel__sub, .em-pillar h3 { font-family: var(--em-readex); }
    .em-programs .em-eyebrow { font-size: 12px; line-height: 16px; letter-spacing: 0; text-transform: capitalize; }
    .em-tabs + .em-tabs { margin-top: 16px; }
    .em-tabs__list { gap: 8px; margin-right: -16px; padding-right: 16px; }
    .em-tab { height: 39px; padding: 0 12px; font-weight: 600; font-size: 12px; line-height: 15px; }
    .em-panel { min-height: 0; border-radius: 16px; background: #fff; overflow: visible; }
    .em-panel::before { inset: 234px 0 auto 0; height: 300px; background: linear-gradient(180deg, #f9efdf 21%, rgba(249, 239, 223, 0) 100%); }
    .em-tabs + .em-tabs .em-panel::before { background: linear-gradient(180deg, #ffe8ee 21%, rgba(255, 232, 238, 0) 100%); }
    .em-panel__img, .em-tabs + .em-tabs .em-panel__img { position: relative; left: auto; top: auto; display: block; width: 100%; height: auto; aspect-ratio: 408 / 286; border-radius: 16px; }
    .em-panel__body, .em-tabs + .em-tabs .em-panel__body { width: auto; margin: -17px 16px 0; padding: 0; gap: 16px; }
    /* Figma: thẻ thiếu nhi chữ đè lên ảnh 21px, dư 13px dưới nút */
    .em-tabs + .em-tabs .em-panel__body { margin-top: -21px; padding-bottom: 13px; }
    .em-panel__title { font-size: 28px; line-height: 35px; }
    .em-panel__desc { margin-top: 0; font-family: var(--em-readex); font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: 0; }
    .em-panel__sub { font-weight: 500; font-size: 16px; line-height: 20px; }
    .em-benefits { margin-top: 0; }
    .em-benefits li { grid-template-columns: 56px 1fr; }
    .em-benefits img { width: 56px; height: 56px; }
    .em-benefits strong, .em-benefits span { font-size: 14px; line-height: 22px; letter-spacing: 0; }
    .em-panel__body > .em-btn { width: 100%; }

    /* Trụ cột */
    .em-pillars { padding: 0 0 16px; }
    .em-pillars__inner { gap: 16px; }
    .em-pillar { min-height: 685px; padding: 45px 16px 340px; }
    .em-pillar__img { height: 333px; }
    .em-pillar h3 { font-size: 24px; line-height: 29px; }
    .em-pillar__text { font-family: var(--em-readex); font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: 0; }

    /* 7 lý do */
    .em-why { padding: 24px 0; }
    .em-why .em-eyebrow { --fs: 18px; --lh: 23px; }
    .em-why .em-h2 { font-size: 24px; line-height: 29px; text-transform: none; }
    .em-why__stage { display: none; }
    .em-why__mobile { display: block; width: calc(100% - 32px); margin: 14px auto 0; }

    /* Quảng bá */
    .em-promos { gap: 16px; }
    .em-promo__bg { width: 199%; max-width: none; left: -29%; }
    .em-promo--alt .em-promo__bg { left: auto; right: -37%; width: 119%; }
    .em-promo__art { right: -9%; width: 59%; }
    .em-promo__body { padding: 24px 0 24px 16px; gap: 14px; }
    .em-promo__title { font-size: 20px; line-height: 26px; letter-spacing: 0; }

    /* Tư vấn */
    .em-consult, .em-home .em-consult { padding: 24px 0; }
    .em-consult__box { padding: 24px 16px; border-radius: 12px; flex-direction: column; align-items: flex-start; gap: 14px; }
    .em-consult__text h2 { font-size: 20px; line-height: 24px; }
    .em-consult__text p { font-size: 14px; line-height: 22px; letter-spacing: 0; }
    .em-consult .em-btn { margin: 4px 0 0; }

    /* Footer */
    .em-footer { padding: 24px 0; }
    .em-footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .em-footer__contact { gap: 8px; }
    .em-footer__links + .em-footer__links { margin-top: -16px; }
    .em-footer__social { margin-left: 0; justify-items: start; text-align: left; }
    .em-footer__social ul { justify-content: flex-start; }

    /* Bố cục */
    .em-section { padding: 32px 0 0; }
    .em-section--contact { padding: 24px 0; }
    .em-section--contact .em-main-col:first-child { gap: 20px; }
    .em-page { padding: 24px 0 0; }
    .em-layout { gap: 24px; }
    .em-block { gap: 20px; }
    .em-block__title { font-size: 20px; line-height: 26px; }
    .em-block--roadmap .em-block__title { font-size: 26px; line-height: 34px; }
    .em-side--course .em-card { max-width: 384px; }
    .em-block__text { letter-spacing: 0; }
    .em-feats { gap: 16px 24px; }
    .em-feats li { flex: 0 0 calc(50% - 12px); }
    .em-feats--steps { row-gap: 40px; }
    .em-block--outcomes { gap: 24px; }
    /* Figma: 3 mục mỗi hàng rộng 138 (bước 135), hàng sau 2 mục cách 24 */
    .em-feats--five { justify-content: center; gap: 24px 0; }
    .em-feats--five li { flex: 0 0 135px; padding: 0; }
    .em-feats--five span { margin: 0 -1.5px; }
    .em-feats--five li:nth-child(3n+1):nth-last-child(2) { margin-right: 12px; }
    .em-feats--five li:nth-child(3n+2):last-child { margin-left: 12px; }

    /* Tin tức */
    .em-newsbar { display: none; }
    .em-chips { margin-right: -16px; padding-right: 16px; gap: 8px; }
    .em-post { grid-template-columns: 1fr; gap: 16px; }
    .em-post__img { aspect-ratio: 408 / 240; }
    .em-pager { padding-top: 0; border-top: 0; }
    .em-featured ul { margin-top: 16px; }
    .em-pager__btn span { display: none; }
    .em-article__title { font-size: 24px; line-height: 34px; }
    .em-article__sum, .em-article__content { line-height: 22px; }

    /* Form + popup */
    .em-contact-card { padding: 23px 15px; }
    .em-form--contact .em-form__grid { grid-template-columns: 1fr; }
    .em-form--contact .em-form__grid > :nth-child(n) { grid-area: auto; }
    .em-form--contact .em-form__grid > :nth-child(3) { order: 1; }
    .em-form--contact .em-form__grid > :nth-child(4) { order: 2; }
    .em-form--contact .em-form__grid > :nth-child(n+5) { order: 3; }
    .em-input { margin-bottom: 16px; }
    .em-check { margin-bottom: 16px; }
    .em-modal { margin: 20px auto auto; padding: 23px; border-radius: 24px; background: #f9fafb; }
    main:has(.em-page) { background: #fafafa; }
    .em-modal__close { right: 14px; top: 10px; }
    .em-modal__eyebrow { margin-top: 0; }
    .em-modal__title { font-size: 20px; line-height: 26px; }
    .em-modal__body { margin-top: 16px; grid-template-columns: 1fr; gap: 26px; }
    .em-modal__img { width: min(320px, 100%); margin-inline: auto; }
    .em-form--modal .em-input { width: 100%; border-radius: 8px; }
    .em-form--modal .em-form__grid > :last-child { margin-bottom: 12px; }
    .em-form--modal .em-check { margin-bottom: 12px; }
    .em-form--modal .em-form__submit { width: min(274px, 100%); min-height: 50px; padding: 14px 18px; border-radius: 12px; }
}
