/* 서비스 상세 하단 — 다른 서비스 함께 보기 */

.svc-related {
  margin: 0;
  padding: 48px 0 56px;
  background: #f4f7fa;
  color: #0d1b2a;
}

.svc-related__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.svc-related__head {
  margin: 0 0 24px;
}

.svc-related__title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.svc-related__lead {
  margin: 12px 0 0;
  max-width: 46rem;
  color: #5c6570;
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.svc-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.svc-related__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 18px 18px 16px;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.04);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.svc-related__card:hover,
.svc-related__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 27, 42, 0.1);
  border-color: #d5deea;
}

.svc-related__card:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.svc-related__card.is-current {
  background: #f8fafc;
  border-color: #dbe4ef;
  box-shadow: none;
}

.svc-related__card.is-current:hover,
.svc-related__card.is-current:focus-visible {
  transform: none;
  box-shadow: 0 6px 16px rgba(13, 27, 42, 0.06);
}

.svc-related__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #0d1b2a;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.svc-related__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1a73e8;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.svc-related__desc {
  flex: 1;
  color: #5c6570;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.svc-related__more {
  margin-top: 4px;
  color: #1a73e8;
  font-size: 14px;
  font-weight: 600;
}

.svc-related__card.is-current .svc-related__more {
  color: #6b7280;
}

.svc-related__all {
  margin: 20px 0 0;
  text-align: center;
}

.svc-related__all a {
  color: #1a73e8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.svc-related__all a:hover,
.svc-related__all a:focus-visible {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .svc-related__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .svc-related {
    padding: 40px 0 48px;
  }

  .svc-related__inner {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .svc-related__grid {
    grid-template-columns: 1fr;
  }
}
