/* AIVORA Academy 4.0 — editorial commerce system, no decorative AI stock imagery.
   Fluid, contrast-checked visual language: Bai Jamjuree, ink, cobalt, mint.
   Keep checkout and historical CMS semantics untouched. */
:root{--av4-ink:#132741;--av4-muted:#63758e;--av4-blue:#1464d9;--av4-blue2:#0a4cbd;--av4-line:#dfe7f2;--av4-bg:#f6f8fb;--av4-white:#fff;--av4-radius:18px}
body{font-family:'Bai Jamjuree','Manrope',sans-serif!important;background:var(--av4-bg);color:var(--av4-ink)}
body button,body input,body select{font-family:'Bai Jamjuree','Manrope',sans-serif}
.av4-brand-symbol{display:block;width:43px;height:43px;flex-shrink:0;object-fit:contain}
.brand{gap:11px}.brand-text{font-size:23px;line-height:.94;color:#142a47;letter-spacing:-.055em;font-weight:800}
.brand-text>span{font-size:8px;letter-spacing:.29em;line-height:1.2;margin-top:6px}
.brand-footer .brand-text{color:#fff}
.announcement{background:#102c49;color:#e8f4ff}
.announcement-inner{min-height:34px}.announce-live{color:#d5fff4}
.announce-live span{background:#67d5af}
.site-header{height:84px;background:rgba(255,255,255,.98);border-bottom:1px solid #e9eef6;backdrop-filter:blur(18px)}
.site-header .nav-wrap{width:min(calc(100% - 72px),1400px)}
.desktop-nav{gap:30px}.desktop-nav a{font-size:12px;font-weight:800;color:#415773;transition:color .2s}
.desktop-nav a:hover{color:var(--av4-blue)}
.aivora-account-link{border:1px solid #cfdef4;color:#164e9c;border-radius:10px;padding:13px 16px;font-weight:800}
.header-cta{border:0;background:var(--av4-blue);color:#fff;box-shadow:0 9px 22px rgba(20,99,217,.14);border-radius:10px;height:43px}
.header-cta:hover{background:var(--av4-blue2);box-shadow:0 12px 25px #145ed32a}
.courses-section{background:var(--av4-bg)!important;padding:23px 0 72px!important}
.courses-section>.container{width:min(calc(100% - 64px),1370px)!important;max-width:1370px!important}
.av-catalog-header{background:#fff;border:1px solid #e4ebf4;border-radius:22px;padding:46px 48px 42px;box-shadow:0 16px 48px rgba(15,49,89,.04);position:relative;overflow:hidden}
.av-catalog-header:after{content:'';position:absolute;width:295px;height:295px;right:-200px;top:-210px;border-radius:50%;background:#e8f3fc;pointer-events:none}
.av-catalog-eyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;color:#2871b4;gap:9px}
.av-eyebrow-mark{color:#18a786}.av-catalog-header-grid{grid-template-columns:minmax(0,1.12fr) minmax(320px,.7fr);gap:48px;align-items:center;margin-top:17px}
.av-catalog-copy h1{font-size:clamp(42px,4.2vw,67px);line-height:1.11;letter-spacing:-.061em;color:#102a46;font-weight:800;margin:0 0 20px}
.av-catalog-copy h1 span{color:#1263cb}
.av-catalog-copy>p{font-size:15px;line-height:1.87;max-width:640px;color:#596d88}
.av-heading-highlights{margin-top:25px;display:flex;flex-wrap:wrap;gap:10px}
.av-heading-highlights span{font-size:11px;font-weight:800;border-radius:100px;background:#f0f7ff;padding:8px 11px;color:#266394;border:1px solid #e2ecf9}
.av-catalog-spotlight.av4-feature-spotlight{position:relative;border:1px solid #dceaf5;background:linear-gradient(145deg,#f4f9ff,#ecf6fb);border-radius:16px;padding:26px 28px;box-shadow:none;min-height:295px}
.av4-feature-spotlight .av-spotlight-label{font-size:10px;letter-spacing:.15em;color:#1470b2;font-weight:800;display:block;margin-bottom:17px}
.av4-spotlight-overline{color:#7d95af;font-size:10px;font-weight:800;letter-spacing:.1em}
.av4-feature-spotlight h2{font-size:25px;line-height:1.28;letter-spacing:-.04em;color:#122b46;margin:7px 0 11px}
.av4-feature-spotlight p{color:#647b94;font-size:12px;line-height:1.8;margin:0}
.av4-spotlight-checks{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}
.av4-spotlight-checks span{padding:6px 9px;border-radius:7px;background:white;border:1px solid #dbe9f3;color:#326b80;font-size:10px;font-weight:750}
.av4-feature-spotlight .av-spotlight-footer{margin-top:16px;padding:0;border:0}
.av4-feature-spotlight .av-spotlight-footer a{background:#1464d9;color:#fff;display:inline-flex;padding:12px 17px;border-radius:10px;font-size:12px;font-weight:800;text-decoration:none}
.av4-feature-spotlight small{display:block;color:#8092a7;font-size:10px;line-height:1.5;margin-top:13px}
.av-list-heading{margin-top:0;margin-bottom:20px}
.av-list-heading h2{font-size:clamp(27px,3vw,35px);font-weight:800;letter-spacing:-.05em;color:#142e4c}
.av-list-heading p{color:#7c8ba1;font-size:12px}
.av-list-heading>a{border-bottom:1px solid #b9d5f4;color:#155ec9;font-size:12px;font-weight:800;padding-bottom:5px}
.catalog-toolbar{background:#fff;border:1px solid #e4eaf3;border-radius:14px;padding:15px;box-shadow:none;gap:12px}
.category-pills{gap:6px;flex-wrap:wrap}.category-pill{border:1px solid transparent;background:#f4f7fb;border-radius:8px;padding:10px 12px;color:#5b708b;font-size:11px;font-weight:800}
.category-pill:hover{background:#eaf2fb;color:#1c62b4}.category-pill.active{background:#164f9f;color:white;border-color:#164f9f;box-shadow:none}
.catalog-controls{gap:8px}.catalog-controls input,.catalog-controls select{background:#fff;border:1px solid #dce5f0;border-radius:9px;min-height:42px;color:#294765;font-weight:650;font-size:12px}
.catalog-controls input:focus{outline:2px solid #94c4f4}
.catalog-meta{margin:18px 0 19px;color:#778ba2;font-size:11px}.catalog-meta strong{font-weight:800;color:#145ec3}
.course-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
.course-card{border-radius:17px!important;border:1px solid #e2eaf3!important;box-shadow:0 5px 20px rgba(24,56,101,.04)!important;overflow:hidden;background:#fff!important;transition:transform .24s,box-shadow .24s,border-color .24s;min-width:0}
.course-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(19,55,97,.11)!important;border-color:#bad2ee!important}
.thumb-trigger{display:block!important;width:100%;border:0!important;padding:0!important;text-align:left!important;border-radius:0!important;overflow:hidden!important}
.av4-product-cover{display:flex!important;flex-direction:column!important;justify-content:space-between!important;width:100%;height:195px!important;min-height:195px!important;padding:21px 22px 17px!important;background:#174469!important;background-image:linear-gradient(110deg,#154365 4%,#1b6996 100%)!important;position:relative!important;isolation:isolate;overflow:hidden;color:#fff!important}
.av4-product-cover:before{content:'';position:absolute;right:-78px;bottom:-122px;width:265px;height:265px;border:1px solid rgba(255,255,255,.24);border-radius:50%;pointer-events:none}
.av4-product-cover:after{content:'';position:absolute;right:26px;top:30px;height:75px;width:75px;border:12px solid rgba(255,255,255,.06);border-radius:16px;transform:rotate(18deg);pointer-events:none}
.av4-product-cover[data-area="Marketing"]{background-image:linear-gradient(112deg,#164b6e,#167a88)!important}
.av4-product-cover[data-area="Sáng tạo"]{background-image:linear-gradient(112deg,#303e76,#6271ae)!important}
.av4-product-cover[data-area="Năng suất"]{background-image:linear-gradient(112deg,#174b73,#326e99)!important}
.av4-product-cover[data-area="Tự động hóa"]{background-image:linear-gradient(112deg,#18415c,#178c85)!important}
.av4-product-cover[data-area="Lập trình"]{background-image:linear-gradient(112deg,#202b4c,#47618c)!important}
.av4-cover-header,.av4-cover-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;position:relative;z-index:1;color:#c7e6ee;font-size:9px;letter-spacing:.14em;font-weight:700;line-height:1.3}
.av4-cover-header b{font-weight:400;opacity:.75}.av4-cover-header>span:last-child{opacity:.65}
.av4-cover-content{position:relative;z-index:1;min-width:0;max-width:89%;display:flex;flex-direction:column;gap:7px;margin:5px 0}
.av4-cover-category{font-size:9px;letter-spacing:.11em;text-transform:uppercase;color:#b8e8ff;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av4-cover-title{font-family:'Bai Jamjuree',sans-serif;font-size:clamp(16px,1.55vw,21px);line-height:1.25;letter-spacing:-.028em;font-weight:800;color:white;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.av4-cover-tool{font-size:11px;color:#dbf3fa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.course-body{padding:19px 21px 20px!important;min-height:278px!important;display:flex!important;flex-direction:column}
.course-cat{font-size:10px!important;letter-spacing:.12em;color:#306ba8!important;margin:0 0 7px;font-weight:800}
.av-course-labels{gap:6px;margin-bottom:10px!important}
.av-course-labels span{font-size:10px!important;background:#f3f7fc;border:1px solid #e5edf7;color:#5b7190;padding:4px 7px;border-radius:6px}
.course-card h3{font-family:'Bai Jamjuree',sans-serif;font-weight:800;font-size:18px!important;line-height:1.38!important;letter-spacing:-.035em;color:#142d4d;margin:0 0 10px!important}
.course-card h3 button,.course-card h3 a{font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;color:inherit!important;text-align:left;padding:0;border:0;background:transparent}
.course-summary{font-size:12px!important;color:#7788a0!important;line-height:1.75!important;margin:0 0 14px!important;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:61px}
.av4-ready-chip,.av4-wait-chip{font-size:10px;font-weight:750;display:inline-flex;align-self:start;border-radius:20px;padding:4px 8px;margin-bottom:8px}
.av4-ready-chip{background:#e8f7f0;color:#17845b}.av4-wait-chip{background:#f7f3ea;color:#906b2c}
.course-facts{margin-top:auto;display:flex;gap:12px;align-items:center;color:#687d96;font-size:10px!important}
.course-facts span{font-size:10px!important;white-space:normal!important;line-height:1.5}.course-facts svg{width:14px;height:14px;color:#6690b8}
.course-bottom{border-top:1px solid #e9edf4;margin-top:16px;padding-top:15px;display:flex;gap:10px;align-items:center;justify-content:space-between}
.course-price{font-size:23px!important;color:#135ed2!important;font-weight:800;letter-spacing:-.04em;white-space:nowrap}
.course-price small{font-size:11px!important;color:#9aa8ba!important;font-weight:500;text-decoration:line-through;display:block}
.course-action{border-radius:9px!important;min-height:42px!important;background:#1765d8!important;color:white!important;padding:0 15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;font-size:11px!important;font-weight:800!important;white-space:nowrap;box-shadow:0 5px 15px rgba(21,101,215,.16);border:0!important}
.course-action:hover{background:#0c4ead!important;transform:none!important}
.course-action.is-owned{background:#e4f6ee!important;color:#147e57!important;box-shadow:none}
.course-action.is-soon{background:#f3f6fa!important;color:#607b98!important;box-shadow:none}
.av-learning-options{background:#fff}.av-learning-method{background:#f8fafd;border:1px solid #e7edf4;border-radius:15px}
.av-learning-method.is-selected{border-color:#216cd0;background:#eef6ff}
.av-bottom-cta{background:#102f50;color:white}
.footer{background:#0c2038}
.footer .av4-brand-symbol{width:40px;height:40px}
.av-qr-modal .av-qr-popup{font-family:'Bai Jamjuree',sans-serif}
@media(max-width:1150px){
 .courses-section>.container{width:min(calc(100% - 40px),1100px)!important}
 .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .av-catalog-header{padding:38px}
 .av-catalog-header-grid{gap:22px}
 .av4-product-cover{height:200px!important}
}
@media(max-width:760px){
 .site-header{height:70px}.site-header .nav-wrap{width:calc(100% - 34px)!important}
 .av4-brand-symbol{width:38px;height:38px}
 .brand-text{font-size:20px}
 .courses-section{padding:17px 0 40px!important}
 .courses-section>.container{width:calc(100% - 26px)!important}
 .av-catalog-header{padding:26px 21px;border-radius:16px}
 .av-catalog-header-grid{grid-template-columns:1fr!important;gap:20px}
 .av-catalog-copy h1{font-size:clamp(35px,9vw,47px)}
 .av-catalog-copy>p{font-size:13px}
 .av-catalog-spotlight.av4-feature-spotlight{padding:20px;min-height:0}
 .av4-feature-spotlight h2{font-size:21px}
 .av-list-heading{margin-top:30px}
 .av-list-heading h2{font-size:27px}
 .catalog-toolbar{padding:12px}
 .category-pills{display:flex;flex-wrap:nowrap;overflow:auto;max-width:100%;scrollbar-width:none;padding-bottom:2px}
 .category-pills::-webkit-scrollbar{display:none}
 .category-pill{white-space:nowrap;flex:0 0 auto}
 .catalog-controls{width:100%;display:flex}.catalog-controls label{min-width:0;flex:1}
 .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
 .av4-product-cover{height:160px!important;min-height:160px!important;padding:13px!important}
 .av4-cover-title{font-size:14px}.av4-cover-content{max-width:100%}
 .av4-cover-header,.av4-cover-bottom{font-size:7px}
 .av4-cover-tool{font-size:9px}
 .course-body{padding:12px!important;min-height:280px!important}
 .course-card h3{font-size:14px!important;line-height:1.35!important}
 .course-cat{font-size:9px!important}
 .av-course-labels span{font-size:8px!important}
 .course-summary{font-size:10px!important;min-height:48px;-webkit-line-clamp:3}
 .course-facts{gap:4px;flex-wrap:wrap}.course-facts span{font-size:9px!important}
 .course-bottom{flex-direction:column;align-items:stretch;gap:8px}
 .course-price{font-size:19px!important}.course-action{min-height:39px!important;width:100%;font-size:11px!important}
 .av4-ready-chip,.av4-wait-chip{font-size:9px}
}
@media(max-width:410px){
 .course-grid{grid-template-columns:1fr!important;gap:14px!important}
 .av4-product-cover{height:185px!important;padding:18px!important}
 .av4-cover-title{font-size:20px}
 .course-body{min-height:0!important;padding:18px!important}
 .course-card h3{font-size:18px!important}
 .course-summary{font-size:12px!important}
 .course-bottom{flex-direction:row;align-items:center}
 .course-action{width:auto;padding:0 13px!important}
}
@media(prefers-reduced-motion:reduce){.course-card,.course-action,.header-cta{transition:none}}


/* Course detail: the same recognizable covers and editorial commerce shell. */
.aivora-course-page{background:#f6f8fb;color:#142e4b;padding:35px 0 70px}
.aivora-course-page>.container{width:min(calc(100% - 60px),1250px)}
.course-crumb{font-size:11px;color:#70839c;margin:0 0 22px}
.course-crumb a{color:#2467b6;font-weight:750}
.course-page-header{background:#fff;border:1px solid #e2eaf4;border-radius:18px;padding:30px;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:30px;box-shadow:0 8px 25px #204b7e0a}
.course-page-text .eyebrow{color:#26649f;font-size:10px;letter-spacing:.1em;font-weight:800}
.course-page-text h1{font-size:clamp(31px,3.2vw,45px);line-height:1.18;letter-spacing:-.04em;color:#122f50;margin:12px 0 17px;font-weight:800}
.course-page-text p{font-size:13px;color:#698199;line-height:1.85}
.course-page-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.course-page-chips>span{border:1px solid #dce8f5;border-radius:8px;background:#f4f8fe;font-size:11px;font-weight:700;color:#37678e;padding:8px 10px}
.course-page-photo.av4-detail-cover{border-radius:14px;min-height:290px;padding:24px 27px;display:flex;flex-direction:column;justify-content:space-between;background:#17486c!important;background-image:linear-gradient(115deg,#103553,#286c90)!important;color:#fff;overflow:hidden;position:relative;isolation:isolate}
.av4-detail-cover:before{content:'';position:absolute;right:-95px;bottom:-175px;width:395px;height:395px;border:1px solid #ffffff35;border-radius:50%;pointer-events:none}
.av4-detail-cover[data-area="Marketing"]{background-image:linear-gradient(115deg,#174c66,#18828a)!important}
.av4-detail-cover[data-area="Sáng tạo"]{background-image:linear-gradient(115deg,#333e76,#6575ae)!important}
.av4-detail-cover[data-area="Năng suất"]{background-image:linear-gradient(115deg,#184a70,#3373a0)!important}
.av4-detail-cover[data-area="Tự động hóa"]{background-image:linear-gradient(115deg,#19435d,#138c7f)!important}
.av4-detail-cover[data-area="Lập trình"]{background-image:linear-gradient(115deg,#1d2e4b,#536a92)!important}
.av4-detail-cover-top,.av4-detail-cover-bottom{font-size:10px;color:#c7dfed;letter-spacing:.14em;display:flex;gap:8px;justify-content:space-between;align-items:center;position:relative;z-index:1}
.av4-detail-cover-top strong{font-size:9px;font-weight:600;margin-right:auto}
.av4-detail-cover-main{display:grid;gap:9px;position:relative;z-index:1;max-width:90%}
.av4-detail-cover-main span{font-size:11px;color:#b9e6ff;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.av4-detail-cover-main strong{font-size:clamp(22px,2.4vw,32px);letter-spacing:-.04em;line-height:1.25;color:white}
.av4-detail-cover-main small{font-size:12px;color:#dbedfb}
.course-page-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(275px,345px);gap:20px;align-items:start;margin-top:23px}
.course-page-content,.course-page-sidebar{background:#fff;border:1px solid #e1e9f3;border-radius:16px;box-shadow:0 5px 17px rgba(24,55,99,.03)}
.course-page-content{padding:28px 33px}.course-page-content>h2{font-size:24px;color:#153351;letter-spacing:-.035em;margin:12px 0 18px}
.course-page-outcomes li{font-size:12px;color:#61778e;line-height:1.75;margin-bottom:9px}
.course-page-syllabus{border:1px solid #e3edf7;border-radius:12px;overflow:hidden;margin-bottom:23px}
.course-page-syllabus>div{border-bottom:1px solid #e7edf5;background:#fff;padding:13px 16px;display:flex;gap:12px;align-items:start}
.course-page-syllabus>div:last-child{border-bottom:0}
.course-page-syllabus>div>span{color:#2e76bb;font-weight:800;font-size:12px}
.course-page-syllabus>div>strong{font-size:12px;font-weight:750;flex:1;color:#244464}
.course-page-syllabus>div>small{font-size:10px;color:#8698ac;white-space:nowrap}
.course-page-sidebar{padding:23px;position:sticky;top:98px}
.course-page-sidebar>span{font-size:10px;color:#3970a2;letter-spacing:.11em;font-weight:800}
.course-page-pricing{margin:15px 0}.course-page-pricing strong{font-size:32px;letter-spacing:-.045em;color:#155fcf}
.course-page-sidebar>p{font-size:12px;color:#6f8298;line-height:1.8}
.course-page-sidebar .button-dark{background:#1663d1;color:#fff;border-radius:10px;min-height:46px}
.course-page-sidebar-line{font-size:11px;color:#58758a;border-top:1px solid #edf1f5;padding:12px 0}
.course-back{font-size:11px;color:#2164b1;font-weight:750;display:block;margin:14px 0}
@media(max-width:900px){
 .course-page-header{grid-template-columns:1fr;padding:20px}
 .course-page-layout{grid-template-columns:1fr}
 .course-page-sidebar{position:static}
}
@media(max-width:540px){
 .aivora-course-page>.container{width:calc(100% - 26px)}
 .aivora-course-page{padding-top:17px}
 .course-page-header{padding:14px}
 .course-page-text h1{font-size:30px}
 .course-page-photo.av4-detail-cover{min-height:215px;padding:18px}
 .av4-detail-cover-main strong{font-size:23px}
 .course-page-content{padding:18px}
 .course-page-content>h2{font-size:21px}
 .course-page-syllabus>div{padding:11px;gap:6px}
 .course-page-syllabus>div>strong{font-size:11px}
 .course-page-sidebar{padding:20px}
}


.av4-load-more{text-align:center;margin:28px auto 5px}
.av4-load-more button{border:1px solid #c7d9f0;background:#fff;color:#155ab1;border-radius:11px;padding:13px 27px;font-size:12px;font-weight:800;box-shadow:0 6px 19px rgba(18,70,131,.05)}
.av4-load-more button:hover{background:#eff6ff;border-color:#91baed}

/* v4.4.2: The oversized homepage introduction was removed. Start the catalog
   immediately below the site navigation with no orphaned hero gap. */
.courses-section .av-list-heading{margin-top:0!important}
.courses-section .av-list-heading h2{margin-top:5px}
@media(max-width:720px){
  .courses-section{padding-top:15px!important}
  .courses-section .av-list-heading{margin-top:0!important;margin-bottom:16px}
  .courses-section .av-list-heading h2{margin-top:3px}
}
