/* Sozvezdie learning guide: two fully scoped blocks. No third-party fonts or JS. */
.sz-learning-path{
  --sz-path-ink:#1d2940;--sz-path-accent:#b61228;--sz-path-border:#e7dedb;
  box-sizing:border-box;color:var(--sz-path-ink);
  max-width:1280px;margin:32px auto 38px;padding:clamp(20px,3.8vw,42px);
  border:1px solid var(--sz-path-border);border-radius:14px;
  background:linear-gradient(140deg,#fffaf8 0%,#ffffff 58%,#fbf9f7 100%);
  font-family:inherit;
}
.sz-learning-path *, .sz-learning-path *::before,.sz-learning-path *::after{box-sizing:border-box}
.sz-learning-path__head{text-align:center;max-width:800px;margin:0 auto 28px}
.sz-learning-path__eyebrow{font-size:13px!important;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--sz-path-accent);margin:0 0 9px!important}
.sz-learning-path__head h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(27px,3vw,38px)!important;line-height:1.19!important;font-weight:700!important;color:#1d2940;margin:0 0 12px!important}
.sz-learning-path__head>p:last-child{margin:0!important;color:#455066;font-size:17px;line-height:1.55}
.sz-learning-path__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sz-learning-path__card{display:flex;flex-direction:column;min-width:0;min-height:280px;padding:24px 22px;background:#fff;border:1px solid #e6e0de;border-radius:12px;box-shadow:0 4px 16px rgba(35,37,49,.035)}
.sz-learning-path__number{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:16px;border-radius:50%;background:#fae8e8;color:#a7192c;font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}
.sz-learning-path__card:nth-child(2) .sz-learning-path__number{background:#fae8e8;color:#a7192c}
.sz-learning-path__card:nth-child(3) .sz-learning-path__number{background:#fae8e8;color:#a7192c}
.sz-learning-path__card h3{font-family:Georgia,"Times New Roman",serif;color:#1d2940;font-size:23px!important;line-height:1.25!important;margin:0 0 10px!important;font-weight:700!important}
.sz-learning-path__card p{font-size:16px;line-height:1.55;color:#455066;margin:0 0 12px!important}
.sz-learning-path__card .sz-learning-path__lead{font-weight:700;color:#a7192c}
.sz-learning-path__action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 14px;margin-top:auto;border:2px solid #b61228;border-radius:8px;text-align:center;background:#fff;color:#a7192c!important;text-decoration:none!important;font-size:16px;font-weight:700;line-height:1.35;transition:background-color .16s ease}
.sz-learning-path__action:hover,.sz-learning-path__action:focus-visible{background:#fff0ef;color:#901528!important}
.sz-learning-path__action--primary{background:#b61228;border-color:#b61228;color:#fff!important}
.sz-learning-path__action--primary:hover,.sz-learning-path__action--primary:focus-visible{background:#911328;color:#fff!important;border-color:#911328}
.sz-learning-path a:focus-visible{outline:3px solid #ad7424!important;outline-offset:3px!important}
.sz-learning-path__notice{font-size:14px;line-height:1.5;text-align:center;color:#596071;margin:20px 0 0!important}
.sz-learning-path__footer{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin:24px 0 0}
.sz-learning-path__footer .sz-learning-path__action{margin-top:0}
.sz-learning-path__text-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:#a7192c!important;font-weight:700;text-underline-offset:4px;font-size:16px;line-height:1.4;padding:10px 2px}
#sz-training-course-list{scroll-margin-top:110px;display:block}
@media(max-width:900px){
 .sz-learning-path__grid{grid-template-columns:1fr;gap:12px}
 .sz-learning-path__card{min-height:0;padding:21px}
 .sz-learning-path__card .sz-learning-path__action{margin-top:8px}
 .sz-learning-path__footer{align-items:stretch;flex-direction:column;text-align:center}
}
@media(max-width:480px){
 .sz-learning-path{padding:22px 14px;margin:22px auto 26px;border-radius:14px}
 .sz-learning-path__head{margin-bottom:20px}
 .sz-learning-path__head>p:last-child{font-size:16px}
 .sz-learning-path__card h3{font-size:22px!important}
 .sz-learning-path__card{padding:19px 17px}
}
@media(prefers-reduced-motion:reduce){.sz-learning-path__action{transition:none}}

/* 26.10.2026: compact *both* learning-guide variants on phones.
   The number sits beside the H3; all editable text, CTA URLs and focus states
   stay visible. Tablet and desktop layouts are deliberately untouched. */
@media (max-width:640px){
  .sz-learning-path{padding:18px 12px;margin:18px auto 22px}
  .sz-learning-path__head{margin-bottom:14px}
  .sz-learning-path__head h2{font-size:26px!important;line-height:1.19!important;margin-bottom:8px!important}
  .sz-learning-path__head>p:last-child{font-size:15.5px;line-height:1.48}
  .sz-learning-path__grid{gap:10px}
  .sz-learning-path__card{
    display:grid;grid-template-columns:36px minmax(0,1fr);
    column-gap:10px;row-gap:7px;align-items:start;
    padding:14px;min-height:0
  }
  .sz-learning-path__number{
    grid-column:1;grid-row:1;width:36px;height:36px;
    margin:0;font-size:14px
  }
  .sz-learning-path__card h3{
    grid-column:2;grid-row:1;align-self:center;
    font-size:20px!important;line-height:1.23!important;margin:0!important
  }
  .sz-learning-path__card p{
    grid-column:1/-1;font-size:15.5px;line-height:1.48;margin:0!important
  }
  .sz-learning-path__card .sz-learning-path__lead{margin:0!important}
  .sz-learning-path__card .sz-learning-path__action{
    grid-column:1/-1;margin-top:4px!important;
    min-height:44px;padding:9px 12px;font-size:15.5px
  }
  .sz-learning-path__notice{margin:12px 0 0!important}
  .sz-learning-path__footer{gap:8px;margin-top:14px}
  .sz-learning-path__text-link{padding:6px 2px;min-height:40px}
}
