@import url("https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@700&display=swap");

/* 이미지로 쓰던 문구를 텍스트로 렌더링한다.
   글자 크기·여백을 컨테이너 폭에 비례(cqi)시켜 원본 이미지처럼 어떤 폭에서도 같은 줄바꿈·배치를 유지한다.
   블록 높이 = pad-top + 줄 수 × size × line + mb = 원본 이미지 높이/폭 비율(cqi). */
.md-typeset .hero-quote-wrap {
  container-type: inline-size;
  margin: 1em 0;
}

.md-typeset .hero-quote {
  margin: 0 0 var(--hq-mb);
  padding: var(--hq-pad-top) 0 0 var(--hq-pad-left);
  font-family: "Nanum Gothic", sans-serif;
  font-weight: 700;
  font-size: calc(var(--hq-size) * 1cqi);
  line-height: var(--hq-line);
  letter-spacing: 0;
  color: var(--md-default-fg-color);
  white-space: nowrap;
}

/* 원본: standing_on_the_shoulders_of_giants_*.png (2550x600 → 높이 23.5cqi) */
.md-typeset .hero-quote--giants {
  --hq-size: 9.42;
  --hq-line: 1.24;
  --hq-pad-left: 4.7cqi;
  --hq-pad-top: 0.7cqi;
  --hq-mb: -0.56cqi;
}

/* 원본: googling_does_make_you_a_programmer_*.png (3000x960 → 높이 32cqi) */
.md-typeset .hero-quote--googling {
  --hq-size: 7.95;
  --hq-line: 1.2;
  --hq-pad-left: 6.2cqi;
  --hq-pad-top: 2.5cqi;
  --hq-mb: 0.88cqi;
}
