
/* MadaMehr unified theme switcher */
.mm-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;direction:ltr;flex:0 0 auto}
.mm-theme-toggle__button{appearance:none;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;width:32px;height:36px;padding:0;margin:0;display:inline-flex;align-items:center;justify-content:center;color:#68717D;cursor:pointer;opacity:.62;transition:color .22s ease,opacity .22s ease,transform .22s ease}
.mm-theme-toggle__button svg{display:block;width:var(--mm-theme-icon-size,21px);height:var(--mm-theme-icon-size,21px);fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;transition:transform .28s ease,filter .22s ease}
.mm-theme-toggle__button--light svg{fill:none}
.mm-theme-toggle__button--dark svg{fill:currentColor;stroke-width:1.25}
.mm-theme-toggle__button:hover{opacity:1;transform:translateY(-1px)}
.mm-theme-toggle__button.is-active{opacity:1;color:#C9A24A}
.mm-theme-toggle__button.is-active svg{filter:drop-shadow(0 3px 7px rgba(201,162,74,.22));transform:scale(1.04)}
.mm-theme-toggle__button:focus-visible{opacity:1;color:#C9A24A}
@media(max-width:1024px){.mm-theme-toggle{order:0}.mm-theme-toggle__button{width:30px;height:36px}}
@media(max-width:600px){.mm-theme-toggle__button{width:30px;height:34px}.mm-theme-toggle{gap:2px}}

/* Dark theme tokens */
html[data-mm-theme="dark"]{color-scheme:dark}
html[data-mm-theme="dark"] body{background:#101722!important;color:#F2EFE7}
html[data-mm-theme="dark"] .elementor-page,
html[data-mm-theme="dark"] .site,
html[data-mm-theme="dark"] main{background-color:#101722}

/* Header / search / mobile */
html[data-mm-theme="dark"] .mm-header{background:rgba(16,23,34,.88)!important;border-bottom-color:rgba(255,255,255,.08)!important}
html[data-mm-theme="dark"] .mm-logo-fallback,
html[data-mm-theme="dark"] .mm-nav__link,
html[data-mm-theme="dark"] .mm-mobile-toggle{color:#F2EFE7!important}
html[data-mm-theme="dark"] .mm-search-toggle{background:transparent!important;border-color:rgba(255,255,255,.08)!important;color:#F2EFE7!important}
html[data-mm-theme="dark"] .mm-search-toggle:hover{background:rgba(255,255,255,.04)!important;border-color:rgba(201,162,74,.45)!important}
html[data-mm-theme="dark"] .mm-search-panel{background:rgba(16,23,34,.98)!important;border-color:#2D3B4D!important;box-shadow:0 22px 50px rgba(0,0,0,.35)!important}
html[data-mm-theme="dark"] .mm-search-input{background:#16202D!important;color:#F2EFE7!important;border-color:#2D3B4D!important}
html[data-mm-theme="dark"] .mm-search-input::placeholder{color:#8F9AAA!important}
html[data-mm-theme="dark"] .mm-search-submit{background:#F7F4EE!important;color:#142235!important}
html[data-mm-theme="dark"] .mm-mobile-panel{background:#16202D!important;border-color:#2D3B4D!important;box-shadow:0 18px 45px rgba(0,0,0,.28)!important}
html[data-mm-theme="dark"] .mm-mobile-link{color:#F2EFE7!important}
html[data-mm-theme="dark"] .mm-mobile-link:hover{background:#202C3B!important;color:#C9A24A!important}

/* Home widgets */
html[data-mm-theme="dark"] .mmhw-widget{--mmhw-cream:#101722;--mmhw-navy:#F2EFE7;--mmhw-ink:#E5E8EE;--mmhw-muted:#AEB7C4;--mmhw-white:#16202D;--mmhw-border:#2D3B4D;--mmhw-gold-soft:#2A2417}
html[data-mm-theme="dark"] .mmhw-section{background:var(--mmhw-bg,#101722)!important}
html[data-mm-theme="dark"] .mmhw-card{box-shadow:0 14px 40px rgba(0,0,0,.18)!important}
html[data-mm-theme="dark"] .mmhw-btn-primary{background:#C9A24A!important;color:#142235!important}
html[data-mm-theme="dark"] .mmhw-btn-secondary{background:#16202D!important;color:#F2EFE7!important;border-color:#2D3B4D!important}

/* Course widgets */
html[data-mm-theme="dark"] .mmcw-widget{color:#E5E8EE!important}
html[data-mm-theme="dark"] .mmcw-box{background:#16202D!important;border-color:#2D3B4D!important;box-shadow:0 12px 40px rgba(0,0,0,.18)!important}
html[data-mm-theme="dark"] .mmcw-title,
html[data-mm-theme="dark"] .mmcw-section-title,
html[data-mm-theme="dark"] .mmcw-card-title{color:#F2EFE7!important}
html[data-mm-theme="dark"] .mmcw-text,
html[data-mm-theme="dark"] .mmcw-body,
html[data-mm-theme="dark"] .mmcw-meta-value{color:#AEB7C4!important}
html[data-mm-theme="dark"] .mmcw-richtext{color:#AEB7C4!important}
html[data-mm-theme="dark"] .mmcw-button{background:#C9A24A!important;color:#142235!important}
html[data-mm-theme="dark"] .mmcw-input,
html[data-mm-theme="dark"] .mmcw-select{background:#111A26!important;color:#F2EFE7!important;border-color:#2D3B4D!important}

/* Archive widgets */
html[data-mm-theme="dark"] .mmaw-widget{--gold:#C9A24A;--navy:#F2EFE7;--cream:#101722;--muted:#AEB7C4;--border:#2D3B4D;--surface:#16202D;color:#E5E8EE!important}
html[data-mm-theme="dark"] .mmaw-hero,
html[data-mm-theme="dark"] .mmaw-card,
html[data-mm-theme="dark"] .mmaw-control-box,
html[data-mm-theme="dark"] .mmaw-results-bar,
html[data-mm-theme="dark"] .mmaw-cta-box{background:#16202D!important;border-color:#2D3B4D!important}
html[data-mm-theme="dark"] .mmaw-section-title,
html[data-mm-theme="dark"] .mmaw-card-title{color:#F2EFE7!important}
html[data-mm-theme="dark"] .mmaw-card-excerpt,
html[data-mm-theme="dark"] .mmaw-text{color:#AEB7C4!important}
html[data-mm-theme="dark"] .mmaw-input,
html[data-mm-theme="dark"] .mmaw-select{background:#111A26!important;color:#F2EFE7!important;border-color:#2D3B4D!important}
html[data-mm-theme="dark"] .mmaw-button{background:#C9A24A!important;color:#142235!important}

/* Instructor widgets */
html[data-mm-theme="dark"] .mmiw-hero,
html[data-mm-theme="dark"] .mmiw-section,
html[data-mm-theme="dark"] .mmiw-cta{--gold:#C9A24A;--navy:#F2EFE7;--cream:#101722;--muted:#AEB7C4;--border:#2D3B4D;--goldbg:#2A2417;--golddeep:#D0A957;color:#E5E8EE!important}
html[data-mm-theme="dark"] .mmiw-hero__inner{background:linear-gradient(135deg,#16202D 0%,#101722 60%,#182534 100%)!important;border-color:#2D3B4D!important}
html[data-mm-theme="dark"] .mmiw-hero h1,
html[data-mm-theme="dark"] .mmiw-hero__specialty,
html[data-mm-theme="dark"] .mmiw-hero__stats b{color:#F2EFE7!important}
html[data-mm-theme="dark"] .mmiw-hero__intro p,
html[data-mm-theme="dark"] .mmiw-hero__field>span,
html[data-mm-theme="dark"] .mmiw-hero__intro>span,
html[data-mm-theme="dark"] .mmiw-hero__stats small{color:#AEB7C4!important}
html[data-mm-theme="dark"] .mmiw-chip{background:rgba(255,255,255,.04)!important;border-color:#4A3D20!important;color:#F2EFE7!important}
html[data-mm-theme="dark"] .mmiw-hero__portrait{border-color:rgba(255,255,255,.10)!important;background:#202B39!important;box-shadow:0 24px 60px rgba(0,0,0,.28)!important}

/* Why widget */
html[data-mm-theme="dark"] .mm-why{background-color:#101722!important;color:#E5E8EE!important}
html[data-mm-theme="dark"] .mm-why-heading,
html[data-mm-theme="dark"] .mm-why-card-title{color:#F2EFE7!important}
html[data-mm-theme="dark"] .mm-why-description,
html[data-mm-theme="dark"] .mm-why-card-text{color:#AEB7C4!important}
html[data-mm-theme="dark"] .mm-why-card{background-color:#16202D!important;border-color:#2D3B4D!important}
html[data-mm-theme="dark"] .mm-why-card:hover{background-color:#1B2735!important}

/* Generic Elementor/common light surfaces used by these custom modules */
html[data-mm-theme="dark"] .elementor-widget-text-editor,
html[data-mm-theme="dark"] .elementor-widget-heading{color:#E5E8EE}
html[data-mm-theme="dark"] .elementor-widget-text-editor a{color:#C9A24A}
html[data-mm-theme="dark"] input,
html[data-mm-theme="dark"] textarea,
html[data-mm-theme="dark"] select{background-color:#111A26;color:#F2EFE7;border-color:#2D3B4D}

/* =========================================================
   MadaMehr Theme System v1.0.3
   Full dark-mode palette + high-visibility theme controls
   ========================================================= */
:root{
  --mm-light-bg:#F7F4EE;
  --mm-light-surface:#FFFFFF;
  --mm-light-surface-soft:#FFFDF9;
  --mm-light-text:#142235;
  --mm-light-text-2:#243244;
  --mm-light-muted:#68717D;
  --mm-light-border:#E7E2D8;
  --mm-gold:#C9A24A;
  --mm-gold-deep:#B58D38;
  --mm-dark-bg:#0B111A;
  --mm-dark-surface:#121B27;
  --mm-dark-surface-2:#182333;
  --mm-dark-surface-3:#202D3D;
  --mm-dark-text:#F4F1E9;
  --mm-dark-text-2:#D9DEE6;
  --mm-dark-muted:#AAB5C4;
  --mm-dark-border:#334255;
  --mm-dark-border-soft:#283548;
  --mm-dark-gold:#D7B15A;
  --mm-dark-gold-soft:#332A18;
}

/* Theme controls: deliberately high contrast in BOTH themes. */
.mm-theme-toggle{gap:6px!important;min-height:40px;padding:2px 0;z-index:5}
.mm-theme-toggle__button{width:34px!important;height:38px!important;min-width:34px!important;min-height:38px!important;color:#142235!important;opacity:1!important;border:0!important;background:transparent!important;box-shadow:none!important}
.mm-theme-toggle__button svg{width:var(--mm-theme-icon-size,21px)!important;height:var(--mm-theme-icon-size,21px)!important;color:currentColor!important;stroke:currentColor!important}
.mm-theme-toggle__button--dark svg{fill:currentColor!important}
.mm-theme-toggle__button--light svg{fill:none!important}
.mm-theme-toggle__button--light.is-active{color:#C9A24A!important}
.mm-theme-toggle__button--dark.is-active{color:#142235!important}
.mm-theme-toggle__button:not(.is-active){color:#5C6878!important}
.mm-theme-toggle__button:hover{opacity:1!important;color:#B58D38!important;transform:translateY(-1px) scale(1.04)}
.mm-theme-toggle__button:focus-visible{outline:2px solid #C9A24A!important;outline-offset:3px!important;border-radius:8px!important}
html[data-mm-theme="dark"] .mm-theme-toggle__button--light.is-active{color:#F1E8D2!important}
html[data-mm-theme="dark"] .mm-theme-toggle__button--dark.is-active{color:#D7B15A!important}
html[data-mm-theme="dark"] .mm-theme-toggle__button:not(.is-active){color:#7F8B9B!important}
html[data-mm-theme="dark"] .mm-theme-toggle__button:hover{color:#E2BE68!important}

/* Whole-site dark foundation. */
html[data-mm-theme="dark"],
html[data-mm-theme="dark"] body{background:#0B111A!important;color:#F4F1E9!important}
html[data-mm-theme="dark"] .elementor,
html[data-mm-theme="dark"] .elementor-page,
html[data-mm-theme="dark"] .site,
html[data-mm-theme="dark"] main,
html[data-mm-theme="dark"] #content,
html[data-mm-theme="dark"] .site-main{background-color:#0B111A!important;color:#F4F1E9!important}
html[data-mm-theme="dark"] .elementor-section,
html[data-mm-theme="dark"] .elementor-element.e-con,
html[data-mm-theme="dark"] .elementor-widget-wrap{background-color:transparent!important}
html[data-mm-theme="dark"] .elementor-widget-text-editor,
html[data-mm-theme="dark"] .elementor-widget-text-editor *:not(a),
html[data-mm-theme="dark"] .elementor-heading-title{color:#F4F1E9!important}
html[data-mm-theme="dark"] .elementor-widget-text-editor p,
html[data-mm-theme="dark"] .elementor-widget-text-editor li,
html[data-mm-theme="dark"] .elementor-widget-text-editor span{color:#AAB5C4!important}
html[data-mm-theme="dark"] .elementor-widget-text-editor strong,
html[data-mm-theme="dark"] .elementor-widget-text-editor b{color:#D9DEE6!important}
html[data-mm-theme="dark"] a{color:#D7B15A}
html[data-mm-theme="dark"] hr{border-color:#334255!important;background:#334255!important}
html[data-mm-theme="dark"] blockquote{background:#121B27!important;border-color:#D7B15A!important;color:#D9DEE6!important}

/* Generic Elementor controls and forms. */
html[data-mm-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
html[data-mm-theme="dark"] textarea,
html[data-mm-theme="dark"] select{background:#121B27!important;color:#F4F1E9!important;border-color:#334255!important;caret-color:#D7B15A!important}
html[data-mm-theme="dark"] input::placeholder,
html[data-mm-theme="dark"] textarea::placeholder{color:#7F8B9B!important}
html[data-mm-theme="dark"] input:focus,
html[data-mm-theme="dark"] textarea:focus,
html[data-mm-theme="dark"] select:focus{border-color:#D7B15A!important;box-shadow:0 0 0 3px rgba(215,177,90,.12)!important}

/* Header, footer, search and navigation. */
html[data-mm-theme="dark"] .mm-header{background:rgba(11,17,26,.94)!important;border-bottom-color:#283548!important;box-shadow:0 10px 35px rgba(0,0,0,.22)!important}
html[data-mm-theme="dark"] .mm-logo-fallback,
html[data-mm-theme="dark"] .mm-nav__link,
html[data-mm-theme="dark"] .mm-mobile-toggle{color:#F4F1E9!important}
html[data-mm-theme="dark"] .mm-nav__link:hover,
html[data-mm-theme="dark"] .mm-nav__link.is-active{color:#D7B15A!important}
html[data-mm-theme="dark"] .mm-search-toggle{background:#121B27!important;border-color:#334255!important;color:#F4F1E9!important;box-shadow:0 7px 22px rgba(0,0,0,.18)!important}
html[data-mm-theme="dark"] .mm-search-panel{background:#0F1823!important;border-color:#334255!important;box-shadow:0 25px 60px rgba(0,0,0,.45)!important}
html[data-mm-theme="dark"] .mm-search-input{background:#182333!important;color:#F4F1E9!important;border-color:#334255!important}
html[data-mm-theme="dark"] .mm-search-submit,
html[data-mm-theme="dark"] .mm-header__cta,
html[data-mm-theme="dark"] .mm-mobile-cta{background:#D7B15A!important;color:#0B111A!important;box-shadow:0 10px 28px rgba(215,177,90,.16)!important}
html[data-mm-theme="dark"] .mm-search-submit:hover,
html[data-mm-theme="dark"] .mm-header__cta:hover,
html[data-mm-theme="dark"] .mm-mobile-cta:hover{background:#E2BE68!important}
html[data-mm-theme="dark"] .mm-mobile-panel{background:#121B27!important;border-color:#334255!important;box-shadow:0 20px 50px rgba(0,0,0,.4)!important}
html[data-mm-theme="dark"] .mm-mobile-link{color:#F4F1E9!important}
html[data-mm-theme="dark"] .mm-mobile-link:hover{background:#202D3D!important;color:#D7B15A!important}
html[data-mm-theme="dark"] .mm-footer{background:#080D14!important;color:#F4F1E9!important}
html[data-mm-theme="dark"] .mm-footer__description,
html[data-mm-theme="dark"] .mm-footer__link,
html[data-mm-theme="dark"] .mm-footer__contact p,
html[data-mm-theme="dark"] .mm-footer__social{color:#9DA9B8!important}
html[data-mm-theme="dark"] .mm-footer__title,
html[data-mm-theme="dark"] .mm-footer__trust-label{color:#F4F1E9!important}
html[data-mm-theme="dark"] .mm-footer__social:hover,
html[data-mm-theme="dark"] .mm-footer__link:hover{color:#D7B15A!important;border-color:#D7B15A!important}
html[data-mm-theme="dark"] .mm-footer__bottom{border-top-color:#263447!important;color:#718094!important}

/* Home widgets: override every semantic surface/text token used by v3.2.0. */
html[data-mm-theme="dark"] .mmhw-widget{--mmhw-gold:#D7B15A!important;--mmhw-gold-dark:#E2BE68!important;--mmhw-gold-soft:#332A18!important;--mmhw-navy:#F4F1E9!important;--mmhw-ink:#D9DEE6!important;--mmhw-muted:#AAB5C4!important;--mmhw-cream:#121B27!important;--mmhw-white:#121B27!important;--mmhw-border:#334255!important;color:#D9DEE6!important}
html[data-mm-theme="dark"] .mmhw-section,
html[data-mm-theme="dark"] .mmhw-departments,
html[data-mm-theme="dark"] .mmhw-courses,
html[data-mm-theme="dark"] .mmhw-why,
html[data-mm-theme="dark"] .mmhw-path,
html[data-mm-theme="dark"] .mmhw-career,
html[data-mm-theme="dark"] .mmhw-instructors,
html[data-mm-theme="dark"] .mmhw-support,
html[data-mm-theme="dark"] .mmhw-faq,
html[data-mm-theme="dark"] .mmhw-magazine,
html[data-mm-theme="dark"] .mmhw-final-cta{background:#0B111A!important}
html[data-mm-theme="dark"] .mmhw-hero{background:linear-gradient(145deg,#121B27 0%,#0B111A 68%,#172231 100%)!important}
html[data-mm-theme="dark"] .mmhw-hero-heading,
html[data-mm-theme="dark"] .mmhw-heading,
html[data-mm-theme="dark"] .mmhw-course-title,
html[data-mm-theme="dark"] .mmhw-department-title,
html[data-mm-theme="dark"] .mmhw-why-title,
html[data-mm-theme="dark"] .mmhw-step-title,
html[data-mm-theme="dark"] .mmhw-instructor-name,
html[data-mm-theme="dark"] .mmhw-magazine-title{color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmhw-description,
html[data-mm-theme="dark"] .mmhw-hero-description,
html[data-mm-theme="dark"] .mmhw-department-text,
html[data-mm-theme="dark"] .mmhw-why-text,
html[data-mm-theme="dark"] .mmhw-course-info,
html[data-mm-theme="dark"] .mmhw-step-text,
html[data-mm-theme="dark"] .mmhw-instructor-specialty,
html[data-mm-theme="dark"] .mmhw-magazine-excerpt,
html[data-mm-theme="dark"] .mmhw-magazine-meta{color:#AAB5C4!important}
html[data-mm-theme="dark"] .mmhw-eyebrow,
html[data-mm-theme="dark"] .mmhw-department-footer,
html[data-mm-theme="dark"] .mmhw-more-link{color:#D7B15A!important}
html[data-mm-theme="dark"] .mmhw-card,
html[data-mm-theme="dark"] .mmhw-department-card,
html[data-mm-theme="dark"] .mmhw-course-card,
html[data-mm-theme="dark"] .mmhw-instructor-card,
html[data-mm-theme="dark"] .mmhw-faq-item,
html[data-mm-theme="dark"] .mmhw-magazine-card,
html[data-mm-theme="dark"] .mmhw-support-box{background:#121B27!important;border-color:#334255!important;box-shadow:0 18px 48px rgba(0,0,0,.25)!important}
html[data-mm-theme="dark"] .mmhw-card:hover,
html[data-mm-theme="dark"] .mmhw-department-card:hover,
html[data-mm-theme="dark"] .mmhw-course-card:hover,
html[data-mm-theme="dark"] .mmhw-instructor-card:hover{border-color:rgba(215,177,90,.55)!important;box-shadow:0 24px 58px rgba(0,0,0,.34)!important}
html[data-mm-theme="dark"] .mmhw-icon-box,
html[data-mm-theme="dark"] .mmhw-course-meta,
html[data-mm-theme="dark"] .mmhw-faq-question-icon,
html[data-mm-theme="dark"] .mmhw-step-number{background:#332A18!important;color:#D7B15A!important}
html[data-mm-theme="dark"] .mmhw-btn-primary,
html[data-mm-theme="dark"] .mmhw-course-button .mmhw-btn,
html[data-mm-theme="dark"] .mmhw-cta-actions .mmhw-btn-primary{background:#D7B15A!important;color:#0B111A!important}
html[data-mm-theme="dark"] .mmhw-btn-secondary{background:#121B27!important;color:#F4F1E9!important;border-color:#334255!important}
html[data-mm-theme="dark"] .mmhw-btn-secondary:hover{color:#D7B15A!important;border-color:#D7B15A!important}
html[data-mm-theme="dark"] .mmhw-hero-image-shell,
html[data-mm-theme="dark"] .mmhw-hero-float{background:#182333!important;border-color:#334255!important;box-shadow:0 22px 55px rgba(0,0,0,.35)!important;color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmhw-hero-image{background:#121B27!important}
html[data-mm-theme="dark"] .mmhw-final-cta .mmhw-cta-box{background:linear-gradient(135deg,#182333,#101823)!important;border-color:#334255!important}

/* Why widget. */
html[data-mm-theme="dark"] .mm-why{background:#0B111A!important;color:#D9DEE6!important}
html[data-mm-theme="dark"] .mm-why-heading,
html[data-mm-theme="dark"] .mm-why-card-title{color:#F4F1E9!important}
html[data-mm-theme="dark"] .mm-why-description,
html[data-mm-theme="dark"] .mm-why-card-text{color:#AAB5C4!important}
html[data-mm-theme="dark"] .mm-why-card{background:#121B27!important;border-color:#334255!important;box-shadow:0 18px 48px rgba(0,0,0,.25)!important}
html[data-mm-theme="dark"] .mm-why-card:hover{background:#182333!important;border-color:rgba(215,177,90,.55)!important}

/* Course widgets: replace all cream/navy/white surfaces and text. */
html[data-mm-theme="dark"] .mmcw-widget{color:#D9DEE6!important}
html[data-mm-theme="dark"] .mmcw-widget .mmcw-section,
html[data-mm-theme="dark"] .mmcw-widget .mmcw-pricing{background:#0B111A!important}
html[data-mm-theme="dark"] .mmcw-box,
html[data-mm-theme="dark"] .mmcw-meta-card,
html[data-mm-theme="dark"] .mmcw-related-card,
html[data-mm-theme="dark"] .mmcw-benefit,
html[data-mm-theme="dark"] .mmcw-installment-card{background:#121B27!important;border-color:#334255!important;color:#D9DEE6!important;box-shadow:0 16px 44px rgba(0,0,0,.25)!important}
html[data-mm-theme="dark"] .mmcw-title,
html[data-mm-theme="dark"] .mmcw-heading,
html[data-mm-theme="dark"] .mmcw-section-title,
html[data-mm-theme="dark"] .mmcw-card-title,
html[data-mm-theme="dark"] .mmcw-meta-value,
html[data-mm-theme="dark"] .mmcw-price-value{color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmcw-text,
html[data-mm-theme="dark"] .mmcw-body,
html[data-mm-theme="dark"] .mmcw-richtext,
html[data-mm-theme="dark"] .mmcw-meta-label,
html[data-mm-theme="dark"] .mmcw-meta-value,
html[data-mm-theme="dark"] .mmcw-person-bio,
html[data-mm-theme="dark"] .mmcw-heading-desc,
html[data-mm-theme="dark"] .mmcw-price-note,
html[data-mm-theme="dark"] .mmcw-pricing-note{color:#AAB5C4!important}
html[data-mm-theme="dark"] .mmcw-eyebrow{color:#D7B15A!important}
html[data-mm-theme="dark"] .mmcw-meta-pill,
html[data-mm-theme="dark"] .mmcw-hero-department{background:#332A18!important;border-color:rgba(215,177,90,.4)!important;color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmcw-button,
html[data-mm-theme="dark"] .mmcw-button-gold,
html[data-mm-theme="dark"] .mmcw-hero-button{background:#D7B15A!important;color:#0B111A!important;border-color:#D7B15A!important}
html[data-mm-theme="dark"] .mmcw-button:hover,
html[data-mm-theme="dark"] .mmcw-button-gold:hover,
html[data-mm-theme="dark"] .mmcw-hero-button:hover{background:#E2BE68!important}
html[data-mm-theme="dark"] .mmcw-input,
html[data-mm-theme="dark"] .mmcw-select{background:#121B27!important;color:#F4F1E9!important;border-color:#334255!important}
html[data-mm-theme="dark"] .mmcw-pricing-highlight,
html[data-mm-theme="dark"] .mmcw-cta{background:linear-gradient(135deg,#182333,#0F1823)!important;border-color:#334255!important;color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmcw-pricing-highlight-title,
html[data-mm-theme="dark"] .mmcw-cta .mmcw-title{color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmcw-pricing-highlight-text,
html[data-mm-theme="dark"] .mmcw-cta .mmcw-text{color:#AAB5C4!important}
html[data-mm-theme="dark"] .mmcw-pricing-highlight-badge,
html[data-mm-theme="dark"] .mmcw-installment-badge{background:#D7B15A!important;color:#0B111A!important}
html[data-mm-theme="dark"] .mmcw-editor-placeholder,
html[data-mm-theme="dark"] .mmcw-related-empty{background:#332A18!important;border-color:#D7B15A!important;color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmcw-benefits-toggle,
html[data-mm-theme="dark"] .mmcw-curriculum-toggle{background:#121B27!important;color:#D7B15A!important;border-color:#D7B15A!important}
html[data-mm-theme="dark"] .mmcw-related-grid::-webkit-scrollbar-track{background:#121B27!important}
html[data-mm-theme="dark"] .mmcw-related-grid::-webkit-scrollbar-thumb{background:#80682F!important}

/* Archive widgets. */
html[data-mm-theme="dark"] .mmaw-widget{--gold:#D7B15A!important;--navy:#F4F1E9!important;--cream:#0B111A!important;--muted:#AAB5C4!important;--border:#334255!important;--surface:#121B27!important;color:#D9DEE6!important}
html[data-mm-theme="dark"] .mmaw-page,
html[data-mm-theme="dark"] .mmaw-section{background:#0B111A!important}
html[data-mm-theme="dark"] .mmaw-hero,
html[data-mm-theme="dark"] .mmaw-card,
html[data-mm-theme="dark"] .mmaw-control-box,
html[data-mm-theme="dark"] .mmaw-results-bar,
html[data-mm-theme="dark"] .mmaw-cta-box,
html[data-mm-theme="dark"] .mmaw-filter-box,
html[data-mm-theme="dark"] .mmaw-search{background:#121B27!important;border-color:#334255!important;box-shadow:0 16px 44px rgba(0,0,0,.24)!important}
html[data-mm-theme="dark"] .mmaw-hero-inner{background:linear-gradient(145deg,#182333,#0F1823)!important}
html[data-mm-theme="dark"] .mmaw-section-title,
html[data-mm-theme="dark"] .mmaw-card-title,
html[data-mm-theme="dark"] .mmaw-hero-title{color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmaw-card-excerpt,
html[data-mm-theme="dark"] .mmaw-text,
html[data-mm-theme="dark"] .mmaw-hero-desc,
html[data-mm-theme="dark"] .mmaw-card-meta,
html[data-mm-theme="dark"] .mmaw-result-count{color:#AAB5C4!important}
html[data-mm-theme="dark"] .mmaw-eyebrow,
html[data-mm-theme="dark"] .mmaw-card-eyebrow,
html[data-mm-theme="dark"] .mmaw-card-price,
html[data-mm-theme="dark"] .mmaw-card-status{color:#D7B15A!important}
html[data-mm-theme="dark"] .mmaw-input,
html[data-mm-theme="dark"] .mmaw-select{background:#121B27!important;color:#F4F1E9!important;border-color:#334255!important}
html[data-mm-theme="dark"] .mmaw-button,
html[data-mm-theme="dark"] .mmaw-button-primary,
html[data-mm-theme="dark"] .mmaw-button-gold,
html[data-mm-theme="dark"] .mmaw-cta-button{background:#D7B15A!important;color:#0B111A!important;border-color:#D7B15A!important}
html[data-mm-theme="dark"] .mmaw-pagination-separator{background:#334255!important}
html[data-mm-theme="dark"] .mmaw-pagination .is-current,
html[data-mm-theme="dark"] .mmaw-result-chips>*{background:#332A18!important;color:#D7B15A!important;border-color:#80682F!important}
html[data-mm-theme="dark"] .mmaw-empty{background:#121B27!important;border-color:#334255!important;color:#AAB5C4!important}

/* Instructor widgets. */
html[data-mm-theme="dark"] .mmiw-section{background:#0B111A!important;color:#D9DEE6!important}
html[data-mm-theme="dark"] .mmiw-hero__inner{background:linear-gradient(145deg,#182333 0%,#101823 65%,#0B111A 100%)!important;border-color:#334255!important;box-shadow:0 24px 65px rgba(0,0,0,.3)!important}
html[data-mm-theme="dark"] .mmiw-hero h1,
html[data-mm-theme="dark"] .mmiw-hero__specialty,
html[data-mm-theme="dark"] .mmiw-section__head h2,
html[data-mm-theme="dark"] .mmiw-profile h2,
html[data-mm-theme="dark"] .mmiw-experience h2{color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmiw-hero__intro p,
html[data-mm-theme="dark"] .mmiw-hero__field>span,
html[data-mm-theme="dark"] .mmiw-hero__intro>span,
html[data-mm-theme="dark"] .mmiw-stats small,
html[data-mm-theme="dark"] .mmiw-profile__text,
html[data-mm-theme="dark"] .mmiw-muted{color:#AAB5C4!important}
html[data-mm-theme="dark"] .mmiw-kicker,
html[data-mm-theme="dark"] .mmiw-tag,
html[data-mm-theme="dark"] .mmiw-hero__tag--gold{color:#D7B15A!important}
html[data-mm-theme="dark"] .mmiw-chip{background:#332A18!important;border-color:#80682F!important;color:#F4F1E9!important}
html[data-mm-theme="dark"] .mmiw-course,
html[data-mm-theme="dark"] .mmiw-expertise__item,
html[data-mm-theme="dark"] .mmiw-profile,
html[data-mm-theme="dark"] .mmiw-experience,
html[data-mm-theme="dark"] .mmiw-cta{background:#121B27!important;border-color:#334255!important;color:#D9DEE6!important;box-shadow:0 16px 44px rgba(0,0,0,.24)!important}
html[data-mm-theme="dark"] .mmiw-course__meta,
html[data-mm-theme="dark"] .mmiw-course__dep{color:#AAB5C4!important}
html[data-mm-theme="dark"] .mmiw-course__link,
html[data-mm-theme="dark"] .mmiw-btn--primary{background:#D7B15A!important;color:#0B111A!important;border-color:#D7B15A!important}
html[data-mm-theme="dark"] .mmiw-btn--ghost{background:#121B27!important;color:#F4F1E9!important;border-color:#334255!important}
html[data-mm-theme="dark"] .mmiw-hero__portrait{background:#121B27!important;border-color:#334255!important;box-shadow:0 24px 60px rgba(0,0,0,.38)!important}

/* Decorative / generic light surfaces inside all custom widgets. */
html[data-mm-theme="dark"] .mmhw-widget [style*="background:#fff"],
html[data-mm-theme="dark"] .mmhw-widget [style*="background: #fff"],
html[data-mm-theme="dark"] .mmcw-widget [style*="background:#fff"],
html[data-mm-theme="dark"] .mmaw-widget [style*="background:#fff"],
html[data-mm-theme="dark"] .mmiw-section [style*="background:#fff"]{background:#121B27!important;color:#F4F1E9!important}

/* Preserve imagery: theme changes affect presentation, never photographs. */
html[data-mm-theme="dark"] img{color:inherit}
