/* MedHealthEdu Core â€” frontend (Elementor widgets + templates) */
:root {
  --mhe-navy: #0a2744;
  --mhe-navy-deep: #061a2e;
  --mhe-teal: #0e6b6e;
  --mhe-teal-soft: #e6f3f3;
  --mhe-cyan: #7ec8c9;
  --mhe-hero-end: #0d4a52;
  --mhe-slate: #3d4f5f;
  --mhe-muted: #6b7c8a;
  --mhe-paper: #f7f9fb;
  --mhe-paper-alt: #f4f7f9;
  --mhe-line: #e8eef3;
  --mhe-white: #fff;
  --mhe-success: #1a7a4c;
  --mhe-warning: #b8860b;
  --mhe-radius: 14px;
  --mhe-radius-sm: 10px;
  --mhe-shadow: 0 12px 32px rgba(10, 39, 68, 0.12);
  --mhe-shadow-sm: 0 2px 8px rgba(10, 39, 68, 0.06);
  --mhe-font: "Figtree", "Segoe UI", sans-serif;
  --mhe-display: "Newsreader", Georgia, serif;
  --mhe-max: 1120px;
  --mhe-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.mhe-brand-scope,
.elementor-widget-mhe_programs_grid,
.elementor-widget-mhe_programs_slider,
.elementor-widget-mhe_universities_grid,
.elementor-widget-mhe_universities_showcase,
.elementor-widget-mhe_program_finder,
.elementor-widget-mhe_program_compare,
.elementor-widget-mhe_single_program,
.elementor-widget-mhe_single_university,
.elementor-widget-mhe_testimonials,
.elementor-widget-mhe_experiences,
.elementor-widget-mhe_contact_tabs,
.mhe-single-program,
.mhe-single-university,
.mhe-archive-programs,
.mhe-widget {
  font-family: var(--mhe-font);
  color: var(--mhe-slate);
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  max-width: 100%;
}
.mhe-brand-scope *,
.elementor-widget-mhe_programs_grid *,
.elementor-widget-mhe_programs_slider *,
.elementor-widget-mhe_universities_grid *,
.elementor-widget-mhe_universities_showcase *,
.elementor-widget-mhe_program_finder *,
.elementor-widget-mhe_program_compare *,
.elementor-widget-mhe_single_program *,
.elementor-widget-mhe_single_university *,
.elementor-widget-mhe_testimonials *,
.elementor-widget-mhe_experiences *,
.elementor-widget-mhe_contact_tabs *,
.mhe-single-program *,
.mhe-single-university *,
.mhe-archive-programs *,
.mhe-widget * {
  box-sizing: border-box;
}

.mhe-container {
  width: min(100% - 2.5rem, var(--mhe-max));
  margin-inline: auto;
  max-width: 100%;
  padding-inline: 0;
}
.mhe-section { padding: clamp(2.75rem, 5vw, 5rem) 0; }
.mhe-section--alt { background: var(--mhe-paper); }
.mhe-eyebrow {
  font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mhe-teal); margin: 0 0 .75rem; line-height: 1.4;
}
.mhe-lead {
  color: var(--mhe-muted); font-size: clamp(1rem, 2.2vw, 1.1rem);
  max-width: 38rem; line-height: 1.65; margin: 0;
  overflow-wrap: anywhere; word-wrap: break-word;
}
.mhe-section-intro { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 40rem; }
.mhe-section-intro h2 {
  font-family: var(--mhe-display); font-weight: 500; color: var(--mhe-navy);
  font-size: clamp(1.45rem, 3vw, 2rem); margin: .35rem 0 .75rem; line-height: 1.25;
  overflow-wrap: anywhere;
}
.mhe-btn-group { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.mhe-btn-group--center { justify-content: center; }

.mhe-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; font-weight: 600; font-size: .9375rem;
  border-radius: 4px; text-decoration: none; border: 1.5px solid transparent;
  transition: .25s var(--mhe-ease); text-align: center; max-width: 100%;
  white-space: normal; line-height: 1.3;
}
.mhe-btn--primary { background: var(--mhe-navy); color: #fff; }
.mhe-btn--primary:hover { background: var(--mhe-teal); color: #fff; }
.mhe-btn--secondary { background: transparent; color: var(--mhe-navy); border-color: var(--mhe-navy); }
.mhe-btn--secondary:hover { background: var(--mhe-navy); color: #fff; }
.mhe-btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.mhe-btn--ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.mhe-btn--light { background: #fff; color: var(--mhe-navy); border-color: #fff; }
.mhe-btn--light:hover { background: var(--mhe-teal-soft); color: var(--mhe-navy); }
.mhe-btn--teal { background: var(--mhe-teal); color: #fff; }
.mhe-btn--teal:hover { background: var(--mhe-navy); color: #fff; }
.mhe-aside-actions .mhe-btn { width: 100%; }

.mhe-badge { display: inline-flex; align-items: center; padding: .35rem .75rem; font-size: .7rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; }
.mhe-badge.badge-soon, .badge-soon { background: #fef6e6; color: var(--mhe-warning); }
.mhe-badge.badge-open, .badge-open { background: #e8f6ee; color: var(--mhe-success); }
.mhe-badge.badge-closed, .badge-closed { background: #f0f2f4; color: var(--mhe-muted); }

.mhe-page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2.25rem, 4vw, 3.25rem);
  background: linear-gradient(135deg, var(--mhe-navy-deep) 0%, var(--mhe-navy) 50%, var(--mhe-hero-end) 100%);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  /* Survive Turbo HFB (and similar) rules that hide theme <header> chrome */
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.turbo-hide-theme-header .mhe-page-hero,
body.turbo-hide-theme-header section.mhe-page-hero,
body.mhe-hfb-compat .mhe-page-hero {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.mhe-page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(20, 138, 141, .25), transparent),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(255,255,255,.04), transparent);
}
.mhe-page-hero .mhe-container { position: relative; }
.mhe-page-hero h1,
.mhe-page-hero h1.entry-title,
.elementor-widget-container .mhe-page-hero h1 {
  font-family: var(--mhe-display) !important; font-weight: 500 !important;
  font-size: clamp(1.75rem, 5.5vw, 3rem) !important; color: #fff !important;
  margin: .5rem 0 0 !important; max-width: min(18ch, 100%) !important;
  line-height: 1.2 !important; background: none !important;
  overflow-wrap: anywhere !important; word-wrap: break-word !important;
}
.mhe-page-hero .mhe-lead {
  color: rgba(255,255,255,.78) !important; margin-top: 1.1rem;
  max-width: min(38rem, 100%); font-size: clamp(.975rem, 2.4vw, 1.05rem);
}
.mhe-page-hero .mhe-eyebrow { color: var(--mhe-cyan) !important; }
.mhe-page-hero .mhe-btn-group { margin-top: 1.35rem; }
.mhe-page-hero .mhe-breadcrumb { color: rgba(255,255,255,.55); }
.mhe-page-hero .mhe-breadcrumb a { color: rgba(255,255,255,.75); }

/* Elementor: let hero bleed edge-to-edge; strip section padding around MHE widgets */
.elementor-widget-mhe_programs_grid > .elementor-widget-container,
.elementor-widget-mhe_universities_grid > .elementor-widget-container,
.elementor-widget-mhe_single_program > .elementor-widget-container,
.elementor-widget-mhe_single_university > .elementor-widget-container,
.elementor-widget-mhe_testimonials > .elementor-widget-container {
  padding: 0 !important;
}
.mhe-widget--has-hero { margin: 0; }
.mhe-catalogue-body { padding: clamp(2rem, 4vw, 4rem) 0 clamp(2.5rem, 4vw, 4rem); }
.mhe-breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8125rem; color: rgba(255,255,255,.55); margin-bottom: 1.25rem; }
.mhe-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.mhe-breadcrumb a:hover { color: #fff; }

.mhe-program-grid, .mhe-uni-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem;
}
.mhe-uni-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mhe-program-card, .mhe-uni-card {
  display: flex; flex-direction: column; background: var(--mhe-white); border: 1px solid var(--mhe-line);
  border-radius: var(--mhe-radius); overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--mhe-shadow-sm); transition: transform .25s var(--mhe-ease), box-shadow .25s var(--mhe-ease);
  min-width: 0; max-width: 100%;
}
.mhe-program-card:hover, .mhe-uni-card:hover { transform: translateY(-4px); box-shadow: var(--mhe-shadow); color: inherit; }
.mhe-program-card__media, .mhe-uni-card__media {
  aspect-ratio: 16/9; background: var(--mhe-navy) center/cover no-repeat; position: relative;
}
.mhe-uni-card__media { aspect-ratio: 16/10; }
.mhe-program-card__media .mhe-badge { position: absolute; top: .85rem; left: .85rem; }
.mhe-uni-card__count { position: absolute; bottom: .85rem; left: .85rem; background: rgba(255,255,255,.95); color: var(--mhe-navy); font-size: .75rem; font-weight: 650; padding: .35rem .65rem; border-radius: var(--mhe-radius-sm); }
.mhe-program-card__body, .mhe-uni-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.mhe-program-card__meta, .mhe-uni-card__country { font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--mhe-teal); }
.mhe-program-card__title, .mhe-uni-card__title {
  font-family: var(--mhe-display); font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--mhe-navy); margin: 0; font-weight: 500; line-height: 1.3;
  overflow-wrap: anywhere;
}
.mhe-program-card__excerpt, .mhe-uni-card__excerpt {
  font-size: .9rem; color: var(--mhe-muted); margin: 0; flex: 1; line-height: 1.55;
  overflow-wrap: anywhere;
}
.mhe-program-card__footer, .mhe-uni-card__footer {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap;
  gap: .5rem 1rem; margin-top: .5rem; padding-top: .85rem;
  border-top: 1px solid var(--mhe-line); font-size: .8125rem; font-weight: 600; color: var(--mhe-navy);
}
.mhe-program-card__duration { color: var(--mhe-muted); font-weight: 500; }

/* Slider */
.mhe-slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.mhe-slider-controls { display: flex; gap: .5rem; }
.mhe-slider-btn { width: 44px; height: 44px; border: 1.5px solid var(--mhe-navy); background: #fff; cursor: pointer; border-radius: var(--mhe-radius-sm); font-size: 1.1rem; }
.mhe-slider-btn:hover { background: var(--mhe-navy); color: #fff; }
.mhe-program-slider { overflow: hidden; }
.mhe-program-slider__track { display: flex; gap: 1.5rem; transition: transform .45s var(--mhe-ease); }
.mhe-program-slider__track .mhe-program-card { flex: 0 0 calc((100% - 3rem) / 3); min-width: 0; }
.mhe-slider-dots { display: flex; justify-content: center; gap: .45rem; margin: 1.5rem 0; }
.mhe-slider-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #d8e0e8; cursor: pointer; padding: 0; }
.mhe-slider-dot.is-active { background: var(--mhe-teal); width: 22px; border-radius: 4px; }

/* Filters */
.mhe-filter-bar { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2.25rem; }
.mhe-filter-btn { padding: .6rem 1.1rem; font-size: .8125rem; font-weight: 600; border: 1.5px solid #d8e0e8; background: #fff; color: var(--mhe-slate); cursor: pointer; border-radius: var(--mhe-radius-sm); }
.mhe-filter-btn.is-active, .mhe-filter-btn:hover { background: var(--mhe-navy); color: #fff; border-color: var(--mhe-navy); }
.mhe-catalog-section { margin-bottom: 2.5rem; }
.mhe-catalog-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; padding-bottom: .85rem; border-bottom: 1px solid var(--mhe-line); }
.mhe-catalog-label h2 { font-family: var(--mhe-display); font-size: 1.35rem; color: var(--mhe-navy); margin: 0; font-weight: 500; }
.mhe-catalog-label h2 span { font-weight: 400; font-size: .85rem; color: var(--mhe-muted); }
.mhe-catalog-label a { font-size: .875rem; font-weight: 600; color: var(--mhe-teal); text-decoration: none; }

/* Finder */
.mhe-finder-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.mhe-finder {
  background: #fff; border: 1px solid #d8e0e8; border-radius: var(--mhe-radius);
  padding: clamp(1.35rem, 3vw, 2rem); box-shadow: var(--mhe-shadow-sm); min-width: 0;
}
.mhe-finder-steps { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.mhe-finder-dot { width: 8px; height: 8px; border-radius: 50%; background: #d8e0e8; }
.mhe-finder-dot.is-active { background: var(--mhe-teal); }
.mhe-finder-question {
  font-family: var(--mhe-display); font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--mhe-navy); margin: 0 0 1.15rem; line-height: 1.3; overflow-wrap: anywhere;
}
.mhe-finder-options { display: flex; flex-direction: column; gap: .65rem; }
.mhe-finder-option {
  text-align: left; padding: 1rem 1.15rem; background: var(--mhe-paper);
  border: 1.5px solid var(--mhe-line); color: var(--mhe-navy); font-weight: 550;
  cursor: pointer; border-radius: 4px; width: 100%; line-height: 1.4; overflow-wrap: anywhere;
}
.mhe-finder-option:hover { border-color: var(--mhe-teal); background: var(--mhe-teal-soft); }
.mhe-finder-result { display: none; }
.mhe-finder-result.is-visible { display: block; }
.mhe-finder-result-card { padding: 1.5rem; background: var(--mhe-teal-soft); border-left: 3px solid var(--mhe-teal); border-radius: 0 var(--mhe-radius-sm) var(--mhe-radius-sm) 0; }
.mhe-finder-back { margin-top: 1rem; background: none; border: 0; color: var(--mhe-muted); text-decoration: underline; cursor: pointer; }

/* Single layouts */
.mhe-program-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: clamp(1.75rem, 3vw, 2.75rem); align-items: start;
}
.mhe-program-main { min-width: 0; }
.mhe-program-aside { position: sticky; top: 6rem; min-width: 0; }
.mhe-aside-card {
  background: var(--mhe-paper); border: 1px solid var(--mhe-line);
  border-radius: var(--mhe-radius); padding: clamp(1.25rem, 3vw, 1.6rem);
  box-shadow: var(--mhe-shadow-sm);
}
.mhe-aside-card h3 {
  font-family: var(--mhe-display); color: var(--mhe-navy); margin: 0 0 1rem;
  font-weight: 500; font-size: clamp(1.05rem, 2.5vw, 1.15rem); overflow-wrap: anywhere;
}
.mhe-aside-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: .75rem 1rem; padding: .65rem 0; border-bottom: 1px solid var(--mhe-line);
  font-size: .875rem;
}
.mhe-aside-row:last-of-type { border-bottom: none; margin-bottom: .35rem; }
.mhe-aside-row span { color: var(--mhe-muted); flex-shrink: 0; }
.mhe-aside-row strong {
  color: var(--mhe-navy); text-align: right; font-weight: 600;
  overflow-wrap: anywhere; min-width: 0;
}
.mhe-aside-actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.15rem; }
.mhe-aside-note { margin: 1rem 0 0; font-size: .75rem; color: var(--mhe-muted); line-height: 1.45; }
.mhe-aside-link { margin-top: 1rem; font-size: .8125rem; }
.mhe-aside-link a { color: var(--mhe-teal); font-weight: 600; text-decoration: none; }
.mhe-aside-link a:hover { text-decoration: underline; }

.mhe-cta-band {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--mhe-navy-deep), var(--mhe-teal));
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
.mhe-cta-band .mhe-container { padding-inline: .25rem; }
.mhe-cta-band h2 {
  font-family: var(--mhe-display); color: #fff; font-weight: 500;
  margin: 0 0 .75rem; font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.25; overflow-wrap: anywhere; padding-inline: .5rem;
}
.mhe-cta-band p {
  color: rgba(255,255,255,.75); max-width: 32rem; margin: 0 auto 1.85rem;
  padding-inline: .75rem; line-height: 1.6; overflow-wrap: anywhere;
}
.mhe-cta-band .mhe-btn-group { justify-content: center; padding-inline: .5rem; }

.mhe-testimonial-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem); margin-top: 1.25rem;
}
.mhe-testimonial {
  background: var(--mhe-paper); border: 1px solid var(--mhe-line); border-radius: var(--mhe-radius);
  padding: clamp(1.15rem, 3vw, 1.75rem); box-shadow: var(--mhe-shadow-sm);
  display: flex; flex-direction: column; gap: 1.15rem; min-width: 0;
}
.mhe-testimonial--text .mhe-testimonial__video { display: none; }
.mhe-testimonial__photo {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--mhe-radius-sm);
  overflow: hidden; background: var(--mhe-navy-deep);
  box-shadow: inset 0 0 0 1px rgba(10, 39, 68, 0.06);
}
.mhe-testimonial__photo-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.mhe-testimonial__video {
  aspect-ratio: 16/9; background: var(--mhe-navy-deep) center/cover no-repeat;
  border-radius: var(--mhe-radius-sm); position: relative; overflow: hidden; cursor: pointer;
}
.mhe-testimonial__video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,26,46,.45), transparent 55%);
  pointer-events: none;
}
.mhe-testimonial__play {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.mhe-testimonial__play::before {
  content: ""; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.95); box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .25s ease;
}
.mhe-testimonial__play::after {
  content: ""; position: absolute; width: 0; height: 0;
  border-style: solid; border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--mhe-navy);
  margin-left: 3px;
}
.mhe-testimonial__play:hover::before,
.mhe-video-theater__item:hover .mhe-testimonial__play::before { transform: scale(1.08); }
.mhe-testimonial blockquote {
  margin: 0; font-family: var(--mhe-display); font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--mhe-navy); line-height: 1.45; font-weight: 500; font-style: italic;
  overflow-wrap: anywhere;
}
.mhe-testimonial__desc { margin: 0; color: var(--mhe-slate); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.mhe-testimonial-author {
  display: flex; align-items: center; gap: .85rem; margin-top: auto; min-width: 0;
}
.mhe-testimonial-author__avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--mhe-navy) center/cover no-repeat;
}
.mhe-testimonial-author__avatar--placeholder {
  background: linear-gradient(135deg, var(--mhe-navy), var(--mhe-teal));
}
.mhe-testimonial-author__info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1; }
.mhe-testimonial-author__info strong {
  color: var(--mhe-navy); font-size: .9rem; overflow-wrap: anywhere;
}
.mhe-testimonial-author__info span {
  font-size: .75rem; color: var(--mhe-muted); line-height: 1.35; overflow-wrap: anywhere;
}

