/* A friendly, structured entry path inside the Swiss information system. */
.cs-journey {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) repeat(3, 1fr);
  gap: 0;
  padding: 0 max(32px, calc((100vw - 1320px) / 2 + 32px));
  border-bottom: 1px solid var(--cs-black);
  background: #fbfbfa;
}

.cs-journey-steps {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-journey-intro,
.cs-journey-step {
  min-height: 290px;
  padding: 40px 26px;
}

.cs-journey-intro { padding-left: 0; }
.cs-journey-intro h2 {
  max-width: 270px;
  margin-top: 18px;
  font-size: 1.6rem;
  font-weight: 640;
  line-height: 1.15;
}
.cs-journey-intro > p:last-child {
  max-width: 310px;
  margin-top: 18px;
  color: #555552;
  font-size: 0.87rem;
  line-height: 1.6;
}
.cs-journey-step {
  position: relative;
  border-left: 1px solid var(--cs-rule);
}
.cs-journey-step::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  content: "";
}
.cs-journey-step-sky::before { background: #b7e2f1; }
.cs-journey-step-blossom::before { background: #f4c7d4; }
.cs-journey-step-vermilion::before { background: #cc4b39; }
.cs-journey-number {
  display: block;
  margin-top: 34px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.cs-journey-step h3 {
  margin-top: 26px;
  font-size: 1.15rem;
  font-weight: 640;
  line-height: 1.2;
}
.cs-journey-step p {
  max-width: 250px;
  margin-top: 12px;
  color: #555552;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .cs-journey { grid-template-columns: 1fr; padding: 0 20px; }
  .cs-journey-intro,
  .cs-journey-step {
    min-height: auto;
    padding: 32px 0;
    border-top: 1px solid var(--cs-rule);
    border-left: 0;
  }
  .cs-journey-intro { border-top: 0; }
  .cs-journey-intro h2 { max-width: 360px; }
  .cs-journey-step::before { top: 0; width: 68px; height: 6px; }
  .cs-journey-number { margin-top: 18px; }
  .cs-journey-step h3 { margin-top: 16px; }
}
