/**
 * news-search.css — 뉴스 검색·필터 UI v1.0
 * 8개 카테고리 필터 패널 + 결과 목록
 * ─────────────────────────────────────────
 */

/* ══════════════════════════════════════════
   CSS 변수
══════════════════════════════════════════ */
:root {
  --ns-primary:   #2563eb;
  --ns-accent:    #e11d48;
  --ns-bg:        #f8fafc;
  --ns-border:    #e2e8f0;
  --ns-text:      #1e293b;
  --ns-muted:     #64748b;
  --ns-chip-bg:   #f1f5f9;
  --ns-chip-act:  #2563eb;
  --ns-radius:    10px;
  --ns-shadow:    0 1px 4px rgba(0,0,0,.07);
  --ns-shadow-md: 0 4px 16px rgba(0,0,0,.10);
}

/* ══════════════════════════════════════════
   페이지 레이아웃
══════════════════════════════════════════ */
.ns-page {
  min-height: 100vh;
  background: var(--ns-bg);
}

.ns-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════════════════════════════════════
   검색 히어로 헤더
══════════════════════════════════════════ */
.ns-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #0ea5e9 100%);
  padding: 36px 0 28px;
  color: #fff;
}

.ns-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.ns-hero-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ns-hero-title i {
  font-size: 18px;
  opacity: .85;
}

.ns-hero-sub {
  font-size: 13px;
  opacity: .75;
  margin-bottom: 18px;
}

/* 메인 검색 입력 */
.ns-hero-search {
  display: flex;
  gap: 0;
  max-width: 640px;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}

.ns-hero-search input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--ns-text);
  background: transparent;
}

.ns-hero-search input[type="text"]::placeholder {
  color: #94a3b8;
}

.ns-hero-search button[type="submit"] {
  background: var(--ns-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0 22px;
  font-size: 16px;
  transition: background .2s;
  border-radius: 0 50px 50px 0;
}

.ns-hero-search button[type="submit"]:hover {
  background: #1d4ed8;
}

/* ══════════════════════════════════════════
   콘텐츠 래퍼 (필터 패널 + 결과)
══════════════════════════════════════════ */
.ns-content-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding: 24px 0 40px;
  align-items: start;
}

/* ══════════════════════════════════════════
   필터 패널 (사이드바)
══════════════════════════════════════════ */
.ns-filter-panel {
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius);
  box-shadow: var(--ns-shadow);
  position: sticky;
  top: 70px;
  overflow: hidden;
}

.ns-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ns-border);
  background: #f8fafc;
}

.ns-filter-head-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ns-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ns-filter-head-title i {
  color: var(--ns-primary);
  font-size: 12px;
}

.ns-filter-reset {
  font-size: 11px;
  color: var(--ns-muted);
  background: none;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  padding: 3px 10px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ns-filter-reset:hover {
  background: var(--ns-accent);
  color: #fff;
  border-color: var(--ns-accent);
}

/* 활성 필터 요약 칩 */
.ns-active-chips {
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--ns-border);
  min-height: 42px;
}

.ns-active-chips:empty::before {
  content: '선택된 필터가 없습니다';
  font-size: 11px;
  color: #94a3b8;
  line-height: 22px;
}

.ns-chip-active {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ns-primary);
  color: #fff;
  border-radius: 20px;
  padding: 3px 10px 3px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

.ns-chip-active:hover {
  background: #1d4ed8;
}

.ns-chip-active i {
  font-size: 9px;
  opacity: .8;
}

/* ── 개별 필터 섹션 ── */
.ns-filter-section {
  border-bottom: 1px solid var(--ns-border);
}

.ns-filter-section:last-child {
  border-bottom: none;
}

.ns-filter-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--ns-text);
  text-align: left;
  transition: background .15s;
}

.ns-filter-toggle:hover {
  background: #f1f5f9;
}

.ns-filter-toggle .ns-ft-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ns-filter-toggle .ns-ft-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}

