/*
Theme Name: Anh ngữ – mẫu Xanh navy
Theme URI: https://letuanvu.com/
Author: LTV
Template: anhngu
Description: Mẫu giao diện thứ 2 cho trung tâm Anh ngữ: bố cục hệ thống trung tâm lớn (thanh menu navy cố định, banner trượt, 3 chương trình, đôi nét + video, bài viết, sự kiện nổi bật, huy chương học viên tiêu biểu, khối tư vấn navy, chân trang navy chia cơ sở theo tỉnh). Dùng chung dữ liệu, form, bài test của theme gốc anhngu.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: anhngu-xanh
*/

:root:root {
	--ag2-navy: #022F63;
	--ag2-navy2: #445C96;
	--ag2-ink: #221638;
	--ag2-grey: #606060;
	--ag2-bg: #F5F7FA;
	--ag2-red: #B90505;
	--ag2-red2: #DA0101;
	--ag2-gold: #E8B33A;
	/* biến của theme gốc → bảng màu mẫu này (trang con dùng lại khuôn của theme gốc) */
	--ag-blue: #022F63;
	--ag-ink: #221638;
	--ag-ink2: #606060;
	--ag-paper: #fff;
	--ag-sky: #F5F7FA;
	--ag-sun: #FFC93C;
	--ag-coral: #B90505;
	--ag-mint: #1E8E5A;
	--ag-grape: #445C96;
	--ag-line: #E4E8EF;
	--ag-r: 5px;
	--ag-font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ag-display: "Nunito", system-ui, sans-serif;
	--ag-shadow: 0 8px 24px rgba(2, 47, 99, .12);
}

body.ag2 { font-family: var(--ag-font); font-size: 16px; color: var(--ag2-ink); background: #fff; padding-bottom: 0; }
.ag2 a { color: var(--ag2-navy); }
.ag2-main { padding-top: 80px; }
.ag2-wrap { width: 100%; max-width: 1310px; margin: 0 auto; padding: 0 15px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Nút */
.ag2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 30px; border: 0; border-radius: 5px; background: var(--ag2-navy2); color: #fff !important; font-weight: 700; font-size: 15px; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: background .2s, transform .2s; line-height: 1.25; text-align: center; }
.ag2-btn:hover { background: var(--ag2-navy); }
.ag2-btn--red { background: var(--ag2-red2); }
.ag2-btn--red:hover { background: var(--ag2-red); }
.ag2-btn--lg { min-height: 54px; padding: 14px 34px; font-size: 16px; }
.ag2-btn--block { width: 100%; }
.ag2-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ag2-ink) !important; font-size: 15px; text-decoration: none !important; }
.ag2-more:hover { color: var(--ag2-red) !important; }
.ag2-center { text-align: center; margin-top: 24px; }

