*{margin:0;padding:0;box-sizing:border-box}
:root{--ink:#15171c;--red:#c8102e;--red2:#a10d25;--gray:#6b7280;--soft:#f5f6f7;--line:#e5e7eb;--bg:#fff}
html{-webkit-text-size-adjust:100%}
body{font-family:'Noto Sans KR',system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);line-height:1.7;font-size:16px;word-break:keep-all}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.serif{font-family:'Noto Serif KR',serif}
/* top bar */
.topbar{background:var(--ink);color:#cfd2d8;font-size:12.5px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:36px}
.topbar a{color:#cfd2d8}
/* masthead */
.masthead{border-bottom:3px solid var(--ink)}
.masthead .wrap{display:flex;align-items:center;justify-content:space-between;padding:22px 20px}
.brand{font-family:'Noto Serif KR',serif;font-weight:900;font-size:40px;letter-spacing:-1px;color:var(--ink)}
.brand b{color:var(--red)}
.masthead .tag{color:var(--gray);font-size:13px;font-weight:500}
/* nav */
.nav{background:var(--ink);position:sticky;top:0;z-index:60}
.nav .wrap{display:flex;align-items:center;gap:2px;height:48px;overflow-x:auto}
.nav a{color:#e9eaee;font-size:14.5px;font-weight:600;padding:0 14px;line-height:48px;white-space:nowrap;border-bottom:3px solid transparent}
.nav a:hover{background:#23262e;border-bottom-color:var(--red)}
.nav a.home{color:#fff;background:var(--red)}
/* section title */
.sec-h{display:flex;align-items:center;gap:10px;margin:34px 0 16px;border-bottom:2px solid var(--ink);padding-bottom:8px}
.sec-h h2{font-size:20px;font-weight:800}
.sec-h .bar{width:6px;height:20px;background:var(--red);display:inline-block}
.sec-h .more{margin-left:auto;font-size:13px;color:var(--gray);font-weight:600}
.kicker{display:inline-block;background:var(--red);color:#fff;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:2px;letter-spacing:.3px}
.meta{color:var(--gray);font-size:12.5px}
/* lead */
.lead{display:grid;grid-template-columns:1.6fr 1fr;gap:26px;margin:26px 0 8px}
.lead-main .ph{aspect-ratio:16/9;overflow:hidden;background:var(--soft);border-radius:4px}
.lead-main .ph img{width:100%;height:100%;object-fit:cover}
.lead-main h1{font-family:'Noto Serif KR',serif;font-size:30px;font-weight:900;line-height:1.32;margin:14px 0 8px}
.lead-main p{color:#3b3f47;font-size:15px}
.lead-side{display:flex;flex-direction:column;gap:16px}
.lead-side .it{display:grid;grid-template-columns:96px 1fr;gap:12px;border-bottom:1px solid var(--line);padding-bottom:16px}
.lead-side .it:last-child{border-bottom:0}
.lead-side .it .ph{aspect-ratio:1;overflow:hidden;background:var(--soft);border-radius:3px}
.lead-side .it .ph img{width:100%;height:100%;object-fit:cover}
.lead-side .it h3{font-size:15px;font-weight:700;line-height:1.42}
.lead-side .it .meta{margin-top:6px}
/* grid cards */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.grid.c3{grid-template-columns:repeat(3,1fr)}
.card .ph{aspect-ratio:16/10;overflow:hidden;background:var(--soft);border-radius:4px}
.card .ph img{width:100%;height:100%;object-fit:cover;transition:.3s}
.card:hover .ph img{transform:scale(1.05)}
.card h3{font-size:15.5px;font-weight:700;line-height:1.44;margin:10px 0 6px}
.card:hover h3{color:var(--red)}
.card .meta{font-size:12px}
/* content layout */
.layout{display:grid;grid-template-columns:1fr 320px;gap:40px;margin-top:24px}
@media(max-width:980px){.layout{grid-template-columns:1fr}}
/* article */
.crumb{font-size:13px;color:var(--gray);margin:22px 0 12px}
.crumb a:hover{color:var(--red)}
.article-head h1{font-family:'Noto Serif KR',serif;font-size:33px;font-weight:900;line-height:1.34;margin:10px 0 14px}
.byline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--gray);font-size:13.5px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:22px}
.byline .au{color:var(--ink);font-weight:700}
.hero{margin:0 0 8px;border-radius:5px;overflow:hidden}
.hero img{width:100%}
.hero-cap{color:var(--gray);font-size:12px;padding:7px 2px 22px;border-bottom:1px solid var(--line);margin-bottom:24px}
.body{font-size:17px;line-height:1.95;color:#23262e}
.body p{margin:0 0 20px}
.body h2{font-family:'Noto Serif KR',serif;font-size:23px;font-weight:800;margin:34px 0 14px;padding-left:13px;border-left:5px solid var(--red);line-height:1.4}
.body h3{font-size:19px;font-weight:700;margin:26px 0 10px}
.body a{color:var(--red);font-weight:600;border-bottom:1px solid rgba(200,16,46,.4)}
.body strong{font-weight:700}
.tags{margin:30px 0;padding-top:18px;border-top:1px solid var(--line)}
.tags a{display:inline-block;background:var(--soft);border:1px solid var(--line);color:#444;font-size:13px;font-weight:600;padding:6px 13px;border-radius:3px;margin:0 6px 6px 0}
.tags a:hover{background:var(--red);color:#fff;border-color:var(--red)}
.related{margin-top:38px}
/* sidebar */
.side .box{margin-bottom:30px}
.side .box-h{font-size:16px;font-weight:800;border-bottom:2px solid var(--ink);padding-bottom:8px;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.side .box-h .bar{width:5px;height:17px;background:var(--red)}
.rank{list-style:none}
.rank li{display:grid;grid-template-columns:30px 1fr;gap:11px;padding:11px 0;border-bottom:1px solid var(--line)}
.rank li:last-child{border-bottom:0}
.rank .n{font-family:'Noto Serif KR',serif;font-weight:900;font-size:19px;color:var(--red)}
.rank h4{font-size:14px;font-weight:600;line-height:1.45}
.rank li:hover h4{color:var(--red)}
.catbox{list-style:none}
.catbox li{border-bottom:1px solid var(--line)}
.catbox a{display:flex;justify-content:space-between;padding:10px 2px;font-size:14px;font-weight:600}
.catbox a:hover{color:var(--red)}
.catbox .c{color:var(--gray);font-weight:500}
.side .search input{width:100%;border:1px solid var(--line);padding:11px 12px;font-size:14px;border-radius:3px;font-family:inherit}
/* category header */
.cat-hd{border-bottom:3px solid var(--ink);margin:22px 0 6px;padding-bottom:10px}
.cat-hd .kicker{margin-bottom:8px}
.cat-hd h1{font-family:'Noto Serif KR',serif;font-size:30px;font-weight:900}
.listrow{display:grid;grid-template-columns:230px 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.listrow .ph{aspect-ratio:16/10;overflow:hidden;background:var(--soft);border-radius:4px}
.listrow .ph img{width:100%;height:100%;object-fit:cover}
.listrow h3{font-family:'Noto Serif KR',serif;font-size:20px;font-weight:800;line-height:1.4;margin:8px 0}
.listrow:hover h3{color:var(--red)}
.listrow p{color:#3b3f47;font-size:14.5px;margin-bottom:8px}
/* footer */
.foot{background:var(--ink);color:#aeb2bb;margin-top:50px;padding:38px 0 30px;font-size:13.5px}
.foot .top{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;border-bottom:1px solid #2b2e36;padding-bottom:22px;margin-bottom:18px}
.foot .fbrand{font-family:'Noto Serif KR',serif;font-weight:900;font-size:26px;color:#fff}
.foot .fbrand b{color:var(--red)}
.foot .fnav{display:flex;gap:8px 18px;flex-wrap:wrap;align-items:center}
.foot .fnav a:hover{color:#fff}
.foot .cp{color:#7c828d;font-size:12.5px}
@media(max-width:780px){
 .lead{grid-template-columns:1fr}
 .grid,.grid.c3{grid-template-columns:repeat(2,1fr)}
 .listrow{grid-template-columns:120px 1fr;gap:14px}
 .brand{font-size:32px}.article-head h1{font-size:26px}.body{font-size:16px}
}
@media(max-width:480px){.grid,.grid.c3{grid-template-columns:1fr}.lead-side .it{grid-template-columns:80px 1fr}}