.ns-filter-toggle .ns-ft-count {
  font-size: 10px;
  font-weight: 700;
  background: var(--ns-primary);
  color: #fff;
  border-radius: 10px;
  padding: 1px 7px;
  margin-left: 4px;
  display: none;
}

.ns-filter-toggle.has-selection .ns-ft-count {
  display: inline-block;
}

.ns-filter-toggle .ns-ft-arrow {
  font-size: 10px;
  color: var(--ns-muted);
  transition: transform .2s;
  flex-shrink: 0;
}

.ns-filter-section.open .ns-filter-toggle .ns-ft-arrow {
  transform: rotate(180deg);
}

.ns-filter-body {
  display: none;
  padding: 6px 14px 12px;
}

.ns-filter-section.open .ns-filter-body {
  display: block;
}

/* 검색 인풋 (필터 내부) */
.ns-filter-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid var(--ns-border);
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 8px;
}

.ns-filter-search i {
  color: var(--ns-muted);
  font-size: 11px;
  flex-shrink: 0;
}

.ns-filter-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  color: var(--ns-text);
}

.ns-filter-search input::placeholder {
  color: #94a3b8;
}

/* 옵션 칩 목록 */
.ns-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 180px;
  overflow-y: auto;
}

.ns-chip-list::-webkit-scrollbar {
  width: 4px;
}

.ns-chip-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.ns-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--ns-border);
  background: var(--ns-chip-bg);
  color: var(--ns-muted);
  transition: all .15s;
  user-select: none;
  white-space: nowrap;
}

.ns-chip:hover {
  border-color: var(--ns-primary);
  color: var(--ns-primary);
  background: #eff6ff;
}

.ns-chip.selected {
  background: var(--ns-primary);
  color: #fff;
  border-color: var(--ns-primary);
}

.ns-chip .ns-chip-cnt {
  font-size: 10px;
  opacity: .65;
}

/* 더보기 버튼 */
.ns-chip-more {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ns-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ns-chip-more:hover {
  text-decoration: underline;
}

/* 날짜 범위 */
.ns-date-range {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ns-date-range input[type="date"] {
  flex: 1;
  border: 1px solid var(--ns-border);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--ns-text);
  outline: none;
  transition: border-color .2s;
}

.ns-date-range input[type="date"]:focus {
  border-color: var(--ns-primary);
}

.ns-date-range .ns-date-sep {
  font-size: 11px;
  color: var(--ns-muted);
  flex-shrink: 0;
}

/* 보도 종류 라디오 스타일 */
.ns-radio-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ns-radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background .15s;
  font-size: 12px;
  color: var(--ns-text);
}

.ns-radio-item:hover {
  background: #f1f5f9;
}

