/* workshops/workshops.css
   Page-type stylesheet for the Future of Legal Help Workshops pages.
   Loads after /nav.css and /lhc-core.css. Tokens and base typography come from lhc-core.css.
*/

/* ===== JUMP ROW ===== */
.ws-nav{
  max-width:var(--maxw);margin:0 auto;padding:0 2rem 3rem;
  display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;
}
.ws-nav a{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:.45rem;
  background:var(--white);border:1px solid var(--border);border-radius:12px;
  padding:1.1rem .75rem;text-decoration:none;
  transition:border-color .15s,box-shadow .15s,transform .15s;
}
.ws-nav a:hover{border-color:var(--indigo);box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.ws-nav img{width:42px;height:42px}
.ws-nav .n{font-family:'League Spartan',sans-serif;font-size:.64rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted)}
.ws-nav .t{font-family:'League Spartan',sans-serif;font-weight:700;font-size:.95rem;color:var(--indigo);line-height:1.2}

/* ===== SECTIONS ===== */
.ws-section{max-width:var(--maxw);margin:0 auto;padding:0 2rem 3.5rem;scroll-margin-top:5rem}
.ws-section > h2{
  font-family:'League Spartan',sans-serif;font-weight:800;font-size:1.8rem;
  color:var(--indigo);margin-bottom:.6rem;line-height:1.15;
}
.ws-section > .lead{font-size:1.04rem;line-height:1.7;color:var(--text-light);max-width:70ch;margin-bottom:1.6rem}
.ws-band{background:var(--lav-soft);padding:3rem 0 .5rem;margin-bottom:3.5rem}
.ws-band .ws-section{padding-bottom:3rem}
.ws-band:last-of-type{margin-bottom:0}
.ws-sub{
  font-family:'League Spartan',sans-serif;font-weight:700;font-size:.74rem;
  text-transform:uppercase;letter-spacing:.1em;color:var(--indigo-light);
  margin:2.2rem 0 .9rem;display:flex;align-items:center;gap:.6rem;
}
.ws-sub::after{content:'';flex:1;height:1px;background:var(--border)}

/* ===== THE BRIEF ===== */
.brief{
  background:var(--indigo);color:#fff;border-radius:16px;padding:2rem 1.9rem;
  max-width:72ch;
}
.brief .eyebrow{color:var(--periwinkle);margin-bottom:.6rem}
.brief h3{font-family:'League Spartan',sans-serif;font-weight:800;font-size:1.5rem;margin-bottom:.9rem;line-height:1.2}
.brief p{font-size:1.02rem;line-height:1.7;color:rgba(255,255,255,.88);margin-bottom:.9rem}
.brief p:last-child{margin-bottom:0}

/* ===== RUN OF SHOW ===== */
.runshow{list-style:none;margin:1.5rem 0 0;padding:0;position:relative}
.runshow::before{content:'';position:absolute;left:5.6rem;top:.6rem;bottom:.6rem;width:2px;background:var(--border)}
.runshow li{display:flex;gap:1.3rem;align-items:flex-start;padding:.9rem 0;position:relative}
.runshow .when{
  flex:0 0 4.6rem;text-align:right;font-family:'League Spartan',sans-serif;
  font-weight:700;font-size:.82rem;color:var(--accent-deep);padding-top:.15rem;line-height:1.3;
}
.runshow .dot{
  flex:0 0 14px;height:14px;border-radius:50%;background:var(--white);
  border:3px solid var(--indigo);margin-top:.3rem;position:relative;z-index:1;
}
.runshow .what{flex:1;min-width:0}
.runshow h4{font-family:'League Spartan',sans-serif;font-weight:700;font-size:1.08rem;color:var(--indigo);margin-bottom:.3rem;line-height:1.25}
.runshow p{font-size:.95rem;line-height:1.6;color:var(--text-light);margin:0}

