.pic-text-step-section {
  overflow: hidden;
}
.pic-text-step-layout-step .pic-text-step-content {
  width: 100%;
}
.pic-text-step-layout-step .pic-text-step-list {
  display: flex;
  width: 100%;
}
.pic-text-step-layout-step .icon-text-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
}
.pic-text-step-layout-step .text-content,
.pic-text-step-layout-step .text-content-desc {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (min-width: 1025px) {
  .pic-text-step-layout-step .pic-text-step-list {
    margin: 0 -20px;
  }
  .pic-text-step-layout-step .icon-text-card {
    flex: 1 1 0;
    padding: 0 20px;
  }
  .pic-text-step-layout-step .icon-text-card::before,
  .pic-text-step-layout-step .icon-text-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 1px;
    background-color: var(--step-line-color);
  }
  .pic-text-step-layout-step .icon-text-card::before {
    left: 0;
  }
  .pic-text-step-layout-step .icon-text-card::after {
    right: 0;
  }
  .pic-text-step-layout-step .icon-text-card:first-of-type::before,
  .pic-text-step-layout-step .icon-text-card:last-of-type::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .pic-text-step-layout-step .pic-text-step-list {
    margin: 0 -10px;
    flex-wrap: wrap;
    row-gap: var(--grid-gap-extra-large);
  }
  .pic-text-step-layout-step .icon-text-card {
    padding: 0 10px;
    width: 50%;
  }
}


/* Curved step preset: step_2 */
.pic-text-step-section.pic-text-step-layout-step-2 { overflow: hidden; }
.pic-text-step-section.pic-text-step-layout-step-2 .section-container { overflow: visible; }
.pic-text-step-section.pic-text-step-layout-step-2 .pic-text-step-2-content { width: 100%; }
.pic-text-step-section.pic-text-step-layout-step-2 .pic-text-step-list { display: block; width: 100%; }
.pic-text-step-row {
  --step-row-gap: 80px;
  --step-edge-buffer: 16px;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: var(--step-row-gap);
}
.pic-text-step-row:last-child { margin-bottom: 0; }
.pic-text-step-row.row-reverse { flex-direction: row-reverse; }
.pic-text-step-section.pic-text-step-layout-step-2 .icon-text-card { position: relative; z-index: 1; display: flex; flex: 0 0 25%; flex-direction: column; align-items: center; min-width: 0; box-sizing: border-box; padding: 0 20px; }
.pic-text-step-section.pic-text-step-layout-step-2 .text-content, .pic-text-step-section.pic-text-step-layout-step-2 .text-content-desc { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 1025px) {
  .pic-text-step-section.pic-text-step-layout-step-2 { overflow: visible; }
  .pic-text-step-list { margin: 0 -20px; }
  .pic-text-step-row::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: var(--step-icon-radius);
    height: 1px;
    background-color: var(--step-line-color);
    pointer-events: none;
  }
  .pic-text-step-row.row-items-1::before { display: none; }
  .pic-text-step-row.row-items-2:not(.row-reverse)::before,
  .pic-text-step-row.row-items-3:not(.row-reverse)::before,
  .pic-text-step-row.row-items-4:not(.row-reverse)::before {
    right: auto;
    left: 12.5%;
    width: 25%;
  }
  .pic-text-step-row.row-items-3:not(.row-reverse)::before,
  .pic-text-step-row.row-items-4:not(.row-reverse)::before { width: 50%; }
  .pic-text-step-row.row-items-4:not(.row-reverse)::before { width: 75%; }
  .pic-text-step-row.row-items-1.row-reverse::before { display: none; }
  .pic-text-step-row.row-items-2.row-reverse::before,
  .pic-text-step-row.row-items-3.row-reverse::before,
  .pic-text-step-row.row-items-4.row-reverse::before {
    right: 12.5%;
    left: auto;
    width: 25%;
  }
  .pic-text-step-row.row-items-3.row-reverse::before,
  .pic-text-step-row.row-items-4.row-reverse::before { width: 50%; }
  .pic-text-step-row.row-items-4.row-reverse::before { width: 75%; }
  .pic-text-step-connector {
    position: absolute;
    z-index: 0;
    top: var(--step-icon-radius);
    height: calc(100% + var(--step-row-gap));
    width: auto;
    aspect-ratio: 1 / 1;
    overflow: visible;
    fill: none;
    pointer-events: none;
  }
  .pic-text-step-connector path {
    fill: none;
    stroke: var(--step-line-color);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }
  .pic-text-step-connector.connector-right { right: auto; left: 87.5%; }
  .pic-text-step-connector.connector-left {
    right: auto;
    left: 12.5%;
    transform: translateX(-100%);
  }
}
@media (max-width: 1024px) {
  .pic-text-step-row, .pic-text-step-row.row-reverse {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: var(--grid-gap-extra-large);
  }
  .pic-text-step-section.pic-text-step-layout-step-2 .icon-text-card { flex: 0 0 50%; padding: 0 10px; }
  .pic-text-step-row { margin-bottom: var(--grid-gap-extra-large); }
  .pic-text-step-row:last-child { margin-bottom: 0; }
  .pic-text-step-row::before, .pic-text-step-connector { display: none; }
}
@media (max-width: 600px) {
  .pic-text-step-section.pic-text-step-layout-step-2 .icon-text-card { flex-basis: 100%; }
}


