/* ============================================================================
   MGT site-wide header + footer ("chrome"). Same look as the homepage.
   Markup: includes/mgt_chrome_header.php + includes/mgt_chrome_footer.php
   Every class is prefixed .mc- and scoped under .mc-chrome so the legacy theme
   (Bootstrap 3, style.css, inline page styles) cannot restyle it, and it cannot
   leak into page content.
   ============================================================================ */
.mc-chrome{
  --mc-navy:#002163; --mc-ink:#0a2540; --mc-green:#18ba60; --mc-green-2:#0a7d43;
  --mc-txt:#4B5563; --mc-mut:#6b7a90; --mc-line:#e6ebf1; --mc-bg:#f4f7fb;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.5; text-align:left; -webkit-font-smoothing:antialiased;
}
.mc-chrome,.mc-chrome *,.mc-chrome *::before,.mc-chrome *::after{box-sizing:border-box}
.mc-chrome a{text-decoration:none;transition:color .15s,background .15s}
.mc-chrome a:hover,.mc-chrome a:focus{text-decoration:none}
.mc-chrome a:focus-visible,.mc-chrome button:focus-visible,.mc-chrome input:focus-visible{outline:2px solid var(--mc-green);outline-offset:2px}
.mc-chrome ul{margin:0;padding:0;list-style:none}
.mc-chrome img{max-width:100%;height:auto;border:0;vertical-align:middle}
.mc-chrome p{margin:0 0 10px}
.mc-chrome button{font-family:inherit;text-transform:none}
.mc-wrap{max-width:1180px;margin:0 auto;padding:0 22px}
.mc-chrome .mc-ico{width:22px;height:22px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;display:inline-block;vertical-align:middle}

