/* =====================================================================
   Zylif v2 — Careers & Colleges: pick a goal, get a route through the
   tracks; the fields, majors and schools below respond to the choice.
   (Field, college and guide blocks are styled in home.css.)
   ===================================================================== */
.cc-body{position:relative;z-index:2;container-type:inline-size;max-width:calc(76rem + var(--gutter) * 2);
  padding:clamp(2rem,5vw,3.2rem) var(--gutter) 5rem;display:flex;flex-direction:column;gap:clamp(3.6rem,8vw,5.6rem)}
.cc-body>section{scroll-margin-top:.8rem}
.cc-body .guide{margin-top:0}

.cc-h{font-family:var(--serif);font-style:italic;font-weight:620;font-variation-settings:var(--soft);font-size:var(--t-2);line-height:1.02;letter-spacing:-.025em}
.cc-sub{font-size:1.06rem;line-height:1.55;color:var(--bone-2);max-width:58ch;margin:.7rem 0 1.4rem}
.cc-goals{display:flex;flex-wrap:wrap;gap:.5rem}
.cc-goal{font-size:1.02rem;font-weight:500;line-height:1.2;padding:.65rem 1rem;min-height:46px;border-radius:var(--r-ctl);background:var(--soil-3);color:var(--bone);
  box-shadow:inset 0 0 0 1px var(--rule-strong);transition:box-shadow var(--t-fast) var(--ease),background var(--t-fast) var(--ease),color var(--t-fast) var(--ease)}
.cc-goal:hover{box-shadow:inset 0 0 0 1px var(--bone)}
.cc-goal[aria-pressed="true"]{background:var(--bone);color:var(--soil);box-shadow:none;font-weight:600}
.cc-goal.is-all:not([aria-pressed="true"]){background:none;color:var(--bone-2)}

.cc-result{margin-top:1.7rem;padding-top:1.3rem;border-top:2px solid var(--bone);min-height:11.5rem}
.cc-result-k{font-style:italic;font-size:1.02rem;color:var(--bone-2);margin:0 0 1rem}
.cc-route{list-style:none;margin:0 0 1.2rem;padding:0;display:flex;flex-wrap:wrap;gap:.7rem 1.9rem}
.cc-route li{position:relative;display:flex}
.cc-route li+li::before{content:"";position:absolute;left:-1.55rem;top:50%;width:1.2rem;height:2px;margin-top:-1px;background:var(--bone-3)}
.cc-step{display:flex;flex-direction:column;justify-content:space-between;gap:1.1rem;min-width:11.5rem;padding:.8rem 1rem .9rem;background:var(--lc);color:var(--on-color);
  border-radius:2px 11px 11px 11px;transition:transform var(--t-fast) var(--ease),box-shadow var(--t-fast) var(--ease)}
.cc-step span{font-size:.9rem;font-weight:500;line-height:1.3}
.cc-step b{font-family:var(--serif);font-style:italic;font-weight:780;font-variation-settings:var(--soft);font-size:1.6rem;line-height:1;letter-spacing:-.02em}
.cc-step:hover{transform:translateY(-3px);box-shadow:0 .5rem 0 -.1rem rgba(0,0,0,.55)}
.cc-total,.cc-empty{font-size:1.04rem;line-height:1.55;color:var(--bone-2);max-width:62ch}
.cc-total strong{color:var(--bone);font-weight:600}

/* what the chosen route does not pass through steps back */
.cc-body .is-dim{opacity:.26}
html[data-contrast="high"] .cc-body .is-dim{opacity:.5}

@media (max-width:760px){
  .cc-route{flex-direction:column;gap:1.3rem}
  .cc-route li+li::before{left:1.4rem;top:-1.05rem;width:2px;height:.8rem;margin:0}
  .cc-step{flex-direction:row;align-items:baseline;justify-content:space-between;width:100%;min-width:0;gap:1rem}
  .cc-step b{order:-1}
}
