/* 플레이스 노트(목차 트리 + 글 목록) · 플레이스 뉴스(카드뉴스 피드) */
.nt{display:grid;grid-template-columns:250px minmax(0,1fr);gap:48px;align-items:start;padding-top:56px;padding-bottom:96px;color:#15181E;word-break:keep-all}
.nt-tree{position:sticky;top:96px}
.nt-box>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:0 10px 12px;cursor:default}
.nt-box>summary::-webkit-details-marker{display:none}
.nt-sum b{font-size:18px}
.nt-all,.nt-stage>summary,.nt-cat,.nt-stage-all{display:flex;align-items:center;justify-content:space-between;gap:8px;text-decoration:none;color:#15181E;border-radius:10px}
.nt-all{min-height:44px;padding:0 12px;font-size:16px;font-weight:800}
.nt-all span,.nt-cat span,.nt-stage .n{color:#8A919C;font-weight:600;font-size:14.5px}
.nt-all[aria-current],.nt-cat[aria-current],.nt-stage-all[aria-current]{background:#F4F8FF;color:#0866F9}
.nt-stage{border-top:1px solid #F0F2F4;padding:6px 0}
.nt-stage>summary{list-style:none;min-height:44px;padding:0 12px;font-size:16px;font-weight:800;cursor:pointer;justify-content:flex-start}
.nt-stage>summary::-webkit-details-marker{display:none}
.nt-stage>summary span:nth-child(2){flex:1}
.nt-stage>summary svg{color:#5B6270;transition:transform .15s ease;flex:none}
.nt-stage[open]>summary svg{transform:rotate(90deg)}
.nt-stage-all{min-height:36px;margin-left:20px;padding:0 12px;font-size:14.5px;font-weight:700;color:#5B6270}
.nt-cat{min-height:38px;margin-left:20px;padding:0 12px;font-size:15.5px;font-weight:500;color:#3A4250}
.nt-all:hover,.nt-cat:hover,.nt-stage-all:hover,.nt-stage>summary:hover{background:#F7F8FA}
.nt-main{display:flex;flex-direction:column;gap:28px;min-width:0}
.nt-head{display:flex;flex-direction:column;gap:8px}
.nt-crumb{font-size:15px;font-weight:700;color:#8A919C}
.nt-crumb a{color:inherit;text-decoration:none}
.nt-crumb a:hover{color:#0866F9}
.nt-head h1{margin:0;font-size:38px;line-height:1.25;font-weight:800;letter-spacing:-1px}
.nt-head p{margin:0;font-size:17px;line-height:1.6;color:#3A4250}
.nt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px}
.nt-card{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:#15181E!important}
.nt-thumb{position:relative;display:block;border-radius:14px;overflow:hidden;background:#F3F4F6;aspect-ratio:800/500;margin-bottom:4px}
.nt-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.nt-thumb em{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:800;font-size:15px;color:#3A4250;background:rgba(255,255,255,.55);backdrop-filter:blur(6px)}
.nt-cat-l{font-size:15px;font-weight:600;color:#8A919C}
.nt-title{font-size:17px;line-height:1.5;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nt-card:hover .nt-title{text-decoration:underline}
.nt-card--locked{pointer-events:none;opacity:.75}
.nt-group{display:flex;flex-direction:column;gap:18px}
.nt-group h2{margin:0;display:flex;align-items:baseline;gap:8px;font-size:22px}
.nt-group h2 a{color:#15181E;text-decoration:none}
.nt-group h2 small{font-size:15px;color:#8A919C;font-weight:600}
.nt-next{align-self:flex-start;display:flex;flex-direction:column;gap:4px;padding:18px 22px;border:1px solid #E1E4E8;border-radius:16px;text-decoration:none;color:#15181E}
.nt-next span{font-size:14.5px;color:#0866F9;font-weight:700}
.nt-next b{font-size:18px}

.nw{display:flex;flex-direction:column;gap:28px;padding-top:56px;padding-bottom:96px;color:#15181E;word-break:keep-all}
.nw-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.nw-head>div{display:flex;flex-direction:column;gap:8px}
.nw-eb{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:#5B6270}
.nw-eb i{width:8px;height:8px;border-radius:50%;background:#77FBAF}
.nw-head h1{margin:0;font-size:38px;font-weight:800;letter-spacing:-1px}
.nw-head p{margin:0;font-size:17px;color:#3A4250}
.nw-count{font-size:15px;color:#5B6270}
.nw-chips{display:flex;gap:8px;flex-wrap:wrap}
.nw-chips button{font:inherit;cursor:pointer;min-height:42px;padding:0 16px;border-radius:999px;border:1px solid #E1E4E8;background:#fff;color:#3A4250;font-size:15.5px;font-weight:700;display:inline-flex;align-items:center;gap:6px}
.nw-chips button small{font-size:13.5px;color:#8A919C;font-weight:600}
.nw-chips button[aria-pressed="true"]{background:#15181E;border-color:#15181E;color:#fff}
.nw-chips button[aria-pressed="true"] small{color:rgba(255,255,255,.7)}
.nw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.nw-secs{display:flex;flex-direction:column;gap:44px}
.nw-sec{display:flex;flex-direction:column;gap:18px}
.nw-sec[hidden]{display:none}
.nw-sec-h{position:sticky;top:var(--hd-h,0px);z-index:2;background:rgba(255,255,255,.94);backdrop-filter:blur(6px);padding:12px 0;display:flex;align-items:center;gap:14px}
.nw-sec-h b{font-size:22px;letter-spacing:-.5px;white-space:nowrap}
.nw-sec-h span{font-size:15px;color:#5B6270;white-space:nowrap;font-variant-numeric:tabular-nums}
.nw-sec-h i{flex:1;height:1px;background:#E6EAEE}
.nw-card{aspect-ratio:4/5;box-sizing:border-box;display:flex;flex-direction:column;gap:14px;padding:26px;border-radius:22px;color:#fff!important;text-decoration:none;transition:transform .25s ease}
.nw-card:hover{transform:translateY(-4px)}
.nw-card[hidden]{display:none}
.nw-meta{display:flex;align-items:center;gap:8px;font-size:15px;color:rgba(255,255,255,.78)}
.nw-meta>span{font-weight:800;color:#15181E;background:#77FBAF;border-radius:999px;padding:3px 10px}
.nw-meta em{margin-left:auto;font-style:normal;font-size:13px;font-weight:800;color:#77FBAF}
.nw-meta em.nw-done{color:#15181E;background:rgba(255,255,255,.82);border-radius:999px;padding:1px 9px}
.nw-card.nw-over .nw-t,.nw-card.nw-over .nw-s{opacity:.62}
.nw-t{font-size:27px;line-height:1.3;font-weight:800;letter-spacing:-.8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.nw-s{font-size:16px;line-height:1.6;color:rgba(255,255,255,.78);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.nw-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12)}
.nw-foot>span{font-size:15px;font-weight:700;color:rgba(255,255,255,.7)}

@media (max-width:960px){
  .nt{grid-template-columns:minmax(0,1fr);gap:20px;padding-top:28px}
  .nt-tree{position:static;border:1px solid #E6EAEE;border-radius:16px;padding:10px}
  .nt-box>summary{cursor:pointer;padding:6px 8px}
  .nt-box>summary::after{content:"▾";margin-left:auto;color:#5B6270}
  .nt-grid,.nw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .nt-head h1,.nw-head h1{font-size:30px}
  .nt-grid{grid-template-columns:minmax(0,1fr)}
  .nw-grid{grid-template-columns:minmax(0,1fr)}
  .nw-t{font-size:24px}
}
/* 모바일: 노트는 목록형, 뉴스 카드는 높이를 내용만큼 */
@media (max-width:600px){
  .nt-grid{gap:18px}
  .nt-card{display:grid;grid-template-columns:116px minmax(0,1fr);column-gap:14px;row-gap:4px;align-items:start}
  .nt-card .nt-thumb{grid-row:1 / span 2;border-radius:10px}
  .nt-card .nt-title{font-size:16px}
  .nw-grid{gap:12px}
  .nw-card{aspect-ratio:auto;padding:20px;gap:10px;border-radius:18px}
  .nw-card>span:nth-child(2){font-size:21px!important}
  .nw-card>span:last-child{margin-top:6px}
}
