/*
Theme Name: 통신 상담 노트
Version: 1.0.0
Description: 근거와 독자 질문을 중심으로 구성한 통신 정보 사이트
*/
/* Preserve the existing writer's article cards when importing Tistory posts. */
.tistory-migrated .post-card{background:#fff;border:1px solid #dce4e9;border-radius:16px;margin:24px 0;overflow:hidden}
.reader .tistory-migrated .post-card h2{font-size:24px;color:#1e3a8a;margin:0;padding:18px 22px;background:#eff6ff;border-bottom:1px solid #dce4e9}
.tistory-migrated .card-body{padding:20px 22px}
.reader .tistory-migrated .card-body p:first-child{margin-top:0}
.reader .tistory-migrated .card-body p:last-child{margin-bottom:0}
.tistory-migrated .summary-card{background:#eff6ff;border-left:4px solid #3b82f6;border-radius:8px;padding:14px 16px;margin-top:16px;color:#1e40af}
.reader .tistory-migrated .faq-card h2{background:#f5f3ff;color:#5b21b6}
.tistory-migrated .faq-q{color:#5b21b6}
.tistory-migrated figure{margin:24px 0;text-align:center}
.tistory-migrated figcaption{font-size:14px;color:#536576}
.tistory-migrated img{display:block;max-width:100%;height:auto;margin:auto}
:root{--ink:#182c3e;--muted:#536576;--line:#dce4e9;--paper:#f7f9fa;--blue:#2459d3;--mint:#e2f3eb;font-family:system-ui,-apple-system,'Malgun Gothic',sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #df9400;outline-offset:4px}header{background:white;border-bottom:1px solid var(--line)}.bar{max-width:1120px;margin:auto;padding:24px;display:flex;gap:24px;align-items:center;justify-content:space-between}.brand{font-size:22px;font-weight:800;color:var(--ink);text-decoration:none}.bar nav{display:flex;gap:24px;flex-wrap:wrap}.bar nav a{padding:12px 0;color:var(--ink)}main{max-width:1120px;margin:auto;padding:48px 24px 72px}.hero{padding:32px 0 48px;border-bottom:1px solid var(--line);margin-bottom:40px}.eyebrow{color:#326958;font-weight:700;font-size:14px;letter-spacing:1px}.hero h1{font-size:clamp(30px,5vw,48px);line-height:1.3;max-width:750px;margin:16px 0}.hero p{color:var(--muted);font-size:18px;line-height:1.8;max-width:690px}.search{display:flex;gap:8px;max-width:560px;margin-top:24px}input{min-width:0;flex:1;border:1px solid #8899a6;border-radius:8px;padding:14px;font:inherit}button{border:0;background:var(--blue);color:white;border-radius:8px;font:inherit;font-weight:700;padding:14px 22px;cursor:pointer}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:28px;overflow-wrap:anywhere}.card h2{font-size:23px;line-height:1.5;margin:12px 0}.card h2 a{color:var(--ink);text-decoration:none}.card p{font-size:17px;line-height:1.8;color:var(--muted)}.meta{font-size:14px;color:var(--muted)}.reader{max-width:740px;margin:auto}.reader h1{font-size:clamp(30px,4vw,42px);line-height:1.4}.reader .body{font-size:18px;line-height:1.95;overflow-wrap:anywhere}.reader h2{font-size:27px;margin-top:48px;line-height:1.5;scroll-margin-top:20px}.reader h3{font-size:22px;margin-top:32px;line-height:1.5}.reader p{margin:20px 0}.reader img{max-width:100%;height:auto}.reader table{display:block;overflow:auto;border-collapse:collapse;max-width:100%}.reader td,.reader th{border:1px solid var(--line);padding:12px}.summary,.toc{padding:24px;border-radius:12px;background:var(--mint);line-height:1.85;margin:24px 0}.toc{background:white;border:1px solid var(--line)}.toc li{margin:6px 0}.empty{border:1px dashed #a4b8c6;padding:36px;border-radius:12px;line-height:1.8}.breadcrumb{font-size:14px;margin-bottom:28px}footer{border-top:1px solid var(--line);padding:32px 24px;background:white}footer .inner{max-width:1120px;margin:auto;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}footer nav{display:flex;gap:20px;flex-wrap:wrap}.pagination{margin:32px 0}.skip{position:absolute;top:-80px;left:12px;background:white;padding:14px;z-index:99}.skip:focus{top:10px}@media(max-width:640px){.bar{align-items:flex-start;flex-direction:column;gap:8px;padding:16px 20px}.bar nav{gap:20px}main{padding:28px 20px 48px}.hero{padding:16px 0 30px}.grid{grid-template-columns:1fr}.card{padding:22px}.reader .body{font-size:18px}.summary,.toc{padding:20px}footer .inner{flex-direction:column}}
