.paragraph-steps {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.paragraph-steps__intro {
  margin-bottom: 6rem;
}

.paragraph-steps__intro-inner > *:first-child {
  margin-top: 0;
}

.paragraph-steps__intro-inner > *:last-child {
  margin-bottom: 0;
}

.paragraph-steps__intro-inner h2,
.paragraph-steps__intro-inner h3 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #221b46;
}

.paragraph-steps__intro-inner p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #5f6375;
}

.paragraph-steps__items {
  width: 100%;
}

.paragraph-steps__grid {
  display: grid;
  grid-template-columns: repeat(var(--steps-cols-pc, 3), minmax(0, 1fr));
  gap: 1.5rem;
}

/* =========================
   DEFAULT
========================= */

.paragraph-step--template-default,
.paragraph-step:not([class*="paragraph-step--template-"]) {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  min-height: 17rem;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid #dbe2ea;
  box-shadow: 0 18px 40px rgba(27, 34, 55, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.paragraph-step--template-default:hover,
.paragraph-step:not([class*="paragraph-step--template-"]):hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(27, 34, 55, 0.10);
  border-color: #c6d0dc;
}

.paragraph-step--template-default::before,
.paragraph-step:not([class*="paragraph-step--template-"])::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #8c1226 0%, #b31834 100%);
}

/* =========================
   TIMELINE
========================= */

.paragraph-steps--template-timeline .paragraph-steps__grid {
  gap: 2rem 1.5rem;
}

.paragraph-step--template-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: auto;
  height: 100%;
  padding: 2rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid #dbe2ea;
  box-shadow: none;
}

.paragraph-step--template-timeline::before {
  content: "";
  position: absolute;
  top: 2.55rem;
  left: -1.5rem;
  width: 1.5rem;
  height: 2px;
  background: #d7dde6;
}

.paragraph-steps--template-timeline .paragraph-step__number {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #a6152d;
  color: #a6152d;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: none;
}

.paragraph-steps--template-timeline .paragraph-step__title {
  margin: 0 0 0.9rem;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 800;
  color: #221b46;
}

.paragraph-steps--template-timeline .paragraph-step__content {
  font-size: 1rem;
  line-height: 1.7;
  color: #5c6072;
}

/* =========================
   MINIMAL METRICS
========================= */

.paragraph-steps--template-minimal_metrics .paragraph-steps__grid {
  gap: 0;
}

.paragraph-step--template-minimal_metrics {
  position: relative;
  display: block;
  min-height: auto;
  height: 100%;
  padding: 0 2rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.paragraph-step--template-minimal_metrics::before {
  display: none;
}

.paragraph-step--template-minimal_metrics:not(:last-child) {
  border-right: 1px solid #d9dee6;
}

.paragraph-steps--template-minimal_metrics .paragraph-step__number {
  display: none;
}

.paragraph-steps--template-minimal_metrics .paragraph-step__title {
margin: 0 0 0.9rem;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 500;
    color: #221b46;
}

.paragraph-steps--template-minimal_metrics .paragraph-step__content {
  max-width: 16rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #3d4154;
}

.paragraph-steps--template-minimal_metrics .paragraph-step__content p {
  margin: 0;
}

.paragraph-steps--template-minimal_metrics .paragraph-steps__intro-inner {
  max-width: 70rem;
}

.paragraph-steps--template-minimal_metrics .paragraph-steps__intro-inner h2,
.paragraph-steps--template-minimal_metrics .paragraph-steps__intro-inner h3 {
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 3vw, 3.25rem);
}

.paragraph-steps--template-minimal_metrics .paragraph-steps__intro-inner p {
  font-size: 1.2rem;
  font-weight: 600;
}

/* =========================
   COMMON
========================= */

.paragraph-step__number {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8c1226 0%, #b31834 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 26px rgba(140, 18, 38, 0.22);
}

.paragraph-step__body {
min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.paragraph-step--template-default .paragraph-step__title,
.paragraph-step:not([class*="paragraph-step--template-"]) .paragraph-step__title {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 800;
  color: #221b46;
}

.paragraph-step--template-default .paragraph-step__content,
.paragraph-step:not([class*="paragraph-step--template-"]) .paragraph-step__content {
  font-size: 1rem;
  line-height: 1.75;
  color: #5c6072;
}

.paragraph-step__content > *:first-child {
  margin-top: 0;
}

.paragraph-step__content > *:last-child {
  margin-bottom: 0;
}

.paragraph-step__content p {
  margin: 0 0 0.85rem;
}

.paragraph-step__content ul,
.paragraph-step__content ol {
  margin: 1rem 0 1rem 1.25rem;
  padding: 0;
}

.paragraph-step__content li {
  margin-bottom: 0.55rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 75rem) {
  .paragraph-steps__grid {
    grid-template-columns: repeat(var(--steps-cols-tablet, 2), minmax(0, 1fr));
  }

  .paragraph-step--template-minimal_metrics:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 62rem) {
  .paragraph-steps__items {
  width: calc(100% - 2rem)!important;
}
  .paragraph-steps {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .paragraph-steps__intro {
    margin-bottom: 4rem;
    width: calc(100% - 2rem)!important;
  }

  .paragraph-steps__grid {
    grid-template-columns: repeat(var(--steps-cols-mobile, 1), minmax(0, 1fr));
    gap: 1rem;
  }

  .paragraph-step--template-default,
  .paragraph-step:not([class*="paragraph-step--template-"]) {
    min-height: auto;
    padding: 1.5rem 1.25rem;
  }

  .paragraph-step--template-default .paragraph-step__title,
  .paragraph-step:not([class*="paragraph-step--template-"]) .paragraph-step__title,
  .paragraph-steps--template-timeline .paragraph-step__title {
    font-size: 1.2rem;
  }

  .paragraph-step--template-minimal_metrics {
    padding: 0 0 1.5rem;
    border-right: 0 !important;
    border-bottom: 1px solid #d9dee6;
  }

  .paragraph-steps--template-minimal_metrics .paragraph-step__title {
    font-size: 1.5rem;
  }

  .paragraph-steps--template-minimal_metrics .paragraph-step__content {
    max-width: none;
  }

  .paragraph-step--template-timeline::before {
    display: none;
  }
}