/* Stage 3.59 — replace the homepage Hero slogan image with a readable service summary card. */
.gm-home-service-card {
  width: min(100%, 650px);
  margin-top: 22px;
  padding: 20px 20px 19px;
  border: 2px solid var(--gm-yellow);
  border-radius: 13px;
  background: #0b0b0c;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  box-sizing: border-box;
}

.gm-home-service-card h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(21px, 1.65vw, 24px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}

.gm-home-service-card p {
  margin: 0;
  color: #ededed;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  font-weight: 400;
  letter-spacing: 0;
}

.gm-home-service-card .gm-home-service-card-label {
  margin-top: 11px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.45;
}

.gm-home-service-card .gm-home-service-card-steps {
  margin-top: 7px;
  color: #ededed;
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .gm-home-service-card {
    width: min(100%, 820px);
  }
}

@media (max-width: 640px) {
  .gm-home-service-card {
    width: 100%;
    margin-top: 18px;
    padding: 17px 15px 16px;
    border-radius: 11px;
  }

  .gm-home-service-card h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .gm-home-service-card p,
  .gm-home-service-card .gm-home-service-card-label,
  .gm-home-service-card .gm-home-service-card-steps {
    font-size: 15px;
  }
}
