/* =========================================================
   모든 테마 공통 컴포넌트 (빌드 시 각 테마 theme.css 앞에 합쳐짐)
   blog.js 가 사용하는 상태 클래스와 검색 레이어만 정의합니다.
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: #111; color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.is-hidden { display: none !important; }
.dd { position: relative; }
.dd-panel { display: none; }
.dd.is-open .dd-panel { display: block; }
.m-nav { display: none; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 검색 레이어 */
.search-layer { position: fixed; inset: 0; z-index: 200; background: rgba(15, 18, 22, .5); display: none; padding: 10vh 16px; }
.search-layer.is-open { display: block; }
.search-box { max-width: 680px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.search-box input { width: 100%; border: 0; border-bottom: 2px solid var(--brand); font: inherit; font-size: 20px; padding: 8px 4px 12px; outline: none; background: transparent; }
.search-results { margin-top: 12px; max-height: 56vh; overflow-y: auto; }
.search-results a { display: block; padding: 12px 6px; border-bottom: 1px solid #eceef0; font-size: 15px; color: #1b1e22; }
.search-results a:hover { color: var(--brand); }
.search-results small { display: block; color: #8a9097; font-size: 12px; margin-top: 2px; }
.search-empty { color: #8a9097; padding: 16px 6px; font-size: 14px; }

/* =========================================================
   Theme: answer — 질문-답변 지식 허브 (클로드 제안)
   따뜻한 종이색 배경 · 얇은 괘선 · 번호 섹션 · 팩트 시트 · 3단 글 레이아웃
   ========================================================= */
:root {
  --brand: #0e6b6f; --brand-ink: #0a4f52; --brand-soft: #e7f3f2;
  --ink: #1a1a17; --ink-2: #4a4944; --ink-3: #85837b; --rule: #e6e2d8; --paper: #fbfaf7; --card: #ffffff; --tint: #f3f1ea;
  --wrap: 1680px; --gutter: clamp(16px, 3.2vw, 48px);
}
body { font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif; color: var(--ink); background: var(--paper); font-size: 16.5px; line-height: 1.7; letter-spacing: -0.015em; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 공통 ---------- */
.a-kicker { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: .02em; }
.a-lead { margin: 0; font-size: clamp(17px, 1.2vw, 19px); color: var(--ink-2); max-width: 760px; }
.a-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; border: 1px solid var(--ink); }
.a-btn:hover { background: var(--brand); border-color: var(--brand); }
.a-btn.line { background: transparent; color: var(--ink); border-color: var(--rule); }
.a-btn.line:hover { border-color: var(--ink); background: transparent; }
.a-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.a-more { font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.a-arrow { display: inline-block; transition: transform .2s; }
.a-more:hover .a-arrow { transform: translateX(3px); }
.a-card { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: clamp(20px, 2vw, 32px); }
.a-card.flat { border-radius: 14px; }
.a-card h2, .a-card h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: -0.03em; }
.a-q, .a-a { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-weight: 800; font-size: 15px; }
.a-q { background: var(--ink); color: #fff; }
.a-a { background: var(--brand); color: #fff; }
.a-q.sm, .a-faq .a-a { width: 24px; height: 24px; font-size: 12px; border-radius: 7px; margin-right: 10px; vertical-align: 2px; }

/* ---------- 헤더 ---------- */
.a-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.a-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.a-logo { display: flex; align-items: center; gap: 10px; }
.a-logo span { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.a-logo b { font-size: 18px; letter-spacing: -0.04em; }
.a-logo em { font-style: normal; font-size: 13px; color: var(--ink-3); padding-left: 10px; border-left: 1px solid var(--rule); }
.a-logo.light em { border-color: #444; }
.a-gnb { display: flex; gap: 4px; }
.a-gnb > a, .a-gnb .dd > button { padding: 8px 12px; border: 0; background: none; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.a-gnb > a:hover, .a-gnb .dd > button:hover { background: var(--tint); color: var(--ink); }
.a-gnb .dd-panel { position: absolute; top: calc(100% + 10px); left: 0; width: 360px; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(26, 26, 23, .1); }
.a-gnb .dd-panel a { display: block; padding: 10px 12px; border-radius: 10px; }
.a-gnb .dd-panel a:hover { background: var(--tint); }
.a-gnb .dd-panel b { display: block; font-size: 15px; }
.a-gnb .dd-panel span { font-size: 13px; color: var(--ink-3); }
.a-hsearch { margin-left: auto; display: flex; align-items: center; gap: 10px; width: min(360px, 30vw); height: 42px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); color: var(--ink-3); font-size: 14px; text-align: left; }
.a-hsearch span { flex: 1; }
.a-hsearch kbd { font: inherit; font-size: 12px; border: 1px solid var(--rule); border-radius: 5px; padding: 0 6px; }
.a-hsearch:hover { border-color: var(--ink-3); }
.a-menu { display: none; width: 42px; height: 42px; border: 0; background: none; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.a-menu span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- 히어로 ---------- */
.a-hero { padding: clamp(40px, 5vw, 96px) 0 clamp(32px, 3vw, 56px); }
.a-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.a-hero h1 { margin: 0 0 16px; font-size: clamp(34px, 3.8vw, 64px); line-height: 1.18; letter-spacing: -0.055em; font-weight: 800; }
.a-bigsearch { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 820px; margin-top: 32px; height: 64px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); color: var(--ink-3); font-size: clamp(15px, 1.1vw, 18px); text-align: left; box-shadow: 6px 6px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.a-bigsearch svg { color: var(--ink); flex: none; }
.a-bigsearch:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--brand); }
.a-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; }
.a-chips span { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.a-chips a { padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font-size: 14px; color: var(--ink-2); }
.a-chips a:hover { border-color: var(--ink); color: var(--ink); }

/* 팩트 시트 */
.a-facts { margin: 0; }
.a-facts div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--rule); font-size: 15px; }
.a-facts div:last-child { border-bottom: 0; }
.a-facts dt { color: var(--ink-3); font-weight: 600; }
.a-facts dd { margin: 0; font-weight: 600; }
.a-facts small { display: block; color: var(--ink-3); font-weight: 400; font-size: 13px; }

/* 신뢰 지표 */
.a-trust { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--card); }
.a-trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.a-trust div { padding: 26px 24px; border-left: 1px solid var(--rule); }
.a-trust div:first-child { border-left: 0; padding-left: 0; }
.a-trust b { display: block; font-size: clamp(22px, 1.8vw, 30px); letter-spacing: -0.04em; }
.a-trust span { font-size: 14px; color: var(--ink-3); }

/* ---------- 섹션 ---------- */
.a-sec { padding: clamp(56px, 6vw, 112px) 0; }
.a-sec.alt { background: var(--tint); }
.a-shead { display: flex; align-items: flex-end; gap: 20px; margin-bottom: clamp(24px, 2.6vw, 44px); padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.a-num { font-size: 15px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; padding-bottom: 6px; }
.a-shead h2 { margin: 0; font-size: clamp(26px, 2.2vw, 40px); line-height: 1.2; letter-spacing: -0.05em; }
.a-shead p { margin: 8px 0 0; color: var(--ink-2); }
.a-shead .a-more { margin-left: auto; padding-bottom: 6px; }
.a-subhead { margin: 56px 0 18px; font-size: 22px; letter-spacing: -0.04em; }
.a-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 56px); align-items: start; }
.a-two > .a-shead { grid-column: 1 / -1; }

/* 주제 허브 */
.a-topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.a-topic { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; }
.a-topic h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.04em; }
.a-topic h3 a:hover { color: var(--brand); }
.a-topic > p { margin: 0 0 16px; font-size: 14px; color: var(--ink-3); }
.a-topic ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.a-topic li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 14.5px; line-height: 1.5; }
.a-topic li a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Q&A 목록 */
.a-qas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 56px); }
.a-qas.one { grid-template-columns: 1fr; }
.a-qa a { display: flex; gap: 18px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.a-qa > a > div { flex: 1; min-width: 0; }
.a-qa h3 { margin: 2px 0 8px; font-size: clamp(18px, 1.3vw, 21px); line-height: 1.4; letter-spacing: -0.035em; }
.a-qa a:hover h3 { color: var(--brand); }
.a-qa p { margin: 0 0 8px; color: var(--ink-2); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-meta { font-size: 13px; color: var(--ink-3); }
.a-qthumb { flex: none; width: 150px; border-radius: 12px; overflow: hidden; }
.a-qthumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.a-loadmore { display: flex; justify-content: center; margin-top: 32px; }

/* FAQ */
.a-faq details { border-bottom: 1px solid var(--rule); }
.a-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; letter-spacing: -0.03em; }
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq details[open] summary { color: var(--brand); }
.a-faq details p { margin: 0 0 20px; padding: 18px 20px; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; color: var(--ink-2); }

/* 의료진 · 원칙 */
.a-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.a-doc { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; }
.a-av { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.a-doc .a-av { margin-bottom: 16px; }
.a-doc h3 { margin: 0; font-size: 20px; }
.a-role { margin: 2px 0 10px; color: var(--brand); font-weight: 700; font-size: 14px; }
.a-doc p:not(.a-role) { margin: 0; color: var(--ink-2); font-size: 15px; }
.a-doc ul, .a-creds { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.a-doc li, .a-creds li { font-size: 12.5px; padding: 3px 9px; border-radius: 6px; background: var(--tint); color: var(--ink-2); }
.a-vals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.a-vals li { padding: 22px 22px 6px 0; }
.a-vals span { font-size: 13px; font-weight: 800; color: var(--brand); }
.a-vals b { display: block; font-size: 19px; margin: 4px 0; }
.a-vals p { margin: 0; color: var(--ink-2); font-size: 15px; }
.a-policy { list-style: none; margin: 0; padding: 0; }
.a-policy li { padding: 14px 0; border-bottom: 1px dashed var(--rule); color: var(--ink-2); font-size: 15px; }
.a-policy li:last-child { border-bottom: 0; }
.a-policy b { display: block; color: var(--ink); font-size: 16px; }

/* ---------- 글 상세 (3단) ---------- */
.a-crumb { display: flex; gap: 8px; flex-wrap: wrap; padding: 24px 0 0; font-size: 14px; color: var(--ink-3); }
.a-crumb a:hover { color: var(--ink); }
.a-post-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr) 340px; gap: clamp(28px, 3vw, 64px); padding-top: 28px; align-items: start; }
.a-toc { position: sticky; top: 92px; font-size: 14px; }
.a-toc p { margin: 0 0 10px; font-weight: 800; font-size: 13px; color: var(--ink-3); letter-spacing: .04em; }
.a-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.a-toc a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); line-height: 1.45; }
.a-toc a:hover { color: var(--ink); }
.a-toc a.is-active { border-left-color: var(--brand); color: var(--brand); font-weight: 700; }
.a-toc-m { display: none; }
.a-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 6px; }
.a-article h1 { margin: 14px 0 20px; font-size: clamp(30px, 2.6vw, 46px); line-height: 1.25; letter-spacing: -0.05em; }
.a-byline { list-style: none; margin: 0 0 28px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--ink-2); }
.a-byline span { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.a-answer { padding: clamp(22px, 2vw, 32px); border-radius: 16px; background: var(--ink); color: #fff; }
.a-answer h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; letter-spacing: .02em; }
.a-answer .a-a { width: 26px; height: 26px; font-size: 13px; }
.a-answer p { margin: 0; font-size: clamp(18px, 1.3vw, 21px); line-height: 1.65; font-weight: 600; }
.a-keys { margin-top: 16px; padding: 22px 26px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.a-keys h2 { margin: 0 0 10px; font-size: 15px; color: var(--ink-3); }
.a-keys ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.a-keys li { padding-left: 22px; position: relative; font-size: 15.5px; }
.a-keys li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.a-cover { margin: 32px 0 0; }
.a-cover img { border-radius: 16px; aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }
.a-cover figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.a-content { font-size: 18px; line-height: 1.85; margin-top: 36px; }
.a-content p { margin: 0 0 1.35em; }
.a-content h2 { margin: 2em 0 .7em; font-size: clamp(22px, 1.7vw, 28px); letter-spacing: -0.045em; line-height: 1.35; scroll-margin-top: 96px; }
.a-content h2::before { content: "Q. "; color: var(--brand); }
.a-content strong { box-shadow: inset 0 -0.5em 0 var(--brand-soft); }
.a-content blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brand); font-size: 19px; color: var(--ink-2); }
.a-content figure { margin: 2em 0; }
.a-content img { border-radius: 14px; }
.a-content figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.a-content .table-wrap { margin: 2em 0; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); }
.a-content table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15.5px; }
.a-content caption { text-align: left; padding: 14px 18px 0; font-weight: 700; font-size: 14px; color: var(--ink-3); }
.a-content th, .a-content td { padding: 12px 18px; border-bottom: 1px solid var(--rule); text-align: left; }
.a-content thead th { font-size: 13.5px; color: var(--ink-3); }
.a-content tbody tr:last-child > * { border-bottom: 0; }
.a-pfaq, .a-sources, .a-process { margin-top: 56px; }
.a-pfaq h2, .a-sources h2, .a-process h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.04em; }
.a-sources ol { margin: 0; padding-left: 1.3em; color: var(--ink-2); font-size: 15px; }
.a-process { padding: 22px 26px; border-radius: 14px; background: var(--tint); }
.a-process h2 { font-size: 16px; }
.a-process p { margin: 0; color: var(--ink-2); font-size: 15px; }
.a-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.a-tags a { font-size: 14px; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--rule); border-radius: 8px; }
.a-tags a:hover { border-color: var(--ink); }
.a-notice { font-size: 13px; color: var(--ink-3); }
.a-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.a-pn a { padding: 18px 20px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); font-weight: 700; line-height: 1.45; }
.a-pn a:hover { border-color: var(--ink); }
.a-pn a[rel="next"] { text-align: right; }
.a-pn small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.a-side { position: sticky; top: 92px; display: grid; gap: 16px; }
.a-side-label { margin: 0 0 12px; font-size: 13px; font-weight: 800; color: var(--ink-3); letter-spacing: .04em; }
.a-sdoc { display: flex; gap: 12px; align-items: center; }
.a-sdoc b { display: block; font-size: 17px; }
.a-sdoc span { font-size: 13px; color: var(--brand); font-weight: 600; }
.a-sdesc { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-2); }
.a-side .a-facts div { grid-template-columns: 56px 1fr; font-size: 14px; }
.a-side .a-btn { flex: 1 1 auto; height: 42px; font-size: 14px; padding: 0 14px; }
.a-relq { list-style: none; margin: 0; padding: 0; }
.a-relq li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 14.5px; line-height: 1.5; }
.a-relq li:first-child { border-top: 0; padding-top: 0; }
.a-relq a:hover { color: var(--brand); }
.a-post-wrap .a-sec { padding-bottom: 0; }

