/* 글(가이드) 페이지. site.css 의 색 변수를 쓴다. 본문은 밝은 종이 배경, 머리글·바닥글은 사이트 기본(어둡게). */
.art-wrap { background: var(--paper); color: var(--ink); padding: 112px 0 72px; min-height: 70vh; }
/* 본문 줄 길이: 17.5px 에서 한 줄 약 75자(영문). 760px 은 90자라 눈이 줄을 놓친다 */
.w-narrow { width: min(640px, 100% - 40px); margin-inline: auto; }
.art h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.18; letter-spacing: -.03em; margin: 18px 0 12px; font-weight: 800; }
.art h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; letter-spacing: -.02em; margin: 44px 0 12px; font-weight: 750; }
.art p, .art li { font-size: 17.5px; line-height: 1.72; color: #1d2630; }
html[lang="ko"] .art p, html[lang="ko"] .art li { line-height: 1.85; }
.art p { margin: 0 0 16px; }
.art ul, .art ol { padding-left: 22px; margin: 0 0 18px; }
.art li { margin: 6px 0; }
.art a { color: #0f766e; text-underline-offset: 3px; }
.crumbs { font-size: 14px; color: var(--ink3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--ink2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { opacity: .5; }
.art-meta { font-size: 14.5px; color: var(--ink3); margin: 0 0 22px; }
.art-hero { margin: 0 0 28px; border-radius: 16px; overflow: hidden; background: #dfe5e8; }
.art-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.short-answer { background: #fff; border: 1px solid var(--hair); border-left: 4px solid var(--acc2); border-radius: 12px; padding: 18px 22px 6px; margin: 0 0 8px; }
.short-answer h2 { font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: #0f766e; margin: 0 0 8px; }
html[lang="ko"] .short-answer h2 { text-transform: none; font-size: 15px; }
.short-answer p { font-size: 18px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; padding: 14px 16px; background: #fff; border: 1px solid var(--hair); border-radius: 12px; font-size: 15px; }
.jump strong { width: 100%; font-size: 13.5px; color: var(--ink3); }
.tbl-wrap { overflow-x: auto; margin: 18px 0 22px; border: 1px solid var(--hair); border-radius: 12px; background: #fff; }
.art table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 520px; }
.art caption { text-align: left; padding: 12px 16px; font-weight: 700; font-size: 15px; color: var(--ink2); }
.art th, .art td { text-align: left; padding: 11px 16px; border-top: 1px solid var(--hair); vertical-align: top; }
.art th { background: #f0f4f5; font-size: 13.5px; color: var(--ink2); }
.art tr.is-closed td { color: var(--ink3); text-decoration: line-through; }
.art tr.is-closed td.dl { text-decoration: none; font-weight: 700; color: #b45309; }
.confirm { margin: 36px 0 0; padding: 18px 22px 8px; border-radius: 12px; background: #fff7e6; border: 1px solid #f4d9a6; }
.confirm h2 { margin: 0 0 8px; font-size: 18px; }
.faq details { background: #fff; border: 1px solid var(--hair); border-radius: 12px; padding: 0; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; line-height: 1.45; padding: 14px 18px; min-height: 48px; display: flex; align-items: center; }
.faq details p { margin: 0; padding: 2px 18px 16px; }
.sources ol { font-size: 15px; }
.sources li { margin: 10px 0; font-size: 15px; }
.sources .q, .sources .acc { display: block; color: var(--ink3); font-size: 14px; line-height: 1.5; }
.sources .q::before { content: "“"; } .sources .q::after { content: "”"; }
.cta-card { margin: 44px 0 8px; padding: 26px 28px; border-radius: 16px; background: linear-gradient(135deg, #06201f, #0b3b3a); color: #eafffb; }
.cta-card h2 { margin: 0 0 8px; color: #fff; font-size: 22px; }
.cta-card p { color: #c9ece6; margin: 0 0 16px; }
.cta-card.soon p { margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-card .btn { background: #fff; color: var(--ink); text-decoration: none; }
.soon-pill { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14.5px; color: #d6f4ee; }
.related { margin-top: 40px; }
.rel-grid, .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rel-card, .g-card { display: block; background: #fff; border: 1px solid var(--hair); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink) !important; transition: border-color .2s, transform .2s; }
.rel-card:hover, .g-card:hover { border-color: var(--acc2); transform: translateY(-2px); }
.rel-card span, .g-card h3 { display: block; font-weight: 700; font-size: 17px; line-height: 1.35; margin: 0 0 6px; }
.g-card p { font-size: 15px; line-height: 1.55; margin: 0 0 8px; color: var(--ink2); }
.rel-card small, .g-card small { color: var(--ink3); font-size: 13px; line-height: 1.4; display: block; }
.lead-p { font-size: 19px !important; }
.pillar-h2 a { color: inherit; text-decoration: none; }
.back { margin-top: 32px; }
.art-wrap + .note, .art-wrap ~ .note { margin-top: 0; }
@media (max-width: 640px) { .art-wrap { padding-top: 92px; } .art p, .art li { font-size: 17px; } }
/* 동의 배너 */
.pp-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-inline: auto; background: #0c1217; color: #e6edf0; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 14.5px; line-height: 1.55; box-shadow: 0 20px 60px -20px rgba(0,0,0,.6); }
.pp-consent p { margin: 0 0 12px; }
.pp-consent .row { display: flex; gap: 10px; }
.pp-consent button { flex: 1; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.pp-consent button.ok { background: #fff; color: var(--ink); border-color: #fff; }


/* ---- 1차 검수 ---- */
.crumbs a, .jump a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crumbs { gap: 2px 8px; }
.jump { gap: 0 20px; }
@media (max-width: 640px) {
  /* 가로 스크롤이 필요한 520px 표를 카드형으로 쌓는다: 첫 칸이 제목, 나머지는 「이름: 값」 */
  .tbl-wrap { overflow: visible; }
  .art table { min-width: 0; font-size: 15.5px; }
  .art thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .art table, .art tbody, .art tr, .art td { display: block; width: 100%; }
  .art caption { display: block; width: 100%; padding: 14px 16px 6px; }
  .art tr { padding: 14px 16px; border-top: 1px solid var(--hair); }
  .art tbody tr:first-child { border-top: 0; }
  .art td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 3px 0; border: 0; text-align: right; }
  .art td::before { content: attr(data-label); flex: none; max-width: 46%; font-size: 13px; font-weight: 700; color: var(--ink3); text-align: left; }
  .art td:first-child { display: block; padding-bottom: 6px; font-weight: 700; text-align: left; }
  .art td:first-child::before { display: none; }
  .art tr.is-closed td { text-decoration: none; }
  .art tr.is-closed td:first-child { text-decoration: line-through; }
}

.back a, .pillar-h2 a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.sources li { margin: 14px 0; }
.rel-card, .g-card { min-height: 44px; }
/* FAQ 펼침 표시: flex 로 바꾸면 기본 삼각형이 사라지므로 홈 FAQ 와 같은 +/− 로 맞춘다 */
.faq summary { list-style: none; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-size: 20px; font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; background: #d6faf3; }

/* 홈의 .faq(흰 배경, 위아래 120px, 위 테두리)와 이름이 같아 글 안에서 흰 띠가 생기던 것 */
.art .faq { margin-top: 44px; padding: 0; background: transparent; color: inherit; border-top: 0; }
.art .faq h2 { margin-top: 0; }
.cta-row .btn { justify-content: center; }
@media (max-width: 640px) { .cta-row { flex-direction: column; align-items: stretch; } .soon-pill { text-align: center; } }

/* 블로그형 도입·마무리 */
.art-intro { font-size: 19px; line-height: 1.75; color: #1d2630; margin: 0 0 18px; }
.art-intro:first-of-type { margin-top: 8px; }
.art-outro { margin: 36px 0 8px; padding: 22px 24px; background: #fff; border: 1px solid var(--hair); border-radius: 14px; }
.art-outro p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .art-intro { font-size: 18px; } .art-outro { padding: 18px; } }
