/* ==========================================================================
   HOTKOREA Typography System (Pretendard + Noto Sans SC)
   Version: 1.5.0
   ========================================================================== */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap");

:root {
  --font-family-primary: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Noto Sans SC", "Segoe UI", sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body {
  font-family: var(--font-family-primary);
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin: 0;
  padding: 0;
}

/* Material Design 3 Typography Scale */
h1, .m3-headline-large {
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -0.25px;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h2, .m3-headline-medium {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.15px;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h3, .m3-title-large {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h4, .m3-title-medium {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: 0.15px;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

p, .m3-body-large {
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0.25px;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.m3-body-medium {
  font-size: 13.5px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0.25px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.m3-label-large {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.1px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.m3-label-medium {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.m3-label-small {
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   News Card & Dossier Title Typography System (v1.4.0 M3 Standard)
   -------------------------------------------------------------------------- */
.title-zh {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--md-sys-color-on-surface);
  margin: 0 0 6px 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

.title-ko {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.1px;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0 0 12px 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}
