
/* Векторна графіка · Inkscape — доповнення до raster-course.css */
:root{--vector-accent:#6d4aff;--vector-cyan:#16a6a1;--vector-soft:#f5f2ff}
.raster-hero{background:linear-gradient(135deg,#f3f0ff 0%,#f3fbff 52%,#fff 100%)}
.raster-hero .art-kicker{color:#5637da;background:#eee9ff;border-color:#ddd2ff}
.raster-hero h1 span{background:linear-gradient(90deg,#6d4aff,#168eaa);-webkit-background-clip:text;background-clip:text;color:transparent}
.lesson-chip.source{background:#f2efff;color:#5637da;border-color:#ded6ff}
.tool-chip{background:#f4f1ff;border-color:#ded7ff;color:#4d3a9a}
.reference-badge{background:#eeeaff;color:#5637da}
.progress-track span{background:linear-gradient(90deg,#6d4aff,#15a6a0)}
.complete-lesson,.submission-submit{background:linear-gradient(135deg,#6546e8,#188eaa)}
.lesson-gallery-section{margin-top:18px;padding:18px;border:1px solid var(--art-line);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(20,30,55,.04)}
.lesson-gallery-section .section-title-row{margin-bottom:14px}
.lesson-gallery-section h2{margin:0 0 4px;font-size:24px}
.lesson-gallery-section p{margin:0;color:var(--art-muted);font-size:13px}
.gallery-count{display:inline-flex;align-items:center;white-space:nowrap;padding:6px 10px;border-radius:999px;background:#f2efff;color:#5637da;font-size:12px;font-weight:850}
.lesson-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.lesson-gallery-card{position:relative;display:grid;grid-template-rows:150px auto;gap:0;padding:0;overflow:hidden;text-align:left;background:#fbfcff;border:1px solid #e0e5ef;border-radius:13px;cursor:pointer;color:inherit;font:inherit;transition:.16s ease}
.lesson-gallery-card:hover{transform:translateY(-2px);border-color:#bdb2f5;box-shadow:0 8px 20px rgba(54,42,120,.09)}
.lesson-gallery-card img{width:100%;height:150px;object-fit:contain;background:#f5f7fb;display:block}
.gallery-step-no{position:absolute;top:8px;left:8px;z-index:1;min-width:28px;height:28px;padding:0 7px;display:grid;place-items:center;border-radius:999px;background:rgba(17,24,39,.86);color:#fff;font-size:11px;font-weight:900;box-shadow:0 3px 9px rgba(0,0,0,.15)}
.gallery-caption{padding:9px 10px 10px;font-size:12px;line-height:1.42;color:#526079;background:#fff;min-height:50px}
@media(max-width:1100px){.lesson-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .lesson-gallery-section{padding:12px;margin-top:12px}.lesson-gallery-section h2{font-size:20px}
 .lesson-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .lesson-gallery-card{grid-template-rows:120px auto}.lesson-gallery-card img{height:120px}.gallery-caption{font-size:11px;padding:7px;min-height:45px}
}
@media(max-width:430px){.lesson-gallery-grid{grid-template-columns:1fr 1fr}.lesson-gallery-card{grid-template-rows:105px auto}.lesson-gallery-card img{height:105px}}


/* v1.1 — зрозумілі пояснення з Word-інструкцій */
.before-start-section{margin:20px 0}
.before-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.before-start-card{display:flex;gap:11px;align-items:flex-start;padding:14px;border:1px solid #dce5f2;border-radius:14px;background:#f8fbff}
.before-start-card>span{flex:0 0 30px;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#e4edff;color:#2856c8;font-weight:900}
.before-start-card p{margin:1px 0 0;font-size:14px;line-height:1.6;color:#46536b}
.step-actions-wrap{display:block;margin-top:10px;padding:11px 12px;border-radius:11px;background:#f7f9fc;border-left:4px solid #4d73e8}
.step-actions-wrap>b{font-size:13px;color:#223451}
.step-actions{margin:7px 0 0;padding-left:22px;display:grid;gap:6px}
.step-actions li{font-size:14px;line-height:1.55;color:#34445f;padding-left:2px}
.shortcut-chip{display:inline-flex;margin-left:7px;padding:3px 7px;border-radius:7px;background:#eef2f8;color:#4a5870;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}
.step-help{display:block;margin-top:9px;padding:9px 11px;border-radius:10px;background:#fff8e6;color:#74520c;font-size:13px;line-height:1.55}
.step-help b{color:#5c3d00}
.step-checkpoint{margin-top:9px}
@media(max-width:900px){.before-start-grid{grid-template-columns:1fr}}
@media(max-width:700px){
 .before-start-card p,.step-actions li{font-size:14px}
 .step-actions-wrap,.step-help{padding:10px}
 .shortcut-chip{display:inline-flex;margin:6px 0 0 0}
}


/* v1.2 — публічне оформлення головного блоку курсу */
.raster-hero{
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.65fr);
  gap:34px;
  padding:42px;
  align-items:center;
}
.raster-hero-copy{min-width:0;max-width:900px}
.raster-hero h1{
  max-width:900px;
  margin:20px 0 18px;
  font-size:clamp(3rem,4.7vw,5.15rem);
  line-height:.98;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.raster-hero h1 span{display:inline;color:transparent}
.vector-hero-lead{
  max-width:800px!important;
  margin:0!important;
  font-size:18px!important;
  line-height:1.75!important;
  color:#62718b!important;
}
.vector-hero-features{
  display:flex;flex-wrap:wrap;gap:9px 15px;margin-top:18px;
}
.vector-hero-features span{
  display:inline-flex;align-items:center;min-height:34px;padding:6px 11px;
  border:1px solid #dce5f3;border-radius:999px;background:rgba(255,255,255,.72);
  color:#465773;font-size:13px;font-weight:800;
}
.raster-hero-actions{margin-top:24px;gap:10px}
.raster-hero-actions .art-btn{min-height:48px;padding:0 19px;font-size:15px}
.raster-hero-stats{gap:12px}
.raster-hero-stats div{
  min-height:138px;padding:22px;border-radius:22px;
  display:flex;flex-direction:column;justify-content:center;
}
.raster-hero-stats strong{font-size:34px;line-height:1}
.raster-hero-stats span{margin-top:14px;font-size:13px;line-height:1.35}
@media(max-width:1180px){
  .raster-hero{grid-template-columns:1fr;padding:34px}
  .raster-hero-copy{max-width:none}
  .raster-hero h1{max-width:100%;font-size:clamp(3rem,7vw,4.6rem)}
  .raster-hero-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
  .raster-hero-stats div{min-height:112px}
}
@media(max-width:760px){
  .raster-hero{padding:24px 18px;gap:24px}
  .raster-hero h1{font-size:clamp(2.45rem,12vw,3.4rem);line-height:1.02;margin-top:16px}
  .vector-hero-lead{font-size:16px!important;line-height:1.65!important}
  .vector-hero-features{gap:7px}
  .vector-hero-features span{font-size:12px;min-height:32px}
  .raster-hero-stats{grid-template-columns:1fr 1fr}
  .raster-hero-stats div{min-height:100px;padding:15px}
  .raster-hero-stats strong{font-size:27px}
  .raster-hero-stats span{margin-top:8px;font-size:12px}
  .raster-hero-actions{display:grid;grid-template-columns:1fr 1fr}
  .raster-hero-actions .art-btn{width:100%;padding:0 12px}
  .raster-hero-actions .art-btn:last-child:nth-child(3){grid-column:1/-1}
}
@media(max-width:420px){
  .raster-hero-actions{grid-template-columns:1fr}
  .raster-hero-actions .art-btn:last-child:nth-child(3){grid-column:auto}
}
