/*
Theme Name: CourseMerit
Theme URI: https://coursemerit.com/
Author: CourseMerit
Description: Lightweight, SEO-ready academic services WordPress theme with a modern EdTech marketplace design.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: coursemerit
License: GPL-2.0-or-later
*/

:root{--cm-primary:#142B4A;--cm-primary-dark:#0B1C33;--cm-blue:#2D7FF9;--cm-cyan:#22B8CF;--cm-accent:#F59E5B;--cm-surface:#F5F8FC;--cm-text:#1D2939;--cm-muted:#667085;--cm-border:#E4EAF2;--cm-white:#fff;--cm-shadow:0 18px 45px rgba(20,43,74,.10);--cm-radius:18px;--cm-container:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--cm-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65;background:#fff}img{max-width:100%;height:auto}a{color:var(--cm-blue);text-decoration:none}a:hover{text-decoration:none}.cm-container{width:min(calc(100% - 40px),var(--cm-container));margin-inline:auto}.cm-skip{position:absolute;left:-9999px;top:8px;background:#fff;padding:10px 14px;z-index:999}.cm-skip:focus{left:8px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cm-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid transparent;transition:.2s}.cm-header.is-scrolled{box-shadow:0 8px 30px rgba(20,43,74,.08);border-color:var(--cm-border)}.cm-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.cm-logo{display:flex;align-items:center;gap:9px;color:var(--cm-primary);font-weight:800;font-size:21px;letter-spacing:-.6px}.cm-logo>span:last-child>span{color:var(--cm-blue)}.cm-logo-mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--cm-primary),var(--cm-blue));display:grid;place-items:center;color:#fff;font-weight:800;box-shadow:0 8px 20px rgba(45,127,249,.25)}.cm-nav{display:flex;align-items:center;gap:22px}.cm-menu{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.cm-menu a{color:#475467;font-weight:600;font-size:14px}.cm-menu a:hover{color:var(--cm-blue)}.cm-nav-actions{display:flex;align-items:center;gap:15px}.cm-login{font-weight:700;color:var(--cm-primary);font-size:14px}.cm-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:11px;padding:13px 20px;font-weight:750;line-height:1.2;border:1px solid transparent;transition:transform .18s,box-shadow .18s,background .18s}.cm-btn:hover{transform:translateY(-1px)}.cm-btn-small{padding:10px 16px}.cm-btn-primary{background:var(--cm-primary);color:#fff;box-shadow:0 8px 18px rgba(20,43,74,.15)}.cm-btn-primary:hover{background:var(--cm-primary-dark);color:#fff}.cm-btn-accent{background:var(--cm-accent);color:#1c2938;box-shadow:0 10px 22px rgba(245,158,91,.24)}.cm-btn-outline-light{border-color:rgba(255,255,255,.35);color:#fff}.cm-btn-outline-light:hover{background:#fff;color:var(--cm-primary)}.cm-btn-outline{border-color:var(--cm-border);color:var(--cm-primary);margin-left:10px}.cm-menu-toggle{display:none}
.cm-hero{background:linear-gradient(135deg,#142B4A 0%,#1A4775 58%,#2D7FF9 100%);color:#fff;overflow:hidden;position:relative}.cm-hero:after{content:"";position:absolute;width:500px;height:500px;border-radius:50%;right:-180px;top:-240px;background:rgba(34,184,207,.14)}.cm-hero-grid{min-height:650px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:50px;padding:70px 0}.cm-eyebrow,.cm-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.cm-eyebrow{display:inline-flex;gap:8px;align-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:7px 11px;margin-bottom:20px}.cm-dot{width:7px;height:7px;border-radius:50%;background:#66e3f0}.cm-hero h1{font-size:clamp(2.7rem,5vw,4.55rem);line-height:1.03;letter-spacing:-.055em;margin:0 0 22px;max-width:700px;color:#fff}.cm-hero-text{font-size:18px;color:rgba(255,255,255,.82);max-width:640px;margin:0 0 28px}.cm-actions{display:flex;gap:12px;flex-wrap:wrap}.cm-trust-mini{display:flex;gap:20px;flex-wrap:wrap;margin-top:24px;color:rgba(255,255,255,.76);font-size:13px;font-weight:600}.cm-hero-visual{min-height:450px;position:relative;display:grid;place-items:center}.cm-orbit{position:absolute;border:1px solid rgba(255,255,255,.15);border-radius:50%}.cm-orbit-one{width:430px;height:430px}.cm-orbit-two{width:310px;height:310px}.cm-dashboard-card{position:relative;width:min(410px,100%);padding:26px;border-radius:22px;background:#fff;color:var(--cm-text);box-shadow:0 30px 70px rgba(5,22,45,.28);z-index:2}.cm-dash-top,.cm-dash-meta,.cm-progress-label,.cm-expert-mini{display:flex;align-items:center}.cm-dash-top{justify-content:space-between;font-size:12px;color:var(--cm-muted);font-weight:700}.cm-status{color:#087443;background:#E9F9F0;padding:5px 8px;border-radius:999px}.cm-dashboard-card h3{margin:22px 0 4px;font-size:24px;color:var(--cm-primary)}.cm-dash-meta{gap:8px;color:var(--cm-muted);font-size:13px}.cm-progress{height:8px;border-radius:20px;background:#E9EEF5;margin:25px 0 8px;overflow:hidden}.cm-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--cm-blue),var(--cm-cyan));border-radius:20px}.cm-progress-label{justify-content:space-between;font-size:12px;color:var(--cm-muted)}.cm-progress-label b{color:var(--cm-primary)}.cm-expert-mini{gap:10px;border-top:1px solid var(--cm-border);margin-top:20px;padding-top:18px}.cm-avatar,.cm-expert-avatar{display:grid;place-items:center;background:linear-gradient(135deg,#DCEAFF,#BFEAF0);color:var(--cm-primary);font-weight:800}.cm-avatar{width:40px;height:40px;border-radius:50%}.cm-expert-mini strong,.cm-expert-mini small{display:block}.cm-expert-mini small{font-size:11px;color:var(--cm-muted)}.cm-star{margin-left:auto;color:#E58A21;font-size:12px;font-weight:800}.cm-floating-card{position:absolute;background:#fff;color:var(--cm-primary);border-radius:14px;box-shadow:var(--cm-shadow);padding:12px 15px;z-index:3}.cm-float-review{top:55px;right:0}.cm-float-review b,.cm-float-review span{display:block}.cm-float-review b{color:#E58A21}.cm-float-review span{font-size:11px;color:var(--cm-muted)}.cm-float-secure{left:0;bottom:60px;display:flex;align-items:center;gap:10px}.cm-shield{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#E9F9F0;color:#087443;font-weight:900}.cm-float-secure b,.cm-float-secure small{display:block}.cm-float-secure small{font-size:11px;color:var(--cm-muted)}
.cm-trustbar{background:#fff;border-bottom:1px solid var(--cm-border)}.cm-stats{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0}.cm-stats div{padding:0 25px;border-right:1px solid var(--cm-border)}.cm-stats div:first-child{padding-left:0}.cm-stats div:last-child{border:0}.cm-stats strong,.cm-stats span{display:block}.cm-stats strong{font-size:22px;color:var(--cm-primary)}.cm-stats span{font-size:13px;color:var(--cm-muted)}
.cm-section{padding:90px 0}.cm-section-soft{background:var(--cm-surface)}.cm-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}.cm-kicker{color:var(--cm-blue)}.cm-kicker-light{color:#8FE5EE}.cm-section h2,.cm-centered-head h2,.cm-benefits h2,.cm-faq-layout h2{font-size:clamp(2rem,3.5vw,3rem);letter-spacing:-.035em;margin:7px 0 0;color:var(--cm-primary);line-height:1.1}.cm-text-link{font-weight:750}.cm-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cm-service-card{padding:28px;background:#fff;border:1px solid var(--cm-border);border-radius:var(--cm-radius);transition:.2s;box-shadow:0 5px 18px rgba(20,43,74,.03)}.cm-service-card:hover{transform:translateY(-4px);box-shadow:var(--cm-shadow);border-color:#D4E2F5}.cm-icon{width:48px;height:48px;border-radius:14px;background:#EAF3FF;color:var(--cm-blue);display:grid;place-items:center;font-size:22px;font-weight:800}.cm-service-card h3{margin:21px 0 8px;color:var(--cm-primary);font-size:20px}.cm-service-card p{color:var(--cm-muted);font-size:14px;margin:0 0 20px}.cm-service-card a,.cm-expert a{font-weight:750}.cm-subject-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cm-subject{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--cm-border);padding:18px 20px;border-radius:13px;color:var(--cm-primary);font-weight:700;transition:.2s}.cm-subject:hover{border-color:#BBD6FA;transform:translateY(-2px);box-shadow:0 10px 25px rgba(20,43,74,.06)}.cm-subject b{color:var(--cm-blue)}.cm-centered-head{text-align:center;max-width:720px;margin:0 auto 48px}.cm-centered-head p{color:var(--cm-muted);margin:12px auto 0}.cm-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.cm-step{position:relative;padding:30px;border:1px solid var(--cm-border);border-radius:18px;background:#fff}.cm-step>span{font-size:13px;color:var(--cm-blue);font-weight:850}.cm-step h3{font-size:21px;color:var(--cm-primary);margin:20px 0 8px}.cm-step p{color:var(--cm-muted);margin:0}.cm-benefits{background:linear-gradient(135deg,#F5F8FC,#EDF5FF)}.cm-benefit-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:center}.cm-benefit-grid>div:first-child>p{color:var(--cm-muted);max-width:560px;margin:18px 0 25px}.cm-benefit-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.cm-benefit-cards>div{display:flex;gap:14px;background:#fff;border:1px solid var(--cm-border);border-radius:16px;padding:22px}.cm-benefit-cards>div>span{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#EAF3FF;color:var(--cm-blue);display:grid;place-items:center;font-weight:900}.cm-benefit-cards h3{margin:0 0 4px;color:var(--cm-primary);font-size:17px}.cm-benefit-cards p{margin:0;color:var(--cm-muted);font-size:13px}.cm-expert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cm-expert{text-align:center;border:1px solid var(--cm-border);border-radius:18px;padding:30px;background:#fff}.cm-expert-avatar{width:76px;height:76px;border-radius:50%;margin:0 auto 18px;font-size:20px}.cm-expert h3{margin:0;color:var(--cm-primary)}.cm-expert p{color:var(--cm-muted);margin:5px 0}.cm-rating{display:inline-block;margin:10px 0 16px;color:#E58A21;font-weight:800;font-size:13px}.cm-expert a{display:block}.cm-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cm-review{background:#fff;border:1px solid var(--cm-border);padding:28px;border-radius:18px}.cm-stars{letter-spacing:2px;color:#E58A21}.cm-review p{font-size:16px;min-height:80px}.cm-review strong,.cm-review span{display:block}.cm-review strong{color:var(--cm-primary)}.cm-review span{font-size:12px;color:var(--cm-muted)}.cm-faq-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:70px}.cm-faq-layout>div:first-child p{color:var(--cm-muted)}.cm-faq details{border-bottom:1px solid var(--cm-border);padding:18px 0}.cm-faq summary{list-style:none;cursor:pointer;font-weight:750;color:var(--cm-primary);display:flex;justify-content:space-between;gap:20px}.cm-faq summary::-webkit-details-marker{display:none}.cm-faq summary span{color:var(--cm-blue);font-size:20px}.cm-faq details p{color:var(--cm-muted);margin:12px 0 0;font-size:14px}.cm-final-cta{background:var(--cm-primary);color:#fff;padding:70px 0}.cm-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}.cm-final-cta h2{color:#fff;font-size:clamp(2rem,4vw,3.3rem);line-height:1.1;max-width:760px;margin:7px 0 10px;letter-spacing:-.04em}.cm-final-cta p{color:rgba(255,255,255,.72);max-width:680px;margin:0}.cm-footer{background:#0B1C33;color:#B9C6D8;padding:65px 0 0}.cm-footer-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:45px;padding-bottom:55px}.cm-logo-footer{color:#fff}.cm-footer-brand p{max-width:330px;font-size:14px;line-height:1.7}.cm-footer h3{color:#fff;font-size:14px;margin:0 0 15px}.cm-footer ul{list-style:none;margin:0;padding:0}.cm-footer li{margin:8px 0;font-size:13px}.cm-footer a{color:#B9C6D8}.cm-footer a:hover{color:#fff}.cm-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;display:flex;justify-content:space-between;font-size:12px}.cm-content-area{padding-top:45px;padding-bottom:90px}.cm-breadcrumbs{display:flex;gap:9px;font-size:13px;color:var(--cm-muted);margin-bottom:35px}.cm-breadcrumbs a{font-weight:700}.cm-archive-head{margin-bottom:30px}.cm-archive-head h1,.cm-single h1{font-size:clamp(2.2rem,4vw,3.7rem);color:var(--cm-primary);line-height:1.08;letter-spacing:-.04em}.cm-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.cm-post-card{border:1px solid var(--cm-border);border-radius:18px;overflow:hidden;background:#fff}.cm-post-image img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.cm-post-body{padding:24px}.cm-post-meta{font-size:12px;color:var(--cm-muted);font-weight:650}.cm-post-body h2{font-size:21px;line-height:1.25}.cm-post-body h2 a{color:var(--cm-primary)}.cm-post-body p{font-size:14px;color:var(--cm-muted)}.cm-post-body>a{font-weight:750}.cm-single{max-width:850px;margin:0 auto}.cm-single-image{margin:25px 0}.cm-single-image img{width:100%;border-radius:18px}.cm-single-content{font-size:18px}.cm-single-content h2,.cm-single-content h3{color:var(--cm-primary)}.cm-404{text-align:center;padding-top:100px;padding-bottom:120px}.cm-404-mark{font-size:100px;font-weight:900;line-height:1;color:#EAF3FF;color:var(--cm-blue)}.cm-404 h1{font-size:clamp(2.2rem,5vw,4rem);color:var(--cm-primary);margin:10px 0}.cm-404 p{color:var(--cm-muted);margin-bottom:25px}.cm-empty{text-align:center;padding:100px 0}.cm-widget{margin-bottom:25px}
@media (max-width:1050px){.cm-menu{gap:14px}.cm-nav{gap:12px}.cm-hero-grid{grid-template-columns:1fr}.cm-hero-copy{text-align:center}.cm-hero-text{margin-left:auto;margin-right:auto}.cm-actions,.cm-trust-mini{justify-content:center}.cm-hero-visual{min-height:430px}.cm-subject-grid{grid-template-columns:repeat(3,1fr)}.cm-footer-grid{grid-template-columns:1.4fr repeat(2,1fr)}}
@media (max-width:800px){.cm-header-inner{min-height:68px}.cm-menu-toggle{display:grid;place-items:center;gap:4px;background:none;border:0;padding:8px;cursor:pointer;position:relative;z-index:102}.cm-menu-toggle span:not(.screen-reader-text){width:24px;height:2px;background:var(--cm-primary);display:block}.cm-nav{display:none;position:absolute;left:0;right:0;top:68px;background:#fff;padding:20px;width:100%;box-shadow:0 18px 30px rgba(20,43,74,.12);align-items:stretch;flex-direction:column}.cm-nav.is-open{display:flex}.cm-menu{flex-direction:column;align-items:stretch;gap:0}.cm-menu li{border-bottom:1px solid var(--cm-border)}.cm-menu a{display:block;padding:13px 0}.cm-nav-actions{padding-top:14px}.cm-nav-actions .cm-btn{flex:1}.cm-login{padding:10px}.cm-stats{grid-template-columns:repeat(2,1fr);gap:18px}.cm-stats div{border:0;padding:0}.cm-card-grid,.cm-steps,.cm-expert-grid,.cm-review-grid,.cm-post-grid{grid-template-columns:1fr}.cm-subject-grid{grid-template-columns:repeat(2,1fr)}.cm-benefit-grid,.cm-faq-layout{grid-template-columns:1fr;gap:35px}.cm-benefit-cards{grid-template-columns:1fr}.cm-cta-inner{flex-direction:column;align-items:flex-start}.cm-footer-grid{grid-template-columns:1fr 1fr}.cm-footer-brand{grid-column:1/-1}.cm-section{padding:65px 0}.cm-section-head{align-items:flex-start;flex-direction:column}.cm-hero-grid{padding:60px 0}.cm-floating-card{display:none}}
@media (max-width:520px){.cm-container{width:min(calc(100% - 28px),var(--cm-container))}.cm-hero h1{font-size:2.65rem}.cm-hero-text{font-size:16px}.cm-dashboard-card{padding:20px}.cm-orbit{display:none}.cm-subject-grid{grid-template-columns:1fr}.cm-footer-grid{grid-template-columns:1fr}.cm-footer-brand{grid-column:auto}.cm-footer-bottom{flex-direction:column;gap:8px}.cm-stats{grid-template-columns:1fr 1fr}.cm-btn{width:100%}.cm-actions{width:100%}.cm-trust-mini{gap:10px;font-size:12px}.cm-hero-visual{min-height:330px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* CourseMerit v2: single-post layout, sidebar and related content */
.cm-single-post-area{max-width:1260px}
.cm-post-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:50px;align-items:start}
.cm-single-main{max-width:none;margin:0}
.cm-post-header{max-width:900px}
.cm-post-category{display:inline-flex;background:#EAF3FF;color:var(--cm-blue);padding:6px 10px;border-radius:999px;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.cm-post-header h1{font-size:clamp(2.3rem,4.2vw,4.1rem);max-width:900px;margin:14px 0 20px}
.cm-post-author-row{display:flex;align-items:center;gap:11px;color:var(--cm-primary);margin-bottom:28px}
.cm-author-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#DCEAFF,#BFEAF0);font-size:12px;font-weight:850}
.cm-post-author-row strong,.cm-post-author-row span{display:block}
.cm-post-author-row strong{font-size:13px}.cm-post-author-row span{font-size:12px;color:var(--cm-muted)}
.cm-single-body{font-size:18px;line-height:1.78}
.cm-single-body>p:first-child{font-size:20px;color:#344054}
.cm-single-body h2{font-size:30px;margin-top:42px;scroll-margin-top:100px}
.cm-single-body h3{font-size:23px;margin-top:32px;scroll-margin-top:100px}
.cm-single-body img{border-radius:14px}
.cm-inline-toc{display:none}
.cm-sidebar-sticky{position:sticky;top:100px}
.cm-sidebar-card{background:#fff;border:1px solid var(--cm-border);border-radius:17px;padding:22px;margin-bottom:16px;box-shadow:0 8px 25px rgba(20,43,74,.045)}
.cm-sidebar-cta{background:linear-gradient(145deg,#142B4A,#1D4F86);color:#fff;border:0;overflow:hidden;position:relative}
.cm-sidebar-cta:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;background:rgba(34,184,207,.13);right:-75px;top:-75px}
.cm-sidebar-badge{position:relative;z-index:1;font-size:10px;letter-spacing:.12em;font-weight:850;color:#8FE5EE}
.cm-sidebar-cta h2{position:relative;z-index:1;color:#fff;font-size:24px;line-height:1.18;margin:9px 0 10px}
.cm-sidebar-cta p{position:relative;z-index:1;color:rgba(255,255,255,.76);font-size:13px;line-height:1.6}
.cm-sidebar-cta .cm-btn{position:relative;z-index:1;width:100%;margin-top:7px}
.cm-sidebar-note{position:relative;z-index:1;font-size:10px;color:rgba(255,255,255,.62);text-align:center;margin-top:10px}
.cm-sidebar-title{color:var(--cm-primary);font-size:14px!important;margin:0 0 14px!important}
.cm-sidebar-toc ul,.cm-sidebar-trust ul{list-style:none;margin:0;padding:0}
.cm-sidebar-toc li{border-bottom:1px solid #EDF0F4}
.cm-sidebar-toc li:last-child{border-bottom:0}
.cm-sidebar-toc a{display:block;color:#475467;font-size:12px;line-height:1.45;padding:9px 0}
.cm-sidebar-toc a:hover{color:var(--cm-blue)}
.cm-sidebar-toc .cm-toc-level-3{padding-left:13px}
.cm-sidebar-trust li{display:flex;gap:9px;align-items:flex-start;color:#475467;font-size:12px;padding:7px 0}
.cm-sidebar-trust li span{color:#0A8F5B;font-weight:900}
.cm-sidebar-widget{background:#fff;border:1px solid var(--cm-border);border-radius:17px;padding:22px;margin-bottom:16px}
.cm-sidebar-widget ul{padding-left:17px}.cm-sidebar-widget a{font-size:13px}
.cm-post-tags{display:flex;gap:7px;flex-wrap:wrap;border-top:1px solid var(--cm-border);padding-top:25px;margin-top:45px}
.cm-post-tags a{background:var(--cm-surface);border:1px solid var(--cm-border);color:#475467;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:700}
.cm-related-posts{border-top:1px solid var(--cm-border);margin-top:75px;padding-top:60px}
.cm-related-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:28px}
.cm-related-heading h2{font-size:32px;color:var(--cm-primary);margin:6px 0 0;line-height:1.1}
.cm-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cm-related-card{border:1px solid var(--cm-border);background:#fff;border-radius:15px;overflow:hidden;transition:.2s;min-width:0}
.cm-related-card:hover{transform:translateY(-4px);box-shadow:var(--cm-shadow)}
.cm-related-thumb{display:block;aspect-ratio:16/9;background:#EAF3FF;overflow:hidden}
.cm-related-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.cm-related-placeholder{height:100%;display:grid;place-items:center;color:var(--cm-blue);font-weight:850;font-size:15px}
.cm-related-body{padding:17px}
.cm-related-body h3{font-size:17px;line-height:1.25;margin:6px 0 8px}
.cm-related-body h3 a{color:var(--cm-primary)}
.cm-related-body p{font-size:12px;line-height:1.55;color:var(--cm-muted);margin:0 0 13px}
.cm-related-link{font-size:12px;font-weight:800}
.cm-post-bottom-cta{margin-top:65px;border-radius:20px;padding:38px 42px;background:var(--cm-primary);display:flex;align-items:center;justify-content:space-between;gap:30px;color:#fff}
.cm-post-bottom-cta h2{color:#fff;font-size:28px;line-height:1.15;margin:6px 0}
.cm-post-bottom-cta p{margin:0;color:rgba(255,255,255,.7);font-size:14px}
.cm-post-bottom-cta .cm-btn{min-width:170px}
@media(max-width:1050px){.cm-post-layout{grid-template-columns:minmax(0,1fr) 290px;gap:30px}.cm-related-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.cm-post-layout{grid-template-columns:1fr}.cm-post-sidebar{order:2}.cm-sidebar-sticky{position:static}.cm-post-header h1{font-size:2.55rem}.cm-single-body{font-size:17px}.cm-single-body>p:first-child{font-size:18px}.cm-inline-toc{display:block;background:var(--cm-surface);border:1px solid var(--cm-border);border-radius:14px;padding:18px;margin:25px 0}.cm-inline-toc>strong{font-size:13px;color:var(--cm-primary)}.cm-inline-toc ul{list-style:none;padding:8px 0 0;margin:0}.cm-inline-toc li{padding:5px 0}.cm-inline-toc a{font-size:13px;color:#475467}.cm-inline-toc .cm-toc-level-3{padding-left:14px}.cm-related-heading{align-items:flex-start;flex-direction:column}.cm-post-bottom-cta{align-items:flex-start;flex-direction:column;padding:30px}.cm-post-bottom-cta .cm-btn{width:100%}}
@media(max-width:520px){.cm-related-grid{grid-template-columns:1fr}.cm-post-header h1{font-size:2.25rem}.cm-related-posts{margin-top:50px;padding-top:45px}}

/* CourseMerit concept hero v5 - light, premium academic marketplace style */
.cm-hero{background:linear-gradient(135deg,#EAF6FF 0%,#F7FBFF 54%,#E6F3FF 100%);color:var(--cm-primary);min-height:600px;position:relative;isolation:isolate;border-bottom:1px solid #DCEAF8}
.cm-hero:after{display:none}.cm-hero-glow{position:absolute;border-radius:50%;filter:blur(1px);z-index:-1}.cm-hero-glow-one{width:360px;height:360px;right:-110px;top:-140px;background:#D8F5FC}.cm-hero-glow-two{width:260px;height:260px;left:-120px;bottom:-160px;background:#DDEBFF}
.cm-hero-grid{min-height:600px;padding:54px 0 50px;grid-template-columns:1fr 1.05fr;gap:20px}.cm-hero-copy{padding:20px 0 30px;position:relative;z-index:4}.cm-trusted-pill{display:inline-flex;align-items:center;gap:10px;background:#DFF3FF;color:#0B4D9A;border:1px solid #C5E7FB;border-radius:999px;padding:5px 12px 5px 6px;font-size:11px;font-weight:800;margin-bottom:17px}.cm-trusted-avatars{display:flex;align-items:center}.cm-trusted-avatars i{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid #DFF3FF;color:#143B70;font-style:normal;font-size:9px;margin-left:-4px}.cm-trusted-avatars i:first-child{margin-left:0}.cm-eyebrow{display:block;background:none;border:0;color:#1568D8;padding:0;margin-bottom:12px;letter-spacing:.07em}.cm-dot{display:inline-block;background:#F59E0B;vertical-align:middle;margin-right:5px}.cm-hero h1{font-size:clamp(3rem,5vw,4.8rem);line-height:1.01;letter-spacing:-.06em;color:#0C2E67;margin:0 0 19px;max-width:650px}.cm-hero h1 span,.cm-hero h1 em{display:inline}.cm-hero h1 em{font-style:normal;color:#145DDA}.cm-hero-text{font-size:17px;line-height:1.6;color:#35547A;max-width:590px;margin:0 0 25px}.cm-hero-order{background:#FFB20D;color:#13263F;border-color:#FFB20D;box-shadow:0 12px 25px rgba(245,158,11,.24)}.cm-hero-order:hover{background:#F3A500;color:#13263F}.cm-hero-quote{border:1px solid #2D7FF9;color:#1557B5;background:#fff}.cm-hero-quote:hover{background:#EAF3FF;color:#0C2E67}.cm-hero-proof{display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;color:#3F5B7D;font-size:11px}.cm-hero-proof span:first-letter{color:#F59E0B}.cm-hero-proof b{color:#173C70}.cm-concept-visual{min-height:500px;position:relative;display:block}.cm-student-illustration{position:absolute;right:-10px;bottom:-18px;width:min(650px,108%);max-width:none;height:auto;z-index:2}.cm-hero-ring{position:absolute;border-radius:50%;z-index:1}.cm-ring-a{width:430px;height:430px;right:60px;top:25px;background:#BCEBF7}.cm-ring-b{width:300px;height:300px;right:70px;top:100px;background:#FFB30B;mix-blend-mode:multiply;opacity:.88}.cm-hero-badge{position:absolute;z-index:5;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #E1EAF5;border-radius:12px;padding:10px 13px;box-shadow:0 12px 30px rgba(20,65,115,.12);color:#173B6C}.cm-hero-badge>span{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#EAF3FF;color:#1267DF;font-weight:900}.cm-hero-badge b,.cm-hero-badge small{display:block}.cm-hero-badge b{font-size:11px}.cm-hero-badge small{font-size:9px;color:#6A7E96;margin-top:2px}.cm-badge-expert{left:0;top:95px}.cm-badge-delivery{right:0;top:135px}.cm-badge-original{right:10px;bottom:105px}.cm-badge-original>span{background:#FFF5DA;color:#E79800}.cm-hero-rating{position:absolute;z-index:6;left:90px;bottom:28px;background:#fff;border:1px solid #E1EAF5;border-radius:12px;padding:9px 14px;box-shadow:0 12px 30px rgba(20,65,115,.12)}.cm-hero-rating strong{display:block;color:#F5A400;font-size:13px;letter-spacing:2px}.cm-hero-rating span{display:block;color:#667085;font-size:9px;margin-top:2px}.cm-trustbar{background:#fff}.cm-stats strong{color:#0C2E67}.cm-section h2,.cm-centered-head h2,.cm-benefits h2,.cm-faq-layout h2{color:#0C2E67}.cm-service-card{box-shadow:0 5px 20px rgba(30,70,120,.035)}
@media(max-width:1050px){.cm-hero-grid{grid-template-columns:1fr}.cm-hero-copy{text-align:center}.cm-hero-text{margin-left:auto;margin-right:auto}.cm-actions,.cm-hero-proof{justify-content:center}.cm-concept-visual{width:min(700px,100%);margin:0 auto;min-height:490px}.cm-student-illustration{right:50%;transform:translateX(50%);width:min(600px,100%)}}
@media(max-width:800px){.cm-hero-grid{padding:45px 0 25px}.cm-trusted-pill{font-size:10px}.cm-hero h1{font-size:3.15rem}.cm-concept-visual{min-height:420px}.cm-ring-a{width:350px;height:350px;right:50%;transform:translateX(50%);top:25px}.cm-ring-b{width:245px;height:245px;right:50%;transform:translateX(50%);top:80px}.cm-student-illustration{width:500px;right:50%;bottom:-10px}.cm-badge-expert{left:0;top:65px}.cm-badge-delivery{right:0;top:90px}.cm-badge-original{right:0;bottom:70px}.cm-hero-rating{left:50%;transform:translateX(-50%);bottom:5px}}
@media(max-width:520px){.cm-hero h1{font-size:2.65rem}.cm-hero-text{font-size:15px}.cm-hero-proof{gap:10px}.cm-concept-visual{min-height:340px}.cm-student-illustration{width:390px;bottom:-8px}.cm-ring-a{width:290px;height:290px;top:20px}.cm-ring-b{width:205px;height:205px;top:65px}.cm-hero-badge{padding:7px 9px;gap:7px}.cm-hero-badge>span{width:25px;height:25px}.cm-hero-badge b{font-size:9px}.cm-hero-badge small{font-size:7px}.cm-badge-expert{left:-2px;top:60px}.cm-badge-delivery{right:-2px;top:78px}.cm-badge-original{right:-2px;bottom:52px}.cm-hero-rating{left:50%;bottom:0;padding:7px 10px}.cm-hero-rating strong{font-size:11px}.cm-hero-rating span{font-size:7px}}

.cm-logo-mark img{width:100%;height:100%;display:block;border-radius:10px}
\n\n/* CourseMerit v6 hero image integration */\n.cm-hero-visual.cm-concept-visual{min-height:500px;position:relative;display:flex;align-items:center;justify-content:center;overflow:visible}\n.cm-hero-art-backdrop{position:absolute;width:78%;aspect-ratio:1/1;border-radius:44% 56% 58% 42% / 47% 40% 60% 53%;background:linear-gradient(135deg,#BDEAF7 0%,#E5F4FF 48%,#D7E8FF 100%);right:7%;top:7%;z-index:0;transform:rotate(-7deg)}\n.cm-hero-picture{display:block;position:relative;z-index:2;width:min(720px,115%);line-height:0;border-radius:26px;overflow:hidden;box-shadow:0 24px 55px rgba(19,65,120,.14);background:#EAF6FF}\n.cm-student-hero-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}\n@media(max-width:1050px){.cm-hero-visual.cm-concept-visual{width:min(760px,100%);margin:0 auto;min-height:auto}.cm-hero-picture{width:min(720px,100%)}}\n@media(max-width:800px){.cm-hero-visual.cm-concept-visual{min-height:auto;margin-top:10px}.cm-hero-art-backdrop{width:78%;right:11%;top:8%}.cm-hero-picture{width:100%;border-radius:20px}}\n@media(max-width:520px){.cm-hero-picture{border-radius:15px}.cm-hero-art-backdrop{width:84%;right:8%}}\n
/* =========================================================
   CourseMerit v7 — concept-led hero composition
   The hero uses the student photo as one visual layer, while
   the surrounding shapes, cards and layout are built in CSS/HTML.
   ========================================================= */
.cm-hero-concept{background:linear-gradient(110deg,#f8fcff 0%,#edf8ff 52%,#e8f5ff 100%);color:#0c2e67;min-height:620px;border-bottom:1px solid #dcecf8;overflow:hidden;position:relative;isolation:isolate}
.cm-hero-concept .cm-hero-grid{min-height:620px;grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr);gap:12px;padding:52px 0 44px;align-items:center}
.cm-hero-concept .cm-hero-copy{padding:16px 0 24px;z-index:5}
.cm-hero-concept .cm-eyebrow{color:#176bdc;background:transparent;border:0;padding:0;margin:0 0 12px;display:block;font-size:12px}
.cm-hero-concept .cm-dot{background:#f6ad12;width:8px;height:8px}
.cm-hero-concept .cm-hero-text{color:#385a80;max-width:620px;font-size:17px;line-height:1.6}
.cm-hero-concept .cm-hero-actions{gap:14px}
.cm-hero-concept .cm-hero-order{min-width:165px}
.cm-hero-concept .cm-hero-quote{min-width:175px}
.cm-hero-concept .cm-hero-proof{list-style:none;padding:0;margin:24px 0 0;display:flex;gap:20px;flex-wrap:wrap;color:#48637f;font-size:12px}
.cm-hero-concept .cm-hero-proof li{display:flex;gap:6px;align-items:center;white-space:nowrap}
.cm-hero-concept .cm-hero-proof li span{font-size:18px;color:#f4aa09;line-height:1}
.cm-hero-concept .cm-hero-proof li:nth-child(2) span{color:#1878ef}
.cm-hero-concept .cm-hero-proof li:nth-child(3) span{color:#1878ef}
.cm-hero-concept .cm-hero-proof b{color:#173e73}

.cm-hero-concept .cm-hero-visual{height:560px;min-height:560px;position:relative;display:block;overflow:visible}
.cm-hero-concept .cm-hero-art{position:absolute;inset:0;z-index:0;pointer-events:none}
.cm-hero-concept .cm-hero-art span{position:absolute;display:block}
.cm-hero-concept .cm-art-blue{width:400px;height:400px;right:38px;top:66px;background:linear-gradient(145deg,#9cdef0,#2785f4 65%,#0f64d8);border-radius:48% 52% 45% 55% / 42% 48% 52% 58%;transform:rotate(-13deg);opacity:.98}
.cm-hero-concept .cm-art-yellow{width:210px;height:210px;right:58px;top:42px;background:linear-gradient(135deg,#ffd32d,#f4a900);border-radius:55% 45% 62% 38% / 44% 58% 42% 56%;transform:rotate(18deg);z-index:-1}
.cm-hero-concept .cm-art-blue-small{width:150px;height:150px;right:310px;top:235px;background:#58b9e7;border-radius:48% 52% 55% 45%;opacity:.6;transform:rotate(25deg)}
.cm-hero-concept .cm-photo-halo{position:absolute;width:410px;height:520px;right:66px;top:20px;border-radius:50%;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.82),rgba(255,255,255,0) 68%);z-index:1}
.cm-hero-concept .cm-hero-photo-frame{position:absolute;right:78px;bottom:-4px;width:385px;height:540px;z-index:3;overflow:hidden;border-radius:48% 48% 0 0 / 38% 38% 0 0;filter:drop-shadow(0 28px 35px rgba(23,71,126,.15))}
.cm-hero-concept .cm-hero-photo-frame:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 65%,rgba(230,245,255,.18) 100%);pointer-events:none}
.cm-hero-concept .cm-hero-photo-frame picture{display:block;height:100%}
.cm-hero-concept .cm-student-hero-image{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}

.cm-hero-concept .cm-hero-badge{background:rgba(255,255,255,.97);border:1px solid #e1ebf5;border-radius:14px;padding:12px 15px;box-shadow:0 15px 34px rgba(20,67,120,.14);z-index:6;backdrop-filter:blur(7px)}
.cm-hero-concept .cm-hero-badge>span{width:32px;height:32px;border-radius:10px;background:#edf7ff;color:#126be1}
.cm-hero-concept .cm-hero-badge b{font-size:12px;color:#173b6f}
.cm-hero-concept .cm-hero-badge small{font-size:10px;color:#6b819b}
.cm-hero-concept .cm-badge-expert{left:2px;top:116px}
.cm-hero-concept .cm-badge-delivery{right:-4px;top:150px}
.cm-hero-concept .cm-badge-original{right:4px;bottom:112px}
.cm-hero-concept .cm-badge-original>span{background:#fff6dc;color:#e99b00}
.cm-hero-concept .cm-hero-rating{left:42px;bottom:30px;z-index:7;background:#fff;border:1px solid #e0eaf5;border-radius:14px;padding:10px 14px;box-shadow:0 15px 34px rgba(20,67,120,.14);min-width:145px}
.cm-hero-concept .cm-hero-rating strong{display:block;color:#f5a400;font-size:13px;letter-spacing:2px;line-height:1.1}
.cm-hero-concept .cm-hero-rating b{display:inline-block;color:#173e73;font-size:12px;margin-top:4px}
.cm-hero-concept .cm-hero-rating span{display:inline-block;color:#6b819b;font-size:9px;margin-left:5px}
.cm-hero-concept .cm-trusted-pill{box-shadow:0 6px 18px rgba(35,111,183,.06)}
.cm-hero-concept .cm-hero-bg-shape{position:absolute;border-radius:50%;z-index:-2;pointer-events:none}
.cm-hero-concept .cm-hero-bg-shape-a{width:330px;height:330px;left:-210px;bottom:-180px;background:#d8f0fb}
.cm-hero-concept .cm-hero-bg-shape-b{width:260px;height:260px;right:-140px;top:-150px;background:#d9edff}
.cm-hero-concept .cm-hero-dots{position:absolute;width:90px;height:72px;right:45px;bottom:50px;opacity:.35;background-image:radial-gradient(#2785f4 1.4px,transparent 1.4px);background-size:13px 13px;z-index:-1}

/* Make the rest of the homepage visually connected to the new hero. */
.cm-homepage .cm-trustbar{border-bottom:1px solid #edf2f7}
.cm-homepage .cm-service-card,.cm-homepage .cm-expert,.cm-homepage .cm-review{border-color:#dfe8f1}
.cm-homepage .cm-service-card:hover,.cm-homepage .cm-expert:hover,.cm-homepage .cm-review:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(24,69,118,.09)}

@media (max-width:1100px){
  .cm-hero-concept .cm-hero-grid{grid-template-columns:1fr;gap:0;padding-top:46px}
  .cm-hero-concept .cm-hero-copy{text-align:center;padding-bottom:5px}
  .cm-hero-concept .cm-hero-text{margin-left:auto;margin-right:auto}
  .cm-hero-concept .cm-hero-actions,.cm-hero-concept .cm-hero-proof{justify-content:center}
  .cm-hero-concept .cm-hero-visual{width:min(720px,100%);margin:0 auto;height:520px;min-height:520px}
}
@media (max-width:800px){
  .cm-hero-concept{min-height:auto}
  .cm-hero-concept .cm-hero-grid{min-height:0;padding:38px 0 22px}
  .cm-hero-concept .cm-hero-copy{padding-bottom:8px}
  .cm-hero-concept .cm-hero-visual{height:470px;min-height:470px;margin-top:8px}
  .cm-hero-concept .cm-hero-photo-frame{width:325px;height:450px;right:50%;transform:translateX(50%);bottom:-2px}
  .cm-hero-concept .cm-photo-halo{width:350px;height:430px;right:50%;transform:translateX(50%);top:15px}
  .cm-hero-concept .cm-art-blue{width:340px;height:340px;right:50%;transform:translateX(50%) rotate(-13deg);top:45px}
  .cm-hero-concept .cm-art-yellow{width:170px;height:170px;right:50%;transform:translateX(50%) rotate(18deg);top:30px;margin-right:88px}
  .cm-hero-concept .cm-art-blue-small{width:120px;height:120px;right:50%;transform:translateX(50%) rotate(25deg);top:210px;margin-right:135px}
  .cm-hero-concept .cm-badge-expert{left:0;top:72px}
  .cm-hero-concept .cm-badge-delivery{right:0;top:108px}
  .cm-hero-concept .cm-badge-original{right:0;bottom:78px}
  .cm-hero-concept .cm-hero-rating{left:50%;transform:translateX(-50%);bottom:2px}
  .cm-hero-concept .cm-hero-dots{display:none}
}
@media (max-width:560px){
  .cm-hero-concept .cm-hero-grid{padding-top:32px}
  .cm-hero-concept .cm-trusted-pill{font-size:9px}
  .cm-hero-concept .cm-hero-actions{width:100%}
  .cm-hero-concept .cm-hero-actions .cm-btn{width:100%}
  .cm-hero-concept .cm-hero-proof{gap:10px 14px;font-size:10px}
  .cm-hero-concept .cm-hero-proof li span{font-size:15px}
  .cm-hero-concept .cm-hero-visual{height:410px;min-height:410px}
  .cm-hero-concept .cm-hero-photo-frame{width:275px;height:390px}
  .cm-hero-concept .cm-photo-halo{width:300px;height:360px}
  .cm-hero-concept .cm-art-blue{width:290px;height:290px;top:42px}
  .cm-hero-concept .cm-art-yellow{width:145px;height:145px;top:30px;margin-right:78px}
  .cm-hero-concept .cm-art-blue-small{width:95px;height:95px;top:190px;margin-right:116px}
  .cm-hero-concept .cm-hero-badge{padding:8px 9px;gap:6px;border-radius:11px}
  .cm-hero-concept .cm-hero-badge>span{width:26px;height:26px;border-radius:8px;font-size:10px}
  .cm-hero-concept .cm-hero-badge b{font-size:9px}
  .cm-hero-concept .cm-hero-badge small{font-size:7px}
  .cm-hero-concept .cm-badge-expert{left:-3px;top:62px}
  .cm-hero-concept .cm-badge-delivery{right:-3px;top:82px}
  .cm-hero-concept .cm-badge-original{right:-3px;bottom:62px}
  .cm-hero-concept .cm-hero-rating{padding:7px 10px;min-width:125px}
  .cm-hero-concept .cm-hero-rating strong{font-size:10px}
  .cm-hero-concept .cm-hero-rating b{font-size:10px}
  .cm-hero-concept .cm-hero-rating span{font-size:7px}
}