/* Numbered curved step preset: step_3 */
.pic-text-step-section.pic-text-step-layout-step-3 { overflow: hidden; }
.pic-text-step-section.pic-text-step-layout-step-3 .section-container { overflow: visible; }
.pic-text-step-section.pic-text-step-layout-step-3 .pic-text-step-3-content { width: 100%; }
.pic-text-step-3-list { display: block; width: 100%; }
.pic-text-step-3-row {
  --step-row-gap: 80px;
  --step-edge-buffer: 16px;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: var(--step-row-gap);
}
.pic-text-step-3-row:last-child { margin-bottom: 0; }
.pic-text-step-3-row.row-reverse { flex-direction: row-reverse; }
.pic-text-step-3-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 25%;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 20px;
}
.pic-text-step-3-card .step-number {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--step-number-radius) * 2);
  height: calc(var(--step-number-radius) * 2);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.pic-text-step-3-card .text-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  row-gap: var(--grid-gap-small);
  min-width: 0;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}
.pic-text-step-3-card .text-content-title,
.pic-text-step-3-card .text-content-desc { max-width: 100%; }
.pic-text-step-3-card.has-inline-arrow::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: var(--step-number-radius);
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--step-line-color);
  pointer-events: none;
}
.pic-text-step-3-inline-arrow {
  position: absolute;
  z-index: 3;
  top: calc(var(--step-number-radius) + 1px);
  left: 100%;
  display: flex;
  width: 6px;
  height: 9px;
  color: var(--step-line-color);
  transform: translate(-50%, -50%);
}
.pic-text-step-3-inline-arrow svg { display: block; width: 6px; height: 9px; }
.pic-text-step-3-row.row-reverse .pic-text-step-3-card.has-inline-arrow::after {
  right: 50%;
  left: auto;
}
.pic-text-step-3-row.row-reverse .pic-text-step-3-inline-arrow {
  right: 100%;
  left: auto;
  transform: translate(50%, -50%) rotate(180deg);
}

@media (min-width: 1025px) {
  .pic-text-step-section.pic-text-step-layout-step-3 { overflow: visible; }
  .pic-text-step-3-list { margin: 0 -20px; }
  .pic-text-step-3-connector {
    position: absolute;
    z-index: 0;
    top: var(--step-number-radius);
    height: calc(100% + var(--step-row-gap));
    width: auto;
    aspect-ratio: 1 / 1;
    overflow: visible;
    fill: none;
    color: var(--step-line-color);
    pointer-events: none;
  }
  .pic-text-step-3-connector > path {
    fill: none;
    stroke: var(--step-line-color);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
  }
  .pic-text-step-3-connector.connector-right {
    left: 87.5%;
  }
  .pic-text-step-3-connector.connector-left {
    left: 12.5%;
    transform: translateX(-100%);
  }
}

@media (max-width: 1024px) {
  .pic-text-step-3-row,
  .pic-text-step-3-row.row-reverse {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: var(--grid-gap-extra-large);
  }
  .pic-text-step-3-card { flex: 0 0 50%; padding: 0 10px; }
  .pic-text-step-3-row { margin-bottom: var(--grid-gap-extra-large); }
  .pic-text-step-3-row:last-child { margin-bottom: 0; }
  .pic-text-step-3-card.has-inline-arrow::after,
  .pic-text-step-3-inline-arrow,
  .pic-text-step-3-connector { display: none; }
}

@media (max-width: 600px) {
  .pic-text-step-3-card { flex-basis: 100%; }
  .pic-text-step-3-card .step-number { font-size: 24px; }
}
