/* Sela Academy Course Catalog - Sela design language. All rules scoped to the catalog. */
.sela-catalog, .sela-catalog-modal {
  --sc-dark: #1C1C1C;
  --sc-text: #1C1C1C;
  --sc-body: #333333;
  --sc-muted: #686868;
  --sc-line: #D0D0D0;
  --sc-soft: #F9F9F9;
  --sc-sky: #EEF5FF;
  --sc-cyan: #00DBE9;
  --sc-green: #00DD95;
  --sc-blue: #0071F6;
  --sc-pink: #CC3366;
  --sc-font: Lexend, "SC Lexend", "Noto Sans Hebrew", system-ui, sans-serif;
  color: var(--sc-body);
  font-family: var(--sc-font);
  font-weight: 300;
  line-height: 1.55;
}
.sela-catalog *, .sela-catalog-modal * { box-sizing: border-box; }
.sela-catalog svg, .sela-catalog-modal svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.sela-catalog button, .sela-catalog-modal button, .sela-catalog select, .sela-catalog input { font-family: var(--sc-font); }
.sela-catalog h2, .sela-catalog h3, .sela-catalog-modal h2, .sela-catalog-modal h3, .sela-catalog-modal h4 { font-family: var(--sc-font); letter-spacing: 0; text-transform: none; }