/* ===== Thanh menu navy cố định ===== */
.ag2-nav { position: fixed !important; top: 0; left: 0; right: 0; z-index: 90; background: var(--ag2-navy); border: 0; box-shadow: 0 2px 12px rgba(0, 0, 0, .15); }
.ag2-nav__in { display: flex; align-items: center; gap: 18px; height: 80px; }
.ag2-logo { display: flex; flex-direction: column; line-height: 1.05; color: #fff !important; text-decoration: none !important; flex: none; margin-right: auto; }
.ag2-logo b { font-weight: 900; font-size: 22px; letter-spacing: .01em; }
.ag2-logo b span { font-weight: 700; color: #BFD3FF; }
.ag2-logo small { font-size: 11px; font-style: italic; letter-spacing: .06em; color: #CBD7EE; margin-top: 3px; }
.ag2-logo__img { max-height: 52px; width: auto; }
.ag2-menu-wrap { flex: none !important; display: flex; align-items: center; }
.ag2-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.ag2-menu > li { position: relative; }
.ag2-menu a { display: flex; align-items: center; gap: 5px; padding: 28px 13px; color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; white-space: nowrap; }
.ag2-menu > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.ag2-menu > li:hover > a, .ag2-menu > .current-menu-item > a { color: #FFD666 !important; }
.ag2-menu .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 250px; margin: 0; padding: 8px 0; background: #fff; border-radius: 0 0 5px 5px; box-shadow: var(--ag-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.ag2-menu li:hover > .sub-menu, .ag2-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ag2-menu .sub-menu a { padding: 10px 20px; color: var(--ag2-ink) !important; font-weight: 600; font-size: 15px; white-space: normal; }
.ag2-menu .sub-menu a:hover { color: var(--ag2-red) !important; background: var(--ag2-bg); }
.ag2-nav__cta { display: none !important; }
.ag2-search-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: #fff; cursor: pointer; flex: none; }
.ag2-burger { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between; }
.ag2-burger { align-items: stretch; place-items: stretch; }
.ag2-burger span { display: block; width: 100%; height: 3px; border-radius: 2px; background: #fff; }
.ag2-search { background: #fff; padding: 14px 0; border-bottom: 1px solid var(--ag-line); }
.ag2-search .ag2-wrap { display: flex; gap: 10px; }
.ag2-search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #CED4DA; border-radius: 5px; font-size: 15px; }

/* ===== Banner trượt ===== */
.ag2-hero { position: relative; overflow: hidden; background: #DCE9FB; }
.ag2-hero { width: 100%; }
.ag2-hero__track { position: relative; width: 100%; height: clamp(360px, 41.15vw, 640px); }
.ag2-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.ag2-slide.is-on { opacity: 1; visibility: visible; }
.ag2-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ag2-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 47, 99, .82) 0%, rgba(2, 47, 99, .55) 42%, rgba(2, 47, 99, 0) 72%); }
.ag2-slide__in { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.ag2-slide__box { max-width: 560px; color: #fff; }
.ag2-slide__k { display: inline-block; margin: 0 0 14px; padding: 6px 16px; border-radius: 999px; background: #FFC107; color: var(--ag2-navy); font-weight: 800; font-size: 15px; text-transform: uppercase; }
.ag2-slide__t { margin: 0 0 12px; font-weight: 900; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.22; text-transform: uppercase; text-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.ag2-slide__s { margin: 0 0 26px; font-size: 18px; color: #E6EEFB; }
.ag2-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.ag2-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; }
.ag2-dots button.is-on { width: 28px; border-radius: 6px; background: #fff; }

/* ===== Khối chung ===== */
.ag2-sec { padding: 70px 0; }
.ag2-sec--grey { background: var(--ag2-bg); padding: 40px 0; }
.ag2-sec--sky { background: #EEF5FF; }
.ag2-head { text-align: center; margin-bottom: 40px; }
.ag2-head__label { display: block; margin-bottom: 6px; color: var(--ag2-navy); font-weight: 600; font-size: 14px; text-transform: uppercase; }
.ag2-head__t { margin: 0; font-weight: 800; font-size: 36px; line-height: 1.25; color: var(--ag2-ink); }
.ag2-head__sub { margin: 10px 0 0; color: var(--ag2-grey); }
.ag2-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }

/* Chương trình học */
.ag2-programs { padding-top: 70px; }
.ag2-pcard { background: #fff; border-radius: 5px; overflow: hidden; }
.ag2-pcard__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 5px 5px 0 0; background: var(--ag2-bg); }
.ag2-pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ag2-pcard:hover .ag2-pcard__img img { transform: scale(1.05); }
.ag2-pcard__body { padding: 22px 0 10px; }
.ag2-pcard__t { margin: 0 0 10px; font-weight: 800; font-size: 24px; line-height: 1.3; }
.ag2-pcard__t a { color: var(--ag2-ink) !important; text-decoration: none !important; }
.ag2-pcard__t a:hover { color: var(--ag2-red) !important; }
.ag2-pcard__body p { margin: 0 0 14px; color: var(--ag2-grey); font-size: 15.5px; }

/* Đôi nét về chúng tôi */
.ag2-about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.ag2-about__t { margin: 0 0 30px; font-weight: 800; font-size: 36px; line-height: 1.25; }
.ag2-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.ag2-stats li { display: flex; align-items: center; gap: 22px; }
.ag2-stats__ic { display: grid; place-items: center; flex: none; width: 85px; height: 85px; border-radius: 50%; background: var(--ag2-navy); color: #fff; }
.ag2-stats b { display: block; font-weight: 800; font-size: 24px; line-height: 1.3; }
.ag2-stats small { font-size: 15px; color: var(--ag2-grey); }
.ag2-video { position: relative; display: block; border-radius: 5px; overflow: hidden; aspect-ratio: 16 / 9; background: #0b2448; }
.ag2-video img { width: 100%; height: 100%; object-fit: cover; }
.ag2-video__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 12px rgba(255, 255, 255, .3); transition: transform .2s; }
.ag2-video__play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 24px solid var(--ag2-navy); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.ag2-video:hover .ag2-video__play { transform: scale(1.08); }

/* Bài viết */
.ag2-blog { padding: 40px 0 30px; }
.ag2-blog__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; }
.ag2-blog__side { display: flex; flex-direction: column; gap: 24px; }
.ag2-post__img { display: block; overflow: hidden; border-radius: 5px; aspect-ratio: 16 / 10; background: var(--ag2-bg); }
.ag2-post--big .ag2-post__img { aspect-ratio: 16 / 10; }
.ag2-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ag2-post:hover .ag2-post__img img { transform: scale(1.04); }
.ag2-post__cat { margin: 14px 0 4px; font-size: 14px; color: var(--ag2-grey); text-transform: uppercase; }
.ag2-post__t { margin: 12px 0 0; font-weight: 800; font-size: 24px; line-height: 1.3; }
.ag2-post__cat + .ag2-post__t { margin-top: 0; }
.ag2-post__t--sm { font-size: 18px; }
.ag2-blog__side .ag2-post__t { font-size: 18px; }
.ag2-post__t a { color: var(--ag2-ink) !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ag2-post__t a:hover { color: var(--ag2-red) !important; }

/* Học viên tiêu biểu: huy chương */
.ag2-stars { position: relative; overflow: hidden; padding: 40px 0 50px; background: linear-gradient(180deg, #F2F7FF 0%, #E3EEFF 100%); }
.ag2-stars::before { content: "★ ★ ★"; position: absolute; right: 4%; top: 30px; font-size: 64px; letter-spacing: 18px; color: rgba(2, 47, 99, .06); }
.ag2-stars::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 160px; background: repeating-linear-gradient(-8deg, rgba(185, 5, 5, .06) 0 18px, transparent 18px 36px); transform: rotate(-3deg); }
.ag2-stars .ag2-wrap { position: relative; z-index: 1; }
.ag2-stars__row { display: flex; align-items: center; gap: 14px; }
.ag2-stars__track { position: relative; flex: 1; height: 330px; }
.ag2-arrow { flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: var(--ag2-navy); font-size: 46px; line-height: 1; cursor: pointer; }
.ag2-medal { position: absolute; top: 50%; left: 50%; width: 250px; margin: 0; cursor: pointer; transform: translate(-50%, -50%) scale(.82); transition: transform .45s, opacity .45s; opacity: 0; pointer-events: none; }
.ag2-medal.is-mid { transform: translate(-50%, -50%) scale(1.06); opacity: 1; pointer-events: auto; z-index: 2; }
.ag2-medal.is-left { transform: translate(calc(-50% - 330px), -50%) scale(.84); opacity: 1; pointer-events: auto; }
.ag2-medal.is-right { transform: translate(calc(-50% + 330px), -50%) scale(.84); opacity: 1; pointer-events: auto; }
.ag2-medal__ring { position: relative; width: 230px; height: 230px; margin: 0 auto; padding: 14px; border-radius: 50%; background: conic-gradient(from 0deg, #F7D774, #C8901C, #FBE7A1, #B9801A, #F7D774, #C8901C, #FBE7A1, #F7D774); box-shadow: 0 10px 24px rgba(2, 47, 99, .25), inset 0 0 0 4px rgba(255, 255, 255, .5); }
.ag2-medal__ring::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: repeating-conic-gradient(#E8B33A 0 6deg, transparent 6deg 12deg); z-index: -1; }
.ag2-medal__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: #fff; }
.ag2-medal__ribbon { position: relative; z-index: 1; width: 250px; margin: -34px auto 0; padding: 8px 6px; background: linear-gradient(180deg, #1F4F9A, var(--ag2-navy)); color: #FFE29A; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-align: center; clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); }
.ag2-stars__info { text-align: center; margin-top: 18px; }
.ag2-stars__info h3 { margin: 0 0 8px; font-weight: 700; font-size: 30px; color: var(--ag2-navy); }
.ag2-stars__info em { font-style: normal; color: var(--ag2-red2); }
.ag2-stars__info p { max-width: 720px; margin: 0 auto 14px; font-style: italic; color: var(--ag2-grey); font-size: 16px; }

/* Tư vấn miễn phí */
.ag2-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.ag2-contact__img img { width: 100%; height: auto; border-radius: 5px; }
.ag2-contact__box { padding: 34px 30px 30px; border-radius: 5px; background: var(--ag2-navy); color: #fff; }
.ag2-contact__box h2 { margin: 0 0 6px; font-weight: 800; font-size: 33px; color: #fff; }
.ag2-contact__box > p { margin: 0 0 22px; color: #D7E1F2; }
.ag2-form .ag-f { margin: 0 0 14px; }
.ag2-form input, .ag2-form textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #CED4DA; border-radius: 5px; background: #fff; color: #212529; font-size: 15px; font-family: inherit; }
.ag2-form--dark input, .ag2-form--dark textarea { background: #fff; border-color: transparent; }
.ag2-form textarea { min-height: 110px; resize: vertical; }
.ag2-form input:focus, .ag2-form textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 214, 102, .6); }
.ag2-form .ag2-btn { background: var(--ag2-navy2); margin-top: 4px; }
.ag2-form .ag2-btn:hover { background: #5670AE; }
.ag2-form .ag-notice { margin-top: 12px; }

/* ===== Chân trang navy ===== */
.ag2-foot { background: var(--ag2-navy); color: #EDEDED; font-family: var(--ag-font); padding: 40px 0 10px; }
.ag2-foot a { color: #EDEDED !important; }
.ag2-foot a:hover { color: #FFD666 !important; }
.ag2-foot__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 30px; padding-bottom: 20px; }
.ag2-foot__h { margin: 0 0 14px; font-weight: 800; font-size: 22px; line-height: 1.25; color: #EDEDED; }
.ag2-foot__top p { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.ag2-foot__list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ag2-foot__list li { margin-bottom: 6px; }
.ag2-foot__soc { display: flex; gap: 8px; margin-top: 12px !important; }
.ag2-foot__soc a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 3px; background: #fff; color: var(--ag2-navy) !important; font-family: var(--ag-font); font-weight: 900; font-size: 14px; text-decoration: none; }
.ag2-foot__center { text-align: center; margin-top: 10px; }
.ag2-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-bottom: 20px; }
.ag2-city { border-bottom: 1px solid rgba(255, 255, 255, .55); font-family: var(--ag-font); }
.ag2-city summary { position: relative; padding: 12px 24px 8px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; }
.ag2-city summary::-webkit-details-marker { display: none; }
.ag2-city summary::after { content: ""; position: absolute; right: 4px; top: 15px; width: 7px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform .2s; }
.ag2-city[open] summary::after { transform: rotate(-135deg); top: 19px; }
.ag2-city ul { list-style: none; margin: 0; padding: 0 0 12px; font-size: 14px; color: #CBD7EE; }
.ag2-city li { margin-bottom: 6px; }
.ag2-foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 30px; flex-wrap: wrap; padding: 16px 0 10px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 15px; }
.ag2-foot__bottom p { margin: 0; }
.ag2-foot__cert { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ag2-foot__certh { font-weight: 800; font-size: 17px; margin-right: 6px; }
.ag2-chipbtn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 6px; background: #000; border: 1px solid rgba(255, 255, 255, .35); font-family: var(--ag-font); font-weight: 700; font-size: 13px; text-decoration: none !important; }

/* Nút nổi phải */
.ag2-float { position: fixed; right: 16px; bottom: 90px; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ag2-float a { display: grid; place-items: center; text-decoration: none !important; }
.ag2-float__badge { width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2E5FA8, var(--ag2-navy)); color: #fff !important; border: 3px solid #E8B33A; line-height: 1; text-align: center; display: flex !important; flex-direction: column; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.ag2-float__badge b { font-size: 15px; font-weight: 900; color: #FFD666; }
.ag2-float__badge small { font-size: 9.5px; font-weight: 700; }
.ag2-float__call { width: 50px; height: 50px; border-radius: 50%; background: var(--ag2-red2); color: #fff !important; box-shadow: 0 0 0 0 rgba(218, 1, 1, .5); animation: ag2-pulse 1.8s infinite; }
.ag2-float__zalo { width: 50px; height: 50px; border-radius: 50%; background: #fff; color: #0068FF !important; font-weight: 900; font-size: 14px; border: 2px solid #0068FF; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.ag2-float__top { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ag2-navy) !important; font-weight: 900; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
@keyframes ag2-pulse { 0% { box-shadow: 0 0 0 0 rgba(218, 1, 1, .5); } 70% { box-shadow: 0 0 0 14px rgba(218, 1, 1, 0); } 100% { box-shadow: 0 0 0 0 rgba(218, 1, 1, 0); } }

/* ===== Trang khóa học (landing) ===== */
.ag2-lp-hero { position: relative; overflow: hidden; padding: 50px 0 60px; background: linear-gradient(180deg, #CFE4FF 0%, #EAF4FF 60%, #fff 100%); text-align: center; }
.ag2-clouds { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 120px 46px at 12% 18%, #fff 98%, transparent), radial-gradient(ellipse 80px 34px at 17% 14%, #fff 98%, transparent), radial-gradient(ellipse 150px 50px at 86% 22%, #fff 98%, transparent), radial-gradient(ellipse 90px 36px at 80% 17%, #fff 98%, transparent), radial-gradient(ellipse 110px 40px at 60% 8%, rgba(255, 255, 255, .8) 98%, transparent); }
.ag2-lp-hero .ag2-wrap { position: relative; }
.ag2-pill { display: table; margin: 0 auto 16px; padding: 8px 30px; border-radius: 6px; background: #FFC107; color: var(--ag2-navy); font-weight: 900; font-size: 20px; text-transform: uppercase; transform: skewX(-8deg); }
.ag2-lp-title { display: inline-block; max-width: 900px; margin: 0 0 16px; padding: 12px 34px; border-radius: 8px; background: linear-gradient(180deg, #1C66E8, #0F4DC4); color: #fff; font-weight: 900; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.3; box-shadow: 0 6px 0 #0A3A99; }
.ag2-lp-lead { max-width: 760px; margin: 0 auto 30px; font-size: 17px; color: var(--ag2-ink); }
.ag2-lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; text-align: left; }
.ag2-lp-count__t { margin: 0 0 10px; text-align: center; font-weight: 800; font-size: 26px; color: var(--ag2-navy); }
.ag2 .ag-count { justify-content: center; margin-bottom: 20px; }
.ag2 .ag-count span { min-width: 62px; padding: 8px 6px; border-radius: 6px; background: var(--ag2-red2); color: #fff; }
.ag2 .ag-count b { font-family: var(--ag-font); font-weight: 900; font-size: 28px; }
.ag2 .ag-count small { color: #FFD6D6; }
.ag2-lp-form { padding: 24px; border-radius: 10px; background: linear-gradient(180deg, #1C66E8, var(--ag2-navy)); box-shadow: 0 10px 24px rgba(2, 47, 99, .25); }
.ag2-lp-form .ag2-btn { background: var(--ag2-red2); font-size: 17px; }
.ag2-lp-form .ag2-btn:hover { background: var(--ag2-red); }
.ag2-lp-offer { margin: 0 0 16px; text-align: center; font-weight: 900; font-size: 40px; line-height: 1.25; color: var(--ag2-red2); text-transform: uppercase; }
.ag2-lp-img img { width: 100%; border-radius: 10px; }
.ag2-lp-facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ag2-lp-facts li { padding: 10px 14px; border-radius: 8px; background: #fff; font-size: 15px; box-shadow: 0 2px 8px rgba(2, 47, 99, .08); }
.ag2-lp-facts b { display: block; font-size: 12.5px; color: var(--ag2-grey); text-transform: uppercase; }
.ag2-lp-kicker { margin: 0 0 6px; text-align: center; font-weight: 800; font-size: 23px; color: var(--ag2-navy); text-transform: uppercase; }
.ag2-lp-h2 { margin: 0 0 36px; text-align: center; font-weight: 900; font-size: clamp(26px, 3vw, 35px); line-height: 1.3; color: var(--ag2-red2); text-transform: uppercase; }
.ag2-lp-h2.ag2-left { text-align: left; margin-bottom: 18px; }
.ag2-lp-points { background: linear-gradient(180deg, #fff, #EEF5FF); }
.ag2-lp-cards { gap: 54px 30px; }
.ag2-lp-card { position: relative; padding: 52px 22px 24px; border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 6px 20px rgba(2, 47, 99, .1); }
.ag2-lp-card__ic { position: absolute; left: 50%; top: -36px; display: grid; place-items: center; width: 72px; height: 72px; margin-left: -36px; border-radius: 50%; background: #fff; color: var(--ag2-navy); border: 3px solid #CFE0FF; }
.ag2-lp-card h3 { margin: 0 0 8px; font-weight: 900; font-size: 18px; color: var(--ag2-navy); text-transform: uppercase; }
.ag2-lp-card p { margin: 0; font-size: 15px; color: #3a3a3a; }
.ag2-lp-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: start; }
.ag2-prose h2 { font-family: var(--ag-font); }
.ag2-lp-out { padding: 26px; border-radius: 10px; background: #fff; border-top: 5px solid var(--ag2-red2); box-shadow: var(--ag-shadow); }
.ag2-lp-out h3 { margin: 0 0 12px; font-weight: 800; font-size: 20px; color: var(--ag2-navy); }
.ag2-lp-out ul { margin: 0; padding-left: 20px; }
.ag2-lp-out li { margin-bottom: 8px; }
.ag2-lp-commit { margin: 16px 0 0; padding: 10px 14px; border-radius: 6px; background: #FFF1F1; color: var(--ag2-red2); font-weight: 800; }
.ag2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.ag2-steps li { padding: 22px; border-radius: 10px; background: var(--ag2-bg); border-left: 5px solid var(--ag2-navy); }
.ag2-steps span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 50%; background: var(--ag2-navy); color: #fff; font-weight: 900; }
.ag2-steps b { display: block; margin-bottom: 6px; font-size: 18px; color: var(--ag2-navy); }
.ag2-steps p { margin: 0; font-size: 15px; color: var(--ag2-grey); }
.ag2-lp-nums { background: linear-gradient(180deg, #EAF4FF, #fff); }
.ag2-nums { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ag2-nums li { padding: 26px 16px; border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 6px 18px rgba(2, 47, 99, .1); }
.ag2-nums b { display: block; font-weight: 900; font-size: 38px; line-height: 1.2; color: var(--ag2-red2); }
.ag2-nums span { font-weight: 700; color: var(--ag2-navy); }
.ag2-lp-cta { text-align: center; }
.ag2-dialog__t { margin: 0 0 14px; font-weight: 800; font-size: 24px; color: var(--ag2-navy); padding-right: 40px; }

/* ===== Trang con dùng khuôn theme gốc: làm phẳng phong cách "vở học trò" ===== */
.ag2 .ag-sec { padding: 60px 0; }
.ag2 .ag-wrap { max-width: 1310px; padding: 0 15px; }
.ag2 .ag-narrow { max-width: 900px; }
.ag2 .ag-phero { padding: 46px 0 44px; background: linear-gradient(180deg, #CFE4FF, #EEF5FF); background-image: none; background-color: #E3EEFF; border-bottom: 0; text-align: center; }
.ag2 .ag-phero .ag-h1 { margin-left: auto; margin-right: auto; font-weight: 900; color: var(--ag2-navy); }
.ag2 .ag-phero .ag-lead { margin: 0 auto; }
.ag2 .ag-phero__bee, .ag2 .ag-inline-cta .ag-bee, .ag2 .ag-band .ag-bee, .ag2 .ag-quiz-side .ag-bee, .ag2 .ag-404 .ag-bee { display: none; }
.ag2 .ag-h1, .ag2 .ag-h2, .ag2 .ag-h3 { font-family: var(--ag-font); font-weight: 800; }
.ag2 .ag-h2 { font-size: clamp(26px, 3vw, 36px); }
.ag2 .ag-tape { padding: 0; background: none; clip-path: none; transform: none; color: var(--ag2-navy); font-family: var(--ag-font); font-weight: 600; font-size: 14px; text-transform: uppercase; margin-bottom: 6px; }
.ag2 .ag-hl { background: none; padding: 0; color: var(--ag2-red2); }
.ag2 .ag-sticker { border: 0; box-shadow: none; background: #FFC107; color: var(--ag2-navy); font-weight: 800; border-radius: 5px; }
.ag2 .ag-sticker::before { display: none; }
.ag2 .ag-btn { border-radius: 5px; border-color: var(--ag2-navy2); background: var(--ag2-navy2); box-shadow: none; text-transform: uppercase; font-size: 14.5px; }
.ag2 .ag-btn:hover, .ag2 .ag-btn:active { transform: none; box-shadow: none; background: var(--ag2-navy); }
.ag2 .ag-btn--sun { background: var(--ag2-red2); border-color: var(--ag2-red2); color: #fff; }
.ag2 .ag-btn--ghost { background: #fff; color: var(--ag2-navy); border-color: var(--ag2-navy); }
.ag2 .ag-btn--ghost:hover { background: var(--ag2-bg); }
.ag2 .ag-btn--zalo { background: #0068FF; border-color: #0068FF; }
.ag2 .ag-ccard, .ag2 .ag-pcard, .ag2 .ag-tag, .ag2 .ag-row, .ag2 .ag-branch.ag-row, .ag2 .ag-faq details, .ag2 .ag-syl li, .ag2 .ag-fees { border-radius: 5px; border-width: 1px; }
.ag2 .ag-ccard:hover { box-shadow: var(--ag-shadow); border-color: var(--ag-line); }
.ag2 .ag-ccard__t, .ag2 .ag-pcard__t, .ag2 .ag-branch__t, .ag2 .ag-row__course, .ag2 .ag-group__t span, .ag2 .ag-ccard__fee, .ag2 .ag-ticket__fee b, .ag2 .ag-ticket__k, .ag2 .ag-form__title, .ag2 .ag-syl b, .ag2 .ag-syl__n, .ag2 .ag-row__date b, .ag2 .ag-fees__r a, .ag2 .ag-fees__r b, .ag2 .ag-quiz__q, .ag2 .ag-who b, .ag2 .ag-opt i, .ag2 .ag-result__score b, .ag2 .ag-rec__card b, .ag2 .ag-report dd, .ag2 .ag-report > dt, .ag2 .ag-note b, .ag2 .ag-tag__hello, .ag2 .ag-tag__n, .ag2 .ag-band__in b, .ag2 .ag-inline-cta b, .ag2 .ag-hotline-box a, .ag2 .ag-404__n, .ag2 .ag-count b { font-family: var(--ag-font); }
.ag2 .ag-ccard__age { border-radius: 4px; }
.ag2 .ag-chip { border-radius: 5px; border-width: 1px; }
.ag2 .ag-chip.is-on { background: var(--ag2-navy); border-color: var(--ag2-navy); }
.ag2 .ag-group__t { border-bottom: 2px solid var(--ag2-navy); }
.ag2 .ag-paper { padding: 28px; background: #fff; background-image: none; border-radius: 5px; box-shadow: var(--ag-shadow); border-top: 5px solid var(--ag2-navy); }
.ag2 .ag-paper::before { display: none; }
.ag2 .ag-signup { background: var(--ag2-bg); }
.ag2 .ag-switch { border-radius: 5px; }
.ag2 .ag-switch span { border-radius: 4px; }
.ag2 .ag-f input, .ag2 .ag-f select, .ag2 .ag-f textarea { border-radius: 5px; border-width: 1px; border-color: #CED4DA; }
.ag2 .ag-pills span { border-width: 1px; border-radius: 5px; }
.ag2 .ag-faq summary::after { background: var(--ag2-navy); color: #fff; font-family: var(--ag-font); }
.ag2 .ag-offer { border-radius: 8px; background: var(--ag2-navy); background-image: none; }
.ag2 .ag-offer__k { color: #FFC107 !important; }
.ag2 .ag-row__date { border-radius: 5px; border-top-color: var(--ag2-red2); }
.ag2 .ag-row__seat { border-radius: 4px; }
.ag2 .ag-report { border-radius: 5px; border-width: 1px; border-color: var(--ag-line); background-image: none; }
.ag2 .ag-note { transform: none !important; border-radius: 5px; background: #fff; box-shadow: var(--ag-shadow); border-top: 4px solid var(--ag2-navy); }
.ag2 .ag-note::before { display: none; }
.ag2 .ag-tag__hello { background: var(--ag2-navy) !important; font-size: 18px; letter-spacing: .04em; }
.ag2 .ag-quiz { border-radius: 8px; border: 1px solid var(--ag-line); box-shadow: var(--ag-shadow); }
.ag2 .ag-quiz__bar span { background: var(--ag2-navy); }
.ag2 .ag-opt { border-radius: 5px; border-width: 1px; }
.ag2 .ag-opt.is-on i, .ag2 .ag-syl__n { background: var(--ag2-navy); }
.ag2 .ag-result__score { background: #FFC107; border-width: 2px; }
.ag2 .ag-bubble { border-width: 1px; border-radius: 8px; font-family: var(--ag-font); }
.ag2 .ag-bubble::after { display: none; }
.ag2 .ag-band__in, .ag2 .ag-inline-cta { border-width: 1px; border-color: var(--ag-line); border-radius: 5px; box-shadow: var(--ag-shadow); }
.ag2 .ag-chero { background: linear-gradient(180deg, #CFE4FF, #EEF5FF); border-bottom: 0; }
.ag2 .ag-ticket { border-radius: 8px; border-width: 1px; box-shadow: var(--ag-shadow); }
.ag2 .ag-hotline-box { border-radius: 5px; background: var(--ag2-navy); }
.ag2 .ag-dialog { border-radius: 8px; }
.ag2 .ag-pcard__meta span, .ag2 .ag-pcard__meta a { background: none; padding: 0; color: var(--ag2-grey); font-weight: 400; text-transform: uppercase; }
.ag2 .nav-links .page-numbers { border-radius: 5px; border-width: 1px; }
.ag2 .nav-links .current { background: var(--ag2-navy); }

/* ===== Responsive ===== */
@media (max-width: 1240px) {
	.ag2-menu a { padding-left: 9px; padding-right: 9px; font-size: 15px; }
}
@media (max-width: 1200px) {
	.ag2-nav__in { height: 64px; }
	.ag2-main { padding-top: 64px; }
	.ag2-burger { display: flex; }
	.ag2-menu-wrap { position: fixed; inset: var(--ag-navtop, 64px) 0 0 0; display: block; padding: 10px 20px 40px; background: var(--ag2-navy); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s; }
	.ag2-menu-wrap.is-open { opacity: 1; visibility: visible; transform: none; }
	.ag2-menu { flex-direction: column; align-items: stretch; }
	.ag2-menu a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: 17px; }
	.ag2-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0 14px; background: transparent; box-shadow: none; }
	.ag2-menu .sub-menu a { color: #DCE6F7 !important; font-size: 15.5px; }
	.ag2-menu > li.menu-item-has-children > a::after { display: none; }
	.ag2-nav__cta { display: flex !important; margin-top: 20px; width: 100%; background: var(--ag2-red2); }
	.ag2-search-btn { margin-left: auto; }
	.ag2-logo { margin-right: 0; }
}
@media (max-width: 1024px) {
	.ag2-grid3 { gap: 20px; }
	.ag2-pcard__t { font-size: 21px; }
	.ag2-medal.is-left { transform: translate(calc(-50% - 270px), -50%) scale(.78); }
	.ag2-medal.is-right { transform: translate(calc(-50% + 270px), -50%) scale(.78); }
	.ag2-foot__top { grid-template-columns: 1fr 1fr; }
	.ag2-foot__top > div:first-child { grid-column: 1 / -1; }
	.ag2-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.ag2-about__grid, .ag2-contact__grid, .ag2-blog__grid, .ag2-lp-grid, .ag2-lp-two { grid-template-columns: 1fr; }
	.ag2-blog__side { display: grid; grid-template-columns: 1fr 1fr; }
	.ag2-contact__img { max-width: 460px; margin: 0 auto; }
	.ag2-cities { grid-template-columns: 1fr 1fr; }
	.ag2-hero__track { height: 460px; }
	.ag2-lp-offer { font-size: 32px; }
}
@media (max-width: 640px) {
	.ag2-sec { padding: 44px 0; }
	.ag2-sec--grey { padding: 34px 0; }
	.ag2-head { margin-bottom: 26px; }
	.ag2-head__t, .ag2-about__t { font-size: 30px; }
	.ag2-logo b { font-size: 19px; }
	.ag2-grid3, .ag2-blog__side, .ag2-cities, .ag2-foot__top { grid-template-columns: 1fr; }
	.ag2-hero__track { height: 440px; min-height: 0; }
	.ag2-slide::after { background: linear-gradient(0deg, rgba(2, 47, 99, .9) 0%, rgba(2, 47, 99, .6) 55%, rgba(2, 47, 99, .1) 100%); }
	.ag2-slide__in { align-items: flex-end; padding-bottom: 48px; }
	.ag2-slide__t { font-size: 30px; }
	.ag2-slide__s { font-size: 15.5px; margin-bottom: 18px; }
	.ag2-slide .ag2-btn { width: 100%; padding: 12px 16px; font-size: 14.5px; }
	.ag2-stats__ic { width: 70px; height: 70px; }
	.ag2-post__t { font-size: 20px; }
	.ag2-stars__track { height: 270px; }
	.ag2-medal { width: 210px; }
	.ag2-medal__ring { width: 190px; height: 190px; padding: 11px; }
	.ag2-medal__ribbon { width: 210px; font-size: 12.5px; }
	.ag2-medal.is-left, .ag2-medal.is-right { opacity: 0; pointer-events: none; }
	.ag2-arrow { width: 34px; font-size: 40px; }
	.ag2-stars__info h3 { font-size: 23px; }
	.ag2-contact__box { padding: 26px 18px 20px; }
	.ag2-contact__box h2 { font-size: 27px; }
	.ag2-foot__h { font-size: 22px; }
	.ag2-foot__certh { font-size: 17px; width: 100%; }
	.ag2-float { right: 10px; bottom: 70px; gap: 10px; }
	.ag2-float__badge { width: 54px; height: 54px; }
	.ag2-float__call, .ag2-float__zalo { width: 46px; height: 46px; }
	.ag2-pill { font-size: 16px; padding: 6px 18px; }
	.ag2-lp-title { padding: 10px 18px; }
	.ag2-lp-form { padding: 18px 14px; }
	.ag2 .ag-count span { min-width: 0; flex: 1; }
	.ag2-lp-count__t { font-size: 21px; }
	.ag2-lp-facts { grid-template-columns: 1fr; }
	.ag2-nums b { font-size: 30px; }
	.ag2-lp-cards { gap: 50px; }
	.ag2 .ag-paper { padding: 22px 16px; }
}
