
:root {
  --ink: #24212c;
  --accent: #c79b4b;
  --soft: #fff6df;
  --paper: #f8f4eb;
  --line: color-mix(in srgb, #c79b4b 28%, #e4e4e4);
  --deep-line: color-mix(in srgb, #c79b4b 46%, #d0d0d0);
  --title: NanumSquareNeoHeavy, NanumSquareNeoHeavy, Pretendard, system-ui, sans-serif;
  --body: NanumSquareNeo, Pretendard, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { max-width:100%; overflow-x:hidden; }
body { margin:0; min-width:320px; max-width:100%; overflow-x:hidden; background:var(--paper); color:var(--ink); font-family:var(--body); line-height:1.78; letter-spacing:0; }
a { color: inherit; text-decoration: none; }
img { display:block; width:100%; height:100%; object-fit:cover; }
p,h1,h2,h3,li { margin-top:0; overflow-wrap:anywhere; word-break:normal; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.top { background:#fff; color:var(--ink); border-top:5px solid var(--accent); border-bottom:1px solid var(--line); }
.top-inner { width:min(1030px, calc(100% - 32px)); min-height:62px; display:flex; gap:18px; align-items:center; margin:0 auto; }
.brand { color:var(--accent); font-family:var(--title); font-size:1.54rem; font-weight:900; }
.search { flex:1; max-width:560px; display:flex; height:38px; margin-left:auto; border:2px solid var(--accent); background:#fff; border-radius:20px; overflow:hidden; }
.search input { flex:1; min-width:0; border:0; padding:0 12px; color:var(--ink); font:inherit; }
.search button { width:72px; border:0; background:var(--accent); color:#fff; font-weight:900; }
.wrap { width:min(1030px, calc(100% - 32px)); margin:22px auto; }
.cover { min-height:210px; display:flex; align-items:end; padding:34px; background:linear-gradient(135deg, var(--soft) 0%, #fff 62%, color-mix(in srgb, var(--accent) 12%, #fff) 100%); border:1px solid var(--line); border-radius:10px 10px 0 0; }
.cover > div { min-width:0; max-width:100%; }
.eyebrow { color:var(--accent); font-weight:900; margin-bottom:8px; }
h1 { max-width:780px; margin:0 0 8px; font-family:var(--title); font-size:2.18rem; line-height:1.22; letter-spacing:0; }
.cover p:last-child { max-width:760px; margin-bottom:0; color:#64707d; }
.tabs { display:flex; flex-wrap:wrap; border:1px solid var(--line); border-top:0; background:#fff; }
.tabs a { min-height:48px; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; padding:0 28px; border-right:1px solid var(--line); font-weight:900; color:var(--ink); }
.tabs a:first-child { color:var(--accent); }
.layout { display:grid; grid-template-columns:minmax(0,1fr) 278px; gap:18px; margin-top:18px; }
.post, .side-card { background:#fff; border:1px solid var(--line); box-shadow:0 10px 26px rgba(30,30,30,.04); }
.post { padding:40px 46px; border-top:5px solid var(--accent); }
.breadcrumb { color:#69717c; display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; }
.category { color:var(--accent); font-weight:900; margin-bottom:10px; }
.post-title { font-family:var(--title); font-size:1.94rem; line-height:1.34; margin-bottom:14px; }
.meta { display:flex; flex-wrap:wrap; gap:8px 16px; color:#69717c; padding-bottom:20px; border-bottom:1px solid var(--line); }
.hero { margin:30px 0; border:1px solid var(--line); aspect-ratio:16/10; overflow:hidden; background:#eef1f4; border-radius:8px; }
.lead { padding:20px 0; border-top:2px solid var(--ink); border-bottom:1px solid var(--line); font-size:1.05rem; color:#29313b; }
.intro { padding:6px 0 4px; }
.intro p { margin-bottom:14px; color:#333b46; }
.summary-box, .search-table, .checklist-box, .closing-note { margin:26px 0; padding:20px; border:1px solid var(--line); background:linear-gradient(180deg,#fff,var(--soft)); border-radius:8px; }
.summary-box h2, .search-table h2, .checklist-box h2, .closing-note h2 { margin-bottom:12px; font-family:var(--title); font-size:1.18rem; }
.summary-list, .check-list { margin:0; padding-left:20px; }
.summary-list li, .check-list li { margin:8px 0; }
.keyword-table { width:100%; border-collapse:collapse; background:#fff; overflow:hidden; border-radius:8px; }
.keyword-table th, .keyword-table td { padding:12px 10px; border:1px solid var(--line); text-align:left; vertical-align:top; }
.keyword-table th { background:var(--soft); color:var(--accent); font-weight:900; }
.keyword-table td:first-child { font-weight:900; color:var(--ink); }
.toc, .note { margin:26px 0; padding:18px; background:var(--soft); border:1px solid var(--line); border-radius:8px; }
.toc strong, .note strong { display:block; margin-bottom:8px; }
.toc a { display:block; padding:5px 0; color:var(--ink); }
.section { padding:24px 0 4px; }
.section h2 { font-family:var(--title); font-size:1.32rem; line-height:1.36; margin-bottom:10px; }
.section p { margin-bottom:12px; }
.source { margin:28px 0; padding:18px; border-left:4px solid var(--accent); background:var(--soft); }
.source a { color:var(--accent); font-weight:900; text-decoration:underline; text-underline-offset:3px; }
.faq details { padding:16px 0; border-top:1px solid var(--line); }
.faq details:last-child { border-bottom:1px solid var(--line); }
summary { cursor:pointer; font-weight:900; }
.tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.tags a { padding:7px 10px; background:var(--soft); border:1px solid var(--line); color:var(--accent); font-weight:850; }
.side-card { padding:20px; margin-bottom:14px; border-radius:8px; }
.avatar { width:86px; height:86px; border-radius:50%; overflow:hidden; border:3px solid #fff; outline:1px solid var(--deep-line); margin-bottom:12px; }
.side-card h2 { font-family:var(--title); font-size:1.18rem; margin-bottom:10px; }
.side-card p { color:#66717d; margin-bottom:0; }
.button { display:flex; min-height:42px; align-items:center; justify-content:center; background:var(--accent); color:#fff; font-weight:900; margin-top:18px; border-radius:6px; }
.list-card { display:grid; grid-template-columns:220px minmax(0,1fr); gap:22px; padding:22px 0; border-top:1px solid var(--line); }
.list-card:first-of-type { border-top:0; }
.list-card .thumb { aspect-ratio:4/3; overflow:hidden; border:1px solid var(--line); background:#eef1f4; }
.list-card h2 { margin:4px 0 10px; font-family:var(--title); font-size:1.42rem; line-height:1.35; letter-spacing:0; }
.list-card p { color:#66717d; margin-bottom:12px; }
.list-card .read { color:var(--accent); font-weight:900; }
.notice { margin-top:20px; padding:16px; background:var(--soft); border:1px solid var(--line); color:#53606d; border-radius:8px; }
.comments { margin-top:28px; padding-top:20px; border-top:1px solid var(--line); }
.comment { padding:14px 0; border-bottom:1px solid var(--line); color:#65717d; }
.profile-mini { display:flex; gap:16px; align-items:center; min-width:0; margin-top:18px; padding:14px; background:rgba(255,255,255,.72); border:1px solid var(--line); border-radius:10px; }
.profile-mini img { flex:0 0 68px; width:68px; height:68px; border-radius:50%; border:3px solid #fff; outline:1px solid var(--deep-line); }
.profile-mini > div { flex:1 1 0; min-width:0; }
.profile-mini strong { display:block; font-family:var(--title); font-size:1.04rem; overflow-wrap:anywhere; }
.profile-mini span { display:block; color:#66717d; font-size:.94rem; overflow-wrap:anywhere; }
.stats { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; color:#7a8490; font-size:.9rem; }
.stats span { padding:4px 8px; background:#fff; border:1px solid var(--line); border-radius:999px; }
.neighbor-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
.neighbor-row a { min-height:36px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:6px; font-weight:900; }
.neighbor-row a:first-child { background:var(--accent); color:#fff; border-color:var(--accent); }
.comment-box { margin-top:28px; padding:18px; border:1px solid var(--line); background:#fff; border-radius:8px; }
.comment-box strong { display:block; margin-bottom:10px; font-family:var(--title); }
.comment-box p { margin-bottom:8px; color:#65717d; }
.footer { width:min(1040px, calc(100% - 32px)); margin:30px auto 46px; color:#69717c; font-size:.92rem; }
@media (max-width: 760px) {
  .top-inner, .wrap, .footer { width:calc(100vw - 24px); max-width:calc(100vw - 24px); }
  .top-inner { flex-direction:column; align-items:stretch; padding:12px 0; }
  .search { width:100%; max-width:none; margin-left:0; }
  .cover { min-height:168px; padding:24px 18px; }
  .cover > div { min-width:0; max-width:100%; }
  h1 { font-size:1.62rem; line-height:1.28; max-width:100%; word-break:keep-all; overflow-wrap:normal; }
  .cover p:last-child { font-size:.92rem; line-height:1.55; word-break:break-all; }
  .tabs { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); }
  .tabs a { min-width:0; padding:0 8px; border-bottom:1px solid var(--line); text-align:center; }
  .layout { grid-template-columns:1fr; }
  .post { padding:24px 18px; }
  .post-title { font-size:1.42rem; line-height:1.42; }
  .meta { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:6px 12px; }
  .hero { aspect-ratio:4/3; }
  .summary-box, .search-table, .checklist-box, .closing-note { padding:16px; }
  .keyword-table, .keyword-table thead, .keyword-table tbody, .keyword-table tr, .keyword-table th, .keyword-table td { display:block; width:100%; }
  .keyword-table th { display:none; }
  .keyword-table td { border-bottom:0; }
  .keyword-table td:last-child { border-bottom:1px solid var(--line); }
  .list-card { grid-template-columns:1fr; }
  .list-card h2 { font-size:1.24rem; }
  .profile-mini { align-items:flex-start; gap:12px; }
  .profile-mini img { flex-basis:58px; width:58px; height:58px; }
}