/* Legacy class aliases (section builder) */
.mhe-testimonial__author { display: flex; flex-direction: column; gap: .2rem; }
.mhe-testimonial__author strong { color: var(--mhe-navy); font-size: .9rem; }
.mhe-testimonial__author span { font-size: .75rem; color: var(--mhe-muted); }

/* Video theater â€” larger multi-video layout */
.mhe-video-theater { margin-top: 1.25rem; }
.mhe-video-theater__title {
  font-family: var(--mhe-display); color: var(--mhe-navy); font-weight: 500;
  font-size: 1.15rem; margin: 0 0 1rem;
}
.mhe-video-theater__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.mhe-video-theater__item {
  background: var(--mhe-paper); border: 1px solid var(--mhe-line); border-radius: var(--mhe-radius);
  overflow: hidden; box-shadow: var(--mhe-shadow-sm); min-width: 0;
}
.mhe-video-theater__item .mhe-testimonial__video {
  margin: 0; border-radius: 0; aspect-ratio: 16/9;
}
.mhe-video-theater__meta { padding: 1rem 1.15rem 1.25rem; min-width: 0; }
.mhe-video-theater__meta strong {
  display: block; color: var(--mhe-navy); font-size: .95rem; margin-bottom: .25rem;
  overflow-wrap: anywhere;
}
.mhe-video-theater__meta p,
.mhe-video-theater__meta span {
  margin: 0; font-size: .8125rem; color: var(--mhe-muted); line-height: 1.4;
  overflow-wrap: anywhere;
}

