/* Header ported from mona.media (template/css/root.min.css + the inline mnav block in header.php, 16/09/2026):
   white 64px bar, icon + label menu items with pastel hover pills, card dropdowns, the animated sky hotline pill
   with the peeking bear, hide on scroll down / show on scroll up. Under 1201px: right-side drawer with icon tiles,
   sub-levels that slide in with a back button, CTA foot. Accents use the MONA.Software logo blue instead of violet. */
@font-face{font-family:"Bebas Neue";src:url(../fonts/BebasNeue-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
.mh{--mh-h:64px;--blue:#288cf8;position:fixed;top:0;left:0;right:0;z-index:90;height:var(--mh-h);background:#fff;box-shadow:0 1px 0 rgba(22,24,44,.06);transition:transform .5s ease-in-out;font-family:var(--font)}
.mh.is-out{transform:translateY(-100%)}
.js.is-intro .mh{opacity:0;pointer-events:none}
.mh__bar{height:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 20px}
.mh__logo{flex:0 0 auto;display:flex;align-items:center;height:44px}
.mh__logo img{height:38px;width:auto}
.mh__plogo,.mh__foot,.mh__burger,.mh__scrim{display:none}

/* desktop menu */
.mh__panel{flex:1;min-width:0;display:flex;justify-content:center}
.mh__list{list-style:none;margin:0;padding:0;display:flex;align-items:center;flex-wrap:nowrap;gap:4px}
.mh__item{position:relative}
.mh__link{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;padding:10px 13px;border-radius:8px;white-space:nowrap;color:#16182c;text-decoration:none;transition:background-color .3s}
.mh__ic{flex:none;display:grid;place-items:center;width:18px;height:18px}
.mh__ic img{width:100%;height:100%;object-fit:contain}
.mh__t{font-size:15px;line-height:1.2;font-weight:600}
.mh__chev{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:.6;transition:transform .3s}
.mh__item:nth-child(6n+1)>.mh__link:hover{background:#ffe3f2}
.mh__item:nth-child(6n+2)>.mh__link:hover{background:#dcf7ff}
.mh__item:nth-child(6n+3)>.mh__link:hover{background:#ffeedf}
.mh__item:nth-child(6n+4)>.mh__link:hover{background:#e9f4ff}
.mh__item:nth-child(6n+5)>.mh__link:hover{background:#dcf7ff}
.mh__item:nth-child(6n+6)>.mh__link:hover{background:#ffeedf}
.mh__back{display:none}
@media (min-width:1201px){
  .mh__sub{list-style:none;position:absolute;z-index:13;top:100%;left:0;min-width:336px;margin:0;padding:16px;background:#fff;border-radius:16px;
    box-shadow:0 24px 60px -20px rgba(50,50,93,.24),0 16px 32px -30px rgba(0,0,0,.16),inset 0 1px 1px rgba(255,255,255,.1);
    opacity:0;visibility:hidden;pointer-events:none;transform:translateY(22px);transition:.3s}
  .mh__item.has-sub:hover>.mh__sub,.mh__item.has-sub:focus-within>.mh__sub{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(6px)}
  .mh__item.has-sub:hover .mh__chev{transform:rotate(180deg)}
  /* hover bridge: covers the gap between the menu item and its dropdown, so moving the mouse down doesn't close it */
  .mh__sub::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px} /* exactly the 6px gap under the item row (+2px), never over the menu items */
  .mh__item.has-sub:not(:hover):not(:focus-within)>.mh__sub{transition:opacity .2s ease .15s,transform .3s ease .15s,visibility 0s linear .45s}
  .mh__sub li{margin-bottom:4px}
  .mh__sub li:last-child{margin-bottom:0}
  .mh__sub a{display:flex;align-items:center;gap:8px;padding:12px 8px;border-radius:10px;font-size:15.5px;font-weight:600;color:#3a3a3a;text-decoration:none;transition:background-color .25s}
  .mh__sub a img{flex:none;width:24px;height:24px}
  .mh__sub li:nth-child(4n+2) a:hover{background:#eef6ff}
  .mh__sub li:nth-child(4n+3) a:hover{background:#fff5fb}
  .mh__sub li:nth-child(4n+4) a:hover{background:#fff6ed}
  .mh__sub li:nth-child(4n+5) a:hover{background:#edfbff}
}

/* hotline pill (mask shape + sky that drifts; night sky + moon from 18h to 6h) */
.mh__right{flex:0 0 auto;display:flex;align-items:center;gap:10px}
.mh__hot{position:relative;display:block;margin-right:42px;text-decoration:none}
.mh__hot-pill{position:relative;z-index:2;display:flex;align-items:center;gap:6px;padding:6px 18px 6px 6px;
  -webkit-mask-image:url(../img/hd/hotline-mask.png);mask-image:url(../img/hd/hotline-mask.png);-webkit-mask-size:100% 100%;mask-size:100% 100%;
  background-image:url(../img/hd/hotline-sky.png),linear-gradient(151deg,#208cff 2.08%,#6dddff 100%);background-size:auto 100%,cover;background-repeat:no-repeat;
  animation:hotSky 10s infinite linear}
.mh.is-night .mh__hot-pill{background-image:url(../img/hd/hotline-night-sky.png),linear-gradient(151deg,#002da1 2.08%,#00126d 100%)}
@keyframes hotSky{to{background-position-x:100%,0}}
.mh__hot-ic{flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden}
.mh__hot-ic img{width:100%;height:100%;object-fit:cover}
.mh__hot-ic [data-night],.mh.is-night .mh__hot-ic [data-day]{display:none}
.mh.is-night .mh__hot-ic [data-night]{display:block}
.mh__hot-num{padding-top:3px;font-family:"Bebas Neue",var(--font);font-size:27px;line-height:1;letter-spacing:.03em;color:#fff;white-space:nowrap}
.mh__hot-bear{position:absolute;z-index:1;right:-44px;bottom:-16px;width:56px;height:56px;object-fit:contain;transition:transform .3s}
.mh__hot:hover .mh__hot-bear{transform:translateY(-4px) rotate(-6deg)}
@media (prefers-reduced-motion:reduce){.mh__hot-pill{animation:none}}
@media (min-width:1201px) and (max-width:1400px){.mh__ic{display:none}.mh__link{padding:10px 9px}.mh__hot-num{font-size:23px}}

/* ---------- mobile / tablet drawer ---------- */
@media (max-width:1200px){
  .mh{--mh-h:60px;--mnav-w:min(420px,calc(100vw - 44px))}
  .mh__bar{padding:0 14px}
  .mh__logo img{height:32px}
  .mh__hot{margin-right:0}
  .mh__hot-bear{display:none}
  .mh__hot-pill{padding:4px 12px 4px 4px}
  .mh__hot-ic{width:28px;height:28px}
  .mh__hot-num{font-size:21px}
  .mh__burger{position:relative;z-index:3;display:grid;place-content:center;gap:5px;width:44px;height:44px;border:0;border-radius:12px;background:#f1f5fb;cursor:pointer}
  .mh__burger span{display:block;width:20px;height:2px;border-radius:2px;background:#16182c;transition:transform .35s,opacity .2s}
  .mh.is-open .mh__burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mh.is-open .mh__burger span:nth-child(2){opacity:0}
  .mh.is-open .mh__burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mh__scrim{display:block;position:fixed;inset:0;z-index:1;background:rgba(6,16,44,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .35s,visibility 0s .35s}
  .mh.is-open .mh__scrim{opacity:1;visibility:visible;transition:opacity .35s}
  .mh__panel{position:fixed;top:0;right:0;bottom:0;z-index:2;width:var(--mnav-w);display:flex;flex-direction:column;justify-content:flex-start;padding:0 16px;overflow-y:auto;overscroll-behavior:contain;
    background:radial-gradient(120% 40% at 100% 0%,#e6f1ff 0%,rgba(230,241,255,0) 60%),#fff;box-shadow:-24px 0 60px -30px rgba(6,16,44,.45);
    transform:translateX(102%);visibility:hidden;transition:transform .42s cubic-bezier(.2,.8,.2,1),visibility 0s .42s}
  .mh.is-open .mh__panel{transform:none;visibility:visible;transition:transform .42s cubic-bezier(.2,.8,.2,1)}
  .mh__panel.is-lock{overflow:hidden}
  .mh.is-open .mh__logo{opacity:0;visibility:hidden}
  .mh__plogo{display:flex;align-items:center;height:60px;flex:none}
  .mh__plogo img{height:30px;width:auto}
  .mh__list{flex-direction:column;align-items:stretch;gap:0;padding-top:4px}
  .mh__item{border-bottom:1px solid #eef1f7}
  .mh__link{display:grid;grid-template-columns:44px minmax(0,1fr) 30px;grid-template-areas:"ic t ch" "ic h ch";column-gap:14px;row-gap:1px;align-items:center;min-height:66px;padding:11px 2px;border-radius:0;white-space:normal}
  .mh__link:hover{background:none!important}
  .mh__ic{grid-area:ic;width:44px;height:44px;border-radius:14px;background:#eaf3ff}
  .mh__ic img{width:24px;height:24px}
  .mh__item:nth-child(4n+2) .mh__ic{background:#ffeef6}
  .mh__item:nth-child(4n+3) .mh__ic{background:#fff2e3}
  .mh__item:nth-child(4n+4) .mh__ic{background:#e7f8f1}
  .mh__t{grid-area:t;align-self:end;font-size:16.5px;font-weight:800;line-height:1.3;letter-spacing:-.01em}
  .mh__link[data-hint]::after{content:attr(data-hint);grid-area:h;align-self:start;font-size:12.5px;font-weight:500;line-height:1.4;color:#727890;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mh__chev{grid-area:ch;justify-self:end;width:30px;height:30px;padding:7px;border-radius:50%;background:#f1f5fb;stroke:var(--blue);opacity:1;transform:rotate(-90deg)}
  .mh.is-open .mh__item{animation:mnavIn .5s cubic-bezier(.2,.8,.2,1) backwards}
  .mh.is-open .mh__item:nth-child(2){animation-delay:.04s}.mh.is-open .mh__item:nth-child(3){animation-delay:.08s}
  .mh.is-open .mh__item:nth-child(4){animation-delay:.12s}.mh.is-open .mh__item:nth-child(5){animation-delay:.16s}
  .mh.is-open .mh__item:nth-child(6){animation-delay:.2s}
  .mh.is-open .mh__foot{animation:mnavIn .5s cubic-bezier(.2,.8,.2,1) .28s backwards}
  @keyframes mnavIn{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
  /* sub level: a new layer slides in from the right, with a back button (never an in-place accordion) */
  .mh__sub{list-style:none;position:fixed;top:0;right:0;bottom:0;z-index:4;width:var(--mnav-w);margin:0;padding:0 16px 40px;background:#fff;overflow-y:auto;overscroll-behavior:contain;
    transform:translateX(102%);visibility:hidden;transition:transform .38s cubic-bezier(.2,.8,.2,1),visibility 0s .38s}
  .mh__item.is-sub .mh__sub{transform:none;visibility:visible;transition:transform .38s cubic-bezier(.2,.8,.2,1)}
  .mh__item.is-sub{animation:none!important}
  .mh__back{position:sticky;top:0;z-index:2;display:flex;flex-direction:column;gap:6px;margin:0 -16px 6px;padding:10px 16px 12px;background:#fff;border-bottom:1px solid #eef1f7}
  .mh__back-btn{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;min-height:44px;padding:0 12px 0 6px;margin-left:-6px;border:0;border-radius:12px;background:transparent;font:600 14px/1 var(--font);color:var(--blue);cursor:pointer}
  .mh__back-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .mh__back-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:22px;font-weight:800;line-height:1.25;color:#16182c;text-decoration:none}
  .mh__back-title span{font-size:13px;font-weight:700;color:var(--blue);white-space:nowrap}
  .mh__sub li:not(.mh__back){border-bottom:1px solid #f1f3f8}
  .mh__sub a:not(.mh__back-title){display:flex;align-items:center;gap:14px;min-height:54px;padding:10px 4px;font-size:15.5px;font-weight:600;color:#22283a;text-decoration:none}
  .mh__sub a img{width:26px;height:26px;flex:none}
  .mh__foot{display:flex;flex-direction:column;gap:12px;padding:18px 0 28px}
  .mh__cta{display:grid;grid-template-columns:1.25fr 1fr;gap:10px}
  .mh__cta a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border-radius:16px;font-size:15px;font-weight:800;text-decoration:none}
  .mh__cta-call{color:#fff;background:linear-gradient(90deg,#1159c4,#288cf8 55%,#ff9a3c);box-shadow:0 12px 24px -14px rgba(17,89,196,.9)}
  .mh__cta-call svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mh__cta-form{color:#1767d6;background:#eaf3ff}
  .mh__note{text-align:center;font-size:12px;color:#7a8098}
}
@media (max-width:1200px) and (max-height:760px){
  .mh__link{min-height:56px;padding:7px 2px;column-gap:12px}
  .mh__ic{width:38px;height:38px;border-radius:12px}
  .mh__ic img{width:21px;height:21px}
  .mh__t{font-size:15.5px}
  .mh__cta a{min-height:46px}
}
@media (max-width:420px){.mh__hot-num{font-size:18px}.mh__hot-ic{display:none}.mh__hot-pill{padding:6px 12px}}
@media (max-width:1200px) and (prefers-reduced-motion:reduce){.mh__panel,.mh__sub,.mh__scrim{transition:none}.mh.is-open .mh__item,.mh.is-open .mh__foot{animation:none}}
@media (max-width:1200px){.mh__sub{top:var(--mh-h)}.mh__back{top:0}}

/* ---------- mega menu (mona.media mm3 pattern): group tabs left, stage middle, promo banner right ---------- */
.mh__mega{--tint:#f3f7fd;--ink:#16182c;--mut:#6b7289}
.mm3-back{display:none}
.mm3{display:grid;grid-template-columns:268px minmax(0,1fr) 300px;gap:22px;max-width:1440px;margin:0 auto;padding:22px 28px 26px}
.mm3-nav{position:relative;display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:20px;background:var(--tint)}
.mm3-pill{position:absolute;left:10px;right:10px;top:0;height:0;border-radius:14px;background:#fff;box-shadow:0 10px 24px -16px rgba(22,40,90,.5);transition:transform .35s cubic-bezier(.2,.8,.2,1),height .35s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.mm3-tab{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;grid-template-areas:"t av" "d d";gap:3px 10px;align-items:center;padding:14px;border:0;border-radius:14px;background:transparent;text-align:left;cursor:pointer;font-family:inherit}
.mm3-tab .t{grid-area:t;font-size:15.5px;font-weight:800;line-height:1.3;color:var(--ink)}
.mm3-tab .d{grid-area:d;font-size:12.5px;line-height:1.45;color:var(--mut)}
.mm3-tab .av{grid-area:av;display:flex}
.mm3-tab .av img{width:24px;height:24px;border-radius:50%;object-fit:cover;border:2px solid #fff;margin-left:-8px;background:#e6eefb}
.mm3-tab.on .t{color:#1767d6}
.mm3-tab:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.mm3-hot{display:flex;align-items:center;gap:10px;margin-top:auto;padding:12px 14px;border-radius:14px;color:var(--ink);text-decoration:none}
.mm3-hot .ic{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#ff9a3c,#f5851e);color:#fff;flex:none}
.mm3-hot .ic svg{width:18px;height:18px}
.mm3-hot b{display:block;font-size:17px;font-weight:800;letter-spacing:.01em}
.mm3-hot small{font-size:12px;color:var(--mut)}
.mm3-stage{position:relative;min-height:420px}
.mm3-panel{position:absolute;inset:0;display:flex;flex-direction:column;gap:16px;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s,transform .3s cubic-bezier(.2,.8,.2,1),visibility 0s .3s}
.mm3-panel.on{position:relative;opacity:1;visibility:inherit;transform:none;transition:opacity .3s,transform .35s cubic-bezier(.2,.8,.2,1)}
.mm3-hd{display:flex;align-items:baseline;gap:14px;padding-bottom:12px;border-bottom:1px solid #eef1f7}
.mm3-hd .t{font-size:20px;font-weight:800;line-height:1.3;color:var(--ink);white-space:nowrap}
.mm3-hd .d{flex:1;min-width:0;font-size:13.5px;color:var(--mut)}
.mm3-hd .all,.mm3-ft a:last-child{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:#1767d6;text-decoration:none;white-space:nowrap}
.mm3-hd svg,.mm3-ft svg,.mm3-bn .bn-go svg{width:14px;height:14px}
.mm3-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}
.mm3-row{display:flex;align-items:center;gap:14px;padding:8px;border-radius:14px;color:var(--ink);text-decoration:none;transition:background .2s}
.mm3-row:hover{background:var(--tint)}
.mm3-row .im{flex:none;width:112px;height:78px;border-radius:11px;overflow:hidden;background:#eaf1fb}
.mm3-row .im img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.mm3-row:hover .im img{transform:scale(1.06)}
.mm3-row .n,.mm3-tile .n{display:block;font-size:14.5px;font-weight:800;line-height:1.35}
.mm3-row .x,.mm3-tile .x{display:block;margin-top:3px;font-size:12.5px;line-height:1.45;color:var(--mut)}
.mm3-bears{grid-template-columns:repeat(4,minmax(0,1fr))}
.mm3-bears .mm3-row{flex-direction:column;text-align:center;gap:8px;padding:12px 6px}
.mm3-bears .im{width:72px;height:72px;border-radius:50%;background:linear-gradient(160deg,#e3efff,#fff1e3)}
.mm3-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mm3-tile{display:block;color:var(--ink);text-decoration:none}
.mm3-tile .im{display:block;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#eaf1fb;margin-bottom:9px;box-shadow:0 0 0 1px #edf1f7}
.mm3-tile .im img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.mm3-tile:hover .im img{transform:scale(1.05)}
.mm3-tile:hover .n{color:#1767d6}
.mm3-tag{display:inline-block;vertical-align:2px;margin-left:4px;padding:2px 7px;border-radius:99px;font-size:10.5px;font-weight:800;color:#1767d6;background:#e6f1ff}
.mm3-tag.soon{color:#c05a00;background:#fff0e0}
.mm3-ft{display:flex;align-items:center;gap:16px;margin-top:auto;padding:12px 16px;border-radius:14px;background:var(--tint);font-size:13px;color:var(--mut)}
.mm3-ft .sep{width:1px;height:26px;background:#dbe3ef}
.mm3-laurel b{font-size:18px;font-weight:800;background:linear-gradient(90deg,#1159c4,#288cf8);-webkit-background-clip:text;background-clip:text;color:transparent}
.mm3-badge{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}
.mm3-badge img{width:26px;height:26px}
.mm3-badge b{display:block;font-size:13px}
.mm3-badge small{font-size:11.5px;color:var(--mut)}
.mm3-ft a:last-child{margin-left:auto}
.mm3-bn{position:relative;display:flex;flex-direction:column;gap:12px;padding:22px 22px 0;border-radius:20px;overflow:hidden;color:#fff;text-decoration:none;
  background:radial-gradient(120% 70% at 80% 0%,rgba(40,140,248,.55),transparent 60%),radial-gradient(90% 60% at 0% 100%,rgba(245,133,30,.35),transparent 60%),linear-gradient(170deg,#0b2a6b,#071a47 70%)}
.mm3-bn .bn-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mm3-bn .bn-logo{height:22px;width:auto}
.mm3-bn .bn-live{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:99px;background:rgba(255,255,255,.12);font-size:11px;font-weight:700}
.mm3-bn .bn-live i{width:7px;height:7px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 3px rgba(61,220,132,.25)}
.mm3-bn .bn-ttl{font-size:30px;font-weight:800;line-height:1.2;letter-spacing:-.01em}
.mm3-bn .bn-ttl em{font-style:normal;background:linear-gradient(90deg,#9fd0ff,#ffb46b);-webkit-background-clip:text;background-clip:text;color:transparent}
.mm3-bn .bn-lead{font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.82)}
.mm3-bn .bn-lead b{color:#fff}
.mm3-bn .bn-when{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#bfe0ff}
.mm3-bn .bn-when .sep{width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.6}
.mm3-bn .bn-who{flex:1;display:flex;align-items:flex-end;justify-content:center;min-height:120px}
.mm3-bn .bn-who img{width:78%;max-width:210px;height:auto;display:block;transition:transform .5s}
.mm3-bn:hover .bn-who img{transform:translateY(-4px)}
.mm3-bn .bn-go{position:absolute;left:16px;right:16px;bottom:16px;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-radius:14px;background:linear-gradient(90deg,#f5851e,#ff9a3c);font-size:14px;font-weight:800;box-shadow:0 12px 24px -12px rgba(245,133,30,.8)}

@media (min-width:1201px){
  .mh__mega{position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid #eef1f7;box-shadow:0 30px 60px -30px rgba(16,36,90,.35);
    opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .22s,transform .28s cubic-bezier(.2,.8,.2,1),visibility 0s .28s}
  .mh.is-mega .mh__mega.is-cur{opacity:1;visibility:visible;transform:none;transition:opacity .22s,transform .28s cubic-bezier(.2,.8,.2,1)}
  .mh.is-mega .mh__item.is-hot>.mh__link .mh__chev{transform:rotate(180deg)}
  .mh__item.has-mega.is-hot>.mh__link,.mh__item.has-xmega.is-hot>.mh__link{background:#e9f4ff}
}
@media (min-width:1201px) and (max-width:1400px){.mm3{grid-template-columns:240px minmax(0,1fr) 250px;gap:18px;padding:18px 20px 22px}.mm3-row .im{width:88px;height:64px}.mm3-bn .bn-ttl{font-size:26px}}
@media (min-width:1201px) and (max-height:820px){.mm3-stage{min-height:0}.mm3-row .im{height:62px}.mm3-bn .bn-who{min-height:80px}}

/* mobile: the mega becomes one sub-level sliding in over the drawer, groups stacked */
@media (max-width:1200px){
  .mh__mega{position:fixed;top:var(--mh-h);right:0;bottom:0;z-index:4;width:var(--mnav-w);background:#fff;overflow-y:auto;overscroll-behavior:contain;
    transform:translateX(102%);visibility:hidden;transition:transform .38s cubic-bezier(.2,.8,.2,1),visibility 0s .38s}
  .mh__panel.is-mega .mh__mega{transform:none;visibility:visible;transition:transform .38s cubic-bezier(.2,.8,.2,1)}
  .mm3-back{display:flex;margin:0;padding:10px 16px 12px}
  .mm3{display:flex;flex-direction:column;gap:14px;padding:4px 16px 32px}
  .mm3-nav{flex-direction:row;overflow-x:auto;gap:6px;padding:6px;border-radius:16px;scrollbar-width:none;position:sticky;top:0;z-index:2}
  .mm3-nav::-webkit-scrollbar{display:none}
  .mm3-pill,.mm3-tab .d,.mm3-tab .av,.mm3-hot{display:none}
  .mm3-tab{flex:none;display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px}
  .mm3-tab .t{font-size:14px;white-space:nowrap}
  .mm3-tab.on{background:#fff;box-shadow:0 6px 16px -12px rgba(22,40,90,.6)}
  .mm3-stage{min-height:0}
  .mm3-panel{position:relative;inset:auto;display:none;opacity:1;visibility:inherit;transform:none}
  .mm3-panel.on{display:flex}
  .mm3-hd{flex-wrap:wrap;gap:4px 12px}
  .mm3-hd .t{font-size:18px}.mm3-hd .d{flex-basis:100%;order:3}
  .mm3-hd .all{margin-left:auto}
  .mm3-rows,.mm3-tiles{grid-template-columns:1fr;gap:4px}
  .mm3-row{padding:8px 4px;min-height:44px}
  .mm3-row .im{width:84px;height:60px}
  .mm3-bears{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .mm3-tile{display:grid;grid-template-columns:112px 1fr;grid-template-rows:auto 1fr;column-gap:12px;padding:6px 0}
  .mm3-tile .im{grid-row:span 2;margin:0}
  .mm3-tile .n{align-self:end}
  .mm3-ft{flex-wrap:wrap;gap:10px 14px}
  .mm3-ft .sep{display:none}
  .mm3-ft a:last-child{margin-left:0}
  .mm3-bn{padding:18px 18px 76px}
  .mm3-bn .bn-who{min-height:0;position:absolute;right:10px;bottom:62px;width:110px}
  .mm3-bn .bn-ttl{font-size:24px}
  .mm3-bn .bn-lead{padding-right:96px}
}
@media (prefers-reduced-motion:reduce){.mh__mega,.mm3-panel,.mm3-pill{transition:none!important}}
@media (max-width:1200px){
  .mh__mega .mm3-back{position:relative;top:auto;border-bottom:0;margin:0}
  .mm3-nav{box-shadow:0 0 0 8px #fff}
  .mm3-bn .bn-when{flex-wrap:wrap;padding-right:96px}
}

/* a hidden mega must never catch the pointer (a child with visibility:visible would) */
@media (min-width:1201px){.mh:not(.is-mega) .mh__mega,.mh:not(.is-mega) .mh__mega *,.mh__mega:not(.is-cur),.mh__mega:not(.is-cur) *{pointer-events:none!important}}

/* large screens: the header is px-based (mona.media metrics), so scale it with the fluid root size */
@media (min-width:1800px){.mh{zoom:1.16}}
@media (min-width:2200px){.mh{zoom:1.34}}
@media (min-width:2560px){.mh{zoom:1.5}}
@media (min-width:3200px){.mh{zoom:1.8}}
@media (min-width:3600px){.mh{zoom:2}}
@media (max-width:1200px){.mh__hot{min-height:44px;display:flex;align-items:center}}

/* 28/09/2026: the mega strip has two links now (case study + dự án); style both like the old "Xem dự án" */
.mm3-ft>a{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:#1767d6;text-decoration:none;white-space:nowrap}
.mm3-ft>a:hover{text-decoration:underline}

/* "Thành viên The MONA Group" (Branding 2027 §5.2, 28/09/2026): small line beside the logo; inside the drawer under
   the drawer logo on phones, where the bar has no room for it. Plain text: themona.group does not resolve yet. */
.mh__member{flex:none;display:flex;flex-direction:column;justify-content:center;height:32px;margin-left:-.35rem;padding-left:12px;
  border-left:1px solid rgba(22,24,44,.14);font-size:11px;line-height:1.3;font-weight:500;color:#727890;white-space:nowrap}
.mh__member b{font-weight:700;color:#3a3f55}
.mh__member--p{display:none}
@media (min-width:1201px) and (max-width:1219px){.mh__bar>.mh__member{display:none}}
@media (min-width:1401px) and (max-width:1459px){.mh__link{padding:10px 10px}}
@media (max-width:1200px){
  .mh.is-open .mh__bar>.mh__member{opacity:0;visibility:hidden}
  .mh__bar>.mh__member{margin-right:auto;margin-left:0}
  .mh__member--p{display:block;height:auto;margin:-10px 0 6px;padding:0;border:0;font-size:12px;line-height:1.4}
  .mh__member--p b{display:inline}
}
@media (max-width:560px){.mh__bar>.mh__member{display:none}}

/* 29/09/2026: Mon's 7 sections (Sản phẩm · Viết theo yêu cầu · Ngành · Công nghệ · Dự án · Bảng giá · Về chúng tôi). Dropdown
   rows carry a label + one grey line; Blog is a small secondary link (bar on desktop, drawer foot on phones); the current
   section is marked by header.js from data-sec (aria-current), or by the generator before JS runs. */
.mh__sub a>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.mh__sub a b{font-weight:700;line-height:1.3}
.mh__sub a small{font-size:12.5px;font-weight:500;line-height:1.4;color:#727890}
.mh__blog{display:inline-flex;align-items:center;min-height:40px;padding:0 10px;border-radius:8px;font-size:14px;font-weight:600;color:#4a5068;text-decoration:none;transition:background-color .25s,color .25s}
.mh__blog:hover,.mh__blog[aria-current]{color:#1767d6;background:#e9f4ff}
.mh__foot-blog{display:none}
@media (min-width:1201px){
  .mh__sub{min-width:300px}
  .mh__sub a{padding:10px 12px}
  .mh__list>.mh__item>.mh__link[aria-current],.mh__list>.mh__item>.mh__link[data-nv-current]{background:#e9f4ff;color:#1767d6}
  .mh__list>.mh__item:nth-child(3)>.mh__sub{min-width:340px}
}
/* seven items + Blog must fit one row: labels never wrap; icons and the member line only where the effective width
   (viewport ÷ the large-screen zoom) leaves room for them */
@media (min-width:1201px){.mh__t{white-space:nowrap}}
@media (min-width:1201px) and (max-width:1559px){.mh__bar>.mh__member{display:none}}
@media (min-width:1201px) and (max-width:1400px){.mh__ic{display:grid;width:15px;height:15px}.mh__link{gap:3px;padding:10px 6px}} /* icons stay at every desktop width */
@media (min-width:1401px) and (max-width:1999px){
  .mh__list{gap:1px}
  .mh__link{gap:4px;padding:10px 8px}
  .mh__ic{width:16px;height:16px}
  .mh__t{font-size:14.5px}
  .mh__chev{width:12px;height:12px}
}
@media (min-width:1201px) and (max-width:1400px){
  .mh__bar{gap:.6rem;padding:0 14px}
  .mh__list{gap:2px}
  .mh__link{gap:4px;padding:10px 8px}
  .mh__t{font-size:14.5px}
  .mh__chev{width:12px;height:12px}
  .mh__right{gap:2px}
  .mh__blog{padding:0 7px;font-size:13.5px}
  .mh__hot{margin-right:0}
  .mh__hot-bear{display:none}
  .mh__hot-pill{padding-right:14px}
  .mh__hot-num{font-size:21px}
}
@media (max-width:1200px){
  .mh__blog{display:none}
  .mh__sub a:not(.mh__back-title){min-height:58px;padding:9px 4px}
  .mh__sub a b{font-size:15.5px}
  .mh__link[aria-current] .mh__t,.mh__link[data-nv-current] .mh__t{color:#1767d6}
  .mh__link[aria-current] .mh__ic,.mh__link[data-nv-current] .mh__ic{box-shadow:inset 0 0 0 2px #9fcbff}
  .mh.is-open .mh__item:nth-child(7){animation-delay:.24s}
  .mh__foot-blog{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:14px;font-size:14px;color:#4a5068;text-decoration:none;background:#f5f7fb}
  .mh__foot-blog b{color:#1767d6}
  .mh__foot-blog[aria-current]{background:#e9f4ff}
}

/* 29/09/2026 (Nhựt: "nhóm menu Ngành chuyển thành dạng mega menu"): the Ngành mega, same family as the mm3 panels.
   Industries (thumbnail + name + one line) on the left, a featured real case or product box on the right that follows the
   hovered industry, strip at the bottom. Markup from home/_gen/mega_nganh.py; the ≤1200px drawer keeps the .mh__sub level,
   with thumbnails. */
.mmn{grid-template-columns:minmax(0,1fr) 330px}
.mmn-main{display:flex;flex-direction:column;gap:14px;min-width:0}
.mmn .mm3-hd{padding-bottom:10px}
.mmn-grid{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:4px 18px}
.mmn-row{position:relative;display:flex;align-items:center;gap:14px;padding:8px 10px 8px 8px;border-radius:14px;color:var(--ink);text-decoration:none;transition:background .2s}
.mmn-row .im{flex:none;width:88px;height:64px;border-radius:11px;overflow:hidden;background:#eaf2fe;box-shadow:0 0 0 1px #edf1f7}
.mmn-row .im img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.mmn-row .tx{min-width:0}
.mmn-row .n{display:flex;align-items:center;gap:6px;font-size:14.5px;font-weight:800;line-height:1.35;transition:color .2s}
.mmn-row .x{display:block;margin-top:3px;font-size:12.5px;line-height:1.45;color:var(--mut)}
.mmn-out{flex:none;width:12px;height:12px;color:var(--mut)}
.mmn-row.is-on{background:var(--tint)}
.mmn-row.is-on .n{color:#1767d6}
.mmn-row.is-on .im img{transform:scale(1.06)}
.mmn-row:focus-visible,.mmn-feat a:focus-visible,.mmn-ft a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.mmn-ft{margin-top:auto;flex-wrap:wrap}
.mmn-ft>a:last-child{margin-left:0}
.mmn-feat{position:relative;display:flex}
.mmn-card{display:none;flex:1;flex-direction:column;gap:10px;padding:18px;border-radius:20px;color:#fff;
  background:radial-gradient(120% 70% at 80% 0%,rgba(40,140,248,.55),transparent 60%),radial-gradient(90% 60% at 0% 100%,rgba(245,133,30,.3),transparent 60%),linear-gradient(170deg,#0b2a6b,#071a47 70%)}
.mmn-card.on{display:flex;animation:mmnIn .35s cubic-bezier(.2,.8,.2,1)}
@keyframes mmnIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.mmn-k{align-self:flex-start;padding:4px 10px;border-radius:99px;background:rgba(255,255,255,.12);font-size:11.5px;font-weight:700;color:#bfe0ff}
.mmn-im{display:block;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#eaf2fe}
.mmn-im img{width:100%;height:100%;object-fit:cover;display:block}
.mmn-card--product .mmn-im{background:linear-gradient(160deg,#e3efff,#fff1e3)}
.mmn-card--product .mmn-im img{object-fit:contain;object-position:50% 100%;padding-top:10px}
.mmn-card--shot .mmn-im{background:#fff}
.mmn-card--shot .mmn-im img{object-fit:cover;object-position:50% 0}
.mmn-ttl{font-size:21px;font-weight:800;line-height:1.25;letter-spacing:-.01em}
.mmn-lead{font-size:13px;line-height:1.5;color:rgba(255,255,255,.84)}
.mmn-chips{display:flex;flex-wrap:wrap;gap:6px}
.mmn-chips span{padding:3px 9px;border-radius:8px;border:1px solid rgba(191,224,255,.35);font-size:12px;font-weight:700;color:#d6ebff}
.mmn-go{margin-top:auto;display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 16px;border-radius:14px;
  background:linear-gradient(90deg,#f5851e,#ff9a3c);color:#fff;font-size:14px;font-weight:800;text-decoration:none;box-shadow:0 12px 24px -12px rgba(245,133,30,.8)}
.mmn-go svg,.mmn-alt svg,.mmn-ft svg{width:14px;height:14px}
.mmn-alt{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:#bfe0ff;text-decoration:none}
.mmn-alt:hover{color:#fff;text-decoration:underline}
@media (min-width:1201px){
  .has-xmega>.mh__sub{display:none}
  .mmn-row:hover{background:var(--tint)}
}
@media (min-width:1201px) and (max-width:1400px){
  .mmn{grid-template-columns:minmax(0,1fr) 280px}
  .mmn-row .im{width:72px;height:54px}
  .mmn-row{gap:12px}
  .mmn-ttl{font-size:19px}
}
@media (min-width:1201px) and (max-height:820px){
  .mmn-row{padding-top:6px;padding-bottom:6px}
  .mmn-row .im{height:54px}
  .mmn-im{aspect-ratio:2/1}
}
@media (max-width:1200px){
  .mh__mega--ng{display:none}
  .mh__sub a.mh__sub-th{gap:14px}
  .mh__sub a.mh__sub-th img{flex:none;width:64px;height:46px;border-radius:10px;object-fit:cover;background:#eaf2fe}
}
@media (prefers-reduced-motion:reduce){.mmn-card.on{animation:none}.mmn-row .im img{transition:none}}
/* case cards whose only photos are small (Ngọc Thành, Polytex, Hoàn Mỹ: sources ≤ 460px wide) show a sharp icon panel
   instead of an upscaled, blurry crop (Nhựt, 29/09/2026: "hình vỡ, bị nhoè") */
.mmn-im--type{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  background:radial-gradient(120% 90% at 20% 10%,rgba(88,166,255,.35),transparent 60%),linear-gradient(150deg,#123a86,#0b2256)}
.mmn-im--type img{width:64px!important;height:64px!important;object-fit:contain;padding:12px;border-radius:18px;background:#fff;box-shadow:0 10px 24px -12px rgba(0,0,0,.5)}
.mmn-im--type em{font-style:normal;font-size:13px;font-weight:600;letter-spacing:.02em;color:#cfe3ff}
