/* Muzelle Language Programmes — refined pricing and enrollment presentation, v2.
 * Scoped to the existing [mz_language_programs] and [mz_language_enrollment] page wrappers.
 * Palette uses the live ExpertLearner brand tokens, never the reference site's colors.
 */
body.page .mz-lp {
  --mzlp-cream:var(--el-ivory,#F5F0E8);
  --mzlp-forest:var(--el-deep-green,#17663E);
  --mzlp-dark:var(--el-navy,#182630);
  --mzlp-ink:var(--el-ink,#2B3A45);
  --mzlp-muted:var(--el-slate,#5C6B73);
  --mzlp-gold:var(--el-gold,#B58A52);
  --mzlp-line:var(--el-border,#D1D9D2);
  max-width:1200px;
  margin:0 auto clamp(36px,6vw,68px);
  color:var(--mzlp-ink);
}
body.page .mz-lp .mz-lp-hero {
  margin-bottom:34px;
  padding:clamp(28px,4.5vw,58px);
  border:1px solid rgba(234,244,234,.13);
  border-radius:22px;
  background:radial-gradient(ellipse at 90% 0%,rgba(211,227,192,.13) 0%,transparent 49%),
             linear-gradient(127deg,#143825 0%,#1e5631 58%,#305b44 100%);
  box-shadow:0 16px 32px rgba(27,62,42,.13);
}
body.page .mz-lp .mz-lp-hero .mz-lp-kicker {
  color:#e5d4ab;
  letter-spacing:.18em;
  margin-bottom:16px;
  font-size:.76rem;
}
body.page .mz-lp .mz-lp-hero h2 {
  font-family:var(--el-serif,Georgia,serif);
  font-size:clamp(2rem,4vw,3.1rem);
  font-weight:650;
  max-width:790px;
  line-height:1.12;
}
body.page .mz-lp .mz-lp-hero p:not(.mz-lp-kicker) {
  color:#e9f1e9;
  max-width:760px;
  line-height:1.75;
}
body.page .mz-lp-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:20px;
  margin:30px 0 34px;
}
body.page .mz-lp-card {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:0;
  padding:0;
  border:1px solid #d6dfd6;
  border-radius:19px;
  overflow:hidden;
  background:#fffefb;
  box-shadow:0 7px 23px rgba(24,38,48,.045),0 2px 5px rgba(24,38,48,.025);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
body.page .mz-lp-card:before {
  content:"";
  height:4px;
  background:linear-gradient(90deg,#456a50,var(--mzlp-forest));
  position:absolute;
  inset:0 0 auto 0;
  z-index:2;
}
body.page .mz-lp-card--intermediate {
  border:2px solid var(--mzlp-forest);
  background:#fff;
  box-shadow:0 10px 32px rgba(23,102,62,.10);
}
body.page .mz-lp-card--intermediate:before {
  background:linear-gradient(90deg,#a68551,#1d6640);
}
body.page .mz-lp-card--advanced:before {
  background:linear-gradient(90deg,#b58a52,#2a6148);
}
body.page .mz-lp-card:hover {
  transform:translateY(-4px);
  border-color:#83a18c;
  box-shadow:0 17px 42px rgba(20,60,42,.11);
}
body.page .mz-lp-card:focus-within {
  border-color:var(--mzlp-forest);
  box-shadow:0 0 0 2px rgba(23,102,62,.16),0 12px 28px rgba(20,60,42,.1);
}
body.page .mz-lp-card-heading {
  padding:30px 28px 16px;
  min-width:0;
}
body.page .mz-lp-card-index {
  margin:0 0 13px!important;
  color:#607769!important;
  font:800 .67rem/1.4 var(--el-sans,system-ui,sans-serif);
  letter-spacing:.16em;
  text-transform:uppercase;
}
body.page .mz-lp-card-index span {opacity:.45;margin:0 4px}
body.page .mz-lp-card h3 {
  font-family:var(--el-serif,Georgia,serif);
  font-size:clamp(1.8rem,2.6vw,2.15rem);
  line-height:1.14;
  letter-spacing:-.025em;
  color:var(--mzlp-dark);
  margin:0 0 10px;
}
body.page .mz-lp-card h3 span {
  display:block;
  margin-top:4px;
  font:650 .91rem/1.35 var(--el-sans,system-ui,sans-serif);
  letter-spacing:.005em;
  color:#3d5b49;
}
body.page .mz-lp-card .mz-lp-card-subtitle {
  margin:0;
  color:#64756b;
  font-size:.92rem;
  line-height:1.5;
}
body.page .mz-lp-card-accent {
  position:absolute;
  z-index:3;
  top:20px;
  right:16px;
  padding:5px 9px;
  background:#e8f2e8;
  border:1px solid #c7dccb;
  border-radius:999px;
  color:#1b653e;
  font:750 .65rem/1.2 var(--el-sans,system-ui,sans-serif);
  letter-spacing:.015em;
}
body.page .mz-lp-card-cost {
  padding:18px 28px 20px;
  background:linear-gradient(180deg,#fafbf7,#f5f8f2);
  border-top:1px solid #e5eae4;
  border-bottom:1px solid #e1e8e0;
}
body.page .mz-lp-card--intermediate .mz-lp-card-cost {background:#f1f7ed}
body.page .mz-lp-card-amount {display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
body.page .mz-lp-card-amount strong {
  color:var(--mzlp-dark);
  font:750 clamp(2rem,3vw,2.38rem)/1.12 var(--el-sans,system-ui,sans-serif);
  letter-spacing:-.045em;
}
body.page .mz-lp-card-amount span {
  color:#4e6658;
  font:750 .84rem/1.35 var(--el-sans,system-ui,sans-serif);
}
body.page .mz-lp-card-cost p {
  margin:9px 0 0;
  color:#6b7b70;
  font-size:.79rem;
}
body.page .mz-lp-card-benefits {
  flex:1 1 auto;
  padding:24px 28px 13px;
  display:flex;
  flex-direction:column;
}
body.page .mz-lp-card .mz-lp-card-caption {
  color:#344d3d;
  margin:0 0 16px;
  font:800 .74rem/1.4 var(--el-sans,system-ui,sans-serif);
  text-transform:uppercase;
  letter-spacing:.095em;
}
body.page .mz-lp-card .mz-lp-card-inheritance {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0 0 16px;
  padding:11px 12px;
  border:1px solid #d3e0d0;
  border-radius:9px;
  background:#f1f6ef;
  color:#225837;
  font-size:.86rem;
  line-height:1.45;
  font-weight:720;
}
body.page .mz-lp-inheritance-symbol {
  flex:0 0 21px;
  display:grid;
  place-items:center;
  height:21px;
  width:21px;
  border-radius:100%;
  background:#d6e9d9;
  color:var(--mzlp-forest);
  font-weight:800;
}
body.page .mz-lp-card ul.mz-lp-feature-list {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:14px;
  color:#35493e;
}
body.page .mz-lp-card .mz-lp-feature-list li {
  display:grid;
  grid-template-columns:20px minmax(0,1fr);
  align-items:start;
  gap:11px;
  margin:0;
  padding:0;
  font-size:.9rem;
  line-height:1.55;
}
body.page .mz-lp-check {
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border:1px solid #d1e4d5;
  border-radius:50%;
  background:#eaf3ec;
  color:var(--mzlp-forest);
  margin-top:2px;
}
body.page .mz-lp-check svg {display:block;max-width:15px}
body.page .mz-lp-card-footer {
  margin-top:auto;
  padding:19px 28px 26px;
}
body.page .mz-lp-card-group {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 18px;
  padding:13px 0;
  border-top:1px solid #e5ebe5;
  color:#416d50;
}
body.page .mz-lp-card-group svg {flex:0 0 19px;color:var(--mzlp-forest)}
body.page .mz-lp-card-group span {display:flex;flex-direction:column;gap:3px}
body.page .mz-lp-card-group strong {
  font:740 .85rem/1.3 var(--el-sans,system-ui,sans-serif);
  color:#315d3f;
}
body.page .mz-lp-card-group small {
  font-size:.73rem;
  line-height:1.35;
  color:#6f7f73;
}
body.page .mz-lp-card .mz-lp-card-cta {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  width:100%;
  min-height:50px;
  padding:13px 18px;
  border-radius:10px;
  border:1px solid var(--mzlp-forest);
  background:var(--mzlp-forest);
  color:white!important;
  text-decoration:none!important;
  font:740 .93rem/1.4 var(--el-sans,system-ui,sans-serif);
  box-shadow:0 2px 3px rgba(20,54,35,.04);
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}
body.page .mz-lp-card .mz-lp-card-cta svg {flex:0 0 auto}
body.page .mz-lp-card .mz-lp-card-cta:hover {
  background:var(--el-green-hover,#0f4d2d);
  color:#fff!important;
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(25,91,53,.16);
}
body.page .mz-lp-card--intermediate .mz-lp-card-cta {background:#174b30}
body.page .mz-lp-card .mz-lp-card-cta:focus-visible {
  outline:3px solid var(--el-info,#1159AF)!important;
  outline-offset:3px;
}
body.page .mz-lp .mz-lp-detail {
  display:flex;
  align-items:flex-start;
  gap:19px;
  padding:clamp(21px,3vw,29px);
  margin:14px 0 16px;
  background:#edf2e9;
  border:1px solid #d7e1d2;
  border-radius:15px;
  box-shadow:none;
}
body.page .mz-lp-detail-icon {
  flex:0 0 50px;
  display:grid;
  place-items:center;
  height:50px;
  border:1px solid #ccdecf;
  border-radius:13px;
  background:#f9fcf7;
  color:var(--mzlp-forest);
}
body.page .mz-lp .mz-lp-detail h3 {
  color:#203c2b;
  font-family:var(--el-serif,Georgia,serif);
  font-size:1.5rem;
  margin:0 0 8px;
}
body.page .mz-lp .mz-lp-detail p {margin:0 0 7px;font-size:.92rem;line-height:1.65;color:#455f4e}
body.page .mz-lp .mz-lp-detail .mz-lp-detail-secondary {font-size:.82rem;color:#627166;margin:0}
body.page .mz-lp-disclaimer {
  max-width:820px;
  margin:20px auto 0;
  color:#667568;
  font-size:.8rem;
  line-height:1.6;
  text-align:center;
}
/* Selected programme banner on the second enrollment page. */
body.page .mz-lp .mz-lp-selection--programme {
  padding:25px clamp(21px,3.5vw,36px);
  border:1px solid #cfdfcf;
  border-radius:16px;
  background:linear-gradient(110deg,#edf5eb 0%,#f5f8f1 100%);
  box-shadow:0 5px 20px rgba(27,63,40,.035);
  margin:0 0 25px;
}
body.page .mz-lp-selection-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-bottom:13px;
  border-bottom:1px solid #d5e3d5;
}
body.page .mz-lp .mz-lp-selection-kicker {
  margin:0;
  color:#447353;
  font:800 .69rem/1.5 var(--el-sans,system-ui,sans-serif);
  letter-spacing:.13em;
  text-transform:uppercase;
}
body.page .mz-lp .mz-lp-selection-change {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--mzlp-forest);
  font:750 .8rem/1.4 var(--el-sans,system-ui,sans-serif);
  text-decoration:none;
  white-space:nowrap;
}
body.page .mz-lp .mz-lp-selection-change:hover {text-decoration:underline}
body.page .mz-lp-selection-body {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  padding-top:18px;
}
body.page .mz-lp-selection-description {flex:1;min-width:0}
body.page .mz-lp-selection-description h3 {
  margin:0 0 7px;
  color:var(--mzlp-dark);
  font:650 clamp(1.45rem,2.6vw,1.85rem)/1.25 var(--el-serif,Georgia,serif);
}
body.page .mz-lp-selection-description p {
  margin:0;
  color:#526b5a;
  max-width:550px;
  font-size:.91rem;
  line-height:1.6;
}
body.page .mz-lp-selection-cost {
  flex:0 0 auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:baseline;
  gap:6px;
  padding:15px 19px;
  border:1px solid #d0e1ce;
  border-radius:12px;
  background:#fffefc;
  color:#1a5733;
}
body.page .mz-lp-selection-cost strong {
  font:800 1.53rem/1.25 var(--el-sans,system-ui,sans-serif);
  letter-spacing:-.04em;
}
body.page .mz-lp-selection-cost span {font-weight:750;font-size:.79rem}
body.page .mz-lp-selection-cost small {
  flex:0 0 100%;
  text-align:center;
  color:#627b69;
  font-size:.7rem;
}
/* Form styling: same fields and submission logic, more readable and cohesive. */
body.page .mz-lp .mz-lp-form {
  max-width:820px;
  padding:clamp(25px,4vw,42px);
  border:1px solid #dbe4da;
  border-radius:18px;
  background:#fffefc;
  box-shadow:0 7px 30px rgba(24,38,48,.035);
}
body.page .mz-lp-form label,body.page .mz-lp-form legend {color:var(--mzlp-dark)}
body.page .mz-lp-form select,
body.page .mz-lp-form input:not([type=radio]):not([type=hidden]),
body.page .mz-lp-form textarea {
  border:1px solid #b4c5b7;
  border-radius:10px;
  min-height:49px;
  background:#fff;
}
body.page .mz-lp-form select:focus-visible,
body.page .mz-lp-form input:focus-visible,
body.page .mz-lp-form textarea:focus-visible {outline:3px solid #bdd4bf!important;outline-offset:2px}
body.page .mz-lp-form fieldset {margin:23px 0}
body.page .mz-lp .mz-lp-radio {
  display:flex!important;
  align-items:center;
  min-height:50px;
  gap:13px;
  padding:12px 15px;
  margin:9px 0!important;
  border:1px solid #d6e0d6;
  border-radius:10px;
  background:#fff;
  color:var(--mzlp-ink);
  cursor:pointer;
  transition:border-color .16s,background .16s;
}
body.page .mz-lp .mz-lp-radio:has(input:checked) {
  border-color:#78a58c;
  background:#f0f7f0;
  color:#1c5837;
}
body.page .mz-lp-radio input[type=radio] {
  accent-color:var(--mzlp-forest);
  flex:0 0 17px;
  width:17px;
  height:17px;
  margin:0;
}
body.page .mz-lp-form #mz-lp-submit {
  margin-top:12px;
  min-height:50px;
  padding-inline:23px;
  border-radius:10px;
  background:var(--mzlp-forest);
  color:#fff;
  font-weight:750;
  box-shadow:none;
}
body.page .mz-lp-form #mz-lp-submit:hover {background:var(--el-green-hover,#0F4D2D)}
@media(max-width:1070px) {
  body.page .mz-lp-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.page .mz-lp-card--advanced {grid-column:1/-1;max-width:550px;width:100%;justify-self:center}
}
@media(max-width:850px) {
  body.page .mz-lp-grid {grid-template-columns:minmax(0,1fr);gap:19px}
  body.page .mz-lp-card--advanced {grid-column:auto;max-width:none}
  body.page .mz-lp-card {max-width:610px;width:100%;justify-self:center}
}
@media(max-width:600px) {
  body.page .mz-lp .mz-lp-hero {padding:29px 23px;border-radius:16px}
  body.page .mz-lp-card-heading {padding:27px 24px 17px}
  body.page .mz-lp-card-cost {padding:19px 24px}
  body.page .mz-lp-card-benefits {padding:24px 24px 12px}
  body.page .mz-lp-card-footer {padding:19px 24px 24px}
  body.page .mz-lp .mz-lp-detail {display:block}
  body.page .mz-lp-detail-icon {margin:0 0 13px}
  body.page .mz-lp-selection-body {align-items:stretch;flex-direction:column;gap:15px}
  body.page .mz-lp-selection-cost {align-self:flex-start}
  body.page .mz-lp-selection-header {align-items:flex-start;flex-wrap:wrap}
  body.page .mz-lp .mz-lp-form {padding:22px}
  body.page .mz-lp-form #mz-lp-submit {width:100%}
}
/* 2026-11-12: pricing page width correction — the default .el-prose 760px cap
 * was forcing 3 premium pricing cards into very narrow, excessively tall columns.
 * Restrict these overrides to page 813; enrollment page 814 is unchanged. */
body.page-id-813 .el-page-content.el-prose {
  width:100%;
  max-width:100%;
}
body.page-id-813 .mz-lp {
  width:100%;
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
}
body.page-id-813 .mz-lp-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  column-gap:22px;
  row-gap:22px;
}
body.page-id-813 .mz-lp-card-heading {
  padding:25px 25px 13px;
}
body.page-id-813 .mz-lp-card-index {
  margin-bottom:9px!important;
}
body.page-id-813 .mz-lp-card h3 {
  font-size:clamp(1.75rem,2.2vw,2rem);
  margin-bottom:7px;
}
body.page-id-813 .mz-lp-card-cost {
  padding:15px 25px 17px;
}
body.page-id-813 .mz-lp-card-benefits {
  padding:20px 25px 9px;
}
body.page-id-813 .mz-lp-card .mz-lp-card-caption {
  margin-bottom:13px;
}
body.page-id-813 .mz-lp-card .mz-lp-card-inheritance {
  margin-bottom:12px;
  padding:10px 12px;
}
body.page-id-813 .mz-lp-card ul.mz-lp-feature-list {
  gap:10px;
}
body.page-id-813 .mz-lp-card .mz-lp-feature-list li {
  font-size:.89rem;
  line-height:1.47;
}
body.page-id-813 .mz-lp-card-footer {
  padding:13px 25px 22px;
}
body.page-id-813 .mz-lp-card-group {
  margin-bottom:13px;
  padding:12px 0;
}
body.page-id-813 .mz-lp-card .mz-lp-card-cta {
  min-height:48px;
}
/* Responsiveness is viewport-driven: cards retain readable widths on
 * medium screens and stack cleanly on phones. */
@media (max-width:1080px) {
  body.page-id-813 .mz-lp-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
  }
  body.page-id-813 .mz-lp-card--advanced {
    grid-column:1/-1;
    width:100%;
    max-width:570px;
    justify-self:center;
  }
}
@media (max-width:760px) {
  body.page-id-813 .mz-lp-grid {
    grid-template-columns:minmax(0,1fr);
    gap:18px;
  }
  body.page-id-813 .mz-lp-card,
  body.page-id-813 .mz-lp-card--advanced {
    grid-column:auto;
    max-width:610px;
    justify-self:center;
  }
}
@media (max-width:480px) {
  body.page-id-813 .mz-lp-card-heading {padding:24px 21px 13px}
  body.page-id-813 .mz-lp-card-cost {padding:16px 21px}
  body.page-id-813 .mz-lp-card-benefits {padding:20px 21px 9px}
  body.page-id-813 .mz-lp-card-footer {padding:13px 21px 21px}
}

@media(prefers-reduced-motion:reduce) {
  body.page .mz-lp-card,body.page .mz-lp .mz-lp-card-cta {transition:none}
  body.page .mz-lp-card:hover,body.page .mz-lp .mz-lp-card-cta:hover {transform:none}
}