.mhe-testimonial-group { margin-top: clamp(2rem, 4vw, 2.75rem); }
.mhe-testimonial-group:first-of-type { margin-top: 0; }
.mhe-testimonial-group h3 {
  font-family: var(--mhe-display); color: var(--mhe-navy); font-weight: 500;
  font-size: clamp(1.2rem, 3vw, 1.65rem); margin: .25rem 0 0; overflow-wrap: anywhere;
}
.mhe-testimonial-group--alt {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding-left: max(1.25rem, calc(50vw - var(--mhe-max) / 2));
  padding-right: max(1.25rem, calc(50vw - var(--mhe-max) / 2));
  background: var(--mhe-paper-alt, #f4f7f9);
  width: 100vw; max-width: 100vw; box-sizing: border-box;
}
.mhe-testimonials-text-block { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.mhe-testimonials-text-block h3 {
  font-family: var(--mhe-display); color: var(--mhe-navy); font-weight: 500;
  font-size: 1.15rem; margin: 0 0 .75rem;
}
.mhe-sec__note { color: var(--mhe-muted); font-size: .9rem; margin: -.25rem 0 1rem; line-height: 1.5; }
.mhe-widget--testimonials { width: 100%; max-width: 100%; min-width: 0; }

/* Experiences widget (homepage image / video sections) */
.mhe-experiences,
.mhe-widget--experiences {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  --mhe-exp-gap: 1.5rem;
}
.mhe-experiences__head {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.mhe-experiences__intro {
  margin-bottom: 0;
  max-width: 40rem;
}
.mhe-experiences__grid {
  display: grid;
  grid-template-columns: repeat(var(--mhe-exp-cols, 3), minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, var(--mhe-exp-gap));
}
.mhe-experiences__slider {
  overflow: hidden;
}
.mhe-experiences__track {
  display: flex;
  gap: var(--mhe-exp-gap);
  transition: transform .45s var(--mhe-ease);
}
.mhe-experiences__track > .mhe-testimonial {
  flex: 0 0 calc((100% - (var(--mhe-exp-gap) * (var(--mhe-exp-cols, 3) - 1))) / var(--mhe-exp-cols, 3));
  min-width: 0;
}
.mhe-experiences__theater .mhe-video-theater {
  margin-top: 0;
}
.mhe-experiences__theater .mhe-video-theater__grid {
  grid-template-columns: repeat(var(--mhe-exp-cols, 2), minmax(0, 1fr));
}

/* Video / image lightbox */
.mhe-video-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(6, 26, 46, .88);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(.75rem, 3vw, 1.5rem); box-sizing: border-box;
}
.mhe-video-lightbox[hidden] { display: none !important; }
.mhe-video-lightbox__inner {
  width: min(960px, 100%); background: #000; border-radius: var(--mhe-radius);
  overflow: hidden; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.mhe-video-lightbox__inner--image {
  width: min(1100px, 100%); background: transparent; overflow: visible;
}
.mhe-video-lightbox__stage { width: 100%; }
.mhe-video-lightbox__frame,
.mhe-video-lightbox__video { aspect-ratio: 16/9; width: 100%; border: 0; display: block; background: #000; }
.mhe-video-lightbox__video { max-height: min(80vh, 720px); }
.mhe-video-lightbox__image {
  display: block; max-width: 100%; max-height: min(88vh, 900px);
  margin: 0 auto; border-radius: var(--mhe-radius-sm);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.mhe-video-lightbox__close {
  position: absolute; top: .65rem; right: .65rem; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--mhe-navy);
  font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.mhe-video-lightbox__inner--image .mhe-video-lightbox__close {
  top: -.35rem; right: -.35rem;
}
.mhe-video-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--mhe-navy);
  font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.mhe-video-lightbox__nav[hidden] { display: none !important; }
.mhe-video-lightbox__prev { left: .5rem; }
.mhe-video-lightbox__next { right: .5rem; }
.mhe-lightbox-trigger {
  display: block; cursor: zoom-in; text-decoration: none; color: inherit;
}
.mhe-lightbox-trigger img { display: block; width: 100%; height: auto; transition: opacity .2s var(--mhe-ease); }
.mhe-lightbox-trigger:hover img { opacity: .92; }

.mhe-compare-cta {
  padding: 1.5rem; background: var(--mhe-teal-soft); border-left: 3px solid var(--mhe-teal);
  border-radius: 0 var(--mhe-radius-sm) var(--mhe-radius-sm) 0;
}
.mhe-compare-cta h2 { border: 0; padding: 0; margin: 0 0 .75rem; }

.mhe-module { margin-bottom: clamp(2rem, 4vw, 2.75rem); min-width: 0; }
.mhe-module h2 {
  font-family: var(--mhe-display); color: var(--mhe-navy); font-weight: 500;
  margin: 0 0 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--mhe-line);
  font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.25; overflow-wrap: anywhere;
}
.mhe-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mhe-meta-item {
  padding: 1.05rem 1.15rem; background: var(--mhe-paper); border-left: 2px solid var(--mhe-teal);
  border-radius: 0 var(--mhe-radius-sm) var(--mhe-radius-sm) 0; min-width: 0;
}
.mhe-meta-item dt {
  font-size: .7rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mhe-muted); margin-bottom: .3rem;
}
.mhe-meta-item dd {
  margin: 0; font-weight: 600; color: var(--mhe-navy); line-height: 1.45;
  overflow-wrap: anywhere; word-wrap: break-word;
}
.mhe-meta-item a { color: var(--mhe-navy); text-decoration: none; }
.mhe-meta-item a:hover { color: var(--mhe-teal); }
.mhe-list { margin: .75rem 0 0; padding: 0; list-style: none; }
.mhe-list li { position: relative; padding: .35rem 0 .35rem 1.25rem; }
.mhe-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--mhe-teal); }
.mhe-prose { color: var(--mhe-slate); line-height: 1.7; overflow-wrap: anywhere; max-width: 100%; }
.mhe-prose p { margin: 0 0 1rem; }
.mhe-prose p:last-child { margin-bottom: 0; }
.mhe-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mhe-gallery figure { margin: 0; border-radius: var(--mhe-radius); overflow: hidden; box-shadow: var(--mhe-shadow-sm); min-width: 0; }
.mhe-gallery img { display: block; width: 100%; height: auto; }
.mhe-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.mhe-uni-hero {
  aspect-ratio: 21/8; background: center/cover no-repeat;
  border-radius: 0 0 var(--mhe-radius) var(--mhe-radius); box-shadow: var(--mhe-shadow);
  width: min(100% - 2.5rem, var(--mhe-max)); max-width: 100%; margin: 0 auto;
}
.mhe-location-media { aspect-ratio: 4/3; background: center/cover no-repeat; border-radius: var(--mhe-radius); box-shadow: var(--mhe-shadow); }
.mhe-feature-list { list-style: none; margin: 1.5rem 0 0; padding: 0; max-width: 44rem; }
.mhe-feature-list li { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--mhe-line); }
.mhe-feature-num { font-family: var(--mhe-display); color: var(--mhe-teal); font-size: 1.25rem; }
.mhe-ranking-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.mhe-ranking-item { text-align: center; padding: 1.6rem 1rem; background: var(--mhe-paper); border-top: 2px solid var(--mhe-teal); border-radius: 0 0 var(--mhe-radius-sm) var(--mhe-radius-sm); box-shadow: var(--mhe-shadow-sm); }
.mhe-ranking-item strong { display: block; font-family: var(--mhe-display); font-size: 1.75rem; color: var(--mhe-navy); margin-bottom: .35rem; }
.mhe-ranking-item span { font-size: .8125rem; color: var(--mhe-muted); }
.mhe-notice-panel {
  background: var(--mhe-navy); color: rgba(255,255,255,.85);
  padding: clamp(1.35rem, 3vw, 2rem); border-radius: var(--mhe-radius);
  min-height: 200px; display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
}
.mhe-notice-panel p { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.mhe-notice-panel .mhe-eyebrow { color: #7ec8c9; }
.mhe-video-embed { border-radius: var(--mhe-radius); overflow: hidden; box-shadow: var(--mhe-shadow); max-width: 100%; }
.mhe-video-embed iframe,
.mhe-video-embed embed,
.mhe-video-embed object {
  display: block; width: 100%; aspect-ratio: 16/9; height: auto;
  min-height: 0; max-width: 100%; border: 0;
}
.mhe-video-embed--wide { margin-top: 1.25rem; }
.mhe-video-module { display: grid; gap: 1.25rem; }
@media (min-width: 720px) {
  .mhe-video-module { grid-template-columns: 1.4fr 1fr; align-items: center; }
}
.mhe-video-module__caption h3 { font-family: var(--mhe-display); color: var(--mhe-navy); font-weight: 500; margin: 0 0 .5rem; }
.mhe-video-embed iframe { width: 100%; aspect-ratio: 16/9; }
.mhe-video-placeholder { aspect-ratio: 16/9; background: var(--mhe-navy-deep); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: var(--mhe-radius); }

.mhe-compare-wrap {
  overflow-x: auto; margin-top: 1.5rem; -webkit-overflow-scrolling: touch;
  max-width: 100%; border-radius: var(--mhe-radius);
}
.mhe-compare-table {
  width: 100%; border-collapse: collapse; min-width: 560px; background: #fff;
  border-radius: var(--mhe-radius); overflow: hidden; box-shadow: var(--mhe-shadow-sm);
}
.mhe-compare-table th, .mhe-compare-table td {
  padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--mhe-line);
  font-size: .9rem; vertical-align: top; overflow-wrap: anywhere;
}
.mhe-compare-table thead th { background: var(--mhe-navy); color: #fff; }
.mhe-compare-table tbody th { background: var(--mhe-paper); color: var(--mhe-navy); font-weight: 600; }
.mhe-check { color: var(--mhe-teal); font-weight: 700; }
.mhe-dash { color: var(--mhe-muted); }

.mhe-meta-item--wide { grid-column: 1 / -1; }
.mhe-program-hero-media { margin: -1.5rem auto 0; position: relative; z-index: 1; }
.mhe-program-hero-media img {
  display: block; width: 100%; max-height: 420px; object-fit: cover;
  border-radius: var(--mhe-radius); box-shadow: var(--mhe-shadow);
}
.mhe-faculty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .5rem; }
.mhe-faculty-card {
  padding: 1.15rem 1.25rem; background: var(--mhe-paper); border-radius: var(--mhe-radius-sm);
  border-left: 2px solid var(--mhe-teal); min-width: 0;
}
.mhe-faculty-card__name { display: block; color: var(--mhe-navy); font-size: 1.05rem; margin-bottom: .25rem; overflow-wrap: anywhere; }
.mhe-faculty-card__role { display: block; font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--mhe-teal); margin-bottom: .5rem; }
.mhe-faculty-card__bio { margin: 0; font-size: .9rem; color: var(--mhe-muted); line-height: 1.55; overflow-wrap: anywhere; }
.mhe-download-list { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }

