/* The journey pages (/journeys/ and /journeys/<person>/), built by _build/build.py from bible/journeys.js */
.jp {
  padding: 8px 0 56px;
}
.jp-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin: 8px 0 36px;
}
.jp-map {
  margin: 0;
}
.jp-map a {
  display: block;
  border-radius: 16px;
  background: linear-gradient(160deg, #eaf2f8, #f6efe2);
  border: 1px solid rgba(15, 42, 74, 0.1);
  overflow: hidden;
}
.jp-svg {
  display: block;
  width: 100%;
  height: auto;
}
.jp-svg polyline {
  fill: none;
  stroke: #1d5fb3;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 2 6;
}
.jp-svg circle {
  fill: #fff;
  stroke: #1d5fb3;
  stroke-width: 2.5;
}
.jp-svg circle.jp-end {
  fill: #c9a227;
  stroke: #0f2a4a;
}
.jp-map figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft, #4a5a6a);
}
.jp-facts {
  margin: 0;
  display: grid;
  gap: 14px;
}
.jp-facts dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft, #4a5a6a);
}
.jp-facts dd {
  margin: 2px 0 0;
  line-height: 1.5;
}
.jp-stops {
  list-style: none;
  counter-reset: jp;
  margin: 16px 0 40px;
  padding: 0;
  display: grid;
  gap: 4px;
}
.jp-stops li {
  counter-increment: jp;
  position: relative;
  padding: 16px 0 16px 52px;
  border-top: 1px solid rgba(15, 42, 74, 0.1);
}
.jp-stops li::before {
  content: counter(jp);
  position: absolute;
  left: 0;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0f2a4a;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.jp-stops h3 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.3;
}
.jp-about {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft, #4a5a6a);
}
.jp-when {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink-soft, #4a5a6a);
}
.jp-stops p {
  margin: 0 0 6px;
  line-height: 1.6;
  max-width: 72ch;
}
.jp-refs {
  font-size: 14px;
  font-weight: 700;
}
.jp-cta {
  padding: 24px;
  border-radius: 16px;
  background: #0f2a4a;
  color: #fff;
  margin: 0 0 40px;
}
.jp-cta p {
  margin: 0 0 14px;
  font-size: 17px;
}
.jp-cta .btn-line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.jp-more div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.jp-more a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 42, 74, 0.18);
  text-decoration: none;
  font-size: 15px;
}
.jp-more a:hover {
  background: #eef3f8;
}
.jp-index {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.jp-index a {
  display: block;
  height: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 42, 74, 0.14);
  text-decoration: none;
  color: inherit;
}
.jp-index a:hover {
  border-color: #1d5fb3;
  box-shadow: 0 6px 18px rgba(15, 42, 74, 0.08);
}
.jp-index b {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.jp-index span {
  font-size: 14px;
  color: var(--ink-soft, #4a5a6a);
}
@media (max-width: 760px) {
  .jp-top {
    grid-template-columns: 1fr;
  }
}
