/*
 * Học Vật Lý Theme 2.1.0 — Ecosystem UI
 * Scope: header/footer + .hvl-eco-*. Không ghi đè CSS nghiệp vụ LMS/HatQuiz.
 * Supports desktop/tablet/mobile; accessibility: focus, contrast, reduced motion.
 */
:root{--hvl-eco-navy:#101e40;--hvl-eco-blue:#2563eb;--hvl-eco-sky:#eef5ff;--hvl-eco-ink:#182443;--hvl-eco-muted:#5d6b82;--hvl-eco-line:#e5ebf5;--hvl-eco-shadow:0 16px 46px rgba(18,44,94,.08)}
.hvl-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hvl-site-header{position:sticky;top:0;height:auto;z-index:70;background:rgba(255,255,255,.97);box-shadow:0 3px 14px rgba(29,51,93,.035)}
.admin-bar .hvl-site-header{top:32px}
.hvl-header-topline{background:#112a53;color:#dceaff;font-size:11px;letter-spacing:.025em}
.hvl-header-topline-inner{max-width:1340px;min-height:31px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.hvl-header-topline-inner span,.hvl-header-topline-inner a{display:inline-flex;gap:7px;align-items:center}
.hvl-header-topline-inner svg{width:13px;height:13px}
.hvl-header-topline-inner a{color:#fff;font-weight:700}.hvl-header-topline-inner a:hover{text-decoration:underline}
.hvl-site-header .hvl-header-inner{position:relative;max-width:1340px;height:76px;padding:0 28px;gap:24px}
.hvl-site-header .hvl-brand{width:auto;min-width:0;flex-shrink:0}
.hvl-site-header .hvl-brand picture{display:flex;align-items:center}
.hvl-site-header .hvl-brand img,.hvl-site-header .hvl-brand .custom-logo{max-height:52px;max-width:182px;width:auto;object-fit:contain}
.hvl-site-header .hvl-eco-nav{margin-left:auto;min-width:0}
.hvl-site-header .hvl-eco-nav>ul{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.hvl-site-header .hvl-eco-nav>ul>li{position:relative;list-style:none;padding:0;margin:0}
.hvl-site-header .hvl-eco-nav>ul>li>a,.hvl-site-header .hvl-nav-dropdown>summary{display:flex;align-items:center;gap:5px;height:43px;padding:0 10px;border-radius:10px;color:#33435f;font-size:12px;font-weight:770;letter-spacing:0;white-space:nowrap;cursor:pointer}
.hvl-site-header .hvl-eco-nav>ul>li>a:hover,.hvl-site-header .hvl-nav-dropdown>summary:hover,.hvl-site-header .hvl-eco-nav>ul>li>a:focus-visible{background:#eef4ff;color:#1f57c0}
.hvl-site-header .hvl-nav-dropdown>summary{list-style:none}
.hvl-site-header .hvl-nav-dropdown>summary::-webkit-details-marker{display:none}
.hvl-site-header .hvl-nav-dropdown>summary svg{width:13px;height:13px;transition:transform .2s}
.hvl-site-header .hvl-nav-dropdown[open]>summary svg{transform:rotate(180deg)}
.hvl-site-header .hvl-nav-dropdown>ul{display:none;position:absolute;top:calc(100% + 10px);left:-18px;min-width:250px;padding:9px;list-style:none;margin:0;background:#fff;border:1px solid var(--hvl-eco-line);border-radius:17px;box-shadow:0 18px 48px rgba(22,46,86,.16);z-index:100}
.hvl-site-header .hvl-nav-dropdown[open]>ul,.hvl-site-header .hvl-nav-dropdown:hover>ul,.hvl-site-header .hvl-nav-dropdown:focus-within>ul{display:block}
.hvl-site-header .hvl-nav-dropdown>ul li{margin:0;padding:0}
.hvl-site-header .hvl-nav-dropdown>ul a{min-height:45px;display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:9px;color:#33435f;font-size:12px;font-weight:700;white-space:nowrap}
.hvl-site-header .hvl-nav-dropdown>ul a:hover{background:#eef5ff;color:#225ad3}
.hvl-site-header .hvl-nav-dropdown>ul svg{width:18px;height:18px;color:#346cdf;flex:0 0 auto}
.hvl-site-header .hvl-header-actions{margin-left:0;display:flex;align-items:center;gap:8px;flex-shrink:0}
.hvl-site-header .hvl-header-actions .icon-button{width:39px;height:39px;cursor:pointer;background:#fff;border-radius:11px}
.hvl-site-header .hvl-header-actions .icon-button .ui-icon{width:19px;height:19px}
.hvl-site-header .account-link{min-height:39px;padding:0 12px;box-shadow:none;background:#1f5ad9;color:#fff;border-radius:10px;font-size:12px;font-weight:750}
.hvl-site-header .account-link:hover{background:#1949b9}
.hvl-site-header .hvl-menu-toggle{display:none;flex-shrink:0;cursor:pointer}
.hvl-header-search{position:absolute;top:calc(100% - 1px);right:28px;z-index:110;display:flex;gap:8px;max-width:calc(100vw - 30px);width:400px;padding:12px;background:#fff;border:1px solid var(--hvl-eco-line);border-radius:0 0 16px 16px;box-shadow:0 18px 32px rgba(19,45,86,.16)}
.hvl-header-search[hidden]{display:none!important}
.hvl-header-search input{min-width:0;flex:1;padding:11px 12px;border:1px solid #cbd7eb;border-radius:10px;font:inherit;color:var(--hvl-eco-ink)}
.hvl-header-search button{border:0;border-radius:10px;background:#235bd5;color:#fff;font:inherit;font-weight:750;padding:0 14px;cursor:pointer}
.hvl-site-header :is(a,button,summary,input):focus-visible,.hvl-eco-home :is(a,button):focus-visible,.hvl-mobile-bottom a:focus-visible{outline:3px solid #f09c32;outline-offset:3px}
.hvl-mobile-nav-footnote{display:none}
/* Portal home — no global selectors for LMS or plugin content */
.hvl-eco-home{color:var(--hvl-eco-ink);background:#fff;overflow:hidden;font-family:Inter,"Segoe UI",Arial,sans-serif}
.hvl-eco-home a{text-decoration:none}
.hvl-eco-container{width:min(1260px,calc(100% - 48px));margin:0 auto}
.hvl-eco-hero{position:relative;isolation:isolate;background:radial-gradient(circle at 82% 20%,#dbeaff 0,transparent 39%),linear-gradient(120deg,#f5faff 15%,#eff5ff 68%,#f6fbff);border-bottom:1px solid #e7effc}
.hvl-eco-hero:before{content:"";position:absolute;z-index:-1;left:-150px;bottom:-140px;width:330px;height:330px;border-radius:50%;background:radial-gradient(#e6eefe 0,transparent 70%)}
.hvl-eco-hero-inner{min-height:550px;display:grid;grid-template-columns:minmax(0,1fr) minmax(425px,.97fr);align-items:center;gap:56px;padding-top:66px;padding-bottom:78px}
.hvl-eco-hero-text{max-width:630px}
.hvl-hero-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:17px;color:#315eab;font-size:11px;font-weight:840;letter-spacing:.12em;line-height:1.4}
.hvl-hero-live-dot{width:8px;height:8px;display:inline-block;border-radius:50%;background:#14a87f;box-shadow:0 0 0 4px #d1f3e8;flex-shrink:0}
.hvl-eco-hero h1{margin:0;color:#162850;font-size:clamp(37px,4.5vw,59px);line-height:1.1;letter-spacing:-1.8px;font-weight:850}
.hvl-hero-headline{margin:10px 0 18px;color:#18325e;font-size:clamp(25px,3.2vw,39px);line-height:1.18;letter-spacing:-.7px;font-weight:780}
.hvl-hero-headline span{color:#1d62d5}
.hvl-hero-description{max-width:535px;margin:0;color:#5b6981;font-size:16px;line-height:1.75}
.hvl-hero-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:25px 0 23px}
.hvl-primary-button,.hvl-secondary-button{min-height:51px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;padding:11px 17px;font-weight:790;font-size:13px;transition:transform .18s,box-shadow .18s}
.hvl-primary-button{background:#205fd6;color:#fff!important;box-shadow:0 12px 23px rgba(32,95,214,.18)}
.hvl-primary-button:hover{background:#174cb6;transform:translateY(-2px);box-shadow:0 15px 26px rgba(32,95,214,.23)}
.hvl-secondary-button{background:#fff;color:#2258bb;border:1px solid #d0ddf1}
.hvl-secondary-button:hover{border-color:#91b6ed;transform:translateY(-2px)}
.hvl-hero-buttons svg{width:19px;height:19px}
.hvl-hero-features{display:flex;flex-wrap:wrap;align-items:center;gap:8px 17px;color:#557087;font-size:12px;font-weight:690}
.hvl-hero-features span{display:inline-flex;align-items:center;gap:5px}
.hvl-hero-features svg{width:15px;height:15px;color:#0d9877}
.hvl-eco-hero-art{position:relative;padding:20px 12px 12px 4px}
.hvl-art-window{max-width:560px;margin:0 auto;border:1px solid #d6e3f5;border-radius:22px;background:#fff;box-shadow:0 26px 63px rgba(39,82,150,.18);overflow:hidden;transform:rotate(1deg)}
.hvl-art-window-head{display:flex;align-items:center;gap:5px;height:45px;padding:0 17px;background:#f6f9fd;border-bottom:1px solid #e5edf8}
.hvl-art-window-head span{width:8px;height:8px;border-radius:50%;background:#d5dff0}
.hvl-art-window-head span:first-child{background:#e9a3a8}.hvl-art-window-head span:nth-child(2){background:#f0d49b}.hvl-art-window-head span:nth-child(3){background:#a5dbc8}
.hvl-art-window-head b{margin-left:auto;color:#667fa1;font-size:10px;letter-spacing:.1em}
.hvl-art-chart{margin:19px 20px 10px;border:1px solid #e2eaf7;border-radius:14px;overflow:hidden;position:relative;background:#fcfdff}
.hvl-art-chart svg{display:block;width:100%;height:auto}
.hvl-art-chart-title{position:absolute;top:10px;left:12px;padding:5px 8px;border:1px solid #e1eaf8;border-radius:8px;background:rgba(255,255,255,.94);color:#52719b;font-size:10px;font-weight:730}
.hvl-art-cards{display:flex;gap:8px;margin:0 20px 20px}
.hvl-art-cards>div{display:flex;align-items:center;gap:9px;flex:1;min-height:47px;padding:10px;border:1px solid #e7edf8;border-radius:11px;color:#3f587e;font-size:12px;font-weight:720}
.hvl-art-cards i{display:flex;color:#3670de}.hvl-art-cards svg{width:18px;height:18px}
.hvl-art-floating{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #dce6f7;border-radius:12px;background:#fff;box-shadow:0 12px 26px rgba(21,47,95,.1);color:#275490;font-size:11px;font-weight:800}
.hvl-art-floating svg{width:16px;height:16px;color:#2274dd}
.hvl-art-floating--top{top:-1px;right:-19px;transform:rotate(2deg)}
.hvl-art-floating--bottom{left:-19px;bottom:15px;transform:rotate(-3deg)}
.hvl-art-floating--bottom svg{color:#11a07a}
.hvl-eco-section{padding:82px 0}
.hvl-eco-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:27px}
.hvl-eco-kicker{display:block;margin-bottom:8px;color:#2c64c0;font-size:11px;font-weight:860;letter-spacing:.13em}
.hvl-eco-section-heading h2,.hvl-eco-learning-intro h2{margin:0 0 10px;font-size:clamp(27px,3.1vw,38px);font-weight:820;letter-spacing:-.8px;line-height:1.18;color:#152953}
.hvl-eco-section-heading p,.hvl-eco-learning-intro p{max-width:760px;margin:0;color:#62718a;font-size:14px;line-height:1.75}
.hvl-eco-free-stamp{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#087f63;font-size:12px;font-weight:790;border:1px solid #bae7d9;background:#ecfaf5;border-radius:999px;padding:8px 12px}
.hvl-eco-free-stamp svg{width:15px;height:15px}
.hvl-eco-apps-section{background:#fff;scroll-margin-top:122px}
.hvl-eco-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hvl-eco-app-card{--hvl-accent:#275fdd;--hvl-accent-bg:#ecf3ff;position:relative;display:flex;flex-direction:column;min-width:0;min-height:269px;padding:24px 23px 20px;border:1px solid #e3ebf6;border-radius:19px;background:linear-gradient(160deg,#fff 62%,#fafcff);box-shadow:0 6px 23px rgba(20,45,90,.035);transition:transform .2s,box-shadow .2s,border-color .2s}
.hvl-eco-app-card:hover{transform:translateY(-4px);box-shadow:0 19px 37px rgba(16,45,95,.10);border-color:#b6cdea}
.hvl-eco-app-card--violet{--hvl-accent:#7552c8;--hvl-accent-bg:#f1edfe}
.hvl-eco-app-card--blue{--hvl-accent:#1e63d5;--hvl-accent-bg:#eaf2ff}
.hvl-eco-app-card--cyan{--hvl-accent:#087eaa;--hvl-accent-bg:#e7f8fd}
.hvl-eco-app-card--amber{--hvl-accent:#a06a13;--hvl-accent-bg:#fff6e3}
.hvl-eco-app-card--green{--hvl-accent:#19846e;--hvl-accent-bg:#e8faf3}
.hvl-eco-app-card--coral{--hvl-accent:#bc5346;--hvl-accent-bg:#fff0eb}
.hvl-eco-app-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hvl-eco-app-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:var(--hvl-accent-bg);color:var(--hvl-accent)}
.hvl-eco-app-icon svg{width:29px;height:29px}
.hvl-eco-app-free{display:inline-flex;align-items:center;border-radius:999px;background:#eff9f4;color:#148463;padding:6px 9px;font-size:9px;font-weight:830;letter-spacing:.05em}
.hvl-eco-app-type{margin-top:19px;color:var(--hvl-accent);font-size:10px;font-weight:850;letter-spacing:.1em}
.hvl-eco-app-card h3{margin:6px 0 9px;color:#1b2e53;font-size:19px;line-height:1.35;font-weight:800}
.hvl-eco-app-card p{flex:1;margin:0;color:#63718a;font-size:12.5px;line-height:1.65}
.hvl-eco-app-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:23px;padding-top:15px;border-top:1px solid #edf1f8}
.hvl-eco-app-footer small{min-width:0;color:#70839b;font-size:10.5px;font-weight:720}
.hvl-eco-app-footer span{flex:0 0 auto;width:30px;height:30px;display:grid;place-items:center;border:1px solid #dbe5f5;border-radius:9px;background:#fff;color:var(--hvl-accent)}
.hvl-eco-app-footer span svg{width:17px;height:17px}
.hvl-apps-footnote{margin:19px 0 0;color:#7a879d;font-size:11px}
.hvl-eco-learning-section{background:#f5f8fe;border-block:1px solid #e8edf7}
.hvl-eco-learning-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:74px;align-items:center}
.hvl-eco-learning-intro{max-width:415px}
.hvl-eco-learning-intro h2{font-size:clamp(28px,3vw,40px)}
.hvl-eco-text-link,.hvl-eco-heading-link{display:inline-flex;align-items:center;gap:9px;margin-top:23px;color:#225dcc;font-size:13px;font-weight:800}
.hvl-eco-heading-link{margin-top:0;white-space:nowrap}
.hvl-eco-text-link svg,.hvl-eco-heading-link svg{width:17px;height:17px}
.hvl-eco-learning-steps{display:grid;grid-template-columns:1fr 1fr;gap:14px;list-style:none;margin:0;padding:0}
.hvl-eco-learning-steps li{display:flex;align-items:flex-start;gap:14px;min-height:118px;padding:22px 19px;border:1px solid #e2eaf6;border-radius:16px;background:#fff}
.hvl-eco-learning-steps li>span{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;border-radius:11px;background:#edf4ff;color:#2359b6;font-size:11px;font-weight:900}
.hvl-eco-learning-steps b,.hvl-eco-learning-steps small{display:block}
.hvl-eco-learning-steps b{font-size:14px;color:#22375b}
.hvl-eco-learning-steps small{margin-top:6px;font-size:12px;color:#718099;line-height:1.6}
.hvl-eco-platform-section{background:#fff}
.hvl-eco-platform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.hvl-eco-platform-card{display:flex;flex-direction:column;min-width:0;min-height:329px;padding:28px 30px;border:1px solid #dfe9f7;border-radius:21px;background:linear-gradient(145deg,#f4f8ff,#fff 68%)}
.hvl-eco-platform-card--quiz{background:linear-gradient(145deg,#f1f8ff,#fff 66%)}
.hvl-platform-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
.hvl-platform-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:14px;background:#e3edff;color:#1e5cc5}
.hvl-platform-icon svg{width:24px;height:24px}
.hvl-platform-status{padding:7px 10px;background:#fff5e5;color:#99610b;border:1px solid #f3dfb9;border-radius:999px;font-size:10px;font-weight:810}
.hvl-platform-status--ready{background:#e7f8f1;color:#087758;border-color:#b5e5d3}
.hvl-platform-label{color:#225db6;font-size:10px;font-weight:850;letter-spacing:.13em}
.hvl-eco-platform-card h3{margin:7px 0 10px;font-size:23px;line-height:1.3;color:#1b2d52}
.hvl-eco-platform-card p{max-width:480px;margin:0 0 17px;color:#67768c;font-size:13px;line-height:1.75}
.hvl-platform-link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;font-size:13px;font-weight:830;color:#1e5bc6}
.hvl-platform-link svg{width:16px;height:16px}
.hvl-platform-courses{display:grid;gap:5px;margin:-1px 0 18px;padding:12px;background:#fff;border:1px solid #e6edf8;border-radius:12px}
.hvl-platform-courses b{font-size:11px;color:#65758c}
.hvl-platform-courses a{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#2459b0;font-size:12px;font-weight:750}
.hvl-platform-courses svg{width:14px;height:14px}
.hvl-platform-tags{display:flex;flex-wrap:wrap;gap:7px;margin:3px 0 22px}
.hvl-platform-tags span{padding:6px 10px;border:1px solid #dfebff;background:#fff;border-radius:8px;color:#426189;font-size:11px;font-weight:750}
.hvl-eco-latest-section{background:#fafcfe;border-top:1px solid #edf1f8}
.hvl-eco-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hvl-eco-post-card{overflow:hidden;border:1px solid #e4ecf7;border-radius:16px;background:#fff;box-shadow:0 9px 26px rgba(22,47,85,.04)}
.hvl-eco-post-image{display:block;aspect-ratio:16/9;background:#eaf1fc;overflow:hidden}
.hvl-eco-post-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.hvl-eco-post-card:hover .hvl-eco-post-image img{transform:scale(1.03)}
.hvl-eco-post-image>span{display:grid;place-items:center;width:100%;height:100%;color:#6093de}
.hvl-eco-post-image>span svg{width:47px;height:47px}
.hvl-eco-post-content{padding:20px}
.hvl-eco-post-content time{color:#5477b7;font-size:11px;font-weight:700}
.hvl-eco-post-content h3{font-size:17px;line-height:1.5;margin:9px 0;color:#22355a;font-weight:790}
.hvl-eco-post-content h3 a:hover{color:#1d61c9}
.hvl-eco-post-content p{min-height:52px;margin:0 0 18px;color:#65758d;font-size:12px;line-height:1.65}
.hvl-eco-post-read{display:inline-flex;align-items:center;gap:7px;color:#235ec6;font-size:12px;font-weight:790}
.hvl-eco-post-read svg{width:15px;height:15px}
.hvl-eco-no-posts{padding:35px;text-align:center;background:#fff;border:1px dashed #dce6f2;border-radius:16px;color:#6a7790}
/* Footer */
.hvl-site-footer{padding:52px 24px 23px;background:#12274c;color:#f1f5ff}
.hvl-site-footer .hvl-footer-grid{max-width:1260px;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:44px;align-items:start}
.hvl-site-footer .hvl-footer-brand p{max-width:330px;margin-top:19px;font-size:12.5px;color:#c3d3eb;opacity:1;line-height:1.75}
.hvl-site-footer .footer-logo{max-width:165px;max-height:none;background:#fff;padding:7px;border-radius:11px}
.hvl-site-footer h4{margin:8px 0 17px;font-size:12px;font-weight:860;letter-spacing:.04em}
.hvl-site-footer .footer-grid a{display:block;margin:10px 0;font-size:12px;color:#cddbf0;opacity:1}
.hvl-site-footer .footer-grid a:hover{color:#fff;text-decoration:underline}
.hvl-footer-free-note{display:inline-flex;align-items:center;gap:6px;margin-top:2px;color:#94edcb;font-size:11px;font-weight:720}
.hvl-footer-free-note svg{width:15px;height:15px}
.hvl-site-footer .hvl-footer-bottom{max-width:1260px;margin:30px auto 0;padding:20px 0 0;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#aebfd9;opacity:1;font-size:11px;text-align:left}
.hvl-mobile-bottom{display:none}
/* Responsive header + portal */
@media(max-width:1190px){
 .hvl-site-header .hvl-header-inner{gap:12px;padding:0 17px}
 .hvl-site-header .hvl-eco-nav>ul>li>a,.hvl-site-header .hvl-nav-dropdown>summary{padding:0 7px;font-size:11px}
 .hvl-site-header .hvl-brand img,.hvl-site-header .hvl-brand .custom-logo{max-width:150px}
 .hvl-site-header .account-link span{display:none}
 .hvl-site-header .account-link{width:40px;padding:0;justify-content:center}
 .hvl-eco-hero-inner{gap:30px}
}
@media(max-width:980px){
 .hvl-site-header .hvl-header-topline{display:none}
 .hvl-site-header .hvl-header-inner{height:66px;padding:0 16px;gap:9px}
 .hvl-site-header .hvl-brand img,.hvl-site-header .hvl-brand .custom-logo{max-height:46px;max-width:160px}
 .hvl-site-header .hvl-menu-toggle{display:block;width:42px;height:42px;margin-left:2px}
 .hvl-site-header .hvl-eco-nav{position:fixed;z-index:80;top:66px;left:0;right:0;bottom:0;margin:0;padding:14px 16px 110px;background:#fff;overflow-y:auto;display:block;transform:translateX(105%);transition:transform .2s ease;visibility:hidden}
 .hvl-site-header .hvl-eco-nav.open{transform:translateX(0);visibility:visible}
 .admin-bar .hvl-site-header .hvl-eco-nav{top:112px}
 .hvl-site-header .hvl-eco-nav>ul{display:block}
 .hvl-site-header .hvl-eco-nav>ul>li{display:block;padding:0;margin:0;border-bottom:1px solid #eff2f8}
 .hvl-site-header .hvl-eco-nav>ul>li>a,.hvl-site-header .hvl-nav-dropdown>summary{height:auto;min-height:51px;font-size:15px;padding:10px 12px;justify-content:space-between;border-radius:8px}
 .hvl-site-header .hvl-nav-dropdown>ul{position:static;min-width:0;box-shadow:none;border:0;border-radius:12px;background:#f6f9fe;margin:0 0 8px;padding:6px}
 .hvl-site-header .hvl-nav-dropdown:not([open])>ul{display:none}
 .hvl-site-header .hvl-nav-dropdown[open]>ul{display:block}
 .hvl-site-header .hvl-nav-dropdown>ul a{font-size:13px;min-height:46px}
 .hvl-mobile-nav-footnote{display:block;padding:21px 12px;color:#61708b;font-size:12px}
 .hvl-site-header .hvl-header-actions{margin-left:auto}
 .hvl-header-search{top:calc(100% - 1px);right:12px}
 .hvl-eco-hero-inner{min-height:auto;grid-template-columns:1fr .9fr;gap:20px;padding:55px 0 65px}
 .hvl-eco-hero-art{padding:16px 0}
 .hvl-art-floating--top{right:-5px}
 .hvl-art-floating--bottom{left:-5px}
 .hvl-eco-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hvl-eco-learning-grid{grid-template-columns:1fr;gap:30px}
 .hvl-eco-learning-intro{max-width:620px}
 .hvl-site-footer .hvl-footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:24px}
 .hvl-site-footer .hvl-footer-grid>div:last-child{grid-column:1/-1;display:block}
 .hvl-mobile-bottom{position:fixed;z-index:65;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(66px + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);align-items:center;background:rgba(255,255,255,.97);border-top:1px solid #e0e9f7;box-shadow:0 -7px 28px rgba(26,45,82,.07)}
 .hvl-mobile-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;font-size:10px;color:#536783;font-weight:700}
 .hvl-mobile-bottom a .ui-icon{height:23px;width:23px}
 .hvl-mobile-bottom a[aria-current="page"]{color:#1e5bd0}
 .hvl-mobile-bottom .hvl-mobile-tools{color:#1d5fd6}
 .hvl-mobile-bottom .hvl-mobile-tools .ui-icon{width:37px;height:37px;border-radius:12px;background:#225fd6;color:#fff;padding:9px;box-sizing:border-box}
 .hvl-mobile-bottom span{display:block;font-size:10px}
 body:not(.hvl-app-page){padding-bottom:66px}
 .hvl-app-page .hvl-site-header{display:none}
 .hvl-app-page .hvl-mobile-bottom{display:none}
}
@media(max-width:740px){
 .hvl-eco-container{width:min(100% - 32px,610px)}
 .hvl-eco-hero-inner{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:43px 0 56px}
 .hvl-eco-hero-text{max-width:none}
 .hvl-eco-hero h1{font-size:clamp(39px,10vw,55px)}
 .hvl-hero-headline{font-size:clamp(26px,6vw,35px)}
 .hvl-hero-description{font-size:14px}
 .hvl-hero-features{gap:8px 12px;font-size:11px}
 .hvl-eco-hero-art{max-width:530px;width:100%;margin:10px auto 0;padding:10px 5px}
 .hvl-art-floating--top{right:0;top:-5px}
 .hvl-art-floating--bottom{left:0;bottom:-10px}
 .hvl-eco-section{padding:59px 0}
 .hvl-eco-section-heading{align-items:flex-start;gap:12px}
 .hvl-eco-app-grid{gap:13px}
 .hvl-eco-app-card{min-height:255px;padding:19px 17px}
 .hvl-eco-learning-steps{grid-template-columns:1fr 1fr}
 .hvl-eco-platform-grid{grid-template-columns:1fr}
 .hvl-eco-platform-card{min-height:270px}
 .hvl-eco-post-grid{grid-template-columns:1fr 1fr}
 .hvl-site-footer .hvl-footer-grid{grid-template-columns:1fr 1fr;gap:21px 25px}
 .hvl-site-footer .hvl-footer-grid>div:last-child{grid-column:auto}
 .hvl-site-footer .hvl-footer-brand{grid-column:1/-1;text-align:left}
 .hvl-site-footer .hvl-footer-brand p{margin-left:0;margin-right:0}
 .hvl-site-footer .footer-logo{margin:0}
 .hvl-site-footer .hvl-footer-bottom{flex-direction:column;align-items:flex-start}
}
@media(max-width:510px){
 .hvl-site-header .hvl-brand img,.hvl-site-header .hvl-brand .custom-logo{max-width:127px}
 .hvl-site-header .hvl-header-inner{padding:0 11px}
 .hvl-site-header .hvl-header-actions{gap:5px}
 .hvl-site-header .hvl-header-actions .icon-button{width:36px;height:37px}
 .hvl-site-header .hvl-header-actions .account-link{width:37px;min-height:37px}
 .hvl-site-header .hvl-menu-toggle{height:38px;width:39px;padding:8px}
 .hvl-eco-container{width:calc(100% - 30px)}
 .hvl-hero-eyebrow{font-size:9px;letter-spacing:.07em}
 .hvl-eco-hero h1{font-size:42px}
 .hvl-hero-headline{font-size:27px}
 .hvl-hero-buttons{display:grid;grid-template-columns:1fr;margin:22px 0 18px}
 .hvl-primary-button,.hvl-secondary-button{width:100%;min-height:49px}
 .hvl-eco-hero-art{margin-top:8px}
 .hvl-art-window{border-radius:17px}
 .hvl-art-window-head{height:35px}
 .hvl-art-chart{margin:12px 12px 9px}
 .hvl-art-cards{margin:0 12px 12px}
 .hvl-art-cards>div{font-size:10px;min-height:40px;padding:7px}
 .hvl-art-floating{padding:7px 9px;font-size:9px}
 .hvl-eco-section-heading{display:block}
 .hvl-eco-section-heading h2{font-size:27px}
 .hvl-eco-free-stamp{margin-top:14px}
 .hvl-eco-app-grid{grid-template-columns:1fr}
 .hvl-eco-app-card{min-height:230px}
 .hvl-eco-learning-steps{grid-template-columns:1fr;gap:9px}
 .hvl-eco-learning-steps li{min-height:89px;padding:17px}
 .hvl-eco-platform-card{padding:22px;min-height:280px}
 .hvl-eco-platform-card h3{font-size:21px}
 .hvl-eco-post-grid{grid-template-columns:1fr}
 .hvl-eco-post-content p{min-height:0}
 .hvl-site-footer .hvl-footer-grid{grid-template-columns:1fr 1fr;gap:17px}
 .hvl-site-footer h4{margin:8px 0 10px}
 .hvl-site-footer .footer-grid a{margin:8px 0;font-size:11px}
}
@media(max-width:360px){
 .hvl-site-header .hvl-brand img,.hvl-site-header .hvl-brand .custom-logo{max-width:105px}
 .hvl-hero-eyebrow{font-size:8px}
 .hvl-eco-hero h1{font-size:36px}
 .hvl-hero-headline{font-size:24px}
 .hvl-mobile-bottom span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 .hvl-eco-home *,.hvl-site-header *{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
}

/* Submenus when the site owner selects the pre-existing WordPress menu. */
@media(min-width:981px){
 .hvl-site-header .hvl-eco-nav>ul>li.menu-item-has-children>ul.sub-menu{display:none;position:absolute;top:calc(100% + 10px);left:0;min-width:210px;padding:8px;border:1px solid var(--hvl-eco-line);border-radius:14px;background:#fff;box-shadow:0 18px 40px rgba(22,46,86,.14);z-index:99;list-style:none}
 .hvl-site-header .hvl-eco-nav>ul>li.menu-item-has-children:hover>ul.sub-menu,.hvl-site-header .hvl-eco-nav>ul>li.menu-item-has-children:focus-within>ul.sub-menu{display:block}
 .hvl-site-header .hvl-eco-nav>ul>li.menu-item-has-children>ul.sub-menu a{padding:10px 12px;font-size:12px}
}
@media(max-width:980px){
 .hvl-site-header .hvl-eco-nav ul.sub-menu{position:static;display:block;margin:0 0 8px 14px;padding:4px 0 4px 10px;border-left:2px solid #dbe6f5;list-style:none}
 .hvl-site-header .hvl-eco-nav ul.sub-menu a{padding:9px 12px;font-size:13px}
}
/* Trên trang vận hành của LMS/HatQuiz, giữ chiều cao header gần V2.0.3
   để không làm sai vị trí các thanh công cụ/sticky của plugin. */
@media(min-width:981px){
 .hvl-learning-page .hvl-header-topline,.hvl-app-page .hvl-header-topline{display:none}
 .hvl-learning-page .hvl-site-header .hvl-header-inner,.hvl-app-page .hvl-site-header .hvl-header-inner{height:72px}
}
