/*
  Ported unchanged from /preview/assets/css/components/process.css.
  Numerals/heading/copy are real Paragraph/Heading blocks; the step
  icons and the between-step dividers carry no editable content and
  aren't adjacent to any rich text, so they stay Custom HTML exactly as
  in the static build — no mask-icon workaround was needed here.
*/

.process__title {
  font-size: var(--wp--preset--font-size--xl);
  text-align: center;
  margin-bottom: var(--wp--preset--spacing--60);
}

.process__grid {
  display: flex;
  flex-direction: column;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--wp--preset--spacing--10);
  padding-block: var(--wp--preset--spacing--40);
}

.process__step:first-child {
  padding-top: 0;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__number {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--wp--preset--color--graphite);
  opacity: 0.32;
}

.process__icon {
  width: 2rem;
  height: 2rem;
  color: var(--c-red-solid);
  margin-top: var(--wp--preset--spacing--10);
}

.process__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}

.process__heading {
  margin-top: var(--wp--preset--spacing--20);
  font-size: var(--wp--preset--font-size--md);
}

.process__text {
  color: var(--wp--preset--color--graphite);
  font-size: var(--wp--preset--font-size--base);
  line-height: 1.6;
  max-width: 32ch;
}

/* Horizontal divider on mobile/tablet, with a small chevron marking
   direction rather than a full arrow. */
.process__divider {
  position: relative;
  height: 1px;
  background: rgba(37, 37, 39, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process__divider svg {
  position: relative;
  width: 24px;
  height: 14px;
  color: var(--wp--preset--color--graphite);
  opacity: 0.65;
  background: var(--wp--preset--color--warm-white);
  transform: rotate(90deg);
}

@media (min-width: 1024px) {
  .process__grid {
    display: grid;
    grid-template-columns: 1fr 56px 1fr 56px 1fr;
    align-items: start;
  }

  .process__step {
    padding-block: 0;
  }

  .process__number {
    font-size: 4rem;
  }

  .process__divider {
    height: auto;
    align-self: stretch;
    width: 1px;
    background: rgba(37, 37, 39, 0.18);
    margin-inline: auto;
  }

  .process__divider svg {
    transform: rotate(0deg);
    width: 26px;
    height: 26px;
  }
}