.ns-radio-item input[type="radio"],
.ns-radio-item input[type="checkbox"] {
  accent-color: var(--ns-primary);
  width: 14px;
  height: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.ns-radio-item span {
  flex: 1;
}

.ns-radio-item .ns-ri-cnt {
  font-size: 10px;
  color: var(--ns-muted);
}

/* ── 적용 버튼 ── */
.ns-filter-apply-btn {
  display: block;
  width: calc(100% - 28px);
  margin: 12px 14px;
  padding: 10px;
  background: var(--ns-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ns-filter-apply-btn:hover {
  background: #1d4ed8;
}

/* ══════════════════════════════════════════
   결과 영역 (오른쪽)
══════════════════════════════════════════ */
.ns-result-area {
  min-width: 0;
}

/* 결과 요약 바 */
.ns-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.ns-result-info {
  font-size: 13px;
  color: var(--ns-muted);
}

.ns-result-info strong {
  color: var(--ns-primary);
  font-size: 16px;
  font-weight: 800;
}

.ns-result-info .ns-kw-highlight {
  color: var(--ns-accent);
  font-weight: 700;
}

/* 정렬 셀렉트 */
.ns-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ns-sort-wrap label {
  font-size: 12px;
  color: var(--ns-muted);
}

.ns-sort-select {
  border: 1px solid var(--ns-border);
  border-radius: 6px;
  padding: 5px 24px 5px 10px;
  font-size: 12px;
  color: var(--ns-text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 6px center / 14px no-repeat;
  appearance: none;
  outline: none;
  cursor: pointer;
}

.ns-sort-select:focus {
  border-color: var(--ns-primary);
}

/* 뷰 스위치 버튼 */
.ns-view-btns {
  display: flex;
  border: 1px solid var(--ns-border);
  border-radius: 6px;
  overflow: hidden;
}

.ns-view-btn {
  padding: 5px 10px;
  font-size: 13px;
  background: #fff;
  border: none;
  cursor: pointer;
  color: var(--ns-muted);
  transition: all .15s;
}

.ns-view-btn.active {
  background: var(--ns-primary);
  color: #fff;
}

.ns-view-btn:hover:not(.active) {
  background: #f1f5f9;
}

/* ── 활성 필터 태그 (결과 위) ── */
.ns-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ns-filter-tags:empty {
  display: none;
}

.ns-ftag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eff6ff;
  color: var(--ns-primary);
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.ns-ftag:hover {
  background: var(--ns-accent);
  color: #fff;
  border-color: var(--ns-accent);
}

.ns-ftag .ns-ftag-cat {
  font-size: 10px;
  opacity: .7;
  font-weight: 400;
}

/* ══════════════════════════════════════════
   뉴스 결과 카드
══════════════════════════════════════════ */

/* LIST VIEW */
.ns-list-view .ns-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius);
  margin-bottom: 10px;
  transition: box-shadow .2s, border-color .2s;
}

.ns-list-view .ns-item:hover {
  border-color: #93c5fd;
  box-shadow: var(--ns-shadow-md);
}

.ns-list-view .ns-item-thumb {
  width: 120px;
  height: 80px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
  position: relative;
}

.ns-list-view .ns-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.ns-list-view .ns-item:hover .ns-item-thumb img {
  transform: scale(1.04);
}

.ns-list-view .ns-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ns-list-view .ns-item-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.ns-list-view .ns-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ns-text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
  margin-bottom: 5px;
}

.ns-list-view .ns-item-title a {
  color: inherit;
  text-decoration: none;
}

.ns-list-view .ns-item-title a:hover {
  color: var(--ns-primary);
}

.ns-list-view .ns-item-summary {
  font-size: 12px;
  color: var(--ns-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.ns-list-view .ns-item-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #94a3b8;
}

.ns-list-view .ns-item-foot i {
  font-size: 10px;
  margin-right: 2px;
}

/* GRID VIEW */
.ns-grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ns-grid-view .ns-item {
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}

.ns-grid-view .ns-item:hover {
  border-color: #93c5fd;
  box-shadow: var(--ns-shadow-md);
}

.ns-grid-view .ns-item-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background: #e2e8f0;
  overflow: hidden;
  position: relative;
}

.ns-grid-view .ns-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.ns-grid-view .ns-item:hover .ns-item-thumb img {
  transform: scale(1.05);
}

.ns-grid-view .ns-item-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ns-grid-view .ns-item-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.ns-grid-view .ns-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ns-text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
  flex: 1;
  margin-bottom: 8px;
}

.ns-grid-view .ns-item-title a {
  color: inherit;
  text-decoration: none;
}

.ns-grid-view .ns-item-title a:hover {
  color: var(--ns-primary);
}

.ns-grid-view .ns-item-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
  margin-top: auto;
}

/* 배지 공통 */
.ns-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.ns-badge-region {
  background: #dbeafe;
  color: #1d4ed8;
}

.ns-badge-section {
  background: #f0fdf4;
  color: #16a34a;
}

.ns-badge-breaking {
  background: #fee2e2;
  color: #dc2626;
}

.ns-badge-featured {
  background: #fef3c7;
  color: #d97706;
}

.ns-badge-theme {
  background: #f3e8ff;
  color: #7c3aed;
}

/* ══════════════════════════════════════════
   결과 없음 / 로딩
══════════════════════════════════════════ */
.ns-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius);
}

.ns-empty-icon {
  font-size: 48px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.ns-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ns-text);
  margin-bottom: 8px;
}

