/**
 * How It Works Module
 *
 * Styles for template-part/modules/how_it_works_module.php
**/

.how-it-works-module__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.how-it-works-module__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.how-it-works-module__step {
  background-color: var(--white);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.how-it-works-module__step-number {
  flex: 0 0 auto;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 210, 230, .2);
}

.how-it-works-module__step-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.how-it-works-module__step-text {
  color: var(--muted-foreground);
}

.how-it-works-module__image-wrap {
  margin-bottom: 3rem;
}

.how-it-works-module__image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

.how-it-works-module__tech {
  background-color: var(--white);
  text-align: center;
}

.how-it-works-module__tech-heading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.how-it-works-module__tech-text {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.how-it-works-module__metrics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.how-it-works-module__metric {
  display: flex;
  flex-direction: column;
}

.how-it-works-module__metric-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.how-it-works-module__metric-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .how-it-works-module__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
