body.page-id-15 #pyml,
.learn-home .eyebrow { display: none !important; }
body.page-id-15:has(.scl-home-header) #masthead,
body.page-id-15:not(.logged-in):has(.scl-home-header) .scl-login-panel { display: none !important; }
.scl-home-header { border-bottom: 1px solid #dce7f4; background: #fff; color: #1b3c60; }
.scl-header-inner { width: min(1140px, calc(100% - 32px)); margin-inline: auto; min-height: 64px; display: flex; align-items: center; gap: clamp(6px, 2vw, 24px); }
.scl-header-inner .custom-logo-link { display: inline-flex; flex: 0 1 144px; min-width: 0; }
.scl-header-inner img.custom-logo { display: block; width: 100%; height: auto; max-height: 45px; object-fit: contain; }
.scl-header-inner nav { display: flex; gap: clamp(0px, 1.2vw, 12px); margin-inline-start: auto; }
.scl-header-inner a,.scl-header-account { white-space: nowrap; font-size: 14px; font-weight: 700; text-decoration: none; }
.scl-header-inner nav a,.scl-header-account { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 9px; color: #21466f; }
.scl-header-inner nav a:hover { text-decoration: underline; }
.scl-header-account { min-height: 40px; border-radius: 10px; padding-inline: 13px; background: #edf4ff; }
body.page-id-15:has(.scl-home-header) #main { padding-top: clamp(12px, 2vw, 26px); margin-top: 0; }
#scl-courses,#scl-tools,#scl-work-preview { scroll-margin-top: 52px; }
.learn-home { max-width: 1140px; margin-inline: auto; }
.learn-home .scl-welcome { margin-bottom: 34px; }
.scl-welcome-art { aspect-ratio: 3.16; overflow: hidden; border-radius: 22px; background: #edf3fc; }
.scl-welcome-art img { display: block; width: 100%; height: auto; }
.scl-tool-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.learn-home .scl-tool-links a { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px; border: 1px solid #d8e5f2; border-radius: 12px; background: #f5f9ff; color: #24486f; font-weight: 700; text-decoration: none; }
.scl-tool-links svg { width: 20px; flex: 0 0 20px; color: #326ab0; }
.learn-home a.button { color: #fff !important; }
.learn-home .scl-tool-links a:hover { background: #e4effe; }
.learn-home .scl-tool-links a { color: #24486f !important; text-decoration: none !important; }
.learn-home .scl-home-courses .course { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(16px, 2.4vw, 28px); min-height: 0; }
.learn-home .scl-home-courses .course-icon { font-size: 32px; margin-bottom: 8px; }
.learn-home .scl-home-courses .course p { margin-block: 2px 8px; }
.learn-home .scl-home-courses .course .tags { margin: 0 0 12px; }
.learn-home .scl-home-courses .course a.button { margin-top: auto; min-height: 44px; background: #285fa9 !important; box-shadow: none !important; }
.learn-home .scl-home-courses .course a.button:hover { background: #194780 !important; }
.scl-course-page #secondary,.scl-course-page #pyml { display: none !important; }
.scl-course-page #primary { width: 100% !important; max-width: 1140px; margin-inline: auto; }
.scl-course-path { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-bottom: 16px; }
.scl-course-page .scl-course-path a { color: #1c549a; font-weight: 650; }
.scl-course-intro { margin-bottom: 22px; }
.learn-home .scl-featured { margin-top: 16px; }
.learn-home .scl-featured h2 { font-size: 20px; margin-bottom: 8px; }
.scl-featured .scl-gallery-column { background: transparent; padding: 0; }
.scl-featured .scl-gallery-track.is-scrollable { padding-bottom: 5px; }
.scl-featured .scl-gallery-track.is-scrollable .scl-gallery-card { position: relative; flex: 0 0 min(280px, 82%); aspect-ratio: 16 / 10; padding: 0; background: #e7effe; }
.scl-featured .scl-gallery-card img,.scl-featured .scl-gallery-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.scl-featured-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #173b68; color: #fff; }
.scl-featured .scl-gallery-controls { margin-top: 5px; }
.scl-featured .scl-gallery-controls .scl-scroll-toggle { width: auto; padding: 0 12px; border-radius: 10px; font-size: 13px; }
.learn-home .scl-live-rank .rank-item { grid-template-columns: 24px 32px minmax(0,1fr) auto auto; gap: 6px; padding: 6px 8px; }
.learn-home .scl-live-rank .scl-rank-avatar { width: 32px; height: 32px; line-height: 32px; }
.learn-home .scl-live-rank .medal { min-width: 0; font-size: 19px; }
.scl-like-form { margin: 0; }
.learn-home .scl-like { display: inline-flex; align-items: center; min-height: 36px; padding: 3px 7px; border: 1px solid #cadcf2; border-radius: 9px; background: #fff; color: #24486f; font: inherit; font-size: 13px; white-space: nowrap; }
button.scl-like { cursor: pointer; }
.learn-home .scl-like.is-liked { background: #e7effe; }
.learn-home .split { align-items: start; }
.scl-gallery-columns { align-items: start; }
.scl-gallery-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.scl-gallery-list.is-vertical-scroll { max-height: 312px; overflow-y: auto; scrollbar-gutter: stable; }
.scl-gallery-list .scl-gallery-card { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; align-items: center; height: 72px; padding: 6px; border-radius: 12px; }
.scl-gallery-list .scl-gallery-thumb { height: 56px; aspect-ratio: auto; border-radius: 7px; }
.scl-gallery-list .scl-gallery-play { width: 32px; height: 32px; font-size: 14px; }
.scl-gallery-row-caption { min-width: 0; }
.scl-gallery-row-caption strong,.scl-gallery-row-caption small { margin: 0; line-height: 1.35; }
.scl-gallery-row-caption strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
.scl-gallery-row-caption small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) {
  .learn-home .split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .scl-header-inner .custom-logo-link { flex-basis: 100px; }
  .scl-header-inner nav a { padding-inline: 6px; }
  .scl-header-account { padding-inline: 9px; }
  .scl-tool-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .learn-home .scl-tool-links a { font-size: 13px !important; white-space: nowrap; gap: 4px; padding-inline: 4px; }
  .scl-tool-links svg { width: 16px; flex-basis: 16px; }
  .scl-welcome-art { border-radius: 12px; }
}
