/* Tiraz Labs: home "process": three steps. Owner: B Home. See js/sections/home-process.js. Tokens only.
   Phones: a vertical timeline (numbers on the reading-start side, a hairline between them). ≥ 900: three columns, the line runs across. */

.pr-list { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pr-step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; padding-block-end: 28px; }
.pr-step:last-child { padding-block-end: 0; }
/* the connecting hairline (between the number discs) */
.pr-step:not(:last-child)::before { content: ""; position: absolute; inset-block: 52px 0; inset-inline-start: 25.5px; width: 1px; background: var(--prestige-line); }
.pr-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg);
  font-family: var(--f-num); font-size: 18px; font-weight: 700; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.pr-body { padding-block-start: 10px; }
.pr-title { margin: 0; }
.pr-line { margin: 6px 0 0; font-size: var(--t-small); line-height: 1.75; color: var(--text-soft); max-width: 40ch; }
html[lang="en"] .pr-line { line-height: 1.55; }
.pr-foot { display: flex; margin-block-start: 36px; }
@media (max-width: 479px) { .pr-foot .btn { width: 100%; } }

@media (min-width: 900px) {
  .pr-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
  .pr-step { grid-template-columns: 1fr; row-gap: 20px; padding: 0; }
  .pr-step:not(:last-child)::before { inset-block: 26px auto; inset-inline: 64px -16px; width: auto; height: 1px; }
  .pr-body { padding: 0; }
  .pr-foot { margin-block-start: 48px; }
}
/* long labels (EN) wrap instead of overflowing on narrow phones */
@media (max-width: 479px) { #process .btn { white-space: normal; text-align: center; height: auto; min-height: 48px; padding-block: 10px; } }