/* ---------- buttons (Sela pill style) ---------- */
.sela-catalog .sc-btn, .sela-catalog-modal .sc-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 100px; cursor: pointer;
  font-size: 15px; font-weight: 400; line-height: 1; text-decoration: none; white-space: nowrap; letter-spacing: 0; text-transform: none;
  transition: background .2s, color .2s, border-color .2s; box-shadow: none;
}
.sc-btn .sc-arrow { width: 18px; height: 18px; transition: transform .2s; }
.sc-btn:hover .sc-arrow { transform: translateX(3px); }
.sela-catalog .sc-btn-line, .sela-catalog-modal .sc-btn-line { background: transparent; color: var(--sc-dark); border: 1px solid var(--sc-dark); }
.sela-catalog .sc-btn-line:hover, .sela-catalog-modal .sc-btn-line:hover { background: var(--sc-dark); color: #fff; }
.sela-catalog-modal .sc-btn-primary { background: var(--sc-cyan); color: var(--sc-dark); border: 1px solid var(--sc-cyan); font-weight: 500; }
.sela-catalog-modal .sc-btn-primary:hover { background: var(--sc-dark); border-color: var(--sc-dark); color: #fff; }
.sela-catalog .sc-link, .sela-catalog-modal .sc-link { background: none; border: 0; padding: 0; color: var(--sc-blue); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- built-in page banner ---------- */
.sela-catalog .sc-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 420px; padding: 64px 64px; margin-bottom: 40px; background: var(--sc-soft); border-radius: 30px; }
.sela-catalog .sc-hero > i { position: absolute; height: 50px; border-radius: 50px; transform: rotate(-32deg); z-index: -1; }
.sela-catalog .sc-hero > i::after { content: ""; position: absolute; right: 0; top: 0; width: 50px; height: 50px; border-radius: 50%; }
.sela-catalog .sc-hero .sc-h1 { width: 340px; left: -150px; top: 40px; background: linear-gradient(90deg, rgba(0,221,149,0), #00DD95); } .sc-hero .sc-h1::after { background: #00DD95; }
.sela-catalog .sc-hero .sc-h2 { width: 200px; left: -110px; bottom: -6px; height: 30px; background: linear-gradient(90deg, rgba(204,51,102,0), #CC3366); } .sc-hero .sc-h2::after { width: 30px !important; height: 30px !important; background: #CC3366; }
.sela-catalog .sc-hero .sc-h3 { width: 420px; right: -150px; top: 20px; background: linear-gradient(90deg, rgba(0,219,233,0), #00DBE9); } .sc-hero .sc-h3::after { background: #00DBE9; }
.sela-catalog .sc-hero .sc-h4 { width: 240px; right: 120px; bottom: 30px; height: 26px; background: linear-gradient(90deg, rgba(0,113,246,0), #0071F6); } .sc-hero .sc-h4::after { width: 26px !important; height: 26px !important; background: #0071F6; }
.sela-catalog .sc-hero-txt { max-width: 680px; position: relative; z-index: 1; }
.sela-catalog .sc-hero .sc-eyebrow { color: #007E86; }
.sela-catalog .sc-hero h1 { margin: 14px 0 16px; font-family: var(--sc-font); font-size: clamp(36px, 5vw, 60px); line-height: 1.08; font-weight: 300; color: var(--sc-text); letter-spacing: -.5px; text-transform: none; }
.sela-catalog .sc-hero p { margin: 0 0 30px; font-size: 18px; color: var(--sc-body); max-width: 600px; }
.sela-catalog .sc-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sela-catalog .sc-hero-rocky { height: 360px; width: auto; flex: none; margin-right: 40px; position: relative; z-index: 0; animation: sc-float 6s ease-in-out infinite; }

/* ---------- toolbar ---------- */
.sela-catalog .sc-toolbar { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.sela-catalog .sc-search { position: relative; }
.sela-catalog .sc-search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--sc-muted); width: 20px; height: 20px; }
.sela-catalog .sc-search input {
  width: 100%; height: 60px; margin: 0; padding: 0 24px 0 54px; border: 1px solid var(--sc-line); border-radius: 100px; background: #fff;
  font-size: 16px; font-weight: 300; color: var(--sc-text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.sela-catalog .sc-search input::placeholder { color: #9a9a9a; }
.sela-catalog .sc-search input:focus { border-color: var(--sc-dark); box-shadow: 0 0 0 4px rgba(0, 219, 233, .25); }
.sela-catalog .sc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sela-catalog .sc-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 100px; cursor: pointer; margin: 0;
  border: 1px solid var(--sc-line); background: #fff; color: var(--sc-text); font-size: 14px; font-weight: 300; line-height: 1;
  transition: all .15s; box-shadow: none; text-transform: none; letter-spacing: 0;
}
.sela-catalog .sc-chip[style]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sc-dot); }
.sela-catalog .sc-chip:hover { border-color: var(--sc-dark); background: #fff; color: var(--sc-text); }
.sela-catalog .sc-chip.is-active { background: var(--sc-dark); border-color: var(--sc-dark); color: #fff; }
.sela-catalog .sc-chip-ai { background: var(--sc-dark); color: #fff; border-color: var(--sc-dark); font-weight: 400; position: relative; }
.sela-catalog .sc-chip-ai .sc-spark { color: var(--sc-cyan); }
.sela-catalog .sc-chip-ai:hover { background: #333; color: #fff; }
.sela-catalog .sc-chip-ai.is-active { background: var(--sc-cyan); border-color: var(--sc-cyan); color: var(--sc-dark); }
.sela-catalog .sc-chip-ai.is-active .sc-spark { color: var(--sc-dark); }
.sela-catalog .sc-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sela-catalog .sc-select { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--sc-muted); font-weight: 300; }
.sela-catalog .sc-select select {
  height: 40px; margin: 0; padding: 0 34px 0 16px; border: 1px solid var(--sc-line); border-radius: 100px; background-color: #fff;
  color: var(--sc-text); font-size: 14px; font-weight: 300; cursor: pointer; min-width: 130px;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%231C1C1C' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.sela-catalog .sc-spacer { flex: 1; }

/* ---------- AI spotlight ---------- */
.sela-catalog .sc-spot { position: relative; overflow: hidden; background: var(--sc-dark); color: #fff; border-radius: 30px; padding: 56px 52px 48px; margin-bottom: 56px; isolation: isolate; }
.sela-catalog .sc-spot > i { position: absolute; height: 46px; border-radius: 46px; transform: rotate(-32deg); z-index: -1; }
.sela-catalog .sc-spot > i::after { content: ""; position: absolute; right: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: inherit; }
.sela-catalog .sc-spot .sc-s1 { width: 380px; right: -90px; top: -10px; background: linear-gradient(90deg, rgba(0,219,233,0), #00DBE9); }
.sela-catalog .sc-spot .sc-s1::after { background: #00DBE9; }
.sela-catalog .sc-spot .sc-s2 { width: 200px; right: 160px; top: 20px; background: linear-gradient(90deg, rgba(0,221,149,0), #00DD95); }
.sela-catalog .sc-spot .sc-s2::after { background: #00DD95; }
.sela-catalog .sc-spot .sc-s3 { width: 6px; height: 160px !important; right: 360px; top: -30px; background: linear-gradient(rgba(0,219,233,0), #00DBE9); transform: rotate(32deg); }
.sela-catalog .sc-spot .sc-s3::after { display: none; }
.sela-catalog .sc-spot-top { max-width: 660px; position: relative; }
.sela-catalog .sc-spot .sc-stats { margin-top: 30px; }
.sela-catalog .sc-rocky-spot { position: absolute; right: 70px; top: 34px; height: 330px; width: auto; z-index: 0; filter: drop-shadow(0 20px 40px rgba(0,219,233,.22)); animation: sc-float 6s ease-in-out infinite; pointer-events: none; }
.sela-catalog .sc-spot-compact .sc-rocky-spot { height: 170px; top: 18px; right: 50px; }
.sela-catalog .sc-spot-in { position: relative; z-index: 1; }
@keyframes sc-float { 50% { transform: translateY(-10px); } }
.sela-catalog .sc-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-cyan); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.sela-catalog .sc-eyebrow .sc-spark { width: 16px; height: 16px; }
.sela-catalog .sc-spot h2 { margin: 14px 0 14px; color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; font-weight: 300; }
.sela-catalog .sc-spot p { margin: 0; color: rgba(255,255,255,.72); font-size: 17px; font-weight: 300; }
.sela-catalog .sc-stats { display: flex; gap: 0; }
.sela-catalog .sc-stats > div { display: flex; flex-direction: column; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.18); max-width: 170px; }
.sela-catalog .sc-stats > div:first-child { border-left: 0; padding-left: 0; }
.sela-catalog .sc-stats b { font-size: 44px; font-weight: 300; line-height: 1; color: #fff; }
.sela-catalog .sc-stats > div:first-child b { color: var(--sc-cyan); }
.sela-catalog .sc-stats .sc-stat-txt { justify-content: center; max-width: 220px; }
.sela-catalog .sc-stats .sc-stat-txt span { margin: 0; font-size: 14px; }
.sela-catalog .sc-stats span { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.35; }
.sela-catalog .sc-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.sela-catalog .sc-track {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 6px; padding: 22px 22px 18px; margin: 0;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; color: #fff; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s; font-weight: 300; box-shadow: none; text-transform: none; letter-spacing: 0;
  backdrop-filter: blur(6px);
}
.sela-catalog .sc-track:hover { background: rgba(255,255,255,.09); border-color: var(--sc-cyan); transform: translateY(-2px); color: #fff; }
.sela-catalog .sc-track.is-active { background: var(--sc-cyan); border-color: var(--sc-cyan); color: var(--sc-dark); }
.sela-catalog .sc-track-n { font-size: 12px; color: var(--sc-cyan); font-weight: 500; letter-spacing: .08em; }
.sela-catalog .sc-track.is-active .sc-track-n { color: var(--sc-dark); }
.sela-catalog .sc-track-name { font-size: 18px; font-weight: 400; line-height: 1.3; }
.sela-catalog .sc-track-desc { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.45; }
.sela-catalog .sc-track-count { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.85); }
.sela-catalog .sc-track.is-active .sc-track-desc, .sela-catalog .sc-track.is-active .sc-track-count { color: var(--sc-dark); }
.sela-catalog .sc-track-count .sc-arrow { width: 16px; height: 16px; transition: transform .2s; }
.sela-catalog .sc-track:hover .sc-arrow { transform: translateX(3px); }
.sela-catalog .sc-spot-compact { padding: 36px 40px 32px; margin-bottom: 32px; }
.sela-catalog .sc-spot-compact h2 { font-size: 32px; margin-bottom: 0; }
.sela-catalog .sc-spot-compact .sc-tracks { margin-top: 26px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.sela-catalog .sc-spot-compact .sc-track { padding: 14px 16px; border-radius: 16px; }
.sela-catalog .sc-spot-compact .sc-track-name { font-size: 15px; }
.sela-catalog .sc-spot-compact .sc-stats b { font-size: 34px; }

/* ---------- sections ---------- */
.sela-catalog .sc-sec { margin-bottom: 56px; }
.sela-catalog .sc-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.sela-catalog .sc-sec-head h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 28px; font-weight: 300; color: var(--sc-text); line-height: 1.2; }
.sela-catalog .sc-sec-head h2 i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.sela-catalog .sc-sec-head p { margin: 6px 0 0; color: var(--sc-muted); font-size: 15px; }
.sela-catalog .sc-divider { display: flex; align-items: center; gap: 20px; margin: 8px 0 40px; color: var(--sc-text); font-size: 38px; font-weight: 300; line-height: 1.2; }
.sela-catalog .sc-divider::after { content: ""; flex: 1; height: 1px; background: var(--sc-line); }
.sela-catalog .sc-results-head { margin: 0 0 20px; font-size: 15px; color: var(--sc-muted); }
.sela-catalog .sc-results-head b { color: var(--sc-text); font-weight: 500; }

/* ---------- cards ---------- */
.sela-catalog .sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.sela-catalog .sc-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sc-line); border-radius: 24px; overflow: hidden;
  cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; outline: none;
}
.sela-catalog .sc-card:hover { transform: translateY(-4px); border-color: var(--sc-dark); box-shadow: 0 16px 36px rgba(28,28,28,.08); }
.sela-catalog .sc-card:focus-visible { border-color: var(--sc-dark); box-shadow: 0 0 0 3px var(--sc-cyan); }
.sc-art { position: relative; height: 132px; overflow: hidden; background: #F9F9F9; isolation: isolate; }
.sc-art-dark { background: #1C1C1C; }
.sc-art > i { position: absolute; height: 30px; border-radius: 30px; transform: rotate(-32deg); z-index: -1; }
.sc-art > i::after { content: ""; position: absolute; right: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; }
.sc-art .sc-s1 { width: 230px; left: var(--x); top: calc(64px + var(--y)); background: linear-gradient(90deg, transparent, var(--c1)); }
.sc-art .sc-s1::after { background: var(--c1); }
.sc-art .sc-s2 { width: 150px; height: 18px; left: calc(var(--x) - 60px); top: calc(104px + var(--y)); background: linear-gradient(90deg, transparent, var(--c2)); opacity: .9; }
.sc-art .sc-s2::after { width: 18px; height: 18px; background: var(--c2); }
.sc-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.sc-mono { position: absolute; z-index: 1; left: 20px; bottom: 12px; font-size: 26px; font-weight: 300; letter-spacing: -.5px; color: rgba(28,28,28,.22); white-space: nowrap; }
.sc-art-dark .sc-mono { color: rgba(255,255,255,.28); }
.sc-tags { position: absolute; left: 16px; top: 16px; right: 100px; display: flex; flex-wrap: wrap; gap: 6px; }
.sc-tag { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border-radius: 100px; background: #fff; color: #1C1C1C; font-size: 12px; font-weight: 400; border: 1px solid #E5E5E5; white-space: nowrap; }
.sc-tag-ai { background: #E0FBFD; border-color: #B4F3F8; color: #006E75; }
.sc-tag .sc-spark { width: 12px; height: 12px; }
.sc-art-dark .sc-tag-ai { background: rgba(0,219,233,.14); border-color: rgba(0,219,233,.45); color: #00DBE9; }
.sc-feat { position: absolute; right: 16px; top: 16px; height: 26px; line-height: 26px; padding: 0 12px; border-radius: 100px; background: #1C1C1C; color: #fff; font-size: 12px; font-weight: 400; }
.sc-art-dark .sc-feat { background: #00DD95; color: #1C1C1C; font-weight: 500; }
.sela-catalog .sc-body { padding: 20px 22px 6px; flex: 1; }
.sela-catalog .sc-code, .sela-catalog-modal .sc-code { display: block; margin-bottom: 6px; font-size: 12.5px; letter-spacing: .02em; color: var(--sc-muted); font-weight: 400; }
.sela-catalog-modal .sc-code-lg { margin: 0 0 4px; font-size: 13px; }
.sela-catalog .sc-body h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; color: var(--sc-text); font-weight: 400; }
.sela-catalog .sc-body p { margin: 0; font-size: 14.5px; color: var(--sc-muted); font-weight: 300; }
.sc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 22px 22px; font-size: 13px; color: #686868; font-weight: 300; }
.sc-m { display: inline-flex; align-items: center; gap: 6px; }
.sc-pill { font-size: 12px; font-weight: 400; height: 24px; line-height: 24px; padding: 0 11px; border-radius: 100px; background: #F1F1F1; color: #333; }
.sc-lvl-beginner { background: #DFFAF0; color: #00744F; }
.sc-lvl-intermediate { background: #EEF5FF; color: #0057BE; }
.sc-lvl-advanced { background: #FBE7EE; color: #A4224D; }
.sela-catalog .sc-empty, .sela-catalog .sc-loading { padding: 56px 20px; text-align: center; color: var(--sc-muted); background: var(--sc-soft); border-radius: 24px; }
.sela-catalog .sc-loading span { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; border: 2px solid var(--sc-cyan); border-right-color: transparent; border-radius: 50%; animation: sc-spin .8s linear infinite; }

/* ---------- stack bar ---------- */
.sela-catalog .sc-stackbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sela-catalog .sc-stackbar-l { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sc-muted); font-weight: 500; margin-right: 6px; }
.sela-catalog .sc-stack {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; margin: 0; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--sc-line); background: var(--sc-soft); color: var(--sc-text); font-size: 14px; font-weight: 400; line-height: 1; box-shadow: none; text-transform: none; letter-spacing: 0;
}
.sela-catalog .sc-stack span { font-size: 12px; color: var(--sc-muted); font-weight: 300; }
.sela-catalog .sc-stack:hover { border-color: var(--sc-dark); background: #fff; color: var(--sc-text); }
.sela-catalog .sc-stack.is-active { background: #fff; border-color: var(--sc-dark); box-shadow: inset 0 0 0 1px var(--sc-dark); }
.sela-catalog .sc-sd { width: 8px; height: 8px; border-radius: 50%; background: var(--sc-cyan); }
.sc-sd-microsoft { background: #0071F6 !important; } .sc-sd-aws { background: #00DD95 !important; } .sc-sd-google { background: #CC3366 !important; }

/* ---------- partner badges ---------- */
.sc-badges { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; z-index: 2; }
.sc-badge-img { height: 44px; width: auto; background: #fff; border-radius: 10px; padding: 4px 7px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.sela-catalog-modal .sc-art-big .sc-badges { right: 32px; bottom: 18px; }
.sela-catalog-modal .sc-art-big .sc-badge-img { height: 54px; padding: 4px 8px; border-radius: 10px; }
.sela-catalog-modal .sc-partner { margin: 18px 0 8px; padding: 18px 22px; border: 1px solid var(--sc-line); border-radius: 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.sela-catalog-modal .sc-partner-l { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-muted); font-weight: 400; flex: 0 0 auto; }
.sela-catalog-modal .sc-partner > div { display: flex; flex-wrap: wrap; gap: 18px; }
.sela-catalog-modal .sc-partner-i { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; color: var(--sc-text); }
.sela-catalog-modal .sc-partner-img { height: 60px; width: auto; }

/* ---------- vendor showcase ---------- */
.sela-catalog .sc-vendor { --vc: #0071F6; --vc2: #00DBE9; position: relative; overflow: hidden; isolation: isolate; background: #F9F9F9; border: 1px solid #ECECEC; border-radius: 30px; padding: 48px 52px; margin-bottom: 48px; }
.sela-catalog .sc-vendor-aws { --vc: #00DD95; --vc2: #00DBE9; }
.sela-catalog .sc-vendor-google { --vc: #CC3366; --vc2: #0071F6; }
.sela-catalog .sc-vendor > i { position: absolute; height: 46px; border-radius: 46px; transform: rotate(-32deg); z-index: -1; }
.sela-catalog .sc-vendor > i::after { content: ""; position: absolute; right: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--vc); }
.sela-catalog .sc-vendor .sc-s1 { width: 380px; right: -80px; top: 10px; background: linear-gradient(90deg, rgba(255,255,255,0), var(--vc)); }
.sela-catalog .sc-vendor .sc-s2 { width: 220px; right: 200px; bottom: 30px; height: 26px; background: linear-gradient(90deg, rgba(255,255,255,0), var(--vc2)); }
.sela-catalog .sc-vendor .sc-s2::after { width: 26px; height: 26px; background: var(--vc2); }
.sela-catalog .sc-vendor-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.sela-catalog .sc-vendor-txt { max-width: 700px; }
.sela-catalog .sc-vendor-badge { display: block; width: fit-content; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 2px 10px rgba(0,0,0,.06); margin-bottom: 22px; }
.sela-catalog .sc-vendor-badge-img { height: 64px; width: auto; display: block; }
.sela-catalog .sc-vendor .sc-eyebrow { color: #007E86; }
.sela-catalog .sc-vendor h2 { margin: 10px 0 10px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 300; color: var(--sc-text); }
.sela-catalog .sc-vendor p { margin: 0; font-size: 17px; color: var(--sc-body); }
.sela-catalog .sc-vendor .sc-stats { margin-top: 26px; }
.sela-catalog .sc-vendor .sc-stats > div { border-left-color: #DADADA; }
.sela-catalog .sc-vendor .sc-stats b { color: var(--sc-text); }
.sela-catalog .sc-vendor .sc-stats > div:first-child b { color: #007E86; }
.sela-catalog .sc-vendor .sc-stats span { color: var(--sc-muted); }
.sela-catalog .sc-techs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.sela-catalog .sc-techchip { height: 34px; padding: 0 14px; margin: 0; border-radius: 100px; border: 1px solid var(--sc-line); background: #fff; color: var(--sc-text); font-size: 13.5px; font-weight: 400; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; }
.sela-catalog .sc-techchip:hover { border-color: var(--sc-dark); background: var(--sc-dark); color: #fff; }
.sela-catalog .sc-rocky-vendor { height: 300px; width: auto; flex: none; animation: sc-float 6s ease-in-out infinite; }
.sela-catalog .sc-vendor-compact { padding: 26px 32px; }
.sela-catalog .sc-vendor-compact .sc-vendor-badge { margin-bottom: 12px; padding: 6px 10px; }
.sela-catalog .sc-vendor-compact .sc-vendor-badge-img { height: 42px; }
.sela-catalog .sc-vendor-compact h2 { font-size: 26px; }
.sela-catalog .sc-vendor-compact .sc-stats { margin-top: 14px; }
.sela-catalog .sc-vendor-compact .sc-stats b { font-size: 30px; }

/* stack tiles on home */
.sela-catalog .sc-stack-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sela-catalog .sc-stack-tile {
  --vc: #0071F6; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; margin: 0;
  padding: 26px 26px 22px; border-radius: 24px; border: 1px solid var(--sc-line); background: #fff; color: var(--sc-text); cursor: pointer;
  font-weight: 300; box-shadow: none; text-transform: none; letter-spacing: 0; transition: border-color .2s, transform .2s;
}
.sela-catalog .sc-stack-tile.sc-vendor-aws { --vc: #00DD95; } .sela-catalog .sc-stack-tile.sc-vendor-google { --vc: #CC3366; }
.sela-catalog .sc-stack-tile::before { content: ""; position: absolute; right: -40px; top: 26px; width: 170px; height: 22px; border-radius: 22px; transform: rotate(-32deg); background: linear-gradient(90deg, rgba(255,255,255,0), var(--vc)); opacity: .85; }
.sela-catalog .sc-stack-tile:hover { border-color: var(--sc-dark); transform: translateY(-3px); background: #fff; color: var(--sc-text); }
.sela-catalog .sc-st-badge { height: 64px; display: flex; align-items: center; margin-bottom: 8px; }
.sela-catalog .sc-st-badge-img { max-height: 64px; max-width: 170px; width: auto; }
.sela-catalog .sc-st-name { font-size: 22px; font-weight: 400; }
.sela-catalog .sc-st-desc { font-size: 14px; color: var(--sc-muted); line-height: 1.45; }
.sela-catalog .sc-st-count { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.sela-catalog .sc-st-count b { font-weight: 500; }
.sela-catalog .sc-st-count .sc-arrow { width: 18px; height: 18px; margin-left: 4px; }

/* custom training band + empty state */
.sela-catalog .sc-custom { display: flex; align-items: center; gap: 28px; padding: 30px 40px; margin: 16px 0 0; border-radius: 30px; background: #EEF5FF; }
.sela-catalog .sc-custom img { height: 150px; width: auto; margin: -20px 0 -20px; }
.sela-catalog .sc-custom > div { flex: 1; }
.sela-catalog .sc-custom h3 { margin: 0 0 6px; font-size: 26px; font-weight: 300; color: var(--sc-text); }
.sela-catalog .sc-custom p { margin: 0; color: var(--sc-body); font-size: 16px; }
.sela-catalog .sc-btn-dark { background: var(--sc-dark); color: #fff; border: 1px solid var(--sc-dark); }
.sela-catalog .sc-btn-dark:hover { background: var(--sc-cyan); border-color: var(--sc-cyan); color: var(--sc-dark); }
.sela-catalog .sc-empty img { height: 140px; width: auto; display: block; margin: 0 auto 10px; }
.sela-catalog .sc-empty p { margin: 0 0 16px; font-size: 17px; color: var(--sc-text); }

/* ---------- detail window ---------- */
.sela-catalog-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sela-catalog-modal[hidden] { display: none; }
.sela-catalog-modal .sc-backdrop { position: absolute; inset: 0; background: rgba(28,28,28,.55); backdrop-filter: blur(3px); animation: sc-fade .2s; }
.sela-catalog-modal .sc-dialog { position: relative; width: min(800px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border-radius: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.28); animation: sc-up .25s ease-out; }
.sela-catalog-modal .sc-art-big { height: 170px; }
.sela-catalog-modal .sc-art-big .sc-s1 { width: 320px; height: 40px; }
.sela-catalog-modal .sc-art-big .sc-s1::after { width: 40px; height: 40px; }
.sela-catalog-modal .sc-art-big .sc-mono { font-size: 38px; left: 32px; }
.sela-catalog-modal .sc-art-big .sc-tags { left: 32px; top: 24px; }
.sela-catalog-modal .sc-art-big .sc-feat { right: 72px; top: 24px; }
.sela-catalog-modal .sc-close { position: absolute; right: 18px; top: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E5E5E5; padding: 0; background: #fff; color: #1C1C1C; font-size: 24px; line-height: 38px; cursor: pointer; }
.sela-catalog-modal .sc-close:hover { background: #1C1C1C; color: #fff; }
.sela-catalog-modal .sc-dlg-body { padding: 28px 40px 8px; }
.sela-catalog-modal .sc-kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sc-muted); font-weight: 500; }
.sela-catalog-modal .sc-dlg-body h2 { margin: 6px 0 6px; font-size: 32px; line-height: 1.2; color: var(--sc-text); font-weight: 300; }
.sela-catalog-modal .sc-meta { padding: 6px 0 4px; }
.sela-catalog-modal .sc-desc { color: var(--sc-body); font-size: 16px; }
.sela-catalog-modal .sc-desc p { margin: 12px 0; }
.sela-catalog-modal h4 { margin: 26px 0 12px; font-size: 20px; font-weight: 400; color: var(--sc-text); }
.sela-catalog-modal .sc-out { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.sela-catalog-modal .sc-out li { position: relative; padding-left: 30px; font-size: 15px; margin: 0; }
.sela-catalog-modal .sc-out li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--sc-cyan); color: var(--sc-dark); font-size: 11px; font-weight: 600; line-height: 20px; text-align: center; }
.sela-catalog-modal .sc-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin: 26px 0 8px; padding: 22px 24px; background: var(--sc-soft); border-radius: 20px; }
.sela-catalog-modal .sc-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--sc-muted); margin: 0; font-weight: 400; }
.sela-catalog-modal .sc-facts dd { margin: 3px 0 0; font-size: 15px; font-weight: 400; color: var(--sc-text); }
.sela-catalog-modal .sc-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 18px 40px 24px; background: linear-gradient(rgba(255,255,255,0), #fff 28%); }
html.sc-noscroll { overflow: hidden; }
@keyframes sc-fade { from { opacity: 0; } }
@keyframes sc-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes sc-spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .sela-catalog .sc-rocky-spot { height: 240px; right: 30px; opacity: .9; }
  .sela-catalog .sc-rocky-vendor { height: 220px; }
}
@media (max-width: 900px) {
  .sela-catalog .sc-hero { padding: 44px 32px; min-height: 0; }
  .sela-catalog .sc-hero-rocky { display: none; }
  .sela-catalog .sc-rocky-spot { display: none; }
  .sela-catalog .sc-rocky-vendor { display: none; }
  .sela-catalog .sc-stack-tiles { grid-template-columns: 1fr; }
  .sela-catalog .sc-tracks { grid-template-columns: 1fr 1fr; }
  .sela-catalog .sc-spot { padding: 40px 28px 32px; border-radius: 24px; }
  .sela-catalog .sc-stats b { font-size: 34px; }
  .sela-catalog .sc-divider { font-size: 28px; }
}
@media (max-width: 640px) {
  .sela-catalog .sc-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 -4px; padding-left: 4px; scrollbar-width: none; }
  .sela-catalog .sc-chip { white-space: nowrap; flex: none; }
  .sela-catalog .sc-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .sela-catalog .sc-select { flex-direction: column; align-items: stretch; gap: 4px; font-size: 12px; }
  .sela-catalog .sc-select select { min-width: 0; width: 100%; }
  .sela-catalog .sc-spacer, .sela-catalog .sc-clear { display: none; }
  .sela-catalog .sc-pdf { justify-self: stretch; justify-content: center; align-self: end; }
  .sela-catalog .sc-search input { height: 52px; font-size: 15px; }
  .sela-catalog .sc-spot { padding: 32px 22px 24px; margin-left: -4px; margin-right: -4px; }
  .sela-catalog .sc-spot .sc-s1 { width: 260px; right: -120px; }
  .sela-catalog .sc-spot .sc-s2 { right: -80px; top: 150px; width: 200px; }
  .sela-catalog .sc-stats > div { padding: 0 14px; }
  .sela-catalog .sc-stats b { font-size: 30px; }
  .sela-catalog .sc-tracks { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .sela-catalog .sc-track { padding: 16px 14px 14px; border-radius: 16px; }
  .sela-catalog .sc-track-name { font-size: 15px; }
  .sela-catalog .sc-track-desc { display: none; }
  .sela-catalog .sc-spot-compact .sc-tracks { grid-template-columns: 1fr 1fr; }
  .sela-catalog .sc-grid { grid-template-columns: 1fr; gap: 18px; }
  .sela-catalog .sc-sec-head h2 { font-size: 24px; }
  .sela-catalog .sc-divider { font-size: 24px; margin-bottom: 28px; }
  .sela-catalog .sc-hero { padding: 36px 22px; border-radius: 24px; margin-bottom: 28px; }
  .sela-catalog .sc-hero p { font-size: 16px; }
  .sela-catalog .sc-hero .sc-h3 { width: 240px; right: -130px; }
  .sela-catalog .sc-hero .sc-h1, .sela-catalog .sc-hero .sc-h2, .sela-catalog .sc-hero .sc-h4 { display: none; }
  .sela-catalog .sc-stackbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sela-catalog .sc-stack { flex: none; }
  .sela-catalog .sc-vendor { padding: 28px 22px; border-radius: 24px; }
  .sela-catalog .sc-vendor-badge-img { height: 48px; }
  .sela-catalog .sc-custom { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .sela-catalog .sc-custom img { height: 110px; margin: 0; }
  .sc-badge-img { height: 38px; }
  .sela-catalog .sc-stackbar-l { white-space: nowrap; }
  .sela-catalog-modal { padding: 0; align-items: flex-end; }
  .sela-catalog-modal .sc-dialog { max-height: 92vh; border-radius: 24px 24px 0 0; }
  .sela-catalog-modal .sc-dlg-body { padding: 22px 22px 8px; }
  .sela-catalog-modal .sc-dlg-body h2 { font-size: 26px; }
  .sela-catalog-modal .sc-actions { padding: 14px 22px 20px; }
  .sela-catalog-modal .sc-out { grid-template-columns: 1fr; }
}

/* ---------- theme-proofing (WordPress/Elementor resets set img height:auto and button nowrap) ---------- */
.sela-catalog button, .sela-catalog-modal button { white-space: normal; min-width: 0; }
.sela-catalog .sc-chip, .sela-catalog .sc-stack, .sela-catalog .sc-btn, .sela-catalog-modal .sc-btn { white-space: nowrap; }
.sela-catalog .sc-tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sela-catalog .sc-stack-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sela-catalog .sc-track, .sela-catalog .sc-stack-tile { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.sela-catalog .sc-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.sela-catalog .sc-card { min-width: 0; }
.sela-catalog img, .sela-catalog-modal img { max-width: none; }
.sela-catalog .sc-art .sc-badges img.sc-badge-img { height: 44px !important; width: auto !important; max-width: none !important; border-radius: 10px !important; padding: 4px 7px !important; background: #fff !important; }
.sela-catalog img.sc-vendor-badge-img, .sela-catalog img.sc-st-badge-img, .sela-catalog-modal img.sc-partner-img, .sela-catalog-modal img.sc-badge-img { border-radius: 8px !important; }
.sela-catalog-modal .sc-art-big .sc-badges img.sc-badge-img { height: 54px !important; width: auto !important; }
.sela-catalog-modal img.sc-partner-img { height: 60px !important; width: auto !important; }
.sela-catalog img.sc-vendor-badge-img { height: 64px !important; width: auto !important; }
.sela-catalog .sc-vendor-compact img.sc-vendor-badge-img { height: 42px !important; }
.sela-catalog img.sc-st-badge-img { height: auto !important; max-height: 64px !important; max-width: 170px !important; width: auto !important; }
.sela-catalog img.sc-rocky-spot { height: 330px !important; width: auto !important; }
.sela-catalog .sc-spot-compact img.sc-rocky-spot { height: 170px !important; }
.sela-catalog img.sc-rocky-vendor { height: 300px !important; width: auto !important; }
.sela-catalog img.sc-hero-rocky { height: 360px !important; width: auto !important; }
.sela-catalog .sc-custom img { height: 150px !important; width: auto !important; }
.sela-catalog .sc-empty img { height: 140px !important; width: auto !important; }
.sela-catalog .sc-art > img { width: 100% !important; height: 100% !important; max-width: 100% !important; }
@media (max-width: 1100px) {
  .sela-catalog img.sc-rocky-spot { height: 240px !important; }
  .sela-catalog img.sc-rocky-vendor { height: 220px !important; }
}
@media (max-width: 900px) {
  .sela-catalog .sc-tracks, .sela-catalog .sc-stack-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sela-catalog .sc-stack-tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sela-catalog .sc-art .sc-badges img.sc-badge-img { height: 38px !important; }
  .sela-catalog .sc-custom img { height: 110px !important; }
}
