/* Wither 정렬: Pretendard(본문) + Playfair Display(제목) — services/api/app/frontend 참고 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&display=swap");

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  font-weight: 500;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif !important;
  font-weight: 700;
}

input,
select,
textarea,
button {
  font-family: inherit;
}

code,
pre,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Tailwind CDN 등이 본문 글꼴을 덮는 경우 보조 */
.mjn-fonts,
body.mjn-fonts {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  font-weight: 500;
}

/* FastAPI Swagger UI / ReDoc */
.swagger-ui,
.swagger-ui .btn,
.swagger-ui .opblock .opblock-summary,
.swagger-ui .opblock .opblock-summary-description,
.swagger-ui .parameter__name,
.swagger-ui .response-col_status,
.swagger-ui .model-box,
.swagger-ui table {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  font-weight: 500;
}

.swagger-ui .info .title,
.swagger-ui .info h1,
.swagger-ui .info h2,
.swagger-ui .info h3,
.swagger-ui .info h4,
.swagger-ui .info h5,
.swagger-ui .opblock-tag,
.swagger-ui .opblock .opblock-summary-path {
  font-family: "Playfair Display", serif !important;
  font-weight: 700;
}

redoc {
  --font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-size: 15px;
  --font-family-monospace: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
