/* CleanMode Store V1 polish — scoped to Tutor's real course archive. */
body.post-type-archive-courses.cleanmode-native{background:#061321;color:#eef7ff}
.post-type-archive-courses .cm-header{position:sticky;top:0;z-index:50;background:rgba(5,19,35,.96);border-color:rgba(117,189,245,.16);backdrop-filter:blur(14px)}
.admin-bar.post-type-archive-courses .cm-header{top:var(--wp-admin--admin-bar--height,32px)}
@media(min-width:601px) and (max-width:782px){.admin-bar.post-type-archive-courses .cm-header{top:var(--wp-admin--admin-bar--height,46px)}}
/* WordPress toolbar is absolute, rather than fixed, at <=600px. */
@media(max-width:600px){.admin-bar.post-type-archive-courses .cm-header{top:0}}
.post-type-archive-courses .cm-header .cm-brand{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:flex-start;min-width:120px;max-width:155px;overflow:visible;height:auto}
.post-type-archive-courses .cm-header .cm-brand img{display:block;width:auto;max-width:100%;height:65px;object-fit:contain;object-position:center;transform:none;margin:0}
.post-type-archive-courses .cm-header .cm-nav-list a,.post-type-archive-courses .cm-header .cm-account,.post-type-archive-courses .cm-header .cm-mobile-menu summary{color:#f3faff}
.post-type-archive-courses .cm-header .cm-account{border-color:#6384a3}
.post-type-archive-courses .cm-header .cm-nav-list a:hover,.post-type-archive-courses .cm-header .cm-account:hover{background:#12416b;color:white}
.post-type-archive-courses .cm-header .cm-nav-list a[aria-current="page"]{color:#fff;box-shadow:inset 0 -3px #21aaff;font-weight:760}
.post-type-archive-courses .cm-footer{background:#071b30;border-color:#294561}
.post-type-archive-courses .cm-footer p,.post-type-archive-courses .cm-footer nav>a,.post-type-archive-courses .cm-footer .cm-nav-list a{color:#d5e7f5}
.post-type-archive-courses .cm-footer .cm-brand{display:inline-flex;align-items:center;overflow:visible}
.post-type-archive-courses .cm-footer .cm-brand img{width:155px;height:auto;max-height:100px;object-fit:contain;object-position:center;transform:none}

.cm-store{background:radial-gradient(ellipse 1600px 860px at 43% 18%,rgba(22,78,122,.35),transparent 78%),linear-gradient(180deg,#061321 0%,#092742 42%,#051627 80%,#051120 100%);min-height:75vh;overflow-x:clip}
.cm-store *{box-sizing:border-box}
.cm-store__inner{width:min(calc(100% - 34px),1180px);margin-inline:auto}
.cm-store__hero{position:relative;isolation:isolate;min-height:390px;overflow:hidden;background:#071d34}
.cm-store__hero-art{position:absolute;z-index:-2;inset:0 0 0 47%;width:53%;height:100%;pointer-events:none}
.cm-store__hero-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:left center}
.cm-store__hero-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(5,20,38,.97) 0%,rgba(5,23,43,.92) 34%,rgba(5,27,48,.52) 62%,rgba(3,17,31,.05) 100%),linear-gradient(0deg,#061321 0%,transparent 19%)}
.cm-store__hero-content{position:relative;padding-block:48px 54px;min-height:390px}
.cm-store__eyebrow{position:relative;text-transform:uppercase;letter-spacing:.17em;font-size:12px;font-weight:830;color:#97d9ff;padding-left:14px;margin:0 0 17px}
.cm-store__eyebrow:before{content:"";position:absolute;left:0;top:2px;height:13px;width:3px;border-radius:4px;background:#21aaff}
.cm-store__hero h1{font-size:clamp(2.15rem,4.4vw,4.15rem);line-height:1.04;letter-spacing:-.05em;margin:0 0 17px;max-width:800px;font-weight:810;color:#f5faff}
.cm-store__hero h1 em{font-style:normal;color:#54bafe}
.cm-store__hero-lead{color:#cadceb;font-size:clamp(.92rem,1.35vw,1.1rem);line-height:1.45;max-width:630px;margin:0 0 23px}
.cm-store__hero-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.cm-store__btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 20px;border-radius:11px;font-weight:750;font-size:13px;text-decoration:none;transition:background .15s,border-color .15s}
.cm-store__btn--primary{background:linear-gradient(135deg,#208dff,#0865cf);color:#fff;border:1px solid #2189fa}
.cm-store__btn--light{background:#f8fbff;color:#0b2b4c;border:1px solid #ecf6ff}
.cm-store__btn:hover{filter:brightness(1.08)}

.cm-store__tools{padding:26px 0 25px}
.cm-store__search label{display:block;font-size:13px;font-weight:700;margin-bottom:9px;color:#c9e6fa}
.cm-store__search-controls{display:flex;gap:10px;max-width:100%;flex-wrap:wrap}
.cm-store__search-controls input{flex:1 1 250px;width:100%;min-width:0;height:54px;color:#f3faff;background:rgba(229,244,255,.105);border:1px solid rgba(163,211,243,.42);border-radius:12px;padding:13px 16px;font:inherit;font-size:14px}
.cm-store__search-controls input::placeholder{color:#a8c0d5}
.cm-store__search-controls button{color:#fff;background:#1573e8;border:1px solid #65b2ff;border-radius:12px;padding:12px 20px;font:inherit;font-weight:750;cursor:pointer}
.cm-store__sections{display:flex;gap:9px;overflow-x:auto;padding:17px 2px 10px;scrollbar-width:thin;scroll-snap-type:x proximity}
.cm-store__sections a{flex:none;scroll-snap-align:start;display:inline-flex;align-items:center;color:#d5e7f5;background:rgba(6,36,64,.72);border:1px solid rgba(130,195,245,.39);border-radius:12px;padding:12px 15px;font-weight:680;font-size:12px;text-decoration:none}
.cm-store__sections a:hover,.cm-store__sections a:focus-visible{background:#155c98;border-color:#7bc9ff;color:#fff}
.cm-store__rail-hint{font-size:11px;color:#9fbdd2;line-height:1.45;margin:6px 0 0}
.cm-store__collections{padding-top:8px;scroll-margin-top:110px}
.cm-store__segment-label{text-transform:uppercase;letter-spacing:.18em;color:#91bcd7;font-size:10px;font-weight:800;display:flex;align-items:center;gap:14px;margin:16px 0 22px}
.cm-store__segment-label:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,rgba(130,189,225,.28),transparent)}
.cm-store__collection{margin-bottom:30px;scroll-margin-top:110px}
.cm-store__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.cm-store__heading h2{font-size:clamp(1.38rem,2.1vw,1.76rem);color:#f4faff;font-weight:760;letter-spacing:-.035em;line-height:1.15;margin:0;display:flex;gap:11px;align-items:center}
.cm-store__heading h2:before{content:"";height:23px;width:4px;background:#21aaff;border-radius:5px;flex:none}
.cm-store__arrows{display:flex;align-items:center;gap:7px;flex:none}
.cm-store__arrows[hidden],.cm-store__collection[hidden],.cm-store__card[hidden]{display:none!important}
.cm-store__rail-arrow{width:35px;height:35px;border-radius:50%;border:1px solid rgba(187,220,246,.34);background:rgba(178,218,248,.10);display:grid;place-items:center;color:#f1faff;cursor:pointer;transition:background .15s,opacity .15s}
.cm-store__rail-arrow:hover:not(:disabled){background:#167be7}
.cm-store__rail-arrow:disabled{opacity:.26;cursor:default}
.cm-store__rail{display:flex;gap:13px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;overscroll-behavior-inline:contain;padding:3px 3px 13px;scroll-padding-inline:3px;min-width:0}
.cm-store__card{flex:0 0 clamp(252px,24.2vw,334px);min-width:0;height:194px;position:relative;background:linear-gradient(140deg,#15446d,#07192a);border:1px solid #3a6386;border-radius:15px;overflow:hidden;scroll-snap-align:start}
.cm-store__card>a{display:flex;align-items:flex-end;position:absolute;inset:0;color:#fff;text-decoration:none;padding:17px;background:linear-gradient(0deg,rgba(2,12,23,.95),transparent 78%)}
.cm-store__cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.cm-store__card>a:has(.cm-store__cover){background:none}
.cm-store__card>a:has(.cm-store__cover)::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,12,23,.97),transparent 80%);z-index:1}
.cm-store__card-title{position:relative;z-index:2;font-size:1.12rem;font-weight:800;line-height:1.2;text-wrap:balance}
.cm-store__card-detail{position:absolute;z-index:2;bottom:15px;right:16px;color:#bddaf3;font-size:.76rem}
.cm-store__card--product{background:linear-gradient(130deg,#124a82,#061321)}
.cm-store__card--product>a{padding-bottom:38px}
.cm-store__empty{border:1px solid #709ab9;border-radius:12px;background:#113251;color:#fff;padding:22px;line-height:1.5}
.cm-store__plan-band{margin:42px 0 45px;background:linear-gradient(105deg,#e9f6ff,#dceeff 60%,#f8fcff);color:#0a2d4e;border:1px solid #aad6fd;border-radius:17px;padding:24px 26px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;box-shadow:0 14px 45px #0002}
.cm-store__plan-band h2{font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.18;letter-spacing:-.025em;margin:0 0 6px;color:#0a2d4e}
.cm-store__plan-band p{color:#375d7b;font-size:13px;margin:0}
.cm-store__plan-band a{display:inline-flex;align-items:center;gap:9px;color:#0759ac;font-weight:800;font-size:13px;text-decoration:none;white-space:nowrap}
.cm-store__collection--software{margin-block:20px 45px}
.cm-store .nav-links{display:flex;gap:16px;flex-wrap:wrap;margin:30px 0 70px}
.cm-store .nav-links a{color:#d5e7f5}
.cm-store a:focus-visible,.cm-store button:focus-visible,.cm-store input:focus-visible,.cm-store__rail:focus-visible,.post-type-archive-courses .cm-header :focus-visible{outline:3px solid #89d3ff;outline-offset:3px}

@media(max-width:959px){.post-type-archive-courses .cm-header .cm-brand img{width:138px;max-height:60px}.cm-store__hero-art{left:39%;width:61%}.cm-store__hero-content{min-height:350px}.cm-store__hero{min-height:350px}.cm-store__hero h1{font-size:clamp(2.3rem,5vw,3.55rem);max-width:650px}}
@media(max-width:680px){.cm-store__hero,.cm-store__hero-content{min-height:346px}.cm-store__hero-art{inset:0 0 0 23%;width:77%;opacity:.66}.cm-store__hero-art img{object-position:43% center}.cm-store__hero-shade{background:linear-gradient(90deg,rgba(3,18,36,.97),rgba(4,19,36,.74) 64%,rgba(3,18,36,.22)),linear-gradient(0deg,#061321 0%,transparent 30%)}.cm-store__hero-content{padding-block:36px 31px}.cm-store__hero h1{font-size:clamp(2.03rem,8vw,3rem);max-width:510px;margin-bottom:13px}.cm-store__hero-lead{font-size:13px;max-width:420px}.cm-store__hero-actions{gap:8px}.cm-store__btn{font-size:12px;padding:10px 13px}.cm-store__plan-band{grid-template-columns:1fr;padding:22px}.cm-store__card{flex-basis:min(78vw,320px);height:187px}}
@media(max-width:375px){.cm-store__hero,.cm-store__hero-content{min-height:375px}.cm-store__hero h1{font-size:clamp(1.85rem,9vw,2.15rem)}.cm-store__hero-art{opacity:.53}.cm-store__btn{font-size:11px;padding:9px 10px}.cm-store__search-controls button{width:100%}}
/* Keep text away from the face on intermediate screens. The approved mobile
   composition uses the right-hand environment as a quiet text background. */
@media(min-width:681px) and (max-width:1100px){.cm-store__hero h1,.cm-store__hero-lead{max-width:56%}.cm-store__hero h1{font-size:clamp(2rem,4.2vw,3.2rem)}.cm-store__hero-actions{max-width:56%}}
@media(max-width:959px){.post-type-archive-courses .cm-header .cm-brand img{width:auto;height:60px}}
@media(max-width:680px){.cm-store__hero-art img{object-position:right center}}
@media(prefers-reduced-motion:reduce){.cm-store *, .cm-store *::before, .cm-store *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
