/* 안내 글 페이지 공통 스타일 (메인과 같은 네이비·그린 팔레트) */
:root {
  --hero: #102a4c; --hero2: #183a66; --bg: #f4f3ee; --card: #fff; --soft: #edece6; --soft2: #f9f8f5;
  --line: #e0ded6; --text: #15202e; --sub: #4a5565; --muted: #8a919c;
  --blue: #1d4f91; --blue-soft: #e7eef8; --green: #0b7a5e; --green-soft: #e1f1eb; --orange: #b86b00; --orange-soft: #fbf1e1;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: "IBM Plex Sans KR", "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }

.g-top { background: linear-gradient(160deg, var(--hero), var(--hero2)); color: #fff; }
.g-top-in { max-width: 820px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g-brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.g-brand svg { color: #7fd1b5; flex: none; }
.g-brand em { font-style: normal; color: #7fd1b5; }
.g-top-cta { color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }

.g-hero { background: linear-gradient(160deg, var(--hero), var(--hero2)); color: #fff; padding: 8px 20px 34px; }
.g-hero-in { max-width: 820px; margin: 0 auto; }
.crumb { font-size: 12.5px; color: rgba(255,255,255,.6); margin: 0 0 10px; }
.crumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.g-hero h1 { font-size: clamp(24px, 4.6vw, 34px); line-height: 1.35; margin: 0 0 12px; letter-spacing: -0.02em; }
.g-hero .lead { color: rgba(255,255,255,.85); font-size: 15.5px; margin: 0; max-width: 680px; }
.g-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.g-meta span { font-size: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); padding: 3px 10px; border-radius: 999px; color: rgba(255,255,255,.85); }

main { max-width: 820px; margin: -18px auto 0; padding: 0 16px 40px; }
.g-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 10px; box-shadow: 0 1px 2px rgba(16,42,76,.04); }
.g-card + .g-card { margin-top: 14px; }
h2 { font-size: 21px; margin: 6px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 16.5px; margin: 22px 0 6px; }
p { margin: 0 0 14px; font-size: 15.5px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin: 4px 0; font-size: 15.5px; }

.summary { background: var(--green-soft); border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; }
.summary b { color: var(--green); }
.note { background: var(--orange-soft); color: #7a4a00; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 0 0 16px; }

.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 14px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 9px; background: var(--hero); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.steps li > b:first-child { display: block; font-size: 16px; }

.tbl-wrap { overflow-x: auto; margin: 0 -6px 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--soft); text-align: left; vertical-align: top; }
th { font-size: 12.5px; color: var(--muted); font-weight: 600; background: var(--soft2); }
td.num { text-align: right; font-weight: 700; white-space: nowrap; }
td.num small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; }
td .rk { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--hero); color: #fff; font-size: 12px; font-weight: 700; }
tr.best td .rk { background: var(--green); }
td .sub { display: block; color: var(--muted); font-size: 12.5px; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--hero); color: #fff; border-radius: 16px; padding: 18px 20px; margin: 18px 0 16px; text-decoration: none; }
.cta b { font-size: 16.5px; display: block; }
.cta span { color: rgba(255,255,255,.75); font-size: 13.5px; }
.cta i { font-style: normal; background: #2fa483; border-radius: 10px; padding: 10px 14px; font-weight: 700; white-space: nowrap; font-size: 14px; }

.faq details { border-bottom: 1px solid var(--soft); padding: 12px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 15.5px; }
.faq details p { margin: 8px 0 4px; color: var(--sub); }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0; }
.related a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--text); }
.related a:hover { border-color: var(--blue); }
.related b { display: block; font-size: 15px; }
.related span { color: var(--muted); font-size: 13px; }

.g-foot { max-width: 820px; margin: 0 auto; padding: 0 20px 40px; font-size: 12.5px; color: var(--muted); }

@media (max-width: 640px) {
  .g-card { padding: 20px 16px 6px; border-radius: 16px; }
  .related { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .g-top-cta { font-size: 12.5px; padding: 6px 10px; }
}
