/* 글 페이지 공통 스타일 — style.css 위에 얹어서 사용 */

.art-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.breadcrumb {
  padding: 28px 0 0; font-size: 13.5px; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 7px; opacity: .5; }

.art-head { padding: 18px 0 30px; border-bottom: 1px solid var(--border); margin-bottom: 34px; }
.art-head h1 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.35; margin: 8px 0 14px; }
.art-head .lede { color: var(--text-muted); font-size: 16.5px; line-height: 1.8; margin: 0; }

.art h2 {
  font-size: 22px; line-height: 1.4; margin: 46px 0 16px;
  padding-top: 6px; border-top: 1px solid var(--border);
}
.art h2:first-of-type { border-top: none; margin-top: 8px; padding-top: 0; }
.art h3 { font-size: 17.5px; margin: 30px 0 10px; color: var(--text); }
.art p { font-size: 16px; line-height: 1.85; margin: 14px 0; }
.art ul, .art ol { margin: 14px 0; padding-left: 22px; }
.art li { font-size: 16px; line-height: 1.8; margin: 8px 0; }
.art strong { color: var(--text); font-weight: 700; }

.art-steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0; }
.art-steps li {
  counter-increment: s; position: relative;
  padding: 14px 18px 14px 54px; margin: 10px 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15.5px; line-height: 1.7;
}
.art-steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 14px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.callout {
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  background: var(--bg-elev); border-radius: var(--radius-sm);
  padding: 18px 20px; margin: 24px 0; font-size: 15.5px; line-height: 1.8;
}
.callout.warn { border-left-color: var(--warning); }
.callout.stop { border-left-color: var(--danger); }
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.art-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.art-table th, .art-table td {
  border: 1px solid var(--border); padding: 11px 14px; text-align: left; line-height: 1.6;
}
.art-table th { background: var(--bg-elev); font-weight: 700; }
.art-table td:first-child { white-space: nowrap; color: var(--text-muted); }

.tool-cta {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px; margin: 34px 0;
}
.tool-cta h3 { margin: 0 0 10px; font-size: 18px; }
.tool-cta p { font-size: 15.5px; line-height: 1.75; color: var(--text-muted); margin: 10px 0 18px; }
.tool-cta .btn { width: auto; }
.tool-cta .fine { font-size: 12.5px; color: var(--text-muted); margin: 14px 0 0; line-height: 1.6; }

.art-foot { margin: 46px 0 20px; padding-top: 24px; border-top: 1px solid var(--border); }
.art-foot a { color: var(--text-muted); font-size: 14px; text-decoration: none; }
.art-foot a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .art p, .art li { font-size: 15.5px; }
  .art-table { font-size: 14px; }
  .art-table td:first-child { white-space: normal; }
}
