/* Exact academy brand palette */
:root {
 --primary-color: #0B5639;
 --secondary-color: #D7B45B;
 --background-color: #FAF8F1;
 --dark-color: #173D30;
 --white-color: #FFFFFF;
 --text-color: #222222;
}
::selection{background:var(--secondary-color);color:var(--dark-color)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--secondary-color);outline-offset:3px}
body { font-family: 'Inter', sans-serif; }
.feature-card { border: 1px solid #e5e7eb; border-radius: 1rem; padding: 1.25rem; background: white; transition: .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(4,58,49,.09); }
.feature-card h3 { margin-top: .9rem; font-size: .95rem; font-weight: 700; color: #173D30; }
.feature-card p { margin-top: .6rem; font-size: .8rem; line-height: 1.5; color: #64748b; }
.feature-icon { width: 2.7rem; height: 2.7rem; border-radius: 999px; display:grid; place-items:center; background:#FAF8F1; font-size:1.25rem; }
.course-card { overflow:hidden; border:1px solid #e5e7eb; border-radius:1rem; background:white; transition:.25s ease; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(4,58,49,.09); }
.course-card img { width:100%; height:145px; object-fit:cover; }
.course-card div { padding:1rem; text-align:center; }
.course-card h3 { font-weight:700; color:#173D30; }
.course-card p { margin-top:.35rem; font-size:.78rem; color:#64748b; }
.teacher-card { overflow:hidden; border:1px solid #e5e7eb; border-radius:1rem; background:white; display:flex; min-height:180px; }
.teacher-card img { width:42%; object-fit:cover; }
.teacher-card div { padding:1rem; }
.teacher-card h3 { font-size:.9rem; font-weight:700; color:#173D30; }
.teacher-card p { margin-top:.5rem; font-size:.75rem; color:#64748b; }
.teacher-card span { display:block; margin-top:.8rem; font-size:.7rem; color:#475569; }
.testimonial { border:1px solid rgba(255,255,255,.14); border-radius:1.25rem; background:rgba(255,255,255,.05); padding:1.5rem; line-height:1.8; }

/* Final polish: restrained green/gold, accessible controls and mobile refinements */
html{scroll-padding-top:100px}body{overflow-x:hidden; -webkit-font-smoothing:antialiased}
a,button{transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease}
button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}
article img,main img{max-width:100%}main article{isolation:isolate}
main article:has(> .relative img):hover{box-shadow:0 18px 40px rgba(5,53,37,.12)}
input,select,textarea{min-width:0;max-width:100%}::placeholder{color:#94a3b8}
.prose{overflow-wrap:anywhere}.prose img{border-radius:1rem;max-width:100%;height:auto}
@media(max-width:767px){h1{overflow-wrap:break-word}.font-display.text-6xl,.font-display.text-5xl{font-size:clamp(2.2rem,10vw,3.25rem);line-height:1.13}#mobileMenu{max-height:78vh;overflow-y:auto}#trialModal .relative{padding:1.25rem}.testimonial{padding:1.25rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Course descriptions: rich content managed in Admin > Courses. */
.tq-course-rich-text{color:#425269;font-size:1.065rem;line-height:1.95;overflow-wrap:anywhere}
.tq-course-rich-text h2{font-family:Georgia,serif;color:#173d30;font-size:clamp(1.55rem,3vw,2rem);line-height:1.28;margin:2rem 0 .75rem;font-weight:700}
.tq-course-rich-text h3{font-family:Georgia,serif;color:#173d30;font-size:1.45rem;line-height:1.4;margin:1.6rem 0 .5rem;font-weight:700}
.tq-course-rich-text h2:first-child,.tq-course-rich-text h3:first-child{margin-top:0}
.tq-course-rich-text p{margin:.8rem 0 1.15rem}
.tq-course-rich-text ul,.tq-course-rich-text ol{padding-left:1.65rem;margin:1.1rem 0 1.6rem}
.tq-course-rich-text ul{list-style:disc}.tq-course-rich-text ol{list-style:decimal}
.tq-course-rich-text li{padding-left:.25rem;margin:.4rem 0}
.tq-course-rich-text strong{font-weight:700;color:#173d30}
.tq-course-rich-text blockquote{border-left:4px solid #d7b45b;padding:1rem 1.3rem;margin:1.5rem 0;background:#faf8f1;border-radius:0 12px 12px 0}
.tq-course-rich-text a{color:#0b5639;text-decoration:underline;text-underline-offset:3px}
.tq-course-rich-text img{max-width:100%;height:auto;border-radius:16px;margin:1.5rem 0}


/* v9 native social buttons: consistent on cards, course pages and footer */
.tq-share-bar{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:20px;padding-top:14px;border-top:1px solid rgba(17,61,48,.12)}
.tq-share-compact{margin-top:16px;padding-top:12px}
.tq-share-label{font-size:12px;line-height:1.3;color:#5b6f68;font-weight:700;margin-right:3px}
.tq-share-btn,.tq-footer-social{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:37px;height:37px;border:1px solid rgba(11,86,57,.17);border-radius:11px;background:#ecf5ef;color:#0b5639;text-decoration:none;cursor:pointer;transition:background .18s,transform .18s,border-color .18s}
.tq-share-btn:hover{background:#dceee0;border-color:#ccae5f;transform:translateY(-2px)}
.tq-footer-social{width:39px;height:39px;border:1px solid rgba(225,197,119,.36);background:rgba(255,255,255,.10);color:#fff}
.tq-footer-social:hover{background:#d7b45b;color:#143b30;transform:translateY(-2px)}
.tq-share-btn:focus-visible,.tq-footer-social:focus-visible{outline:3px solid #d7b45b;outline-offset:2px}
@media(max-width:380px){.tq-share-bar{gap:5px}.tq-share-btn{width:35px;height:35px}}
