/* font/text 폴더의 Pretendard만 사용 (title 폴더 미사용) */
@font-face {
  font-family: "Pretendard";
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url("font/text/Pretendard-Thin.otf") format("opentype");
}

@font-face {
  font-family: "Pretendard";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("font/text/Pretendard-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Pretendard";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("font/text/Pretendard-Medium.otf") format("opentype"),
    url("font/text/Pretendard-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Pretendard";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("font/text/Pretendard-SemiBold.otf") format("opentype");
}

@font-face {
  font-family: "Pretendard";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("font/text/Pretendard-Bold.otf") format("opentype");
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* 한글·혼합 텍스트: 어절 단위 줄바꿈, 가독성 */
html {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 긴 문단: 적당한 한 줄 길이 */
.prose-readable {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.prose-readable p + p {
  margin-top: 1rem;
}
