:root {
  --max: 920px;
}

/* 기본 설정 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
}

/* 링크 */
a { color: #0b5fff; text-decoration: none; }
a:hover { text-decoration: underline; }

/* 컨테이너 */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 20px 40px; /* 필요하면 조정 */
}

/* 헤더 & 네비게이션 */
header.site {
  background-color: #ffffff;
  color: #000000;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e7eb; /* ✅ 헤더 전체 밑에 선 */
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1rem;
  background-color: #ffffff; /* ✅ 선이 뚜렷하게 보이도록 보강 */
}


.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.menu {
  display: flex;
  gap: 1rem;
}

.menu a {
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  color: #111;
}

/* 현재 페이지 표시 — 연한 박스 제거 */
.menu a[aria-current="page"] {
  background: none;     /* 박스 제거 */
  font-weight: 600;     /* 글자만 강조 (원하면 지워도 됨) */
  /* 밑줄로 바꾸고 싶으면 위 두 줄 대신:
  border-bottom: 2px solid #0b5fff;
  padding-bottom: 2px;
  */
}

/* 메인 */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem;
}

/* 히어로/프로필 */
.hero {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.hero img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 0 !important; /* 둥글게 되는 걸 전역에서 확실히 차단 */
  border: 1px solid #eee;
}

/* 섹션 간격 */
section + section {
  margin-top: 2rem;
}

/* 제목 */
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); margin: 0 0 0.25rem; }
h2 { font-size: 1.25rem; margin-bottom: 0.25rem; }

/* 리스트 */
ul.clean {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}
ul.clean li { margin: 0.5rem 0; }

/* 푸터 */
.footer {
  max-width: var(--max);
  margin: 2rem auto;
  padding: 1rem;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.95rem;
}

/* 보조 요소 */
.badge {
  display: inline-block;
  font-size: 0.85rem;
  background: #f6f7f9;
  border: 1px solid #eee;
  padding: 0.1rem 0.45rem;
  border-radius: 0.4rem;
}
.card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1rem;
}

/* 반응형 */
@media (max-width: 720px) {
  .wrap { padding: 76px 16px 32px; }
  .hero { grid-template-columns: 1fr; }
  .hero img { width: 140px; height: 140px; }
}

/* 헤더 이름 색상 고정 */
header.site .brand {
  color: #000;
  text-decoration: none;
}

header.site .brand:hover {
  color: #000;
  text-decoration: none;
}
