@charset "UTF-8";

/* ========================================
   Font Face Declarations
   ======================================== */
@font-face {
  font-family: 'NanumSquare Neo';
  src: url('../fonts/NanumSquareNeo-aLt.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'NanumSquare Neo';
  src: url('../fonts/NanumSquareNeo-bRg.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'NanumSquare Neo';
  src: url('../fonts/NanumSquareNeo-cBd.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'NanumSquare Neo';
  src: url('../fonts/NanumSquareNeo-dEb.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'NanumSquare Neo';
  src: url('../fonts/NanumSquareNeo-eHv.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

/* ========================================
   Typography Utility Classes
   ======================================== */
.font-nanumSquare {
  font-family: 'NanumSquare Neo', sans-serif !important;
}

/* ========================================
   Base Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

:root {
  /* login bar(44px) + nav row(58px) — JS로 실측값 덮어씀 */
  --site-header-offset: 102px;
}

body {
  font-family: 'NanumSquare Neo', -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic',
    'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
  line-height: 1.6;
  background-color: #f5f6f8;
  padding-top: calc(var(--site-header-offset) + env(safe-area-inset-top, 0px));
}

@media (max-width: 768px) {
  :root {
    /* 모바일: 로그인 바 + 네비 행 (로그인 바 숨김 가정값 폐기) */
    --site-header-offset: 112px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
