/* 메인 Roadbike NEWS — 네이버 뉴스탭식 */
.news{padding-top:70px;padding-bottom:64px}
.news .section-title h2 b{color:#ff7a1a}
.news-upd{font-size:12.5px;color:#a3988a;font-weight:700}
.news-box{margin-top:26px;background:#fff;border:1px solid #eee5d8;border-radius:22px;padding:22px 24px 26px;box-shadow:0 10px 30px #c5af9314}
.nw-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.nw-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nw-tabs button{border:0;background:none;padding:2px 0;font:800 17px/1.2 'Noto Sans KR',sans-serif;color:#9a9186;cursor:pointer;letter-spacing:-.5px;transition:color .15s}
.nw-tabs button:hover{color:#3d3a34}
.nw-tabs button.on{color:#1f1c18;position:relative}
.nw-tabs button.on:after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:3px;border-radius:2px;background:#ff7a1a}
.nw-tabs>i{font-style:normal;color:#ddd4c7;font-size:15px}
.nw-pager{display:flex;align-items:center;gap:8px;font-size:13px;color:#9a9186;white-space:nowrap}
.nw-pager b{color:#1f1c18}
.nw-pager button{width:30px;height:30px;border-radius:50%;border:1.5px solid #e3d9ca;background:#fff;font-size:17px;line-height:1;color:#3d3a34;cursor:pointer}
.nw-pager button:hover:not(:disabled){border-color:#ff7a1a;color:#ff7a1a}
.nw-pager button:disabled{opacity:.35;cursor:default}
.nw-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px 18px}
.nw-card{display:block;text-align:left;border:0;background:none;padding:0;cursor:pointer;font-family:inherit;color:inherit;min-width:0}
.nw-pic{position:relative;display:block;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:#f3ece5}
.nw-pic img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.nw-card:hover .nw-pic img{transform:scale(1.06)}
.nw-pic.noimg{display:grid;place-items:center;align-content:center;gap:2px;background:radial-gradient(circle at 50% 38%,#3a342b,#1f1c18)}
.nw-pic.noimg .nw-neo{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 4px 8px #0006);transform:none!important}
.nw-pic.noimg em{font-style:normal;font:900 22px 'Noto Sans KR',sans-serif;letter-spacing:-.5px;color:#eac559}
.nw-pic.noimg i{font-style:normal;font:800 10px Arial;letter-spacing:2.5px;color:#a3957f}
.nw-badge{display:inline-flex;align-items:center;gap:4px;font:800 11.5px/1 'Noto Sans KR',sans-serif;color:#fff;background:#1f1c18d9;padding:6px 8px;border-radius:0 0 8px 0}
.nw-pic .nw-badge{position:absolute;left:0;top:0}
.nw-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:11px 0 6px;font-size:15.5px;line-height:1.45;font-weight:700;letter-spacing:-.5px;color:#1f1c18}
.nw-card:hover strong{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#ff7a1a}
.nw-card small{font-size:12.5px;color:#9a9186}
/* 팝업 */
#newsDialog{padding:0;width:min(760px,94vw);max-height:88vh;border:0;border-radius:22px;background:#fffdf9;overflow:hidden;box-shadow:0 30px 100px #0004}
#newsDialog::backdrop{background:#3c352a99;backdrop-filter:blur(5px)}
.nd-head{display:flex;align-items:center;justify-content:space-between;padding:14px 22px;border-bottom:1px solid #eee5d8;background:#fffdf9}
.nd-head span{font:800 11px Arial;letter-spacing:2px;color:#a3957f}
.nd-close{border:0;background:#f3ece2;width:34px;height:34px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}
.nd-close:hover{background:#ff7a1a;color:#fff}
.nd-scroll{max-height:calc(88vh - 63px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d9cbb8 transparent}
.nd-scroll::-webkit-scrollbar{width:8px}.nd-scroll::-webkit-scrollbar-thumb{background:#d9cbb8;border-radius:8px}
.nd-body{padding:22px 30px 30px}
.nd-meta{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:13px;color:#9a9186}
.nd-meta .nw-badge{border-radius:6px}
.nd-body h2{font-size:26px;line-height:1.35;letter-spacing:-1px;margin:0 0 10px;font-weight:900;color:#1f1c18}
.nd-lead{font-size:15.5px;color:#6f6456;font-weight:700;margin:0 0 16px;line-height:1.7}
.nd-body figure{margin:0 0 16px}
.nd-body figure img{width:100%;border-radius:14px;display:block;background:#f3ece5}
.nd-body figcaption{font-size:11.5px;color:#a3988a;margin-top:6px;text-align:right}
.nd-body figcaption a{color:inherit;text-decoration:underline}
.nd-points{margin:0 0 18px;padding:14px 18px 14px 34px;background:#fff6e2;border:1px solid #f1dfae;border-radius:14px}
.nd-points li{font-size:14px;line-height:1.75;color:#3d3a34;font-weight:700}
.nd-points li::marker{color:#ff7a1a}
.nd-body>p{font-size:15.5px;line-height:1.9;color:#3d3a34;margin:0 0 14px}
.nd-neo{display:flex;gap:14px;align-items:flex-start;margin:20px 0 16px;padding:16px 18px;background:#f3ece2;border-radius:16px}
.nd-neo img{width:54px;height:54px;object-fit:contain;flex:none}
.nd-neo b{font-size:13px;color:#b0671b}
.nd-neo p{margin:4px 0 0;font-size:14.5px;line-height:1.7;color:#2a2620;font-weight:700}
.nd-fx{font-size:12px!important;color:#a3988a!important}
.nd-src{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:14px;border-top:1px solid #eee5d8}
.nd-src b{font-size:13px;margin-right:4px}
.nd-src a{font-size:12.5px;font-weight:700;color:#3d3a34;border:1.5px solid #e3d9ca;border-radius:16px;padding:5px 11px}
.nd-src a:hover{border-color:#ff7a1a;color:#ff7a1a}
.nd-note{font-size:11.5px!important;color:#b1a596!important;margin-top:12px!important}
@media(max-width:900px){.nw-grid{grid-template-columns:repeat(2,1fr)}.nw-tabs button{font-size:15px}}
@media(max-width:600px){.news{padding-top:44px;padding-bottom:40px}.news-box{padding:16px 14px 18px;border-radius:18px}.nw-top{flex-direction:column;align-items:flex-start}
 .nw-grid{grid-template-columns:none;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-auto-columns:62%;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px 12px;padding-bottom:6px}
 .nw-card{scroll-snap-align:start}.nd-body{padding:18px 18px 24px}.nd-body h2{font-size:21px}}

/* 뉴스 댓글 */
.nw-cc{margin-left:6px;color:#b0671b;font-weight:700}
.nd-cmt{margin-top:26px;padding-top:20px;border-top:2px solid #1f1c18}
.cm-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.cm-head h3,.nd-cmt>h3{margin:0;font-size:18px;font-weight:900}.cm-head h3 b{color:#ff7a1a}
.cm-sort button{border:0;background:none;font:700 13px inherit;font-family:inherit;color:#9a9186;cursor:pointer;padding:2px 6px}
.cm-sort button.on{color:#1f1c18}.cm-sort button.on:before{content:'✓ ';color:#ff7a1a}
.cm-form{border:1.5px solid #e3d9ca;border-radius:14px;background:#fff;padding:10px 12px;margin-bottom:8px}
.cm-form:focus-within{border-color:#eac559;box-shadow:0 0 0 3px #eac55933}
.cm-id{display:flex;gap:8px;margin-bottom:8px}
.cm-id input{flex:1;min-width:0;border:0;border-bottom:1px solid #eee5d8;padding:6px 2px;font:600 13.5px inherit;font-family:inherit;outline:none;background:none}
.cm-form textarea{width:100%;box-sizing:border-box;border:0;resize:vertical;font:500 14.5px/1.6 inherit;font-family:inherit;outline:none;background:none;color:#1f1c18}
.cm-foot{display:flex;align-items:center;justify-content:space-between}
.cm-len{font-size:12px;color:#b1a596}
.cm-foot button{border:0;background:#1f1c18;color:#eac559;font:800 13px inherit;font-family:inherit;padding:8px 18px;border-radius:18px;cursor:pointer}
.cm-foot button:hover{background:#ff7a1a;color:#fff}.cm-foot button:disabled{opacity:.5}
.cm-rule{font-size:11.5px!important;color:#b1a596!important;margin:0 0 10px!important}
.cm-list,.cm-replies ul{list-style:none;margin:0;padding:0}
.cm-item{padding:14px 2px;border-bottom:1px solid #eee5d8}
.cm-meta{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#a3988a}
.cm-meta b{font-size:14px;color:#1f1c18}
.cm-x{margin-left:auto;border:0;background:none;font-size:12px;color:#b1a596;cursor:pointer}.cm-x:hover{color:#d33}
.cm-body{margin:6px 0 8px!important;font-size:15px!important;line-height:1.7!important;color:#2a2620!important;white-space:pre-wrap;word-break:break-word}
.cm-del{margin:0!important;font-size:13.5px!important;color:#b1a596!important}
.cm-act{display:flex;align-items:center;justify-content:space-between}
.cm-act button{border:1px solid #e3d9ca;background:#fff;border-radius:14px;padding:4px 10px;font:700 12px inherit;font-family:inherit;color:#6f6456;cursor:pointer}
.cm-act button:hover{border-color:#ff7a1a}.cm-act button.on{background:#fff2e6;border-color:#ff7a1a;color:#ff7a1a}
.cm-vote{display:flex;gap:6px}
.cm-replies{margin-top:10px;padding:4px 12px 10px;background:#f7f3ec;border-radius:12px}
.cm-item.child{padding-left:18px;position:relative}.cm-item.child:before{content:'ㄴ';position:absolute;left:2px;top:15px;color:#c9b59c;font-size:12px}
.cm-replies .cm-form{margin-top:10px}
.cm-empty,.cm-off{padding:22px 0;text-align:center;color:#a3988a;font-size:14px}
.cm-delf{display:flex;gap:6px;margin-top:8px}.cm-delf input{flex:1;min-width:0;border:1.5px solid #e3d9ca;border-radius:10px;padding:6px 10px;font:600 13px inherit;font-family:inherit}.cm-delf button{border:0;border-radius:10px;padding:6px 12px;font:800 12.5px inherit;font-family:inherit;cursor:pointer;background:#1f1c18;color:#fff}.cm-delf button[data-cancel]{background:#f3ece2;color:#3d3a34}
.cm-ts{margin:6px 0 4px;min-height:0}.cm-ts:empty{display:none}
