/* Figma 원본 삽화를 목적에 맞게 비율을 유지해 배치합니다. */
.brand-illustration {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.service-art > .service-illustration {
  width: 125px;
  height: 120px;
}

.journey-feature-copy > .journey-illustration {
  width: min(100%, 156px);
  height: 132px;
  margin: 0 auto 18px;
}

.journey-step-panel {
  display: grid;
  grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}

.journey-step-panel > .course-illustration {
  width: 100%;
  height: 126px;
}

.journey-step-panel .course-illustration + div .button {
  margin-top: 18px;
}

#step-panel > .course-illustration {
  width: min(100%, 180px);
  height: 145px;
  margin: 0 auto 14px;
}

.map-card > .map-illustration {
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
}

.activity-row > .activity-illustration {
  width: 48px;
  height: 48px;
}

.home-resume > .resume-illustration {
  width: 54px;
  height: 54px;
}

.saved-row > .service-illustration {
  width: 62px;
  height: 62px;
}

#service-dialog-content > .service-illustration {
  width: min(100%, 210px);
  height: 164px;
  margin: 0 auto 18px;
}

.service-hint {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .service-art > .service-illustration {
    width: 82px;
    height: 99px;
    right: 9px;
    bottom: 39px;
  }

  .journey-feature-copy > .journey-illustration {
    width: 112px;
    height: 96px;
    margin-bottom: 12px;
  }

  .journey-step-panel {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .journey-step-panel > .course-illustration {
    height: 94px;
  }

  #step-panel > .course-illustration {
    height: 110px;
  }

  .map-card > .map-illustration {
    width: 62px;
    height: 62px;
  }

  .saved-row > .service-illustration {
    width: 48px;
    height: 48px;
  }
}
