/* CT Course Hub - single course page (all selectors scoped to .cth; shares tokens and header/footer with home.css) */
.cth .cc-hero{position:relative;overflow:hidden;background:linear-gradient(100deg,#fff 0%,#fff5f8 52%,#ffe9f1 100%)}
.cth .cc-hero:before{content:"";position:absolute;left:-90px;bottom:-110px;width:300px;height:300px;border-radius:50%;background:#ffd3e4;opacity:.55}
.cth .cc-hero:after{content:"";position:absolute;right:-70px;top:-70px;width:260px;height:260px;border-radius:50%;background:#ffc3da;opacity:.5}
.cth .cc-hero-in{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .9fr;gap:42px;align-items:center;padding:30px 24px 54px}
.cth .cc-crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--muted);margin-bottom:16px}
.cth .cc-crumbs a:hover{color:var(--pink)}
.cth .cc-badge{display:inline-block;background:#ffe3ee;color:var(--pink);font-size:12px;font-weight:600;border-radius:100px;padding:5px 14px;margin-bottom:14px}
.cth .cc-hero h1{margin:0 0 14px;font-size:clamp(27px,2.9vw,42px);line-height:1.22;font-weight:700;letter-spacing:-.03em}
.cth .cc-lead{margin:0 0 16px;font-size:15px;line-height:1.65;max-width:560px}
.cth .cc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:12px;color:var(--muted);margin-bottom:16px}
.cth .cc-rate{display:inline-flex;align-items:center;gap:6px;color:var(--ink)}
.cth .cc-stars{display:inline-flex;gap:1px}
.cth .cc-star{width:15px;height:15px}
.cth .cc-star.full{fill:#ffb21e}
.cth .cc-star.half{fill:#ffd88a}
.cth .cc-star.off{fill:#e4e7ec}
.cth .cc-perks{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:10px 16px}
.cth .cc-perks li{display:flex;align-items:center;gap:8px;font-size:12px}
.cth .cc-perks .i{width:30px;height:30px;padding:6px;border-radius:50%;background:#fff;color:var(--pink);box-shadow:0 3px 12px rgba(230,45,123,.14)}
.cth .cc-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-bottom:20px}
.cth .cc-from{font-size:14px;font-weight:500}
.cth .cc-price strong{font-size:clamp(28px,3vw,38px);font-weight:700;color:var(--pink);letter-spacing:-.02em;line-height:1.1}
.cth .cc-price s{font-size:13px;color:var(--muted)}
.cth .cc-price em{font-style:normal;font-size:12px;font-weight:600;color:var(--pink);background:#ffe3ee;border-radius:100px;padding:4px 12px}
.cth .cc-cta{display:flex;flex-wrap:wrap;gap:12px}
.cth .btn.cc-big{padding:15px 28px;font-size:14px}
.cth .cc-hero-art{position:relative}
.cth .cc-hero-art img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:26px;box-shadow:0 22px 50px rgba(40,30,80,.18);border:6px solid #fff}
.cth .cc-trust{position:absolute;left:-18px;bottom:-22px;display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:14px 20px 14px 14px;box-shadow:0 12px 30px rgba(40,30,80,.14);font-size:12px;line-height:1.35;font-weight:600}
.cth .cc-trust b{color:var(--ink);font-weight:700}
.cth .cc-trust-ic{width:42px;height:42px;border-radius:12px;background:#ffe3ee;display:grid;place-items:center}
.cth .cc-trust-ic .cc-star{width:22px;height:22px;fill:var(--pink)}

.cth .cc-stats .container{display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:0 24px}
.cth .cc-stat{display:flex;align-items:center;gap:12px;padding:20px 16px;border-left:1px solid var(--line)}
.cth .cc-stat:first-child{border-left:0}
.cth .cc-stat .i{width:42px;height:42px;padding:10px;border-radius:50%;background:#fff0f6;color:var(--pink);flex:none}
.cth .cc-stat b{display:block;font-size:14px;font-weight:600;line-height:1.3}
.cth .cc-stat small{display:block;font-size:11px;color:var(--muted);margin-top:1px}

.cth .cc-body{padding:20px 0 20px}
.cth .cc-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:start}
.cth .cc-main,.cth .cc-side{display:flex;flex-direction:column;gap:22px;min-width:0}
.cth .cc-card{background:#fff;border:1px solid #f1e6ea;border-radius:16px;padding:24px 26px;box-shadow:0 8px 24px rgba(40,30,80,.05)}
.cth .cc-h{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:21px;font-weight:700;letter-spacing:-.03em}
.cth .cc-h:before{content:"";width:4px;height:21px;border-radius:2px;background:var(--pink);flex:none}
.cth .cc-sub{margin:-4px 0 14px 14px;font-size:12.5px;color:var(--muted)}
.cth .cc-sub b{color:var(--pink)}
.cth .cc-text{margin:0 0 18px;font-size:14px;line-height:1.75;color:#3d4756}
.cth .cc-skills{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cth .cc-skill{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;border:1px solid var(--line);border-radius:12px;padding:16px 10px;background:#fffafc}
.cth .cc-skill .i{font-size:28px;color:var(--pink);stroke-width:1.7}
.cth .cc-skill b{font-size:12.5px;font-weight:600;line-height:1.35}
.cth .cc-skill small{font-size:11px;color:var(--muted)}
.cth .cc-topics{display:flex;flex-direction:column;gap:10px}
.cth .cc-topic{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.cth .cc-topic summary{display:flex;align-items:center;gap:12px;padding:13px 16px;cursor:pointer;list-style:none;font-size:14px;font-weight:500}
.cth .cc-topic summary::-webkit-details-marker{display:none}
.cth .cc-no{width:28px;height:28px;border-radius:50%;background:var(--pink);color:#fff;font-size:12px;font-weight:600;display:grid;place-items:center;flex:none}
.cth .cc-tt{flex:1;min-width:0}
.cth .cc-topic small{font-size:11px;color:var(--muted);white-space:nowrap}
.cth .cc-topic i{font-style:normal;font-size:20px;color:#9aa3b2;transition:transform .2s}
.cth .cc-topic[open] i{transform:rotate(90deg)}
.cth .cc-topic[open] summary{background:#fff7fa}
.cth .cc-topic ul{list-style:none;margin:0;padding:6px 16px 14px 56px}
.cth .cc-topic li{display:flex;align-items:flex-start;gap:9px;padding:7px 0;font-size:12.5px;line-height:1.5;color:#3d4756;border-top:1px dashed #f1e6ea}
.cth .cc-topic li:first-child{border-top:0}
.cth .cc-topic li .i{font-size:15px;color:var(--pink);margin-top:2px}
.cth .cc-topic .cc-more{color:var(--muted);padding-left:24px}

.cth .cc-photo{aspect-ratio:1.55/1;border-radius:16px;background:#eee center 40%/cover no-repeat;box-shadow:0 10px 26px rgba(40,30,80,.1)}
.cth .cc-check{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.cth .cc-check li{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;line-height:1.5}
.cth .cc-check .i{font-size:20px;color:var(--pink);flex:none;margin-top:1px}
.cth .cc-rv-view{overflow:hidden}
.cth .cc-rv-track{display:flex;transition:transform .4s ease}
.cth .cc-rv{flex:0 0 100%;margin:0;padding:0 2px;box-sizing:border-box}
.cth .cc-rv p{margin:0 0 14px;font-size:14px;line-height:1.7}
.cth .cc-rv footer{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:12.5px}
.cth .cc-score{margin-left:auto;display:inline-flex;align-items:center;gap:6px;background:#fff0f6;border-radius:10px;padding:6px 12px;font-size:12px}
.cth .cc-score b{color:var(--pink);font-size:15px}
.cth .cc-rv-nav{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}
.cth .cc-rv-nav button{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:#fff;color:#9aa3b2;font-size:13px}
.cth .cc-rv-nav button:hover{color:var(--pink);border-color:var(--pink)}

.cth .cc-final{padding:26px 0 8px}
.cth .cc-final-in{display:flex;align-items:center;gap:20px;background:linear-gradient(100deg,#ffe9f1,#fff4f8);border-radius:18px;padding:22px 30px;max-width:1132px}
.cth .cc-final-ic{width:52px;height:52px;border-radius:14px;background:#fff;color:var(--pink);display:grid;place-items:center;font-size:28px;flex:none;box-shadow:0 4px 14px rgba(230,45,123,.14)}
.cth .cc-final h2{margin:0 0 3px;font-size:20px;font-weight:700;letter-spacing:-.03em}
.cth .cc-final p{margin:0;font-size:13px;color:#4b5565}
.cth .cc-final .btn{margin-left:auto;white-space:nowrap}

@media(max-width:1100px){
.cth .cc-hero-in{gap:30px}
.cth .cc-trust{left:12px}
.cth .cc-stats .container{grid-template-columns:repeat(3,1fr)}
.cth .cc-stat:nth-child(4){border-left:0}
.cth .cc-skills{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
.cth .cc-hero-in{grid-template-columns:1fr;gap:36px}
.cth .cc-hero-art{order:-1;max-width:640px;margin:0 auto;width:100%}
.cth .cc-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
.cth .cc-hero-in{padding:22px 16px 40px}
.cth .cc-hero h1{font-size:26px}
.cth .cc-lead{font-size:14px}
.cth .cc-stats .container{grid-template-columns:1fr 1fr;padding:0 16px}
.cth .cc-stat{padding:14px 8px;border-left:0}
.cth .cc-stat:nth-child(even){border-left:1px solid var(--line)}
.cth .cc-card{padding:20px 18px}
.cth .cc-h{font-size:19px}
.cth .cc-cta .btn{flex:1 1 100%}
.cth .cc-topic ul{padding-left:20px}
.cth .cc-final-in{flex-direction:column;align-items:flex-start;padding:20px 18px}
.cth .cc-final .btn{margin-left:0;width:100%}
.cth .cc-score{margin-left:0}
}

/* free trial buttons */
.cth .cc-trial{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.cth .cc-trial-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:12px;background:#fff;border:2px solid var(--pink,#ff2c78);color:var(--pink,#ff2c78);font-weight:700;font-size:15px;line-height:1.2;text-decoration:none;transition:background .15s,color .15s}
.cth .cc-trial-btn svg{width:18px;height:18px;flex:0 0 18px}
.cth .cc-trial-btn:hover{background:var(--pink,#ff2c78);color:#fff}
.cth .cc-topic li.is-free{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cth .cc-topic li.is-free a{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.cth .cc-free{margin-left:auto;padding:3px 10px;border-radius:999px;background:#ffe3ee;color:#b8134f;font-size:12px;font-weight:700;white-space:nowrap}

/* free trial lesson: big and easy to see */
.cth .cc-topic li.is-free{padding:14px 16px!important;margin:8px 0;background:#fff0f6;border:2px solid var(--pink,#ff2c78);border-radius:14px;gap:12px}
.cth .cc-topic li.is-free>a:not(.cc-free){flex:1 1 220px;font-size:16px;font-weight:700;color:var(--ink);text-decoration:none}
.cth .cc-topic li.is-free a.cc-free{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:12px 22px;border-radius:999px;background:#d41a5d;color:#fff;font-size:15px;font-weight:700;line-height:1.2;text-decoration:none;box-shadow:0 8px 18px rgba(255,44,120,.28);white-space:nowrap}
.cth .cc-topic li.is-free a.cc-free:hover{background:var(--pink-d,#e0206a)}
@media(max-width:620px){.cth .cc-topic li.is-free a.cc-free{width:100%;margin-left:0;padding:14px 22px;font-size:16px}}

/* lesson list: larger, easier to read text */
.cth .cc-topic summary{font-size:17px;font-weight:600;padding:16px 18px}
.cth .cc-topic small{font-size:13px}
.cth .cc-topic ul{padding:8px 18px 16px 60px}
.cth .cc-topic li{font-size:16px;line-height:1.6;padding:10px 0;gap:11px;color:#2b3445}
.cth .cc-topic li .i{font-size:20px;margin-top:3px;flex:0 0 20px}
@media(max-width:620px){.cth .cc-topic summary{font-size:16px;padding:14px 14px}.cth .cc-topic ul{padding:6px 14px 14px 14px}.cth .cc-topic li{font-size:15.5px;padding:9px 0}}

/* full course description: real headings, table of contents, instructor, related courses */
.cth .cc-toc{background:#fff7fa;border:1px solid #ffd3e3;border-radius:14px;padding:18px 22px;margin:0 0 24px}
.cth .cc-toc-h{font-size:18px;font-weight:700;color:var(--ink);margin:0 0 8px}
.cth .cc-toc ol{margin:0;padding:0 0 0 22px}
.cth .cc-toc li{padding:4px 0;font-size:16px;line-height:1.55}
.cth .cc-toc a{color:var(--ink);text-decoration:none}
.cth .cc-toc a:hover{color:var(--pink);text-decoration:underline}
.cth .cc-content{font-size:16px;line-height:1.85;color:#2b3445;overflow-wrap:anywhere}
.cth .cc-content h2,.cth .cc-content h3,.cth .cc-content h4{color:var(--ink);line-height:1.4;letter-spacing:-.01em;scroll-margin-top:96px}
.cth .cc-content h2{font-size:24px;font-weight:700;margin:1.9em 0 .6em;padding-bottom:8px;border-bottom:2px solid #ffe3ee}
.cth .cc-content h2:first-child{margin-top:0}
.cth .cc-content h3{font-size:20px;font-weight:700;margin:1.6em 0 .5em}
.cth .cc-content h4{font-size:17px;font-weight:700;margin:1.4em 0 .4em}
.cth .cc-content p{margin:0 0 1.1em}
.cth .cc-content ul,.cth .cc-content ol{margin:0 0 1.2em;padding-left:1.5em}
.cth .cc-content li{margin:.35em 0}
.cth .cc-content a{color:#d41a5d;text-decoration:underline;text-underline-offset:3px}
.cth .cc-content img{max-width:100%;height:auto;border-radius:10px}
.cth .cc-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:0 0 1.2em}
.cth .cc-content th,.cth .cc-content td{border:1px solid #f1e6ec;padding:9px 12px;text-align:left}
.cth .cc-content iframe{max-width:100%}
.cth .cc-inst-in{display:flex;align-items:center;gap:16px;margin:0 0 14px}
.cth .cc-inst-img{width:84px;height:84px;border-radius:50%;object-fit:cover;flex:0 0 84px}
.cth .cc-inst-t{display:flex;flex-direction:column;gap:2px}
.cth .cc-inst-t b{font-size:19px;color:var(--ink)}
.cth .cc-inst-t span{font-size:14px;color:var(--muted)}
.cth .cc-like{padding:10px 0 46px}
.cth .cc-like .cc-h small{display:block;margin-top:2px;font-size:13px;font-weight:500;color:var(--muted);letter-spacing:0}
.cth .cc-like .ca-cards{margin-top:16px}
@media(max-width:620px){.cth .cc-content{font-size:15.5px}.cth .cc-content h2{font-size:21px}.cth .cc-content h3{font-size:18px}.cth .cc-toc{padding:14px 16px}}

/* course text: tidy, readable blocks */
.cth .cc-toc ol{columns:1}
@media(min-width:900px){.cth .cc-toc ol{columns:2;column-gap:36px}.cth .cc-toc li{break-inside:avoid}}
.cth .cc-content h2{display:flex;align-items:center;gap:12px;border-bottom:0;padding:0;margin:2em 0 .7em;font-size:23px}
.cth .cc-content h2:before{content:"";flex:0 0 5px;align-self:stretch;min-height:26px;border-radius:3px;background:var(--pink)}
.cth .cc-content h3{padding:10px 14px;background:#fff7fa;border-left:4px solid #ffb3cf;border-radius:0 10px 10px 0;font-size:18px;margin:1.4em 0 .6em}
.cth .cc-content ul{list-style:none;padding-left:0}
.cth .cc-content ul>li{position:relative;padding-left:26px;margin:.5em 0}
.cth .cc-content ul>li:before{content:"";position:absolute;left:6px;top:.7em;width:8px;height:8px;border-radius:50%;background:var(--pink)}
.cth .cc-content ol{padding-left:1.6em}
.cth .cc-content ol>li::marker{color:var(--pink);font-weight:700}
.cth .cc-content blockquote{margin:1.3em 0;padding:14px 18px;border-left:4px solid var(--pink);background:#fff7fa;border-radius:0 12px 12px 0}
.cth .cc-content hr{border:0;border-top:1px dashed #f1d6e2;margin:2em 0}
@media(max-width:620px){.cth .cc-content h2{font-size:20px}.cth .cc-content h3{font-size:17px;padding:9px 12px}}

/* course schedule table (CU-TEP and similar): clear header, soft rows, readable booking button */
@media(min-width:769px){
.cth .cc-content table:has(.btn-book){display:block;width:100%;overflow-x:auto;border:0;border-collapse:separate;border-spacing:0 6px;background:none}
.cth .cc-content table:has(.btn-book) tbody{display:table;width:100%;min-width:640px}
.cth .cc-content table:has(.btn-book) td{padding:12px 14px;border:0;font-size:15px;line-height:1.45;white-space:nowrap;text-align:center;vertical-align:middle;color:#2b3445}
.cth .cc-content table:has(.btn-book) tr[bgcolor]:first-child td{background:var(--pink,#ff2c78);color:#fff;font-weight:700;font-size:14px}
.cth .cc-content table:has(.btn-book) tr[bgcolor]:first-child td:first-child{border-radius:12px 0 0 12px}
.cth .cc-content table:has(.btn-book) tr[bgcolor]:first-child td:last-child{border-radius:0 12px 12px 0}
.cth .cc-content table:has(.btn-book) tr:not(:first-child) td{background:#fff7fa;border-top:1px solid #ffe3ee;border-bottom:1px solid #ffe3ee}
.cth .cc-content table:has(.btn-book) tr:not(:first-child):nth-child(even) td{background:#fff}
.cth .cc-content table:has(.btn-book) tr:not(:first-child) td:first-child{border-left:1px solid #ffe3ee;border-radius:12px 0 0 12px;font-weight:700}
.cth .cc-content table:has(.btn-book) tr:not(:first-child) td:last-child{border-right:1px solid #ffe3ee;border-radius:0 12px 12px 0}
}
.cth .cc-content a.btn-book{display:inline-flex;align-items:center;justify-content:center;padding:8px 18px;border-radius:999px;background:#d41a5d;color:#fff!important;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none!important;box-shadow:0 6px 14px rgba(255,44,120,.25);transition:background .2s,transform .2s}
.cth .cc-content a.btn-book:hover{background:#e0206a;transform:translateY(-1px)}

/* phones: the site shows each class as a small card (labels come from the page style); keep it tidy and in the brand colours */
@media(max-width:768px){
.cth .cc-content .course-table-scope tr,.cth .cc-content table:has(.btn-book) tr:not(:first-child){border:1px solid #ffd3e3!important;border-radius:14px;background:#fff7fa!important;padding:12px 14px!important;margin-bottom:12px!important}
.cth .cc-content table:has(.btn-book) td{border:0!important;padding-top:6px!important;padding-bottom:6px!important;font-size:15px;color:#2b3445}
.cth .cc-content table:has(.btn-book) td:first-child{font-weight:700;color:var(--pink)}
}

/* the lessons box jumps to the curriculum; same colours as the other boxes */
.cth a.cc-stat-link{color:inherit;text-decoration:none;cursor:pointer;transition:transform .2s}
.cth a.cc-stat-link:hover{transform:translateY(-2px)}
.cth a.cc-stat-link b,.cth a.cc-stat-link small{color:inherit}
.cth #cc-curriculum{scroll-margin-top:96px}

/* hero buttons: all on one row, same height, same round corners */
.cth .cc-cta{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px}
.cth .cc-cta .btn,.cth .cc-cta .cc-trial-btn{box-sizing:border-box;flex:1 1 auto;min-height:54px;height:auto;padding:0 24px;border-radius:999px;font-size:15px;font-weight:700;line-height:1.2;display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:8px;white-space:normal}
.cth .cc-cta .cc-trial-btn{border-width:1px;border-style:solid}
@media(max-width:620px){.cth .cc-cta .btn,.cth .cc-cta .cc-trial-btn{flex:1 1 calc(50% - 5px);padding:0 14px;font-size:14px;min-height:52px}}

/* desktop: the whole side column follows the reader (never an inner scroll bar; top is set by the script) */
@media(min-width:1001px){
.cth .cc-side.is-sticky{position:sticky;top:88px;align-self:start}
}

/* course tags */
.cth .cc-tags .cb-tags{gap:10px}
.cth .cc-tags .cb-tags a{padding:8px 16px;font-size:15px;line-height:1.3;color:#3a4256;background:#fff;text-decoration:none}
.cth .cc-tags .cb-tags a:hover{background:#fff0f6}

/* desktop: the side column is kept compact so all of it stays on screen while the long left side scrolls */
@media(min-width:1001px){
.cth .cc-side{gap:14px}
.cth .cc-side .cc-card{padding:14px 16px}
.cth .cc-side .cc-card .cc-h{font-size:17px;margin:0 0 8px}
.cth .cc-side .cc-inst-in{gap:12px;margin:0 0 6px}
.cth .cc-side .cc-inst-img{width:52px;height:52px;flex:0 0 52px}
.cth .cc-side .cc-inst-t b{font-size:17px}
.cth .cc-side .cc-inst-t span{font-size:14px}
.cth .cc-side .cc-inst-bio{font-size:15px;line-height:1.55}
.cth .cc-side .cc-inst-bio p{margin:0 0 .5em}
.cth .cc-side .cc-inst-bio ul,.cth .cc-side .cc-inst-bio ol{margin:0}
.cth .cc-side .cc-inst-bio ul,.cth .cc-side .cc-inst-bio ol{padding-left:1.3em}
.cth .cc-side .cc-inst-bio li{margin:.2em 0;padding-left:0}
}

/* table of contents: one single column; lesson list has no outer frame */
@media(min-width:900px){.cth .cc-toc ol{columns:1}}
.cth .cc-toc ol{columns:1}

/* "Course Includes" box in the right column (as on the old page) */
.cth .cc-includes{padding:0!important;overflow:hidden}
.cth .cc-inc-img{display:block;width:100%;height:auto}
.cth .cc-includes .cc-h{margin:0;padding:18px 20px 6px;font-size:19px}
.cth .cc-inc-list{list-style:none;margin:0;padding:0 20px}
.cth .cc-inc-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #f1e6ec;font-size:15px}
.cth .cc-inc-list li:last-child{border-bottom:0}
.cth .cc-inc-list li span{color:#59616b}
.cth .cc-inc-list li b{font-weight:600;color:var(--ink);text-align:right}
.cth .cc-inc-list li b a{color:var(--ink);text-decoration:none}
.cth .cc-inc-price{font-size:20px;color:var(--pink)!important}
.cth a.cc-inc-btn{display:flex;align-items:center;justify-content:center;margin:8px 20px 20px;min-height:48px;border-radius:999px;background:var(--pink);color:#fff;font-weight:700;font-size:15px;text-decoration:none;box-shadow:0 8px 18px rgba(255,44,120,.25)}
.cth a.cc-inc-btn:hover{background:var(--pink-d,#e0206a)}
@media(min-width:1001px){
.cth .cc-side .cc-includes .cc-h{padding:12px 16px 4px;font-size:17px}
.cth .cc-side .cc-inc-list{padding:0 16px}
.cth .cc-side .cc-inc-list li{padding:7px 0;font-size:15px}
.cth .cc-side .cc-inc-price{font-size:18px}
.cth .cc-side a.cc-inc-btn{margin:6px 16px 14px;min-height:42px}
}

/* course text and tags run on the page itself, not in boxes; tables never get their own scroll bar */
.cth .cc-plain{background:none;border:0;box-shadow:none;border-radius:0;padding:0;min-width:0}
.cth .cc-plain .cc-content{font-size:16px}
.cth .cc-plain .cc-content>*:first-child{margin-top:0}
.cth .cc-content table{display:table;width:100%!important;height:auto!important;max-width:100%;table-layout:auto;overflow:visible}
.cth .cc-content table td,.cth .cc-content table th{height:auto!important;overflow-wrap:anywhere}
.cth .cc-content img{max-width:100%;height:auto}
.cth .cc-content figure{margin:0 0 1.2em}
.cth .cc-plain .cc-h{margin-bottom:12px}
@media(max-width:620px){.cth .cc-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}}

/* course text: plain and easy to read, like normal article text (no boxes, bars or pink bullets) */
.cth .cc-content h2{display:block;padding:0;border:0;margin:1.8em 0 .6em;font-size:24px;font-weight:700}
.cth .cc-content h2:before{content:none;display:none}
.cth .cc-content h3{padding:0;background:none;border:0;border-radius:0;margin:1.5em 0 .5em;font-size:19px;font-weight:700}
.cth .cc-content ul{list-style:disc;padding-left:1.5em}
.cth .cc-content ul>li{position:static;padding-left:0;margin:.4em 0}
.cth .cc-content ul>li:before{content:none;display:none}
.cth .cc-content ol{padding-left:1.6em}
.cth .cc-content ol>li::marker{color:inherit;font-weight:400}
.cth .cc-content blockquote{background:none;border-left:3px solid #e3d5dd;border-radius:0;padding:4px 16px}
@media(max-width:620px){.cth .cc-content h2{font-size:21px}.cth .cc-content h3{font-size:17.5px}}

/* lesson list: like the old table (title bar, one row per lesson with time and lock), in the site colours */
.cth .cc-topic{border:1px solid #f1e6ec;border-radius:12px;overflow:hidden;background:#fff}
.cth .cc-topic summary{background:#fff5f9;padding:16px 20px!important}
.cth .cc-topic .cc-no{display:none}
.cth .cc-topic .cc-tt{color:#d41a5d;font-size:18px;font-weight:600;flex:1}
.cth .cc-topic ul{padding:0!important;margin:0}
.cth .cc-topic li.cc-les{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;column-gap:12px;margin:0;padding:14px 20px!important;font-size:16px;line-height:1.5;color:#2b3445;border-top:1px solid #f6e9ef;border-radius:0;background:none;border-left:0;border-right:0;border-bottom:0}
.cth .cc-topic li.cc-les:first-child{border-top:1px solid #f6e9ef}
.cth .cc-topic li.cc-les:hover{background:#fffafc}
.cth .cc-les .i{font-size:20px;color:#b8bec9;margin:0}
.cth .cc-les-d{font-size:14px;color:#5f6877;white-space:nowrap}
.cth .cc-lock{width:20px;height:20px;color:#a9b0bd}
.cth .cc-topic li.cc-les.is-free{background:#fff0f6!important;border:0!important;border-top:1px solid #f6e9ef!important;border-radius:0!important;margin:0!important;padding:14px 20px!important}
.cth .cc-topic li.cc-les.is-free .i{color:var(--pink)}
.cth .cc-topic li.cc-les.is-free .cc-les-t a{color:var(--pink);font-weight:700;text-decoration:none;font-size:16px}
.cth .cc-topic li.cc-les.is-free a.cc-free{margin:0;padding:9px 18px;font-size:14px;box-shadow:0 6px 14px rgba(255,44,120,.25)}
@media(max-width:620px){
.cth .cc-topic summary{padding:14px 14px!important}
.cth .cc-topic li.cc-les{column-gap:10px;padding:12px 14px!important;row-gap:8px;font-size:15.5px}
.cth .cc-topic li.cc-les.is-free a.cc-free{grid-column:1/-1;width:100%;margin-top:4px;justify-content:center;padding:12px 18px;font-size:15px}
}

/* the table of contents keeps the same gap as the other blocks (the column already spaces them) */
.cth .cc-main>.cc-toc{margin:0}

/* cover pictures: one ratio (960x587 = 480x294), responsive WebP via srcset */
.cth .cc-hero-art img{aspect-ratio:960/587;height:auto}

/* ===== schedule table: always inside its column, no scroll bar ===== */
html body .cth .cc-content{container-type:inline-size}
html body .cth .cc-content .table-wrapper{overflow:visible!important}
html body .cth .cc-content table:has(.btn-book){display:table!important;width:100%!important;max-width:100%;overflow:visible!important;table-layout:auto;border:0!important;border-collapse:separate;border-spacing:0 6px;background:none!important}
html body .cth .cc-content table:has(.btn-book) tbody{display:table-row-group!important;min-width:0!important;width:auto}
html body .cth .cc-content table:has(.btn-book) tr{display:table-row!important;border:0!important;padding:0!important;margin:0!important;background:none!important}
html body .cth .cc-content table:has(.btn-book) td{display:table-cell!important;padding:10px 7px!important;font-size:14px;line-height:1.4;white-space:normal;text-align:center;vertical-align:middle;overflow-wrap:normal}
html body .cth .cc-content table:has(.btn-book) td:first-child{white-space:nowrap}
html body .cth .cc-content table:has(.btn-book) td:before{display:none}
html body .cth .cc-content table:has(.btn-book) a.btn-book{padding:7px 14px;font-size:13px;white-space:nowrap;border:0!important}

/* narrow column (phones, small tablets, the column next to the side box): each class becomes a card */
@container (max-width: 620px){
	html body .cth .cc-content table:has(.btn-book),html body .cth .cc-content table:has(.btn-book) tbody{display:block!important;width:100%!important}
	html body .cth .cc-content table:has(.btn-book) tr:first-child{display:none!important}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child){display:grid!important;grid-template-columns:1fr 1fr;gap:10px 14px;margin:0 0 12px!important;padding:14px 16px!important;border:1px solid #ffd3e3!important;border-radius:16px;background:#fff7fa!important;box-sizing:border-box}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child):nth-child(even){background:#fff!important}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td{display:block!important;padding:0!important;border:0!important;background:none!important;text-align:left;font-size:15px;color:#2b3445;min-width:0;white-space:normal}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td:before{display:block;content:attr(data-label);margin:0 0 2px;font-size:12px;font-weight:600;color:#8a93a5}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td:first-child{grid-column:1/-1;font-size:17px;font-weight:700;color:var(--pink,#ff2c78);padding-bottom:8px!important;border-bottom:1px dashed #ffd3e3!important}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td:first-child:before{display:none}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td:has(.btn-book){grid-column:1/-1;order:10;text-align:center;padding-top:2px!important}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td:has(.btn-book):before{display:none}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td:last-child:not(:has(.btn-book)){grid-column:1/-1}
	html body .cth .cc-content table:has(.btn-book) a.btn-book{display:flex;width:100%;padding:12px 18px;font-size:16px;box-sizing:border-box}
}
@container (min-width: 460px) and (max-width: 620px){
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child){grid-template-columns:1fr 1fr 1fr}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td:last-child:not(:has(.btn-book)){grid-column:span 2}
	html body .cth .cc-content table:has(.btn-book) a.btn-book{width:auto;min-width:220px;margin:0 auto}
}
/* the theme's own phone style puts the labels in absolute positions: use the normal flow inside our cards */
@container (max-width: 620px){
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td{position:static!important;padding-left:0!important}
	html body .cth .cc-content table:has(.btn-book) tr:not(:first-child) td:before{position:static!important;left:auto!important;top:auto!important;width:auto!important}
}

/* cover pictures show the WHOLE picture (no cropping): the box follows the picture's own proportions */
html body .cth .cc-hero-art img{aspect-ratio:auto!important;height:auto!important;object-fit:contain}

/* Framed content cards (same look as the instructor card) */
.cth .cc-content .cc-box,.cth .cc-content .elementor>.e-con:has(h2,h3,h4),.cth .cc-content .elementor>section.elementor-section:has(h2,h3){background:#fff;border:1px solid #f1e6ea;border-radius:16px;padding:22px 24px;margin:0 0 18px;box-shadow:0 8px 24px rgba(40,30,80,.05);box-sizing:border-box}
.cth .cc-content .cc-box>:first-child,.cth .cc-content .elementor>.e-con:has(h2,h3,h4)>.e-con-inner>:first-child h2{margin-top:0}
.cth .cc-content .cc-box>:last-child{margin-bottom:0}
.cth .cc-content .cc-box ul:last-child{margin-bottom:0}
.cth .cc-content .elementor>.e-con:has(h2,h3,h4) .e-con-inner{padding:0!important;max-width:none}
@media(max-width:620px){.cth .cc-content .cc-box,.cth .cc-content .elementor>.e-con:has(h2,h3,h4),.cth .cc-content .elementor>section.elementor-section:has(h2,h3){padding:16px 14px;border-radius:14px}}
.cth .cc-content>.tutor-course-details-widget{background:#fff;border:1px solid #f1e6ea;border-radius:16px;padding:22px 24px;margin:0 0 18px;box-shadow:0 8px 24px rgba(40,30,80,.05);box-sizing:border-box}
.cth .cc-content>.tutor-course-details-widget>h2{margin-top:0}
.cth .cc-content>.tutor-course-details-widget ul{margin-bottom:0}
@media(max-width:620px){.cth .cc-content>.tutor-course-details-widget{padding:16px 14px;border-radius:14px}}
.cth .cc-content .cc-box-loose>:first-child{margin-top:0}
.cth .cc-content .cc-box-loose>:last-child{margin-bottom:0}
.cth .cc-content .cc-box-loose p:last-child{margin-bottom:0}

/* side column that follows the reader (see home.js): the wrapper holds the cards, the column keeps the room */
.cth .cc-side{position:relative}
.cth .cc-side .cc-side-in{display:flex;flex-direction:column;gap:14px;min-width:0;box-sizing:border-box}
@media(max-width:1000px){.cth .cc-side .cc-side-in{position:static!important;width:auto!important}}
.cth .cc-topic li.cc-les.is-free a:not(.cc-free){color:#d41a5d}
.cth .cc-content span[style*="#ff0000"]{color:#c40000!important}
.cth .cc-inst-item+.cc-inst-item{margin-top:16px;padding-top:16px;border-top:1px solid #f1dde6}