/* Section building blocks */
.mhe-icon-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.25rem; }
.mhe-icon-box {
  padding: 1.25rem 1.2rem; background: var(--mhe-paper); border-radius: var(--mhe-radius-sm);
  border-top: 2px solid var(--mhe-teal); box-shadow: var(--mhe-shadow-sm); min-width: 0;
}
.mhe-icon-box__title { display: block; color: var(--mhe-navy); margin: .55rem 0 .35rem; font-size: 1.02rem; overflow-wrap: anywhere; }
.mhe-icon-box p { margin: 0; font-size: .9rem; color: var(--mhe-muted); line-height: 1.5; overflow-wrap: anywhere; }
.mhe-icon-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .75rem; }
.mhe-icon-list li { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; padding: .65rem 0; border-bottom: 1px solid var(--mhe-line); }
.mhe-fa {
  display: inline-flex; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--mhe-teal-soft); color: var(--mhe-teal);
  align-items: center; justify-content: center; font-size: .95rem;
  flex-shrink: 0;
}
.mhe-icon-box .mhe-fa { margin-bottom: .15rem; }

.mhe-fee-hero {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 1.25rem;
  padding: 1.25rem 1.4rem; margin: .5rem 0 1.25rem;
  background: linear-gradient(135deg, var(--mhe-navy-deep), var(--mhe-navy));
  color: #fff; border-radius: var(--mhe-radius);
}
.mhe-fee-hero__amount { font-family: var(--mhe-display); font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 500; }
.mhe-fee-hero__note { font-size: .9rem; opacity: .85; }

