/* Mobile header bar and slide-in sidebar (below 992px, all pages). */
.m-bar { display: none; }
@media (max-width: 991.98px) {
  body { padding-top: 64px; }
  .header-area .top-header-area, .header-area .nav-area { display: none; }
  .m-bar { position: fixed; z-index: 1030; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 8px 0 20px; background: #0e0129; box-shadow: 0 2px 14px rgba(14, 1, 41, .3); }
  .m-bar-logo { margin-right: auto; line-height: 0; }
  .m-bar-logo img { height: 42px; width: auto; }
  .m-bar-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: none; color: #fff; font-size: 20px; }
  .m-bar-btn:hover { color: #fff; }
  .m-burger, .m-burger::before, .m-burger::after { display: block; width: 24px; height: 2px; background: #fff; content: ""; }
  .m-burger { position: relative; }
  .m-burger::before { position: absolute; top: -8px; }
  .m-burger::after { position: absolute; top: 8px; }
  .m-bar a:focus-visible, .m-bar button:focus-visible { outline: 2px solid #fff !important; outline-offset: -4px; }
  .ft-courses-area { padding: 24px 20px; }
}
.m-side.offcanvas { width: min(340px, 88vw); border: 0; background: #fff; color: #0e0129; }
.m-side-head { display: flex; align-items: center; flex: none; height: 64px; padding: 0 8px 0 20px; background: #0e0129; }
.m-side-head img { height: 42px; width: auto; margin-right: auto; }
.m-side-close { width: 48px; height: 48px; padding: 0; background: none; color: #fff; font-size: 22px; }
.m-side-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.m-side ul { margin: 0; padding: 0; list-style: none; }
.m-menu > li { border-bottom: 1px solid #e6e7ec; }
.m-menu > li > a, .m-menu > li > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 12px 20px; background: none; color: #0e0129; font-size: 16px; font-weight: 600; text-align: left; }
.m-menu button i { font-size: 13px; transition: transform .25s; }
.m-menu button[aria-expanded="true"] { color: #af2f30; }
.m-menu button[aria-expanded="true"] i { transform: rotate(180deg); }
.m-sub { background: #f5f6f8; }
.m-menu .m-sub { padding: 6px 0; }
.m-sub[hidden] { display: none; }
.m-sub a { display: block; min-height: 46px; padding: 11px 20px 11px 32px; color: #3a3f50; font-size: 15px; line-height: 1.5; }
.m-side a[aria-current] { color: #af2f30; box-shadow: inset 3px 0 0 #af2f30; }
.m-links a { display: block; padding: 11px 20px; color: #3a3f50; font-size: 15px; }
.m-side .m-links { padding: 10px 0; }
.m-side-foot { flex: none; display: grid; gap: 10px; padding: 16px 20px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid #e6e7ec; }
.m-side-foot a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 1px solid #af2f30; font-size: 15px; font-weight: 600; color: #af2f30; }
.m-side-foot a:first-child { background: #af2f30; color: #fff; }
.m-side a:focus-visible, .m-side button:focus-visible { outline: 2px solid #af2f30 !important; outline-offset: -3px; }
.m-side-head button:focus-visible { outline-color: #fff !important; }
@media (prefers-reduced-motion: reduce) { .m-menu button i { transition: none; } }
