/* =========================================
   Mileage Calculator - How It Works
========================================= */

.mileage-how-section {
  margin-bottom: 40px;
}

.mileage-how-container {
  position: relative;
  z-index: 2;
  width: 100%;
}


/* Grid */

.mileage-how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}


/* Card */

.mileage-step {
  overflow: hidden;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}


/* Colored top area */

.mileage-step-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 14px 12px;
  text-align: center;
}

.mileage-step-1 {
  background: #c8e5f5;
}

.mileage-step-2 {
  background: #f8d2d1;
}

.mileage-step-3 {
  background: #ffe8b2;
}

.mileage-step-4 {
  background: #d8e7cb;
}


/* Step number */

.mileage-step-number {
  margin-bottom: 16px;
  color: #374151;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}


/* Card heading */

.mileage-step h3 {
  margin: 0;
  padding: 0;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}


/* Icons */

.mileage-icon {
  width: 62px;
  height: 62px;
  margin-top: 20px;
  color: #000000;
}

.mileage-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mileage-vehicle-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  gap: 7px;
}

.mileage-vehicle-icons svg {
  width: 52px;
  height: 52px;
}


/* Bottom text */

.mileage-step-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 12px;
  color: #111111;
  background: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
	margin: 2px;
    border-radius: 0px 0px 10px 10px;
}


/* =========================================
   Responsive
========================================= */

@media (max-width: 1100px) {
.mileage-how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

}


@media (max-width: 600px) {

  .mileage-how-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

}