/* 7.7.43 — bounded component fixes, no theme-wide foreground scanner. */
.mzlms-delivery-selector [hidden],.mzcat [hidden],.mzlms-notifications-page [hidden]{display:none!important}
.mzcat .mzcat-toolbar{grid-template-columns:1fr auto}
.mzcat .mzcat-results{min-width:0}
.mzcat .mzcat-search input{min-width:0}
.mzcat .mzcat-price-row{align-items:flex-start;flex-wrap:wrap}
.mzcat .mzcat-installment{text-align:left;max-width:100%;line-height:1.6}
.mzcat .mzcat-card:focus-within{outline:3px solid #8fc9ff;outline-offset:3px}
.mzcat input:focus-visible,.mzcat select:focus-visible,.mzcat button:focus-visible,
.mzpro-course a:focus-visible,.mzpro-course summary:focus-visible{outline:3px solid #8fc9ff!important;outline-offset:3px}
.mzpro-course .mzpro-intro h1{font-size:clamp(30px,3.3vw,48px);line-height:1.15;overflow-wrap:anywhere}
.mzpro-course .mzpro-hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(280px,.95fr);gap:26px}
.mzpro-course .mzpro-buy{padding:22px}
.mzpro-buy .mzlms-delivery-selector{padding:14px;margin:12px 0 18px;color:#132d48;background:#f5f8fc;border-radius:12px}
.mzpro-buy .mzlms-mode-options{display:grid;grid-template-columns:1fr;gap:10px}
.mzpro-buy .mzlms-selector-head h2{font-size:20px!important;line-height:1.3}
.mzpro-buy .mzlms-selector-head p{font-size:13px;line-height:1.5}
.mzpro-buy .mzlms-mode-choice{padding:10px;min-width:0}
.mzpro-buy .mzlms-mode-choice small{white-space:normal}
.mzlms-schedule-pending{padding:10px;border:1px solid #d9ad45;background:#fff7df;color:#664810!important;font-size:13px;border-radius:8px;line-height:1.5}
.mzlms-schedule-pending a{color:#174f91!important;text-decoration:underline}
.mzlms-mode-feedback{margin:10px 0;color:#9d2525!important;font-weight:700}
.mzlms-auth-home{position:static!important;align-self:flex-end;margin:0 0 18px!important;display:inline-flex}
.mzinst-form fieldset{border:0;padding:0;margin:0 0 24px;min-width:0}
.mzinst-form legend{font-size:18px;font-weight:800;border-bottom:1px solid #d9e2ec;padding-bottom:10px;margin-bottom:18px;width:100%}
.mzinst-form label small{display:block;font-weight:400;color:#506780;line-height:1.5}
.mzinst-check a,.mzlms-check a{text-decoration:underline}
.mzlms-notification-filter{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}
.mzlms-notification-filter select{padding:10px;border:1px solid #bdccdc;border-radius:8px;color:#16324f;background:#fff}
.mzlms-notification-list .notice-course{display:block;color:#42566c;margin-bottom:4px}
body .student-gradebook-head .overall-grade b,
body .mzlms-certificate-student .certificate-requirements>div:nth-of-type(2) b{color:#145f91!important;-webkit-text-fill-color:#145f91!important;background:#eef6ff!important}
body .assignment-grade.failed,body .assignment-status.failed{color:#9d2525!important;-webkit-text-fill-color:#9d2525!important;background:#fff0f0!important}
body .assignment-grade.passed,body .assignment-status.passed{color:#087342!important;-webkit-text-fill-color:#087342!important;background:#e9fff2!important}
body .logo-main img{background:#06172b;border-radius:8px;padding:4px;box-sizing:content-box}
@media(min-width:1200px){
 .apus-megamenu #primary-menu{display:flex;flex-wrap:nowrap;align-items:center}
 .apus-megamenu #primary-menu>li{float:none;flex:0 0 auto}
 .apus-megamenu #primary-menu>li>a{font-size:13px;padding-left:10px;padding-right:10px;white-space:nowrap}
 .search-form-popup{max-width:380px}
}
@media(max-width:1100px){
 .mzpro-course .mzpro-hero-grid{grid-template-columns:minmax(0,1fr) minmax(280px,1fr)}
 .mzpro-course .mzpro-intro{grid-column:1/-1}
 .mzpro-course .mzpro-intro h1{max-width:900px}
}
@media(max-width:700px){
 .mzpro-course .mzpro-hero-grid{grid-template-columns:minmax(0,1fr)}
 .mzpro-course .mzpro-hero-grid,.mzpro-course .mzpro-body{width:calc(100% - 28px)}
 .mzcat .mzcat-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 .mzpro-course .mzpro-buy{min-width:0}
 .mzinst-form .mzinst-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.mzcat *,.mzpro-course *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.mzinst-form fieldset>label+label{margin-top:17px}

/* 7.7.44: Edumy About & Help uses Elementor buttons inside a narrow mega menu.
   Scope resets to this observed menu; preserve theme visibility/hover behavior. */
body #primary-menu .dropdown-menu.elementor-28447 {
    width:270px!important;
    min-width:240px!important;
    max-width:calc(100vw - 32px)!important;
    height:auto!important;
    min-height:0!important;
    padding:8px!important;
    box-sizing:border-box!important;
    background:#fff!important;
    border:1px solid #e1e8ef;
    border-radius:10px;
    box-shadow:0 12px 32px rgba(6,23,43,.18);
}
body #primary-menu .dropdown-menu.elementor-28447 .dropdown-menu-inner,
body #primary-menu .dropdown-menu.elementor-28447 .elementor,
body #primary-menu .dropdown-menu.elementor-28447 .e-con,
body #primary-menu .dropdown-menu.elementor-28447 .e-con-inner,
body #primary-menu .dropdown-menu.elementor-28447 .elementor-widget-button,
body #primary-menu .dropdown-menu.elementor-28447 .elementor-widget-container,
body #primary-menu .dropdown-menu.elementor-28447 .elementor-button-wrapper {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    gap:0!important;
    box-sizing:border-box!important;
}
body #primary-menu .dropdown-menu.elementor-28447 .e-con,
body #primary-menu .dropdown-menu.elementor-28447 .e-con-inner {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
}
body #primary-menu .dropdown-menu.elementor-28447 a.elementor-button {
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:44px!important;
    padding:11px 14px!important;
    margin:0!important;
    box-sizing:border-box!important;
    background:transparent!important;
    border:0!important;
    border-radius:6px!important;
    box-shadow:none!important;
    text-align:left!important;
    font-size:15px!important;
    line-height:1.45!important;
    font-weight:500!important;
    text-transform:none!important;
    letter-spacing:normal!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
}
body #primary-menu .dropdown-menu.elementor-28447 a.elementor-button,
body #primary-menu .dropdown-menu.elementor-28447 a.elementor-button span {
    color:#14213d!important;
    -webkit-text-fill-color:#14213d!important;
    opacity:1!important;
    text-shadow:none!important;
}
body #primary-menu .dropdown-menu.elementor-28447 .elementor-button-content-wrapper {
    display:flex!important;
    justify-content:flex-start!important;
    width:100%!important;
}
body #primary-menu .dropdown-menu.elementor-28447 .elementor-button-text {
    flex:1 1 auto!important;
    text-align:left!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
}
body #primary-menu .dropdown-menu.elementor-28447 a.elementor-button:hover,
body #primary-menu .dropdown-menu.elementor-28447 a.elementor-button:focus-visible {
    background:#edf4ff!important;
}
body #primary-menu .dropdown-menu.elementor-28447 a.elementor-button:focus-visible {
    outline:2px solid #176cff!important;
    outline-offset:-2px;
}

/* Recorded-only catalog: a single learning-path card. */
.mzcat .mzcat-hero{grid-template-columns:minmax(0,1.5fr) minmax(240px,.65fr)}
.mzcat .mzcat-paths{grid-template-columns:minmax(0,1fr);max-width:420px;width:100%;justify-self:end}
@media(max-width:800px){.mzcat .mzcat-hero{grid-template-columns:minmax(0,1fr)}.mzcat .mzcat-paths{max-width:none;justify-self:stretch}}