.mhe-week-themes { display: grid; gap: 1rem; margin-top: 1.25rem; }
.mhe-week-theme {
  display: grid; grid-template-columns: 2.5rem 1fr; gap: .85rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--mhe-line);
}
.mhe-week-theme__num { font-family: var(--mhe-display); color: var(--mhe-teal); font-size: 1.35rem; }
.mhe-week-theme strong { display: block; color: var(--mhe-navy); margin-bottom: .25rem; }
.mhe-week-theme__sub { display: block; font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--mhe-teal); margin-bottom: .4rem; }
.mhe-week-theme p { margin: 0; color: var(--mhe-muted); font-size: .95rem; }

.mhe-table-wrap {
  overflow-x: auto; margin-top: 1rem; border-radius: var(--mhe-radius);
  box-shadow: var(--mhe-shadow-sm); -webkit-overflow-scrolling: touch; max-width: 100%;
}
.mhe-table { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; }
.mhe-table th, .mhe-table td {
  padding: .85rem .95rem; text-align: left; border-bottom: 1px solid var(--mhe-line);
  vertical-align: top; font-size: .9rem; overflow-wrap: anywhere;
}
.mhe-table thead th { background: var(--mhe-navy); color: #fff; font-weight: 600; }
.mhe-table tbody th { background: var(--mhe-paper); color: var(--mhe-navy); font-weight: 600; white-space: nowrap; }
.mhe-calendar-week { margin-top: 2rem; }
.mhe-calendar-week h3 { font-family: var(--mhe-display); color: var(--mhe-navy); font-weight: 500; margin: 0 0 .75rem; }
.mhe-sec__note { font-size: .9rem; color: var(--mhe-muted); font-style: italic; }
.mhe-sec__after { margin-top: 1.25rem; }
.mhe-notice-box {
  padding: 1.5rem 1.6rem; background: #fef6e6; border-left: 3px solid var(--mhe-warning);
  border-radius: 0 var(--mhe-radius-sm) var(--mhe-radius-sm) 0;
}
.mhe-notice-box h2 { border: 0; padding: 0; margin-bottom: .75rem; }
.mhe-cta-email { font-size: 1.05rem; font-weight: 600; }
.mhe-cta-email a { color: var(--mhe-teal); }
.mhe-sec-image { margin: 1rem 0 0; border-radius: var(--mhe-radius); overflow: hidden; box-shadow: var(--mhe-shadow); }
.mhe-sec-image img { display: block; width: 100%; height: auto; }
.mhe-sec-image figcaption { padding: .75rem 1rem; background: var(--mhe-paper); font-size: .875rem; color: var(--mhe-muted); }

/* Universities Showcase (homepage mockup cards) */
.mhe-uni-showcase { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.mhe-uni-showcase.mhe-section--alt { background: var(--mhe-paper); padding-left: 0; padding-right: 0; }
.mhe-uni-showcase .mhe-section-intro { width: min(100% - 2.5rem, var(--mhe-max)); margin: 0 auto 2.25rem; }
.mhe-uni-showcase .mhe-section-intro h2 {
  font-family: var(--mhe-display); font-weight: 500; color: var(--mhe-navy);
  font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 0 0 .75rem;
}
.mhe-uni-card-grid {
  display: grid; gap: 1.5rem;
  width: min(100% - 2.5rem, var(--mhe-max)); margin: 0 auto;
}
.mhe-uni-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mhe-uni-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mhe-uni-showcase__more {
  width: min(100% - 2.5rem, var(--mhe-max)); margin: 2rem auto 0;
}
.mhe-uni-hero-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0;
  width: min(100% - 2.5rem, var(--mhe-max)); margin: 0 auto; max-width: 100%;
  background: var(--mhe-white); border: 1px solid var(--mhe-line);
  border-radius: var(--mhe-radius); overflow: hidden; box-shadow: var(--mhe-shadow-sm);
}
.mhe-uni-hero-card__media {
  min-height: 360px;
  background: var(--mhe-navy) center / cover no-repeat;
}
.mhe-uni-hero-card__body {
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; justify-content: center; min-width: 0;
}
.mhe-uni-hero-card__title {
  font-family: var(--mhe-display); font-weight: 500; color: var(--mhe-navy);
  font-size: clamp(1.35rem, 3vw, 2rem); margin: 0 0 .35rem; overflow-wrap: anywhere;
}
.mhe-uni-hero-card__location { font-size: .875rem; color: var(--mhe-muted); margin: 0 0 1rem; }
.mhe-uni-hero-card__body > p {
  color: var(--mhe-slate); margin: 0 0 1.5rem; line-height: 1.6; overflow-wrap: anywhere;
}

/* Align uni cards with mockup */
.mhe-uni-card { border-radius: var(--mhe-radius); }
.mhe-uni-card__media { border-radius: var(--mhe-radius) var(--mhe-radius) 0 0; }

/* â€”â€”â€” Responsive â€”â€”â€” */
@media (max-width: 1100px) {
  .mhe-icon-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhe-uni-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhe-uni-card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .mhe-container { width: min(100% - 2rem, var(--mhe-max)); }
  .mhe-finder-layout,
  .mhe-program-layout,
  .mhe-split,
  .mhe-ranking-row,
  .mhe-faculty-grid,
  .mhe-testimonial-grid,
  .mhe-video-theater__grid,
  .mhe-uni-card-grid--2,
  .mhe-uni-card-grid--3,
  .mhe-uni-hero-card { grid-template-columns: 1fr; }
  .mhe-uni-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhe-program-slider__track .mhe-program-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
  .mhe-experiences__grid {
    grid-template-columns: repeat(var(--mhe-exp-cols-tablet, 2), minmax(0, 1fr));
  }
  .mhe-experiences__track > .mhe-testimonial {
    flex: 0 0 calc((100% - (var(--mhe-exp-gap) * (var(--mhe-exp-cols-tablet, 2) - 1))) / var(--mhe-exp-cols-tablet, 2));
  }
  .mhe-experiences__theater .mhe-video-theater__grid {
    grid-template-columns: repeat(var(--mhe-exp-cols-tablet, 2), minmax(0, 1fr));
  }
  .mhe-program-aside { position: static; width: 100%; }
  .mhe-uni-hero-card__media { min-height: 220px; aspect-ratio: 16/10; }
  .mhe-uni-hero { aspect-ratio: 16/7; }
  .mhe-slider-head { align-items: flex-start; gap: 1rem; }
  .mhe-catalogue-body { padding-top: 2rem; }
  .mhe-testimonial-group--alt {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .mhe-page-hero h1,
  .mhe-page-hero h1.entry-title,
  .elementor-widget-container .mhe-page-hero h1 {
    max-width: 100% !important;
  }
}

@media (max-width: 720px) {
  .mhe-container { width: min(100% - 1.5rem, var(--mhe-max)); }
  .mhe-section { padding: 2.5rem 0; }
  .mhe-meta-grid,
  .mhe-icon-boxes,
  .mhe-program-grid,
  .mhe-uni-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .mhe-gallery { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .mhe-program-card__body,
  .mhe-uni-card__body { padding: 1.15rem 1.2rem 1.35rem; }
  .mhe-filter-bar { gap: .5rem; margin-bottom: 1.5rem; }
  .mhe-filter-btn { padding: .55rem .9rem; font-size: .78rem; }
  .mhe-finder { padding: 1.25rem; }
  .mhe-aside-row { flex-direction: column; gap: .2rem; }
  .mhe-aside-row strong { text-align: left; }
  .mhe-cta-band { padding: 2.5rem 0; }
  .mhe-cta-band .mhe-btn-group { flex-direction: column; align-items: stretch; }
  .mhe-cta-band .mhe-btn { width: 100%; }
  .mhe-page-hero .mhe-btn-group { gap: .65rem; }
  .mhe-page-hero .mhe-btn { flex: 1 1 auto; min-width: min(100%, 12rem); }
  .mhe-btn-group { gap: .65rem; }
  .mhe-module { margin-bottom: 2rem; }
  .mhe-module h2 { padding-bottom: .65rem; }
  .mhe-uni-showcase .mhe-section-intro,
  .mhe-uni-card-grid,
  .mhe-uni-showcase__more,
  .mhe-uni-hero-card { width: min(100% - 1.5rem, var(--mhe-max)); }
  .mhe-video-lightbox { padding: .75rem; }
  .mhe-testimonial__play::before { width: 46px; height: 46px; }
  .mhe-notice-box { padding: 1.15rem 1.2rem; }
  .mhe-fee-hero { padding: 1.1rem 1.15rem; }
  .mhe-compare-cta { padding: 1.2rem; }
  .mhe-download-list .mhe-btn { width: 100%; }
}

@media (max-width: 640px) {
  .mhe-program-slider__track .mhe-program-card { flex: 0 0 100%; }
  .mhe-experiences__grid {
    grid-template-columns: repeat(var(--mhe-exp-cols-mobile, 1), minmax(0, 1fr));
  }
  .mhe-experiences__track > .mhe-testimonial {
    flex: 0 0 calc((100% - (var(--mhe-exp-gap) * (var(--mhe-exp-cols-mobile, 1) - 1))) / var(--mhe-exp-cols-mobile, 1));
  }
  .mhe-experiences__theater .mhe-video-theater__grid {
    grid-template-columns: repeat(var(--mhe-exp-cols-mobile, 1), minmax(0, 1fr));
  }
  .mhe-uni-hero { aspect-ratio: 16/9; border-radius: var(--mhe-radius); }
  .mhe-breadcrumb { font-size: .75rem; gap: .3rem; margin-bottom: 1rem; }
  .mhe-catalog-label { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

@media (max-width: 480px) {
  .mhe-container { width: min(100% - 1.25rem, var(--mhe-max)); }
  .mhe-gallery { grid-template-columns: 1fr; }
  .mhe-meta-item { padding: .9rem 1rem; }
  .mhe-testimonial { padding: 1.1rem; gap: .9rem; }
  .mhe-testimonial-author__avatar { width: 42px; height: 42px; }
  .mhe-slider-btn { width: 40px; height: 40px; }
  .mhe-icon-list li { grid-template-columns: 1.75rem 1fr; gap: .6rem; }
  .mhe-week-theme { grid-template-columns: 2rem 1fr; gap: .65rem; }
  .mhe-table { min-width: 460px; }
  .mhe-compare-table { min-width: 480px; }
  .mhe-uni-showcase .mhe-section-intro,
  .mhe-uni-card-grid,
  .mhe-uni-showcase__more,
  .mhe-uni-hero-card { width: min(100% - 1.25rem, var(--mhe-max)); }
  .mhe-testimonial-group--alt {
    padding-left: .875rem;
    padding-right: .875rem;
  }
}

/* Contact form tabs (mockup port)
   Brand vars are re-declared on the inner widget root so they shadow any
   Elementor kit/global COLOR tokens previously injected on {{WRAPPER}}. */
.elementor-widget-mhe_contact_tabs,
.elementor-widget-mhe_contact_tabs > .elementor-widget-container {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.elementor-widget-mhe_contact_tabs .mhe-widget--contact,
.mhe-widget--contact.mhe-brand-scope {
  --mhe-navy: #0a2744;
  --mhe-navy-deep: #061a2e;
  --mhe-teal: #0e6b6e;
  --mhe-teal-soft: #e6f3f3;
  --mhe-cyan: #7ec8c9;
  --mhe-slate: #3d4f5f;
  --mhe-muted: #6b7c8a;
  --mhe-paper: #f7f9fb;
  --mhe-line: #e8eef3;
  --mhe-white: #fff;
  --mhe-success: #1a7a4c;
  --mhe-radius-sm: 10px;
  --mhe-font: "Figtree", "Segoe UI", sans-serif;
  --mhe-display: "Newsreader", Georgia, serif;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-family: var(--mhe-font);
  color: var(--mhe-slate);
}
.elementor-widget-mhe_contact_tabs .mhe-widget--contact,
.elementor-widget-mhe_contact_tabs .mhe-widget--contact .mhe-lead,
.elementor-widget-mhe_contact_tabs .mhe-widget--contact p,
.elementor-widget-mhe_contact_tabs .mhe-widget--contact label,
.elementor-widget-mhe_contact_tabs .mhe-widget--contact input,
.elementor-widget-mhe_contact_tabs .mhe-widget--contact select,
.elementor-widget-mhe_contact_tabs .mhe-widget--contact textarea,
.elementor-widget-mhe_contact_tabs .mhe-widget--contact button,
.elementor-widget-mhe_contact_tabs .mhe-widget--contact .mhe-btn {
  font-family: var(--mhe-font);
}
.elementor-widget-mhe_contact_tabs .mhe-contact-page-intro__title,
.elementor-widget-mhe_contact_tabs .mhe-contact-intro__title,
.elementor-widget-mhe_contact_tabs .mhe-feature-num {
  font-family: var(--mhe-display);
}

.mhe-widget--contact { width: 100%; max-width: 100%; min-width: 0; }
.mhe-contact-page-intro { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.mhe-contact-page-intro__title,
.mhe-contact-intro__title {
  font-family: var(--mhe-display);
  color: #0a2744;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 .65rem;
  line-height: 1.2;
}
.mhe-contact-page-intro .mhe-eyebrow,
.mhe-contact-intro .mhe-eyebrow {
  color: #0e6b6e;
}
.mhe-contact-page-intro .mhe-lead,
.mhe-contact-intro .mhe-lead {
  color: #3d4f5f;
  line-height: 1.65;
  margin: .65rem 0 0;
  max-width: 40rem;
  font-family: var(--mhe-font);
}
.mhe-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.mhe-contact-intro,
.mhe-contact-forms {
  min-width: 0;
  max-width: 100%;
}
.mhe-contact-intro .mhe-feature-list { margin-top: 2rem; }
.mhe-contact-intro .mhe-feature-list strong {
  color: #0a2744;
  display: block;
  margin-bottom: .25rem;
  font-family: var(--mhe-font);
}
.mhe-contact-intro .mhe-feature-list p {
  font-size: .9rem;
  color: #6b7c8a;
  margin: 0;
  line-height: 1.5;
}
.mhe-contact-intro .mhe-feature-num {
  font-family: var(--mhe-display);
  color: #0e6b6e;
}
.mhe-contact-address {
  margin-top: 2rem;
  font-size: .9rem;
  color: #6b7c8a;
  line-height: 1.7;
}
.mhe-contact-address a {
  color: #0e6b6e;
  text-decoration: none;
}
.mhe-contact-address a:hover {
  color: #0a2744;
  text-decoration: underline;
}
.mhe-contact-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #e8eef3;
  width: 100%;
}
.mhe-contact-tab {
  flex: 1 1 10rem;
  min-height: 44px;
  padding: .85rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--mhe-font);
  font-weight: 600;
  font-size: .875rem;
  color: #6b7c8a;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
  text-align: center;
  line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}
.mhe-contact-tab:hover { color: #0a2744; }
.mhe-contact-tab.is-active {
  color: #0a2744;
  border-bottom-color: #0e6b6e;
}
.mhe-contact-panel { display: none; max-width: 100%; min-width: 0; }
.mhe-contact-panel.is-active { display: block; }
.mhe-contact-panel[hidden] { display: none !important; }
.mhe-contact-form { position: relative; max-width: 100%; min-width: 0; }
.mhe-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.mhe-contact-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}
.mhe-contact-field--full { grid-column: 1 / -1; }
.mhe-contact-field label {
  font-size: .8125rem;
  font-weight: 600;
  color: #0a2744;
  font-family: var(--mhe-font);
}
.mhe-contact-field input,
.mhe-contact-field select,
.mhe-contact-field textarea {
  padding: .75rem .9rem;
  border: 1.5px solid #e8eef3;
  background: #fff;
  color: #3d4f5f;
  border-radius: 10px;
  font-family: var(--mhe-font);
  font-size: .95rem;
  transition: border-color .2s;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.mhe-contact-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7c8a' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.25rem;
}
.mhe-contact-field input:focus,
.mhe-contact-field select:focus,
.mhe-contact-field textarea:focus {
  outline: none;
  border-color: #0e6b6e;
}
.mhe-contact-field textarea { min-height: 120px; resize: vertical; }
.mhe-contact-hint {
  font-size: .75rem;
  color: #6b7c8a;
  margin: .85rem 0 0;
}
.mhe-contact-hp {
  position: absolute !important; left: -9999px !important; width: 1px !important;
  height: 1px !important; opacity: 0 !important; pointer-events: none !important;
}
.mhe-contact-success {
  padding: 1.25rem;
  background: #e8f6ee;
  border-left: 3px solid #1a7a4c;
  color: #0a2744;
  margin-top: 1rem;
  border-radius: 0 10px 10px 0;
  font-family: var(--mhe-font);
}
.mhe-contact-success[hidden] { display: none !important; }
.mhe-contact-error {
  padding: 1rem 1.15rem;
  background: #fdecea;
  border-left: 3px solid #c0392b;
  color: #0a2744;
  margin-top: 1rem;
  border-radius: 0 10px 10px 0;
  font-family: var(--mhe-font);
}
.mhe-contact-error[hidden] { display: none !important; }
.mhe-contact-form .mhe-btn-group {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.elementor-widget-mhe_contact_tabs .mhe-contact-form .mhe-btn--primary,
.mhe-widget--contact .mhe-contact-form .mhe-btn--primary {
  background-color: #0a2744;
  border-color: #0a2744;
  color: #fff;
  font-family: var(--mhe-font);
}
.elementor-widget-mhe_contact_tabs .mhe-contact-form .mhe-btn--primary:hover,
.mhe-widget--contact .mhe-contact-form .mhe-btn--primary:hover {
  background-color: #0e6b6e;
  border-color: #0e6b6e;
  color: #fff;
}
.mhe-contact-form .mhe-btn:disabled { opacity: .65; cursor: wait; }

@media (max-width: 900px) {
  .mhe-contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 720px) {
  .mhe-contact-grid { grid-template-columns: 1fr; }
  .mhe-contact-tabs {
    flex-direction: column;
    border-bottom: none;
    gap: .5rem;
    margin-bottom: 1.25rem;
  }
  .mhe-contact-tab {
    flex: 1 1 auto;
    width: 100%;
    min-height: 48px;
    margin-bottom: 0;
    padding: .9rem 1rem;
    font-size: .875rem;
    border: 1.5px solid #e8eef3;
    border-radius: 10px;
    background: #f7f9fb;
    color: #6b7c8a;
  }
  .mhe-contact-tab.is-active {
    background: #fff;
    color: #0a2744;
    border-color: #0e6b6e;
    border-bottom-color: #0e6b6e;
    box-shadow: 0 0 0 1px #0e6b6e;
  }
  .mhe-contact-form .mhe-btn--primary {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .mhe-contact-layout { gap: 1.5rem; }
  .mhe-contact-page-intro__title,
  .mhe-contact-intro__title { font-size: clamp(1.35rem, 6vw, 1.65rem); }
}

/* Contain full-bleed bands without breaking theme layout */
.mhe-single-program,
.mhe-single-university,
.mhe-archive-programs,
.mhe-widget--has-hero,
.mhe-widget--testimonials,
.elementor-widget-mhe_single_program,
.elementor-widget-mhe_single_university,
.elementor-widget-mhe_programs_grid,
.elementor-widget-mhe_universities_grid,
.elementor-widget-mhe_universities_showcase,
.elementor-widget-mhe_contact_tabs {
  overflow-x: clip;
  max-width: 100%;
}

/* ——— Apply form ——— */
.mhe-widget--apply {
  --mhe-navy: #0a2744;
  --mhe-teal: #0e6b6e;
  font-family: Figtree, 'Segoe UI', sans-serif;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: #3d4f5f;
}
.mhe-apply-intro { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.mhe-apply-intro__title {
  font-family: Newsreader, Georgia, serif;
  color: #0a2744;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 .65rem;
  line-height: 1.2;
}
.mhe-apply-intro .mhe-eyebrow { color: #0e6b6e; }
.mhe-apply-intro .mhe-lead {
  color: #3d4f5f; line-height: 1.65; margin: .65rem 0 0; max-width: 42rem;
}
.mhe-apply-form { position: relative; max-width: 52rem; }
.mhe-apply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.mhe-apply-consent__label {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .9rem;
  line-height: 1.55;
  color: #3d4f5f;
  font-weight: 500;
  cursor: pointer;
}
.mhe-apply-consent__label input {
  margin-top: .2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #0e6b6e;
}
.mhe-apply-consent__label a { color: #0e6b6e; }
.mhe-apply-thanks {
  padding: 1.5rem 1.35rem;
  background: #e8f6ee;
  border-left: 3px solid #1a7a4c;
  border-radius: 0 10px 10px 0;
  color: #0a2744;
  max-width: 40rem;
}
.mhe-apply-thanks h3 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  margin: 0 0 .5rem;
}
.mhe-apply-thanks[hidden],
.mhe-apply-form[hidden] { display: none !important; }
.mhe-widget--apply .mhe-btn--primary {
  background-color: #0a2744;
  border-color: #0a2744;
  color: #fff;
  font-family: Figtree, 'Segoe UI', sans-serif;
}
.mhe-widget--apply .mhe-btn--primary:hover {
  background-color: #0e6b6e;
  border-color: #0e6b6e;
}
.mhe-widget--apply input[type="file"] {
  padding: .55rem .75rem;
  border: 1.5px dashed #e8eef3;
  border-radius: 10px;
  background: #f7f9fb;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 720px) {
  .mhe-apply-grid { grid-template-columns: 1fr; }
  .mhe-widget--apply .mhe-btn--primary { width: 100%; }
}