/* ===== THE SEVEN STEPS ===== */
.steps{list-style:none;counter-reset:s;margin:1.4rem 0 0;padding:0;display:grid;gap:.7rem}
.steps li{
  counter-increment:s;position:relative;background:var(--white);
  border:1px solid var(--border);border-radius:10px;
  padding:.95rem 1.1rem .95rem 3.4rem;font-size:.97rem;line-height:1.6;
}
.steps li::before{
  content:counter(s);position:absolute;left:1rem;top:.9rem;
  width:1.7rem;height:1.7rem;border-radius:50%;background:var(--indigo);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-family:'League Spartan',sans-serif;font-weight:700;font-size:.86rem;
}

/* ===== PREP CARDS ===== */
.prep-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-top:1.4rem}
.prep-card{
  background:var(--white);border:1px solid var(--border);border-left:4px solid var(--periwinkle);
  border-radius:12px;padding:1.2rem 1.25rem;display:flex;flex-direction:column;
}
.prep-card.is-open{border-left-color:var(--ready)}
.prep-card img{width:40px;height:40px;margin-bottom:.7rem}
.prep-card h3{font-family:'League Spartan',sans-serif;font-weight:700;font-size:1.05rem;color:var(--indigo);margin-bottom:.35rem;line-height:1.25}
.prep-card p{font-size:.93rem;line-height:1.6;color:var(--text-light);margin-bottom:1rem}
.prep-card .how-long{
  font-family:'League Spartan',sans-serif;font-size:.68rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.09em;color:var(--text-muted);margin-bottom:.5rem;
}
.prep-card a{
  margin-top:auto;align-self:flex-start;font-family:'League Spartan',sans-serif;
  font-weight:700;font-size:.85rem;color:var(--indigo);text-decoration:none;
  border-bottom:2px solid var(--accent);padding-bottom:2px;
}
.prep-card a:hover{border-bottom-color:var(--indigo)}
.prep-card .locked{
  margin-top:auto;font-family:'League Spartan',sans-serif;font-weight:600;
  font-size:.8rem;color:var(--text-muted);display:flex;align-items:center;gap:.4rem;
}
.prep-card .locked svg{width:14px;height:14px;flex:none}

/* ===== WHAT YOU BRING ===== */
.bring{list-style:none;margin:1.3rem 0 0;padding:0;display:grid;gap:.6rem;max-width:70ch}
.bring li{
  background:var(--white);border:1px solid var(--border);border-radius:10px;
  padding:.85rem 1.05rem .85rem 2.8rem;position:relative;font-size:.97rem;line-height:1.6;
}
.bring li::before{
  content:'';position:absolute;left:1.05rem;top:1.25rem;
  width:9px;height:9px;border-radius:50%;background:var(--accent);
}

/* ===== THE WORKSHOP LIST ===== */
.ws-list{display:grid;gap:1rem;margin-top:1.4rem}
.ws-item{
  background:var(--white);border:1px solid var(--border);border-top:5px solid var(--accent);
  border-radius:14px;padding:1.5rem 1.5rem 1.3rem;
}
.ws-item .where{
  font-family:'League Spartan',sans-serif;font-size:.72rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.09em;color:var(--accent-deep);margin-bottom:.4rem;
}
.ws-item h3{font-family:'League Spartan',sans-serif;font-weight:800;font-size:1.35rem;color:var(--indigo);margin-bottom:.5rem;line-height:1.15}
.ws-item > p{font-size:1rem;line-height:1.65;color:var(--text-light);margin-bottom:1.1rem;max-width:70ch}
.ws-item .links{display:flex;flex-wrap:wrap;gap:1.1rem;align-items:center}
.ws-item .links a{
  font-family:'League Spartan',sans-serif;font-weight:700;font-size:.86rem;
  color:var(--indigo);text-decoration:none;border-bottom:2px solid var(--accent);padding-bottom:2px;
}
.ws-item .links a:hover{border-bottom-color:var(--indigo)}
.ws-item .links .muted{font-family:'League Spartan',sans-serif;font-weight:600;font-size:.82rem;color:var(--text-muted)}

