/* Courses Catalog V2. Header and footer remain owned by site.css. */
.course-catalog-section { padding: 0 0 64px; }
.course-catalog-wrap { max-width: 1120px; }
body[data-page="courses"] a.btn.nav-demo-fab { top: calc(var(--header) + 8px); }
.course-catalog-v2 {
  --ccv2-ink: #111316;
  --ccv2-sub: #626d7b;
  --ccv2-muted: #949ba6;
  --ccv2-border: #e6e9ec;
  color: var(--ccv2-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: calc(100vh - var(--header) - 32px);
  padding-bottom: 72px;
}
.course-catalog-v2 *, .course-catalog-v2 *::before, .course-catalog-v2 *::after { box-sizing: border-box; }
.course-catalog-v2 button, .course-catalog-v2 input { font-family: inherit; color: inherit; }
.course-catalog-v2 button { cursor: pointer; }
.course-catalog-v2 :focus-visible { outline: 3px solid #8abaf2; outline-offset: 3px; }
.ccv2-intro { padding: 58px 0 43px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.ccv2-eyebrow { margin: 0 0 11px; color: #8293ae; font-size: 11px; font-weight: 800; letter-spacing: 1.9px; }
.ccv2-intro h1 { margin: 0 0 15px; font-size: 47px; font-weight: 780; letter-spacing: -2.1px; line-height: 1.09; }
.ccv2-intro-copy { max-width: 585px; margin: 0; color: #65707e; font-size: 14px; line-height: 1.65; }
.ccv2-search-tools { flex: 0 0 390px; display: flex; flex-direction: column; align-items: flex-end; gap: 11px; padding-bottom: 4px; }
.ccv2-search-wrap { position: relative; width: 100%; height: 44px; }
.ccv2-search-icon { position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; color: #9199a4; pointer-events: none; }
.ccv2-search { width: 100%; height: 100%; border: 1px solid #e2e5e8; border-radius: 25px; background: #fff; padding: 0 18px 0 41px; color: var(--ccv2-ink); font-size: 13px; outline: none; transition: border-color .2s; }
.ccv2-search:focus { border-color: #7fa7d2; }
.ccv2-search::placeholder { color: #9aa2ae; }
.ccv2-filters { display: flex; width: 100%; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.ccv2-filter { border: 1px solid #e4e6e9; border-radius: 25px; background: #fff; padding: 8px 13px; color: #687380; font-size: 12px; font-weight: 530; transition: color .15s, background .15s, border-color .15s; }
.ccv2-filter[aria-pressed="true"] { border-color: #111416; background: #111416; color: #fff; }
.ccv2-topic-filter { display: flex; width: 100%; align-items: center; gap: 7px; justify-content: flex-end; }
.ccv2-topic-label { color: #84909b; font-size: 11px; white-space: nowrap; }
.ccv2-topic-select { min-width: 120px; max-width: 100%; border: 1px solid #e4e6e9; border-radius: 20px; background: #fff; padding: 7px 28px 7px 11px; color: #687380; font-size: 12px; }
.ccv2-catalog { padding-bottom: 40px; }
.ccv2-series { margin-bottom: 58px; }
.ccv2-series-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 17px; padding: 0 3px; }
.ccv2-series-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 5px; }
.ccv2-series-title { margin: 0; font-size: 26px; font-weight: 760; letter-spacing: -.7px; }
.ccv2-series-count { border-radius: 99px; background: #f1f3f5; padding: 5px 9px; color: #727d88; font-size: 11px; white-space: nowrap; }
.ccv2-series-subtitle { margin: 0; color: #84909b; font-size: 13px; }
.ccv2-series-tools { display: flex; align-items: center; gap: 9px; padding-bottom: 4px; }
.ccv2-hint { margin-right: 8px; color: #9aa2aa; font-size: 11px; white-space: nowrap; }
.ccv2-arrow { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #e4e6e9; border-radius: 50%; background: #fff; color: #596371; font-size: 22px; line-height: 0; transition: all .18s; }
.ccv2-arrow:hover:not(:disabled) { background: #17191c; color: #fff; }
.ccv2-arrow:disabled { opacity: .3; cursor: default; }
.ccv2-rail { display: flex; width: 100%; height: 278px; align-items: center; gap: 19px; overflow-x: auto; overflow-y: hidden; border: 1px solid #edf0f2; border-radius: 26px; background: linear-gradient(180deg,#f3f5f7 0%,#f5f6f8 100%); padding: 26px 40px; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; touch-action: pan-x pan-y; cursor: grab; user-select: none; }
.ccv2-rail::-webkit-scrollbar { display: none; }
.ccv2-rail.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.ccv2-rail.is-dragging .ccv2-card { pointer-events: none; }
.ccv2-card { position: relative; isolation: isolate; display: flex; flex: 0 0 326px; width: 326px; height: 225px; flex-direction: column; overflow: hidden; border: 1px solid #e4e8eb; border-radius: 22px; background: #fff; padding: 25px 21px 20px 23px; color: inherit; text-align: left; text-decoration: none; box-shadow: 0 4px 15px rgba(28,46,66,.025); transition: transform .18s, box-shadow .18s, border-color .18s; touch-action: pan-x pan-y; }
.ccv2-card:hover { transform: translateY(-4px); border-color: #d0d8df; box-shadow: 0 12px 25px rgba(25,43,67,.10); }
.ccv2-card:active { transform: translateY(-1px); }
.ccv2-card-copy { position: relative; z-index: 2; width: 49%; pointer-events: none; }
.ccv2-card-eyebrow { margin-bottom: 13px; color: #8b96a4; font-size: 10px; font-weight: 730; letter-spacing: 1.25px; }
.ccv2-card-title { display: -webkit-box; overflow: hidden; margin: 0 0 10px; font-size: 24px; font-weight: 770; letter-spacing: -1px; line-height: 1.14; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ccv2-card-description { display: -webkit-box; min-height: 34px; max-width: 151px; overflow: hidden; margin: 0; color: #74808b; font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ccv2-card-meta { position: absolute; z-index: 3; bottom: 20px; left: 23px; display: flex; align-items: center; gap: 7px; color: #84909b; font-size: 11px; pointer-events: none; }
.ccv2-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #bbc3cb; }
.ccv2-enter { position: absolute; z-index: 4; right: 18px; bottom: 17px; display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #e7eaec; border-radius: 50%; background: #f4f6f8; color: #75818a; font-size: 16px; pointer-events: none; }
.ccv2-covers { position: absolute; z-index: 1; top: 46px; right: 13px; width: 160px; height: 136px; filter: drop-shadow(0 7px 7px rgba(27,45,70,.10)); pointer-events: none; }
.ccv2-cover { position: absolute; display: flex; width: 146px; aspect-ratio: 16 / 9; height: auto; box-sizing: border-box; flex-direction: column; justify-content: space-between; overflow: hidden; border: 2px solid #fff; border-radius: 9px; background: #e1e9f0; padding: 9px 10px; color: #425a74; box-shadow: 0 4px 9px rgba(33,55,83,.13); }
.ccv2-cover::after { position: absolute; right: -7px; bottom: -12px; width: 61px; height: 61px; border: 9px solid currentColor; border-radius: 50%; content: ""; opacity: .085; }
.ccv2-cover-back { z-index: 1; top: 0; left: 14px; transform: rotate(5deg); }
.ccv2-cover-mid { z-index: 2; top: 18px; left: 7px; transform: rotate(1deg); }
.ccv2-cover-front { z-index: 3; top: 36px; left: 0; transform: rotate(-4deg); }
.ccv2-palette-blue .ccv2-cover-back { background: #e5edf5; color: #6489af; }
.ccv2-palette-blue .ccv2-cover-mid { background: #c9dff5; color: #3f76aa; }
.ccv2-palette-blue .ccv2-cover-front { background: #dcecff; color: #356ca4; }
.ccv2-palette-teal .ccv2-cover-back { background: #e1eee9; color: #448c86; }
.ccv2-palette-teal .ccv2-cover-mid { background: #d6efea; color: #387c75; }
.ccv2-palette-teal .ccv2-cover-front { background: #e1f4ee; color: #287567; }
.ccv2-palette-sand .ccv2-cover-back { background: #f1e8dc; color: #b58d61; }
.ccv2-palette-sand .ccv2-cover-mid { background: #f0e3d4; color: #9a7a55; }
.ccv2-palette-sand .ccv2-cover-front { background: #f5eade; color: #ab8256; }
.ccv2-palette-slate .ccv2-cover-back { background: #e3e8ed; color: #708093; }
.ccv2-palette-slate .ccv2-cover-mid { background: #dce4ec; color: #506980; }
.ccv2-palette-slate .ccv2-cover-front { background: #e5edf4; color: #4e657e; }
.ccv2-cover img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 7px; object-fit: cover; }
.ccv2-cover-front img { object-position: center; }
.ccv2-cover.has-cover-image .ccv2-cover-small,
.ccv2-cover.has-cover-image .ccv2-cover-caption { display: none; }
.ccv2-cover-small { position: relative; z-index: 1; max-width: calc(100% - 6px); overflow: hidden; font-size: 7px; font-weight: 850; letter-spacing: .7px; line-height: 1.2; opacity: .84; text-overflow: ellipsis; white-space: nowrap; }
.ccv2-cover-caption { position: relative; z-index: 1; max-width: 100%; overflow: hidden; font-size: 10px; font-weight: 760; letter-spacing: .2px; text-overflow: ellipsis; white-space: nowrap; }
.ccv2-cover-play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 28px; height: 28px; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; background: rgba(255,255,255,.77); color: currentColor; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.ccv2-cover-play::before { width: 0; height: 0; margin-left: 2px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; content: ""; }
.ccv2-scroll-footer { display: flex; align-items: center; gap: 24px; margin: 15px 12px 0; }
.ccv2-scroll-track { position: relative; flex: 1; height: 5px; border-radius: 20px; background: #ebedf0; cursor: pointer; touch-action: none; transition: background .15s; }
.ccv2-scroll-track:hover { background: #dfe3e8; }
.ccv2-scroll-thumb { position: absolute; top: 0; left: 0; min-width: 38px; height: 100%; border-radius: 15px; background: #151a20; cursor: grab; touch-action: none; }
.ccv2-scroll-thumb:active { cursor: grabbing; }
.ccv2-rail-position { min-width: 68px; color: #9aa3ad; font-size: 11px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ccv2-rail-position strong { color: #404b56; font-weight: 720; }
.ccv2-empty, .ccv2-status { padding: 72px 20px; color: #777; text-align: center; }
.ccv2-empty h2 { margin: 0 0 8px; color: #1c2228; font-size: 22px; }
.ccv2-empty p { margin: 0; }
.ccv2-empty button { margin-top: 16px; border: 0; border-radius: 30px; background: #111; padding: 11px 19px; color: #fff; }
.ccv2-series-empty { margin: 0; color: #7b8490; font-size: 13px; }
.ccv2-preview-banner { margin: 12px 0 0; border: 1px solid #f0d99d; border-radius: 10px; background: #fff8e8; padding: 10px 14px; color: #735a18; font-size: 13px; }
@media (max-width: 1150px) {
  .ccv2-rail { padding-inline: 28px; }
}
@media (max-width: 820px) {
  .ccv2-intro { align-items: stretch; flex-direction: column; gap: 25px; padding-top: 43px; padding-bottom: 34px; }
  .ccv2-intro h1 { font-size: 41px; }
  .ccv2-search-tools { flex: none; width: 100%; align-items: flex-start; }
  .ccv2-filters, .ccv2-topic-filter { justify-content: flex-start; }
  .ccv2-series { margin-bottom: 46px; }
  .ccv2-series-heading { margin-bottom: 4px; }
  .ccv2-hint { display: none; }
  .ccv2-rail { height: 269px; gap: 16px; border-radius: 22px; padding: 20px 22px; }
  .ccv2-card { flex-basis: 305px; width: 305px; height: 222px; }
  .ccv2-series-title { font-size: 24px; }
  .ccv2-series-count { font-size: 10px; }
  .ccv2-scroll-footer { margin-top: 14px; }
}
@media (max-width: 520px) {
  .course-catalog-section { padding-bottom: 0; }
  .course-catalog-v2 { padding-bottom: 42px; }
  .ccv2-intro { gap: 22px; padding-top: 37px; padding-bottom: 38px; }
  .ccv2-eyebrow { font-size: 10px; }
  .ccv2-intro h1 { margin-bottom: 11px; font-size: 39px; letter-spacing: -1.7px; }
  .ccv2-intro-copy { font-size: 13px; line-height: 1.55; }
  .ccv2-search { height: 43px; }
  .ccv2-filter { padding: 8px 11px; font-size: 11px; }
  .ccv2-series-head { margin-bottom: 15px; padding: 0 2px; }
  .ccv2-series-title { font-size: 23px; }
  .ccv2-series-subtitle { font-size: 12px; line-height: 1.4; }
  .ccv2-series-count { padding: 4px 8px; font-size: 10px; }
  .ccv2-series-tools { gap: 6px; }
  .ccv2-arrow { width: 29px; height: 29px; font-size: 19px; }
  .ccv2-rail { height: 254px; gap: 15px; border-radius: 18px; padding: 17px 19px; }
  .ccv2-card { flex: 0 0 282px; width: 282px; height: 218px; padding: 22px 20px; }
  .ccv2-card-title { font-size: 22px; }
  .ccv2-card-eyebrow { font-size: 9px; }
  .ccv2-card-description { max-width: 120px; font-size: 11px; }
  .ccv2-card-meta { left: 20px; }
  .ccv2-covers { top: 47px; right: 10px; transform: scale(.77); transform-origin: top right; }
  .ccv2-scroll-footer { gap: 16px; margin: 13px 3px 0; }
  .ccv2-rail-position { min-width: 57px; }
  .ccv2-series { margin-bottom: 44px; }
  .ccv2-topic-filter { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ccv2-rail { scroll-behavior: auto; }
  .ccv2-card { transition: none; }
}
