/* ============================================================
   Moxa Academy — full brand stylesheet  (v4 · 2026-09-22)
   Deterministic replacement: this file is the WHOLE custom CSS.
   Direction: Khan-Academy-calibre clarity — bright, friendly,
   icon-forward, crisp cards, warm plant identity.
   Palette: green #35624A · amber #C2571F · ink #212A24
            bg #FCFBF7 · card #FFFFFF · line #E9E5D8 · sub #64706A
   ============================================================ */

/* Load the display + UI faces the design specifies */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

/* ---- Typography ---- */
body,button,input,select,textarea,
.wp-block-post-content,.entry-content{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  line-height:1.7;
}
h1,h2,h3,h4,h5,h6,.site-title,.wp-block-post-title{
  font-family:'Fraunces','Inter',Georgia,'Times New Roman',serif;
  letter-spacing:-.01em;
  color:#212A24;
}

/* ---- Palette vars + defensive preset overrides ---- */
:root{
  --moxa-green:#35624A;
  --moxa-green-deep:#28513B;
  --moxa-green-soft:#E7EFE9;
  --moxa-amber:#C2571F;
  --moxa-amber-deep:#9E471A;
  --moxa-ink:#212A24;
  --moxa-sub:#64706A;
  --moxa-bg:#FCFBF7;
  --moxa-card:#FFFFFF;
  --moxa-border:#E9E5D8;
  --wp--preset--color--primary:#35624A;
  --wp--preset--color--secondary:#C2571F;
  --wp--preset--color--background:#FCFBF7;
  --wp--preset--color--foreground:#212A24;
  --wp--preset--color--tertiary:#64706A;
  --wp--preset--color--accent:#C2571F;
  --wp--preset--color--contrast:#212A24;
  --wp--preset--color--base:#FCFBF7;
  --wp--preset--color--accent-2:#28513B;
}
.wp-site-blocks{--wp--style--global--content-size:1120px;}
body{background-color:#FCFBF7;color:#212A24;}
a{color:#35624A;text-decoration-color:rgba(53,98,74,.35);}
a:hover{color:#28513B;}
.site-header,.site-header a,.site-title a,.site-description{color:#212A24;}
.entry-content,.entry-content p,.wp-block-post-content{color:#212A24;}

/* ---- Buttons ---- */
.wp-block-button__link,
.wp-block-button.is-style-fill .wp-block-button__link,
.button,.btn,button,input[type=submit],.wp-block-post-excerpt a{
  background-color:#C2571F !important;
  color:#FFFFFF !important;
  border-color:#C2571F !important;
  border-radius:9999px !important;
  padding:13px 28px !important;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 1px 2px rgba(33,42,36,.14);
  transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease;
}
.wp-block-button__link:hover,
.button:hover,button:hover,input[type=submit]:hover{
  background-color:#9E471A !important;
  color:#FFFFFF !important;
  transform:translateY(-1px);
  box-shadow:0 4px 10px rgba(33,42,36,.18);
}
.wp-block-button.is-style-outline .wp-block-button__link{
  background-color:transparent !important;
  color:#35624A !important;
  border:1.5px solid #35624A !important;
  box-shadow:none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover{
  background-color:#35624A !important;
  color:#FFFFFF !important;
}
.wp-block-button.is-style-default .wp-block-button__link,
.course-entry .button,
.lesson-entry .button{
  background-color:#C2571F !important;color:#FFFFFF !important;
}
.moxa-cta .wp-block-button.is-style-fill .wp-block-button__link{
  background-color:#FFFFFF !important;color:#28513B !important;
}
.moxa-cta .wp-block-button.is-style-fill .wp-block-button__link:hover{
  background-color:#E7EFE9 !important;color:#1F4433 !important;
}
.moxa-cta .wp-block-button.is-style-outline .wp-block-button__link{
  color:#FFFFFF !important;border-color:#FFFFFF !important;
}
.moxa-cta .wp-block-button.is-style-outline .wp-block-button__link:hover{
  background:#FFFFFF !important;color:#35624A !important;
}

/* ---- Surfaces ---- */
.wp-block-group.has-background,.wp-block-column.has-background,.card{
  background-color:#FFFFFF;border-color:#E9E5D8;
}
.menu a,.nav a,.wp-block-navigation-item__content a{color:#212A24;}
.menu a:hover,.wp-block-navigation-item__content a:hover{color:#35624A;}

/* ---- Sensei LMS accents ---- */
.sensei-course-theme__header,.sensei-course-theme__footer{background-color:#FCFBF7;}
.sensei-breadcrumb a,.sensei-course-theme a{color:#35624A;}

/* ============================================================
   SECTION SYSTEM
   ============================================================ */
.moxa-hero{
  background:
    radial-gradient(1200px 500px at 50% -200px,#E7EFE9 0%,rgba(231,239,233,0) 60%),
    linear-gradient(180deg,#FCFBF7 0%,#F5F3EC 100%);
  text-align:center;
  border-bottom:1px solid #E9E5D8;
  position:relative;
  overflow:hidden;
}
.moxa-hero h1{
  font-size:clamp(32px,5.4vw,52px);
  margin:0 0 18px;
  color:#212A24;
  line-height:1.1;
  letter-spacing:-.02em;
}
.moxa-hero h1 em,.moxa-hero h1 .warm{
  font-style:italic;color:#C2571F;
}
.moxa-hero .lead{
  max-width:680px;margin:0 auto 28px;font-size:19px;color:#64706A;line-height:1.7;
}
.moxa-hero .wp-block-buttons{justify-content:center;margin-bottom:26px;}

.moxa-section{padding:72px 0;}
.moxa-section-alt{background:#F5F3EC;}
.moxa-section h2{text-align:center;color:#212A24;margin-bottom:8px;font-size:clamp(26px,3.4vw,36px);}
.moxa-section .lead{text-align:center;color:#64706A;max-width:640px;margin:0 auto 36px;font-size:17px;}
.moxa-section h3{color:#35624A;}

.moxa-cta{
  background:linear-gradient(160deg,#28513B 0%,#35624A 100%);
  color:#FFFFFF;text-align:center;
}
.moxa-cta h2{color:#FFFFFF;}
.moxa-cta p,.moxa-cta .lead{color:#DFE9E0;}
.moxa-cta .moxa-note{color:#C3D2C6;}

.moxa-note{font-size:14px;color:#64706A;font-style:italic;max-width:680px;margin:18px auto 0;text-align:center;line-height:1.6;}
.lead{font-size:18px;color:#64706A;line-height:1.7;}

/* Eyebrow — small caps section label */
.moxa-eyebrow{
  display:inline-block;
  font-family:'Inter',-apple-system,sans-serif;
  font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:#C2571F;
  margin:0 0 14px;
}

/* ============================================================
   HERO TOPIC CHIPS — playful "what's inside" strip
   ============================================================ */
.moxa-topics{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:760px;margin:0 auto;}
.moxa-topics .chip{
  display:inline-flex;align-items:center;gap:8px;
  background:#FFFFFF;border:1px solid #E9E5D8;border-radius:9999px;
  padding:8px 16px;font-size:14px;font-weight:600;color:#35624A;
  box-shadow:0 1px 2px rgba(33,42,36,.05);
}
.moxa-topics a.chip{text-decoration:none;min-height:40px;}
.moxa-topics a.chip:hover{
  border-color:#35624A;color:#28513B;background:#E7EFE9;
  transform:translateY(-1px);box-shadow:0 4px 10px rgba(33,42,36,.1);
}

/* ============================================================
   STAT / PROOF BAR
   ============================================================ */
.moxa-stats{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;max-width:1120px;margin:0 auto;padding:8px 0;
}
.moxa-stat{
  text-align:center;background:#FFFFFF;border:1px solid #E9E5D8;
  border-radius:16px;padding:22px 12px;margin:0;
  box-shadow:0 1px 2px rgba(33,42,36,.04);
}
.moxa-stat b{
  display:block;font-family:'Fraunces',Georgia,serif;
  font-size:36px;font-weight:700;color:#35624A;letter-spacing:-.02em;line-height:1.05;
}
.moxa-stat span{font-size:14px;color:#64706A;}
@media(max-width:720px){.moxa-stats{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* ============================================================
   COURSE CARD GRID — the icon-forward discovery layer
   (Khan "Explore our content" equivalent)
   ============================================================ */
.moxa-course-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;max-width:1120px;margin:0 auto;
}
.moxa-course-card{
  display:flex;flex-direction:column;gap:0;text-decoration:none;
  background:#FFFFFF;border:1px solid #E9E5D8;border-radius:18px;
  padding:24px 22px;color:#212A24;
  box-shadow:0 1px 2px rgba(33,42,36,.05);
  transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease;
  position:relative;
}
.moxa-course-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(33,42,36,.12);
  border-color:#D7D2C2;
  text-decoration:none;
}
.moxa-course-card__icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:14px;font-size:27px;
  margin-bottom:16px;line-height:1;
}
.moxa-course-card__stage{
  font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:#9AA39C;margin-bottom:5px;
}
.moxa-course-card__name{
  font-family:'Fraunces',Georgia,serif;font-size:20px;font-weight:600;
  color:#212A24;line-height:1.2;margin-bottom:7px;
}
.moxa-course-card__tag{font-size:14px;color:#64706A;line-height:1.5;margin-bottom:14px;}
.moxa-course-card__go{
  margin-top:auto;font-size:14px;font-weight:700;color:#35624A;
  display:inline-flex;align-items:center;gap:5px;
}
.moxa-course-card:hover .moxa-course-card__go{color:#C2571F;}
.moxa-course-card__go .arr{transition:transform .14s ease;}
.moxa-course-card:hover .moxa-course-card__go .arr{transform:translateX(3px);}

@media(max-width:960px){.moxa-course-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.moxa-course-grid{grid-template-columns:1fr;}}

/* ============================================================
   HOW IT WORKS — numbered steps
   ============================================================ */
.moxa-steps{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;max-width:1120px;margin:0 auto;
}
.moxa-steps > *,
.moxa-step{
  background:#FFFFFF;border:1px solid #E9E5D8;border-radius:18px;
  padding:26px 24px;box-shadow:0 1px 2px rgba(33,42,36,.05);
}
.moxa-step__num{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:9999px;
  background:#E7EFE9;color:#28513B;font-weight:700;font-size:16px;
  margin-bottom:14px;
}
.moxa-step__emoji{font-size:22px;margin-bottom:10px;display:block;}
.moxa-step h3{margin:0 0 8px;font-size:20px;color:#212A24;}
.moxa-step p{font-size:15px;color:#64706A;margin:0;}
@media(max-width:860px){.moxa-steps{grid-template-columns:1fr;}}

/* ============================================================
   PERSONA / PATH CHIPS (Academy "choose your path")
   ============================================================ */
.moxa-path-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;max-width:1120px;margin:0 auto;
}
.moxa-path{
  display:flex;flex-direction:column;text-decoration:none;gap:4px;
  background:#FFFFFF;border:1px solid #E9E5D8;border-radius:16px;
  padding:18px 16px;color:#212A24;
  transition:transform .12s ease,box-shadow .12s ease;
}
.moxa-path:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(33,42,36,.1);text-decoration:none;}
.moxa-path__emoji{font-size:24px;line-height:1;margin-bottom:6px;}
.moxa-path__name{font-weight:700;font-size:15px;color:#212A24;line-height:1.3;}
.moxa-path__desc{font-size:13px;color:#64706A;line-height:1.45;}
@media(max-width:960px){.moxa-path-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.moxa-path-grid{grid-template-columns:1fr;}}

/* ============================================================
   STAGE LADDER (Academy "all courses by stage")
   ============================================================ */
.moxa-stage{margin-bottom:12px;}
.moxa-stage-head{
  display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;
  padding:0 0 14px;margin:0 0 18px;border-bottom:1px solid #E9E5D8;
}
.moxa-stage-title{
  font-family:'Fraunces',Georgia,serif;font-size:24px;line-height:1.2;
  color:#212A24;margin:0 !important;letter-spacing:-.01em;
}
.moxa-stage-desc{color:#64706A;font-size:15px;line-height:1.6;margin:0 !important;}
.moxa-stage .moxa-course-grid{margin-top:4px;}

/* ============================================================
   DARK CHAPTER — "we curate, not invent" trust section
   ============================================================ */
.moxa-dark{
  background:#1E2521 !important;
  color:#EDE9DF;
  padding:76px 0;
}
.moxa-dark .moxa-eyebrow{color:#D9B98C;}
.moxa-dark h2,.moxa-dark h3,.moxa-dark .wp-block-heading{color:#F4F1EA !important;}
.moxa-dark p,.moxa-dark li{color:#B4BCB5;}
.moxa-dark a{color:#D9B98C;}

/* ============================================================
   NOTE / COMPLIANCE / CALLOUT / PROSE
   ============================================================ */
.moxa-compliance{
  background:#FFFFFF;
  border:1px solid #E9E5D8;
  border-left:4px solid #C2571F;
  border-radius:12px;
  padding:18px 22px;
  color:#212A24;font-size:15px;line-height:1.65;
  margin:24px auto;max-width:820px;
}
.moxa-compliance strong{color:#35624A;}
.moxa-callout{background:#35624A;color:#FFFFFF;border-radius:16px;padding:28px 26px;text-align:center;}
.moxa-callout h2{color:#FFFFFF;margin-top:0;}
.moxa-callout p,.moxa-callout .moxa-note{color:#DFE9E0;}

.moxa-callout-trust{
  background:#FBF0E2 !important;
  border:1px solid rgba(194,87,31,.22) !important;
  border-left:3px solid #C2571F !important;
  border-radius:12px;
  padding:24px 28px;
}
.moxa-callout-trust p,.moxa-callout-trust li{color:#5C4A38 !important;font-size:15.5px;}

.moxa-faq .wp-block-details{border-bottom:1px solid #E9E5D8;padding:12px 0;}
.moxa-faq summary{font-weight:600;color:#212A24;cursor:pointer;}
.moxa-faq p{color:#64706A;}

.wp-block-group.moxa-prose,.moxa-prose{max-width:min(720px,68ch) !important;margin-left:auto !important;margin-right:auto !important;padding-bottom:56px;}
.moxa-prose p{line-height:1.8;color:#212A24;margin-bottom:18px;}
.moxa-prose h2{color:#35624A;margin-top:36px;margin-bottom:10px;font-size:26px;}
.moxa-prose h3{color:#212A24;margin-top:26px;margin-bottom:8px;font-size:20px;}
.moxa-prose ul,.moxa-prose ol{padding-left:22px;color:#212A24;}
.moxa-prose li{margin-bottom:8px;line-height:1.7;}
.moxa-prose a{text-decoration:underline;}

/* Embedded guide frame */
.moxa-nine-gates iframe,.wp-block-html iframe{
  display:block;width:100%;border:0;border-radius:0;background:#0E0D0C;
}

/* ============================================================
   FORMS (Jetpack contact form on /feedback/)
   ============================================================ */
.jetpack-contact-form-container{
  display:block !important;max-width:640px !important;width:100% !important;
  margin-left:auto !important;margin-right:auto !important;
}
.jetpack-contact-form__form{display:block !important;width:100% !important;max-width:100% !important;flex:none !important;}
.jetpack-contact-form__form .grunion-field-wrap{display:block !important;width:100% !important;max-width:100% !important;}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form input[type="tel"],
.contact-form textarea,
.jetpack-contact-form__form input[type="text"],
.jetpack-contact-form__form input[type="email"],
.jetpack-contact-form__form input[type="url"],
.jetpack-contact-form__form input[type="tel"],
.jetpack-contact-form__form textarea,
.wp-block-jetpack-contact-form input[type="text"],
.wp-block-jetpack-contact-form input[type="email"],
.wp-block-jetpack-contact-form input[type="url"],
.wp-block-jetpack-contact-form input[type="tel"],
.wp-block-jetpack-contact-form textarea{
  width:100% !important;max-width:100% !important;
  padding:13px 16px !important;border:1px solid #E9E5D8 !important;
  border-radius:12px !important;background:#fff !important;color:#212A24 !important;
  font-size:16px !important;line-height:1.5 !important;
  box-sizing:border-box !important;box-shadow:none !important;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus,
.jetpack-contact-form__form input[type="text"]:focus,
.jetpack-contact-form__form input[type="email"]:focus,
.jetpack-contact-form__form textarea:focus{
  outline:none !important;border-color:#35624A !important;
  box-shadow:0 0 0 3px rgba(53,98,74,.15) !important;
}
.contact-form label,
.jetpack-contact-form__form label,
.wp-block-jetpack-contact-form label{font-weight:600 !important;color:#212A24 !important;font-size:15px !important;}
.contact-form textarea,
.jetpack-contact-form__form textarea,
.wp-block-jetpack-contact-form textarea{min-height:180px !important;resize:vertical;}
.contact-form input[type="submit"],
.contact-form button[type="submit"],
.jetpack-contact-form__form input[type="submit"],
.jetpack-contact-form__form button[type="submit"],
.jetpack-contact-form__form .pushbutton-wide,
.wp-block-jetpack-contact-form input[type="submit"]{
  width:auto !important;min-width:0 !important;align-self:flex-start !important;
  background-color:#C2571F !important;color:#fff !important;border:0 !important;
  border-radius:9999px !important;padding:13px 30px !important;
  font-size:16px !important;font-weight:600 !important;cursor:pointer;
}
.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover,
.jetpack-contact-form__form input[type="submit"]:hover,
.jetpack-contact-form__form button[type="submit"]:hover,
.jetpack-contact-form__form .pushbutton-wide:hover{background-color:#9E471A !important;}
.contact-form .grunion-field-label span,
.jetpack-contact-form__form .grunion-field-label span{color:#C2571F !important;}

/* ============================================================
   COURSE LIST (Sensei) — keep functional + restyle to v4
   ============================================================ */
.wp-block-sensei-lms-course-list .wp-block-post-template{
  display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;margin:0 !important;list-style:none;
}
.wp-block-sensei-lms-course-list .wp-block-group.aligncenter{
  background:#fff !important;border:1px solid #E9E5D8 !important;
  border-radius:16px !important;padding:22px !important;margin:0 !important;
  display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(33,42,36,.05);
}
.wp-block-sensei-lms-course-list .wp-block-group.aligncenter .wp-block-columns{
  display:flex !important;flex-direction:column;gap:0;margin:0 !important;
}
.wp-block-sensei-lms-course-list .wp-block-group.aligncenter .wp-block-column{
  flex-basis:auto !important;width:auto !important;min-width:0;
}
.wp-block-sensei-lms-course-list .wp-block-sensei-lms-course-categories{margin-bottom:10px !important;}
.wp-block-sensei-lms-course-list .wp-block-sensei-lms-course-categories a{
  color:#35624A;font-size:12px;text-transform:uppercase;letter-spacing:.6px;font-weight:700;
  background:#E7EFE9;border-radius:9999px;padding:3px 11px;display:inline-block;text-decoration:none;
}
.wp-block-sensei-lms-course-list .wp-block-post-title,
.wp-block-sensei-lms-course-list .wp-block-post-title a{
  color:#212A24;font-family:'Fraunces',Georgia,serif;
  font-size:21px !important;line-height:1.3 !important;
}
.wp-block-sensei-lms-course-list .wp-block-post-title{margin:2px 0 10px !important;}
.wp-block-sensei-lms-course-list .wp-block-post-title a:hover{color:#35624A;}
.wp-block-sensei-lms-course-list .wp-block-post-excerpt{margin-bottom:12px !important;}
.wp-block-sensei-lms-course-list .wp-block-post-excerpt__excerpt{
  color:#64706A;font-size:15px;line-height:1.6;margin-bottom:0 !important;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.wp-block-sensei-lms-course-list .wp-block-post-author{display:none;}
.wp-block-sensei-lms-course-list [class*="course-overview"] a{
  color:#35624A;font-size:14px;font-weight:600;text-decoration:underline;
}
.wp-block-sensei-lms-course-list [class*="course-actions"]{margin-top:auto !important;padding-top:6px;}
.wp-block-sensei-lms-course-list .wp-block-sensei-button{text-align:left !important;}
.wp-block-sensei-lms-course-list .wp-block-sensei-button .wp-block-button__link{
  opacity:1 !important;background-color:#C2571F !important;color:#fff !important;border:0 !important;
  border-radius:9999px !important;padding:11px 24px !important;
  font-size:15px !important;font-weight:600 !important;cursor:pointer;
}
.wp-block-sensei-lms-course-list .wp-block-sensei-button .wp-block-button__link:hover{background-color:#9E471A !important;}
@media (max-width:820px){
  .wp-block-sensei-lms-course-list .wp-block-post-template{grid-template-columns:1fr !important;}
}

/* ============================================================
   HEADER / FOOTER
   ============================================================ */
.site-header,
header.wp-block-template-part{
  position:sticky !important;top:0 !important;z-index:9999 !important;
  background:rgba(252,251,247,.9) !important;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid #E9E5D8;
}
.wp-block-navigation-item__content{font-weight:500;}
.site-footer,.wp-block-template-part footer{background:#F5F3EC;color:#212A24;}
.site-footer a{color:#35624A;}

.entry-content > * + *{margin-top:0;}

/* ============================================================
   ACCESSIBILITY — ≥44px touch targets
   ============================================================ */
.wp-block-navigation-item__content,
.wp-block-navigation-item a,
.site-header .wp-block-navigation a,
.site-header a{
  min-height:44px !important;display:inline-flex !important;align-items:center !important;
}
.wp-block-sensei-lms-course-list a,
.sensei-course-list a,
.wp-block-sensei-lms-course-list li a{
  min-height:44px !important;display:inline-flex !important;align-items:center !important;
}
.site-footer a,
.site-footer .wp-block-navigation-item__content,
footer .wp-block-navigation a,
footer.wp-block-template-part a{
  min-height:44px !important;display:inline-flex !important;align-items:center !important;
}
.moxa-rung a{
  min-height:44px !important;display:inline-flex !important;align-items:center !important;
  padding:0 6px !important;border-radius:8px;
}

/* ============================================================
   LEGACY — two "door" cards + rung ladder (Nine Gates page still
   uses .moxa-rung; keep both styled to v4)
   ============================================================ */
.moxa-door{background:#FFFFFF;border:1px solid #E9E5D8;border-radius:16px;padding:28px 24px;height:100%;box-shadow:0 1px 2px rgba(33,42,36,.05);}
.moxa-door h2{margin-top:0;font-size:24px;color:#35624A;}
.moxa-door p{color:#212A24;margin:8px 0 18px;}
.moxa-door .wp-block-buttons{justify-content:center;}

.moxa-twoup > .wp-block-columns,
.moxa-twoup .wp-block-columns{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;margin-bottom:0;}
.moxa-twoup .wp-block-column{flex:0 0 auto !important;flex-basis:auto !important;width:auto !important;min-width:0;
  background:#FFFFFF;border:1px solid #E9E5D8;border-radius:16px;padding:26px 24px;}
.moxa-twoup h2{color:#35624A;margin-top:0;font-size:22px;}
.moxa-twoup p{color:#212A24;}

.wp-block-columns.moxa-duo{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;max-width:1120px;margin-left:auto;margin-right:auto;}
.wp-block-columns.moxa-duo > .wp-block-column{flex:0 0 auto !important;flex-basis:auto !important;width:auto !important;min-width:0;}

.moxa-rung{
  display:grid;grid-template-columns:170px 1fr;gap:16px;align-items:start;
  padding:20px 0;border-bottom:1px solid #E9E5D8;
}
.moxa-rung:last-child{border-bottom:none;}
.moxa-rung__stage{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#9AA39C;}
.moxa-rung__name{font-family:'Fraunces',Georgia,serif;font-size:19px;font-weight:600;color:#212A24;}
.moxa-rung__desc{font-size:14.5px;color:#64706A;}
@media(max-width:860px){.moxa-rung{grid-template-columns:1fr;}}

@media (max-width:900px){.moxa-twoup > .wp-block-columns,.moxa-twoup .wp-block-columns{grid-template-columns:1fr;}.wp-block-columns.moxa-duo{grid-template-columns:1fr;}}

/* ============================================================
   LESSON GOAL — sage left-rule (Khan lesson-goal)
   ============================================================ */
.lesson-goal{
  border-left:3px solid #35624A;
  background:#E7EFE9;
  padding:14px 18px;
  border-radius:8px;
  font-size:16px;
  margin:16px 0;
}

/* ============================================================
   CONTENT PAGES — chapter cards / contrast / summary
   (de-"wall-of-text" treatment for Story / About / legal pages)
   ============================================================ */

/* Chapter cards (The Mugwort Story) */
.moxa-chapters{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;max-width:1120px;margin:0 auto;
}
.moxa-chapter{
  background:#FFFFFF;border:1px solid #E9E5D8;border-radius:18px;
  padding:28px 26px;box-shadow:0 1px 2px rgba(33,42,36,.05);
}
.moxa-chapter__head{display:flex;align-items:center;gap:12px;margin-bottom:12px;}
.moxa-chapter__emoji{
  display:inline-flex;align-items:center;justify-content:center;
  width:48px;height:48px;border-radius:13px;font-size:25px;background:#E7EFE9;flex:0 0 auto;
}
.moxa-chapter h2{margin:0;font-size:22px;color:#212A24;line-height:1.2;}
.moxa-chapter p{color:#4A544E;font-size:15.5px;line-height:1.7;margin:0 0 10px;}
.moxa-chapter p:last-child{margin-bottom:0;}
@media(max-width:820px){.moxa-chapters{grid-template-columns:1fr;}}

/* Contrast cards (About — what we are / are not) */
.moxa-contrast{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1120px;margin:0 auto;}
.moxa-contrast-card{
  background:#FFFFFF;border:1px solid #E9E5D8;border-radius:18px;
  padding:28px 26px;border-top:4px solid;box-shadow:0 1px 2px rgba(33,42,36,.05);
}
.moxa-contrast-card--yes{border-top-color:#35624A;}
.moxa-contrast-card--no{border-top-color:#C2571F;}
.moxa-contrast-card h3{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:21px;color:#212A24;}
.moxa-contrast-card p{color:#4A544E;font-size:15.5px;line-height:1.7;margin:0;}
.moxa-contrast-card p + p{margin-top:10px;}
@media(max-width:820px){.moxa-contrast{grid-template-columns:1fr;}}

/* At-a-glance summary card (Privacy / Terms) */
.moxa-summary{
  background:#E7EFE9;border:1px solid #D4E0D6;border-left:4px solid #35624A;
  border-radius:14px;padding:22px 26px;max-width:820px;margin:0 auto 30px;
}
.moxa-summary h2{margin:0 0 10px;font-size:18px;color:#28513B;}
.moxa-summary ul{margin:0;padding-left:20px;color:#3D4A42;}
.moxa-summary li{margin-bottom:6px;line-height:1.6;}

/* Prose-on-card wrapper (legal pages) — white card around prose */
.moxa-prose-card{
  max-width:820px !important;margin:0 auto 40px !important;
  background:#FFFFFF;border:1px solid #E9E5D8;border-radius:18px;
  padding:32px 34px;box-shadow:0 1px 2px rgba(33,42,36,.05);
}
.moxa-prose-card .moxa-prose{max-width:none !important;padding-bottom:0 !important;}

/* Emoji header bullets inside prose/legal pages */
.moxa-prose h2,.moxa-prose-card h2{display:flex;align-items:center;gap:10px;}
.moxa-prose h2 .h2emoji,.moxa-prose-card h2 .h2emoji{font-size:1.1em;line-height:1;}

/* ============================================================
   LESSON "NEXT UP" — progression link at the end of every lesson
   (Khan "up next" equivalent)
   ============================================================ */
.lesson-next{
  display:flex;flex-direction:column;gap:6px;
  background:#E7EFE9;border:1px solid #D4E0D6;border-left:3px solid #35624A;
  border-radius:12px;padding:18px 22px;margin:28px 0 0;
}
.lesson-next__label{
  font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#28513B;
}
.lesson-next a{
  font-family:'Fraunces',Georgia,serif;font-size:19px;font-weight:600;
  color:#35624A;text-decoration:none;line-height:1.3;
}
.lesson-next a:hover{color:#C2571F;}
.lesson-next a .arr{display:inline-block;transition:transform .14s ease;}
.lesson-next a:hover .arr{transform:translateX(3px);}
.lesson-next--course{background:#FBF0E2;border-color:#EBDCC3;border-left-color:#C2571F;}
.lesson-next--course .lesson-next__label{color:#9E471A;}
.lesson-next--course a{color:#8E4B12;}

/* ---- LESSON "PREVIOUS / NEXT UP" — two-way progression ---- */
.lesson-nav{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:28px 0 0;
}
.lesson-nav__side{
  display:flex;flex-direction:column;gap:6px;border-radius:12px;padding:16px 20px;
}
.lesson-nav__prev{
  background:#F3F0E9;border:1px solid #E9E5D8;border-left:3px solid #B9B4A6;text-align:left;
}
.lesson-nav__next{
  background:#E7EFE9;border:1px solid #D4E0D6;border-left:3px solid #35624A;text-align:right;
}
.lesson-nav__label{
  font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
}
.lesson-nav__prev .lesson-nav__label{color:#6B675D;}
.lesson-nav__next .lesson-nav__label{color:#28513B;}
.lesson-nav__side a{
  display:block;padding:6px 0;font-family:'Fraunces',Georgia,serif;font-size:17px;font-weight:600;
  color:#35624A;text-decoration:none;line-height:1.35;
}
.lesson-nav__prev a{color:#5A5547;}
.lesson-nav__side a:hover{color:#C2571F;}
.lesson-nav__side a .arr{display:inline-block;transition:transform .14s ease;}
.lesson-nav__next a:hover .arr{transform:translateX(3px);}
.lesson-nav__prev a:hover .arr{transform:translateX(-3px);}
@media (max-width:600px){
  .lesson-nav{grid-template-columns:1fr;}
  .lesson-nav__next{text-align:left;}
}

/* ---- Sensei account chrome: show progress / complete ONLY to logged-in learners
       (visitors read freely; members see their own progress) ---- */
body:not(.logged-in) .sensei-course-theme-course-progress,
body:not(.logged-in) .sensei-course-theme-course-progress-bar,
body:not(.logged-in) .sensei-lesson-footer{display:none !important;}

/* ============================================================
   LESSON "QUICK CHECK" — self-test (reveal-answer), no login
   ============================================================ */
.moxa-quiz{
  background:#FFFFFF;border:1px solid #E9E5D8;border-radius:14px;
  padding:20px 22px;margin:26px 0 0;
}
.moxa-quiz h3{
  margin:0 0 4px;font-size:18px;color:#212A24;
  display:flex;align-items:center;gap:8px;
}
.moxa-quiz__hint{font-size:13px;color:#64706A;margin:0 0 6px;}
.moxa-quiz__q{border-top:1px solid #E9E5D8;padding:13px 0;}
.moxa-quiz__q:first-of-type{border-top:none;}
.moxa-quiz__q summary{
  cursor:pointer;font-weight:600;color:#212A24;font-size:15.5px;line-height:1.5;
  list-style:none;padding-right:28px;position:relative;
}
.moxa-quiz__q summary::-webkit-details-marker{display:none;}
.moxa-quiz__q summary::after{
  content:'+';position:absolute;right:2px;top:0;color:#35624A;font-weight:700;font-size:20px;line-height:1.2;
}
.moxa-quiz__q[open] summary::after{content:'–';}
.moxa-quiz__q summary:hover{color:#35624A;}
.moxa-quiz__a{
  margin:11px 0 2px;padding:12px 14px;background:#E7EFE9;border-radius:8px;
  font-size:14.5px;color:#3D4A42;line-height:1.6;
}
.moxa-quiz__a strong{color:#28513B;}

/* ============================================================
   COMPACT DENSITY (2026-09-22)
   Wider content band · tighter vertical rhythm · denser cards.
   Goal: fix "loose / too much side whitespace / no pull to browse".
   ============================================================ */
.wp-site-blocks{
  --wp--style--global--content-size:1240px !important;
  --wp--style--global--wide-size:1300px !important;
}
.moxa-course-grid,.moxa-stats,.moxa-steps,.moxa-path-grid,
.moxa-chapters,.moxa-contrast,.wp-block-columns.moxa-duo{
  max-width:1240px !important;
}

/* Tighten vertical rhythm (beats inline padding on the blocks) */
.moxa-section{padding:36px 0 !important;}
.moxa-hero{padding:40px 0 30px !important;}
.moxa-dark{padding:38px 0 !important;}
.moxa-cta{padding:38px 0 !important;}

/* Compact hero + section headers */
.moxa-hero h1{font-size:clamp(28px,4vw,42px) !important;margin:0 0 12px !important;}
.moxa-hero .lead{max-width:720px !important;font-size:17px !important;margin:0 auto 18px !important;}
.moxa-hero .wp-block-buttons{margin-bottom:16px !important;}
.moxa-section h2{font-size:clamp(23px,2.8vw,30px) !important;margin-bottom:6px !important;}
.moxa-section .lead{margin:0 auto 20px !important;font-size:16px !important;}
.moxa-eyebrow{margin-bottom:10px !important;}

/* Denser course cards · 4-up on the full library */
.moxa-course-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:13px !important;}
.moxa-course-card{padding:15px 14px !important;border-radius:13px !important;}
.moxa-course-card__icon{width:40px !important;height:40px !important;font-size:20px !important;margin-bottom:9px !important;border-radius:10px !important;}
.moxa-course-card__stage{font-size:10px !important;margin-bottom:3px !important;}
.moxa-course-card__name{font-size:15.5px !important;margin-bottom:4px !important;}
.moxa-course-card__tag{font-size:12.5px !important;line-height:1.4 !important;margin-bottom:8px !important;}
.moxa-course-card__go{font-size:12.5px !important;}

/* Academy stage ladder → compact horizontal rows */
.moxa-stage{margin-bottom:18px !important;}
.moxa-stage-head{padding-bottom:10px !important;margin-bottom:12px !important;}
.moxa-stage-title{font-size:20px !important;}
.moxa-stage-desc{font-size:13.5px !important;}
.moxa-stage .moxa-course-grid{grid-template-columns:1fr !important;gap:8px !important;}
.moxa-stage .moxa-course-card{
  flex-direction:row !important;align-items:center !important;gap:14px !important;
  padding:13px 16px !important;border-radius:11px !important;
}
.moxa-stage .moxa-course-card__icon{width:36px !important;height:36px !important;font-size:18px !important;margin:0 !important;border-radius:9px !important;flex:0 0 auto !important;}
.moxa-stage .moxa-course-card__stage{display:none !important;}
.moxa-stage .moxa-course-card__name{margin:0 !important;font-size:15px !important;white-space:nowrap !important;flex:0 0 auto !important;}
.moxa-stage .moxa-course-card__tag{margin:0 !important;font-size:12.5px !important;flex:1 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
.moxa-stage .moxa-course-card__go{display:none !important;}
.moxa-stage .moxa-course-card::after{content:'→';color:#35624A;font-weight:700;font-size:17px;flex:0 0 auto;}

/* Tighten stats / steps / paths */
.moxa-stats{gap:12px !important;}
.moxa-stat{padding:16px 10px !important;border-radius:12px !important;}
.moxa-stat b{font-size:29px !important;}
.moxa-steps{gap:13px !important;}
.moxa-step{padding:17px 16px !important;border-radius:13px !important;}
.moxa-step h3{font-size:18px !important;margin-bottom:6px !important;}
.moxa-path-grid{gap:10px !important;}
.moxa-path{padding:12px 12px !important;border-radius:12px !important;}
.moxa-path__emoji{font-size:20px !important;margin-bottom:4px !important;}
.moxa-path__name{font-size:14px !important;}
.moxa-path__desc{font-size:12px !important;}

/* Responsive collapse of the 4-up library grid */
@media(max-width:1100px){.moxa-course-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}}
@media(max-width:820px){.moxa-course-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media(max-width:520px){.moxa-course-grid{grid-template-columns:1fr !important;}}

/* Mobile: stage rows — let the name wrap, drop the tag line */
@media(max-width:640px){
  .moxa-stage .moxa-course-card__name{white-space:normal !important;flex:1 1 auto !important;min-width:0 !important;}
  .moxa-stage .moxa-course-card__tag{display:none !important;}
}

/* ===================== Sensei course & lesson pages ===================== */

/* Course page: hide Sensei's empty title/meta blocks (title is injected into content) */
.single-course .entry-content > header:has(h1:empty),
.single-course .entry-content > .course-meta:empty { display: none; }

/* Course page: title + description */
.single-course .entry-content > h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px; line-height: 1.2; font-weight: 700;
  color: var(--moxa-ink); margin: 4px 0 12px;
}
.single-course .entry-content > p { font-size: 16px; line-height: 1.75; color: var(--moxa-ink); }

/* "Lessons" heading */
.course-lessons > header h2 { font-family: Georgia, serif; font-size: 24px; color: var(--moxa-ink); margin: 30px 0 10px; }

/* Lesson list cards */
.course-lessons article.lesson {
  background: var(--moxa-card);
  border: 1px solid var(--moxa-border);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 14px;
}
.course-lessons article.lesson .lesson-title h2 { font-size: 19px; line-height: 1.35; margin: 0 0 6px; }
.course-lessons article.lesson .lesson-title h2 a { color: var(--moxa-green-deep); text-decoration: none; }
.course-lessons article.lesson .lesson-title h2 a:hover { color: var(--moxa-green); text-decoration: underline; }
.course-lessons article.lesson .lesson-meta {
  color: var(--moxa-sub); font-size: 13px; margin: 0 0 10px;
  display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 2px;
}
.course-lessons article.lesson .lesson-meta .lesson-author a { color: var(--moxa-sub); text-decoration: none; }
.course-lessons article.lesson .entry p { color: var(--moxa-sub); font-size: 14px; line-height: 1.65; margin: 0; }

/* Lesson page (single lesson) */
.single-lesson .entry-content h1 { font-family: Georgia, serif; font-size: 30px; line-height: 1.25; color: var(--moxa-ink); margin: 8px 0 16px; }
.single-lesson .entry-content p, .single-lesson .entry-content li { font-size: 16px; line-height: 1.75; color: var(--moxa-ink); }

/* Enrollment: show "Take This Course" only to logged-in learners (visitors read freely) */
body:not(.logged-in) .single-course .course-enrolment form { display: none; }
/* Lesson excerpt on course cards: keep it readable, tighten the auto-generated summary */
.course-lessons article.lesson .entry p { color: var(--moxa-sub); font-size: 13.5px; }

/* Memory cards: pinyin gloss */
.moxa-fc__py { font-size: 0.82em; color: var(--moxa-sub); font-weight: 400; }
/*
 * Moxa Academy visual system v5 — local release candidate
 * Scope: presentation only. No route, course, question, result, storage,
 * membership or governance logic is changed by this stylesheet.
 * Designed to be appended after the current WordPress.com Custom CSS.
 */

:root{
  --moxa-green:#274D3B;
  --moxa-green-deep:#17372A;
  --moxa-green-soft:#E7EDE1;
  --moxa-amber:#BD642E;
  --moxa-amber-deep:#9F4F22;
  --moxa-gold:#D79A48;
  --moxa-ink:#20251F;
  --moxa-sub:#667064;
  --moxa-bg:#FBFAF5;
  --moxa-card:#FFFFFF;
  --moxa-border:rgba(35,55,42,.14);
  --moxa-shadow:0 22px 50px rgba(35,55,42,.10);
}

html{scroll-behavior:smooth;overflow-x:hidden}
body{overflow-x:hidden;background:var(--moxa-bg);color:var(--moxa-ink);font-size:16px;line-height:1.68}
.wp-site-blocks{--wp--style--global--content-size:1180px}

/* Header: stable one-line shell on desktop, clean drawer trigger on mobile. */
header.wp-block-template-part>.wp-block-group,
.site-header>.wp-block-group{
  min-height:82px!important;padding:14px max(24px,calc((100vw - 1180px)/2))!important;
  border-bottom:1px solid var(--moxa-border);background:rgba(251,250,245,.94)!important;
  backdrop-filter:blur(16px);box-shadow:none!important;
}
.wp-block-site-title a{font-family:'Fraunces',Georgia,serif!important;font-size:24px!important;letter-spacing:-.02em!important;color:var(--moxa-green-deep)!important;white-space:nowrap}
.wp-block-navigation__container{gap:clamp(15px,2vw,29px)!important;flex-wrap:nowrap!important}
.wp-block-navigation-item__content{font-size:13px!important;font-weight:600!important;white-space:nowrap}
header .wp-block-button__link{white-space:nowrap!important;border-radius:999px!important;padding:10px 17px!important;font-size:12px!important;box-shadow:none!important}

/* Re-open the layout rhythm that the compact v4 tail over-compressed. */
.moxa-section{padding:88px 0!important}
.moxa-section-alt{background:#F1ECDF!important}
.moxa-dark,.moxa-cta{padding:72px 0!important}
.moxa-hero{padding:84px 0 78px!important;background:linear-gradient(145deg,#FBFAF5 15%,#F1ECDF 100%)!important;border-bottom:1px solid var(--moxa-border)}
.moxa-hero>.alignwide{max-width:920px!important}
.moxa-hero h1{font-size:clamp(46px,6vw,76px)!important;line-height:1.01!important;letter-spacing:-.035em!important;margin:0 auto 24px!important;max-width:900px}
.moxa-hero .lead{font-size:clamp(17px,2vw,20px)!important;line-height:1.7!important;max-width:720px!important;margin:0 auto 30px!important}
.moxa-hero .wp-block-buttons{margin-bottom:24px!important;gap:11px!important}
.moxa-hero .wp-block-button__link{padding:14px 22px!important;border-radius:999px!important;font-size:14px!important}
.moxa-eyebrow{font-size:11px!important;letter-spacing:.17em!important;margin-bottom:13px!important;color:var(--moxa-amber)!important}
.moxa-section h2{font-size:clamp(34px,4vw,52px)!important;line-height:1.07!important;letter-spacing:-.025em!important;margin-bottom:13px!important}
.moxa-section .lead{font-size:17px!important;line-height:1.7!important;max-width:680px!important;margin:0 auto 38px!important}

/* Homepage and Academy cards. */
.moxa-stats{gap:14px!important}
.moxa-stat{padding:24px 16px!important;border:1px solid var(--moxa-border)!important;border-radius:18px!important;background:var(--moxa-card)!important}
.moxa-stat b{font-size:34px!important;font-family:'Fraunces',Georgia,serif!important;color:var(--moxa-green)!important}
.moxa-path-grid{gap:16px!important}
.moxa-path{min-height:170px;padding:23px!important;border-radius:19px!important;border:1px solid var(--moxa-border)!important;background:#fff!important}
.moxa-path:hover{transform:translateY(-4px)!important;box-shadow:var(--moxa-shadow)!important}
.moxa-path__emoji{font-size:27px!important;margin-bottom:12px!important}
.moxa-path__name{font-size:17px!important;line-height:1.25!important}
.moxa-path__desc{font-size:13.5px!important;line-height:1.55!important;margin-top:7px!important}
.moxa-topics{gap:9px!important}.moxa-topics .chip{padding:9px 14px!important;background:#fff!important;border-color:var(--moxa-border)!important;border-radius:999px!important;font-size:12px!important}

.moxa-stage{margin-bottom:54px!important}
.moxa-stage-head{padding-bottom:15px!important;margin-bottom:19px!important;border-bottom:1px solid var(--moxa-border)!important}
.moxa-stage-title{font-size:27px!important;line-height:1.15!important}
.moxa-stage-desc{font-size:15px!important;max-width:720px}
.moxa-stage .moxa-course-grid,.moxa-course-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px!important}
.moxa-stage .moxa-course-card,.moxa-course-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-height:245px!important;padding:24px 21px!important;border-radius:19px!important;border:1px solid var(--moxa-border)!important;background:#fff!important}
.moxa-course-card:hover{transform:translateY(-4px)!important;box-shadow:var(--moxa-shadow)!important}
.moxa-stage .moxa-course-card__icon,.moxa-course-card__icon{display:grid!important;width:48px!important;height:48px!important;margin:0 0 18px!important;border-radius:13px!important;font-size:23px!important}
.moxa-stage .moxa-course-card__stage,.moxa-course-card__stage{display:block!important;font-size:10px!important;margin-bottom:7px!important}
.moxa-stage .moxa-course-card__name,.moxa-course-card__name{white-space:normal!important;font-size:18px!important;line-height:1.25!important;margin-bottom:9px!important}
.moxa-stage .moxa-course-card__tag,.moxa-course-card__tag{display:block!important;white-space:normal!important;overflow:visible!important;font-size:13px!important;line-height:1.55!important;margin-bottom:18px!important}
.moxa-stage .moxa-course-card__go,.moxa-course-card__go{display:block!important;margin-top:auto!important;font-size:12px!important}
.moxa-stage .moxa-course-card::after{content:none!important}

/* Nine Gates: clearer promise, compliance and process hierarchy. */
.moxa-compliance{max-width:900px!important;margin-top:-30px!important;padding:19px 24px!important;border:1px solid #E5D5C2!important;border-radius:16px!important;background:#FFF9EF!important;box-shadow:0 14px 35px rgba(67,48,29,.07)}
.moxa-steps{gap:16px!important}
.moxa-step,.moxa-steps>.wp-block-column{padding:27px 24px!important;border:1px solid var(--moxa-border)!important;border-radius:20px!important;background:#fff!important}
.moxa-step h3,.moxa-steps h3{font-size:21px!important;margin-bottom:9px!important}
.moxa-rung{grid-template-columns:110px 230px 1fr!important;padding:25px 0!important;gap:24px!important;border-color:var(--moxa-border)!important}
.moxa-rung__name{font-size:22px!important}.moxa-rung__desc{font-size:14px!important;line-height:1.6!important}

/* Sensei course overview: remove the empty-air failure and make lessons scannable. */
.single-course .entry-content{display:flex!important;flex-direction:column!important;max-width:980px!important;margin:0 auto!important;padding:64px 24px 96px!important}
.single-course .entry-content>header:first-child{display:none!important}
.single-course .entry-content>h1{order:-20}
.single-course .entry-content>h1~p,.single-course .entry-content>h1~ul,.single-course .entry-content>h1~ol{order:-19}
.single-course .entry-content>.progress,.single-course .entry-content>.meter,.single-course .entry-content>.course-enrolment,.single-course .entry-content>p:has(.send-message-button){order:-10}
.single-course .entry-content>.progress{margin-top:32px!important;margin-bottom:7px!important;font-size:13px!important;color:var(--moxa-sub)!important}
.single-course .entry-content>.meter{height:12px!important;margin:0 0 16px!important;border-radius:999px!important;overflow:hidden!important}
.single-course .entry-content>header:not(:first-child){order:10}.single-course .entry-content>.course-lessons{order:11}
.single-course .entry-content>h1{font-family:'Fraunces',Georgia,serif!important;font-size:clamp(42px,6vw,66px)!important;line-height:1.02!important;letter-spacing:-.03em!important;margin:0 0 22px!important}
.single-course .entry-content>p{max-width:740px;font-size:17px!important;line-height:1.75!important;color:var(--moxa-sub)!important}
.single-course .course-meta.course-enrolment{float:none!important;display:flex!important;justify-content:flex-start!important;margin:28px 0 58px!important}
.single-course .entry-content>p:has(.send-message-button){margin:0 0 42px!important}
.single-course #post-entries{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:24px!important;margin:54px 0 0!important}
.single-course #post-entries>div{float:none!important;max-width:48%!important}
.single-course #post-entries .nav-next{text-align:right!important}
.single-course .send-message-button{display:inline-flex!important;border:1px solid rgba(39,77,59,.4)!important;border-radius:999px!important;background:transparent!important;color:var(--moxa-green)!important;padding:9px 15px!important;font-size:11px!important;box-shadow:none!important}
.single-course .course-start{border:0!important;border-radius:999px!important;background:var(--moxa-amber)!important;color:#fff!important;padding:13px 22px!important;font-weight:700!important}
.course-lessons>header h2{font-family:'Fraunces',Georgia,serif!important;font-size:36px!important;letter-spacing:-.02em!important;margin:0 0 20px!important}
.course-lessons article.lesson{padding:22px 24px!important;margin:0 0 12px!important;border:1px solid var(--moxa-border)!important;border-radius:17px!important;background:#fff!important;transition:.2s}
.course-lessons article.lesson:hover{transform:translateX(4px);border-color:rgba(189,100,46,.45)!important;box-shadow:0 12px 28px rgba(35,55,42,.07)}
.course-lessons article.lesson .lesson-title h2{font-size:18px!important;margin:0 0 6px!important}
.course-lessons .lesson-meta{font-size:11px!important;color:var(--moxa-sub)!important}

/* Sensei lesson reader: wider reading rhythm, quieter navigation. */
.sensei-course-theme__header{min-height:72px!important;border-bottom:1px solid var(--moxa-border)!important;background:rgba(251,250,245,.96)!important}
.sensei-course-theme__header .custom-logo{width:auto!important;max-width:150px!important;max-height:42px!important}
.sensei-course-theme__sidebar{width:300px!important;background:#F4F1E8!important;border-right:1px solid var(--moxa-border)!important}
.sensei-lms-course-navigation-lesson__link{padding:12px 17px!important;font-size:13px!important;line-height:1.4!important}
.sensei-lms-course-navigation-lesson.current-lesson .sensei-lms-course-navigation-lesson__link{background:#E5EBDF!important;color:var(--moxa-green-deep)!important;font-weight:700!important}
.sensei-course-theme__main-content{background:var(--moxa-bg)!important}
.sensei-course-theme__main-content>.wp-block-post-title,
.sensei-course-theme__main-content>.entry-content{max-width:760px!important;margin-left:auto!important;margin-right:auto!important}
.sensei-course-theme__main-content>.wp-block-post-title{font-family:'Fraunces',Georgia,serif!important;font-size:clamp(36px,5vw,55px)!important;line-height:1.08!important;letter-spacing:-.025em!important;margin-top:64px!important;margin-bottom:24px!important}
.single-lesson .entry-content{font-size:17px!important;line-height:1.82!important;padding-bottom:90px!important}
.single-lesson .entry-content p{margin-bottom:1.2em!important}
.academy-disclaimer,.lesson-goal,.lesson-source,.moxa-quiz{border-radius:16px!important;border:1px solid var(--moxa-border)!important;box-shadow:none!important}

/* Account bridge: Sensei's My Courses page is the canonical login, register
   and learning-centre surface. Keep both forms first-party and on-domain. */
.page-id-7 .entry-content{max-width:1180px!important;margin:0 auto!important;padding:76px 24px 105px!important}
.page-id-7 #customer_login{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}
.page-id-7 #customer_login>.col-1,.page-id-7 #customer_login>.col-2{float:none!important;width:auto!important;min-width:0!important}
.page-id-7 #customer_login h2{font-family:'Fraunces',Georgia,serif!important;font-size:44px!important;line-height:1.05!important;letter-spacing:-.025em!important;margin:0 0 22px!important;color:var(--moxa-ink)!important}
.page-id-7 #customer_login form{height:calc(100% - 70px)!important;padding:29px 27px!important;border:1px solid var(--moxa-border)!important;border-radius:19px!important;background:#fff!important;box-shadow:0 15px 38px rgba(35,55,42,.06)!important}
.page-id-7 #customer_login .form-row{margin:0 0 18px!important}
.page-id-7 #customer_login label{display:block!important;margin-bottom:7px!important;font-size:13px!important;font-weight:600!important;color:var(--moxa-ink)!important}
.page-id-7 #customer_login input[type=text],.page-id-7 #customer_login input[type=email],.page-id-7 #customer_login input[type=password]{width:100%!important;min-height:50px!important;padding:11px 13px!important;border:1px solid rgba(35,55,42,.3)!important;border-radius:10px!important;background:#FCFBF7!important;font:inherit!important;box-shadow:none!important}
.page-id-7 #customer_login input:focus{outline:3px solid rgba(189,100,46,.22)!important;outline-offset:2px!important;border-color:var(--moxa-amber)!important}
.page-id-7 #customer_login input[type=submit]{border:0!important;border-radius:999px!important;background:var(--moxa-amber)!important;color:#fff!important;padding:12px 22px!important;font-weight:700!important}
.page-id-7 .sensei-login-submit{display:flex!important;align-items:center!important;gap:18px!important;flex-wrap:wrap!important}
.page-id-7 .sensei-login-submit a{font-size:13px!important;color:var(--moxa-green)!important}
.page-id-7 .remember_me label{display:flex!important;align-items:center!important;gap:8px!important;font-weight:500!important}.page-id-7 .remember_me input{width:16px;height:16px}
.page-id-7 #my-courses>h2,.page-id-7 #my-courses>h3{font-family:'Fraunces',Georgia,serif!important;color:var(--moxa-ink)!important}

/* Footer */
footer.wp-block-template-part{border-top:1px solid var(--moxa-border);background:#F4F1E8!important}

@media(max-width:1080px){
  .moxa-stage .moxa-course-grid,.moxa-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .wp-block-navigation__container{gap:15px!important}
}
@media(max-width:820px){
  header.wp-block-template-part>.wp-block-group,.site-header>.wp-block-group{min-height:70px!important;padding:11px 18px!important}
  .wp-block-navigation__responsive-container-open{display:flex!important;padding:6px!important}
  .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .moxa-hero{padding:60px 0 58px!important}.moxa-section{padding:67px 0!important}
  .moxa-rung{grid-template-columns:1fr!important;gap:6px!important}
  .sensei-course-theme__sidebar{width:270px!important}
  .page-id-7 #customer_login{grid-template-columns:1fr!important;gap:46px!important}
}
@media(max-width:600px){
  header.wp-block-template-part>.wp-block-group,.site-header>.wp-block-group{gap:5px!important;padding-inline:10px!important}
  .wp-block-site-title a{font-size:17px!important}
  header .wp-block-buttons{gap:0!important}
  header .wp-block-button__link{padding:8px 9px!important;font-size:9px!important}
  .wp-block-navigation__responsive-container-open{width:31px!important;height:31px!important;padding:5px!important;flex:0 0 31px!important}
  .wp-block-navigation__responsive-container-open svg{width:20px!important;height:20px!important}
  .moxa-hero h1{font-size:43px!important}.moxa-hero .lead{font-size:16px!important}.moxa-section h2{font-size:36px!important}
  .moxa-stage .moxa-course-grid,.moxa-course-grid{grid-template-columns:1fr!important}
  .moxa-stage .moxa-course-card,.moxa-course-card{min-height:220px!important}
  .single-course .entry-content{padding:45px 17px 72px!important}.single-course .entry-content>h1{font-size:43px!important}
  .single-course #post-entries{flex-direction:column!important;gap:13px!important}.single-course #post-entries>div{max-width:100%!important}.single-course #post-entries .nav-next{text-align:left!important}
  .course-lessons article.lesson{padding:19px 18px!important}
  .sensei-course-theme__header .custom-logo{max-width:120px!important}
  .sensei-course-theme__main-content>.wp-block-post-title{margin-top:42px!important;font-size:39px!important}
  .single-lesson .entry-content{font-size:16px!important;line-height:1.76!important;padding-inline:17px!important}
  .page-id-7 .entry-content{padding:49px 16px 75px!important}.page-id-7 #customer_login h2{font-size:38px!important}.page-id-7 #customer_login form{padding:23px 20px!important}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* UI v5 post-release: keep course navigation after the lesson list. */
.single-course #post-entries{order:12!important}

/* ============================================================
   Moxa Academy UI v5.1 — alignment correction
   Fixes the off-axis hero, over-wide card bands and the broken
   three-column Nine Gates rung override. Presentation only.
   ============================================================ */
.moxa-hero > .alignwide { box-sizing:border-box!important; width:min(calc(100% - 48px),920px)!important; max-width:920px!important; margin-left:auto!important; margin-right:auto!important; }
.moxa-hero .moxa-eyebrow,.moxa-hero h1,.moxa-hero .lead { width:100%!important; text-align:center!important; }
.moxa-hero .wp-block-buttons { width:100%!important; justify-content:center!important; }
.moxa-hero .moxa-topics { width:min(100%,760px)!important; margin-left:auto!important; margin-right:auto!important; justify-content:center!important; }
.moxa-section > .moxa-stats,.moxa-section > .moxa-path-grid,.moxa-section > .moxa-course-grid,.moxa-section > .moxa-steps,.moxa-section > .moxa-chapters,.moxa-section > .moxa-contrast,.moxa-section > .wp-block-columns.moxa-duo { box-sizing:border-box!important; width:min(calc(100% - 48px),1120px)!important; max-width:1120px!important; margin-left:auto!important; margin-right:auto!important; }
.moxa-section > .moxa-eyebrow,.moxa-section > h2,.moxa-section > .lead { box-sizing:border-box!important; width:min(calc(100% - 48px),920px)!important; margin-left:auto!important; margin-right:auto!important; text-align:center!important; }
.moxa-section .alignwide { box-sizing:border-box!important;
	/* UI v5.1 density pass tighter desktop editorial rhythm. */
	@media min-width821px
		header.wp-block-template-part.wp-block-group.site-header.wp-block-groupmin-height68pximportantpadding-top8pximportantpadding-bottom8pximportant
		.wp-block-site-logo imgwidthautoimportantmax-height50pximportant
		.wp-block-navigationcontainergapclamp13px1.55vw24pximportant
		header .wp-block-buttonlinkpadding9px 16pximportant
		.moxa-heropadding64px 0 58pximportant
		.moxa-hero h1font-sizeclamp44px5.4vw68pximportantmargin-bottom18pximportant
		.moxa-hero .leadline-height1.56importantmargin-bottom22pximportant
		.moxa-hero .wp-block-buttonsmargin-bottom18pximportant
		.moxa-sectionpadding66px 0important
		.moxa-dark.moxa-ctapadding56px 0important
		.moxa-section h2font-sizeclamp34px3.7vw48pximportantmargin-bottom10pximportant
		.moxa-section .leadline-height1.58importantmargin-bottom28pximportant
		.moxa-statpadding18px 14pximportant
		.moxa-pathmin-height150pximportantpadding20pximportant
		.moxa-stagemargin-bottom42pximportant
		.moxa-stage .moxa-course-card.moxa-course-cardmin-height224pximportantpadding21px 19pximportant
		.moxa-step.moxa-steps.wp-block-columnmin-height210pximportantpadding22pximportant
		.moxa-compliancepadding16px 22pximportant
		.moxa-rungpadding-top19pximportantpadding-bottom19pximportant
		
		margin-left:auto!important; margin-right:auto!important; }
.moxa-rung { grid-template-columns:minmax(140px,190px) minmax(0,1fr)!important; width:min(100%,900px)!important; max-width:900px!important; margin-left:auto!important; margin-right:auto!important; column-gap:34px!important; }
.moxa-rung > :nth-child(2) { min-width:0!important; }
@media (max-width:820px) {
  .moxa-hero > .alignwide,.moxa-section > .moxa-stats,.moxa-section > .moxa-path-grid,.moxa-section > .moxa-course-grid,.moxa-section > .moxa-steps,.moxa-section > .moxa-chapters,.moxa-section > .moxa-contrast,.moxa-section > .wp-block-columns.moxa-duo,.moxa-section > .moxa-eyebrow,.moxa-section > h2,.moxa-section > .lead { width:min(calc(100% - 32px),920px)!important; }
  .moxa-rung { grid-template-columns:1fr!important; width:100%!important; row-gap:8px!important; }
}

/* UI v5.1: keep the Nine Gates compliance card below the hero boundary. */
.page-id-526 .moxa-compliance{margin-top:24px!important;position:relative!important;z-index:1!important}

/* UI v5.1: normalize the Nine Gates guide CTA. */
.page-id-526 .moxa-section-alt .wp-block-button.moxa-cta{width:auto!important;padding:0!important;background:transparent!important}
.page-id-526 .moxa-section-alt .wp-block-buttons{width:min(calc(100% - 48px),900px)!important;margin:0 auto!important;justify-content:center!important}
.page-id-526 .moxa-section-alt .wp-block-button__link{width:auto!important;max-width:100%!important;padding:15px 28px!important;border-radius:999px!important;font-size:16px!important;line-height:1.25!important;box-shadow:0 10px 24px rgba(194,87,31,.18)!important}


/* UI v5.1 density final 2026-09-24 */
.moxa-section .alignwide{box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important}
@media (min-width:821px){
header.wp-block-template-part{min-height:0!important}
header.wp-block-template-part>.wp-block-group,.site-header>.wp-block-group{min-height:0!important;padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}
header.wp-block-template-part>.wp-block-group>.wp-block-group.alignwide,.site-header>.wp-block-group>.wp-block-group.alignwide{min-height:54px!important;padding-top:4px!important;padding-bottom:4px!important;margin-top:0!important;margin-bottom:0!important}
.wp-block-site-logo img{width:auto!important;max-height:44px!important}
.wp-block-navigation__container{gap:clamp(12px,1.35vw,20px)!important}
header .wp-block-button__link{padding:8px 14px!important}
.moxa-hero{padding:50px 0 46px!important}
.moxa-hero h1{font-size:clamp(42px,5vw,60px)!important;margin-bottom:15px!important}
.moxa-hero .lead{line-height:1.56!important;margin-bottom:18px!important}
.moxa-hero .wp-block-buttons{margin-bottom:15px!important}
.moxa-section{padding:56px 0!important}
.moxa-dark,.moxa-cta{padding:48px 0!important}
.moxa-section h2{font-size:clamp(34px,3.7vw,48px)!important;margin-bottom:10px!important}
.moxa-section .lead{line-height:1.58!important;margin-bottom:24px!important}
.moxa-stat{padding:18px 14px!important}
.moxa-path{min-height:150px!important;padding:20px!important}
.moxa-stage{margin-bottom:42px!important}
.moxa-stage .moxa-course-card,.moxa-course-card{min-height:208px!important;padding:19px 18px!important}
.moxa-step,.moxa-steps>.wp-block-column{min-height:190px!important;padding:20px!important}
.moxa-compliance{padding:16px 22px!important}
.moxa-rung{padding-top:19px!important;padding-bottom:19px!important}
}
