/*
 * Tech Learning Academy official typography and logo system.
 * Fonts: Montserrat (display) + Inter (reading and UI).
 * v20261105-brand1; preserve existing readable font-size scale.
 */
:root {
 --tla-font-display: "Montserrat", Arial, sans-serif;
 --tla-font-body: "Inter", Arial, sans-serif;
}
body.tla-site-view,
body.tutor-frontend,
body.single-courses,
body.single-lesson,
body.single-post,
body.single-tutor_quiz,
body.single-tutor_assignments {
 font-family:var(--tla-font-body)!important;
 font-feature-settings:"kern";
 font-optical-sizing:auto;
 -webkit-font-smoothing:antialiased;
 text-rendering:optimizeLegibility;
}
body.tla-site-view h1,body.tla-site-view h2,body.tla-site-view h3,body.tla-site-view h4,body.tla-site-view h5,body.tla-site-view h6,
body.tutor-frontend h1,body.tutor-frontend h2,body.tutor-frontend h3,body.tutor-frontend h4,body.tutor-frontend h5,body.tutor-frontend h6,
body.single-courses h1,body.single-courses h2,body.single-courses h3,body.single-courses h4,body.single-courses h5,body.single-courses h6,
body.single-lesson h1,body.single-lesson h2,body.single-lesson h3,body.single-lesson h4,body.single-lesson h5,body.single-lesson h6,
.tutor-dashboard h1,.tutor-dashboard h2,.tutor-dashboard h3,.tutor-dashboard h4,.tutor-dashboard h5,
.tutor-course-single-sidebar-title,.tutor-course-topic-title,
.tla-ref-stat-count,.tla-ref-coming-cover strong {
 font-family:var(--tla-font-display)!important;
 letter-spacing:-.025em;
 text-wrap:pretty;
}
body.tla-site-view :is(p,li,dd,dt,blockquote,small,summary,a,label,button,input,select,textarea,form),
body.tutor-frontend :is(p,li,dd,dt,blockquote,small,summary,a,label,button,input,select,textarea,form),
body.single-courses :is(p,li,dd,dt,blockquote,small,summary,a,label,button,input,select,textarea,form),
.tutor-dashboard,
.tutor-wrap,.tutor-form-control,.tutor-btn,.tutor-text-center,
.tutor-dashboard-left-menu {
 font-family:var(--tla-font-body)!important;
}
body.tla-site-view :is(.tla-ref-eyebrow,.tla-kicker,.tla-ref-stat-count),
body.tla-site-view :is(.tla-page-header h1,.tla-ref-course h3,.tla-role-card h2),
body.tla-site-view .tla-ref-course .tla-ref-coming-cover strong {
 font-family:var(--tla-font-display)!important;
}
body.tla-site-view .tla-ref-copy h1,
body.tla-site-view .tla-ref-section-head h2,
body.tla-site-view .tla-ref-benefits h2,
body.tla-site-view .tla-ref-cta h2,
body.tla-site-view .tla-ref-benefit h3,
body.tla-site-view .tla-ref-step h3,
body.tla-site-view .tla-ref-review-empty h3 {
 font-family:var(--tla-font-display)!important;
}
/* Long-form text stays relaxed and easy to scan. */
body.tla-site-view .tla-ref-home p,
body.tla-site-view .tla-page-content p,
body.tutor-frontend .tutor-course-details-page p,
body.tutor-frontend .tutor-course-details-page li,
body.tutor-frontend .tutor-single-lesson-wrap p {
 line-height:1.65;
}
body.tla-site-view .tla-ref-course-body h3 {
 min-height:0;
 line-height:1.35;
 overflow-wrap:anywhere;
}
body.tla-site-view .tla-ref-section-head h2,
body.tla-site-view .tla-page-header h1{
 line-height:1.18;
}
body.tla-site-view .tla-ref-copy h1 {line-height:1.12;}
/* Header primary logo: original wordmark proportions (880x240). */
body.tla-site-view .tla-ref-site-header .tla-header-inner{min-height:78px}
body.tla-site-view .tla-ref-logo img{
 width:clamp(175px,15.6vw,207px)!important;
 height:auto!important;
 object-fit:contain;
}
body.tla-site-view .tla-ref-site-header .tla-ref-logo{line-height:0;display:block;flex-shrink:0}
body.tla-site-view .tla-ref-site-header .tla-navigation>a{
 font-family:var(--tla-font-body)!important;
 font-weight:650;
 letter-spacing:0;
}
body.tla-site-view .tla-ref-site-header .tla-nav-actions>a{
 font-family:var(--tla-font-body)!important;
 font-weight:700;
}
body.tla-site-view .tla-reference-footer .tla-ref-footer-logo img{
 width:192px!important;
 height:auto!important;
 object-fit:contain;
}
body.tla-site-view .tla-reference-footer .tla-footer-top {align-items:start;}
/* Native WordPress theme header on Tutor course detail and article pages. */
body.single-courses .site-header .site-branding,
body.single-post .site-header .site-branding{
 display:flex;
 align-items:center;
 min-height:68px;
}
body.single-courses .site-header .site-branding .site-title,
body.single-post .site-header .site-branding .site-title{display:none}
body.single-courses .site-branding .custom-logo,
body.single-post .site-branding .custom-logo{
 width:201px!important;
 height:auto!important;
 max-width:100%;
 object-fit:contain;
}
body.single-courses .site-branding .custom-logo-link,
body.single-post .site-branding .custom-logo-link{
 display:inline-flex;
 align-items:center;
}
body.single-courses .main-navigation a,
body.single-post .main-navigation a{
 font-family:var(--tla-font-body)!important;
 font-size:15px;
 font-weight:650;
}
/* Tutor LMS course player and course interfaces. */
body.tutor-frontend :is(.tutor-fs-1,.tutor-fs-2,.tutor-fs-3,.tutor-fs-4,.tutor-fs-5),
body.tla-site-view :is(.tutor-fs-1,.tutor-fs-2,.tutor-fs-3,.tutor-fs-4,.tutor-fs-5) {
 font-family:var(--tla-font-display)!important;
 font-weight:700;
}
body.tutor-frontend :is(.tutor-fs-6,.tutor-fs-7,.tutor-fs-8),
body.tla-site-view :is(.tutor-fs-6,.tutor-fs-7,.tutor-fs-8),
body.tutor-frontend :is(.tutor-btn,.tutor-form-control,.tutor-form-select),
body.tla-site-view :is(.tutor-btn,.tutor-form-control,.tutor-form-select) {
 font-family:var(--tla-font-body)!important;
}
.tutor-dashboard .tutor-dashboard-menu-item,
.tutor-dashboard .tutor-dashboard-menu-item a,
.tutor-dashboard .tutor-dashboard-menu-item-text,
.tutor-dashboard .tutor-dashboard-content,
.tutor-dashboard .tutor-table,
.tutor-dashboard .tutor-form-control {
 font-family:var(--tla-font-body)!important;
}
/* Student and instructor dashboards should not let oversized headings clip */
.tutor-dashboard .tutor-dashboard-header,
.tutor-dashboard .tutor-dashboard-content {min-width:0}
.tutor-dashboard :is(h1,h2,h3){overflow-wrap:break-word}
/* Lesson player uses compact official icon; do not replace lesson controls. */
body.tutor-frontend .tutor-course-single-header{
 font-family:var(--tla-font-body)!important;
}
body.tutor-frontend .tutor-course-single-header:before{
 content:"";
 display:inline-block;
 width:36px;
 height:36px;
 background:url("brand/tla-brand-icon.svg") center/contain no-repeat;
 vertical-align:middle;
 margin-right:9px;
 flex:0 0 auto;
}
/* Responsive balance with long Montserrat headings and wider wordmark */
@media (max-width:1260px) {
 body.tla-site-view .tla-ref-site-header .tla-nav-toggle{
  display:block;
  order:3;
 }
 body.tla-site-view .tla-ref-site-header .tla-navigation{
  display:none;
  position:absolute;
  left:0;right:0;top:100%;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  padding:20px 28px 25px;
  background:#fff;
  border-block:1px solid #DFE7F2;
  box-shadow:0 15px 23px rgba(16,29,53,.10);
 }
 body.tla-site-view .tla-ref-site-header .tla-navigation.is-open{display:flex}
 body.tla-site-view .tla-ref-site-header .tla-navigation>a{font-size:16px;padding:9px 13px}
 body.tla-site-view .tla-ref-site-header .tla-nav-actions{margin:8px 0 0;gap:12px;flex-wrap:wrap}
}
@media(max-width:700px){
 body.tla-site-view .tla-ref-site-header .tla-header-inner {min-height:70px}
 body.tla-site-view .tla-ref-logo img{width:175px!important}
 body.tla-site-view .tla-ref-copy h1{line-height:1.14}
 body.tla-site-view .tla-ref-cta{gap:17px}
 body.tla-site-view .tla-ref-course-grid{gap:17px}
 .tutor-dashboard .tutor-dashboard-left-menu:before{width:150px;height:50px}
}
@media(max-width:450px){
 body.tla-site-view .tla-ref-logo img{width:162px!important}
 body.tla-site-view .tla-ref-copy h1{letter-spacing:-.022em!important}
 body.tla-site-view .tla-ref-course-body h3{overflow-wrap:anywhere}
}

