/* BMG's crimson, with small accents drawn from morning light and classroom materials. */
:root {
  --brand-crimson: #ad2035;
  --sun: #ffd374;
  --coral: #e67e67;
  --deep-ink: #232c32;
  --pine: #17695e;
  --edge: #e6e3db;
  --soft-shadow: 0 9px 28px #42312a0c;
  --round: 14px;
}
.topbar {background:#762535}
.topbar .top-email {display:inline-flex;align-items:center;gap:8px;font-size:14px}
.top-email>svg {width:17px;height:17px;flex:none}
.header-tools .btn, .hero .btn, .btn {border-radius:8px}
.header-tools .btn {min-height:46px}
.header-tools .icon-btn {border-radius:50%}
.header-tools .icon-btn:hover {background:#f9eeeb}
.nav>a.active:after {height:3px;border-radius:8px;background:linear-gradient(to right,var(--red) 74%,var(--sun) 74%)}
.eyebrow:before,.ed-kicker i {
  width:28px;height:4px;border-radius:4px;
  background:linear-gradient(to right,currentColor 65%,transparent 65% 73%,var(--sun) 73%);
}
:where(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid #16667b;outline-offset:3px;box-shadow:0 0 0 3px white;
}
.hero {isolation:isolate;position:relative;background:linear-gradient(106deg,#fffdf7 5%,#fff9ed 51%,#fbe8d6 100%);border-bottom:1px solid #f0dec9}
.hero:before,.hero:after {content:"";position:absolute;pointer-events:none;z-index:-1}
.hero:before {
  inset:-10% 0 0 47%;
  background:repeating-radial-gradient(circle at 92% -11%,transparent 0 39px,#d6a46423 40px 41px,transparent 42px 73px);
  mask-image:linear-gradient(215deg,#000 4%,transparent 68%);
}
.hero:after {
  width:clamp(95px,11vw,180px);height:115px;right:1.2%;bottom:0;
  background:radial-gradient(#be805652 1.3px,transparent 1.6px) 0 0/13px 13px;
  mask-image:linear-gradient(145deg,transparent,#000 60%);
}
.hero-grid {
  display:grid;grid-template-columns:minmax(0,0.94fr) minmax(0,1.06fr);gap:clamp(32px,4.3vw,74px);
  align-items:center;min-height:0;padding:clamp(46px,5.1vw,82px) 0 clamp(54px,4.5vw,75px);
}
.hero-copy {padding:0}
.hero .eyebrow {font-size:clamp(11px,.87vw,13px);margin-bottom:20px;letter-spacing:.115em;color:#913242}
.hero h1 {color:var(--deep-ink);font-size:clamp(46px,4.9vw,74px);line-height:1.17;letter-spacing:-.061em;font-weight:700;margin-bottom:clamp(21px,2.4vw,32px);max-width:100%}
.hero h1 em {color:var(--brand-crimson);font-weight:700}
.hero-ink {position:relative;isolation:isolate;white-space:nowrap}
.hero-ink:after {content:"";position:absolute;z-index:-1;left:-2%;right:-3%;bottom:-.073em;height:.10em;background:var(--sun);border-radius:55% 50% 51% 36%;transform:rotate(-2deg)}
.hero-copy>p {font-size:clamp(16px,1.35vw,20px);line-height:1.72;color:#47585a;max-width:46ch;margin-bottom:26px}
.hero .actions {gap:14px 24px}
.hero .btn,.hero .text-link {font-size:15px}
.hero .btn {background:var(--brand-crimson);min-height:48px}
.hero .btn:hover {background:#8f192b}
.hero .text-link {border-color:#dcb9a0}
.hero-visual {isolation:isolate;position:relative;align-self:center;justify-self:stretch;margin:0 12px 0 0;min-height:0;width:auto;aspect-ratio:1.53}
.hero-visual:before,.hero-visual:after {
  content:"";position:absolute;z-index:-1;pointer-events:none;width:31%;height:42%;border-style:solid;
}
.hero-visual:before {right:-12px;top:-12px;border-color:var(--sun);border-width:10px 10px 0 0;border-radius:4px 47px 4px 0}
.hero-visual:after {left:-10px;bottom:-10px;border-color:var(--coral);border-width:0 0 8px 8px;border-radius:0 0 3px 32px}
.hero-picture {position:absolute;inset:0;overflow:hidden;background:#faead8;border-radius:18px 37px 60px 22px}
.hero-picture img {width:100%;height:100%;object-position:50% 46%}
.lesson-caption {position:absolute;left:clamp(16px,3vw,42px);bottom:-19px;padding:12px 19px 12px 13px;display:flex;align-items:center;gap:12px;background:#fff;color:var(--deep-ink);border:1px solid #eee3d7;border-radius:12px;box-shadow:0 7px 23px #483a2625}
.lesson-caption b,.lesson-caption div>span {display:block}
.lesson-caption b {font-size:16px;line-height:1.45}
.lesson-caption div>span {font-size:13px;color:#51615f}
.lesson-icon,.metric-icon {display:grid;place-items:center;flex:none}
.lesson-icon {background:#fbefce;color:#865422;width:39px;height:39px;border-radius:11px}
.lesson-icon svg {width:23px;height:23px}
.metrics-band {background:white}
.metric-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-block:20px}
.metric-tile {
  padding:clamp(14px,1.6vw,23px);display:grid;grid-template-columns:auto auto 1fr;align-items:center;
  gap:clamp(9px,1.2vw,18px);min-height:92px;border:1px solid var(--tile-edge);border-radius:12px;background:var(--tile-bg);color:var(--tile-ink);
}
.metric-rose {--tile-bg:#fce9e7;--tile-edge:#f1d5d1;--tile-ink:#903b49}
.metric-honey {--tile-bg:#fff2d4;--tile-edge:#f2dfb4;--tile-ink:#80551f}
.metric-mint {--tile-bg:#e2f2eb;--tile-edge:#cde5d9;--tile-ink:#205d51}
.metric-icon {width:clamp(36px,3.2vw,47px);height:clamp(36px,3.2vw,47px);border-radius:12px;background:#ffffffad}
.metric-icon svg {width:60%;height:60%;stroke-width:1.55}
.metric-tile strong {font-size:clamp(29px,2.7vw,42px);line-height:1;letter-spacing:-.065em;font-variant-numeric:lining-nums}
.metric-label {font-size:clamp(13px,1.03vw,15px);line-height:1.5;color:#3b4b4b;font-weight:600}
.ed-jump {background:white;border-top:1px solid #eeeae2;border-bottom:1px solid #eeeae2}
.ed-jump .container {padding-block:12px;gap:18px 33px}
.ed-jump a {color:#434c50;gap:8px}
.ed-jump a>svg:first-child {width:18px;height:18px;color:#a04647}
.ed-jump a>.ed-arrow {width:14px;color:#8a6e64}
.section-head {align-items:end}
.school-link-section {background:#fffaf1;border:0}
.school-link-section .section-head h2,.partner-section h2 {letter-spacing:-.052em}
.school-switcher {border-radius:18px;border-color:#e1dacf;box-shadow:var(--soft-shadow)}
.program-tabs button {position:relative;gap:11px;padding:15px clamp(15px,2vw,26px);border-color:#e5e0d6;line-height:1.35}
[data-program="ngoai-ngu"],#panel-ngoai-ngu {--program:#85364c;--program-pale:#f9e9e9;--program-icon:#f0d2d7}
[data-program="stem-robotics"],#panel-stem-robotics {--program:#87551a;--program-pale:#fff2d7;--program-icon:#fae0a4}
[data-program="giao-duc-ai"],#panel-giao-duc-ai {--program:#235e57;--program-pale:#e0f1e9;--program-icon:#c3e5d8}
.program-tabs button>svg {box-sizing:content-box;background:var(--program-pale);color:var(--program);width:23px;height:23px;padding:8px;border-radius:10px}
.program-tabs button[aria-selected=true],.program-tabs button:hover:not([aria-selected=true]) {background:var(--program-pale);color:var(--program)}
.program-tabs button[aria-selected=true]:after {content:"";height:3px;position:absolute;bottom:0;left:0;right:0;background:var(--program)}
.program-tabs button[aria-selected=true]>svg {background:var(--program-icon)}
.program-tabs button:focus-visible {outline-offset:-4px}
.program-copy {align-self:center}
.program-copy .eyebrow,.program-copy li:before {color:var(--program)}
.program-image {margin:15px;border-radius:10px 12px 40px 10px;overflow:hidden}
.school-bottom p svg {box-sizing:content-box;width:23px;height:23px;padding:9px;border-radius:10px;background:#f5e7df}
.ed-home {background:white}
.ed-cover,.ed-lead-link {border-radius:16px 16px 38px 16px}
.ed-mini-pic,.ed-frame,.ed-tv-image {border-radius:11px 11px 22px 11px}
.ed-media-banner {border-radius:12px;border-left:5px solid var(--sun)}
.recommendation,.academy-cta {border-radius:var(--round);border-left:4px solid #74a597}
.solution-card {border-radius:14px 14px 30px 14px}
.course-feature {background:linear-gradient(116deg,#762637,#8a3041)}
.academy-section {background:linear-gradient(115deg,#123f41,#185451)}
.course-image:before,.academy-visual:before {content:"";position:absolute;width:25%;height:26%;pointer-events:none;top:-8px;left:-8px;border-left:5px solid #ffd374;border-top:5px solid #ffd374;border-radius:23px 0 0 0}
.course-image>img,.academy-visual>img {position:relative;border-radius:18px 18px 56px 18px}
.academy-tag {border-radius:12px}
.academy-tag>svg {padding:7px;background:#e1f1e8;box-sizing:content-box;border-radius:10px;width:22px;height:22px}
.case-grid>img,.intro-split img {border-radius:12px 12px 38px 12px}
.partner-card,.ecosystem-card,.course-card,.finder-dialog,.search-dialog,.finder-options button {border-radius:var(--round)}
.partner-card {border-color:#e1dfd9}
.partner-card>span {font-size:13px;border-color:#ece9e2}
.cubroid-note {border-radius:0 12px 12px 0}
.ecosystem-card[data-category="giao-duc"] .eco-icon {background:#f7e5e5;color:#86394e}
.ecosystem-card[data-category="hoc-tap"] .eco-icon {background:#ddecdf;color:#23594b}
.ecosystem-card[data-category="quoc-te"] .eco-icon {background:#e4edf8;color:#29577a}
.ecosystem-card[data-category="thanh-vien"] .eco-icon {background:#f9ead1;color:#7b5523}
.ecosystem-card b {font-size:13px}
.course-card-body small {font-size:12px;color:#57615d}
.course-card-top .eyebrow {font-size:11px}
.journey-grid article {border-radius:0 14px 14px 14px;border-top-width:3px;box-shadow:var(--soft-shadow)}
.journey-grid article b {font-weight:600;color:#8d4752}
.page-hero,.ed-mast,.ed-media-top,.cta {position:relative;isolation:isolate;overflow:hidden}
.page-hero,.ed-mast {background:linear-gradient(111deg,#fffdf6,#fcf2e3);border-bottom:1px solid #eae2d4}
.page-hero:after,.ed-mast:after,.ed-media-top:after,.cta:after {
  content:"";position:absolute;z-index:-1;pointer-events:none;top:-140px;right:-120px;width:395px;height:395px;border-radius:50%;
  background:repeating-radial-gradient(circle,transparent 0 28px,var(--ring,#bf8b4b26) 29px 30px,transparent 31px 45px);
}
.page-hero .topic-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(195px,28%);gap:clamp(30px,6vw,90px);align-items:center}
.art-mint {--ribbon:#b0d9c7;--tile:#d6eae0;--art-ink:#226255;background:linear-gradient(112deg,#fffdf7 35%,#eaf4ec)}
.art-honey {--ribbon:#f2bf66;--tile:#f9eac6;--art-ink:#936020}
.art-rose {--ribbon:#e7a69b;--tile:#f7dcd6;--art-ink:#92374c}
.page-hero h1 {font-size:clamp(37px,3.7vw,57px);letter-spacing:-.051em;line-height:1.23}
.page-hero .title-ink {color:#91344a}
.page-hero .eyebrow {margin-bottom:13px}
.breadcrumb,.ed-crumb {font-size:13px}
.page-hero .breadcrumb {margin-bottom:20px}
.page-hero p {margin-top:17px}
.topic-photo,.topic-mark {justify-self:end;max-width:100%;position:relative}
.topic-photo {margin-right:8px;width:100%;aspect-ratio:1.72;isolation:isolate}
.topic-photo:before {content:"";position:absolute;border-top:6px solid var(--ribbon);border-right:6px solid var(--ribbon);right:-8px;top:-8px;border-radius:0 30px 0 0;width:32%;height:42%;z-index:-1}
.topic-photo img {width:100%;height:100%;border-radius:12px 24px 40px 12px}
.topic-photo>span {position:absolute;left:15px;bottom:-12px;background:var(--tile);color:var(--art-ink);border:3px solid #fffaf3;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;transform:rotate(-3deg)}
.topic-photo svg {width:24px;height:24px}
.topic-mark {display:grid;place-content:center;width:190px;height:150px;margin-right:clamp(12px,3vw,45px)}
.topic-mark:after,.topic-mark:before {content:"";position:absolute;z-index:-1}
.topic-mark:after {right:10px;top:6px;width:78px;height:66px;background:radial-gradient(var(--ribbon) 1.5px,transparent 1.8px) 0 0/10px 10px}
.topic-mark:before {bottom:3px;left:22px;width:80px;height:80px;background:var(--tile);border-radius:100% 0 0 0}
.topic-mark>span {display:grid;place-items:center;width:95px;height:95px;border-radius:22px 22px 35px 22px;transform:rotate(5deg);border:1px solid var(--ribbon);background:#fffdf6;box-shadow:5px 5px var(--ribbon);color:var(--art-ink)}
.topic-mark svg {width:48px;height:48px;transform:rotate(-5deg);stroke-width:1.35}
.ed-mast h1 em,.ed-media-top h1 em {text-decoration:underline;text-decoration-thickness:.055em;text-decoration-color:var(--sun);text-underline-offset:.135em}
.ed-media-top:after {--ring:#ffffff16}
.ed-media-top h1 em {text-decoration-color:#b18849}
.ed-article {background:linear-gradient(#fffaf1 0,white 325px)}
.ed-article-title .ed-meta {margin-top:7px}
.ed-reading figure img {border-radius:12px 12px 25px 12px}
.ed-reading figcaption {padding-left:12px;border-left:3px solid var(--sun);font-size:13px;margin-top:10px}
.ed-sources,.ed-next {border-radius:12px;border-left:3px solid #80b19c}
.ed-next {border-left-color:#edc77f}
.ed-choices button,.ed-load,.ed-empty button {border-radius:8px}
.ed-tv-tag {box-shadow:0 2px 10px #172b2925}
.ed-tv-tag .ed-play {color:#ffcb67}
.ed-press-item {border-color:var(--edge)}
.ed-press-item:nth-of-type(odd) .ed-outlet>svg {color:#9b3546}
.ed-dir-tools,.ed-tools {background:#faf9f4;padding:18px;border:1px solid #e7e5dc;border-radius:12px}
.ed-directory .ed-dir-list a:hover {background:#faf7f1}
.cta {background:linear-gradient(112deg,#fff7e8,#f8e9df);border-block:1px solid #eedcca}
.footer {border-top:4px solid #a93b49}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .metric-tile,.ed-more .ed-arrow,.text-link .arrow,.btn .arrow,.ed-jump a>.ed-arrow {transition:transform .18s ease-out,box-shadow .18s ease-out}
  .metric-tile:hover {transform:translateY(-3px);box-shadow:0 5px 15px #613b2512}
  .ed-more:hover .ed-arrow,.text-link:hover .arrow,.btn:hover .arrow,.ed-jump a:hover>.ed-arrow {transform:translateX(3px)}
}
@media(min-width:1500px){.hero-grid{min-height:0}.hero-visual{min-height:0}}
@media(max-width:1050px){
  .hero-grid {gap:28px}
  .hero h1 {font-size:clamp(43px,4.85vw,57px)}
  .metric-tile {gap:10px;padding:14px}
  .metric-icon {width:35px;height:35px}
  .metric-label {font-size:13px}
  .program-image {min-height:300px}
}
@media(max-width:840px) and (min-width:681px){
  .metric-tile {grid-template-columns:35px auto;gap:7px 10px}
  .metric-label {grid-column:1/-1}
  .metric-label br {display:none}
  .metric-label br:after {content:" "}
  .hero-visual {aspect-ratio:1.23}
  .hero-copy>p {font-size:16px}
  .lesson-caption {padding:8px 11px;gap:8px;left:14px;bottom:-17px}
  .hero .actions {gap:8px 15px}
}
@media(max-width:680px){
  .hero-grid {display:flex;flex-direction:column;gap:30px;padding:33px 0 39px;min-height:0;align-items:stretch}
  .hero-copy {padding:0}
  .hero h1 {font-size:clamp(40px,8.6vw,54px);max-width:100%;margin:0 0 17px;letter-spacing:-.055em}
  .hero .eyebrow {font-size:10.5px;letter-spacing:.08em;margin-bottom:13px}
  .hero-copy>p {font-size:16px;line-height:1.6;margin:0 0 18px}
  .hero .actions {gap:8px 16px}
  .hero .btn,.hero .text-link {font-size:14px}
  .hero-visual {width:calc(100% - 16px);margin:3px 8px 3px;min-height:0;aspect-ratio:1.66}
  .hero-visual:before {right:-7px;top:-7px;border-width:6px 6px 0 0;border-top-right-radius:31px}
  .hero-visual:after {left:-6px;bottom:-6px;border-width:0 0 5px 5px;border-bottom-left-radius:18px}
  .hero-picture {border-radius:11px 24px 38px 13px}
  .lesson-caption {left:13px;bottom:-15px;border-radius:9px;padding:7px 11px;gap:8px}
  .lesson-caption b {font-size:14px}
  .lesson-caption div>span {font-size:12px}
  .lesson-icon {height:32px;width:32px;border-radius:8px}
  .lesson-icon svg {width:19px;height:19px}
  .metric-grid {grid-template-columns:1fr;gap:7px;padding-block:13px}
  .metric-tile {grid-template-columns:36px minmax(66px,.33fr) minmax(0,1fr);gap:12px;min-height:59px;padding:10px 15px;border-radius:10px}
  .metric-tile strong {font-size:30px}
  .metric-label br {display:contents}
  .metric-label br:after {content:" "}
  .metric-label {font-size:13px}
  .topbar .top-email {font-size:13px;gap:5px}
  .top-email>svg {width:15px}
  .ed-jump .container {gap:4px 14px;padding-block:7px}
  .ed-jump a {font-size:13px;min-height:33px}
  .ed-jump a>.ed-arrow {display:none}
  .page-hero .topic-layout {grid-template-columns:minmax(0,1fr);gap:23px}
  .page-hero {padding:30px 0}
  .page-hero h1 {font-size:clamp(31px,6.8vw,41px)}
  .page-hero .breadcrumb {margin-bottom:13px}
  .page-hero .topic-photo {justify-self:start;width:min(100% - 9px,410px);aspect-ratio:2.45;margin-bottom:8px}
  .page-hero .topic-mark {display:none}
  .program-tabs button {flex-direction:column;gap:6px;align-items:center;justify-content:center;font-size:12px;text-align:center;padding:10px 5px;min-height:75px}
  .program-tabs button>svg {width:18px;height:18px;padding:6px}
  .program-image {margin:10px;min-height:230px;border-radius:9px 9px 25px 9px}
  .program-copy {padding:18px 21px 25px}
  .metric-icon {width:33px;height:33px}
  .ed-dir-tools,.ed-tools {padding:12px}
}
@media(max-width:370px){
  .hero .actions {gap:6px 13px}
  .hero .text-link,.hero .btn,.ed-jump a {font-size:13px}
  .hero .eyebrow {font-size:10px}
  .metric-tile {grid-template-columns:32px 65px 1fr;gap:8px}
  .topbar .top-email {font-size:12px}
}
.mobile-finder,.footer-back,.back-top[hidden] {display:none}
@media(min-width:681px) and (max-width:900px){
  .school-link-section .section-head {display:grid;grid-template-columns:1fr;gap:12px}
  .school-link-section .section-head>p {max-width:66ch}
  .school-link-section .section-head h2 br {display:none}
  .school-link-section .section-head h2 br:after {content:" "}
}
@media(max-width:680px){
  .finder-launch,.back-top {display:none}
  .mobile-finder {display:flex;align-items:center;gap:7px;min-height:40px;background:#fbefe9;color:#8c2b3c;border:0;border-radius:7px;padding:8px 10px;text-align:left;font-weight:600;font-size:13px}
  .mobile-finder svg {width:17px;height:17px}
  .footer-back {display:inline-flex;line-height:2.5;color:#fff}
  .footer {padding-bottom:25px}
}
@media(max-width:370px){
  .header-inner {gap:6px}
  .header-inner .logo {width:clamp(101px,36vw,126px)}
  .header-tools {gap:2px}
  .header-tools .icon-btn {width:34px;height:40px}
  .header-tools>.btn {padding:8px 10px;font-size:12px}
  .hero h1 {font-size:clamp(32px,9.6vw,36px)}
}
