/* ===== Layout: PC 2 columns / Mobile 1 column ===== */
.nv-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 20px 40px;

  display: grid;
  grid-template-columns: 1fr;   /* mobile default */
  gap: 18px;

  min-width: 0; /* ✅ grid overflow 방지 */
}

@media (min-width: 641px){
  .nv-wrap{
    grid-template-columns: 1fr 1fr; /* PC 2 columns */
    align-items: start;
  }
}

/* 섹션 카드 */
.nv-section{
  padding: 16px 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;

  min-width: 0; /* ✅ 내용 때문에 늘어나는 것 방지 */
}

/* 빈 안내(그리드 전체 폭) */
.nv-empty--full{
  grid-column: 1 / -1;
}

.nv-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.nv-title{
  margin:0;
  font-size: 16px;
  letter-spacing: -0.02em;
  color:#111827;

  overflow-wrap:anywhere;
  word-break:break-word;
}

.nv-more{
  font-size: 13px;
  font-weight: 500;
  color:#2563eb;
  text-decoration:none;
  white-space: nowrap;
}
.nv-more:hover{ text-decoration: underline; }

.nv-empty{
  margin-top: 12px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  color:#6b7280;

  overflow-wrap:anywhere;
  word-break:break-word;
}

/* ===== Top item ===== */
.nv-top{
  position: relative;
  display:flex;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;

  min-width: 0;
}

.nv-top-link{
  position:absolute;
  inset:0;
  z-index: 2;
  max-width: 100%;
}

.nv-top-thumb{
  width: 160px;
  height: 110px;
  border-radius: 10px;
  overflow:hidden;
  background:#f3f4f6;
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;

  max-width: 100%;
}

.nv-top-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  max-width: 100%;
}

.nv-top-thumb.is-empty{
  color:#9ca3af;
  font-size: 12px;
  font-weight: 800;
}

.nv-top-body{
  min-width: 0;
  flex: 1;
}

.nv-top-title{
  margin: 0;
  color:#111827;
  line-height: 1.35;
  letter-spacing: -0.02em;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;

  overflow-wrap:anywhere;
  word-break:break-word;
}

.nv-top-summary{
  margin-top: 7px;
  font-size: 14px;
  color:#6b7280;
  line-height: 1.55;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;

  overflow-wrap:anywhere;
  word-break:break-word;
}

.nv-meta{
  margin-top: 10px;
  font-size: 14px;
  color:#9ca3af;
  display:flex;
  align-items:center;
  gap: 6px;
  flex-wrap: wrap;
}
.nv-meta .dot{ opacity:.7; }

/* ===== List items ===== */
.nv-list{
  list-style:none;
  padding: 0;
  margin: 12px 0 0;
  display:grid;
  gap: 8px;

  min-width: 0;
}

.nv-item{
  padding-left: 12px;
  position: relative;
  min-width: 0;
}

.nv-item::before{
  content:"";
  position:absolute;
  left:0;
  top: 10px;
  width:4px;
  height:4px;
  border-radius: 50%;
  background:#9ca3af;
}

.nv-item-link{
  position: relative;
  z-index: 1;
  text-decoration:none;
  color:#111827;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;

  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;

  max-width: 100%;
  min-width: 0;
}

.nv-item-link:hover{
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 1000px){
  .nv-wrap{
    padding: 20px 14px 34px;
  }

  .nv-top{
    flex-direction: column;
  }
  .nv-top-thumb{
    width: 100%;
    height: 190px;
  }
}