/* ===== ACCESS NOTE ===== */
.access-note{
  background:var(--white);border:1px dashed var(--periwinkle);border-radius:12px;
  padding:1.3rem 1.4rem;max-width:70ch;
}
.access-note p{font-size:.97rem;line-height:1.7;color:var(--text);margin-bottom:.7rem}
.access-note p:last-child{margin-bottom:0}

/* ===== PHONE ===== */
@media (max-width:760px){
  .ws-nav{grid-template-columns:repeat(2,1fr);padding:0 1.25rem 2rem}
  .ws-section{padding:0 1.25rem 2.5rem}
  .brief{padding:1.5rem 1.3rem}
  .runshow::before{left:1.05rem}
  .runshow li{flex-wrap:wrap;gap:.8rem}
  .runshow .when{flex:0 0 100%;text-align:left;padding-left:2.4rem;order:2}
  .runshow .dot{order:1;margin-top:.45rem}
  .runshow .what{order:3;flex:0 0 100%;padding-left:2.4rem}
}

/* ===== HERO ===== */
.ws-hero{background:var(--indigo);color:var(--white);padding:3.2rem 2rem 2.6rem}
.ws-hero-inner{max-width:var(--maxw);margin:0 auto}
.ws-hero .eyebrow{font-family:'League Spartan',sans-serif;font-weight:700;font-size:.72rem;
  text-transform:uppercase;letter-spacing:.1em;color:var(--accent);margin:0 0 .7rem}
.ws-hero h1{font-family:'League Spartan',sans-serif;font-weight:800;
  font-size:clamp(2rem,5vw,3rem);line-height:1.08;margin:0 0 .9rem}
.ws-hero h1 span{color:var(--accent)}
.ws-hero .lead{max-width:var(--readw);font-size:1.05rem;line-height:1.68;margin:0 0 .9rem;color:var(--periwinkle)}
.ws-when{font-family:'League Spartan',sans-serif;font-weight:600;font-size:.95rem;color:var(--white);margin:0}
.ws-when a{color:var(--accent);text-decoration:none;border-bottom:1px solid rgba(244,160,106,.45)}
.ws-when a:hover{color:var(--peach-bright);border-bottom-color:var(--peach-bright)}
.ws-nav{padding-top:2.2rem}

/* ===== PREPARE STEPS =====
   The numbered circle comes from the .steps rules further up. These only add
   the heading and the paragraph inside each step. */
.steps h3{font-family:'League Spartan',sans-serif;font-weight:700;font-size:1.02rem;
  color:var(--indigo);margin:0 0 .4rem;line-height:1.3}
.steps li > p{font-size:.95rem;line-height:1.6;color:var(--text-light);margin:0}

/* ===== WORKSHOP SCENARIO CARDS ===== */
.ws-scenarios{list-style:none;margin:1.4rem 0 0;padding:0;display:grid;gap:1.1rem;grid-template-columns:1fr}
.ws-scenarios>li{display:flex}
.ws-scen{display:flex;flex-direction:column;width:100%;background:var(--white);border:1px solid var(--border);
  border-radius:var(--radius);overflow:hidden;text-decoration:none;color:inherit;
  transition:box-shadow .18s ease,transform .18s ease}
.ws-scen:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.ws-scen-art{background:var(--lav);display:flex;align-items:center;justify-content:center;height:11rem;padding:.9rem}
.ws-scen-art img{max-width:100%;max-height:100%;width:auto;display:block}
.ws-scen-art.is-blank{background:var(--lav);height:3.5rem;
  border-bottom:1px dashed var(--periwinkle)}
.ws-scen-body{padding:1rem 1.15rem 1.2rem}
.ws-scen-body .v{font-family:'League Spartan',sans-serif;font-weight:600;font-size:.7rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--accent-deep);margin:0 0 .35rem}
.ws-scen-body h3{font-family:'League Spartan',sans-serif;font-weight:700;font-size:1.05rem;
  color:var(--indigo);margin:0 0 .5rem;line-height:1.25}