/* ---------- 카테고리 (필러) ---------- */
.a-pillar { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 80px); align-items: start; padding: 32px 0 clamp(32px, 3vw, 56px); border-bottom: 2px solid var(--ink); }
.a-pillar h1 { margin: 0 0 14px; font-size: clamp(34px, 3.4vw, 58px); letter-spacing: -0.055em; line-height: 1.15; }
.a-topq { list-style: none; margin: 0; padding: 0; }
.a-topq a { display: flex; gap: 14px; padding: 11px 0; border-top: 1px solid var(--rule); font-weight: 600; font-size: 15px; line-height: 1.45; }
.a-topq li:first-child a { border-top: 0; }
.a-topq span { color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }
.a-topq a:hover { color: var(--brand); }
.a-cat-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 80px); align-items: start; padding-bottom: 40px; }
.a-cat-grid .a-subhead { margin-top: 32px; }
.a-cat-grid .a-side { top: 92px; margin-top: 32px; }
.a-others { list-style: none; margin: 0; padding: 0; }
.a-others a { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--rule); font-weight: 600; }
.a-others li:first-child a { border-top: 0; }
.a-others a[aria-current] { color: var(--brand); }
.a-others span { color: var(--ink-3); font-weight: 400; font-size: 14px; }

/* ---------- 푸터 ---------- */
.a-footer { margin-top: clamp(56px, 6vw, 112px); background: var(--ink); color: #b9b7af; font-size: 14px; }
.a-fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.a-footer .a-logo b { color: #fff; }
.a-fdesc { margin: 16px 0; max-width: 560px; }
.a-footer address { font-style: normal; line-height: 1.9; }
.a-footer h2 { margin: 0 0 12px; font-size: 14px; color: #fff; }
.a-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.a-footer a:hover { color: #fff; }
.a-fbottom { border-top: 1px solid #33332f; padding-top: 20px; padding-bottom: 32px; font-size: 12.5px; }
.a-fbottom p { margin: 4px 0; }
.a-sign { letter-spacing: .08em; }
.a-sign b { color: #fff; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1440px) {
  .a-topics { grid-template-columns: repeat(3, 1fr); }
  .a-post-grid { grid-template-columns: 220px minmax(0, 1fr) 300px; }
}
@media (max-width: 1200px) {
  .a-post-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .a-toc { display: none; }
  .a-toc-m { display: block; margin-top: 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); padding: 14px 20px; }
  .a-toc-m summary { cursor: pointer; font-weight: 700; }
  .a-toc-m ol { margin: 10px 0 0; padding-left: 1.2em; line-height: 2; }
  .a-docs { grid-template-columns: repeat(2, 1fr); }
  .a-vals { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .a-gnb { display: none; }
  .a-menu { display: flex; }
  .a-hsearch { width: auto; flex: 1; max-width: 360px; }
  .a-hsearch kbd { display: none; }
  .m-nav.is-open { display: block; position: fixed; inset: 68px 0 0; z-index: 49; background: var(--paper); padding: 8px var(--gutter) 40px; overflow-y: auto; }
  .m-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 700; }
  .a-hero-grid, .a-two, .a-pillar, .a-cat-grid { grid-template-columns: minmax(0, 1fr); }
  .a-post-grid { grid-template-columns: minmax(0, 1fr); }
  .a-side, .a-cat-grid .a-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .a-trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .a-trust div:nth-child(3) { border-left: 0; padding-left: 0; }
  .a-trust div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .a-qas { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .a-header .wrap { gap: 12px; }
  .a-logo em { display: none; }
  .a-hsearch span { display: none; }
  .a-hsearch { flex: none; width: 42px; padding: 0; justify-content: center; margin-left: auto; }
  .a-bigsearch { height: 56px; box-shadow: 4px 4px 0 var(--ink); }
  .a-topics, .a-docs, .a-vals { grid-template-columns: 1fr; }
  .a-side, .a-cat-grid .a-side { grid-template-columns: 1fr; }
  .a-shead { flex-wrap: wrap; }
  .a-shead .a-more { margin-left: 0; }
  .a-qa a { gap: 12px; }
  .a-qa .a-q { width: 26px; height: 26px; font-size: 12px; }
  .a-qthumb { display: none; }
  .a-keys ul { grid-template-columns: 1fr; }
  .a-content { font-size: 17px; }
  .a-cover img { aspect-ratio: 16 / 10; }
  .a-pn { grid-template-columns: 1fr; }
  .a-pn a[rel="next"] { text-align: left; }
  .a-fgrid { grid-template-columns: 1fr; }
  .a-trust div { padding: 18px 12px 18px 0; }
}

/* =========================================================
   생성기 전용 보조 스타일 (모든 테마 공통, theme.css 뒤에 합쳐짐)
   시안에는 없던 실제 데이터용 요소(사진 아바타, 핵심 포인트, 빈 목록 등)
   ========================================================= */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.key-points { margin: 12px 0 0; padding-left: 1.2em; }
.key-points li { margin: 4px 0; }
.empty-list { padding: 48px 0; text-align: center; color: #8a9097; }
.notfound { padding: 96px 0; text-align: center; }
.notfound h1 { margin: 0 0 12px; }
.notfound p { margin: 0 0 24px; color: #5b6168; }
.t-avatar, .p-dav, .a-av { overflow: hidden; }
.t-avatar img, .p-dav img, .a-av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.t-logo img, .a-logo img, .p-wlogo img { height: 30px; width: auto; }
.ola-link { color: inherit; text-decoration: none; }
.ola-link:hover { text-decoration: underline; }
