/* JMA responsive layout consolidation — 2026-10-28. */
body.jma-academy{--jma-content:1180px;line-height:1.8}
body.jma-academy .jma-shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
body.jma-academy :is(main,.jma-shell,.jma-nav-wrap,.jma-header-actions,.jma-auth-card,.jma-contact-form-card,.jr-wrap,.jpc-body){min-width:0}
body.jma-academy :is(.jma-section,.jma-inner-hero){padding-block:40px}
body.jma-academy .jma-section-head{gap:16px;margin-bottom:22px}
body.jma-academy :is(.jma-section-head h2,.jma-story-grid h2){font-size:clamp(24px,2.5vw,34px);line-height:1.6}
body.jma-academy .jma-inner-hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px}
body.jma-academy .jma-inner-hero h1{font-size:clamp(30px,3.4vw,44px);line-height:1.5;margin-bottom:12px}
body.jma-academy .jma-inner-hero p{font-size:15px;margin-bottom:18px}
body.jma-academy :is(.jma-inner-hero-photo,.jma-contact-photo){height:300px;max-height:360px;border-radius:20px}
body.jma-academy :is(.jma-inner-hero-photo,.jma-contact-photo) img{object-position:center 20%}
body.jma-academy .jma-btn{min-height:46px;line-height:1.6;white-space:normal;text-align:center}
body.jma-academy :is(input,select,textarea){max-width:100%}
body.jma-academy :is(.jpc-body h3,.jma-instructor-card h3,.jr-heading h1,.jr-lessons li,.jma-contact-card strong){overflow-wrap:anywhere}
/* Keep the approved vertical course list at every breakpoint. */
body.jma-academy .jma-courses-section .jma-course-grid-compact{display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:760px;margin-inline:auto;gap:20px!important}
body.jma-academy .jma-photo-course{min-width:0;width:100%}
body.jma-academy .jpc-cover{display:block;overflow:hidden}
body.jma-academy .jpc-purchase{flex-wrap:wrap}
body.jma-academy .jpc-purchase .jma-btn{flex:0 1 auto;max-width:100%}
body.jma-academy .jbh-copy h1{min-height:3.3em}
body.jma-academy .jma-reference{padding:28px 24px 36px}
body.jma-academy .jma-reference .jr-wrap{max-width:900px}
body.jma-academy .jma-reference .jr-cover{height:auto;max-height:400px;aspect-ratio:16/8;object-fit:contain;margin-bottom:20px;border-radius:14px}
body.jma-academy .jma-reference .jr-heading h1{font-size:clamp(24px,2.7vw,34px);margin-bottom:8px}
body.jma-academy .jma-reference .jr-summary{font-size:15px;line-height:1.9;margin-bottom:16px}
body.jma-academy .jma-reference .jr-subscribe{gap:18px;padding:18px}
body.jma-academy .jma-reference .jr-section{margin-bottom:28px}
body.jma-academy .jma-reference :is(h2,h3){line-height:1.7}
body.jma-academy .jma-reference h2{font-size:24px;margin-bottom:14px}
body.jma-academy .jma-reference .jr-facts{margin-bottom:26px;padding-bottom:18px}
body.jma-academy .jma-reference .jr-related{gap:16px}
body.jma-academy .jma-reference .jr-related>*{min-width:0}
body.jma-academy .jma-reference .jr-related img{max-height:180px}
/* Full instructor portraits and copy within a consistent card. */
body.jma-academy .jma-about-page .jma-instructor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.jma-academy .jma-about-page a.jma-instructor-card{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr);min-width:0;border-radius:18px}
body.jma-academy .jma-about-page .jma-instructor-photo{height:100%;min-height:240px;max-height:360px}
body.jma-academy .jma-about-page .jma-instructor-photo img{height:100%;object-fit:cover;object-position:center top}
body.jma-academy .jma-about-page .jma-instructor-card>div:last-child{padding:20px;min-width:0}
body.jma-academy .jma-about-page .jma-instructor-card h3{font-size:19px;margin:6px 0}
body.jma-academy .jma-about-page .jma-instructor-card p{font-size:13px;line-height:1.9}
body.jma-academy .jma-proof-grid{padding-block:20px}
body.jma-academy .jma-proof-grid>div{min-width:0;padding:12px 20px}
body.jma-academy .jma-contact-page-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px}
body.jma-academy .jma-contact-form-card{padding:26px;border-radius:20px}
body.jma-academy .jma-contact-card{min-height:170px;padding:22px;border-radius:18px}
body.jma-academy .jma-contact-form :is(input,select,textarea),body.jma-academy .jma-login-form input{font-size:16px;min-height:46px;box-sizing:border-box}
body.jma-academy .jma-contact-form label{min-width:0}
body.jma-academy .jma-auth-page{padding:32px 0 40px;min-height:0}
body.jma-academy .jma-auth-panel{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);border-radius:22px}
body.jma-academy .jma-auth-visual{min-height:490px}
body.jma-academy .jma-auth-card{padding:32px}
body.jma-academy .jma-auth-card-head h2{font-size:28px;line-height:1.6}
body.jma-academy .jma-cart-link{display:none!important}
body.jma-academy .jma-nav-wrap{gap:20px}
/* Checkout changes apply only to layout and input sizing. */
body.jma-academy.woocommerce-checkout .woocommerce{max-width:1120px;margin-inline:auto}
body.jma-academy.woocommerce-checkout :is(.woocommerce-billing-fields,.woocommerce-additional-fields,#order_review,.woocommerce-checkout-payment){min-width:0}
body.jma-academy.woocommerce-checkout .form-row{min-width:0}
body.jma-academy.woocommerce-checkout .form-row :is(input.input-text,select,textarea){width:100%;font-size:16px;min-height:46px;box-sizing:border-box}
body.jma-academy.woocommerce-checkout .shop_table{width:100%;table-layout:fixed}
body.jma-academy.woocommerce-checkout .shop_table :is(th,td){overflow-wrap:anywhere}
body.jma-academy.woocommerce-checkout #place_order{min-height:48px;white-space:normal;line-height:1.7}
body.jma-academy .tutor-dashboard{max-width:1180px;margin-inline:auto}
body.jma-academy .tutor-dashboard-content{min-width:0}
body.jma-academy .tutor-video-player{width:100%;max-width:100%}
body.jma-academy .tutor-video-player :is(video,iframe){width:100%;max-width:100%;aspect-ratio:16/9}
@media(max-width:1180px){
 body.jma-academy .jma-site-header .jma-nav-wrap{height:68px;gap:12px}
 body.jma-academy .jma-site-header .jma-menu-toggle{display:block!important;flex:0 0 44px;margin:0!important;border:1px solid #e3e9f3;background:#fff;cursor:pointer}
 body.jma-academy .jma-site-header:not(.jma-home-menu) .jma-menu-toggle{margin-inline-start:auto!important}
 body.jma-academy .jma-site-header .jma-header-actions{margin-inline-start:auto;flex:none;gap:8px}
 body.jma-academy .jma-site-header .jma-account-link{display:flex!important;min-height:44px;font-size:12px;padding:9px 12px;white-space:nowrap}
 body.jma-academy .jma-site-header .jma-primary-nav{display:none!important;position:absolute!important;top:calc(100% + 6px)!important;inset-inline:auto 16px!important;right:auto!important;left:16px!important;width:min(320px,calc(100vw - 32px));max-height:calc(100dvh - 90px);overflow-y:auto;margin:0!important;padding:12px;background:#fff;border:1px solid #e3e9f3;border-radius:16px;box-shadow:0 16px 35px #0b1f4424;direction:ltr;text-align:left;transform:none!important}
 body.jma-academy .jma-site-header .jma-primary-nav.is-open{display:grid!important;opacity:1!important;visibility:visible!important;gap:2px}
 body.jma-academy .jma-site-header .jma-primary-nav a{display:flex!important;align-items:center;padding:10px 14px!important;min-height:44px;font-size:14px!important;border-radius:9px}
 body.jma-academy .jma-site-header .jma-primary-nav a:after{display:none!important}
 body.jma-academy .jma-site-header .jma-primary-nav .jma-nav-cta{display:grid!important;gap:8px;margin-top:6px}
 body.jma-academy .jma-site-header .jma-primary-nav .jma-nav-cta a{justify-content:center}
 body.jma-academy .jma-about-page a.jma-instructor-card{grid-template-columns:1fr}
 body.jma-academy .jma-about-page .jma-instructor-photo{height:280px;min-height:0}
 body.jma-academy .jma-home .jma-instructors .jma-instructor-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
 body.jma-academy :is(.jma-inner-hero-grid,.jma-contact-page-grid){grid-template-columns:minmax(0,1fr);gap:22px}
 body.jma-academy .jma-inner-hero-photo,body.jma-academy .jma-contact-photo{width:100%;height:280px;max-width:580px;margin-inline:auto}
 body.jma-academy .jma-auth-panel{grid-template-columns:minmax(0,1fr)}
 body.jma-academy .jma-auth-visual{min-height:220px;max-height:260px}
 body.jma-academy .jma-auth-overlay{inset-inline:24px;bottom:20px}
 body.jma-academy .jma-auth-overlay h1{font-size:27px;line-height:1.6}
 body.jma-academy .jma-auth-features{display:none}
 body.jma-academy .jma-contact-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.jma-academy .jma-chat-layout{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
}
@media(max-width:767px){
 body.jma-academy .jma-shell{width:calc(100% - 32px)}
 body.jma-academy :is(.jma-section,.jma-inner-hero){padding-block:24px}
 body.jma-academy .jma-section-head{margin-bottom:16px}
 body.jma-academy .jma-site-header .jma-nav-wrap{gap:8px;height:64px}
 body.jma-academy .jma-brand{gap:8px;min-width:0}
 body.jma-academy .jma-brand-mark{width:38px;height:38px;flex:0 0 38px}
 body.jma-academy .jma-brand-copy{display:flex!important;min-width:0}
 body.jma-academy .jma-brand-copy strong{font-size:12px;white-space:nowrap}
 body.jma-academy .jma-brand-copy small{display:none}
 body.jma-academy .jma-site-header .jma-account-link{font-size:11px;padding-inline:10px;gap:5px}
 body.jma-academy .jbh-grid{gap:14px 12px}
 body.jma-academy .jbh-copy h1{font-size:20px!important;line-height:1.65!important;min-height:4.95em}
 body.jma-academy .jbh-copy .jma-kicker{font-size:8px}
 body.jma-academy .jma-home .jma-instructors .jma-instructor-grid{gap:12px!important}
 body.jma-academy .jma-home .jma-instructors .jma-instructor-card h3{font-size:15px!important;line-height:1.8!important}
 body.jma-academy .jma-reference{padding:20px 16px 28px}
 body.jma-academy .jma-reference .jr-cover{aspect-ratio:16/9;max-height:none;margin-bottom:16px;border-radius:12px}
 body.jma-academy .jma-reference .jr-heading{margin-bottom:20px}
 body.jma-academy .jma-reference .jr-heading h1{font-size:24px;line-height:1.7}
 body.jma-academy .jma-reference .jr-subscribe{padding:14px;flex-direction:column;align-items:stretch;gap:10px}
 body.jma-academy .jma-reference .jr-cta{width:100%;max-width:none;min-height:46px;flex:auto;font-size:15px;padding:10px 16px}
 body.jma-academy .jma-reference .jr-price{font-size:21px}
 body.jma-academy .jma-reference :is(p,.jr-benefits){font-size:14px;line-height:1.9}
 body.jma-academy .jma-reference h2{font-size:21px;margin-bottom:12px}
 body.jma-academy .jma-reference .jr-facts{grid-template-columns:1fr;gap:10px;padding-bottom:16px;margin-bottom:22px}
 body.jma-academy .jma-reference .jr-facts p{font-size:13px;gap:8px;align-items:flex-start}
 body.jma-academy .jma-reference summary{padding:14px;font-size:14px}
 body.jma-academy .jma-reference .jr-lessons{padding-inline:14px}
 body.jma-academy .jma-reference .jr-lessons li{font-size:13px;gap:9px}
 body.jma-academy .jma-reference .jr-trainer{gap:12px;align-items:flex-start}
 body.jma-academy .jma-reference .jr-trainer img{width:72px;height:72px}
 body.jma-academy .jma-reference .jr-related{grid-template-columns:1fr;gap:18px}
 body.jma-academy .jma-reference .jr-related a{display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:12px;align-items:start}
 body.jma-academy .jma-reference .jr-related img{grid-row:span 2;aspect-ratio:1/1;margin:0}
 body.jma-academy .jma-reference .jr-related h3{font-size:14px;margin:0}
 body.jma-academy .jma-reference .jr-related p{font-size:12px;margin:0}
 body.jma-academy .jma-about-page .jma-instructor-grid{gap:14px}
 body.jma-academy .jma-about-page .jma-instructor-photo{height:auto;aspect-ratio:4/5;max-height:none}
 body.jma-academy .jma-about-page .jma-instructor-card>div:last-child{padding:12px}
 body.jma-academy .jma-about-page .jma-instructor-card h3{font-size:16px}
 body.jma-academy .jma-about-page .jma-instructor-card p{font-size:12px}
 body.jma-academy .jma-proof-grid{padding-block:10px;gap:0}
 body.jma-academy .jma-proof-grid>div{padding:14px 10px}
 body.jma-academy .jma-proof-grid span{font-size:11px}
 body.jma-academy .jma-contact-form{grid-template-columns:1fr;gap:14px}
 body.jma-academy .jma-contact-form-card{padding:18px;border-radius:16px}
 body.jma-academy .jma-contact-form button{width:100%;justify-self:stretch}
 body.jma-academy .jma-contact-card{min-height:140px;padding:18px}
 body.jma-academy .jma-inner-hero p{font-size:14px;margin-bottom:16px}
 body.jma-academy :is(.jma-inner-hero-photo,.jma-contact-photo){height:220px;border-radius:16px}
 body.jma-academy .jma-auth-shell{width:calc(100% - 32px)}
 body.jma-academy .jma-auth-page{padding:20px 0 28px}
 body.jma-academy .jma-auth-card{padding:22px 18px}
 body.jma-academy .jma-auth-card-head h2{font-size:25px}
 body.jma-academy .jma-auth-visual{min-height:180px;height:180px}
 body.jma-academy .jma-auth-overlay{inset-inline:18px;bottom:14px}
 body.jma-academy .jma-auth-overlay h1{font-size:22px;margin-bottom:0}
 body.jma-academy .jma-auth-overlay p{display:none}
 body.jma-academy .jma-form-two{grid-template-columns:1fr!important;gap:12px}
 body.jma-academy .jma-chat-layout{grid-template-columns:minmax(0,1fr);gap:16px}
 body.jma-academy .jma-chat-options button{font-size:12px;min-height:44px;max-width:100%;overflow-wrap:anywhere}
 body.jma-academy .jma-chat-step :is(input:not([type=checkbox]),textarea){font-size:16px}
 body.jma-academy.woocommerce-checkout .woocommerce{padding-inline:0}
 body.jma-academy.woocommerce-checkout .woocommerce form.checkout>.tutorstarter-checkout-container{display:block!important;width:100%!important}
 body.jma-academy.woocommerce-checkout :is(#customer_details,#order_review){width:100%!important;float:none!important;min-width:0!important;margin-inline:0!important}
 body.jma-academy.woocommerce-checkout :is(.form-row-first,.form-row-last){width:100%!important;float:none!important}
 body.jma-academy.woocommerce-checkout .shop_table :is(th,td){padding:10px 8px;font-size:13px}
 body.jma-academy.woocommerce-checkout #payment .payment_methods{padding:14px!important}
 body.jma-academy.woocommerce-checkout #place_order{width:100%}
 body.jma-academy .jma-whatsapp-float{width:48px;height:48px;left:12px;right:auto;bottom:14px;font-size:24px}
 body.jma-academy.jr-sticky-active .jma-whatsapp-float{bottom:88px!important}
 body.jma-academy .jfc-extra a{overflow-wrap:anywhere;max-width:100%}
}
@media(max-width:360px){
 body.jma-academy .jma-shell,body.jma-academy .jma-auth-shell{width:calc(100% - 24px)}
 body.jma-academy .jma-brand-copy{display:none!important}
 body.jma-academy .jbh-grid{grid-template-columns:92px minmax(0,1fr);gap:12px 10px}
 body.jma-academy .jbh-photo,body.jma-academy .jbh-photo img{height:150px}
 body.jma-academy .jbh-copy h1{font-size:18px!important}
 body.jma-academy .jbh-copy p{font-size:11px}
 body.jma-academy .jpc-body{padding:12px}
 body.jma-academy .jpc-body h3{font-size:18px}
 body.jma-academy .jpc-purchase .jma-btn{padding-inline:10px;font-size:12px}
 body.jma-academy .jpc-price{font-size:17px}
 body.jma-academy .jma-about-page .jma-instructor-grid{grid-template-columns:1fr}
}

/* Compact checkout hierarchy; show the course once in the order summary. */
body.jma-academy.woocommerce-checkout .jma-simple-hero{padding-block:24px}
body.jma-academy.woocommerce-checkout .jma-simple-hero h1{font-size:32px;line-height:1.6}
body.jma-academy.woocommerce-checkout .jma-generic-content{padding:24px 0 36px}
body.jma-academy.woocommerce-checkout .woocommerce :is(h2,h3){font-size:22px;line-height:1.7;margin-bottom:16px}
body.jma-academy.woocommerce-checkout #customer_details .checkout-payment>.order-details-heading,
body.jma-academy.woocommerce-checkout #customer_details .cart-contents-wrapper{display:none}
body.jma-academy.woocommerce-checkout .woocommerce-notices-wrapper{padding:0;border:0;box-shadow:none;background:none;margin-bottom:12px}
body.jma-academy.woocommerce-checkout .woocommerce-notices-wrapper:empty{display:none}
body.jma-academy.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle){padding:0;border:0;box-shadow:none;background:none;margin-bottom:12px}
body.jma-academy.woocommerce-checkout :is(.woocommerce-message,.woocommerce-info){padding:14px 42px 14px 16px;min-height:0;font-size:13px;line-height:1.9;margin-bottom:12px;border-radius:12px;box-shadow:none}
body.jma-academy.woocommerce-checkout .woocommerce-message .wc-forward{display:none}
body.jma-academy.woocommerce-checkout .checkout-payment{padding:20px}
body.jma-academy.woocommerce-checkout .jma-checkout-course{gap:10px!important;font-size:14px;line-height:1.8}
body.jma-academy.woocommerce-checkout .jma-checkout-course img{width:52px!important;height:66px!important;flex-basis:52px!important}
@media(max-width:767px){
 body.jma-academy.woocommerce-checkout .jma-simple-hero{padding-block:20px}
 body.jma-academy.woocommerce-checkout .jma-simple-hero h1{font-size:26px}
 body.jma-academy.woocommerce-checkout .jma-generic-content{padding-block:18px 28px}
 body.jma-academy.woocommerce-checkout .checkout-payment{padding:16px}
 body.jma-academy.woocommerce-checkout .woocommerce :is(h2,h3){font-size:20px}
 body.jma-academy.woocommerce-checkout .jma-checkout-course{font-size:12px;gap:7px!important}
 body.jma-academy.woocommerce-checkout .jma-checkout-course img{width:42px!important;height:54px!important;flex-basis:42px!important}
}

body.jma-academy.woocommerce-checkout .woocommerce-message:has(.wc-forward){display:none}

body.jma-academy.woocommerce-checkout .woocommerce-billing-fields{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
body.jma-academy.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{padding:0!important;border:0!important;box-shadow:none!important;margin-bottom:16px!important}
body.jma-academy.woocommerce-checkout .form-row label{font-size:14px;line-height:1.7;margin-bottom:6px}
body.jma-academy.woocommerce-checkout .woocommerce-info :is(a,button){font-size:13px;line-height:1.8}

body.jma-academy.woocommerce-checkout .shop_table .product-name{width:70%}body.jma-academy.woocommerce-checkout .shop_table .product-total{width:30%}body.jma-academy.woocommerce-checkout .shop_table .woocommerce-Price-amount{white-space:nowrap}

/* Two course cards per row on laptops; one on phones. */
@media(min-width:1024px){body.jma-academy .jma-courses-section .jma-course-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:1120px;gap:24px!important}body.jma-academy .jma-home>.jma-courses-section .jma-section-head{max-width:1120px}body.jma-academy .jma-photo-course{display:flex;flex-direction:column}body.jma-academy .jpc-body{display:flex;flex-direction:column;flex:1}body.jma-academy .jpc-body h3{font-size:21px;line-height:1.7}body.jma-academy .jpc-purchase{margin-top:auto;padding-top:14px}body.jma-academy .jpc-meta{margin-bottom:12px}}

@media(min-width:1024px){body.jma-academy #primary .jma-course-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:1120px!important;width:100%!important;gap:24px!important}}

/* Supplied JMA artwork — 2026-10-29. */
body.jma-academy .jma-home .jma-balanced-hero{background:#f2f6ff url('../images/refresh-20261029/backgrounds/hero-background.jpg') center/cover no-repeat!important}
body.jma-academy .jma-balanced-hero::before{display:none}
body.jma-academy .jma-home .jbh-photo img{object-fit:contain;object-position:center}
body.jma-academy .jma-home>.jma-courses-section,
body.jma-academy .jma-home>.jma-instructors,
body.jma-academy .jma-about-page>.jma-instructors,
body.jma-academy .jma-chat-section{background:#f8faff url('../images/refresh-20261029/backgrounds/content-background.jpg') center top/1920px auto repeat-y}
body.jma-academy .jma-reference{background:#fff url('../images/refresh-20261029/backgrounds/content-background.jpg') center top/1920px auto repeat-y}
body.jma-academy .jma-inner-hero,
body.jma-academy .jma-simple-hero{background:#f3f6fc url('../images/refresh-20261029/backgrounds/inner-banner-light.jpg') center/cover no-repeat}
body.jma-academy .jma-inner-hero::after{display:none}
body.jma-academy .jma-dark-section{background:#0b1f44 url('../images/refresh-20261029/backgrounds/dark-section-background.jpg') center/cover no-repeat;color:#fff}
body.jma-academy .jma-footer-compact{background:#07152f url('../images/refresh-20261029/backgrounds/footer-background.jpg') center/cover no-repeat!important}
body.jma-academy .jma-reference .jr-subscribe{background:#0b1f44 url('../images/refresh-20261029/backgrounds/cta-background.jpg') center/cover no-repeat;border-color:#152d58}
body.jma-academy .jma-reference .jr-subscribe .jr-price,
body.jma-academy .jma-reference .jr-subscribe .jr-price .woocommerce-Price-amount{color:#fff}
body.jma-academy .jpc-cover>img{aspect-ratio:1600/595!important;object-fit:contain!important;object-position:center!important;background:#0b1f44}
body.jma-academy .jma-reference .jr-cover{aspect-ratio:1600/595!important;max-height:none!important;object-fit:contain!important;background:#0b1f44}
body.jma-academy .jma-reference .jr-related img{aspect-ratio:1600/595!important;object-fit:contain!important}
body.jma-academy.woocommerce-checkout .jma-checkout-course img{width:96px!important;height:36px!important;flex:0 0 96px!important;object-fit:contain!important;object-position:center!important;border-radius:5px!important}
@media(max-width:767px){
body.jma-academy.woocommerce-checkout .jma-checkout-course img{width:88px!important;height:33px!important;flex-basis:88px!important}
body.jma-academy .jma-reference .jr-related a{display:block}
body.jma-academy .jma-reference .jr-related img{margin-bottom:10px;width:100%;height:auto;max-height:none}
body.jma-academy .jr-sticky-buy{background:#0b1f44 url('../images/refresh-20261029/backgrounds/inner-banner-dark.jpg') center/cover no-repeat}
}

/* Balance the supplied group portrait against the hero copy. */
@media(min-width:768px){body.jma-academy .jbh-grid{grid-template-columns:280px minmax(0,1fr);max-width:960px;column-gap:32px}body.jma-academy .jbh-photo{align-self:center;height:350px}body.jma-academy .jbh-photo img{height:350px;max-height:none;object-fit:contain}}
@media(max-width:767px) and (min-width:361px){body.jma-academy .jbh-grid{grid-template-columns:132px minmax(0,1fr)}body.jma-academy .jbh-photo,body.jma-academy .jbh-photo img{height:165px}}

/* Align hero with the 1120px course section below. */
@media(min-width:1024px){body.jma-academy .jma-home .jbh-grid{max-width:1120px!important;grid-template-columns:360px minmax(0,1fr);column-gap:44px;row-gap:18px}body.jma-academy .jma-home .jbh-photo{width:360px;height:450px}body.jma-academy .jma-home .jbh-photo img{height:450px;max-height:none}body.jma-academy .jma-home .jbh-copy h1{font-size:clamp(36px,3.4vw,46px)!important}body.jma-academy .jma-home .jbh-copy p{font-size:16px}body.jma-academy .jma-home .jbh-actions{max-width:none}body.jma-academy .jma-home .jbh-actions .jma-btn{min-height:52px;font-size:15px}body.jma-academy .jma-home .jbh-stats{font-size:14px;gap:22px}body.jma-academy .jma-home .jbh-stats strong{font-size:17px!important}}
@media(min-width:768px) and (max-width:1023px){body.jma-academy .jma-home .jbh-grid{max-width:760px!important;grid-template-columns:280px minmax(0,1fr)}}

/* Give the group image the majority of the hero, with compact copy. */
@media(min-width:1024px){body.jma-academy .jma-home .jbh-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);column-gap:32px;row-gap:14px}body.jma-academy .jma-home .jbh-photo{width:100%;height:auto;aspect-ratio:4/5;max-width:none;align-self:stretch}body.jma-academy .jma-home .jbh-photo img{width:100%;height:100%;max-height:none;object-fit:contain}body.jma-academy .jma-home .jbh-copy h1{font-size:clamp(28px,2.6vw,36px)!important;line-height:1.65!important}body.jma-academy .jma-home .jbh-copy p{font-size:14px}body.jma-academy .jma-home .jbh-actions .jma-btn{font-size:13px;min-height:46px;padding-inline:10px}body.jma-academy .jma-home .jbh-stats{font-size:12px;gap:14px}body.jma-academy .jma-home .jbh-stats strong{font-size:14px!important}}
@media(min-width:768px) and (max-width:1023px){body.jma-academy .jma-home .jbh-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);column-gap:24px}body.jma-academy .jma-home .jbh-photo{width:100%;height:auto;aspect-ratio:4/5}body.jma-academy .jma-home .jbh-photo img{width:100%;height:100%;max-height:none}body.jma-academy .jma-home .jbh-copy h1{font-size:27px!important}}

@media(min-width:768px){body.jma-academy .jma-home .jbh-grid{grid-template-areas:"photo ." "photo copy" "photo actions" "photo stats" "photo .";grid-template-rows:minmax(0,1fr) auto auto auto minmax(0,1fr)}}
/* Approved balanced hero: medium portrait right, compact copy left. */
@media(min-width:768px){body.jma-academy .jma-home .jbh-grid{max-width:1120px!important;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);grid-template-areas:"photo ." "photo copy" "photo actions" "photo stats" "photo .";grid-template-rows:minmax(0,1fr) auto auto auto minmax(0,1fr);gap:12px 28px;align-items:center}body.jma-academy .jma-home .jbh-photo{width:100%;max-width:360px;height:auto;aspect-ratio:4/5;justify-self:center;align-self:center;border-radius:18px}body.jma-academy .jma-home .jbh-photo img{width:100%;height:100%;max-height:none;object-fit:contain}body.jma-academy .jma-home .jbh-copy h1{font-size:clamp(27px,2.6vw,34px)!important;line-height:1.65!important;min-height:0;margin-bottom:10px}body.jma-academy .jma-home .jbh-copy p{font-size:14px;line-height:1.9}body.jma-academy .jma-home .jbh-actions{max-width:460px;grid-template-columns:1fr 1fr}body.jma-academy .jma-home .jbh-actions .jma-btn{min-height:46px;font-size:13px;padding:10px 14px}body.jma-academy .jma-home .jbh-stats{font-size:12px;gap:16px}body.jma-academy .jma-home .jbh-stats strong{font-size:14px!important}}
@media(min-width:768px) and (max-width:1023px){body.jma-academy .jma-home .jbh-photo{max-width:300px}body.jma-academy .jma-home .jbh-copy h1{font-size:27px!important}body.jma-academy .jma-home .jbh-actions .jma-btn{font-size:12px;padding-inline:8px}}

@media(min-width:768px){body.jma-academy .jma-home .jbh-grid{max-width:960px!important}}
@media(max-width:767px){body.jma-academy .jma-home .jbh-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"photo" "copy" "actions" "stats";gap:14px}body.jma-academy .jma-home .jbh-photo{width:min(68%,220px);height:auto;aspect-ratio:4/5;justify-self:center}body.jma-academy .jma-home .jbh-photo img{width:100%;height:100%;max-height:none;object-fit:contain}body.jma-academy .jma-home .jbh-copy{text-align:center}body.jma-academy .jma-home .jbh-copy h1{font-size:23px!important;min-height:0;line-height:1.65!important}body.jma-academy .jma-home .jbh-copy p{font-size:13px}body.jma-academy .jma-home .jbh-actions{max-width:400px;justify-self:center}body.jma-academy .jma-home .jbh-stats{justify-content:center}}

/* One shared, visible header on the home page and internal pages. */
body.jma-academy header.jma-site-header.jma-unified-header{position:sticky;top:0;z-index:1000;background:#ffffffF5;border-bottom:1px solid #e3e9f3;backdrop-filter:blur(10px)}
body.jma-academy header.jma-unified-header .jma-nav-wrap{width:calc(100% - 40px);max-width:1120px!important;height:72px!important;display:flex;gap:24px}
body.jma-academy header.jma-unified-header .jma-brand{flex:none;gap:9px}
body.jma-academy header.jma-unified-header .jma-brand-mark{width:42px;height:42px;flex:0 0 42px}
body.jma-academy header.jma-unified-header .jma-brand-mark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
body.jma-academy header.jma-unified-header .jma-brand-copy strong{font-size:13px;white-space:nowrap}
body.jma-academy header.jma-unified-header .jma-brand-copy small{font-size:9px}
body.jma-academy header.jma-site-header.jma-unified-header .jma-primary-nav{display:flex!important;position:static!important;inset:auto!important;opacity:1!important;visibility:visible!important;transform:none!important;width:auto!important;max-height:none!important;overflow:visible!important;flex:1;margin:0!important;padding:0!important;align-items:center;justify-content:center;gap:12px;background:transparent;border:0;box-shadow:none;direction:ltr}
body.jma-academy header.jma-site-header.jma-unified-header .jma-primary-nav a{display:flex!important;align-items:center;justify-content:center;min-height:44px;padding:10px 9px!important;font-size:13px!important;line-height:1.6;white-space:nowrap;border-radius:8px;color:#34445c}
body.jma-academy header.jma-unified-header .jma-primary-nav a.is-active{color:#1e4fd8;background:#edf3ff}
body.jma-academy header.jma-unified-header .jma-primary-nav a:after{display:none!important}
body.jma-academy header.jma-unified-header .jma-header-actions{display:flex;flex:none;gap:8px;margin:0!important}
body.jma-academy header.jma-site-header.jma-unified-header .jma-account-link{display:flex!important;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;font-size:13px;border-radius:10px;background:#ffb800;color:#0b1f44;white-space:nowrap}
body.jma-academy header.jma-site-header.jma-unified-header .jma-menu-toggle{display:none!important;margin:0!important;flex:0 0 44px;width:44px;height:44px;background:#fff;border:1px solid #dce5f2}
@media(max-width:999px){
 body.jma-academy header.jma-unified-header .jma-nav-wrap{height:64px!important;gap:12px}
 body.jma-academy header.jma-unified-header .jma-header-actions{margin-inline-start:auto!important}
 body.jma-academy header.jma-site-header.jma-unified-header .jma-menu-toggle{display:block!important}
 body.jma-academy header.jma-site-header.jma-unified-header .jma-primary-nav{display:none!important;position:absolute!important;inset:auto!important;top:calc(100% + 6px)!important;left:16px!important;right:auto!important;width:min(320px,calc(100vw - 32px))!important;max-height:calc(100dvh - 88px)!important;overflow-y:auto!important;padding:10px!important;background:#fff;border:1px solid #e3e9f3;border-radius:14px;box-shadow:0 14px 35px #0b1f4420}
 body.jma-academy header.jma-site-header.jma-unified-header .jma-primary-nav.is-open{display:grid!important;gap:2px}
 body.jma-academy header.jma-site-header.jma-unified-header .jma-primary-nav a{justify-content:flex-start;padding:11px 14px!important;font-size:14px!important}
}
@media(max-width:767px){
 body.jma-academy header.jma-unified-header .jma-nav-wrap{width:calc(100% - 32px);gap:8px}
 body.jma-academy header.jma-unified-header .jma-brand-mark{width:36px;height:36px;flex-basis:36px}
 body.jma-academy header.jma-unified-header .jma-brand-copy strong{font-size:11px}
 body.jma-academy header.jma-unified-header .jma-brand-copy small{display:none}
 body.jma-academy header.jma-site-header.jma-unified-header .jma-account-link{font-size:11px;padding-inline:12px}
}
@media(max-width:360px){body.jma-academy header.jma-unified-header .jma-brand-copy{display:none!important}}
body.admin-bar.jma-academy header.jma-unified-header{top:32px}
@media(max-width:782px){body.admin-bar.jma-academy header.jma-unified-header{top:46px}}
/* Consistent supplied backgrounds across existing published sections. */
body.jma-academy .jma-courses-section,
body.jma-academy .jma-generic-content,
body.jma-academy .jma-inner-page>.jma-section:not(.jma-dark-section){background:#f8faff url('../images/refresh-20261029/backgrounds/content-background.jpg') center top/1920px auto repeat-y}
body.jma-academy .jma-chat-header{background:#0b1f44 url('../images/refresh-20261029/backgrounds/inner-banner-dark.jpg') center/cover no-repeat;color:#fff}
body.jma-academy .jma-contact-card-primary{background:linear-gradient(#07152f66,#07152f99),url('../images/refresh-20261029/backgrounds/dark-section-background.jpg') center/cover no-repeat;color:#fff}