/* ---------- green "Powered by" bar ---------- */
.mc-chrome.mc-powered{background:#18ba60;color:#fff;text-align:center;font-size:14px;padding:6px 12px;line-height:1.5}

/* ---------- contact top bar ---------- */
.mc-chrome.mc-topbar{background:#15416e;color:rgba(255,255,255,.75);font-size:14px;padding:9px 0}
.mc-topbar .mc-wrap{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:center}
.mc-topbar a{color:rgba(255,255,255,.75)}
.mc-topbar a:hover{color:#fff}
.mc-topbar .mc-tl{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.mc-topbar .mc-tr{display:flex;gap:18px;align-items:center}
.mc-topbar .mc-ph{color:rgba(255,255,255,.75)}
.mc-chrome .mc-ibox{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.1);color:#fff;flex:0 0 auto}
.mc-chrome .mc-ibox .mc-ico{width:14px;height:14px}
.mc-chrome .mc-ibox.mc-lg{width:30px;height:30px}
.mc-chrome .mc-ibox.mc-lg .mc-ico{width:15px;height:15px}
.mc-topbar .mc-cart{position:relative;display:inline-flex;align-items:center;gap:6px}
.mc-topbar .mc-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#18ba60;color:#fff;font-size:11px;font-weight:700;line-height:1}

/* ---------- main header ---------- */
.mc-chrome.mc-hdr{position:sticky;top:0;z-index:1000;background:#fff;box-shadow:0 2px 14px rgba(10,37,64,.08)}
.mc-hdr .mc-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;height:74px}
.mc-hdr .mc-logo-link{display:inline-flex;align-items:center;flex:0 0 auto}
.mc-hdr img.mc-logo{height:52px;width:auto;display:block}
.mc-nav{display:flex;gap:4px;align-items:center}
.mc-nav .mc-link{color:var(--mc-ink);font-weight:500;font-size:15px;padding:9px 14px;border-radius:8px;line-height:1.5;display:inline-flex;align-items:center;white-space:nowrap}
.mc-nav .mc-drop>.mc-link{font-weight:600}
.mc-nav .mc-link:hover{background:var(--mc-bg);color:var(--mc-navy)}
/* current page: green outline + green text, square corners (as the old header) */
.mc-nav .mc-link.mc-on{color:#18ba60;box-shadow:inset 0 0 0 1px #18ba60;border-radius:0}
.mc-nav .mc-link.mc-on:hover{background:transparent;color:#18ba60}
/* "All Courses": solid navy button with the menu icon (as the old header) */
.mc-nav .mc-drop>.mc-link.mc-allbtn{background:#15416e;color:#fff;padding:10px 23px 10px 25px;border-radius:0;font-weight:600;gap:8px;margin-left:10px}
.mc-nav .mc-drop>.mc-link.mc-allbtn:hover{background:#0f3257;color:#fff}
.mc-chrome .mc-allbtn .mc-bars{width:18px;height:18px;stroke-width:2.4}
.mc-drop-all .mc-menu{left:auto;right:0}
.mc-chrome .mc-chev{width:14px;height:14px;margin-left:2px}
.mc-drop{position:relative}
.mc-menu{position:absolute;top:100%;left:0;min-width:230px;background:#fff;border:1px solid var(--mc-line);border-radius:10px;box-shadow:0 16px 34px rgba(10,37,64,.15);padding:8px;opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s;z-index:70}
.mc-drop:hover .mc-menu,.mc-drop:focus-within .mc-menu{opacity:1;visibility:visible;transform:none}
.mc-menu a{display:block;padding:9px 12px;border-radius:7px;font-size:14.5px;color:var(--mc-txt);font-weight:500;line-height:1.45}
.mc-menu a:hover{background:var(--mc-bg);color:var(--mc-navy)}
.mc-menu.mc-tall{min-width:290px;overflow:visible}
.mc-sub{position:relative}
.mc-sub>a{display:flex !important;align-items:center;gap:8px}
.mc-chrome .mc-chev.mc-flip{transform:rotate(-90deg);margin-left:auto}
.mc-menu2{position:absolute;left:100%;top:0;min-width:300px;max-height:380px;overflow-y:auto;background:#fff;border:1px solid var(--mc-line);border-radius:10px;box-shadow:0 16px 34px rgba(10,37,64,.15);padding:8px;opacity:0;visibility:hidden;transform:translateX(6px);transition:.16s;z-index:80}
.mc-sub:hover .mc-menu2{opacity:1;visibility:visible;transform:none}
.mc-menu2 a{display:block;padding:8px 12px;border-radius:7px;font-size:13.5px;color:var(--mc-txt);font-weight:500;line-height:1.45}
.mc-menu2 a:hover{background:var(--mc-bg);color:var(--mc-navy)}

/* search */
.mc-search{position:relative;display:flex;align-items:center;border:1.5px solid var(--mc-line);border-radius:9px;background:#fff;margin:0}
.mc-search input{border:0;outline:0;padding:9px 12px;font-size:14px;width:150px;font-family:inherit;border-radius:9px 0 0 9px;background:transparent;box-sizing:border-box;-webkit-appearance:none;appearance:none;height:auto;line-height:1.4;color:var(--mc-ink);box-shadow:none;margin:0}
.mc-search button{border:0;background:transparent;padding:8px 10px;cursor:pointer;color:var(--mc-mut);line-height:1}
.mc-search button:hover{color:var(--mc-navy)}
.mc-sugg{position:absolute;top:calc(100% + 6px);right:0;left:auto;width:340px;max-height:360px;overflow-y:auto;background:#fff;border:1px solid var(--mc-line);border-radius:10px;box-shadow:0 18px 40px rgba(10,37,64,.16);padding:6px;z-index:90}
.mc-sugg[hidden]{display:none !important}
.mc-sugg a{display:block;padding:10px 12px;border-radius:7px;font-size:14px;color:var(--mc-txt);font-weight:500;line-height:1.45}
.mc-sugg a:hover,.mc-sugg a.sel{background:var(--mc-bg);color:var(--mc-navy)}
.mc-sugg .mc-none{padding:12px;color:var(--mc-mut);font-size:14px;text-align:center;font-style:italic}

/* burger (mobile) */
.mc-burger{display:none;background:none;border:0;cursor:pointer;padding:8px;margin:0}
.mc-burger span{display:block;width:24px;height:2.6px;background:var(--mc-navy);margin:5px 0;border-radius:2px;transition:.2s}

/* ---------- footer ---------- */
.mc-chrome.mc-foot{background:#15416e;color:rgba(255,255,255,.75);font-size:14px;padding:0;margin:0}
.mc-foot a{color:rgba(255,255,255,.75)}
.mc-foot a:hover{color:#fff}
.mc-chrome.mc-foot p{color:rgba(255,255,255,.75);font-size:14px !important;line-height:1.8 !important;margin:0 0 10px}
.mc-foot .mc-strong{color:#fff;font-weight:700}
.mc-fstrip{border-bottom:1px solid rgba(255,255,255,.12);padding:18px 0;margin:0}
.mc-fstrip .mc-wrap{display:flex;gap:20px;flex-wrap:wrap;align-items:center;font-size:14px}
.mc-fstrip a{color:rgba(255,255,255,.9)}
.mc-phones{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.mc-chrome .mc-phones img{width:20px;height:auto;display:inline-block;vertical-align:middle}
.mc-fwidgets{padding:50px 0}
.mc-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:40px}
.mc-chrome .mc-flogo{max-width:200px;margin-bottom:16px;display:block}
.mc-foot li{padding:4px 0;line-height:1.6;font-size:14px}
.mc-foot ul.mc-two{columns:2;column-gap:26px}
.mc-chrome .mc-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 32px;border-radius:10px;font-family:'Inter',sans-serif;font-weight:600;font-size:15.5px;line-height:1.2;border:0;cursor:pointer;background:#18ba60;color:#fff;box-shadow:0 8px 20px rgba(24,186,96,.3);margin-top:14px;transition:.15s}
.mc-chrome .mc-btn:hover{background:#0a7d43;color:#fff;transform:translateY(-2px)}
.mc-fbottom{background:rgba(0,0,0,.1);padding:22px 0;text-align:center}
.mc-social{display:flex;gap:12px;justify-content:center;padding:0 0 16px}
.mc-social a{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#c9d6ea;transition:.2s}
.mc-social a:hover{background:#18ba60;color:#fff;transform:translateY(-2px)}
.mc-chrome .mc-social .mc-ico{width:19px;height:19px}
.mc-legal{text-align:left;font-size:13.5px;color:rgba(255,255,255,.75);line-height:1.7}
.mc-awards{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.mc-chrome .mc-awards img{width:70px;height:70px;object-fit:contain}

/* ---------- responsive ---------- */
@media(max-width:1100px){
  .mc-search{display:none}
  .mc-sugg{right:auto;left:0}
}
@media(max-width:900px){
  .mc-nav{position:fixed;inset:74px 0 auto 0;background:#fff;flex-direction:column;align-items:stretch;padding:14px 18px 22px;box-shadow:0 18px 30px rgba(10,37,64,.15);transform:translateY(-130%);transition:transform .25s;z-index:999;max-height:calc(100vh - 74px);overflow-y:auto}
  .mc-nav.mc-open{transform:none}
  .mc-burger{display:block}
  .mc-topbar .mc-tr{display:none}
  .mc-drop{width:100%}
  .mc-drop>.mc-link{width:100%;justify-content:space-between}
  .mc-nav .mc-drop>.mc-link.mc-allbtn{margin:8px 0 0;justify-content:flex-start}
  .mc-drop-all .mc-menu{right:auto}
  .mc-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;display:none;padding-left:14px}
  .mc-drop:focus-within .mc-menu,.mc-drop.mc-open .mc-menu{display:block}
  .mc-menu2{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;display:none;padding-left:16px;max-height:none}
  .mc-sub.mc-open .mc-menu2{display:block}
  .mc-foot ul.mc-two{columns:1}
}

/* ---------- hardening: page/theme CSS styles every <button> (padding, colours, display) ---------- */
.mc-chrome .mc-burger{display:none !important;background:none !important;border:0 !important;padding:8px !important;margin:0 !important;width:auto !important;height:auto !important;min-width:0 !important;box-shadow:none !important;line-height:1 !important;border-radius:6px !important;text-transform:none !important}
.mc-chrome .mc-burger span{display:block !important;width:24px !important;height:2.6px !important;background:#002163 !important;margin:5px 0 !important;border-radius:2px}
.mc-chrome .mc-search button{display:inline-flex !important;align-items:center;background:transparent !important;border:0 !important;padding:8px 10px !important;margin:0 !important;width:auto !important;height:auto !important;min-width:0 !important;box-shadow:none !important;color:#6b7a90 !important;text-transform:none !important;line-height:1 !important;border-radius:0 9px 9px 0 !important}
.mc-chrome .mc-search button:hover{color:#002163 !important}
@media(max-width:900px){ .mc-chrome .mc-burger{display:block !important} }

/* ---------- hardening: course pages force li{font-size:17px !important} and can leave an unclosed
   <strong> around the footer, so the chrome sets its own weight/size explicitly ---------- */
.mc-chrome{font-weight:400;font-style:normal}
.mc-chrome strong,.mc-chrome b{font-weight:700}
.mc-chrome.mc-foot li,.mc-chrome.mc-foot li a{font-size:14px !important;line-height:1.6 !important;font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;font-weight:400}
.mc-chrome.mc-foot li{padding:4px 0 !important;margin:0 !important}
