:root{--red:#1F5FBF;--ink:#151515;--sub:#777;--line:#ececec;--bg:#fff}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Noto Sans KR',-apple-system,sans-serif;color:var(--ink);background:var(--bg);line-height:1.7;word-break:keep-all}
a{color:inherit;text-decoration:none}
.wrap{max-width:860px;margin:0 auto;padding:0 20px}
/* header — 로고(마크+워드마크) 왼쪽 · 카테고리 오른쪽 (2026-10-20 토픽트리 실측 반영) */
.site-head{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:50}
.bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px}
.logo{display:flex;align-items:center;gap:8px;font-size:23px;font-weight:900;letter-spacing:-.5px;white-space:nowrap;line-height:1}
.logo .mark{flex:none}
.logo em,.flogo em{font-style:normal;color:var(--red)}
.tabs{display:flex;gap:2px;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
.tabs a{font-size:15px;font-weight:700;color:#444;padding:8px 12px;border-radius:8px}
.tabs a.on{color:var(--red)}
@media(max-width:600px){.bar{flex-wrap:wrap;padding:12px 0 2px}.tabs{width:100%;margin-left:-10px}}
/* home feed — 최신 5편 큰 카드 (16:9 사진 · 카테고리 칩 · 제목 · 날짜) */
.feed{display:flex;flex-direction:column;gap:30px;padding:22px 0 8px}
.big > a{display:block;position:relative;border-radius:12px;overflow:hidden;aspect-ratio:16/9;background:#eee}
.big img{width:100%;height:100%;object-fit:cover;display:block}
.chip{position:absolute;left:14px;bottom:14px;background:var(--red);color:#fff;font-size:12px;font-weight:700;padding:3px 10px;border-radius:4px}
.big .tx{padding:12px 2px 0}
.big h3{font-size:21px;font-weight:800;line-height:1.4}
.big time,.gcard time,.row time{display:block;font-size:12.5px;color:var(--sub);margin-top:6px}
/* category sections — 그리드 4 + 행 6 */
.catsec{margin-top:36px;padding-top:22px;border-top:1px solid var(--line)}
.catsec h2{font-size:21px;font-weight:900;margin-bottom:14px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}
.gcard .th{display:block;aspect-ratio:16/9;border-radius:10px;background-size:cover;background-position:center;background-color:#eee;margin-bottom:10px}
.gcard h3{font-size:16px;font-weight:700;line-height:1.45}
.rows{margin-top:12px}
.row{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.row .tx{flex:1}
.row strong{display:block;font-size:16px;font-weight:700;line-height:1.45}
.row .th{flex:none;width:120px;height:72px;border-radius:8px;background-size:cover;background-position:center;background-color:#eee}
.cat-title{font-size:24px;font-weight:900;margin:24px 0 16px}
.empty{padding:40px 0;color:var(--sub)}
/* article — 빵부스러기 · 제목 · 에디터/입력일 · 대표사진+캡션 · 핵심 사항 · 본문 */
.article{padding-top:18px}
.crumb{font-size:13px;color:var(--sub);margin-bottom:14px}
.crumb span{margin:0 6px}
article h1{font-size:27px;font-weight:900;line-height:1.4;margin:0 0 10px}
.art-meta{font-size:13.5px;color:var(--sub);padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:18px}
.art-hero{margin:0 0 18px}
.art-hero img,article img{width:100%;height:auto;border-radius:10px;display:block}
figcaption,.img-credit{font-size:12.5px;color:#888;margin:6px 0 16px}
.keys{background:#F6F7F9;border-radius:10px;padding:16px 18px 8px;margin:18px 0 26px}
.keys h2{font-size:16px;font-weight:900;margin:0 0 8px}
.keys ul{margin:0 0 8px 18px;font-size:15px}
.keys li{margin:6px 0}
article p{margin:16px 0;font-size:16.5px}
article h2{font-size:21px;font-weight:900;margin:34px 0 10px}
article h3{font-size:18px;font-weight:800;margin:24px 0 8px}
article ul,article ol{margin:14px 0 14px 22px;font-size:16px}
article li{margin:6px 0}
article img{margin:22px 0 0}
article table{border-collapse:collapse;width:100%;margin:18px 0;font-size:14.5px}
article th,article td{border:1px solid #ddd;padding:9px 11px;text-align:left}
article th{background:#f7f7f7;font-weight:700}
@media(max-width:600px){article th,article td{padding:8px 7px;overflow-wrap:anywhere}}
article strong{font-weight:700}
article .note{font-size:13px;color:#999;border-top:1px solid var(--line);padding-top:14px;margin-top:26px;line-height:1.7}
article .quote{background:#FFF5F6;border-left:4px solid var(--red);padding:14px 16px;border-radius:0 10px 10px 0;margin:18px 0;font-size:15.5px}
.src{font-size:12.5px;color:#8a8a8a;border-top:1px dashed var(--line);padding-top:12px;margin-top:28px;line-height:1.6}
.also{font-size:14px;background:#F6F7F9;border-radius:10px;padding:12px 14px;margin:26px 0 6px;line-height:1.7}
.also a{font-weight:700;color:var(--red)}
.also a:hover{text-decoration:underline}
/* related — 2열 6개 */
.related{margin:40px 0 20px;padding-top:22px;border-top:1px solid var(--line)}
.related h2{font-size:19px;font-weight:900;margin-bottom:14px}
.related .gcard h3{font-size:15px}
/* footer */
.site-foot{border-top:1px solid var(--line);margin-top:40px;padding:28px 0 40px;color:var(--sub);font-size:13px}
.flogo{font-size:20px;font-weight:900;color:var(--ink)}
.tagline{font-size:12.5px;color:var(--sub)}
.site-foot p{margin:8px 0}
.site-foot nav{margin:10px 0}
.site-foot nav a{color:#666;font-weight:700}
.copy{font-size:12px;color:#bbb}
/* tools — 계산기 (2026-10-21) */
.calc{background:#F6F7F9;border-radius:12px;padding:18px;margin:22px 0 14px;display:grid;gap:12px}
.calc-row label{display:block;font-size:14px;font-weight:700;margin-bottom:5px}
.calc input[type=number],.calc select{width:100%;font:inherit;font-size:16px;padding:10px 12px;border:1px solid #d6d6d6;border-radius:8px;background:#fff}
.calc-check label{font-weight:500;display:flex;gap:8px;align-items:center}
.calc-out{border:2px solid var(--ink);border-radius:12px;padding:16px 18px;margin:0 0 30px}
.calc-out table{margin:10px 0 6px}
.calc-out th{width:46%;text-align:left}
.calc-big{font-size:22px;font-weight:900;margin:0 0 4px}
.calc-note{font-size:14px;color:#555}
.calc-warn{color:var(--red);font-weight:700;font-size:15px;margin-top:8px}
/* home·hub 계산기 카드 (2026-10-26 자동차 단일 주제 전환) */
.tools{margin:22px 0 8px}
.tools h2{font-size:20px;font-weight:900;margin-bottom:12px}
.tgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tcard{display:block;border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:#fff}
.tcard strong{display:block;font-size:16px;font-weight:800;line-height:1.4;margin-bottom:4px}
.tcard span{display:block;font-size:13.5px;color:var(--sub);line-height:1.5}
.tcard:hover{border-color:var(--red)}
@media(max-width:600px){.tgrid{grid-template-columns:1fr}}

/* money hub additions */
.toolbox{margin:28px 0;padding:18px 20px;border:1px solid #d6e2f5;background:#f3f7fd;border-radius:12px;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
.toolbox strong{font-size:15px}.toolbox a{font-weight:700;color:#1F5FBF}
.qalist{margin:32px 0}.qalist h2{font-size:20px;margin-bottom:10px}.qalist ul{padding-left:18px}.qalist li{margin:6px 0;line-height:1.5}
.calc-out .big{font-size:26px;font-weight:900;color:#1F5FBF}.calc-out table td:last-child{text-align:right;white-space:nowrap}
.calc-out .warn{color:#b42318;font-weight:700}.calc-note{font-size:14px;color:#555;margin-top:8px}
.calc-row .help{display:block;font-size:13px;color:#667085;margin-top:4px}
