/* Shared course section only: catalogue and homepage. */
.sh-catalog{--sh-navy:#143c52;--sh-ink:#173447;--sh-muted:#607586;--sh-cyan:#008bb9;--sh-line:#dde7ed;--sh-bg:#f5f8fa}
.sh-catalog{background:var(--sh-bg);color:var(--sh-ink);font-family:"neo",Tahoma,Arial,sans-serif;font-size:15px;line-height:1.7;padding-bottom:58px;overflow-x:clip}
.sh-catalog *{box-sizing:border-box}
.sh-catalog [hidden]{display:none!important}
.sh-catalog [data-js-only]{display:none}
.sh-catalog.sh-is-ready .sh-tools,.sh-catalog.sh-is-ready .sh-filter-line{display:flex}
.sh-shell{max-width:1240px;margin-inline:auto;padding-inline:28px}
.sh-catalog a{text-decoration:none}
.sh-catalog button,.sh-catalog input,.sh-catalog select{font:inherit}
.sh-catalog button{cursor:pointer}
.sh-catalog a:focus-visible,.sh-catalog button:focus-visible,.sh-catalog input:focus-visible,.sh-catalog select:focus-visible{outline:3px solid #087ea5;outline-offset:4px}
.sh-icon-library{position:absolute;width:0;height:0;overflow:hidden}
.sh-icon{display:inline-block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.sh-catalog[dir=ltr] .sh-direction{transform:rotate(180deg)}
.sh-breadcrumb{display:flex;align-items:center;gap:12px;padding-block:25px 12px;color:#718694;font-size:12px}
.sh-breadcrumb a{color:#718694}
.sh-breadcrumb [aria-current]{color:#24495f}
.sh-list-section{padding-top:18px;scroll-margin-top:24px}
.sh-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}
.sh-section-heading .sh-eyebrow{margin-bottom:8px;font-size:11px}
.sh-section-heading h1,.sh-section-heading h2{display:flex;align-items:center;gap:12px;font-family:"neoMed","neo",sans-serif;font-size:26px;line-height:1.6;margin:0;color:var(--sh-ink)}
.sh-total{font:14px/1 Arial,sans-serif;color:#557083;background:#e8eff3;display:grid;place-items:center;min-width:30px;height:30px;padding:6px;border-radius:8px}
.sh-section-heading>p{font-size:12px;color:var(--sh-muted);margin:0 0 6px}
.sh-tools{align-items:center;gap:18px;justify-content:space-between;background:white;border:1px solid var(--sh-line);border-radius:12px;padding:12px 16px;margin-bottom:18px}
.sh-search-wrap{display:flex;align-items:center;gap:12px;flex:1;min-width:0;color:#7793a4}
.sh-search-wrap input{border:0!important;box-shadow:none!important;background:transparent;color:var(--sh-ink);padding:7px 0;width:100%;min-width:0;font-size:13px;line-height:1.65;height:auto}
.sh-search-wrap input::placeholder{color:#637a89;opacity:1}
.sh-clear-search{width:30px;height:30px;flex-shrink:0;border:0;background:#f0f5f8;color:#506977;border-radius:6px;font:22px/1 Arial!important}
.sh-sort-wrap{display:flex;align-items:center;gap:10px;padding-inline-start:20px;border-inline-start:1px solid var(--sh-line);flex-shrink:0}
.sh-sort-wrap label{color:#637a89;font-size:12px;margin:0}
#sh-course-sort{display:block!important;border:0;border-radius:5px;background:#fff;color:var(--sh-ink);padding:7px 4px;font-size:12px;max-width:220px;line-height:1.6;height:auto;cursor:pointer}
#sh-course-sort+.nice-select{display:none!important}
.sh-filter-line{align-items:center;justify-content:space-between;gap:14px;margin-bottom:23px}
.sh-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sh-filter{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px!important;line-height:1.5;border:1px solid var(--sh-line);border-radius:8px;padding:10px 14px;background:#fff;color:#4f6675;transition:background .15s,border-color .15s}
.sh-filter span{font:11px/1 Arial,sans-serif;background:#edf2f5;color:#687e8d;padding:4px 6px;border-radius:4px;min-width:20px}
.sh-filter.is-active{background:var(--sh-navy);border-color:var(--sh-navy);color:white}
.sh-filter.is-active span{background:#315569;color:#e0edf4}
.sh-filter:hover:not(.is-active){background:#eaf5f9;border-color:#a6c5d5}
.sh-result-count{font-size:11px;margin:0;color:#637a89;white-space:nowrap}
.sh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.sh-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.sh-course-card{border:1px solid var(--sh-line);border-radius:14px;background:#fff;display:flex;flex-direction:column;min-width:0;overflow:hidden;transition:box-shadow .2s,border-color .2s;scroll-margin-top:24px}
.sh-course-card:hover{box-shadow:0 9px 28px rgba(18,57,80,.07);border-color:#b5cbd7}
.sh-course-media{position:relative;isolation:isolate;min-width:0;background:#e9f1f4;aspect-ratio:16/9}
.sh-course-image{display:block;height:100%;width:100%;position:relative;overflow:hidden}
.sh-course-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s}
.sh-course-card:hover .sh-course-image img{transform:scale(1.025)}
.sh-image-placeholder{display:grid;place-items:center;height:100%;min-height:160px;color:#6b9aae;background:#e9f1f4}
.sh-image-placeholder .sh-icon{width:64px;height:64px}
.sh-course-status{position:absolute;top:16px;inset-inline-start:16px;padding:6px 10px;display:flex;align-items:center;gap:7px;border-radius:6px;background:#fff;font-size:10px;line-height:1.5;color:#225941;box-shadow:0 2px 5px #00000008}
.sh-course-status>span{width:5px;height:5px;background:#24805c;border-radius:50%}
.sh-course-status.is-closed{color:#815335;background:#fff8f1}
.sh-course-status.is-closed>span{background:#aa7854}
.sh-preview{position:absolute;inset-inline-start:16px;bottom:16px;color:#fff;display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:7px;background:#133c52e8;font-size:11px}
.sh-preview:hover{background:#12364a;color:white}
.sh-preview .sh-icon{width:18px;height:18px}
.sh-course-body{display:flex;flex-direction:column;flex:1;padding:23px;min-width:0}
.sh-course-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.sh-course-category{font-size:11px;color:#1882a0;line-height:1.6}
.sh-enrolled{display:flex;gap:3px;align-items:center;color:#236b50;font-size:10px;white-space:nowrap}
.sh-enrolled .sh-icon{width:15px;height:15px}
.sh-course-body h3{font:20px/1.65 "neoMed","neo",sans-serif;margin:0 0 7px;overflow-wrap:anywhere;color:var(--sh-ink)}
.sh-course-body h3 a{color:inherit}
.sh-course-body h3 a:hover{color:var(--sh-cyan)}
.sh-rating{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;font-size:11px;color:#637a89;margin-bottom:20px;min-height:22px}
.sh-rating strong{font-family:Arial,sans-serif;font-size:14px;color:#304e62}
.sh-stars{display:inline-flex;gap:2px;direction:ltr;flex-shrink:0}
.sh-star{position:relative;display:block;width:19px;height:19px;flex-shrink:0;color:#dbe3e9}
.sh-star svg{display:block;width:19px;height:19px;fill:currentColor;stroke:none;max-width:none}
.sh-star-fill{position:absolute;top:0;left:0;height:100%;overflow:hidden;color:#efad13}
.sh-rating-score,.sh-rating-count{white-space:nowrap}
.sh-rating-count{font-size:10px;color:#738796}
.sh-course-meta{padding:0 0 19px;margin:0 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:17px;border-bottom:1px solid #e9eff3;flex:1;align-content:start}
.sh-course-meta>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.sh-course-meta>.sh-teacher{grid-column:1/-1}
.sh-course-meta dt{display:flex;align-items:center;gap:6px;font-size:11px;color:#637a89;font-weight:400}
.sh-course-meta dt .sh-icon{width:16px;height:16px;color:#779cad}
.sh-course-meta dd{margin:0;color:#38566a;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.sh-course-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto}
.sh-price{flex-shrink:0}
.sh-price-caption{display:block;color:#637a89;font-size:10px;margin-bottom:4px}
.sh-price>div{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.sh-price strong{font:700 27px/1.5 "neoMed","neo",Arial,sans-serif;color:var(--sh-navy)}
.sh-price>div>span{font-size:11px;color:#5d7483}
.sh-price del{font:12px/1.5 Arial;color:#637a89}
.sh-price .sh-price-missing{font-size:16px}
.sh-course-actions{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}
.sh-catalog .sh-button{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:11px 16px;border-radius:8px;border:1px solid var(--sh-cyan);background:var(--sh-cyan);color:#fff;font-size:12px;line-height:1.6;min-height:44px;text-align:center;box-shadow:none;transition:background .15s}
.sh-catalog .sh-button:hover{background:#00779e;border-color:#00779e;color:#fff}
.sh-button .sh-icon{width:18px;height:18px}
.sh-details-link{font-size:10px;color:#657e8d;border-bottom:1px solid #d4e0e7}
.sh-grid--single{grid-template-columns:minmax(0,1fr)}
.sh-grid--single .sh-course-card{display:grid;grid-template-columns:.88fr 1.12fr}
.sh-grid--single .sh-course-media{aspect-ratio:auto;min-height:305px}
.sh-grid--single .sh-course-body{padding:28px 34px}
.sh-grid--single .sh-course-body h3{font-size:27px}
.sh-grid--single .sh-course-meta{grid-template-columns:1.5fr 1fr 1fr;gap:20px}
.sh-grid--single .sh-course-meta>.sh-teacher{grid-column:auto}
.sh-grid--single .sh-rating{margin-bottom:25px}
.sh-grid--single .sh-button{min-width:168px}
.sh-empty{text-align:center;padding:48px 20px;background:#fff;border:1px dashed #c9d9e2;border-radius:12px}
.sh-empty-icon{display:grid;place-items:center;background:#edf5f8;color:#6392a8;width:54px;height:54px;border-radius:50%;margin:0 auto 18px}
.sh-empty h3{font-size:20px;color:var(--sh-ink);margin:0 0 10px}
.sh-empty p{font-size:13px;color:var(--sh-muted);margin:0 0 18px}
.sh-help{display:flex;align-items:center;gap:19px;padding:24px 28px;background:#eaf1f5;border:1px solid #dfe9ef;border-radius:12px;margin-top:35px}
.sh-help-icon{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;background:#fff;border-radius:12px;color:#538197}
.sh-help h2{font:17px/1.6 "neoMed","neo",sans-serif;color:var(--sh-ink);margin:0 0 3px}
.sh-help p{font-size:11px;color:#6f8492;line-height:1.8;margin:0}
.sh-help-link{display:flex;align-items:center;gap:15px;color:var(--sh-navy);font-size:12px;margin-inline-start:auto;white-space:nowrap;padding:8px 0;border-bottom:1px solid #b2c5cf}
.sh-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sh-course-card.sh-highlight{outline:3px solid #1397c1;outline-offset:5px}
@media(max-width:1050px){.sh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sh-grid--single{grid-template-columns:1fr}
.sh-course-bottom{gap:10px}
.sh-course-body{padding:20px}
.sh-grid--single .sh-course-meta{gap:12px}
.sh-grid--single .sh-course-body{padding:26px}
}
@media(max-width:760px){.sh-shell{padding-inline:20px}
.sh-section-heading>p{display:none}
.sh-section-heading h1,.sh-section-heading h2{font-size:23px}
.sh-list-section{padding-top:14px}
.sh-tools{gap:10px;flex-direction:column;align-items:stretch;padding:10px 13px}
.sh-sort-wrap{border-inline-start:0;border-top:1px solid var(--sh-line);padding:8px 0 0;justify-content:space-between}
.sh-grid--single .sh-course-card{display:flex}
.sh-grid--single .sh-course-media{aspect-ratio:16/9;min-height:0}
.sh-grid--single .sh-course-body{padding:23px}
.sh-grid--single .sh-course-body h3{font-size:23px}
.sh-grid--single .sh-course-meta{grid-template-columns:1.4fr 1fr 1fr}
.sh-course-bottom{flex-direction:column;align-items:stretch}
.sh-course-actions{align-items:stretch}
.sh-price>div{justify-content:flex-start}
.sh-grid--single .sh-course-bottom{flex-direction:row;align-items:center}
.sh-filter-line{align-items:flex-start}
.sh-result-count{padding-top:11px}
.sh-help{gap:13px;flex-wrap:wrap;padding:20px}
.sh-help h2{font-size:15px}
.sh-help>div{flex:1;min-width:0}
.sh-help-link{margin-inline-start:61px}
.sh-catalog{padding-bottom:35px}
.sh-grid{gap:16px}
}
@media(max-width:560px){.sh-grid,.sh-grid--two{grid-template-columns:minmax(0,1fr)}
.sh-course-bottom{flex-direction:row;align-items:center}
.sh-course-actions{align-items:center}
.sh-course-meta{grid-template-columns:1.4fr 1fr 1fr}
.sh-course-meta>.sh-teacher{grid-column:auto}
.sh-filter{padding:9px 11px;font-size:11px!important}
.sh-filter-line{flex-direction:column;gap:8px}
.sh-result-count{padding:0}
.sh-course-body h3{font-size:22px}
.sh-course-body{padding:23px}
.sh-course-media{aspect-ratio:16/9}
.sh-help-icon{width:40px;height:40px}
.sh-help-link{margin-inline-start:53px}
.sh-grid--single .sh-button{min-width:0}
.sh-breadcrumb{padding-top:18px}
.sh-section-heading{margin-bottom:17px}
.sh-catalog .sh-button{gap:10px;padding:11px 12px}
}
@media(max-width:370px){.sh-shell{padding-inline:14px}
.sh-grid--single .sh-course-body,.sh-course-body{padding:18px}
.sh-course-meta{gap:10px}
.sh-course-meta dd{font-size:11px}
.sh-course-meta dt{font-size:10px}
.sh-course-bottom{gap:9px}
.sh-price strong{font-size:23px}
.sh-catalog .sh-button{font-size:11px;padding:10px}
}
@media(prefers-reduced-motion:reduce){.sh-catalog *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
.sh-grid--single .sh-course-image{position:absolute;inset:0}
@media(max-width:760px){.sh-help{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px 16px}
.sh-help-link{grid-column:2;margin-inline-start:0;justify-self:start}
.sh-help>div{min-width:0}
}
@media(max-width:560px){.sh-help{grid-template-columns:40px minmax(0,1fr)}
}

/* Home retains the same card layout, with a compact section heading. */
.sh-catalog--home{padding-block:42px 48px;scroll-margin-top:100px}
.sh-catalog--home .sh-list-section{padding-top:0}
.sh-view-all{display:inline-flex;align-items:center;gap:10px;font-size:12px;color:var(--sh-cyan);white-space:nowrap;min-height:40px;border-bottom:1px solid #bfdae5}
.sh-view-all .sh-icon{width:18px;height:18px}
.sh-view-all:hover{color:var(--sh-navy)}
@media(max-width:560px){.sh-catalog--home{padding-block:30px}
.sh-catalog--home .sh-section-heading{align-items:flex-start;gap:10px;flex-wrap:wrap}
.sh-catalog--home .sh-section-heading h2{font-size:23px}
.sh-view-all{font-size:11px;gap:6px;min-height:34px}
}