.ns-empty-desc {
  font-size: 13px;
  color: var(--ns-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ns-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--ns-primary);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}

.ns-empty-btn:hover {
  background: #1d4ed8;
}

.ns-loading {
  text-align: center;
  padding: 40px;
  color: var(--ns-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ns-loading-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--ns-primary);
  border-radius: 50%;
  animation: ns-spin .7s linear infinite;
}

@keyframes ns-spin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════
   페이지네이션
══════════════════════════════════════════ */
.ns-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.ns-pagination a,
.ns-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--ns-border);
  border-radius: 7px;
  font-size: 13px;
  color: var(--ns-text);
  text-decoration: none;
  transition: all .15s;
  padding: 0 8px;
}

.ns-pagination a:hover {
  border-color: var(--ns-primary);
  color: var(--ns-primary);
  background: #eff6ff;
}

.ns-pagination .active {
  background: var(--ns-primary);
  border-color: var(--ns-primary);
  color: #fff;
  font-weight: 700;
}

.ns-pagination .disabled {
  color: #cbd5e1;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   모바일 필터 토글 (상단 바)
══════════════════════════════════════════ */
.ns-mobile-filter-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--ns-border);
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 10px;
}

.ns-mobile-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ns-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.ns-mobile-filter-btn .ns-mf-count {
  background: #fff;
  color: var(--ns-primary);
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  display: none;
}

.ns-mobile-filter-btn.has-filters .ns-mf-count {
  display: inline-block;
}

.ns-mobile-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  background: #f8fafc;
  border: 1px solid var(--ns-border);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}

.ns-mobile-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ns-text);
  min-width: 0;
}

.ns-mobile-search button {
  background: none;
  border: none;
  padding: 0 12px;
  font-size: 14px;
  color: var(--ns-muted);
  cursor: pointer;
}

/* 모바일 필터 드로어 */
.ns-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  backdrop-filter: blur(2px);
}

.ns-filter-overlay.open {
  display: block;
}

.ns-filter-drawer {
  position: fixed;
  left: 0;
  bottom: 0;
  top: 0;
  width: min(340px, 90vw);
  background: #fff;
  z-index: 201;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s ease;
  box-shadow: 4px 0 20px rgba(0,0,0,.15);
}

.ns-filter-drawer.open {
  transform: translateX(0);
}

.ns-filter-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ns-border);
  background: var(--ns-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.ns-filter-drawer-head h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.ns-drawer-close {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
}

/* ══════════════════════════════════════════
   키워드 하이라이트
══════════════════════════════════════════ */
.ns-hl {
  background: #fef08a;
  color: #713f12;
  border-radius: 2px;
  padding: 0 1px;
}

/* ══════════════════════════════════════════
   인기 검색어 / 추천 검색어
══════════════════════════════════════════ */
.ns-suggest-wrap {
  max-width: 640px;
  margin-top: 10px;
}

.ns-suggest-label {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}

.ns-suggest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ns-suggest-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}

.ns-suggest-chip:hover {
  background: rgba(255,255,255,.28);
}

/* ══════════════════════════════════════════
   반응형
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ns-content-wrap {
    grid-template-columns: 260px 1fr;
  }
  .ns-grid-view {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ns-content-wrap {
    grid-template-columns: 1fr;
  }
  .ns-filter-panel {
    display: none;
    position: relative;
    top: 0;
  }
  .ns-mobile-filter-bar {
    display: flex;
  }
  .ns-hero {
    padding: 22px 0 18px;
  }
  .ns-hero-title {
    font-size: 17px;
  }
  .ns-grid-view {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .ns-list-view .ns-item-thumb {
    width: 90px;
    height: 64px;
  }
  .ns-list-view .ns-item-title {
    font-size: 13px;
  }
  .ns-list-view .ns-item-summary {
    display: none;
  }
}

@media (max-width: 480px) {
  .ns-grid-view {
    grid-template-columns: 1fr;
  }
  .ns-hero-search {
    border-radius: 10px;
  }
}