.ws-scen-body p{font-size:.92rem;line-height:1.55;color:var(--text);margin:0}

/* ===== THE FORM SLOT ===== */
.ws-form{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);
  padding:1.3rem 1.4rem;margin:1.5rem 0 0}
.ws-form iframe{width:100%;border:none;min-height:40rem;display:block}
.ws-form-missing{background:var(--lav-soft);border:1px dashed var(--accent);border-radius:12px;
  padding:1.2rem 1.3rem;margin:1.5rem 0 0}
.ws-form-missing h3{font-family:'League Spartan',sans-serif;font-weight:700;font-size:1rem;
  color:var(--indigo);margin:0 0 .5rem}
.ws-form-missing p{font-size:.94rem;line-height:1.6;color:var(--text);margin:0 0 .6rem}
.ws-form-missing p:last-child{margin-bottom:0}
.ws-form-missing code{background:var(--white);border:1px solid var(--border);border-radius:5px;
  padding:.1rem .35rem;font-size:.86rem;color:var(--indigo)}
.ws-questions{margin:1rem 0 0;padding-left:1.2rem}
.ws-questions li{font-size:.96rem;line-height:1.6;color:var(--text);margin-bottom:.45rem}

/* ===== MATERIALS ON THE LIVE PAGE ===== */
.ws-material{border:1px solid var(--border);border-radius:var(--radius);background:var(--white);
  padding:1.4rem 1.5rem;margin-bottom:1.6rem}
.ws-material>h3{font-family:'League Spartan',sans-serif;font-weight:800;font-size:1.3rem;
  color:var(--indigo);margin:0 0 .3rem;line-height:1.2}
.ws-material .v{font-family:'League Spartan',sans-serif;font-weight:600;font-size:.7rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--accent-deep);margin:0 0 .35rem}
.ws-material-top{display:grid;gap:1.3rem;grid-template-columns:1fr;align-items:start;margin:1rem 0 1.4rem}
.ws-material .sc-steps{margin-top:1rem}
.ws-cardset{display:grid;gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));margin:.8rem 0 0;
  list-style:none;padding:0}
.ws-cardset li{background:var(--lav-soft);border:1px solid var(--border);border-radius:9px;
  padding:.55rem .7rem;font-size:.86rem;line-height:1.4;color:var(--text)}
.ws-cardset.is-tech li{background:#FFF9F4;border-color:var(--accent)}

.ws-more{margin:1.1rem 0 0}
.ws-more a{font-family:'League Spartan',sans-serif;font-weight:600;font-size:.88rem;
  color:var(--accent-deep);text-decoration:none}
.ws-more a:hover{text-decoration:underline}
.ws-material .label{font-family:'League Spartan',sans-serif;font-weight:600;font-size:.72rem;
  letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);margin:1.4rem 0 .2rem}

/* ===== TEMPLATES ===== */
.ws-template{border:1px solid var(--border);border-radius:var(--radius);background:var(--white);
  padding:1.4rem 1.5rem;margin-bottom:1.3rem}
.ws-template h3{font-family:'League Spartan',sans-serif;font-weight:700;font-size:1.15rem;
  color:var(--indigo);margin:0 0 .6rem}
.ws-template p{font-size:.97rem;line-height:1.65;color:var(--text);margin:0 0 .8rem}
.ws-template .label{font-family:'League Spartan',sans-serif;font-weight:600;font-size:.72rem;
  letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);margin:1rem 0 .3rem}
.ws-blank{border-bottom:1.5px dashed var(--border);min-height:2rem;margin-bottom:.5rem}
.ws-print-link{font-family:'League Spartan',sans-serif;font-weight:600;font-size:.88rem;
  color:var(--accent-deep);text-decoration:none}
.ws-print-link:hover{text-decoration:underline}