/* Tutor LMS 4.2 actual student/instructor dashboard structure. */
body .tutor-dashboard-layout,
body .tutor-dashboard-layout :is(p,li,span,small,label,a,button,input,select,textarea,table,th,td),
body .tutor-dashboard-layout .tutor-dashboard-sidebar-nav,
body .tutor-dashboard-layout .tutor-dashboard-main,
body .tutor-dashboard-layout .tutor-dashboard-header {
 font-family:var(--tla-font-body)!important;
}
body .tutor-dashboard-layout :is(h1,h2,h3,h4,h5,h6,.tutor-h1,.tutor-h2,.tutor-h3,.tutor-h4,.tutor-h5,.tutor-h6,.tutor-fs-1,.tutor-fs-2,.tutor-fs-3,.tutor-fs-4,.tutor-fs-5),
body .tutor-dashboard-layout .tutor-dashboard-home-card-title,
body .tutor-dashboard-layout .tutor-dashboard-page-title {
 font-family:var(--tla-font-display)!important;
 letter-spacing:-.02em;
}
body .tutor-dashboard-layout .tutor-dashboard-sidebar-logo{
 display:flex;
 align-items:center;
 justify-content:center;
 min-height:83px;
 padding:12px 18px;
}
body .tutor-dashboard-layout .tutor-dashboard-sidebar-logo .tutor-brand-logo{
 display:block;
 width:100%;
 max-width:203px;
}
body .tutor-dashboard-layout .tutor-dashboard-sidebar-logo .tutor-brand-logo img{
 display:block;
 width:100%;
 height:auto;
 max-height:68px;
 object-fit:contain;
}
body .tutor-dashboard-layout .tutor-dashboard-sidebar-nav a{
 font-size:15px;
 line-height:1.5;
}
/* Actual course-player elements, including video sidebar and lesson notes. */
body .tutor-course-single,
body .tutor-course-single :is(p,li,small,label,a,button,input,select,textarea),
body .tutor-course-single .tutor-course-single-sidebar,
body .tutor-course-single .tutor-course-single-content-wrapper {
 font-family:var(--tla-font-body)!important;
}
body .tutor-course-single :is(h1,h2,h3,h4,h5,h6,.tutor-h1,.tutor-h2,.tutor-h3,.tutor-h4,.tutor-h5,.tutor-h6) {
 font-family:var(--tla-font-display)!important;
}
body .tutor-course-single :is(code,pre,kbd,samp),
body .tutor-dashboard-layout :is(code,pre,kbd,samp){
 font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;
}
@media(max-width:730px){
 body .tutor-dashboard-layout .tutor-dashboard-sidebar-logo{min-height:68px}
 body .tutor-dashboard-layout .tutor-dashboard-sidebar-logo .tutor-brand-logo{max-width:173px}
}
