/* tpm-academy 1.1.2: pages built from our HTML (body.tpma-page). Belt and braces: canvas.php already drops the theme chrome; these rules also work if a theme template still wraps the content. */
.tpma-page .fl-page-header,.tpma-page .fl-page-nav-wrap,.tpma-page .fl-page-bar,.tpma-page .fl-post-header,.tpma-page .fl-page-footer-wrap,.tpma-page .entry-header,.tpma-page .page-header,.tpma-page h1.entry-title{display:none!important}
.tpma-page,.tpma-page .fl-page,.tpma-page .fl-page-content{background:#fff!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important}
.tpma-page .fl-content-full.container,.tpma-page .fl-content-full,.tpma-page .container{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
.tpma-page .fl-content-full>.row{margin:0!important}
.tpma-page .fl-content,.tpma-page .fl-post,.tpma-page .fl-post-content{padding:0!important;margin:0!important;float:none!important;width:100%!important;max-width:none!important}
.tpma-page .fl-post-content>.tpm{margin:0!important}
/* stray wpautop output inside our markup */
.tpm .tnav p,.tpm .tnav .wrap>p,.tpm .row>p,.tpm .grid>p,.tpm footer .wrap>p:empty,.tpm>p,.tpm .wrap>p:empty{display:contents}
.tpm br.tpma-x{display:none}
/* theme typography must not win inside our pages */
body .tpm h1,body .tpm h2,body .tpm h3{font-family:Montserrat,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
body .tpm h1,body .tpm h2,body .tpm h3,body .tpm h1 a,body .tpm h2 a{color:#0A2342}
body .tpm .hero h1,body .tpm .hero h2,body .tpm .hero h3,body .tpm .dark h1,body .tpm .dark h2,body .tpm .dark h3,body .tpm .cta h2,body .tpm footer h2,body .tpm footer h3{color:#fff!important}
body .tpm .hero .lead,body .tpm .dark p{color:#d7e3ee}
body .tpm .hero .eyebrow{color:#B7D98F!important}
/* header: one-line logo, Menu always fully visible */
body .tpm .tnav .wrap{padding-left:16px;padding-right:16px;gap:12px;flex-wrap:nowrap}
body .tpm .tnav .logo{white-space:nowrap;min-width:0;flex:0 1 auto;line-height:1.1}
body .tpm .tnav .logo i{flex:0 0 auto}
body .tpm .mnav{flex:0 0 auto}
body .tpm .mnav summary{white-space:nowrap}
@media(max-width:480px){body .tpm .tnav .logo{font-size:1rem;gap:8px}body .tpm .tnav .logo i{width:30px;height:30px}body .tpm .mnav summary{padding:9px 12px}}
@media(max-width:360px){body .tpm .mnav summary span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
html body.tpma-page{overflow-x:hidden}
/* chrome pages (course landing, shop, cart, checkout, account): hide BB header/footer, our header/footer are injected */
.tpma-chrome-page .fl-page-header,.tpma-chrome-page .fl-page-bar,.tpma-chrome-page .fl-page-nav-wrap,.tpma-chrome-page .fl-page-footer-wrap{display:none!important}
.tpma-chrome-page .tpma-chrome{font-size:16px}
.tpma-chrome-page .tpma-chrome .foot{margin-top:60px}
.tpma-chrome-page .fl-post-header,.tpma-chrome-page .fl-content-full{font-family:'Open Sans',system-ui,sans-serif}
.tpma-chrome-page .fl-post-title,.tpma-chrome-page .woocommerce-products-header__title,.tpma-chrome-page .entry-title{font-family:Montserrat,Arial,sans-serif!important;color:#0A2342!important;font-weight:700!important}
/* LearnDash/tpma dark heroes: theme h1 colour must not win */
body .tpma .tpma-hero h1,body .tpma .tpma-hero h2,body .tpma-app h1,body .tpma-app h2,body .tpma .tpma-dark h2{color:#fff!important;font-family:Montserrat,Arial,sans-serif!important}
body .tpma h1,body .tpma h2,body .tpma h3{font-family:Montserrat,Arial,sans-serif;letter-spacing:0;text-transform:none}

/* 1.3.0 brand */
.tpm,.tpma,.tpma-app{--ink:#0A2342;--teal:#063C6C;--teal2:#052F55;--gold:#669630;--sage:#42842A;--paper:#F6F9F2;--mist:#EEF3F9}