/* ===== EMPTY SECTIONS ON THE AFTER PAGE ===== */
.ws-empty{background:var(--lav-soft);border:1px dashed var(--border);border-radius:12px;
  padding:1.6rem 1.4rem;margin:1rem 0 0;text-align:center}
.ws-empty p{font-size:.95rem;line-height:1.6;color:var(--text-light);margin:0}

@media (min-width:46rem){
  .ws-scenarios{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr);gap:1rem}
  .ws-material-top{grid-template-columns:minmax(0,16rem) 1fr}
}
@media (min-width:68rem){
  .ws-scenarios{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:40rem){
  .ws-nav{grid-template-columns:repeat(2,1fr);padding-left:1.25rem;padding-right:1.25rem}
  .ws-section{padding-left:1.25rem;padding-right:1.25rem}
  .ws-hero{padding-left:1.25rem;padding-right:1.25rem}
}

/* ===== FEEDBACK ON A SCENARIO ===== */
.ws-feedback{margin:1.6rem 0 0;padding:1.2rem 1.3rem;background:var(--lav-soft);
  border:1px solid var(--border);border-radius:12px}
.ws-feedback h4{font-family:'League Spartan',sans-serif;font-weight:700;font-size:1rem;
  color:var(--indigo);margin:0 0 .4rem}
.ws-feedback > p{font-size:.93rem;line-height:1.6;color:var(--text-light);margin:0 0 1rem}
.ws-feedback label{display:block;font-family:'League Spartan',sans-serif;font-weight:600;
  font-size:.72rem;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);
  margin:0 0 .3rem}
.ws-feedback textarea,.ws-feedback input{width:100%;box-sizing:border-box;padding:.7rem .85rem;
  border:1.5px solid var(--border);border-radius:9px;font-family:inherit;font-size:.95rem;
  line-height:1.55;color:var(--text);background:var(--white);margin:0 0 .9rem}
.ws-feedback textarea{resize:vertical;min-height:6rem}
.ws-feedback textarea:focus,.ws-feedback input:focus{outline:2px solid var(--indigo-light);outline-offset:1px}
.ws-feedback button{font-family:'League Spartan',sans-serif;font-weight:700;font-size:.95rem;
  background:var(--accent);color:var(--indigo);border:none;border-radius:9px;
  padding:.7rem 1.4rem;min-height:44px;cursor:pointer}
.ws-feedback button:hover{background:var(--peach-bright)}
.ws-feedback button:disabled{opacity:.6;cursor:default}
.ws-feedback-status{font-size:.9rem;line-height:1.5;color:var(--text-light);margin:.7rem 0 0;min-height:1.2rem}
.ws-feedback.is-sent .ws-feedback-status{color:var(--ready-text);font-weight:600}
.ws-feedback.is-failed .ws-feedback-status{color:#c53030}

@media print{
  .ws-feedback{display:none}
}

/* ---- where a borrowed resource came from ---- */
.ws-credit{font-size:.92rem;line-height:1.6;color:var(--text-light);margin:1.2rem 0 0;max-width:46rem}
.ws-credit a{color:var(--accent-deep)}

/* ---- a link inside the hero has to be readable on indigo ---- */
.ws-hero .lead a{color:var(--accent);text-decoration:none;border-bottom:1px solid rgba(244,160,106,.5)}
.ws-hero .lead a:hover{color:#fff;border-bottom-color:#fff}

/* ---- plain prose inside a workshop section ---- */
.ws-section > p{font-size:1rem;line-height:1.7;color:var(--text);max-width:72ch;margin:0 0 1.1rem}
.ws-section > p a{color:var(--indigo);font-weight:600}

/* ---- illustration inside a workshop section ---- */
.ws-art{float:right;width:min(275px,38%);height:auto;margin:0 0 1.2rem 2rem}
.ws-sub{clear:right}
@media (max-width:640px){.ws-art{float:none;width:170px;margin:0 auto 1.2rem;display:block}}
